2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20041019.
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
='20041019'
273 PACKAGE_STRING
='Wine 20041019'
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 DLLDEFS 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 20041019 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 20041019:";;
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
20041019
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 20041019, 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"
1419 if test "x$enable_debug" = "xno"
1421 DLLDEFS
="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1425 DLLDEFS
="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 ac_cv_build_alias
=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias
=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1456 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_host_alias
=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias
=$ac_cv_build_alias
1469 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1478 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 if test "x$enable_win64" != "xyes"
1487 test -n "$CC" || CC
="gcc -m32"
1488 test -n "$LD" || LD
="ld -m elf_i386"
1489 test -n "$AS" || AS
="as --32"
1494 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1495 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1496 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1497 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 cat >conftest.
make <<\_ACEOF
1502 @
echo 'ac_maketemp="$(MAKE)"'
1504 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1505 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1506 if test -n "$ac_maketemp"; then
1507 eval ac_cv_prog_make_
${ac_make}_set
=yes
1509 eval ac_cv_prog_make_
${ac_make}_set
=no
1513 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1514 echo "$as_me:$LINENO: result: yes" >&5
1515 echo "${ECHO_T}yes" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1520 SET_MAKE
="MAKE=${MAKE-make}"
1524 ac_cpp
='$CPP $CPPFLAGS'
1525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1528 if test -n "$ac_tool_prefix"; then
1529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1530 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_CC+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$CC"; then
1537 ac_cv_prog_CC
="$CC" # Let the user override the test.
1539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir
=.
1544 for ac_exec_ext
in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 if test -n "$CC"; then
1557 echo "$as_me:$LINENO: result: $CC" >&5
1558 echo "${ECHO_T}$CC" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1565 if test -z "$ac_cv_prog_CC"; then
1567 # Extract the first word of "gcc", so it can be a program name with args.
1568 set dummy gcc
; ac_word
=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$ac_ct_CC"; then
1575 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir
=.
1582 for ac_exec_ext
in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_ac_ct_CC
="gcc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1594 if test -n "$ac_ct_CC"; then
1595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1596 echo "${ECHO_T}$ac_ct_CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1607 if test -z "$CC"; then
1608 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1610 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC
="$CC" # Let the user override the test.
1619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir
=.
1624 for ac_exec_ext
in '' $ac_executable_extensions; do
1625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636 if test -n "$CC"; then
1637 echo "$as_me:$LINENO: result: $CC" >&5
1638 echo "${ECHO_T}$CC" >&6
1640 echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1645 if test -z "$ac_cv_prog_CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc
; ac_word
=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir
=.
1662 for ac_exec_ext
in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC
="cc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1674 if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676 echo "${ECHO_T}$ac_ct_CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1688 if test -z "$CC"; then
1689 # Extract the first word of "cc", so it can be a program name with args.
1690 set dummy cc
; ac_word
=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC
="$CC" # Let the user override the test.
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir
=.
1705 for ac_exec_ext
in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1708 ac_prog_rejected
=yes
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test $ac_prog_rejected = yes; then
1719 # We found a bogon in the path, so make sure we never use it.
1720 set dummy
$ac_cv_prog_CC
1722 if test $# != 0; then
1723 # We chose a different compiler from the bogus one.
1724 # However, it has the same basename, so the bogon will be chosen
1725 # first if we set CC to just the basename; use the full file name.
1727 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1747 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC
="$CC" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$CC" && break
1784 if test -z "$CC"; then
1788 # Extract the first word of "$ac_prog", so it can be a program name with args.
1789 set dummy
$ac_prog; ac_word
=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_CC"; then
1796 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir
=.
1803 for ac_exec_ext
in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_ac_ct_CC
="$ac_prog"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1815 if test -n "$ac_ct_CC"; then
1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1817 echo "${ECHO_T}$ac_ct_CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1823 test -n "$ac_ct_CC" && break
1832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: no acceptable C compiler found in \$PATH
1835 See \`config.log' for more details." >&2;}
1836 { (exit 1); exit 1; }; }
1838 # Provide some information about the compiler.
1839 echo "$as_me:$LINENO:" \
1840 "checking for C compiler version" >&5
1841 ac_compiler
=`set X $ac_compile; echo $2`
1842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1843 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }
1847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1848 (eval $ac_compiler -v </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); }
1858 cat >conftest.
$ac_ext <<_ACEOF
1861 cat confdefs.h
>>conftest.
$ac_ext
1862 cat >>conftest.
$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1873 ac_clean_files_save
=$ac_clean_files
1874 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1875 # Try to create an executable without -o first, disregard a.out.
1876 # It will help us diagnose broken compilers, and finding out an intuition
1878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1880 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1882 (eval $ac_link_default) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # Find the output, starting from the most likely. This scheme is
1887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1890 # Be careful to initialize this variable, since it used to be cached.
1891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1893 # b.out is created by i960 compilers.
1894 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1896 test -f "$ac_file" ||
continue
1898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1901 # This is the source file.
1904 # We found the default executable, but exeext='' is most
1908 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1909 # FIXME: I believe we export ac_cv_exeext for Libtool,
1910 # but it would be cool to find out if it's true. Does anybody
1911 # maintain Libtool? --akim.
1919 echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.
$ac_ext >&5
1922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1923 See \`config.log' for more details." >&5
1924 echo "$as_me: error: C compiler cannot create executables
1925 See \`config.log' for more details." >&2;}
1926 { (exit 77); exit 77; }; }
1929 ac_exeext
=$ac_cv_exeext
1930 echo "$as_me:$LINENO: result: $ac_file" >&5
1931 echo "${ECHO_T}$ac_file" >&6
1933 # Check the compiler produces executables we can run. If not, either
1934 # the compiler is broken, or we cross compile.
1935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1938 # If not cross compiling, check that we can run a simple program.
1939 if test "$cross_compiling" != yes; then
1940 if { ac_try
='./$ac_file'
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; }; then
1948 if test "$cross_compiling" = maybe
; then
1951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1952 If you meant to cross compile, use \`--host'.
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot run C compiled programs.
1955 If you meant to cross compile, use \`--host'.
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1964 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1965 ac_clean_files
=$ac_clean_files_save
1966 # Check the compiler produces executables we can run. If not, either
1967 # the compiler is broken, or we cross compile.
1968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1971 echo "${ECHO_T}$cross_compiling" >&6
1973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1976 (eval $ac_link) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }; then
1980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1982 # work properly (i.e., refer to `conftest.exe'), while it won't with
1984 for ac_file
in conftest.exe conftest conftest.
*; do
1985 test -f "$ac_file" ||
continue
1987 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1988 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1996 See \`config.log' for more details." >&5
1997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1998 See \`config.log' for more details." >&2;}
1999 { (exit 1); exit 1; }; }
2002 rm -f conftest
$ac_cv_exeext
2003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2004 echo "${ECHO_T}$ac_cv_exeext" >&6
2006 rm -f conftest.
$ac_ext
2007 EXEEXT
=$ac_cv_exeext
2009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2011 if test "${ac_cv_objext+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 cat >conftest.
$ac_ext <<_ACEOF
2017 cat confdefs.h
>>conftest.
$ac_ext
2018 cat >>conftest.
$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 rm -f conftest.o conftest.obj
2030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2031 (eval $ac_compile) 2>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; then
2035 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2037 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2038 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2043 echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.
$ac_ext >&5
2046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2047 See \`config.log' for more details." >&5
2048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2049 See \`config.log' for more details." >&2;}
2050 { (exit 1); exit 1; }; }
2053 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2056 echo "${ECHO_T}$ac_cv_objext" >&6
2057 OBJEXT
=$ac_cv_objext
2059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.
$ac_ext <<_ACEOF
2067 cat confdefs.h
>>conftest.
$ac_ext
2068 cat >>conftest.
$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2082 rm -f conftest.
$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084 (eval $ac_compile) 2>conftest.er1
2086 grep -v '^ *+' conftest.er1
>conftest.err
2088 cat conftest.err
>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; } &&
2097 { ac_try
='test -s conftest.$ac_objext'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.
$ac_ext >&5
2110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2111 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2114 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2115 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2116 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2117 ac_test_CFLAGS
=${CFLAGS+set}
2118 ac_save_CFLAGS
=$CFLAGS
2120 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2121 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2122 if test "${ac_cv_prog_cc_g+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 cat >conftest.
$ac_ext <<_ACEOF
2128 cat confdefs.h
>>conftest.
$ac_ext
2129 cat >>conftest.
$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 rm -f conftest.
$ac_objext
2141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142 (eval $ac_compile) 2>conftest.er1
2144 grep -v '^ *+' conftest.er1
>conftest.err
2146 cat conftest.err
>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try
='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.
$ac_ext >&5
2168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2170 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2171 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2172 if test "$ac_test_CFLAGS" = set; then
2173 CFLAGS
=$ac_save_CFLAGS
2174 elif test $ac_cv_prog_cc_g = yes; then
2175 if test "$GCC" = yes; then
2181 if test "$GCC" = yes; then
2187 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2188 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2189 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 ac_cv_prog_cc_stdc
=no
2194 cat >conftest.
$ac_ext <<_ACEOF
2197 cat confdefs.h
>>conftest.
$ac_ext
2198 cat >>conftest.
$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2202 #include <sys/types.h>
2203 #include <sys/stat.h>
2204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2205 struct buf { int x; };
2206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2207 static char *e (p, i)
2213 static char *f (char * (*g) (char **, int), char **p, ...)
2218 s = g (p, va_arg (v,int));
2223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2224 function prototypes and stuff, but not '\xHH' hex character constants.
2225 These don't provoke an error unfortunately, instead are silently treated
2226 as 'x'. The following induces an error, until -std1 is added to get
2227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2228 array size at least. It's necessary to write '\x00'==0 to get something
2229 that's true only with -std1. */
2230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2232 int test (int i, double x);
2233 struct s1 {int (*f) (int a);};
2234 struct s2 {int (*f) (double a);};
2235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2246 # Don't try gcc -ansi; that turns off useful extensions and
2247 # breaks some systems' header files.
2248 # AIX -qlanglvl=ansi
2249 # Ultrix and OSF/1 -std1
2250 # HP-UX 10.20 and later -Ae
2251 # HP-UX older versions -Aa -D_HPUX_SOURCE
2252 # SVR4 -Xc -D__EXTENSIONS__
2253 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2255 CC
="$ac_save_CC $ac_arg"
2256 rm -f conftest.
$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1
>conftest.err
2262 cat conftest.err
>&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; } &&
2271 { ac_try
='test -s conftest.$ac_objext'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2277 ac_cv_prog_cc_stdc
=$ac_arg
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.
$ac_ext >&5
2284 rm -f conftest.err conftest.
$ac_objext
2286 rm -f conftest.
$ac_ext conftest.
$ac_objext
2291 case "x$ac_cv_prog_cc_stdc" in
2293 echo "$as_me:$LINENO: result: none needed" >&5
2294 echo "${ECHO_T}none needed" >&6 ;;
2296 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2297 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2298 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2301 # Some people use a C++ compiler to compile C. Since we use `exit',
2302 # in C++ we need to declare it. In case someone uses the same compiler
2303 # for both compiling C and C++ we need to have the C++ compiler decide
2304 # the declaration of exit, since it's the most demanding environment.
2305 cat >conftest.
$ac_ext <<_ACEOF
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try
='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2331 for ac_declaration
in \
2333 'extern "C" void std::exit (int) throw (); using std::exit;' \
2334 'extern "C" void std::exit (int); using std::exit;' \
2335 'extern "C" void exit (int) throw ();' \
2336 'extern "C" void exit (int);' \
2339 cat >conftest.
$ac_ext <<_ACEOF
2342 cat confdefs.h
>>conftest.
$ac_ext
2343 cat >>conftest.
$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2355 rm -f conftest.
$ac_objext
2356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357 (eval $ac_compile) 2>conftest.er1
2359 grep -v '^ *+' conftest.er1
>conftest.err
2361 cat conftest.err
>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } &&
2364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try
='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2384 cat >conftest.
$ac_ext <<_ACEOF
2387 cat confdefs.h
>>conftest.
$ac_ext
2388 cat >>conftest.
$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 rm -f conftest.
$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try
='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.
$ac_ext >&5
2426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2429 if test -n "$ac_declaration"; then
2430 echo '#ifdef __cplusplus' >>confdefs.h
2431 echo $ac_declaration >>confdefs.h
2432 echo '#endif' >>confdefs.h
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.
$ac_ext >&5
2440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2442 ac_cpp
='$CPP $CPPFLAGS'
2443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2448 ac_cpp
='$CXXCPP $CPPFLAGS'
2449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_CXX+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$CXX"; then
2463 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CXX"; then
2483 echo "$as_me:$LINENO: result: $CXX" >&5
2484 echo "${ECHO_T}$CXX" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2490 test -n "$CXX" && break
2493 if test -z "$CXX"; then
2495 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy
$ac_prog; ac_word
=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$ac_ct_CXX"; then
2505 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2524 if test -n "$ac_ct_CXX"; then
2525 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2526 echo "${ECHO_T}$ac_ct_CXX" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2532 test -n "$ac_ct_CXX" && break
2534 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO:" \
2542 "checking for C++ compiler version" >&5
2543 ac_compiler
=`set X $ac_compile; echo $2`
2544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2545 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }
2549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2550 (eval $ac_compiler -v </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); }
2560 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2561 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2562 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 cat >conftest.
$ac_ext <<_ACEOF
2568 cat confdefs.h
>>conftest.
$ac_ext
2569 cat >>conftest.
$ac_ext <<_ACEOF
2570 /* end confdefs.h. */
2583 rm -f conftest.
$ac_objext
2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 (eval $ac_compile) 2>conftest.er1
2587 grep -v '^ *+' conftest.er1
>conftest.err
2589 cat conftest.err
>&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); } &&
2592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; } &&
2598 { ac_try
='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.
$ac_ext >&5
2611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2612 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2617 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2618 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2619 ac_save_CXXFLAGS
=$CXXFLAGS
2621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2623 if test "${ac_cv_prog_cxx_g+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.
$ac_ext <<_ACEOF
2629 cat confdefs.h
>>conftest.
$ac_ext
2630 cat >>conftest.
$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.
$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2645 grep -v '^ *+' conftest.er1
>conftest.err
2647 cat conftest.err
>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try
='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cxx_g
=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2673 if test "$ac_test_CXXFLAGS" = set; then
2674 CXXFLAGS
=$ac_save_CXXFLAGS
2675 elif test $ac_cv_prog_cxx_g = yes; then
2676 if test "$GXX" = yes; then
2682 if test "$GXX" = yes; then
2688 for ac_declaration
in \
2690 'extern "C" void std::exit (int) throw (); using std::exit;' \
2691 'extern "C" void std::exit (int); using std::exit;' \
2692 'extern "C" void exit (int) throw ();' \
2693 'extern "C" void exit (int);' \
2696 cat >conftest.
$ac_ext <<_ACEOF
2699 cat confdefs.h
>>conftest.
$ac_ext
2700 cat >>conftest.
$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2712 rm -f conftest.
$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1
>conftest.err
2718 cat conftest.err
>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try
='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.
$ac_ext >&5
2740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; } &&
2771 { ac_try
='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.
$ac_ext >&5
2783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2786 if test -n "$ac_declaration"; then
2787 echo '#ifdef __cplusplus' >>confdefs.h
2788 echo $ac_declaration >>confdefs.h
2789 echo '#endif' >>confdefs.h
2793 ac_cpp
='$CPP $CPPFLAGS'
2794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2800 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$CPPBIN"; then
2807 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 CPPBIN
=$ac_cv_prog_CPPBIN
2826 if test -n "$CPPBIN"; then
2827 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2828 echo "${ECHO_T}$CPPBIN" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 if test -z "$ac_cv_prog_CPPBIN"; then
2836 ac_ct_CPPBIN
=$CPPBIN
2837 # Extract the first word of "cpp", so it can be a program name with args.
2838 set dummy cpp
; ac_word
=$2
2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2841 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$ac_ct_CPPBIN"; then
2845 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2864 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2865 if test -n "$ac_ct_CPPBIN"; then
2866 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2867 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2873 CPPBIN
=$ac_ct_CPPBIN
2875 CPPBIN
="$ac_cv_prog_CPPBIN"
2879 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2880 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2881 if test "${wine_cv_toolsdir+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -z "$with_wine_tools"; then
2885 if test "$cross_compiling" = "yes"; then
2886 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2887 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2888 { (exit 1); exit 1; }; }
2890 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2892 elif test -d "$with_wine_tools/tools/winebuild"; then
2893 case $with_wine_tools in
2894 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2895 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2898 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2899 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2900 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2904 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2905 TOOLSDIR
=$wine_cv_toolsdir
2910 ac_cpp
='$CPP $CPPFLAGS'
2911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2916 # On Suns, sometimes $CPP names a directory.
2917 if test -n "$CPP" && test -d "$CPP"; then
2920 if test -z "$CPP"; then
2921 if test "${ac_cv_prog_CPP+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 # Double quotes because CPP needs to be expanded
2925 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928 for ac_c_preproc_warn_flag
in '' yes
2930 # Use a header file that comes with gcc, so configuring glibc
2931 # with a fresh cross-compiler works.
2932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2933 # <limits.h> exists even on freestanding compilers.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.
$ac_ext <<_ACEOF
2939 cat confdefs.h
>>conftest.
$ac_ext
2940 cat >>conftest.
$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2943 # include <limits.h>
2945 # include <assert.h>
2949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1
>conftest.err
2954 cat conftest.err
>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } >/dev
/null
; then
2957 if test -s conftest.err
; then
2958 ac_cpp_err
=$ac_c_preproc_warn_flag
2959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2966 if test -z "$ac_cpp_err"; then
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.
$ac_ext >&5
2972 # Broken: fails on valid input.
2975 rm -f conftest.err conftest.
$ac_ext
2977 # OK, works on sane cases. Now check whether non-existent headers
2978 # can be detected and how.
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 #include <ac_nonexistent.h>
2987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1
>conftest.err
2992 cat conftest.err
>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } >/dev
/null
; then
2995 if test -s conftest.err
; then
2996 ac_cpp_err
=$ac_c_preproc_warn_flag
2997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3004 if test -z "$ac_cpp_err"; then
3005 # Broken: success on invalid input.
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.
$ac_ext >&5
3011 # Passes both tests.
3015 rm -f conftest.err conftest.
$ac_ext
3018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3019 rm -f conftest.err conftest.
$ac_ext
3020 if $ac_preproc_ok; then
3032 echo "$as_me:$LINENO: result: $CPP" >&5
3033 echo "${ECHO_T}$CPP" >&6
3035 for ac_c_preproc_warn_flag
in '' yes
3037 # Use a header file that comes with gcc, so configuring glibc
3038 # with a fresh cross-compiler works.
3039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3040 # <limits.h> exists even on freestanding compilers.
3041 # On the NeXT, cc -E runs the code through the compiler's parser,
3042 # not just through cpp. "Syntax error" is here to catch this case.
3043 cat >conftest.
$ac_ext <<_ACEOF
3046 cat confdefs.h
>>conftest.
$ac_ext
3047 cat >>conftest.
$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3050 # include <limits.h>
3052 # include <assert.h>
3056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3057 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1
>conftest.err
3061 cat conftest.err
>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } >/dev
/null
; then
3064 if test -s conftest.err
; then
3065 ac_cpp_err
=$ac_c_preproc_warn_flag
3066 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3073 if test -z "$ac_cpp_err"; then
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.
$ac_ext >&5
3079 # Broken: fails on valid input.
3082 rm -f conftest.err conftest.
$ac_ext
3084 # OK, works on sane cases. Now check whether non-existent headers
3085 # can be detected and how.
3086 cat >conftest.
$ac_ext <<_ACEOF
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1
>conftest.err
3099 cat conftest.err
>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev
/null
; then
3102 if test -s conftest.err
; then
3103 ac_cpp_err
=$ac_c_preproc_warn_flag
3104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3111 if test -z "$ac_cpp_err"; then
3112 # Broken: success on invalid input.
3115 echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.
$ac_ext >&5
3118 # Passes both tests.
3122 rm -f conftest.err conftest.
$ac_ext
3125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3126 rm -f conftest.err conftest.
$ac_ext
3127 if $ac_preproc_ok; then
3130 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3131 See \`config.log' for more details." >&5
3132 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3133 See \`config.log' for more details." >&2;}
3134 { (exit 1); exit 1; }; }
3138 ac_cpp
='$CPP $CPPFLAGS'
3139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3145 if test "x$ac_path_x_has_been_run" != xyes
; then
3146 echo "$as_me:$LINENO: checking for X" >&5
3147 echo $ECHO_N "checking for X... $ECHO_C" >&6
3149 ac_path_x_has_been_run
=yes
3151 # Check whether --with-x or --without-x was given.
3152 if test "${with_x+set}" = set; then
3156 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3157 if test "x$with_x" = xno
; then
3158 # The user explicitly disabled X.
3161 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3162 # Both variables are already set.
3165 if test "${ac_cv_have_x+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 # One or both of the vars are not set, and there is no cached value.
3169 ac_x_includes
=no ac_x_libraries
=no
3171 if mkdir conftest.dir
; then
3173 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3174 cat >Imakefile
<<'_ACEOF'
3176 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3178 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3180 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3181 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3182 for ac_extension
in a so sl
; do
3183 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3184 test -f $ac_im_libdir/libX11.
$ac_extension; then
3185 ac_im_usrlibdir
=$ac_im_libdir; break
3188 # Screen out bogus values from the imake configuration. They are
3189 # bogus both because they are the default anyway, and because
3190 # using them would break gcc on systems where it needs fixed includes.
3191 case $ac_im_incroot in
3193 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3195 case $ac_im_usrlibdir in
3197 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3204 # Standard set of common directories for X headers.
3205 # Check X11 before X11Rn because it is often a symlink to the current release.
3217 /usr/local/X11/include
3218 /usr/local/X11R6/include
3219 /usr/local/X11R5/include
3220 /usr/local/X11R4/include
3222 /usr/local/include/X11
3223 /usr/local/include/X11R6
3224 /usr/local/include/X11R5
3225 /usr/local/include/X11R4
3229 /usr/XFree86/include/X11
3233 /usr/unsupported/include
3235 /usr/local/x11r5/include
3236 /usr/lpp/Xamples/include
3238 /usr/openwin/include
3239 /usr/openwin/share/include'
3241 if test "$ac_x_includes" = no
; then
3242 # Guess where to find include files, by looking for a specified header file.
3243 # First, try using that file with no special directory specified.
3244 cat >conftest.
$ac_ext <<_ACEOF
3247 cat confdefs.h
>>conftest.
$ac_ext
3248 cat >>conftest.
$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 #include <X11/Intrinsic.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1
>conftest.err
3257 cat conftest.err
>&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev
/null
; then
3260 if test -s conftest.err
; then
3261 ac_cpp_err
=$ac_c_preproc_warn_flag
3262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3270 # We can compile using X headers with no special include directory.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 for ac_dir
in $ac_x_header_dirs; do
3277 if test -r "$ac_dir/X11/Intrinsic.h"; then
3278 ac_x_includes
=$ac_dir
3283 rm -f conftest.err conftest.
$ac_ext
3284 fi # $ac_x_includes = no
3286 if test "$ac_x_libraries" = no
; then
3287 # Check for the libraries.
3288 # See if we find them without any special options.
3289 # Don't add to $LIBS permanently.
3292 cat >conftest.
$ac_ext <<_ACEOF
3295 cat confdefs.h
>>conftest.
$ac_ext
3296 cat >>conftest.
$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 #include <X11/Intrinsic.h>
3307 rm -f conftest.
$ac_objext conftest
$ac_exeext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3309 (eval $ac_link) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1
>conftest.err
3313 cat conftest.err
>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try
='test -s conftest$ac_exeext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3329 # We can link X programs with no special library path.
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.
$ac_ext >&5
3336 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3338 # Don't even attempt the hair of trying to link an X program!
3339 for ac_extension
in a so sl
; do
3340 if test -r $ac_dir/libXt.
$ac_extension; then
3341 ac_x_libraries
=$ac_dir
3347 rm -f conftest.err conftest.
$ac_objext \
3348 conftest
$ac_exeext conftest.
$ac_ext
3349 fi # $ac_x_libraries = no
3351 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3352 # Didn't find X anywhere. Cache the known absence of X.
3353 ac_cv_have_x
="have_x=no"
3355 # Record where we found X for the cache.
3356 ac_cv_have_x
="have_x=yes \
3357 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3362 eval "$ac_cv_have_x"
3365 if test "$have_x" != yes; then
3366 echo "$as_me:$LINENO: result: $have_x" >&5
3367 echo "${ECHO_T}$have_x" >&6
3370 # If each of the values was on the command line, it overrides each guess.
3371 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3372 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3373 # Update the cache value to reflect the command line values.
3374 ac_cv_have_x
="have_x=yes \
3375 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3376 # It might be that x_includes is empty (headers are found in the
3377 # standard search path. Then output the corresponding message
3378 ac_out_x_includes
=$x_includes
3379 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3380 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3381 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3385 if test "$no_x" = yes; then
3386 # Not all programs may use this symbol, but it does not hurt to define it.
3388 cat >>confdefs.h
<<\_ACEOF
3389 #define X_DISPLAY_MISSING 1
3392 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3394 if test -n "$x_includes"; then
3395 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3398 # It would also be nice to do this for all -L options, not just this one.
3399 if test -n "$x_libraries"; then
3400 X_LIBS
="$X_LIBS -L$x_libraries"
3401 # For Solaris; some versions of Sun CC require a space after -R and
3402 # others require no space. Words are not sufficient . . . .
3403 case `(uname -sr) 2>/dev/null` in
3405 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3406 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3407 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3408 cat >conftest.
$ac_ext <<_ACEOF
3411 cat confdefs.h
>>conftest.
$ac_ext
3412 cat >>conftest.
$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3423 rm -f conftest.
$ac_objext conftest
$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1
>conftest.err
3429 cat conftest.err
>&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } &&
3432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; } &&
3438 { ac_try
='test -s conftest$ac_exeext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3451 rm -f conftest.err conftest.
$ac_objext \
3452 conftest
$ac_exeext conftest.
$ac_ext
3453 if test $ac_R_nospace = yes; then
3454 echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3456 X_LIBS
="$X_LIBS -R$x_libraries"
3458 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3459 cat >conftest.
$ac_ext <<_ACEOF
3462 cat confdefs.h
>>conftest.
$ac_ext
3463 cat >>conftest.
$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.
$ac_objext conftest
$ac_exeext
3475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3476 (eval $ac_link) 2>conftest.er1
3478 grep -v '^ *+' conftest.er1
>conftest.err
3480 cat conftest.err
>&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } &&
3483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try
='test -s conftest$ac_exeext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3502 rm -f conftest.err conftest.
$ac_objext \
3503 conftest
$ac_exeext conftest.
$ac_ext
3504 if test $ac_R_space = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3507 X_LIBS
="$X_LIBS -R $x_libraries"
3509 echo "$as_me:$LINENO: result: neither works" >&5
3510 echo "${ECHO_T}neither works" >&6
3517 # Check for system-dependent libraries X programs must link with.
3518 # Do this before checking for the system-independent R6 libraries
3519 # (-lICE), since we may need -lsocket or whatever for X linking.
3521 if test "$ISC" = yes; then
3522 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3524 # Martyn Johnson says this is needed for Ultrix, if the X
3525 # libraries were built with DECnet support. And Karl Berry says
3526 # the Alpha needs dnet_stub (dnet does not exist).
3527 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3528 cat >conftest.
$ac_ext <<_ACEOF
3531 cat confdefs.h
>>conftest.
$ac_ext
3532 cat >>conftest.
$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3535 /* Override any gcc2 internal prototype to avoid an error. */
3539 /* We use char because int might match the return type of a gcc2
3540 builtin and then its argument prototype would still apply. */
3541 char XOpenDisplay ();
3550 rm -f conftest.
$ac_objext conftest
$ac_exeext
3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3552 (eval $ac_link) 2>conftest.er1
3554 grep -v '^ *+' conftest.er1
>conftest.err
3556 cat conftest.err
>&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } &&
3559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try
='test -s conftest$ac_exeext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.
$ac_ext >&5
3576 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3577 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3578 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_check_lib_save_LIBS
=$LIBS
3583 cat >conftest.
$ac_ext <<_ACEOF
3586 cat confdefs.h
>>conftest.
$ac_ext
3587 cat >>conftest.
$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 /* Override any gcc2 internal prototype to avoid an error. */
3594 /* We use char because int might match the return type of a gcc2
3595 builtin and then its argument prototype would still apply. */
3605 rm -f conftest.
$ac_objext conftest
$ac_exeext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607 (eval $ac_link) 2>conftest.er1
3609 grep -v '^ *+' conftest.er1
>conftest.err
3611 cat conftest.err
>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try
='test -s conftest$ac_exeext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 ac_cv_lib_dnet_dnet_ntoa
=yes
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3631 ac_cv_lib_dnet_dnet_ntoa
=no
3633 rm -f conftest.err conftest.
$ac_objext \
3634 conftest
$ac_exeext conftest.
$ac_ext
3635 LIBS
=$ac_check_lib_save_LIBS
3637 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3638 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3639 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3643 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3644 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3645 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3646 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 ac_check_lib_save_LIBS
=$LIBS
3650 LIBS
="-ldnet_stub $LIBS"
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3658 /* Override any gcc2 internal prototype to avoid an error. */
3662 /* We use char because int might match the return type of a gcc2
3663 builtin and then its argument prototype would still apply. */
3673 rm -f conftest.
$ac_objext conftest
$ac_exeext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1
>conftest.err
3679 cat conftest.err
>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try
='test -s conftest$ac_exeext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3694 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.
$ac_ext >&5
3699 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3701 rm -f conftest.err conftest.
$ac_objext \
3702 conftest
$ac_exeext conftest.
$ac_ext
3703 LIBS
=$ac_check_lib_save_LIBS
3705 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3706 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3707 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3708 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3713 rm -f conftest.err conftest.
$ac_objext \
3714 conftest
$ac_exeext conftest.
$ac_ext
3715 LIBS
="$ac_xsave_LIBS"
3717 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3718 # to get the SysV transport functions.
3719 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3721 # The nsl library prevents programs from opening the X display
3722 # on Irix 5.2, according to T.E. Dickey.
3723 # The functions gethostbyname, getservbyname, and inet_addr are
3724 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3725 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3726 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3727 if test "${ac_cv_func_gethostbyname+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.
$ac_ext <<_ACEOF
3733 cat confdefs.h
>>conftest.
$ac_ext
3734 cat >>conftest.
$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3738 #define gethostbyname innocuous_gethostbyname
3740 /* System header to define __stub macros and hopefully few prototypes,
3741 which can conflict with char gethostbyname (); below.
3742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3743 <limits.h> exists even on freestanding compilers. */
3746 # include <limits.h>
3748 # include <assert.h>
3751 #undef gethostbyname
3753 /* Override any gcc2 internal prototype to avoid an error. */
3758 /* We use char because int might match the return type of a gcc2
3759 builtin and then its argument prototype would still apply. */
3760 char gethostbyname ();
3761 /* The GNU C library defines this for functions which it implements
3762 to always fail with ENOSYS. Some functions are actually named
3763 something starting with __ and the normal name is an alias. */
3764 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3767 char (*f) () = gethostbyname;
3776 return f != gethostbyname;
3781 rm -f conftest.
$ac_objext conftest
$ac_exeext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3783 (eval $ac_link) 2>conftest.er1
3785 grep -v '^ *+' conftest.er1
>conftest.err
3787 cat conftest.err
>&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; } &&
3796 { ac_try
='test -s conftest$ac_exeext'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 ac_cv_func_gethostbyname
=yes
3804 echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.
$ac_ext >&5
3807 ac_cv_func_gethostbyname
=no
3809 rm -f conftest.err conftest.
$ac_objext \
3810 conftest
$ac_exeext conftest.
$ac_ext
3812 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3813 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3815 if test $ac_cv_func_gethostbyname = no
; then
3816 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3817 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3818 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 ac_check_lib_save_LIBS
=$LIBS
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3830 /* Override any gcc2 internal prototype to avoid an error. */
3834 /* We use char because int might match the return type of a gcc2
3835 builtin and then its argument prototype would still apply. */
3836 char gethostbyname ();
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try
='test -s conftest$ac_exeext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 ac_cv_lib_nsl_gethostbyname
=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.
$ac_ext >&5
3871 ac_cv_lib_nsl_gethostbyname
=no
3873 rm -f conftest.err conftest.
$ac_objext \
3874 conftest
$ac_exeext conftest.
$ac_ext
3875 LIBS
=$ac_check_lib_save_LIBS
3877 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3878 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3879 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3880 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3883 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3884 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3885 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3886 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 ac_check_lib_save_LIBS
=$LIBS
3891 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3898 /* Override any gcc2 internal prototype to avoid an error. */
3902 /* We use char because int might match the return type of a gcc2
3903 builtin and then its argument prototype would still apply. */
3904 char gethostbyname ();
3913 rm -f conftest.
$ac_objext conftest
$ac_exeext
3914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3915 (eval $ac_link) 2>conftest.er1
3917 grep -v '^ *+' conftest.er1
>conftest.err
3919 cat conftest.err
>&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } &&
3922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3928 { ac_try
='test -s conftest$ac_exeext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_cv_lib_bsd_gethostbyname
=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.
$ac_ext >&5
3939 ac_cv_lib_bsd_gethostbyname
=no
3941 rm -f conftest.err conftest.
$ac_objext \
3942 conftest
$ac_exeext conftest.
$ac_ext
3943 LIBS
=$ac_check_lib_save_LIBS
3945 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3946 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3947 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3954 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3955 # socket/setsockopt and other routines are undefined under SCO ODT
3956 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3957 # on later versions), says Simon Leinen: it contains gethostby*
3958 # variants that don't use the name server (or something). -lsocket
3959 # must be given before -lnsl if both are needed. We assume that
3960 # if connect needs -lnsl, so does gethostbyname.
3961 echo "$as_me:$LINENO: checking for connect" >&5
3962 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3963 if test "${ac_cv_func_connect+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 cat >conftest.
$ac_ext <<_ACEOF
3969 cat confdefs.h
>>conftest.
$ac_ext
3970 cat >>conftest.
$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3974 #define connect innocuous_connect
3976 /* System header to define __stub macros and hopefully few prototypes,
3977 which can conflict with char connect (); below.
3978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3979 <limits.h> exists even on freestanding compilers. */
3982 # include <limits.h>
3984 # include <assert.h>
3989 /* Override any gcc2 internal prototype to avoid an error. */
3994 /* We use char because int might match the return type of a gcc2
3995 builtin and then its argument prototype would still apply. */
3997 /* The GNU C library defines this for functions which it implements
3998 to always fail with ENOSYS. Some functions are actually named
3999 something starting with __ and the normal name is an alias. */
4000 #if defined (__stub_connect) || defined (__stub___connect)
4003 char (*f) () = connect;
4012 return f != connect;
4017 rm -f conftest.
$ac_objext conftest
$ac_exeext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4019 (eval $ac_link) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try
='test -s conftest$ac_exeext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_cv_func_connect
=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.
$ac_ext >&5
4043 ac_cv_func_connect
=no
4045 rm -f conftest.err conftest.
$ac_objext \
4046 conftest
$ac_exeext conftest.
$ac_ext
4048 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4049 echo "${ECHO_T}$ac_cv_func_connect" >&6
4051 if test $ac_cv_func_connect = no
; then
4052 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4053 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4054 if test "${ac_cv_lib_socket_connect+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 ac_check_lib_save_LIBS
=$LIBS
4058 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4059 cat >conftest.
$ac_ext <<_ACEOF
4062 cat confdefs.h
>>conftest.
$ac_ext
4063 cat >>conftest.
$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4066 /* Override any gcc2 internal prototype to avoid an error. */
4070 /* We use char because int might match the return type of a gcc2
4071 builtin and then its argument prototype would still apply. */
4081 rm -f conftest.
$ac_objext conftest
$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083 (eval $ac_link) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1
>conftest.err
4087 cat conftest.err
>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try
='test -s conftest$ac_exeext'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; }; then
4102 ac_cv_lib_socket_connect
=yes
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.
$ac_ext >&5
4107 ac_cv_lib_socket_connect
=no
4109 rm -f conftest.err conftest.
$ac_objext \
4110 conftest
$ac_exeext conftest.
$ac_ext
4111 LIBS
=$ac_check_lib_save_LIBS
4113 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4115 if test $ac_cv_lib_socket_connect = yes; then
4116 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4121 # Guillermo Gomez says -lposix is necessary on A/UX.
4122 echo "$as_me:$LINENO: checking for remove" >&5
4123 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4124 if test "${ac_cv_func_remove+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 cat >conftest.
$ac_ext <<_ACEOF
4130 cat confdefs.h
>>conftest.
$ac_ext
4131 cat >>conftest.
$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4135 #define remove innocuous_remove
4137 /* System header to define __stub macros and hopefully few prototypes,
4138 which can conflict with char remove (); below.
4139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140 <limits.h> exists even on freestanding compilers. */
4143 # include <limits.h>
4145 # include <assert.h>
4150 /* Override any gcc2 internal prototype to avoid an error. */
4155 /* We use char because int might match the return type of a gcc2
4156 builtin and then its argument prototype would still apply. */
4158 /* The GNU C library defines this for functions which it implements
4159 to always fail with ENOSYS. Some functions are actually named
4160 something starting with __ and the normal name is an alias. */
4161 #if defined (__stub_remove) || defined (__stub___remove)
4164 char (*f) () = remove;
4178 rm -f conftest.
$ac_objext conftest
$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180 (eval $ac_link) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1
>conftest.err
4184 cat conftest.err
>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; } &&
4193 { ac_try
='test -s conftest$ac_exeext'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4199 ac_cv_func_remove
=yes
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.
$ac_ext >&5
4204 ac_cv_func_remove
=no
4206 rm -f conftest.err conftest.
$ac_objext \
4207 conftest
$ac_exeext conftest.
$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4210 echo "${ECHO_T}$ac_cv_func_remove" >&6
4212 if test $ac_cv_func_remove = no
; then
4213 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4214 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4215 if test "${ac_cv_lib_posix_remove+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 ac_check_lib_save_LIBS
=$LIBS
4219 LIBS
="-lposix $LIBS"
4220 cat >conftest.
$ac_ext <<_ACEOF
4223 cat confdefs.h
>>conftest.
$ac_ext
4224 cat >>conftest.
$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4227 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4242 rm -f conftest.
$ac_objext conftest
$ac_exeext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4244 (eval $ac_link) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1
>conftest.err
4248 cat conftest.err
>&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; } &&
4257 { ac_try
='test -s conftest$ac_exeext'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then
4263 ac_cv_lib_posix_remove
=yes
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.
$ac_ext >&5
4268 ac_cv_lib_posix_remove
=no
4270 rm -f conftest.err conftest.
$ac_objext \
4271 conftest
$ac_exeext conftest.
$ac_ext
4272 LIBS
=$ac_check_lib_save_LIBS
4274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4275 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4276 if test $ac_cv_lib_posix_remove = yes; then
4277 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4282 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4283 echo "$as_me:$LINENO: checking for shmat" >&5
4284 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4285 if test "${ac_cv_func_shmat+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 cat >conftest.
$ac_ext <<_ACEOF
4291 cat confdefs.h
>>conftest.
$ac_ext
4292 cat >>conftest.
$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4294 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4296 #define shmat innocuous_shmat
4298 /* System header to define __stub macros and hopefully few prototypes,
4299 which can conflict with char shmat (); below.
4300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4301 <limits.h> exists even on freestanding compilers. */
4304 # include <limits.h>
4306 # include <assert.h>
4311 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_shmat) || defined (__stub___shmat)
4325 char (*f) () = shmat;
4339 rm -f conftest.
$ac_objext conftest
$ac_exeext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4341 (eval $ac_link) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1
>conftest.err
4345 cat conftest.err
>&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try
='test -s conftest$ac_exeext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_cv_func_shmat
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4367 rm -f conftest.err conftest.
$ac_objext \
4368 conftest
$ac_exeext conftest.
$ac_ext
4370 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4371 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4373 if test $ac_cv_func_shmat = no
; then
4374 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4375 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4376 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 ac_check_lib_save_LIBS
=$LIBS
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4388 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4403 rm -f conftest.
$ac_objext conftest
$ac_exeext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4405 (eval $ac_link) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1
>conftest.err
4409 cat conftest.err
>&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try
='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 ac_cv_lib_ipc_shmat
=yes
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 ac_cv_lib_ipc_shmat
=no
4431 rm -f conftest.err conftest.
$ac_objext \
4432 conftest
$ac_exeext conftest.
$ac_ext
4433 LIBS
=$ac_check_lib_save_LIBS
4435 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4436 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4437 if test $ac_cv_lib_ipc_shmat = yes; then
4438 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4444 # Check for libraries that X11R6 Xt/Xaw programs need.
4445 ac_save_LDFLAGS
=$LDFLAGS
4446 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4447 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4448 # check for ICE first), but we must link in the order -lSM -lICE or
4449 # we get undefined symbols. So assume we have SM if we have ICE.
4450 # These have to be linked with before -lX11, unlike the other
4451 # libraries we check for below, so use a different variable.
4452 # John Interrante, Karl Berry
4453 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4454 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4455 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 ac_check_lib_save_LIBS
=$LIBS
4459 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4460 cat >conftest.
$ac_ext <<_ACEOF
4463 cat confdefs.h
>>conftest.
$ac_ext
4464 cat >>conftest.
$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4467 /* Override any gcc2 internal prototype to avoid an error. */
4471 /* We use char because int might match the return type of a gcc2
4472 builtin and then its argument prototype would still apply. */
4473 char IceConnectionNumber ();
4477 IceConnectionNumber ();
4482 rm -f conftest.
$ac_objext conftest
$ac_exeext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4484 (eval $ac_link) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1
>conftest.err
4488 cat conftest.err
>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try
='test -s conftest$ac_exeext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_cv_lib_ICE_IceConnectionNumber
=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 ac_cv_lib_ICE_IceConnectionNumber
=no
4510 rm -f conftest.err conftest.
$ac_objext \
4511 conftest
$ac_exeext conftest.
$ac_ext
4512 LIBS
=$ac_check_lib_save_LIBS
4514 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4515 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4516 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4517 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4520 LDFLAGS
=$ac_save_LDFLAGS
4524 for ac_prog
in flex
lex
4526 # Extract the first word of "$ac_prog", so it can be a program name with args.
4527 set dummy
$ac_prog; ac_word
=$2
4528 echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4530 if test "${ac_cv_prog_LEX+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$LEX"; then
4534 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_LEX
="$ac_prog"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$LEX"; then
4554 echo "$as_me:$LINENO: result: $LEX" >&5
4555 echo "${ECHO_T}$LEX" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 test -n "$LEX" && break
4563 test -n "$LEX" || LEX
=":"
4565 if test -z "$LEXLIB"
4567 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4568 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4569 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any gcc2 internal prototype to avoid an error. */
4585 /* We use char because int might match the return type of a gcc2
4586 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4598 (eval $ac_link) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1
>conftest.err
4602 cat conftest.err
>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try
='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_lib_fl_yywrap
=yes
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.
$ac_ext >&5
4622 ac_cv_lib_fl_yywrap
=no
4624 rm -f conftest.err conftest.
$ac_objext \
4625 conftest
$ac_exeext conftest.
$ac_ext
4626 LIBS
=$ac_check_lib_save_LIBS
4628 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4629 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4630 if test $ac_cv_lib_fl_yywrap = yes; then
4633 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4634 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4635 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS
=$LIBS
4640 cat >conftest.
$ac_ext <<_ACEOF
4643 cat confdefs.h
>>conftest.
$ac_ext
4644 cat >>conftest.
$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4662 rm -f conftest.
$ac_objext conftest
$ac_exeext
4663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664 (eval $ac_link) 2>conftest.er1
4666 grep -v '^ *+' conftest.er1
>conftest.err
4668 cat conftest.err
>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; } &&
4677 { ac_try
='test -s conftest$ac_exeext'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4683 ac_cv_lib_l_yywrap
=yes
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.
$ac_ext >&5
4688 ac_cv_lib_l_yywrap
=no
4690 rm -f conftest.err conftest.
$ac_objext \
4691 conftest
$ac_exeext conftest.
$ac_ext
4692 LIBS
=$ac_check_lib_save_LIBS
4694 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4695 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4696 if test $ac_cv_lib_l_yywrap = yes; then
4704 if test "x$LEX" != "x:"; then
4705 echo "$as_me:$LINENO: checking lex output file root" >&5
4706 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4707 if test "${ac_cv_prog_lex_root+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 # The minimal lex program is just a single line: %%. But some broken lexes
4711 # (Solaris, I think it was) want two %% lines, so accommodate them.
4712 cat >conftest.l
<<_ACEOF
4716 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4717 (eval $LEX conftest.l
) 2>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }
4721 if test -f lex.yy.c
; then
4722 ac_cv_prog_lex_root
=lex.yy
4723 elif test -f lexyy.c
; then
4724 ac_cv_prog_lex_root
=lexyy
4726 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4727 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4728 { (exit 1); exit 1; }; }
4731 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4732 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4734 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4736 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4737 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4738 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 # POSIX says lex can declare yytext either as a pointer or an array; the
4742 # default is implementation-dependent. Figure out which it is, since
4743 # not all implementations provide the %pointer and %array declarations.
4744 ac_cv_prog_lex_yytext_pointer
=no
4745 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4747 LIBS
="$LIBS $LEXLIB"
4748 cat >conftest.
$ac_ext <<_ACEOF
4749 `cat $LEX_OUTPUT_ROOT.c`
4751 rm -f conftest.
$ac_objext conftest
$ac_exeext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4753 (eval $ac_link) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1
>conftest.err
4757 cat conftest.err
>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; } &&
4766 { ac_try
='test -s conftest$ac_exeext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4772 ac_cv_prog_lex_yytext_pointer
=yes
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.
$ac_ext >&5
4778 rm -f conftest.err conftest.
$ac_objext \
4779 conftest
$ac_exeext conftest.
$ac_ext
4781 rm -f "${LEX_OUTPUT_ROOT}.c"
4784 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4785 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4786 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4788 cat >>confdefs.h
<<\_ACEOF
4789 #define YYTEXT_POINTER 1
4796 for ac_prog
in $LEX flex
lex
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy
$ac_prog; ac_word
=$2
4800 echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802 if test "${ac_cv_prog_XLEX+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -n "$XLEX"; then
4806 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir
=.
4813 for ac_exec_ext
in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_XLEX
="$ac_prog"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 XLEX
=$ac_cv_prog_XLEX
4825 if test -n "$XLEX"; then
4826 echo "$as_me:$LINENO: result: $XLEX" >&5
4827 echo "${ECHO_T}$XLEX" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4833 test -n "$XLEX" && break
4835 test -n "$XLEX" || XLEX
="none"
4837 if test "$XLEX" = "none"
4839 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4840 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4841 { (exit 1); exit 1; }; }
4844 for ac_prog
in bison
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy
$ac_prog; ac_word
=$2
4848 echo "$as_me:$LINENO: checking for $ac_word" >&5
4849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4850 if test "${ac_cv_prog_BISON+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 if test -n "$BISON"; then
4854 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir
=.
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_BISON
="$ac_prog"
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 BISON
=$ac_cv_prog_BISON
4873 if test -n "$BISON"; then
4874 echo "$as_me:$LINENO: result: $BISON" >&5
4875 echo "${ECHO_T}$BISON" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4881 test -n "$BISON" && break
4883 test -n "$BISON" || BISON
="none"
4885 if test "$BISON" = "none"
4887 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4888 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4889 { (exit 1); exit 1; }; }
4892 if test -n "$ac_tool_prefix"; then
4893 for ac_prog
in gas as
4895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4897 echo "$as_me:$LINENO: checking for $ac_word" >&5
4898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899 if test "${ac_cv_prog_AS+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 if test -n "$AS"; then
4903 ac_cv_prog_AS
="$AS" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 if test -n "$AS"; then
4923 echo "$as_me:$LINENO: result: $AS" >&5
4924 echo "${ECHO_T}$AS" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4930 test -n "$AS" && break
4933 if test -z "$AS"; then
4935 for ac_prog
in gas as
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy
$ac_prog; ac_word
=$2
4939 echo "$as_me:$LINENO: checking for $ac_word" >&5
4940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4941 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 if test -n "$ac_ct_AS"; then
4945 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_AS
="$ac_prog"
4955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4966 echo "${ECHO_T}$ac_ct_AS" >&6
4968 echo "$as_me:$LINENO: result: no" >&5
4969 echo "${ECHO_T}no" >&6
4972 test -n "$ac_ct_AS" && break
4974 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4981 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_LD+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$LD"; then
4988 ac_cv_prog_LD
="$LD" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 if test -n "$LD"; then
5008 echo "$as_me:$LINENO: result: $LD" >&5
5009 echo "${ECHO_T}$LD" >&6
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5016 if test -z "$ac_cv_prog_LD"; then
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld
; ac_word
=$2
5020 echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5022 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD
="ld"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5045 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5048 echo "${ECHO_T}$ac_ct_LD" >&6
5050 echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6
5059 if test -n "$ac_tool_prefix"; then
5060 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5061 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5062 echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 if test "${ac_cv_prog_AR+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -n "$AR"; then
5068 ac_cv_prog_AR
="$AR" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 if test -n "$AR"; then
5088 echo "$as_me:$LINENO: result: $AR" >&5
5089 echo "${ECHO_T}$AR" >&6
5091 echo "$as_me:$LINENO: result: no" >&5
5092 echo "${ECHO_T}no" >&6
5096 if test -z "$ac_cv_prog_AR"; then
5098 # Extract the first word of "ar", so it can be a program name with args.
5099 set dummy
ar; ac_word
=$2
5100 echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5102 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$ac_ct_AR"; then
5106 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_exec_ext
in '' $ac_executable_extensions; do
5114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_ac_ct_AR
="ar"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5125 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5126 if test -n "$ac_ct_AR"; then
5127 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5128 echo "${ECHO_T}$ac_ct_AR" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5142 echo "$as_me:$LINENO: checking for $ac_word" >&5
5143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 RANLIB
=$ac_cv_prog_RANLIB
5167 if test -n "$RANLIB"; then
5168 echo "$as_me:$LINENO: result: $RANLIB" >&5
5169 echo "${ECHO_T}$RANLIB" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5176 if test -z "$ac_cv_prog_RANLIB"; then
5177 ac_ct_RANLIB
=$RANLIB
5178 # Extract the first word of "ranlib", so it can be a program name with args.
5179 set dummy ranlib
; ac_word
=$2
5180 echo "$as_me:$LINENO: checking for $ac_word" >&5
5181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 if test -n "$ac_ct_RANLIB"; then
5186 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5205 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5206 if test -n "$ac_ct_RANLIB"; then
5207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5214 RANLIB
=$ac_ct_RANLIB
5216 RANLIB
="$ac_cv_prog_RANLIB"
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 STRIP
=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip
; ac_word
=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir
=.
5273 for ac_exec_ext
in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP
="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5285 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 STRIP
="$ac_cv_prog_STRIP"
5299 if test -n "$ac_tool_prefix"; then
5300 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5301 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5302 echo "$as_me:$LINENO: checking for $ac_word" >&5
5303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5304 if test "${ac_cv_prog_WINDRES+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 if test -n "$WINDRES"; then
5308 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 WINDRES
=$ac_cv_prog_WINDRES
5327 if test -n "$WINDRES"; then
5328 echo "$as_me:$LINENO: result: $WINDRES" >&5
5329 echo "${ECHO_T}$WINDRES" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5336 if test -z "$ac_cv_prog_WINDRES"; then
5337 ac_ct_WINDRES
=$WINDRES
5338 # Extract the first word of "windres", so it can be a program name with args.
5339 set dummy windres
; ac_word
=$2
5340 echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5342 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_WINDRES"; then
5346 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_ac_ct_WINDRES
="windres"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5365 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5366 if test -n "$ac_ct_WINDRES"; then
5367 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5368 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5374 WINDRES
=$ac_ct_WINDRES
5376 WINDRES
="$ac_cv_prog_WINDRES"
5379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5382 if test "$LN_S" = "ln -s"; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5387 echo "${ECHO_T}no, using $LN_S" >&6
5390 echo "$as_me:$LINENO: checking whether ln works" >&5
5391 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5392 rm -f conf$$ conf$$.
file
5394 if ln conf$$.
file conf$$
2>/dev
/null
; then
5397 echo "$as_me:$LINENO: result: yes" >&5
5398 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no, using $LN" >&5
5403 echo "${ECHO_T}no, using $LN" >&6
5405 rm -f conf$$ conf$$.
file
5406 echo "$as_me:$LINENO: checking for egrep" >&5
5407 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5408 if test "${ac_cv_prog_egrep+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5412 then ac_cv_prog_egrep
='grep -E'
5413 else ac_cv_prog_egrep
='egrep'
5416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5418 EGREP
=$ac_cv_prog_egrep
5421 # Extract the first word of "ldconfig", so it can be a program name with args.
5422 set dummy ldconfig
; ac_word
=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5434 for as_dir
in /sbin
/usr
/sbin
$PATH
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5451 LDCONFIG
=$ac_cv_path_LDCONFIG
5453 if test -n "$LDCONFIG"; then
5454 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5455 echo "${ECHO_T}$LDCONFIG" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5461 # Find a good install program. We prefer a C program (faster),
5462 # so one script is as good as another. But avoid the broken or
5463 # incompatible versions:
5464 # SysV /etc/install, /usr/sbin/install
5465 # SunOS /usr/etc/install
5466 # IRIX /sbin/install
5468 # AmigaOS /C/install, which installs bootblocks on floppy discs
5469 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5470 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5471 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5472 # OS/2's system install, which has a completely different semantic
5473 # ./install, which can be erroneously created by make from ./install.sh.
5474 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5475 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5476 if test -z "$INSTALL"; then
5477 if test "${ac_cv_path_install+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir
=.
5485 # Account for people who put trailing slashes in PATH elements.
5487 .
/ | .
// |
/cC
/* | \
5488 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5489 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5492 # OSF1 and SCO ODT 3.0 have their own names for install.
5493 # Don't use installbsd from OSF since it installs stuff as root
5495 for ac_prog
in ginstall scoinst
install; do
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5498 if test $ac_prog = install &&
5499 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5500 # AIX install. It has an incompatible calling convention.
5502 elif test $ac_prog = install &&
5503 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5504 # program-specific install script used by HP pwplus--don't use.
5507 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5519 if test "${ac_cv_path_install+set}" = set; then
5520 INSTALL
=$ac_cv_path_install
5522 # As a last resort, use the slow shell script. We don't cache a
5523 # path for INSTALL within a source directory, because that will
5524 # break other packages using the cache if that directory is
5525 # removed, or if the path is relative.
5526 INSTALL
=$ac_install_sh
5529 echo "$as_me:$LINENO: result: $INSTALL" >&5
5530 echo "${ECHO_T}$INSTALL" >&6
5532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5533 # It thinks the first close brace ends the variable substitution.
5534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5541 [\\/$
]* | ?
:[\\/]* ) ;;
5542 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5545 for ac_prog
in lclint lint
5547 # Extract the first word of "$ac_prog", so it can be a program name with args.
5548 set dummy
$ac_prog; ac_word
=$2
5549 echo "$as_me:$LINENO: checking for $ac_word" >&5
5550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5551 if test "${ac_cv_prog_LINT+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 if test -n "$LINT"; then
5555 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_LINT
="$ac_prog"
5565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 LINT
=$ac_cv_prog_LINT
5574 if test -n "$LINT"; then
5575 echo "$as_me:$LINENO: result: $LINT" >&5
5576 echo "${ECHO_T}$LINT" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5582 test -n "$LINT" && break
5585 if test "$LINT" = "lint"
5587 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5592 for ac_prog
in docbook2html db2html
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy
$ac_prog; ac_word
=$2
5596 echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5598 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$DB2HTML"; then
5602 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_DB2HTML
="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 DB2HTML
=$ac_cv_prog_DB2HTML
5621 if test -n "$DB2HTML"; then
5622 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5623 echo "${ECHO_T}$DB2HTML" >&6
5625 echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6
5629 test -n "$DB2HTML" && break
5631 test -n "$DB2HTML" || DB2HTML
="false"
5633 for ac_prog
in docbook2pdf db2pdf
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy
$ac_prog; ac_word
=$2
5637 echo "$as_me:$LINENO: checking for $ac_word" >&5
5638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5639 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 if test -n "$DB2PDF"; then
5643 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir
=.
5650 for ac_exec_ext
in '' $ac_executable_extensions; do
5651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_DB2PDF
="$ac_prog"
5653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 DB2PDF
=$ac_cv_prog_DB2PDF
5662 if test -n "$DB2PDF"; then
5663 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5664 echo "${ECHO_T}$DB2PDF" >&6
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5670 test -n "$DB2PDF" && break
5672 test -n "$DB2PDF" || DB2PDF
="false"
5674 for ac_prog
in docbook2ps db2ps
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy
$ac_prog; ac_word
=$2
5678 echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5680 if test "${ac_cv_prog_DB2PS+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$DB2PS"; then
5684 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_DB2PS
="$ac_prog"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 DB2PS
=$ac_cv_prog_DB2PS
5703 if test -n "$DB2PS"; then
5704 echo "$as_me:$LINENO: result: $DB2PS" >&5
5705 echo "${ECHO_T}$DB2PS" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5711 test -n "$DB2PS" && break
5713 test -n "$DB2PS" || DB2PS
="false"
5715 for ac_prog
in docbook2txt db2txt
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy
$ac_prog; ac_word
=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$DB2TXT"; then
5725 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir
=.
5732 for ac_exec_ext
in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_DB2TXT
="$ac_prog"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 DB2TXT
=$ac_cv_prog_DB2TXT
5744 if test -n "$DB2TXT"; then
5745 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5746 echo "${ECHO_T}$DB2TXT" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5752 test -n "$DB2TXT" && break
5754 test -n "$DB2TXT" || DB2TXT
="false"
5756 for ac_prog
in fontforge
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy
$ac_prog; ac_word
=$2
5760 echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5762 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$FONTFORGE"; then
5766 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_FONTFORGE
="$ac_prog"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 FONTFORGE
=$ac_cv_prog_FONTFORGE
5785 if test -n "$FONTFORGE"; then
5786 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5787 echo "${ECHO_T}$FONTFORGE" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 test -n "$FONTFORGE" && break
5795 test -n "$FONTFORGE" || FONTFORGE
="false"
5800 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5801 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5802 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_check_lib_save_LIBS
=$LIBS
5807 cat >conftest.
$ac_ext <<_ACEOF
5810 cat confdefs.h
>>conftest.
$ac_ext
5811 cat >>conftest.
$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 /* Override any gcc2 internal prototype to avoid an error. */
5818 /* We use char because int might match the return type of a gcc2
5819 builtin and then its argument prototype would still apply. */
5820 char i386_set_ldt ();
5829 rm -f conftest.
$ac_objext conftest
$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; } &&
5844 { ac_try
='test -s conftest$ac_exeext'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; }; then
5850 ac_cv_lib_i386_i386_set_ldt
=yes
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.
$ac_ext >&5
5855 ac_cv_lib_i386_i386_set_ldt
=no
5857 rm -f conftest.err conftest.
$ac_objext \
5858 conftest
$ac_exeext conftest.
$ac_ext
5859 LIBS
=$ac_check_lib_save_LIBS
5861 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5862 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5863 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5864 cat >>confdefs.h
<<_ACEOF
5865 #define HAVE_LIBI386 1
5873 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5874 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5875 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_check_lib_save_LIBS
=$LIBS
5879 LIBS
="-lossaudio $LIBS"
5880 cat >conftest.
$ac_ext <<_ACEOF
5883 cat confdefs.h
>>conftest.
$ac_ext
5884 cat >>conftest.
$ac_ext <<_ACEOF
5885 /* end confdefs.h. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5891 /* We use char because int might match the return type of a gcc2
5892 builtin and then its argument prototype would still apply. */
5902 rm -f conftest.
$ac_objext conftest
$ac_exeext
5903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904 (eval $ac_link) 2>conftest.er1
5906 grep -v '^ *+' conftest.er1
>conftest.err
5908 cat conftest.err
>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } &&
5911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try
='test -s conftest$ac_exeext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; }; then
5923 ac_cv_lib_ossaudio__oss_ioctl
=yes
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.
$ac_ext >&5
5928 ac_cv_lib_ossaudio__oss_ioctl
=no
5930 rm -f conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5932 LIBS
=$ac_check_lib_save_LIBS
5934 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5935 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5936 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5937 cat >>confdefs.h
<<_ACEOF
5938 #define HAVE_LIBOSSAUDIO 1
5941 LIBS
="-lossaudio $LIBS"
5946 for ac_func
in iswalnum
5948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5949 echo "$as_me:$LINENO: checking for $ac_func" >&5
5950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5951 if eval "test \"\${$as_ac_var+set}\" = set"; then
5952 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 cat >conftest.
$ac_ext <<_ACEOF
5957 cat confdefs.h
>>conftest.
$ac_ext
5958 cat >>conftest.
$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5962 #define $ac_func innocuous_$ac_func
5964 /* System header to define __stub macros and hopefully few prototypes,
5965 which can conflict with char $ac_func (); below.
5966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5967 <limits.h> exists even on freestanding compilers. */
5970 # include <limits.h>
5972 # include <assert.h>
5977 /* Override any gcc2 internal prototype to avoid an error. */
5982 /* We use char because int might match the return type of a gcc2
5983 builtin and then its argument prototype would still apply. */
5985 /* The GNU C library defines this for functions which it implements
5986 to always fail with ENOSYS. Some functions are actually named
5987 something starting with __ and the normal name is an alias. */
5988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5991 char (*f) () = $ac_func;
6000 return f != $ac_func;
6005 rm -f conftest.
$ac_objext conftest
$ac_exeext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6007 (eval $ac_link) 2>conftest.er1
6009 grep -v '^ *+' conftest.er1
>conftest.err
6011 cat conftest.err
>&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } &&
6014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try
='test -s conftest$ac_exeext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 eval "$as_ac_var=yes"
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 eval "$as_ac_var=no"
6033 rm -f conftest.err conftest.
$ac_objext \
6034 conftest
$ac_exeext conftest.
$ac_ext
6036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6038 if test `eval echo '${'$as_ac_var'}'` = yes; then
6039 cat >>confdefs.h
<<_ACEOF
6040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6045 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6046 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6047 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 ac_check_lib_save_LIBS
=$LIBS
6052 cat >conftest.
$ac_ext <<_ACEOF
6055 cat confdefs.h
>>conftest.
$ac_ext
6056 cat >>conftest.
$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6059 /* Override any gcc2 internal prototype to avoid an error. */
6063 /* We use char because int might match the return type of a gcc2
6064 builtin and then its argument prototype would still apply. */
6074 rm -f conftest.
$ac_objext conftest
$ac_exeext
6075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6076 (eval $ac_link) 2>conftest.er1
6078 grep -v '^ *+' conftest.er1
>conftest.err
6080 cat conftest.err
>&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try
='test -s conftest$ac_exeext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 ac_cv_lib_w_iswalnum
=yes
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.
$ac_ext >&5
6100 ac_cv_lib_w_iswalnum
=no
6102 rm -f conftest.err conftest.
$ac_objext \
6103 conftest
$ac_exeext conftest.
$ac_ext
6104 LIBS
=$ac_check_lib_save_LIBS
6106 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6107 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6108 if test $ac_cv_lib_w_iswalnum = yes; then
6109 cat >>confdefs.h
<<_ACEOF
6121 for ac_func
in gethostbyname
6123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6124 echo "$as_me:$LINENO: checking for $ac_func" >&5
6125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6126 if eval "test \"\${$as_ac_var+set}\" = set"; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 cat >conftest.
$ac_ext <<_ACEOF
6132 cat confdefs.h
>>conftest.
$ac_ext
6133 cat >>conftest.
$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6137 #define $ac_func innocuous_$ac_func
6139 /* System header to define __stub macros and hopefully few prototypes,
6140 which can conflict with char $ac_func (); below.
6141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6142 <limits.h> exists even on freestanding compilers. */
6145 # include <limits.h>
6147 # include <assert.h>
6152 /* Override any gcc2 internal prototype to avoid an error. */
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6160 /* The GNU C library defines this for functions which it implements
6161 to always fail with ENOSYS. Some functions are actually named
6162 something starting with __ and the normal name is an alias. */
6163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6166 char (*f) () = $ac_func;
6175 return f != $ac_func;
6180 rm -f conftest.
$ac_objext conftest
$ac_exeext
6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6182 (eval $ac_link) 2>conftest.er1
6184 grep -v '^ *+' conftest.er1
>conftest.err
6186 cat conftest.err
>&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } &&
6189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); }; } &&
6195 { ac_try
='test -s conftest$ac_exeext'
6196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); }; }; then
6201 eval "$as_ac_var=yes"
6203 echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.
$ac_ext >&5
6206 eval "$as_ac_var=no"
6208 rm -f conftest.err conftest.
$ac_objext \
6209 conftest
$ac_exeext conftest.
$ac_ext
6211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6213 if test `eval echo '${'$as_ac_var'}'` = yes; then
6214 cat >>confdefs.h
<<_ACEOF
6215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6220 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6221 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6222 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 ac_check_lib_save_LIBS
=$LIBS
6227 cat >conftest.
$ac_ext <<_ACEOF
6230 cat confdefs.h
>>conftest.
$ac_ext
6231 cat >>conftest.
$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6234 /* Override any gcc2 internal prototype to avoid an error. */
6238 /* We use char because int might match the return type of a gcc2
6239 builtin and then its argument prototype would still apply. */
6240 char gethostbyname ();
6249 rm -f conftest.
$ac_objext conftest
$ac_exeext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6251 (eval $ac_link) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1
>conftest.err
6255 cat conftest.err
>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try
='test -s conftest$ac_exeext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 ac_cv_lib_nsl_gethostbyname
=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.
$ac_ext >&5
6275 ac_cv_lib_nsl_gethostbyname
=no
6277 rm -f conftest.err conftest.
$ac_objext \
6278 conftest
$ac_exeext conftest.
$ac_ext
6279 LIBS
=$ac_check_lib_save_LIBS
6281 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6284 cat >>confdefs.h
<<_ACEOF
6285 #define HAVE_LIBNSL 1
6296 for ac_func
in connect
6298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6299 echo "$as_me:$LINENO: checking for $ac_func" >&5
6300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6301 if eval "test \"\${$as_ac_var+set}\" = set"; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.
$ac_ext <<_ACEOF
6307 cat confdefs.h
>>conftest.
$ac_ext
6308 cat >>conftest.
$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6312 #define $ac_func innocuous_$ac_func
6314 /* System header to define __stub macros and hopefully few prototypes,
6315 which can conflict with char $ac_func (); below.
6316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 <limits.h> exists even on freestanding compilers. */
6320 # include <limits.h>
6322 # include <assert.h>
6327 /* Override any gcc2 internal prototype to avoid an error. */
6332 /* We use char because int might match the return type of a gcc2
6333 builtin and then its argument prototype would still apply. */
6335 /* The GNU C library defines this for functions which it implements
6336 to always fail with ENOSYS. Some functions are actually named
6337 something starting with __ and the normal name is an alias. */
6338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6341 char (*f) () = $ac_func;
6350 return f != $ac_func;
6355 rm -f conftest.
$ac_objext conftest
$ac_exeext
6356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6357 (eval $ac_link) 2>conftest.er1
6359 grep -v '^ *+' conftest.er1
>conftest.err
6361 cat conftest.err
>&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } &&
6364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; } &&
6370 { ac_try
='test -s conftest$ac_exeext'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then
6376 eval "$as_ac_var=yes"
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.
$ac_ext >&5
6381 eval "$as_ac_var=no"
6383 rm -f conftest.err conftest.
$ac_objext \
6384 conftest
$ac_exeext conftest.
$ac_ext
6386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6388 if test `eval echo '${'$as_ac_var'}'` = yes; then
6389 cat >>confdefs.h
<<_ACEOF
6390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6395 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6396 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6397 if test "${ac_cv_lib_socket_connect+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 ac_check_lib_save_LIBS
=$LIBS
6401 LIBS
="-lsocket $LIBS"
6402 cat >conftest.
$ac_ext <<_ACEOF
6405 cat confdefs.h
>>conftest.
$ac_ext
6406 cat >>conftest.
$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6409 /* Override any gcc2 internal prototype to avoid an error. */
6413 /* We use char because int might match the return type of a gcc2
6414 builtin and then its argument prototype would still apply. */
6424 rm -f conftest.
$ac_objext conftest
$ac_exeext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6426 (eval $ac_link) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1
>conftest.err
6430 cat conftest.err
>&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } &&
6433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; } &&
6439 { ac_try
='test -s conftest$ac_exeext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_lib_socket_connect
=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.
$ac_ext >&5
6450 ac_cv_lib_socket_connect
=no
6452 rm -f conftest.err conftest.
$ac_objext \
6453 conftest
$ac_exeext conftest.
$ac_ext
6454 LIBS
=$ac_check_lib_save_LIBS
6456 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6457 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6458 if test $ac_cv_lib_socket_connect = yes; then
6459 cat >>confdefs.h
<<_ACEOF
6460 #define HAVE_LIBSOCKET 1
6463 LIBS
="-lsocket $LIBS"
6471 for ac_func
in inet_aton
6473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6474 echo "$as_me:$LINENO: checking for $ac_func" >&5
6475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6476 if eval "test \"\${$as_ac_var+set}\" = set"; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6487 #define $ac_func innocuous_$ac_func
6489 /* System header to define __stub macros and hopefully few prototypes,
6490 which can conflict with char $ac_func (); below.
6491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6492 <limits.h> exists even on freestanding compilers. */
6495 # include <limits.h>
6497 # include <assert.h>
6502 /* Override any gcc2 internal prototype to avoid an error. */
6507 /* We use char because int might match the return type of a gcc2
6508 builtin and then its argument prototype would still apply. */
6510 /* The GNU C library defines this for functions which it implements
6511 to always fail with ENOSYS. Some functions are actually named
6512 something starting with __ and the normal name is an alias. */
6513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6516 char (*f) () = $ac_func;
6525 return f != $ac_func;
6530 rm -f conftest.
$ac_objext conftest
$ac_exeext
6531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6532 (eval $ac_link) 2>conftest.er1
6534 grep -v '^ *+' conftest.er1
>conftest.err
6536 cat conftest.err
>&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try
='test -s conftest$ac_exeext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 eval "$as_ac_var=yes"
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6556 eval "$as_ac_var=no"
6558 rm -f conftest.err conftest.
$ac_objext \
6559 conftest
$ac_exeext conftest.
$ac_ext
6561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6563 if test `eval echo '${'$as_ac_var'}'` = yes; then
6564 cat >>confdefs.h
<<_ACEOF
6565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6570 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6571 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6572 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_check_lib_save_LIBS
=$LIBS
6576 LIBS
="-lresolv $LIBS"
6577 cat >conftest.
$ac_ext <<_ACEOF
6580 cat confdefs.h
>>conftest.
$ac_ext
6581 cat >>conftest.
$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6584 /* Override any gcc2 internal prototype to avoid an error. */
6588 /* We use char because int might match the return type of a gcc2
6589 builtin and then its argument prototype would still apply. */
6599 rm -f conftest.
$ac_objext conftest
$ac_exeext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6601 (eval $ac_link) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1
>conftest.err
6605 cat conftest.err
>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; } &&
6614 { ac_try
='test -s conftest$ac_exeext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 ac_cv_lib_resolv_inet_aton
=yes
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.
$ac_ext >&5
6625 ac_cv_lib_resolv_inet_aton
=no
6627 rm -f conftest.err conftest.
$ac_objext \
6628 conftest
$ac_exeext conftest.
$ac_ext
6629 LIBS
=$ac_check_lib_save_LIBS
6631 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6632 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6633 if test $ac_cv_lib_resolv_inet_aton = yes; then
6634 cat >>confdefs.h
<<_ACEOF
6635 #define HAVE_LIBRESOLV 1
6638 LIBS
="-lresolv $LIBS"
6646 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6647 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6648 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 ac_check_lib_save_LIBS
=$LIBS
6653 cat >conftest.
$ac_ext <<_ACEOF
6656 cat confdefs.h
>>conftest.
$ac_ext
6657 cat >>conftest.
$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6660 /* Override any gcc2 internal prototype to avoid an error. */
6664 /* We use char because int might match the return type of a gcc2
6665 builtin and then its argument prototype would still apply. */
6666 char _xpg4_setrunelocale ();
6670 _xpg4_setrunelocale ();
6675 rm -f conftest.
$ac_objext conftest
$ac_exeext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677 (eval $ac_link) 2>conftest.er1
6679 grep -v '^ *+' conftest.er1
>conftest.err
6681 cat conftest.err
>&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; } &&
6690 { ac_try
='test -s conftest$ac_exeext'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6696 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.
$ac_ext >&5
6701 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6703 rm -f conftest.err conftest.
$ac_objext \
6704 conftest
$ac_exeext conftest.
$ac_ext
6705 LIBS
=$ac_check_lib_save_LIBS
6707 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6708 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6709 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6710 cat >>confdefs.h
<<_ACEOF
6711 #define HAVE_LIBXPG4 1
6719 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6720 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6721 if test "${ac_cv_lib_poll_poll+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 ac_check_lib_save_LIBS
=$LIBS
6726 cat >conftest.
$ac_ext <<_ACEOF
6729 cat confdefs.h
>>conftest.
$ac_ext
6730 cat >>conftest.
$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6733 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6748 rm -f conftest.
$ac_objext conftest
$ac_exeext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6750 (eval $ac_link) 2>conftest.er1
6752 grep -v '^ *+' conftest.er1
>conftest.err
6754 cat conftest.err
>&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try
='test -s conftest$ac_exeext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_cv_lib_poll_poll
=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.
$ac_ext >&5
6774 ac_cv_lib_poll_poll
=no
6776 rm -f conftest.err conftest.
$ac_objext \
6777 conftest
$ac_exeext conftest.
$ac_ext
6778 LIBS
=$ac_check_lib_save_LIBS
6780 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6781 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6782 if test $ac_cv_lib_poll_poll = yes; then
6783 cat >>confdefs.h
<<_ACEOF
6784 #define HAVE_LIBPOLL 1
6792 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6793 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6794 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_check_lib_save_LIBS
=$LIBS
6798 LIBS
="-lresolv $LIBS"
6799 cat >conftest.
$ac_ext <<_ACEOF
6802 cat confdefs.h
>>conftest.
$ac_ext
6803 cat >>conftest.
$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6806 /* Override any gcc2 internal prototype to avoid an error. */
6810 /* We use char because int might match the return type of a gcc2
6811 builtin and then its argument prototype would still apply. */
6821 rm -f conftest.
$ac_objext conftest
$ac_exeext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6823 (eval $ac_link) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1
>conftest.err
6827 cat conftest.err
>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; } &&
6836 { ac_try
='test -s conftest$ac_exeext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_lib_resolv_res_9_init
=yes
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.
$ac_ext >&5
6847 ac_cv_lib_resolv_res_9_init
=no
6849 rm -f conftest.err conftest.
$ac_objext \
6850 conftest
$ac_exeext conftest.
$ac_ext
6851 LIBS
=$ac_check_lib_save_LIBS
6853 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6854 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6855 if test $ac_cv_lib_resolv_res_9_init = yes; then
6856 cat >>confdefs.h
<<_ACEOF
6857 #define HAVE_LIBRESOLV 1
6860 LIBS
="-lresolv $LIBS"
6864 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6865 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6866 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 ac_check_lib_save_LIBS
=$LIBS
6870 LIBS
="-lpthread $LIBS"
6871 cat >conftest.
$ac_ext <<_ACEOF
6874 cat confdefs.h
>>conftest.
$ac_ext
6875 cat >>conftest.
$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6878 /* Override any gcc2 internal prototype to avoid an error. */
6882 /* We use char because int might match the return type of a gcc2
6883 builtin and then its argument prototype would still apply. */
6884 char pthread_create ();
6893 rm -f conftest.
$ac_objext conftest
$ac_exeext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try
='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_lib_pthread_pthread_create
=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.
$ac_ext >&5
6919 ac_cv_lib_pthread_pthread_create
=no
6921 rm -f conftest.err conftest.
$ac_objext \
6922 conftest
$ac_exeext conftest.
$ac_ext
6923 LIBS
=$ac_check_lib_save_LIBS
6925 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6926 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6927 if test $ac_cv_lib_pthread_pthread_create = yes; then
6928 LIBPTHREAD
="-lpthread"
6942 if test "$have_x" = "yes"
6945 ac_save_CPPFLAGS
="$CPPFLAGS"
6946 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
6948 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6949 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6950 if test "${ac_cv_header_stdc+set}" = set; then
6951 echo $ECHO_N "(cached) $ECHO_C" >&6
6953 cat >conftest.
$ac_ext <<_ACEOF
6956 cat confdefs.h
>>conftest.
$ac_ext
6957 cat >>conftest.
$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6972 rm -f conftest.
$ac_objext
6973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6974 (eval $ac_compile) 2>conftest.er1
6976 grep -v '^ *+' conftest.er1
>conftest.err
6978 cat conftest.err
>&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); } &&
6981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; } &&
6987 { ac_try
='test -s conftest.$ac_objext'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; }; then
6993 ac_cv_header_stdc
=yes
6995 echo "$as_me: failed program was:" >&5
6996 sed 's/^/| /' conftest.
$ac_ext >&5
6998 ac_cv_header_stdc
=no
7000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7002 if test $ac_cv_header_stdc = yes; then
7003 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7004 cat >conftest.
$ac_ext <<_ACEOF
7007 cat confdefs.h
>>conftest.
$ac_ext
7008 cat >>conftest.
$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7014 $EGREP "memchr" >/dev
/null
2>&1; then
7017 ac_cv_header_stdc
=no
7023 if test $ac_cv_header_stdc = yes; then
7024 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7025 cat >conftest.
$ac_ext <<_ACEOF
7028 cat confdefs.h
>>conftest.
$ac_ext
7029 cat >>conftest.
$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7035 $EGREP "free" >/dev
/null
2>&1; then
7038 ac_cv_header_stdc
=no
7044 if test $ac_cv_header_stdc = yes; then
7045 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7046 if test "$cross_compiling" = yes; then
7049 cat >conftest.
$ac_ext <<_ACEOF
7052 cat confdefs.h
>>conftest.
$ac_ext
7053 cat >>conftest.
$ac_ext <<_ACEOF
7054 /* end confdefs.h. */
7056 #if ((' ' & 0x0FF) == 0x020)
7057 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7058 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7060 # define ISLOWER(c) \
7061 (('a' <= (c) && (c) <= 'i') \
7062 || ('j' <= (c) && (c) <= 'r') \
7063 || ('s' <= (c) && (c) <= 'z'))
7064 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7067 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7072 for (i = 0; i < 256; i++)
7073 if (XOR (islower (i), ISLOWER (i))
7074 || toupper (i) != TOUPPER (i))
7079 rm -f conftest
$ac_exeext
7080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7081 (eval $ac_link) 2>&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); }; }; then
7092 echo "$as_me: program exited with status $ac_status" >&5
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.
$ac_ext >&5
7097 ac_cv_header_stdc
=no
7099 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7103 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7104 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7105 if test $ac_cv_header_stdc = yes; then
7107 cat >>confdefs.h
<<\_ACEOF
7108 #define STDC_HEADERS 1
7113 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7123 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7124 inttypes.h stdint.h unistd.h
7126 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 echo "$as_me:$LINENO: checking for $ac_header" >&5
7128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 cat >conftest.
$ac_ext <<_ACEOF
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 $ac_includes_default
7140 #include <$ac_header>
7142 rm -f conftest.
$ac_objext
7143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7144 (eval $ac_compile) 2>conftest.er1
7146 grep -v '^ *+' conftest.er1
>conftest.err
7148 cat conftest.err
>&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } &&
7151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; } &&
7157 { ac_try
='test -s conftest.$ac_objext'
7158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); }; }; then
7163 eval "$as_ac_Header=yes"
7165 echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.
$ac_ext >&5
7168 eval "$as_ac_Header=no"
7170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7175 cat >>confdefs.h
<<_ACEOF
7176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7185 for ac_header
in X11
/Xlib.h
7187 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7189 echo "$as_me:$LINENO: checking for $ac_header" >&5
7190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7197 # Is the header compilable?
7198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7200 cat >conftest.
$ac_ext <<_ACEOF
7203 cat confdefs.h
>>conftest.
$ac_ext
7204 cat >>conftest.
$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 $ac_includes_default
7207 #include <$ac_header>
7209 rm -f conftest.
$ac_objext
7210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7211 (eval $ac_compile) 2>conftest.er1
7213 grep -v '^ *+' conftest.er1
>conftest.err
7215 cat conftest.err
>&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } &&
7218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; } &&
7224 { ac_try
='test -s conftest.$ac_objext'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; }; then
7230 ac_header_compiler
=yes
7232 echo "$as_me: failed program was:" >&5
7233 sed 's/^/| /' conftest.
$ac_ext >&5
7235 ac_header_compiler
=no
7237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7239 echo "${ECHO_T}$ac_header_compiler" >&6
7241 # Is the header present?
7242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7244 cat >conftest.
$ac_ext <<_ACEOF
7247 cat confdefs.h
>>conftest.
$ac_ext
7248 cat >>conftest.
$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 #include <$ac_header>
7252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7255 grep -v '^ *+' conftest.er1
>conftest.err
7257 cat conftest.err
>&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } >/dev
/null
; then
7260 if test -s conftest.err
; then
7261 ac_cpp_err
=$ac_c_preproc_warn_flag
7262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7269 if test -z "$ac_cpp_err"; then
7270 ac_header_preproc
=yes
7272 echo "$as_me: failed program was:" >&5
7273 sed 's/^/| /' conftest.
$ac_ext >&5
7275 ac_header_preproc
=no
7277 rm -f conftest.err conftest.
$ac_ext
7278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7279 echo "${ECHO_T}$ac_header_preproc" >&6
7281 # So? What about this header?
7282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7288 ac_header_preproc
=yes
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7305 ## ------------------------------------ ##
7306 ## Report this to wine-devel@winehq.org ##
7307 ## ------------------------------------ ##
7310 sed "s/^/$as_me: WARNING: /" >&2
7313 echo "$as_me:$LINENO: checking for $ac_header" >&5
7314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7316 echo $ECHO_N "(cached) $ECHO_C" >&6
7318 eval "$as_ac_Header=\$ac_header_preproc"
7320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7325 cat >>confdefs.h
<<_ACEOF
7326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 for ac_header
in X11
/XKBlib.h \
7341 X11
/extensions
/shape.h \
7342 X11
/extensions
/XInput.h \
7343 X11
/extensions
/XShm.h \
7344 X11
/extensions
/Xrandr.h \
7345 X11
/extensions
/Xrender.h \
7346 X11
/extensions
/Xvlib.h \
7347 X11
/extensions
/xf86dga.h \
7348 X11
/extensions
/xf86vmode.h
7350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 cat >conftest.
$ac_ext <<_ACEOF
7359 cat confdefs.h
>>conftest.
$ac_ext
7360 cat >>conftest.
$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 #include <X11/Xlib.h>
7363 #ifdef HAVE_X11_XUTIL_H
7364 # include <X11/Xutil.h>
7367 #include <$ac_header>
7369 rm -f conftest.
$ac_objext
7370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>conftest.er1
7373 grep -v '^ *+' conftest.er1
>conftest.err
7375 cat conftest.err
>&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try
='test -s conftest.$ac_objext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 eval "$as_ac_Header=yes"
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.
$ac_ext >&5
7395 eval "$as_ac_Header=no"
7397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7402 cat >>confdefs.h
<<_ACEOF
7403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7411 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7413 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7414 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7415 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 ac_check_lib_save_LIBS
=$LIBS
7419 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7420 cat >conftest.
$ac_ext <<_ACEOF
7423 cat confdefs.h
>>conftest.
$ac_ext
7424 cat >>conftest.
$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7427 /* Override any gcc2 internal prototype to avoid an error. */
7431 /* We use char because int might match the return type of a gcc2
7432 builtin and then its argument prototype would still apply. */
7433 char XkbQueryExtension ();
7437 XkbQueryExtension ();
7442 rm -f conftest.
$ac_objext conftest
$ac_exeext
7443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7444 (eval $ac_link) 2>conftest.er1
7446 grep -v '^ *+' conftest.er1
>conftest.err
7448 cat conftest.err
>&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); } &&
7451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; } &&
7457 { ac_try
='test -s conftest$ac_exeext'
7458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; }; then
7463 ac_cv_lib_X11_XkbQueryExtension
=yes
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.
$ac_ext >&5
7468 ac_cv_lib_X11_XkbQueryExtension
=no
7470 rm -f conftest.err conftest.
$ac_objext \
7471 conftest
$ac_exeext conftest.
$ac_ext
7472 LIBS
=$ac_check_lib_save_LIBS
7474 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7475 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7476 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7478 cat >>confdefs.h
<<\_ACEOF
7486 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7488 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7489 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7490 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 ac_check_lib_save_LIBS
=$LIBS
7494 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7495 cat >conftest.
$ac_ext <<_ACEOF
7498 cat confdefs.h
>>conftest.
$ac_ext
7499 cat >>conftest.
$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7502 /* Override any gcc2 internal prototype to avoid an error. */
7506 /* We use char because int might match the return type of a gcc2
7507 builtin and then its argument prototype would still apply. */
7508 char XShmQueryExtension ();
7512 XShmQueryExtension ();
7517 rm -f conftest.
$ac_objext conftest
$ac_exeext
7518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7519 (eval $ac_link) 2>conftest.er1
7521 grep -v '^ *+' conftest.er1
>conftest.err
7523 cat conftest.err
>&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } &&
7526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); }; } &&
7532 { ac_try
='test -s conftest$ac_exeext'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; }; then
7538 ac_cv_lib_Xext_XShmQueryExtension
=yes
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.
$ac_ext >&5
7543 ac_cv_lib_Xext_XShmQueryExtension
=no
7545 rm -f conftest.err conftest.
$ac_objext \
7546 conftest
$ac_exeext conftest.
$ac_ext
7547 LIBS
=$ac_check_lib_save_LIBS
7549 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7550 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7551 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7553 cat >>confdefs.h
<<\_ACEOF
7554 #define HAVE_LIBXXSHM 1
7561 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7563 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7564 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7565 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 ac_check_lib_save_LIBS
=$LIBS
7569 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7570 cat >conftest.
$ac_ext <<_ACEOF
7573 cat confdefs.h
>>conftest.
$ac_ext
7574 cat >>conftest.
$ac_ext <<_ACEOF
7575 /* end confdefs.h. */
7577 /* Override any gcc2 internal prototype to avoid an error. */
7581 /* We use char because int might match the return type of a gcc2
7582 builtin and then its argument prototype would still apply. */
7583 char XShapeQueryExtension ();
7587 XShapeQueryExtension ();
7592 rm -f conftest.
$ac_objext conftest
$ac_exeext
7593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7594 (eval $ac_link) 2>conftest.er1
7596 grep -v '^ *+' conftest.er1
>conftest.err
7598 cat conftest.err
>&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); }; } &&
7607 { ac_try
='test -s conftest$ac_exeext'
7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); }; }; then
7613 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7615 echo "$as_me: failed program was:" >&5
7616 sed 's/^/| /' conftest.
$ac_ext >&5
7618 ac_cv_lib_Xext_XShapeQueryExtension
=no
7620 rm -f conftest.err conftest.
$ac_objext \
7621 conftest
$ac_exeext conftest.
$ac_ext
7622 LIBS
=$ac_check_lib_save_LIBS
7624 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7625 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7626 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7628 cat >>confdefs.h
<<\_ACEOF
7629 #define HAVE_LIBXSHAPE 1
7636 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7638 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7639 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7640 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 ac_check_lib_save_LIBS
=$LIBS
7644 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7645 cat >conftest.
$ac_ext <<_ACEOF
7648 cat confdefs.h
>>conftest.
$ac_ext
7649 cat >>conftest.
$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7652 /* Override any gcc2 internal prototype to avoid an error. */
7656 /* We use char because int might match the return type of a gcc2
7657 builtin and then its argument prototype would still apply. */
7658 char XDGAQueryExtension ();
7662 XDGAQueryExtension ();
7667 rm -f conftest.
$ac_objext conftest
$ac_exeext
7668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7669 (eval $ac_link) 2>conftest.er1
7671 grep -v '^ *+' conftest.er1
>conftest.err
7673 cat conftest.err
>&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } &&
7676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); }; } &&
7682 { ac_try
='test -s conftest$ac_exeext'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7688 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7690 echo "$as_me: failed program was:" >&5
7691 sed 's/^/| /' conftest.
$ac_ext >&5
7693 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7695 rm -f conftest.err conftest.
$ac_objext \
7696 conftest
$ac_exeext conftest.
$ac_ext
7697 LIBS
=$ac_check_lib_save_LIBS
7699 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7700 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7701 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7703 cat >>confdefs.h
<<\_ACEOF
7704 #define HAVE_LIBXXF86DGA2 1
7707 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7710 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7711 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7712 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7713 echo $ECHO_N "(cached) $ECHO_C" >&6
7715 ac_check_lib_save_LIBS
=$LIBS
7716 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7718 cat >conftest.
$ac_ext <<_ACEOF
7721 cat confdefs.h
>>conftest.
$ac_ext
7722 cat >>conftest.
$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7725 /* Override any gcc2 internal prototype to avoid an error. */
7729 /* We use char because int might match the return type of a gcc2
7730 builtin and then its argument prototype would still apply. */
7731 char XF86DGAQueryExtension ();
7735 XF86DGAQueryExtension ();
7740 rm -f conftest.
$ac_objext conftest
$ac_exeext
7741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7742 (eval $ac_link) 2>conftest.er1
7744 grep -v '^ *+' conftest.er1
>conftest.err
7746 cat conftest.err
>&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } &&
7749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 (exit $ac_status); }; } &&
7755 { ac_try
='test -s conftest$ac_exeext'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; }; then
7761 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
7763 echo "$as_me: failed program was:" >&5
7764 sed 's/^/| /' conftest.
$ac_ext >&5
7766 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
7768 rm -f conftest.err conftest.
$ac_objext \
7769 conftest
$ac_exeext conftest.
$ac_ext
7770 LIBS
=$ac_check_lib_save_LIBS
7772 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7773 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7774 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7776 cat >>confdefs.h
<<\_ACEOF
7777 #define HAVE_LIBXXF86DGA 1
7780 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7789 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7791 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7792 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7793 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 ac_check_lib_save_LIBS
=$LIBS
7797 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7798 cat >conftest.
$ac_ext <<_ACEOF
7801 cat confdefs.h
>>conftest.
$ac_ext
7802 cat >>conftest.
$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7805 /* Override any gcc2 internal prototype to avoid an error. */
7809 /* We use char because int might match the return type of a gcc2
7810 builtin and then its argument prototype would still apply. */
7811 char XF86VidModeQueryExtension ();
7815 XF86VidModeQueryExtension ();
7820 rm -f conftest.
$ac_objext conftest
$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>conftest.er1
7824 grep -v '^ *+' conftest.er1
>conftest.err
7826 cat conftest.err
>&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); } &&
7829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); }; } &&
7835 { ac_try
='test -s conftest$ac_exeext'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; }; then
7841 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.
$ac_ext >&5
7846 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7848 rm -f conftest.err conftest.
$ac_objext \
7849 conftest
$ac_exeext conftest.
$ac_ext
7850 LIBS
=$ac_check_lib_save_LIBS
7852 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7853 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7854 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7856 cat >>confdefs.h
<<\_ACEOF
7857 #define HAVE_LIBXXF86VM 1
7860 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7866 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7868 cat >conftest.
$ac_ext <<_ACEOF
7871 cat confdefs.h
>>conftest.
$ac_ext
7872 cat >>conftest.
$ac_ext <<_ACEOF
7873 /* end confdefs.h. */
7874 #include <X11/Xlib.h>
7875 #include <X11/extensions/Xrandr.h>
7879 static typeof(XRRSetScreenConfigAndRate) * func;
7884 rm -f conftest.
$ac_objext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7886 (eval $ac_compile) 2>conftest.er1
7888 grep -v '^ *+' conftest.er1
>conftest.err
7890 cat conftest.err
>&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } &&
7893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); }; } &&
7899 { ac_try
='test -s conftest.$ac_objext'
7900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }; }; then
7906 cat >>confdefs.h
<<\_ACEOF
7907 #define HAVE_LIBXRANDR 1
7911 echo "$as_me: failed program was:" >&5
7912 sed 's/^/| /' conftest.
$ac_ext >&5
7915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7918 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
7920 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7921 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7922 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 ac_check_lib_save_LIBS
=$LIBS
7926 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7927 cat >conftest.
$ac_ext <<_ACEOF
7930 cat confdefs.h
>>conftest.
$ac_ext
7931 cat >>conftest.
$ac_ext <<_ACEOF
7932 /* end confdefs.h. */
7934 /* Override any gcc2 internal prototype to avoid an error. */
7938 /* We use char because int might match the return type of a gcc2
7939 builtin and then its argument prototype would still apply. */
7940 char XvShmCreateImage ();
7944 XvShmCreateImage ();
7949 rm -f conftest.
$ac_objext conftest
$ac_exeext
7950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7951 (eval $ac_link) 2>conftest.er1
7953 grep -v '^ *+' conftest.er1
>conftest.err
7955 cat conftest.err
>&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } &&
7958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; } &&
7964 { ac_try
='test -s conftest$ac_exeext'
7965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); }; }; then
7970 ac_cv_lib_Xv_XvShmCreateImage
=yes
7972 echo "$as_me: failed program was:" >&5
7973 sed 's/^/| /' conftest.
$ac_ext >&5
7975 ac_cv_lib_Xv_XvShmCreateImage
=no
7977 rm -f conftest.err conftest.
$ac_objext \
7978 conftest
$ac_exeext conftest.
$ac_ext
7979 LIBS
=$ac_check_lib_save_LIBS
7981 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7982 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7983 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7985 cat >>confdefs.h
<<\_ACEOF
7986 #define HAVE_XVIDEO 1
7989 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8000 if test "x$with_opengl" != "xno"
8002 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8004 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8005 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8006 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8007 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8008 { (exit 1); exit 1; }; }
8013 for ac_header
in GL
/gl.h GL
/glx.h
8015 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8017 echo "$as_me:$LINENO: checking for $ac_header" >&5
8018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8020 echo $ECHO_N "(cached) $ECHO_C" >&6
8022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8025 # Is the header compilable?
8026 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8027 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8028 cat >conftest.
$ac_ext <<_ACEOF
8031 cat confdefs.h
>>conftest.
$ac_ext
8032 cat >>conftest.
$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8034 $ac_includes_default
8035 #include <$ac_header>
8037 rm -f conftest.
$ac_objext
8038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8039 (eval $ac_compile) 2>conftest.er1
8041 grep -v '^ *+' conftest.er1
>conftest.err
8043 cat conftest.err
>&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); } &&
8046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; } &&
8052 { ac_try
='test -s conftest.$ac_objext'
8053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); }; }; then
8058 ac_header_compiler
=yes
8060 echo "$as_me: failed program was:" >&5
8061 sed 's/^/| /' conftest.
$ac_ext >&5
8063 ac_header_compiler
=no
8065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8067 echo "${ECHO_T}$ac_header_compiler" >&6
8069 # Is the header present?
8070 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8072 cat >conftest.
$ac_ext <<_ACEOF
8075 cat confdefs.h
>>conftest.
$ac_ext
8076 cat >>conftest.
$ac_ext <<_ACEOF
8077 /* end confdefs.h. */
8078 #include <$ac_header>
8080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8083 grep -v '^ *+' conftest.er1
>conftest.err
8085 cat conftest.err
>&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); } >/dev
/null
; then
8088 if test -s conftest.err
; then
8089 ac_cpp_err
=$ac_c_preproc_warn_flag
8090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8097 if test -z "$ac_cpp_err"; then
8098 ac_header_preproc
=yes
8100 echo "$as_me: failed program was:" >&5
8101 sed 's/^/| /' conftest.
$ac_ext >&5
8103 ac_header_preproc
=no
8105 rm -f conftest.err conftest.
$ac_ext
8106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8107 echo "${ECHO_T}$ac_header_preproc" >&6
8109 # So? What about this header?
8110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8115 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8116 ac_header_preproc
=yes
8119 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8120 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8121 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8122 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8123 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8124 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8125 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8126 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8129 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8130 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8133 ## ------------------------------------ ##
8134 ## Report this to wine-devel@winehq.org ##
8135 ## ------------------------------------ ##
8138 sed "s/^/$as_me: WARNING: /" >&2
8141 echo "$as_me:$LINENO: checking for $ac_header" >&5
8142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 eval "$as_ac_Header=\$ac_header_preproc"
8148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8153 cat >>confdefs.h
<<_ACEOF
8154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8161 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8164 for ac_header
in GL
/glext.h
8166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 echo "$as_me:$LINENO: checking for $ac_header" >&5
8168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 cat >conftest.
$ac_ext <<_ACEOF
8175 cat confdefs.h
>>conftest.
$ac_ext
8176 cat >>conftest.
$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8180 #include <$ac_header>
8182 rm -f conftest.
$ac_objext
8183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8184 (eval $ac_compile) 2>conftest.er1
8186 grep -v '^ *+' conftest.er1
>conftest.err
8188 cat conftest.err
>&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); } &&
8191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); }; } &&
8197 { ac_try
='test -s conftest.$ac_objext'
8198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); }; }; then
8203 eval "$as_ac_Header=yes"
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.
$ac_ext >&5
8208 eval "$as_ac_Header=no"
8210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8215 cat >>confdefs.h
<<_ACEOF
8216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8223 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8224 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8225 if test "${wine_cv_opengl_version_OK+set}" = set; then
8226 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 cat >conftest.
$ac_ext <<_ACEOF
8231 cat confdefs.h
>>conftest.
$ac_ext
8232 cat >>conftest.
$ac_ext <<_ACEOF
8233 /* end confdefs.h. */
8238 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8243 rm -f conftest.
$ac_objext
8244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8245 (eval $ac_compile) 2>conftest.er1
8247 grep -v '^ *+' conftest.er1
>conftest.err
8249 cat conftest.err
>&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); } &&
8252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; } &&
8258 { ac_try
='test -s conftest.$ac_objext'
8259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); }; }; then
8264 wine_cv_opengl_version_OK
="yes"
8266 echo "$as_me: failed program was:" >&5
8267 sed 's/^/| /' conftest.
$ac_ext >&5
8269 wine_cv_opengl_version_OK
="no"
8272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8275 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8276 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8278 if test "$wine_cv_opengl_version_OK" = "yes"
8280 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8281 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8282 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8283 echo $ECHO_N "(cached) $ECHO_C" >&6
8285 ac_check_lib_save_LIBS
=$LIBS
8286 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8287 cat >conftest.
$ac_ext <<_ACEOF
8290 cat confdefs.h
>>conftest.
$ac_ext
8291 cat >>conftest.
$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8294 /* Override any gcc2 internal prototype to avoid an error. */
8298 /* We use char because int might match the return type of a gcc2
8299 builtin and then its argument prototype would still apply. */
8300 char glXCreateContext ();
8304 glXCreateContext ();
8309 rm -f conftest.
$ac_objext conftest
$ac_exeext
8310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8311 (eval $ac_link) 2>conftest.er1
8313 grep -v '^ *+' conftest.er1
>conftest.err
8315 cat conftest.err
>&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); } &&
8318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; } &&
8324 { ac_try
='test -s conftest$ac_exeext'
8325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); }; }; then
8330 ac_cv_lib_GL_glXCreateContext
=yes
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.
$ac_ext >&5
8335 ac_cv_lib_GL_glXCreateContext
=no
8337 rm -f conftest.err conftest.
$ac_objext \
8338 conftest
$ac_exeext conftest.
$ac_ext
8339 LIBS
=$ac_check_lib_save_LIBS
8341 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8342 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8343 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8349 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8351 OPENGLFILES
='$(OPENGLFILES)'
8353 cat >>confdefs.h
<<\_ACEOF
8354 #define HAVE_OPENGL 1
8358 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8359 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8360 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 ac_check_lib_save_LIBS
=$LIBS
8364 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8365 cat >conftest.
$ac_ext <<_ACEOF
8368 cat confdefs.h
>>conftest.
$ac_ext
8369 cat >>conftest.
$ac_ext <<_ACEOF
8370 /* end confdefs.h. */
8372 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8378 char glXGetProcAddressARB ();
8382 glXGetProcAddressARB ();
8387 rm -f conftest.
$ac_objext conftest
$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>conftest.er1
8391 grep -v '^ *+' conftest.er1
>conftest.err
8393 cat conftest.err
>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; } &&
8402 { ac_try
='test -s conftest$ac_exeext'
8403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); }; }; then
8408 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.
$ac_ext >&5
8413 ac_cv_lib_GL_glXGetProcAddressARB
=no
8415 rm -f conftest.err conftest.
$ac_objext \
8416 conftest
$ac_exeext conftest.
$ac_ext
8417 LIBS
=$ac_check_lib_save_LIBS
8419 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8420 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8421 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8423 cat >>confdefs.h
<<\_ACEOF
8424 #define HAVE_GLX_GETPROCADDRESS 1
8430 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8432 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8433 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8434 if test "${wine_cv_extension_prototypes+set}" = set; then
8435 echo $ECHO_N "(cached) $ECHO_C" >&6
8437 cat >conftest.
$ac_ext <<_ACEOF
8440 cat confdefs.h
>>conftest.
$ac_ext
8441 cat >>conftest.
$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8444 #ifdef HAVE_GL_GLEXT_H
8445 # include <GL/glext.h>
8451 PFNGLCOLORTABLEEXTPROC test_proc;
8456 rm -f conftest.
$ac_objext
8457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8458 (eval $ac_compile) 2>conftest.er1
8460 grep -v '^ *+' conftest.er1
>conftest.err
8462 cat conftest.err
>&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } &&
8465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; } &&
8471 { ac_try
='test -s conftest.$ac_objext'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; }; then
8477 wine_cv_extension_prototypes
="yes"
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.
$ac_ext >&5
8482 wine_cv_extension_prototypes
="no"
8485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8488 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8489 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8490 if test "$wine_cv_extension_prototypes" = "yes"
8493 cat >>confdefs.h
<<\_ACEOF
8494 #define HAVE_GLEXT_PROTOTYPES 1
8501 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8502 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8503 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8504 echo $ECHO_N "(cached) $ECHO_C" >&6
8506 ac_check_lib_save_LIBS
=$LIBS
8507 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8509 cat >conftest.
$ac_ext <<_ACEOF
8512 cat confdefs.h
>>conftest.
$ac_ext
8513 cat >>conftest.
$ac_ext <<_ACEOF
8514 /* end confdefs.h. */
8516 /* Override any gcc2 internal prototype to avoid an error. */
8520 /* We use char because int might match the return type of a gcc2
8521 builtin and then its argument prototype would still apply. */
8531 rm -f conftest.
$ac_objext conftest
$ac_exeext
8532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8533 (eval $ac_link) 2>conftest.er1
8535 grep -v '^ *+' conftest.er1
>conftest.err
8537 cat conftest.err
>&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } &&
8540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; } &&
8546 { ac_try
='test -s conftest$ac_exeext'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; }; then
8552 ac_cv_lib_GLU_gluLookAt
=yes
8554 echo "$as_me: failed program was:" >&5
8555 sed 's/^/| /' conftest.
$ac_ext >&5
8557 ac_cv_lib_GLU_gluLookAt
=no
8559 rm -f conftest.err conftest.
$ac_objext \
8560 conftest
$ac_exeext conftest.
$ac_ext
8561 LIBS
=$ac_check_lib_save_LIBS
8563 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8564 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8565 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8566 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8567 GLU32FILES
='$(GLU32FILES)'
8573 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8574 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8575 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 ac_check_lib_save_LIBS
=$LIBS
8579 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8580 cat >conftest.
$ac_ext <<_ACEOF
8583 cat confdefs.h
>>conftest.
$ac_ext
8584 cat >>conftest.
$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8587 /* Override any gcc2 internal prototype to avoid an error. */
8591 /* We use char because int might match the return type of a gcc2
8592 builtin and then its argument prototype would still apply. */
8593 char glutMainLoop ();
8602 rm -f conftest.
$ac_objext conftest
$ac_exeext
8603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8604 (eval $ac_link) 2>conftest.er1
8606 grep -v '^ *+' conftest.er1
>conftest.err
8608 cat conftest.err
>&5
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); } &&
8611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; } &&
8617 { ac_try
='test -s conftest$ac_exeext'
8618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; }; then
8623 ac_cv_lib_glut_glutMainLoop
=yes
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.
$ac_ext >&5
8628 ac_cv_lib_glut_glutMainLoop
=no
8630 rm -f conftest.err conftest.
$ac_objext \
8631 conftest
$ac_exeext conftest.
$ac_ext
8632 LIBS
=$ac_check_lib_save_LIBS
8634 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8635 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8636 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8637 GLUT_LIBS
="-lglut -lXmu -lXi"
8639 GLUT32FILES
='$(GLUT32FILES)'
8649 for ac_header
in audio
/audiolib.h
8651 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8653 echo "$as_me:$LINENO: checking for $ac_header" >&5
8654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8656 echo $ECHO_N "(cached) $ECHO_C" >&6
8658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8661 # Is the header compilable?
8662 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8664 cat >conftest.
$ac_ext <<_ACEOF
8667 cat confdefs.h
>>conftest.
$ac_ext
8668 cat >>conftest.
$ac_ext <<_ACEOF
8669 /* end confdefs.h. */
8670 $ac_includes_default
8671 #include <$ac_header>
8673 rm -f conftest.
$ac_objext
8674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8675 (eval $ac_compile) 2>conftest.er1
8677 grep -v '^ *+' conftest.er1
>conftest.err
8679 cat conftest.err
>&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); } &&
8682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); }; } &&
8688 { ac_try
='test -s conftest.$ac_objext'
8689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); }; }; then
8694 ac_header_compiler
=yes
8696 echo "$as_me: failed program was:" >&5
8697 sed 's/^/| /' conftest.
$ac_ext >&5
8699 ac_header_compiler
=no
8701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8703 echo "${ECHO_T}$ac_header_compiler" >&6
8705 # Is the header present?
8706 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8707 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8708 cat >conftest.
$ac_ext <<_ACEOF
8711 cat confdefs.h
>>conftest.
$ac_ext
8712 cat >>conftest.
$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8714 #include <$ac_header>
8716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8717 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8719 grep -v '^ *+' conftest.er1
>conftest.err
8721 cat conftest.err
>&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } >/dev
/null
; then
8724 if test -s conftest.err
; then
8725 ac_cpp_err
=$ac_c_preproc_warn_flag
8726 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8733 if test -z "$ac_cpp_err"; then
8734 ac_header_preproc
=yes
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.
$ac_ext >&5
8739 ac_header_preproc
=no
8741 rm -f conftest.err conftest.
$ac_ext
8742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8743 echo "${ECHO_T}$ac_header_preproc" >&6
8745 # So? What about this header?
8746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8748 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8749 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8751 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8752 ac_header_preproc
=yes
8755 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8757 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8758 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8759 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8760 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8761 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8762 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8765 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8766 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8769 ## ------------------------------------ ##
8770 ## Report this to wine-devel@winehq.org ##
8771 ## ------------------------------------ ##
8774 sed "s/^/$as_me: WARNING: /" >&2
8777 echo "$as_me:$LINENO: checking for $ac_header" >&5
8778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8780 echo $ECHO_N "(cached) $ECHO_C" >&6
8782 eval "$as_ac_Header=\$ac_header_preproc"
8784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8789 cat >>confdefs.h
<<_ACEOF
8790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8793 for ac_header
in audio
/soundlib.h
8795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8796 echo "$as_me:$LINENO: checking for $ac_header" >&5
8797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 cat >conftest.
$ac_ext <<_ACEOF
8804 cat confdefs.h
>>conftest.
$ac_ext
8805 cat >>conftest.
$ac_ext <<_ACEOF
8806 /* end confdefs.h. */
8807 #include <audio/audiolib.h>
8809 #include <$ac_header>
8811 rm -f conftest.
$ac_objext
8812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8813 (eval $ac_compile) 2>conftest.er1
8815 grep -v '^ *+' conftest.er1
>conftest.err
8817 cat conftest.err
>&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } &&
8820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; } &&
8826 { ac_try
='test -s conftest.$ac_objext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 eval "$as_ac_Header=yes"
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.
$ac_ext >&5
8837 eval "$as_ac_Header=no"
8839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8844 cat >>confdefs.h
<<_ACEOF
8845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8852 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8853 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8854 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 ac_check_lib_save_LIBS
=$LIBS
8858 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8859 cat >conftest.
$ac_ext <<_ACEOF
8862 cat confdefs.h
>>conftest.
$ac_ext
8863 cat >>conftest.
$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8866 /* Override any gcc2 internal prototype to avoid an error. */
8870 /* We use char because int might match the return type of a gcc2
8871 builtin and then its argument prototype would still apply. */
8872 char AuCreateFlow ();
8881 rm -f conftest.
$ac_objext conftest
$ac_exeext
8882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8883 (eval $ac_link) 2>conftest.er1
8885 grep -v '^ *+' conftest.er1
>conftest.err
8887 cat conftest.err
>&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } &&
8890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try
='test -s conftest$ac_exeext'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; }; then
8902 ac_cv_lib_audio_AuCreateFlow
=yes
8904 echo "$as_me: failed program was:" >&5
8905 sed 's/^/| /' conftest.
$ac_ext >&5
8907 ac_cv_lib_audio_AuCreateFlow
=no
8909 rm -f conftest.err conftest.
$ac_objext \
8910 conftest
$ac_exeext conftest.
$ac_ext
8911 LIBS
=$ac_check_lib_save_LIBS
8913 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8914 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8915 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8917 cat >>confdefs.h
<<\_ACEOF
8921 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8929 CPPFLAGS
="$ac_save_CPPFLAGS"
8938 if test "x$with_curses" != "xno"
8941 for ac_header
in ncurses.h
8943 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8945 echo "$as_me:$LINENO: checking for $ac_header" >&5
8946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8953 # Is the header compilable?
8954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8956 cat >conftest.
$ac_ext <<_ACEOF
8959 cat confdefs.h
>>conftest.
$ac_ext
8960 cat >>conftest.
$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8962 $ac_includes_default
8963 #include <$ac_header>
8965 rm -f conftest.
$ac_objext
8966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8967 (eval $ac_compile) 2>conftest.er1
8969 grep -v '^ *+' conftest.er1
>conftest.err
8971 cat conftest.err
>&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; } &&
8980 { ac_try
='test -s conftest.$ac_objext'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 ac_header_compiler
=yes
8988 echo "$as_me: failed program was:" >&5
8989 sed 's/^/| /' conftest.
$ac_ext >&5
8991 ac_header_compiler
=no
8993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8995 echo "${ECHO_T}$ac_header_compiler" >&6
8997 # Is the header present?
8998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9000 cat >conftest.
$ac_ext <<_ACEOF
9003 cat confdefs.h
>>conftest.
$ac_ext
9004 cat >>conftest.
$ac_ext <<_ACEOF
9005 /* end confdefs.h. */
9006 #include <$ac_header>
9008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9011 grep -v '^ *+' conftest.er1
>conftest.err
9013 cat conftest.err
>&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); } >/dev
/null
; then
9016 if test -s conftest.err
; then
9017 ac_cpp_err
=$ac_c_preproc_warn_flag
9018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9025 if test -z "$ac_cpp_err"; then
9026 ac_header_preproc
=yes
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.
$ac_ext >&5
9031 ac_header_preproc
=no
9033 rm -f conftest.err conftest.
$ac_ext
9034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9035 echo "${ECHO_T}$ac_header_preproc" >&6
9037 # So? What about this header?
9038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9044 ac_header_preproc
=yes
9047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9061 ## ------------------------------------ ##
9062 ## Report this to wine-devel@winehq.org ##
9063 ## ------------------------------------ ##
9066 sed "s/^/$as_me: WARNING: /" >&2
9069 echo "$as_me:$LINENO: checking for $ac_header" >&5
9070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 eval "$as_ac_Header=\$ac_header_preproc"
9076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9081 cat >>confdefs.h
<<_ACEOF
9082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9084 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9085 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9086 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 ac_check_lib_save_LIBS
=$LIBS
9090 LIBS
="-lncurses $LIBS"
9091 cat >conftest.
$ac_ext <<_ACEOF
9094 cat confdefs.h
>>conftest.
$ac_ext
9095 cat >>conftest.
$ac_ext <<_ACEOF
9096 /* end confdefs.h. */
9098 /* Override any gcc2 internal prototype to avoid an error. */
9102 /* We use char because int might match the return type of a gcc2
9103 builtin and then its argument prototype would still apply. */
9113 rm -f conftest.
$ac_objext conftest
$ac_exeext
9114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9115 (eval $ac_link) 2>conftest.er1
9117 grep -v '^ *+' conftest.er1
>conftest.err
9119 cat conftest.err
>&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } &&
9122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; } &&
9128 { ac_try
='test -s conftest$ac_exeext'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; }; then
9134 ac_cv_lib_ncurses_waddch
=yes
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.
$ac_ext >&5
9139 ac_cv_lib_ncurses_waddch
=no
9141 rm -f conftest.err conftest.
$ac_objext \
9142 conftest
$ac_exeext conftest.
$ac_ext
9143 LIBS
=$ac_check_lib_save_LIBS
9145 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9146 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9147 if test $ac_cv_lib_ncurses_waddch = yes; then
9149 cat >>confdefs.h
<<\_ACEOF
9150 #define HAVE_LIBNCURSES 1
9153 CURSESLIBS
="-lncurses"
9156 for ac_header
in curses.h
9158 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9160 echo "$as_me:$LINENO: checking for $ac_header" >&5
9161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9168 # Is the header compilable?
9169 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9171 cat >conftest.
$ac_ext <<_ACEOF
9174 cat confdefs.h
>>conftest.
$ac_ext
9175 cat >>conftest.
$ac_ext <<_ACEOF
9176 /* end confdefs.h. */
9177 $ac_includes_default
9178 #include <$ac_header>
9180 rm -f conftest.
$ac_objext
9181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9182 (eval $ac_compile) 2>conftest.er1
9184 grep -v '^ *+' conftest.er1
>conftest.err
9186 cat conftest.err
>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } &&
9189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; } &&
9195 { ac_try
='test -s conftest.$ac_objext'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; }; then
9201 ac_header_compiler
=yes
9203 echo "$as_me: failed program was:" >&5
9204 sed 's/^/| /' conftest.
$ac_ext >&5
9206 ac_header_compiler
=no
9208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9210 echo "${ECHO_T}$ac_header_compiler" >&6
9212 # Is the header present?
9213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9215 cat >conftest.
$ac_ext <<_ACEOF
9218 cat confdefs.h
>>conftest.
$ac_ext
9219 cat >>conftest.
$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9221 #include <$ac_header>
9223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9226 grep -v '^ *+' conftest.er1
>conftest.err
9228 cat conftest.err
>&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); } >/dev
/null
; then
9231 if test -s conftest.err
; then
9232 ac_cpp_err
=$ac_c_preproc_warn_flag
9233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9240 if test -z "$ac_cpp_err"; then
9241 ac_header_preproc
=yes
9243 echo "$as_me: failed program was:" >&5
9244 sed 's/^/| /' conftest.
$ac_ext >&5
9246 ac_header_preproc
=no
9248 rm -f conftest.err conftest.
$ac_ext
9249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9250 echo "${ECHO_T}$ac_header_preproc" >&6
9252 # So? What about this header?
9253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9259 ac_header_preproc
=yes
9262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9276 ## ------------------------------------ ##
9277 ## Report this to wine-devel@winehq.org ##
9278 ## ------------------------------------ ##
9281 sed "s/^/$as_me: WARNING: /" >&2
9284 echo "$as_me:$LINENO: checking for $ac_header" >&5
9285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9287 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 eval "$as_ac_Header=\$ac_header_preproc"
9291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9296 cat >>confdefs.h
<<_ACEOF
9297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9299 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9300 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9301 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9302 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 ac_check_lib_save_LIBS
=$LIBS
9305 LIBS
="-lcurses $LIBS"
9306 cat >conftest.
$ac_ext <<_ACEOF
9309 cat confdefs.h
>>conftest.
$ac_ext
9310 cat >>conftest.
$ac_ext <<_ACEOF
9311 /* end confdefs.h. */
9313 /* Override any gcc2 internal prototype to avoid an error. */
9317 /* We use char because int might match the return type of a gcc2
9318 builtin and then its argument prototype would still apply. */
9328 rm -f conftest.
$ac_objext conftest
$ac_exeext
9329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9330 (eval $ac_link) 2>conftest.er1
9332 grep -v '^ *+' conftest.er1
>conftest.err
9334 cat conftest.err
>&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); } &&
9337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; } &&
9343 { ac_try
='test -s conftest$ac_exeext'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; }; then
9349 ac_cv_lib_curses_waddch
=yes
9351 echo "$as_me: failed program was:" >&5
9352 sed 's/^/| /' conftest.
$ac_ext >&5
9354 ac_cv_lib_curses_waddch
=no
9356 rm -f conftest.err conftest.
$ac_objext \
9357 conftest
$ac_exeext conftest.
$ac_ext
9358 LIBS
=$ac_check_lib_save_LIBS
9360 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9361 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9362 if test $ac_cv_lib_curses_waddch = yes; then
9364 cat >>confdefs.h
<<\_ACEOF
9365 #define HAVE_LIBCURSES 1
9368 CURSESLIBS
="-lcurses"
9382 LIBS
="$CURSESLIBS $LIBS"
9385 for ac_func
in getbkgd resizeterm
9387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9388 echo "$as_me:$LINENO: checking for $ac_func" >&5
9389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9390 if eval "test \"\${$as_ac_var+set}\" = set"; then
9391 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 cat >conftest.
$ac_ext <<_ACEOF
9396 cat confdefs.h
>>conftest.
$ac_ext
9397 cat >>conftest.
$ac_ext <<_ACEOF
9398 /* end confdefs.h. */
9399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9401 #define $ac_func innocuous_$ac_func
9403 /* System header to define __stub macros and hopefully few prototypes,
9404 which can conflict with char $ac_func (); below.
9405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9406 <limits.h> exists even on freestanding compilers. */
9409 # include <limits.h>
9411 # include <assert.h>
9416 /* Override any gcc2 internal prototype to avoid an error. */
9421 /* We use char because int might match the return type of a gcc2
9422 builtin and then its argument prototype would still apply. */
9424 /* The GNU C library defines this for functions which it implements
9425 to always fail with ENOSYS. Some functions are actually named
9426 something starting with __ and the normal name is an alias. */
9427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9430 char (*f) () = $ac_func;
9439 return f != $ac_func;
9444 rm -f conftest.
$ac_objext conftest
$ac_exeext
9445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9446 (eval $ac_link) 2>conftest.er1
9448 grep -v '^ *+' conftest.er1
>conftest.err
9450 cat conftest.err
>&5
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); } &&
9453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); }; } &&
9459 { ac_try
='test -s conftest$ac_exeext'
9460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); }; }; then
9465 eval "$as_ac_var=yes"
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.
$ac_ext >&5
9470 eval "$as_ac_var=no"
9472 rm -f conftest.err conftest.
$ac_objext \
9473 conftest
$ac_exeext conftest.
$ac_ext
9475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9477 if test `eval echo '${'$as_ac_var'}'` = yes; then
9478 cat >>confdefs.h
<<_ACEOF
9479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9489 # Extract the first word of "sane-config", so it can be a program name with args.
9490 set dummy sane-config
; ac_word
=$2
9491 echo "$as_me:$LINENO: checking for $ac_word" >&5
9492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9493 if test "${ac_cv_prog_sane_devel+set}" = set; then
9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 if test -n "$sane_devel"; then
9497 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir
=.
9504 for ac_exec_ext
in '' $ac_executable_extensions; do
9505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9506 ac_cv_prog_sane_devel
="sane-config"
9507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9513 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9516 sane_devel
=$ac_cv_prog_sane_devel
9517 if test -n "$sane_devel"; then
9518 echo "$as_me:$LINENO: result: $sane_devel" >&5
9519 echo "${ECHO_T}$sane_devel" >&6
9521 echo "$as_me:$LINENO: result: no" >&5
9522 echo "${ECHO_T}no" >&6
9525 if test "$sane_devel" = "no"
9530 SANELIBS
="`$sane_devel --libs`"
9531 SANEINCL
="`$sane_devel --cflags`"
9532 ac_save_CPPFLAGS
="$CPPFLAGS"
9533 ac_save_LIBS
="$LIBS"
9534 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9535 LIBS
="$LIBS $SANELIBS"
9536 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9537 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9538 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9539 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9542 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9543 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9545 # Is the header compilable?
9546 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9547 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9548 cat >conftest.
$ac_ext <<_ACEOF
9551 cat confdefs.h
>>conftest.
$ac_ext
9552 cat >>conftest.
$ac_ext <<_ACEOF
9553 /* end confdefs.h. */
9554 $ac_includes_default
9555 #include <sane/sane.h>
9557 rm -f conftest.
$ac_objext
9558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9559 (eval $ac_compile) 2>conftest.er1
9561 grep -v '^ *+' conftest.er1
>conftest.err
9563 cat conftest.err
>&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); } &&
9566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); }; } &&
9572 { ac_try
='test -s conftest.$ac_objext'
9573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); }; }; then
9578 ac_header_compiler
=yes
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.
$ac_ext >&5
9583 ac_header_compiler
=no
9585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9587 echo "${ECHO_T}$ac_header_compiler" >&6
9589 # Is the header present?
9590 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9591 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9592 cat >conftest.
$ac_ext <<_ACEOF
9595 cat confdefs.h
>>conftest.
$ac_ext
9596 cat >>conftest.
$ac_ext <<_ACEOF
9597 /* end confdefs.h. */
9598 #include <sane/sane.h>
9600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9603 grep -v '^ *+' conftest.er1
>conftest.err
9605 cat conftest.err
>&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); } >/dev
/null
; then
9608 if test -s conftest.err
; then
9609 ac_cpp_err
=$ac_c_preproc_warn_flag
9610 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9617 if test -z "$ac_cpp_err"; then
9618 ac_header_preproc
=yes
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.
$ac_ext >&5
9623 ac_header_preproc
=no
9625 rm -f conftest.err conftest.
$ac_ext
9626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9627 echo "${ECHO_T}$ac_header_preproc" >&6
9629 # So? What about this header?
9630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9632 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9633 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9634 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9635 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9636 ac_header_preproc
=yes
9639 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9640 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9641 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9642 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9643 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9644 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9645 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9646 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9647 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9648 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9649 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9650 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9653 ## ------------------------------------ ##
9654 ## Report this to wine-devel@winehq.org ##
9655 ## ------------------------------------ ##
9658 sed "s/^/$as_me: WARNING: /" >&2
9661 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9662 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9663 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 ac_cv_header_sane_sane_h
=$ac_header_preproc
9668 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9669 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9672 if test $ac_cv_header_sane_sane_h = yes; then
9673 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9674 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9675 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 ac_check_lib_save_LIBS
=$LIBS
9680 cat >conftest.
$ac_ext <<_ACEOF
9683 cat confdefs.h
>>conftest.
$ac_ext
9684 cat >>conftest.
$ac_ext <<_ACEOF
9685 /* end confdefs.h. */
9687 /* Override any gcc2 internal prototype to avoid an error. */
9691 /* We use char because int might match the return type of a gcc2
9692 builtin and then its argument prototype would still apply. */
9702 rm -f conftest.
$ac_objext conftest
$ac_exeext
9703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9704 (eval $ac_link) 2>conftest.er1
9706 grep -v '^ *+' conftest.er1
>conftest.err
9708 cat conftest.err
>&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); } &&
9711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; } &&
9717 { ac_try
='test -s conftest$ac_exeext'
9718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); }; }; then
9723 ac_cv_lib_sane_sane_open
=yes
9725 echo "$as_me: failed program was:" >&5
9726 sed 's/^/| /' conftest.
$ac_ext >&5
9728 ac_cv_lib_sane_sane_open
=no
9730 rm -f conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9732 LIBS
=$ac_check_lib_save_LIBS
9734 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9735 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9736 if test $ac_cv_lib_sane_sane_open = yes; then
9738 cat >>confdefs.h
<<\_ACEOF
9753 LIBS
="$ac_save_LIBS"
9754 CPPFLAGS
="$ac_save_CPPFLAGS"
9760 for ac_header
in unicode
/ubidi.h
9762 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9764 echo "$as_me:$LINENO: checking for $ac_header" >&5
9765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9772 # Is the header compilable?
9773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9775 cat >conftest.
$ac_ext <<_ACEOF
9778 cat confdefs.h
>>conftest.
$ac_ext
9779 cat >>conftest.
$ac_ext <<_ACEOF
9780 /* end confdefs.h. */
9781 $ac_includes_default
9782 #include <$ac_header>
9784 rm -f conftest.
$ac_objext
9785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9786 (eval $ac_compile) 2>conftest.er1
9788 grep -v '^ *+' conftest.er1
>conftest.err
9790 cat conftest.err
>&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } &&
9793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); }; } &&
9799 { ac_try
='test -s conftest.$ac_objext'
9800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); }; }; then
9805 ac_header_compiler
=yes
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.
$ac_ext >&5
9810 ac_header_compiler
=no
9812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9814 echo "${ECHO_T}$ac_header_compiler" >&6
9816 # Is the header present?
9817 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9819 cat >conftest.
$ac_ext <<_ACEOF
9822 cat confdefs.h
>>conftest.
$ac_ext
9823 cat >>conftest.
$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9825 #include <$ac_header>
9827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9830 grep -v '^ *+' conftest.er1
>conftest.err
9832 cat conftest.err
>&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); } >/dev
/null
; then
9835 if test -s conftest.err
; then
9836 ac_cpp_err
=$ac_c_preproc_warn_flag
9837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9844 if test -z "$ac_cpp_err"; then
9845 ac_header_preproc
=yes
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.
$ac_ext >&5
9850 ac_header_preproc
=no
9852 rm -f conftest.err conftest.
$ac_ext
9853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9854 echo "${ECHO_T}$ac_header_preproc" >&6
9856 # So? What about this header?
9857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9863 ac_header_preproc
=yes
9866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9880 ## ------------------------------------ ##
9881 ## Report this to wine-devel@winehq.org ##
9882 ## ------------------------------------ ##
9885 sed "s/^/$as_me: WARNING: /" >&2
9888 echo "$as_me:$LINENO: checking for $ac_header" >&5
9889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9891 echo $ECHO_N "(cached) $ECHO_C" >&6
9893 eval "$as_ac_Header=\$ac_header_preproc"
9895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9900 cat >>confdefs.h
<<_ACEOF
9901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9908 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9911 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9912 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9913 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9914 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9915 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9916 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9917 cat >conftest.
$ac_ext <<_ACEOF
9920 cat confdefs.h
>>conftest.
$ac_ext
9921 cat >>conftest.
$ac_ext <<_ACEOF
9922 /* end confdefs.h. */
9923 #include <unicode/ubidi.h>
9932 rm -f conftest.
$ac_objext conftest
$ac_exeext
9933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9934 (eval $ac_link) 2>conftest.er1
9936 grep -v '^ *+' conftest.er1
>conftest.err
9938 cat conftest.err
>&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } &&
9941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; } &&
9947 { ac_try
='test -s conftest$ac_exeext'
9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; }; then
9954 cat >>confdefs.h
<<\_ACEOF
9958 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9963 echo "$as_me: failed program was:" >&5
9964 sed 's/^/| /' conftest.
$ac_ext >&5
9966 echo "$as_me:$LINENO: result: no" >&5
9967 echo "${ECHO_T}no" >&6
9969 rm -f conftest.err conftest.
$ac_objext \
9970 conftest
$ac_exeext conftest.
$ac_ext
9974 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9975 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9976 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 ac_check_lib_save_LIBS
=$LIBS
9980 LIBS
="-lfreetype $X_LIBS $LIBS"
9981 cat >conftest.
$ac_ext <<_ACEOF
9984 cat confdefs.h
>>conftest.
$ac_ext
9985 cat >>conftest.
$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9988 /* Override any gcc2 internal prototype to avoid an error. */
9992 /* We use char because int might match the return type of a gcc2
9993 builtin and then its argument prototype would still apply. */
9994 char FT_Init_FreeType ();
9998 FT_Init_FreeType ();
10003 rm -f conftest.
$ac_objext conftest
$ac_exeext
10004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10005 (eval $ac_link) 2>conftest.er1
10007 grep -v '^ *+' conftest.er1
>conftest.err
10009 cat conftest.err
>&5
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } &&
10012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10014 (eval $ac_try) 2>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); }; } &&
10018 { ac_try
='test -s conftest$ac_exeext'
10019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020 (eval $ac_try) 2>&5
10022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023 (exit $ac_status); }; }; then
10024 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10026 echo "$as_me: failed program was:" >&5
10027 sed 's/^/| /' conftest.
$ac_ext >&5
10029 ac_cv_lib_freetype_FT_Init_FreeType
=no
10031 rm -f conftest.err conftest.
$ac_objext \
10032 conftest
$ac_exeext conftest.
$ac_ext
10033 LIBS
=$ac_check_lib_save_LIBS
10035 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10036 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10037 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10043 if test "$ft_lib" = "no"
10047 wine_cv_msg_freetype
=no
10049 # Extract the first word of "freetype-config", so it can be a program name with args.
10050 set dummy freetype-config
; ac_word
=$2
10051 echo "$as_me:$LINENO: checking for $ac_word" >&5
10052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10053 if test "${ac_cv_prog_ft_devel+set}" = set; then
10054 echo $ECHO_N "(cached) $ECHO_C" >&6
10056 if test -n "$ft_devel"; then
10057 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10060 for as_dir
in $PATH
10063 test -z "$as_dir" && as_dir
=.
10064 for ac_exec_ext
in '' $ac_executable_extensions; do
10065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10066 ac_cv_prog_ft_devel
="freetype-config"
10067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10073 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10076 ft_devel
=$ac_cv_prog_ft_devel
10077 if test -n "$ft_devel"; then
10078 echo "$as_me:$LINENO: result: $ft_devel" >&5
10079 echo "${ECHO_T}$ft_devel" >&6
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10085 if test "$ft_devel" = "no"
10087 # Extract the first word of "freetype2-config", so it can be a program name with args.
10088 set dummy freetype2-config
; ac_word
=$2
10089 echo "$as_me:$LINENO: checking for $ac_word" >&5
10090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10091 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10092 echo $ECHO_N "(cached) $ECHO_C" >&6
10094 if test -n "$ft_devel2"; then
10095 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10098 for as_dir
in $PATH
10101 test -z "$as_dir" && as_dir
=.
10102 for ac_exec_ext
in '' $ac_executable_extensions; do
10103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10104 ac_cv_prog_ft_devel2
="freetype2-config"
10105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10111 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10114 ft_devel2
=$ac_cv_prog_ft_devel2
10115 if test -n "$ft_devel2"; then
10116 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10117 echo "${ECHO_T}$ft_devel2" >&6
10119 echo "$as_me:$LINENO: result: no" >&5
10120 echo "${ECHO_T}no" >&6
10123 if test "$ft_devel2" = "freetype2-config"
10125 ft_devel
=$ft_devel2
10128 if test "$ft_devel" = "no"
10132 wine_cv_msg_freetype
=yes
10134 FREETYPELIBS
=`$ft_devel --libs`
10135 FREETYPEINCL
=`$ft_devel --cflags`
10136 ac_save_CPPFLAGS
="$CPPFLAGS"
10137 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10148 for ac_header
in ft2build.h \
10149 freetype
/freetype.h \
10150 freetype
/ftglyph.h \
10151 freetype
/tttables.h \
10152 freetype
/ftnames.h \
10153 freetype
/ftsnames.h \
10154 freetype
/ttnameid.h \
10155 freetype
/ftoutln.h \
10156 freetype
/ftwinfnt.h \
10157 freetype
/internal
/sfnt.h
10159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10160 echo "$as_me:$LINENO: checking for $ac_header" >&5
10161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 cat >conftest.
$ac_ext <<_ACEOF
10168 cat confdefs.h
>>conftest.
$ac_ext
10169 cat >>conftest.
$ac_ext <<_ACEOF
10170 /* end confdefs.h. */
10171 #if HAVE_FT2BUILD_H
10172 #include <ft2build.h>
10175 #include <$ac_header>
10177 rm -f conftest.
$ac_objext
10178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10179 (eval $ac_compile) 2>conftest.er1
10181 grep -v '^ *+' conftest.er1
>conftest.err
10183 cat conftest.err
>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); } &&
10186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; } &&
10192 { ac_try
='test -s conftest.$ac_objext'
10193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10194 (eval $ac_try) 2>&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); }; }; then
10198 eval "$as_ac_Header=yes"
10200 echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.
$ac_ext >&5
10203 eval "$as_ac_Header=no"
10205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10210 cat >>confdefs.h
<<_ACEOF
10211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10218 cat >conftest.
$ac_ext <<_ACEOF
10221 cat confdefs.h
>>conftest.
$ac_ext
10222 cat >>conftest.
$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10224 #include <ft2build.h>
10225 #include <freetype/fttrigon.h>
10227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10230 grep -v '^ *+' conftest.er1
>conftest.err
10232 cat conftest.err
>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } >/dev
/null
; then
10235 if test -s conftest.err
; then
10236 ac_cpp_err
=$ac_c_preproc_warn_flag
10237 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10244 if test -z "$ac_cpp_err"; then
10246 cat >>confdefs.h
<<\_ACEOF
10247 #define HAVE_FREETYPE_FTTRIGON_H 1
10250 wine_cv_fttrigon
=yes
10252 echo "$as_me: failed program was:" >&5
10253 sed 's/^/| /' conftest.
$ac_ext >&5
10255 wine_cv_fttrigon
=no
10257 rm -f conftest.err conftest.
$ac_ext
10258 CPPFLAGS
="$ac_save_CPPFLAGS"
10259 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10262 cat >>confdefs.h
<<\_ACEOF
10263 #define HAVE_FREETYPE 1
10266 wine_cv_msg_freetype
=no
10270 wine_cv_msg_freetype
=yes
10277 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10279 FONTSSUBDIRS
="fonts"
10283 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10284 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10285 if test "${ac_cv_c_ppdev+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 cat >conftest.
$ac_ext <<_ACEOF
10291 cat confdefs.h
>>conftest.
$ac_ext
10292 cat >>conftest.
$ac_ext <<_ACEOF
10293 /* end confdefs.h. */
10294 #include <linux/ppdev.h>
10298 ioctl (1,PPCLAIM,0)
10303 rm -f conftest.
$ac_objext
10304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10305 (eval $ac_compile) 2>conftest.er1
10307 grep -v '^ *+' conftest.er1
>conftest.err
10309 cat conftest.err
>&5
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); } &&
10312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; } &&
10318 { ac_try
='test -s conftest.$ac_objext'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; }; then
10324 ac_cv_c_ppdev
="yes"
10326 echo "$as_me: failed program was:" >&5
10327 sed 's/^/| /' conftest.
$ac_ext >&5
10331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10334 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10335 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10336 if test "$ac_cv_c_ppdev" = "yes"
10339 cat >>confdefs.h
<<\_ACEOF
10340 #define HAVE_PPDEV 1
10345 echo "$as_me:$LINENO: checking for va_copy" >&5
10346 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10347 if test "${ac_cv_c_va_copy+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 cat >conftest.
$ac_ext <<_ACEOF
10353 cat confdefs.h
>>conftest.
$ac_ext
10354 cat >>conftest.
$ac_ext <<_ACEOF
10355 /* end confdefs.h. */
10356 #include <stdarg.h>
10367 rm -f conftest.
$ac_objext conftest
$ac_exeext
10368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10369 (eval $ac_link) 2>conftest.er1
10371 grep -v '^ *+' conftest.er1
>conftest.err
10373 cat conftest.err
>&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); } &&
10376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378 (eval $ac_try) 2>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }; } &&
10382 { ac_try
='test -s conftest$ac_exeext'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); }; }; then
10388 ac_cv_c_va_copy
="yes"
10390 echo "$as_me: failed program was:" >&5
10391 sed 's/^/| /' conftest.
$ac_ext >&5
10393 ac_cv_c_va_copy
="no"
10395 rm -f conftest.err conftest.
$ac_objext \
10396 conftest
$ac_exeext conftest.
$ac_ext
10399 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10400 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10401 if test "$ac_cv_c_va_copy" = "yes"
10404 cat >>confdefs.h
<<\_ACEOF
10405 #define HAVE_VA_COPY 1
10409 echo "$as_me:$LINENO: checking for __va_copy" >&5
10410 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10411 if test "${ac_cv_c___va_copy+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 cat >conftest.
$ac_ext <<_ACEOF
10417 cat confdefs.h
>>conftest.
$ac_ext
10418 cat >>conftest.
$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10420 #include <stdarg.h>
10425 __va_copy(ap1,ap2);
10431 rm -f conftest.
$ac_objext conftest
$ac_exeext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10433 (eval $ac_link) 2>conftest.er1
10435 grep -v '^ *+' conftest.er1
>conftest.err
10437 cat conftest.err
>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } &&
10440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10442 (eval $ac_try) 2>&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); }; } &&
10446 { ac_try
='test -s conftest$ac_exeext'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; }; then
10452 ac_cv_c___va_copy
="yes"
10454 echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.
$ac_ext >&5
10457 ac_cv_c___va_copy
="no"
10459 rm -f conftest.err conftest.
$ac_objext \
10460 conftest
$ac_exeext conftest.
$ac_ext
10463 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10464 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10465 if test "$ac_cv_c___va_copy" = "yes"
10468 cat >>confdefs.h
<<\_ACEOF
10469 #define HAVE___VA_COPY 1
10474 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10475 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10476 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 cat >conftest.
$ac_ext <<_ACEOF
10482 cat confdefs.h
>>conftest.
$ac_ext
10483 cat >>conftest.
$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10485 #include <setjmp.h>
10490 sigsetjmp( buf, 1 );
10491 siglongjmp( buf, 1 );
10496 rm -f conftest.
$ac_objext conftest
$ac_exeext
10497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10498 (eval $ac_link) 2>conftest.er1
10500 grep -v '^ *+' conftest.er1
>conftest.err
10502 cat conftest.err
>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); } &&
10505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; } &&
10511 { ac_try
='test -s conftest$ac_exeext'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; }; then
10517 ac_cv_c_sigsetjmp
="yes"
10519 echo "$as_me: failed program was:" >&5
10520 sed 's/^/| /' conftest.
$ac_ext >&5
10522 ac_cv_c_sigsetjmp
="no"
10524 rm -f conftest.err conftest.
$ac_objext \
10525 conftest
$ac_exeext conftest.
$ac_ext
10528 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10529 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10530 if test "$ac_cv_c_sigsetjmp" = "yes"
10533 cat >>confdefs.h
<<\_ACEOF
10534 #define HAVE_SIGSETJMP 1
10539 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10540 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10541 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10542 echo $ECHO_N "(cached) $ECHO_C" >&6
10544 cat >conftest.
$ac_ext <<_ACEOF
10547 cat confdefs.h
>>conftest.
$ac_ext
10548 cat >>conftest.
$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10550 #define _GNU_SOURCE
10551 #include <pthread.h>
10556 if ((pthread_rwlock_t *) 0)
10558 if (sizeof (pthread_rwlock_t))
10564 rm -f conftest.
$ac_objext
10565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10566 (eval $ac_compile) 2>conftest.er1
10568 grep -v '^ *+' conftest.er1
>conftest.err
10570 cat conftest.err
>&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; } &&
10579 { ac_try
='test -s conftest.$ac_objext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 ac_cv_type_pthread_rwlock_t
=yes
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.
$ac_ext >&5
10590 ac_cv_type_pthread_rwlock_t
=no
10592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10594 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10595 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10596 if test $ac_cv_type_pthread_rwlock_t = yes; then
10598 cat >>confdefs.h
<<_ACEOF
10599 #define HAVE_PTHREAD_RWLOCK_T 1
10604 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10605 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10606 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10607 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 cat >conftest.
$ac_ext <<_ACEOF
10612 cat confdefs.h
>>conftest.
$ac_ext
10613 cat >>conftest.
$ac_ext <<_ACEOF
10614 /* end confdefs.h. */
10615 #define _GNU_SOURCE
10616 #include <pthread.h>
10621 if ((pthread_rwlockattr_t *) 0)
10623 if (sizeof (pthread_rwlockattr_t))
10629 rm -f conftest.
$ac_objext
10630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10631 (eval $ac_compile) 2>conftest.er1
10633 grep -v '^ *+' conftest.er1
>conftest.err
10635 cat conftest.err
>&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10640 (eval $ac_try) 2>&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); }; } &&
10644 { ac_try
='test -s conftest.$ac_objext'
10645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 (eval $ac_try) 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); }; }; then
10650 ac_cv_type_pthread_rwlockattr_t
=yes
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.
$ac_ext >&5
10655 ac_cv_type_pthread_rwlockattr_t
=no
10657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10659 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10660 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10661 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10663 cat >>confdefs.h
<<_ACEOF
10664 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10671 ac_save_LIBS
="$LIBS"
10672 LIBS
="$LIBS $LIBPTHREAD"
10677 pthread_getattr_np \
10678 pthread_get_stackaddr_np \
10679 pthread_get_stacksize_np \
10682 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10683 echo "$as_me:$LINENO: checking for $ac_func" >&5
10684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_var+set}\" = set"; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 cat >conftest.
$ac_ext <<_ACEOF
10691 cat confdefs.h
>>conftest.
$ac_ext
10692 cat >>conftest.
$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10696 #define $ac_func innocuous_$ac_func
10698 /* System header to define __stub macros and hopefully few prototypes,
10699 which can conflict with char $ac_func (); below.
10700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10701 <limits.h> exists even on freestanding compilers. */
10704 # include <limits.h>
10706 # include <assert.h>
10711 /* Override any gcc2 internal prototype to avoid an error. */
10716 /* We use char because int might match the return type of a gcc2
10717 builtin and then its argument prototype would still apply. */
10719 /* The GNU C library defines this for functions which it implements
10720 to always fail with ENOSYS. Some functions are actually named
10721 something starting with __ and the normal name is an alias. */
10722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10725 char (*f) () = $ac_func;
10734 return f != $ac_func;
10739 rm -f conftest.
$ac_objext conftest
$ac_exeext
10740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10741 (eval $ac_link) 2>conftest.er1
10743 grep -v '^ *+' conftest.er1
>conftest.err
10745 cat conftest.err
>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } &&
10748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; } &&
10754 { ac_try
='test -s conftest$ac_exeext'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; }; then
10760 eval "$as_ac_var=yes"
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.
$ac_ext >&5
10765 eval "$as_ac_var=no"
10767 rm -f conftest.err conftest.
$ac_objext \
10768 conftest
$ac_exeext conftest.
$ac_ext
10770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10772 if test `eval echo '${'$as_ac_var'}'` = yes; then
10773 cat >>confdefs.h
<<_ACEOF
10774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10780 LIBS
="$ac_save_LIBS"
10785 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10787 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10789 echo "$as_me:$LINENO: checking for $ac_header" >&5
10790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10797 # Is the header compilable?
10798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10800 cat >conftest.
$ac_ext <<_ACEOF
10803 cat confdefs.h
>>conftest.
$ac_ext
10804 cat >>conftest.
$ac_ext <<_ACEOF
10805 /* end confdefs.h. */
10806 $ac_includes_default
10807 #include <$ac_header>
10809 rm -f conftest.
$ac_objext
10810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10811 (eval $ac_compile) 2>conftest.er1
10813 grep -v '^ *+' conftest.er1
>conftest.err
10815 cat conftest.err
>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); } &&
10818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 (eval $ac_try) 2>&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); }; } &&
10824 { ac_try
='test -s conftest.$ac_objext'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; }; then
10830 ac_header_compiler
=yes
10832 echo "$as_me: failed program was:" >&5
10833 sed 's/^/| /' conftest.
$ac_ext >&5
10835 ac_header_compiler
=no
10837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10839 echo "${ECHO_T}$ac_header_compiler" >&6
10841 # Is the header present?
10842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10844 cat >conftest.
$ac_ext <<_ACEOF
10847 cat confdefs.h
>>conftest.
$ac_ext
10848 cat >>conftest.
$ac_ext <<_ACEOF
10849 /* end confdefs.h. */
10850 #include <$ac_header>
10852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10855 grep -v '^ *+' conftest.er1
>conftest.err
10857 cat conftest.err
>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); } >/dev
/null
; then
10860 if test -s conftest.err
; then
10861 ac_cpp_err
=$ac_c_preproc_warn_flag
10862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10869 if test -z "$ac_cpp_err"; then
10870 ac_header_preproc
=yes
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.
$ac_ext >&5
10875 ac_header_preproc
=no
10877 rm -f conftest.err conftest.
$ac_ext
10878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10879 echo "${ECHO_T}$ac_header_preproc" >&6
10881 # So? What about this header?
10882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10887 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10888 ac_header_preproc
=yes
10891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10895 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10896 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10897 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10898 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10901 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10902 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10905 ## ------------------------------------ ##
10906 ## Report this to wine-devel@winehq.org ##
10907 ## ------------------------------------ ##
10910 sed "s/^/$as_me: WARNING: /" >&2
10913 echo "$as_me:$LINENO: checking for $ac_header" >&5
10914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10916 echo $ECHO_N "(cached) $ECHO_C" >&6
10918 eval "$as_ac_Header=\$ac_header_preproc"
10920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10925 cat >>confdefs.h
<<_ACEOF
10926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10934 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10935 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10936 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 cat >conftest.
$ac_ext <<_ACEOF
10942 cat confdefs.h
>>conftest.
$ac_ext
10943 cat >>conftest.
$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10946 #if defined(HAVE_SYS_SOUNDCARD_H)
10947 #include <sys/soundcard.h>
10948 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10949 #include <machine/soundcard.h>
10950 #elif defined(HAVE_SOUNDCARD_H)
10951 #include <soundcard.h>
10959 /* check for one of the Open Sound System specific SNDCTL_ defines */
10960 #if !defined(SNDCTL_DSP_STEREO)
10961 #error No open sound system
10968 rm -f conftest.
$ac_objext
10969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10970 (eval $ac_compile) 2>conftest.er1
10972 grep -v '^ *+' conftest.er1
>conftest.err
10974 cat conftest.err
>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } &&
10977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try
='test -s conftest.$ac_objext'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; }; then
10989 ac_cv_c_opensoundsystem
="yes"
10991 echo "$as_me: failed program was:" >&5
10992 sed 's/^/| /' conftest.
$ac_ext >&5
10994 ac_cv_c_opensoundsystem
="no"
10996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10998 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10999 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11001 if test "$ac_cv_c_opensoundsystem" = "yes"
11004 cat >>confdefs.h
<<\_ACEOF
11010 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11011 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11012 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 cat >conftest.
$ac_ext <<_ACEOF
11018 cat confdefs.h
>>conftest.
$ac_ext
11019 cat >>conftest.
$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11022 #if defined(HAVE_SYS_SOUNDCARD_H)
11023 #include <sys/soundcard.h>
11024 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11025 #include <machine/soundcard.h>
11026 #elif defined(HAVE_SOUNDCARD_H)
11027 #include <soundcard.h>
11035 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11036 #if !defined(SNDCTL_SEQ_SYNC)
11037 #error No open sound system MIDI interface
11044 rm -f conftest.
$ac_objext
11045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11046 (eval $ac_compile) 2>conftest.er1
11048 grep -v '^ *+' conftest.er1
>conftest.err
11050 cat conftest.err
>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } &&
11053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11055 (eval $ac_try) 2>&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); }; } &&
11059 { ac_try
='test -s conftest.$ac_objext'
11060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11061 (eval $ac_try) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; }; then
11065 ac_cv_c_opensoundsystem_midi
="yes"
11067 echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.
$ac_ext >&5
11070 ac_cv_c_opensoundsystem_midi
="no"
11072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11074 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11075 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11077 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11080 cat >>confdefs.h
<<\_ACEOF
11081 #define HAVE_OSS_MIDI 1
11086 # Extract the first word of "artsc-config", so it can be a program name with args.
11087 set dummy artsc-config
; ac_word
=$2
11088 echo "$as_me:$LINENO: checking for $ac_word" >&5
11089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11090 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 case $ARTSCCONFIG in
11095 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11099 for as_dir
in $PATH
11102 test -z "$as_dir" && as_dir
=.
11103 for ac_exec_ext
in '' $ac_executable_extensions; do
11104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11105 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11115 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11117 if test -n "$ARTSCCONFIG"; then
11118 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11119 echo "${ECHO_T}$ARTSCCONFIG" >&6
11121 echo "$as_me:$LINENO: result: no" >&5
11122 echo "${ECHO_T}no" >&6
11125 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11128 for i
in `$ARTSCCONFIG --cflags`
11131 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11134 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11135 save_CFLAGS
="$CFLAGS"
11136 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11137 cat >conftest.
$ac_ext <<_ACEOF
11140 cat confdefs.h
>>conftest.
$ac_ext
11141 cat >>conftest.
$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11147 arts_stream_t stream;
11152 rm -f conftest.
$ac_objext
11153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11154 (eval $ac_compile) 2>conftest.er1
11156 grep -v '^ *+' conftest.er1
>conftest.err
11158 cat conftest.err
>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } &&
11161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try
='test -s conftest.$ac_objext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11173 ARTSLIBS
=$ARTSC_LIBS
11175 ARTSINCL
=$ARTSC_CFLAGS
11178 cat >>confdefs.h
<<\_ACEOF
11179 #define HAVE_ARTS 1
11183 echo "$as_me: failed program was:" >&5
11184 sed 's/^/| /' conftest.
$ac_ext >&5
11187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11188 CFLAGS
="$save_CFLAGS"
11195 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11197 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11199 echo "$as_me:$LINENO: checking for $ac_header" >&5
11200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11207 # Is the header compilable?
11208 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11209 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11210 cat >conftest.
$ac_ext <<_ACEOF
11213 cat confdefs.h
>>conftest.
$ac_ext
11214 cat >>conftest.
$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11216 $ac_includes_default
11217 #include <$ac_header>
11219 rm -f conftest.
$ac_objext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221 (eval $ac_compile) 2>conftest.er1
11223 grep -v '^ *+' conftest.er1
>conftest.err
11225 cat conftest.err
>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } &&
11228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try
='test -s conftest.$ac_objext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 ac_header_compiler
=yes
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.
$ac_ext >&5
11245 ac_header_compiler
=no
11247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11249 echo "${ECHO_T}$ac_header_compiler" >&6
11251 # Is the header present?
11252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11254 cat >conftest.
$ac_ext <<_ACEOF
11257 cat confdefs.h
>>conftest.
$ac_ext
11258 cat >>conftest.
$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11260 #include <$ac_header>
11262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11265 grep -v '^ *+' conftest.er1
>conftest.err
11267 cat conftest.err
>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } >/dev
/null
; then
11270 if test -s conftest.err
; then
11271 ac_cpp_err
=$ac_c_preproc_warn_flag
11272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11279 if test -z "$ac_cpp_err"; then
11280 ac_header_preproc
=yes
11282 echo "$as_me: failed program was:" >&5
11283 sed 's/^/| /' conftest.
$ac_ext >&5
11285 ac_header_preproc
=no
11287 rm -f conftest.err conftest.
$ac_ext
11288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11289 echo "${ECHO_T}$ac_header_preproc" >&6
11291 # So? What about this header?
11292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11298 ac_header_preproc
=yes
11301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11315 ## ------------------------------------ ##
11316 ## Report this to wine-devel@winehq.org ##
11317 ## ------------------------------------ ##
11320 sed "s/^/$as_me: WARNING: /" >&2
11323 echo "$as_me:$LINENO: checking for $ac_header" >&5
11324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 eval "$as_ac_Header=\$ac_header_preproc"
11330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11335 cat >>confdefs.h
<<_ACEOF
11336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11343 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11345 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11346 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11347 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 ac_check_lib_save_LIBS
=$LIBS
11351 LIBS
="-lasound $LIBS"
11352 cat >conftest.
$ac_ext <<_ACEOF
11355 cat confdefs.h
>>conftest.
$ac_ext
11356 cat >>conftest.
$ac_ext <<_ACEOF
11357 /* end confdefs.h. */
11359 /* Override any gcc2 internal prototype to avoid an error. */
11363 /* We use char because int might match the return type of a gcc2
11364 builtin and then its argument prototype would still apply. */
11365 char snd_pcm_open ();
11374 rm -f conftest.
$ac_objext conftest
$ac_exeext
11375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11376 (eval $ac_link) 2>conftest.er1
11378 grep -v '^ *+' conftest.er1
>conftest.err
11380 cat conftest.err
>&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } &&
11383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; } &&
11389 { ac_try
='test -s conftest$ac_exeext'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; }; then
11395 ac_cv_lib_asound_snd_pcm_open
=yes
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.
$ac_ext >&5
11400 ac_cv_lib_asound_snd_pcm_open
=no
11402 rm -f conftest.err conftest.
$ac_objext \
11403 conftest
$ac_exeext conftest.
$ac_ext
11404 LIBS
=$ac_check_lib_save_LIBS
11406 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11407 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11408 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11410 cat >>confdefs.h
<<\_ACEOF
11411 #define HAVE_ALSA 1
11414 ALSALIBS
="-lasound"
11423 for ac_header
in libaudioio.h
11425 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11427 echo "$as_me:$LINENO: checking for $ac_header" >&5
11428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11435 # Is the header compilable?
11436 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11437 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11438 cat >conftest.
$ac_ext <<_ACEOF
11441 cat confdefs.h
>>conftest.
$ac_ext
11442 cat >>conftest.
$ac_ext <<_ACEOF
11443 /* end confdefs.h. */
11444 $ac_includes_default
11445 #include <$ac_header>
11447 rm -f conftest.
$ac_objext
11448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11449 (eval $ac_compile) 2>conftest.er1
11451 grep -v '^ *+' conftest.er1
>conftest.err
11453 cat conftest.err
>&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } &&
11456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; } &&
11462 { ac_try
='test -s conftest.$ac_objext'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; }; then
11468 ac_header_compiler
=yes
11470 echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.
$ac_ext >&5
11473 ac_header_compiler
=no
11475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11477 echo "${ECHO_T}$ac_header_compiler" >&6
11479 # Is the header present?
11480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11482 cat >conftest.
$ac_ext <<_ACEOF
11485 cat confdefs.h
>>conftest.
$ac_ext
11486 cat >>conftest.
$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 #include <$ac_header>
11490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11493 grep -v '^ *+' conftest.er1
>conftest.err
11495 cat conftest.err
>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } >/dev
/null
; then
11498 if test -s conftest.err
; then
11499 ac_cpp_err
=$ac_c_preproc_warn_flag
11500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11507 if test -z "$ac_cpp_err"; then
11508 ac_header_preproc
=yes
11510 echo "$as_me: failed program was:" >&5
11511 sed 's/^/| /' conftest.
$ac_ext >&5
11513 ac_header_preproc
=no
11515 rm -f conftest.err conftest.
$ac_ext
11516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11517 echo "${ECHO_T}$ac_header_preproc" >&6
11519 # So? What about this header?
11520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11525 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11526 ac_header_preproc
=yes
11529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11533 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11534 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11535 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11536 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11540 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11543 ## ------------------------------------ ##
11544 ## Report this to wine-devel@winehq.org ##
11545 ## ------------------------------------ ##
11548 sed "s/^/$as_me: WARNING: /" >&2
11551 echo "$as_me:$LINENO: checking for $ac_header" >&5
11552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11554 echo $ECHO_N "(cached) $ECHO_C" >&6
11556 eval "$as_ac_Header=\$ac_header_preproc"
11558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11563 cat >>confdefs.h
<<_ACEOF
11564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11566 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11567 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11568 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 ac_check_lib_save_LIBS
=$LIBS
11572 LIBS
="-laudioio $LIBS"
11573 cat >conftest.
$ac_ext <<_ACEOF
11576 cat confdefs.h
>>conftest.
$ac_ext
11577 cat >>conftest.
$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11580 /* Override any gcc2 internal prototype to avoid an error. */
11584 /* We use char because int might match the return type of a gcc2
11585 builtin and then its argument prototype would still apply. */
11586 char AudioIOGetVersion ();
11590 AudioIOGetVersion ();
11595 rm -f conftest.
$ac_objext conftest
$ac_exeext
11596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11597 (eval $ac_link) 2>conftest.er1
11599 grep -v '^ *+' conftest.er1
>conftest.err
11601 cat conftest.err
>&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } &&
11604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606 (eval $ac_try) 2>&5
11608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609 (exit $ac_status); }; } &&
11610 { ac_try
='test -s conftest$ac_exeext'
11611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11612 (eval $ac_try) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }; }; then
11616 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11618 echo "$as_me: failed program was:" >&5
11619 sed 's/^/| /' conftest.
$ac_ext >&5
11621 ac_cv_lib_audioio_AudioIOGetVersion
=no
11623 rm -f conftest.err conftest.
$ac_objext \
11624 conftest
$ac_exeext conftest.
$ac_ext
11625 LIBS
=$ac_check_lib_save_LIBS
11627 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11628 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11629 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11630 AUDIOIOLIBS
="-laudioio"
11632 cat >>confdefs.h
<<\_ACEOF
11633 #define HAVE_LIBAUDIOIO 1
11645 for ac_header
in capi20.h
11647 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11649 echo "$as_me:$LINENO: checking for $ac_header" >&5
11650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11652 echo $ECHO_N "(cached) $ECHO_C" >&6
11654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11657 # Is the header compilable?
11658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11660 cat >conftest.
$ac_ext <<_ACEOF
11663 cat confdefs.h
>>conftest.
$ac_ext
11664 cat >>conftest.
$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11666 $ac_includes_default
11667 #include <$ac_header>
11669 rm -f conftest.
$ac_objext
11670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11671 (eval $ac_compile) 2>conftest.er1
11673 grep -v '^ *+' conftest.er1
>conftest.err
11675 cat conftest.err
>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); } &&
11678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680 (eval $ac_try) 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; } &&
11684 { ac_try
='test -s conftest.$ac_objext'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; }; then
11690 ac_header_compiler
=yes
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.
$ac_ext >&5
11695 ac_header_compiler
=no
11697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11699 echo "${ECHO_T}$ac_header_compiler" >&6
11701 # Is the header present?
11702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11704 cat >conftest.
$ac_ext <<_ACEOF
11707 cat confdefs.h
>>conftest.
$ac_ext
11708 cat >>conftest.
$ac_ext <<_ACEOF
11709 /* end confdefs.h. */
11710 #include <$ac_header>
11712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11715 grep -v '^ *+' conftest.er1
>conftest.err
11717 cat conftest.err
>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } >/dev
/null
; then
11720 if test -s conftest.err
; then
11721 ac_cpp_err
=$ac_c_preproc_warn_flag
11722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11729 if test -z "$ac_cpp_err"; then
11730 ac_header_preproc
=yes
11732 echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.
$ac_ext >&5
11735 ac_header_preproc
=no
11737 rm -f conftest.err conftest.
$ac_ext
11738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11739 echo "${ECHO_T}$ac_header_preproc" >&6
11741 # So? What about this header?
11742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11748 ac_header_preproc
=yes
11751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11765 ## ------------------------------------ ##
11766 ## Report this to wine-devel@winehq.org ##
11767 ## ------------------------------------ ##
11770 sed "s/^/$as_me: WARNING: /" >&2
11773 echo "$as_me:$LINENO: checking for $ac_header" >&5
11774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 eval "$as_ac_Header=\$ac_header_preproc"
11780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11785 cat >>confdefs.h
<<_ACEOF
11786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11790 for ac_header
in linux
/capi.h
11792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11794 echo "$as_me:$LINENO: checking for $ac_header" >&5
11795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11802 # Is the header compilable?
11803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11805 cat >conftest.
$ac_ext <<_ACEOF
11808 cat confdefs.h
>>conftest.
$ac_ext
11809 cat >>conftest.
$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 $ac_includes_default
11812 #include <$ac_header>
11814 rm -f conftest.
$ac_objext
11815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11816 (eval $ac_compile) 2>conftest.er1
11818 grep -v '^ *+' conftest.er1
>conftest.err
11820 cat conftest.err
>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); } &&
11823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11825 (eval $ac_try) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; } &&
11829 { ac_try
='test -s conftest.$ac_objext'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; }; then
11835 ac_header_compiler
=yes
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11840 ac_header_compiler
=no
11842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11844 echo "${ECHO_T}$ac_header_compiler" >&6
11846 # Is the header present?
11847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11849 cat >conftest.
$ac_ext <<_ACEOF
11852 cat confdefs.h
>>conftest.
$ac_ext
11853 cat >>conftest.
$ac_ext <<_ACEOF
11854 /* end confdefs.h. */
11855 #include <$ac_header>
11857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11860 grep -v '^ *+' conftest.er1
>conftest.err
11862 cat conftest.err
>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } >/dev
/null
; then
11865 if test -s conftest.err
; then
11866 ac_cpp_err
=$ac_c_preproc_warn_flag
11867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11874 if test -z "$ac_cpp_err"; then
11875 ac_header_preproc
=yes
11877 echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.
$ac_ext >&5
11880 ac_header_preproc
=no
11882 rm -f conftest.err conftest.
$ac_ext
11883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11884 echo "${ECHO_T}$ac_header_preproc" >&6
11886 # So? What about this header?
11887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11893 ac_header_preproc
=yes
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11901 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11903 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11907 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11910 ## ------------------------------------ ##
11911 ## Report this to wine-devel@winehq.org ##
11912 ## ------------------------------------ ##
11915 sed "s/^/$as_me: WARNING: /" >&2
11918 echo "$as_me:$LINENO: checking for $ac_header" >&5
11919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 eval "$as_ac_Header=\$ac_header_preproc"
11925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11930 cat >>confdefs.h
<<_ACEOF
11931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11934 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11935 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11936 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11937 echo $ECHO_N "(cached) $ECHO_C" >&6
11939 ac_check_lib_save_LIBS
=$LIBS
11940 LIBS
="-lcapi20 $LIBS"
11941 cat >conftest.
$ac_ext <<_ACEOF
11944 cat confdefs.h
>>conftest.
$ac_ext
11945 cat >>conftest.
$ac_ext <<_ACEOF
11946 /* end confdefs.h. */
11948 /* Override any gcc2 internal prototype to avoid an error. */
11952 /* We use char because int might match the return type of a gcc2
11953 builtin and then its argument prototype would still apply. */
11954 char capi20_register ();
11958 capi20_register ();
11963 rm -f conftest.
$ac_objext conftest
$ac_exeext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11965 (eval $ac_link) 2>conftest.er1
11967 grep -v '^ *+' conftest.er1
>conftest.err
11969 cat conftest.err
>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11974 (eval $ac_try) 2>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); }; } &&
11978 { ac_try
='test -s conftest$ac_exeext'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; }; then
11984 ac_cv_lib_capi20_capi20_register
=yes
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.
$ac_ext >&5
11989 ac_cv_lib_capi20_capi20_register
=no
11991 rm -f conftest.err conftest.
$ac_objext \
11992 conftest
$ac_exeext conftest.
$ac_ext
11993 LIBS
=$ac_check_lib_save_LIBS
11995 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
11996 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
11997 if test $ac_cv_lib_capi20_capi20_register = yes; then
12000 cat >>confdefs.h
<<\_ACEOF
12001 #define HAVE_CAPI4LINUX 1
12004 CAPI4LINUXLIBS
="-lcapi20"
12021 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12022 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12023 if test "${ac_cv_mmap64_works+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 if test "$cross_compiling" = yes; then
12027 ac_cv_mmap64_works
="no"
12029 cat >conftest.
$ac_ext <<_ACEOF
12032 cat confdefs.h
>>conftest.
$ac_ext
12033 cat >>conftest.
$ac_ext <<_ACEOF
12034 /* end confdefs.h. */
12036 #define _FILE_OFFSET_BITS 64
12038 #include <unistd.h>
12040 #include <sys/mman.h>
12043 int main(int argc,char **argv) {
12044 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12045 if (fd == -1) exit(1);
12047 unlink("conftest.map");
12049 write(fd,"test",4);
12051 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12057 fprintf(stderr,"success!\n");
12063 rm -f conftest
$ac_exeext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065 (eval $ac_link) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 ac_cv_mmap64_works
="yes"
12076 echo "$as_me: program exited with status $ac_status" >&5
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.
$ac_ext >&5
12080 ( exit $ac_status )
12081 ac_cv_mmap64_works
="no"
12083 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12086 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12087 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12089 if test "$ac_cv_mmap64_works" = "yes"
12092 cat >>confdefs.h
<<\_ACEOF
12093 #define _FILE_OFFSET_BITS 64
12101 if test "x${GCC}" = "xyes"
12103 EXTRACFLAGS
="-Wall -pipe"
12105 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12106 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12107 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 if test "$cross_compiling" = yes; then
12111 ac_cv_c_gcc_strength_bug
="yes"
12113 cat >conftest.
$ac_ext <<_ACEOF
12116 cat confdefs.h
>>conftest.
$ac_ext
12117 cat >>conftest.
$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12120 int L[4] = {0,1,2,3};
12122 static int Array[3];
12123 unsigned int B = 3;
12125 for(i=0; i<B; i++) Array[i] = i - 3;
12126 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12129 exit( Array[1] != -2 || L[2] != 3);
12132 rm -f conftest
$ac_exeext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12134 (eval $ac_link) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_cv_c_gcc_strength_bug
="no"
12145 echo "$as_me: program exited with status $ac_status" >&5
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.
$ac_ext >&5
12149 ( exit $ac_status )
12150 ac_cv_c_gcc_strength_bug
="yes"
12152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12155 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12156 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12157 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12159 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12162 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12163 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12164 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12167 ac_wine_try_cflags_saved
=$CFLAGS
12168 CFLAGS
="$CFLAGS -fshort-wchar"
12169 cat >conftest.
$ac_ext <<_ACEOF
12172 cat confdefs.h
>>conftest.
$ac_ext
12173 cat >>conftest.
$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12184 rm -f conftest.
$ac_objext conftest
$ac_exeext
12185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12186 (eval $ac_link) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1
>conftest.err
12190 cat conftest.err
>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } &&
12193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; } &&
12199 { ac_try
='test -s conftest$ac_exeext'
12200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12201 (eval $ac_try) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); }; }; then
12205 ac_cv_c_gcc_fshort_wchar
="yes"
12207 echo "$as_me: failed program was:" >&5
12208 sed 's/^/| /' conftest.
$ac_ext >&5
12210 ac_cv_c_gcc_fshort_wchar
="no"
12212 rm -f conftest.err conftest.
$ac_objext \
12213 conftest
$ac_exeext conftest.
$ac_ext
12214 CFLAGS
=$ac_wine_try_cflags_saved
12216 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12217 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12218 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12221 cat >>confdefs.h
<<\_ACEOF
12222 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12227 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12228 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12229 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 ac_wine_try_cflags_saved
=$CFLAGS
12233 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12234 cat >conftest.
$ac_ext <<_ACEOF
12237 cat confdefs.h
>>conftest.
$ac_ext
12238 cat >>conftest.
$ac_ext <<_ACEOF
12239 /* end confdefs.h. */
12249 rm -f conftest.
$ac_objext conftest
$ac_exeext
12250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12251 (eval $ac_link) 2>conftest.er1
12253 grep -v '^ *+' conftest.er1
>conftest.err
12255 cat conftest.err
>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try
='test -s conftest$ac_exeext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_c_gcc_stack_boundary
="yes"
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 ac_cv_c_gcc_stack_boundary
="no"
12277 rm -f conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12279 CFLAGS
=$ac_wine_try_cflags_saved
12281 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12282 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12283 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12285 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12288 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12289 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12290 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 ac_wine_try_cflags_saved
=$CFLAGS
12294 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12295 cat >conftest.
$ac_ext <<_ACEOF
12298 cat confdefs.h
>>conftest.
$ac_ext
12299 cat >>conftest.
$ac_ext <<_ACEOF
12300 /* end confdefs.h. */
12310 rm -f conftest.
$ac_objext conftest
$ac_exeext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12312 (eval $ac_link) 2>conftest.er1
12314 grep -v '^ *+' conftest.er1
>conftest.err
12316 cat conftest.err
>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } &&
12319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; } &&
12325 { ac_try
='test -s conftest$ac_exeext'
12326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327 (eval $ac_try) 2>&5
12329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330 (exit $ac_status); }; }; then
12331 ac_cv_c_gcc_no_strict_aliasing
="yes"
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.
$ac_ext >&5
12336 ac_cv_c_gcc_no_strict_aliasing
="no"
12338 rm -f conftest.err conftest.
$ac_objext \
12339 conftest
$ac_exeext conftest.
$ac_ext
12340 CFLAGS
=$ac_wine_try_cflags_saved
12342 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12343 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12344 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12346 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12349 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12350 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12351 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12354 ac_wine_try_cflags_saved
=$CFLAGS
12355 CFLAGS
="$CFLAGS -gstabs+"
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12371 rm -f conftest.
$ac_objext conftest
$ac_exeext
12372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12373 (eval $ac_link) 2>conftest.er1
12375 grep -v '^ *+' conftest.er1
>conftest.err
12377 cat conftest.err
>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } &&
12380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; } &&
12386 { ac_try
='test -s conftest$ac_exeext'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12392 ac_cv_c_gcc_gstabs
="yes"
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.
$ac_ext >&5
12397 ac_cv_c_gcc_gstabs
="no"
12399 rm -f conftest.err conftest.
$ac_objext \
12400 conftest
$ac_exeext conftest.
$ac_ext
12401 CFLAGS
=$ac_wine_try_cflags_saved
12403 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12404 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12405 if test "$ac_cv_c_gcc_gstabs" = "yes"
12407 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12410 saved_CFLAGS
="$CFLAGS"
12411 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12412 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12413 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12414 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 cat >conftest.
$ac_ext <<_ACEOF
12420 cat confdefs.h
>>conftest.
$ac_ext
12421 cat >>conftest.
$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 #include <string.h>
12432 rm -f conftest.
$ac_objext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12434 (eval $ac_compile) 2>conftest.er1
12436 grep -v '^ *+' conftest.er1
>conftest.err
12438 cat conftest.err
>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } &&
12441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try
='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 ac_cv_c_string_h_warnings
=no
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.
$ac_ext >&5
12458 ac_cv_c_string_h_warnings
=yes
12460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12462 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12463 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12464 CFLAGS
="$saved_CFLAGS"
12465 if test "$ac_cv_c_string_h_warnings" = "no"
12467 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12472 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12473 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12474 if test "${ac_cv_asm_func_def+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12477 cat >conftest.
$ac_ext <<_ACEOF
12480 cat confdefs.h
>>conftest.
$ac_ext
12481 cat >>conftest.
$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 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"); }
12493 rm -f conftest.
$ac_objext conftest
$ac_exeext
12494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12495 (eval $ac_link) 2>conftest.er1
12497 grep -v '^ *+' conftest.er1
>conftest.err
12499 cat conftest.err
>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try
='test -s conftest$ac_exeext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 ac_cv_asm_func_def
=".def"
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.
$ac_ext >&5
12519 cat >conftest.
$ac_ext <<_ACEOF
12522 cat confdefs.h
>>conftest.
$ac_ext
12523 cat >>conftest.
$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12525 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12535 rm -f conftest.
$ac_objext conftest
$ac_exeext
12536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12537 (eval $ac_link) 2>conftest.er1
12539 grep -v '^ *+' conftest.er1
>conftest.err
12541 cat conftest.err
>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } &&
12544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; } &&
12550 { ac_try
='test -s conftest$ac_exeext'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; }; then
12556 ac_cv_asm_func_def
=".type @function"
12558 echo "$as_me: failed program was:" >&5
12559 sed 's/^/| /' conftest.
$ac_ext >&5
12561 cat >conftest.
$ac_ext <<_ACEOF
12564 cat confdefs.h
>>conftest.
$ac_ext
12565 cat >>conftest.
$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12577 rm -f conftest.
$ac_objext conftest
$ac_exeext
12578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12579 (eval $ac_link) 2>conftest.er1
12581 grep -v '^ *+' conftest.er1
>conftest.err
12583 cat conftest.err
>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; } &&
12592 { ac_try
='test -s conftest$ac_exeext'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; }; then
12598 ac_cv_asm_func_def
=".type 2"
12600 echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.
$ac_ext >&5
12603 ac_cv_asm_func_def
="unknown"
12605 rm -f conftest.err conftest.
$ac_objext \
12606 conftest
$ac_exeext conftest.
$ac_ext
12608 rm -f conftest.err conftest.
$ac_objext \
12609 conftest
$ac_exeext conftest.
$ac_ext
12611 rm -f conftest.err conftest.
$ac_objext \
12612 conftest
$ac_exeext conftest.
$ac_ext
12614 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12615 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12619 case "$ac_cv_asm_func_def" in
12621 cat >>confdefs.h
<<\_ACEOF
12622 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12626 cat >>confdefs.h
<<\_ACEOF
12627 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12631 cat >>confdefs.h
<<\_ACEOF
12632 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12636 cat >>confdefs.h
<<\_ACEOF
12637 #define __ASM_FUNC(name) ""
12643 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12644 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12645 if test "${ac_cv_c_extern_prefix+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 cat >conftest.
$ac_ext <<_ACEOF
12651 cat confdefs.h
>>conftest.
$ac_ext
12652 cat >>conftest.
$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12655 extern int ac_test;
12659 if (ac_test) return 1
12664 rm -f conftest.
$ac_objext conftest
$ac_exeext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12666 (eval $ac_link) 2>conftest.er1
12668 grep -v '^ *+' conftest.er1
>conftest.err
12670 cat conftest.err
>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; } &&
12679 { ac_try
='test -s conftest$ac_exeext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ac_cv_c_extern_prefix
="yes"
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.
$ac_ext >&5
12690 ac_cv_c_extern_prefix
="no"
12692 rm -f conftest.err conftest.
$ac_objext \
12693 conftest
$ac_exeext conftest.
$ac_ext
12695 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12696 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12700 if test "$ac_cv_c_extern_prefix" = "yes"
12702 cat >>confdefs.h
<<\_ACEOF
12703 #define __ASM_NAME(name) "_" name
12707 cat >>confdefs.h
<<\_ACEOF
12708 #define __ASM_NAME(name) name
12714 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12715 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12716 if test "${ac_cv_c_asm_string+set}" = set; then
12717 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 cat >conftest.
$ac_ext <<_ACEOF
12722 cat confdefs.h
>>conftest.
$ac_ext
12723 cat >>conftest.
$ac_ext <<_ACEOF
12724 /* end confdefs.h. */
12725 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12735 rm -f conftest.
$ac_objext conftest
$ac_exeext
12736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12737 (eval $ac_link) 2>conftest.er1
12739 grep -v '^ *+' conftest.er1
>conftest.err
12741 cat conftest.err
>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } &&
12744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746 (eval $ac_try) 2>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }; } &&
12750 { ac_try
='test -s conftest$ac_exeext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 ac_cv_c_asm_string
=".string"
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.
$ac_ext >&5
12761 cat >conftest.
$ac_ext <<_ACEOF
12764 cat confdefs.h
>>conftest.
$ac_ext
12765 cat >>conftest.
$ac_ext <<_ACEOF
12766 /* end confdefs.h. */
12767 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12777 rm -f conftest.
$ac_objext conftest
$ac_exeext
12778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12779 (eval $ac_link) 2>conftest.er1
12781 grep -v '^ *+' conftest.er1
>conftest.err
12783 cat conftest.err
>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; } &&
12792 { ac_try
='test -s conftest$ac_exeext'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; }; then
12798 ac_cv_c_asm_string
=".asciz"
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.
$ac_ext >&5
12803 cat >conftest.
$ac_ext <<_ACEOF
12806 cat confdefs.h
>>conftest.
$ac_ext
12807 cat >>conftest.
$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12809 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12819 rm -f conftest.
$ac_objext conftest
$ac_exeext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12821 (eval $ac_link) 2>conftest.er1
12823 grep -v '^ *+' conftest.er1
>conftest.err
12825 cat conftest.err
>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try
='test -s conftest$ac_exeext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_cv_c_asm_string
=".ascii"
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12846 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12847 { (exit 1); exit 1; }; }
12849 rm -f conftest.err conftest.
$ac_objext \
12850 conftest
$ac_exeext conftest.
$ac_ext
12852 rm -f conftest.err conftest.
$ac_objext \
12853 conftest
$ac_exeext conftest.
$ac_ext
12855 rm -f conftest.err conftest.
$ac_objext \
12856 conftest
$ac_exeext conftest.
$ac_ext
12858 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12859 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12862 cat >>confdefs.h
<<_ACEOF
12863 #define __ASM_STRING "$ac_cv_c_asm_string"
12868 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12869 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12870 if test "${ac_cv_c_asm_short+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12873 cat >conftest.
$ac_ext <<_ACEOF
12876 cat confdefs.h
>>conftest.
$ac_ext
12877 cat >>conftest.
$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12889 rm -f conftest.
$ac_objext conftest
$ac_exeext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12891 (eval $ac_link) 2>conftest.er1
12893 grep -v '^ *+' conftest.er1
>conftest.err
12895 cat conftest.err
>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try
='test -s conftest$ac_exeext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 ac_cv_c_asm_short
=".short"
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.
$ac_ext >&5
12915 cat >conftest.
$ac_ext <<_ACEOF
12918 cat confdefs.h
>>conftest.
$ac_ext
12919 cat >>conftest.
$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12931 rm -f conftest.
$ac_objext conftest
$ac_exeext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12933 (eval $ac_link) 2>conftest.er1
12935 grep -v '^ *+' conftest.er1
>conftest.err
12937 cat conftest.err
>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12942 (eval $ac_try) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; } &&
12946 { ac_try
='test -s conftest$ac_exeext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_cv_c_asm_short
=".half"
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.
$ac_ext >&5
12957 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12958 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12959 { (exit 1); exit 1; }; }
12961 rm -f conftest.err conftest.
$ac_objext \
12962 conftest
$ac_exeext conftest.
$ac_ext
12964 rm -f conftest.err conftest.
$ac_objext \
12965 conftest
$ac_exeext conftest.
$ac_ext
12967 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12968 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12971 cat >>confdefs.h
<<_ACEOF
12972 #define __ASM_SHORT "$ac_cv_c_asm_short"
12977 echo "$as_me:$LINENO: checking for .size in assembler" >&5
12978 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
12979 if test "${ac_cv_c_asm_size+set}" = set; then
12980 echo $ECHO_N "(cached) $ECHO_C" >&6
12982 cat >conftest.
$ac_ext <<_ACEOF
12985 cat confdefs.h
>>conftest.
$ac_ext
12986 cat >>conftest.
$ac_ext <<_ACEOF
12987 /* end confdefs.h. */
12988 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
12998 rm -f conftest.
$ac_objext conftest
$ac_exeext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13000 (eval $ac_link) 2>conftest.er1
13002 grep -v '^ *+' conftest.er1
>conftest.err
13004 cat conftest.err
>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; } &&
13013 { ac_try
='test -s conftest$ac_exeext'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; }; then
13019 ac_cv_c_asm_size
="yes"
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.
$ac_ext >&5
13024 ac_cv_c_asm_size
="no"
13026 rm -f conftest.err conftest.
$ac_objext \
13027 conftest
$ac_exeext conftest.
$ac_ext
13029 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13030 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13032 if test "$ac_cv_c_asm_size" = "yes"
13035 cat >>confdefs.h
<<\_ACEOF
13036 #define HAVE_ASM_DOT_SIZE 1
13044 DLLFLAGS
="-D_REENTRANT"
13059 if test -n "$ac_tool_prefix"; then
13060 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13061 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13062 echo "$as_me:$LINENO: checking for $ac_word" >&5
13063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13064 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13067 if test -n "$DLLTOOL"; then
13068 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13071 for as_dir
in $PATH
13074 test -z "$as_dir" && as_dir
=.
13075 for ac_exec_ext
in '' $ac_executable_extensions; do
13076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13077 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13086 DLLTOOL
=$ac_cv_prog_DLLTOOL
13087 if test -n "$DLLTOOL"; then
13088 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13089 echo "${ECHO_T}$DLLTOOL" >&6
13091 echo "$as_me:$LINENO: result: no" >&5
13092 echo "${ECHO_T}no" >&6
13096 if test -z "$ac_cv_prog_DLLTOOL"; then
13097 ac_ct_DLLTOOL
=$DLLTOOL
13098 # Extract the first word of "dlltool", so it can be a program name with args.
13099 set dummy dlltool
; ac_word
=$2
13100 echo "$as_me:$LINENO: checking for $ac_word" >&5
13101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13102 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 if test -n "$ac_ct_DLLTOOL"; then
13106 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13109 for as_dir
in $PATH
13112 test -z "$as_dir" && as_dir
=.
13113 for ac_exec_ext
in '' $ac_executable_extensions; do
13114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13115 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13122 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13125 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13126 if test -n "$ac_ct_DLLTOOL"; then
13127 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13128 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13130 echo "$as_me:$LINENO: result: no" >&5
13131 echo "${ECHO_T}no" >&6
13134 DLLTOOL
=$ac_ct_DLLTOOL
13136 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13139 if test -n "$ac_tool_prefix"; then
13140 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13141 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13142 echo "$as_me:$LINENO: checking for $ac_word" >&5
13143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13144 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 if test -n "$DLLWRAP"; then
13148 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13151 for as_dir
in $PATH
13154 test -z "$as_dir" && as_dir
=.
13155 for ac_exec_ext
in '' $ac_executable_extensions; do
13156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13157 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13166 DLLWRAP
=$ac_cv_prog_DLLWRAP
13167 if test -n "$DLLWRAP"; then
13168 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13169 echo "${ECHO_T}$DLLWRAP" >&6
13171 echo "$as_me:$LINENO: result: no" >&5
13172 echo "${ECHO_T}no" >&6
13176 if test -z "$ac_cv_prog_DLLWRAP"; then
13177 ac_ct_DLLWRAP
=$DLLWRAP
13178 # Extract the first word of "dllwrap", so it can be a program name with args.
13179 set dummy dllwrap
; ac_word
=$2
13180 echo "$as_me:$LINENO: checking for $ac_word" >&5
13181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13182 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 if test -n "$ac_ct_DLLWRAP"; then
13186 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13189 for as_dir
in $PATH
13192 test -z "$as_dir" && as_dir
=.
13193 for ac_exec_ext
in '' $ac_executable_extensions; do
13194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13195 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13202 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13205 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13206 if test -n "$ac_ct_DLLWRAP"; then
13207 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13208 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13210 echo "$as_me:$LINENO: result: no" >&5
13211 echo "${ECHO_T}no" >&6
13214 DLLWRAP
=$ac_ct_DLLWRAP
13216 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13219 if test "$DLLWRAP" = "false"; then
13230 for ac_header
in dlfcn.h
13232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13234 echo "$as_me:$LINENO: checking for $ac_header" >&5
13235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13242 # Is the header compilable?
13243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13245 cat >conftest.
$ac_ext <<_ACEOF
13248 cat confdefs.h
>>conftest.
$ac_ext
13249 cat >>conftest.
$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 $ac_includes_default
13252 #include <$ac_header>
13254 rm -f conftest.
$ac_objext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 (eval $ac_compile) 2>conftest.er1
13258 grep -v '^ *+' conftest.er1
>conftest.err
13260 cat conftest.err
>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try
='test -s conftest.$ac_objext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 ac_header_compiler
=yes
13277 echo "$as_me: failed program was:" >&5
13278 sed 's/^/| /' conftest.
$ac_ext >&5
13280 ac_header_compiler
=no
13282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13284 echo "${ECHO_T}$ac_header_compiler" >&6
13286 # Is the header present?
13287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13289 cat >conftest.
$ac_ext <<_ACEOF
13292 cat confdefs.h
>>conftest.
$ac_ext
13293 cat >>conftest.
$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <$ac_header>
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13300 grep -v '^ *+' conftest.er1
>conftest.err
13302 cat conftest.err
>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev
/null
; then
13305 if test -s conftest.err
; then
13306 ac_cpp_err
=$ac_c_preproc_warn_flag
13307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13314 if test -z "$ac_cpp_err"; then
13315 ac_header_preproc
=yes
13317 echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.
$ac_ext >&5
13320 ac_header_preproc
=no
13322 rm -f conftest.err conftest.
$ac_ext
13323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13324 echo "${ECHO_T}$ac_header_preproc" >&6
13326 # So? What about this header?
13327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13333 ac_header_preproc
=yes
13336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13350 ## ------------------------------------ ##
13351 ## Report this to wine-devel@winehq.org ##
13352 ## ------------------------------------ ##
13355 sed "s/^/$as_me: WARNING: /" >&2
13358 echo "$as_me:$LINENO: checking for $ac_header" >&5
13359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 eval "$as_ac_Header=\$ac_header_preproc"
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13370 cat >>confdefs.h
<<_ACEOF
13371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13374 for ac_func
in dlopen
13376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13377 echo "$as_me:$LINENO: checking for $ac_func" >&5
13378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13379 if eval "test \"\${$as_ac_var+set}\" = set"; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 cat >conftest.
$ac_ext <<_ACEOF
13385 cat confdefs.h
>>conftest.
$ac_ext
13386 cat >>conftest.
$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13390 #define $ac_func innocuous_$ac_func
13392 /* System header to define __stub macros and hopefully few prototypes,
13393 which can conflict with char $ac_func (); below.
13394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13395 <limits.h> exists even on freestanding compilers. */
13398 # include <limits.h>
13400 # include <assert.h>
13405 /* Override any gcc2 internal prototype to avoid an error. */
13410 /* We use char because int might match the return type of a gcc2
13411 builtin and then its argument prototype would still apply. */
13413 /* The GNU C library defines this for functions which it implements
13414 to always fail with ENOSYS. Some functions are actually named
13415 something starting with __ and the normal name is an alias. */
13416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13419 char (*f) () = $ac_func;
13428 return f != $ac_func;
13433 rm -f conftest.
$ac_objext conftest
$ac_exeext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435 (eval $ac_link) 2>conftest.er1
13437 grep -v '^ *+' conftest.er1
>conftest.err
13439 cat conftest.err
>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); } &&
13442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; } &&
13448 { ac_try
='test -s conftest$ac_exeext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 eval "$as_ac_var=yes"
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13459 eval "$as_ac_var=no"
13461 rm -f conftest.err conftest.
$ac_objext \
13462 conftest
$ac_exeext conftest.
$ac_ext
13464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13466 if test `eval echo '${'$as_ac_var'}'` = yes; then
13467 cat >>confdefs.h
<<_ACEOF
13468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13472 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13473 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13474 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13477 ac_check_lib_save_LIBS
=$LIBS
13479 cat >conftest.
$ac_ext <<_ACEOF
13482 cat confdefs.h
>>conftest.
$ac_ext
13483 cat >>conftest.
$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13486 /* Override any gcc2 internal prototype to avoid an error. */
13490 /* We use char because int might match the return type of a gcc2
13491 builtin and then its argument prototype would still apply. */
13501 rm -f conftest.
$ac_objext conftest
$ac_exeext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13503 (eval $ac_link) 2>conftest.er1
13505 grep -v '^ *+' conftest.er1
>conftest.err
13507 cat conftest.err
>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } &&
13510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13512 (eval $ac_try) 2>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); }; } &&
13516 { ac_try
='test -s conftest$ac_exeext'
13517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13518 (eval $ac_try) 2>&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); }; }; then
13522 ac_cv_lib_dl_dlopen
=yes
13524 echo "$as_me: failed program was:" >&5
13525 sed 's/^/| /' conftest.
$ac_ext >&5
13527 ac_cv_lib_dl_dlopen
=no
13529 rm -f conftest.err conftest.
$ac_objext \
13530 conftest
$ac_exeext conftest.
$ac_ext
13531 LIBS
=$ac_check_lib_save_LIBS
13533 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13534 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13535 if test $ac_cv_lib_dl_dlopen = yes; then
13537 cat >>confdefs.h
<<\_ACEOF
13538 #define HAVE_DLOPEN 1
13556 if test "$LIBEXT" = "so"
13558 DLLFLAGS
="$DLLFLAGS -fPIC"
13560 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13561 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13562 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 ac_wine_try_cflags_saved
=$CFLAGS
13566 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13567 cat >conftest.
$ac_ext <<_ACEOF
13570 rm -f conftest.
$ac_objext conftest
$ac_exeext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13572 (eval $ac_link) 2>conftest.er1
13574 grep -v '^ *+' conftest.er1
>conftest.err
13576 cat conftest.err
>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); } &&
13579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; } &&
13585 { ac_try
='test -s conftest$ac_exeext'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; }; then
13591 ac_cv_c_dll_gnuelf
="yes"
13593 echo "$as_me: failed program was:" >&5
13594 sed 's/^/| /' conftest.
$ac_ext >&5
13596 ac_cv_c_dll_gnuelf
="no"
13598 rm -f conftest.err conftest.
$ac_objext \
13599 conftest
$ac_exeext conftest.
$ac_ext
13600 CFLAGS
=$ac_wine_try_cflags_saved
13602 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13603 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13604 if test "$ac_cv_c_dll_gnuelf" = "yes"
13606 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13607 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13608 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13609 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13610 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 ac_wine_try_cflags_saved
=$CFLAGS
13614 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13615 cat >conftest.
$ac_ext <<_ACEOF
13618 cat confdefs.h
>>conftest.
$ac_ext
13619 cat >>conftest.
$ac_ext <<_ACEOF
13620 /* end confdefs.h. */
13630 rm -f conftest.
$ac_objext conftest
$ac_exeext
13631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13632 (eval $ac_link) 2>conftest.er1
13634 grep -v '^ *+' conftest.er1
>conftest.err
13636 cat conftest.err
>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } &&
13639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; } &&
13645 { ac_try
='test -s conftest$ac_exeext'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; }; then
13651 ac_cv_c_dll_zdefs
="yes"
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.
$ac_ext >&5
13656 ac_cv_c_dll_zdefs
="no"
13658 rm -f conftest.err conftest.
$ac_objext \
13659 conftest
$ac_exeext conftest.
$ac_ext
13660 CFLAGS
=$ac_wine_try_cflags_saved
13662 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13663 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13664 if test "$ac_cv_c_dll_zdefs" = "yes"
13666 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13669 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13670 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13671 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 ac_wine_try_cflags_saved
=$CFLAGS
13675 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13676 cat >conftest.
$ac_ext <<_ACEOF
13679 cat confdefs.h
>>conftest.
$ac_ext
13680 cat >>conftest.
$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13691 rm -f conftest.
$ac_objext conftest
$ac_exeext
13692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13693 (eval $ac_link) 2>conftest.er1
13695 grep -v '^ *+' conftest.er1
>conftest.err
13697 cat conftest.err
>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } &&
13700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; } &&
13706 { ac_try
='test -s conftest$ac_exeext'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; }; then
13712 ac_cv_c_dll_init_fini
="yes"
13714 echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.
$ac_ext >&5
13717 ac_cv_c_dll_init_fini
="no"
13719 rm -f conftest.err conftest.
$ac_objext \
13720 conftest
$ac_exeext conftest.
$ac_ext
13721 CFLAGS
=$ac_wine_try_cflags_saved
13723 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13724 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13725 if test "$ac_cv_c_dll_init_fini" = "yes"
13727 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13730 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13731 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13732 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 echo '{ global: *; };' >conftest.map
13736 ac_wine_try_cflags_saved
=$CFLAGS
13737 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13738 cat >conftest.
$ac_ext <<_ACEOF
13741 cat confdefs.h
>>conftest.
$ac_ext
13742 cat >>conftest.
$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13753 rm -f conftest.
$ac_objext conftest
$ac_exeext
13754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13755 (eval $ac_link) 2>conftest.er1
13757 grep -v '^ *+' conftest.er1
>conftest.err
13759 cat conftest.err
>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); } &&
13762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; } &&
13768 { ac_try
='test -s conftest$ac_exeext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 ac_cv_c_ld_version_scripts
="yes"
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.
$ac_ext >&5
13779 ac_cv_c_ld_version_scripts
="no"
13781 rm -f conftest.err conftest.
$ac_objext \
13782 conftest
$ac_exeext conftest.
$ac_ext
13783 CFLAGS
=$ac_wine_try_cflags_saved
13786 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13787 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13788 if test "$ac_cv_c_ld_version_scripts" = "yes"
13790 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13793 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13794 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13795 if test "${ac_cv_c_export_dynamic+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 ac_wine_try_cflags_saved
=$CFLAGS
13799 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13800 cat >conftest.
$ac_ext <<_ACEOF
13803 cat confdefs.h
>>conftest.
$ac_ext
13804 cat >>conftest.
$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13815 rm -f conftest.
$ac_objext conftest
$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13819 grep -v '^ *+' conftest.er1
>conftest.err
13821 cat conftest.err
>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; } &&
13830 { ac_try
='test -s conftest$ac_exeext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 ac_cv_c_export_dynamic
="yes"
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.
$ac_ext >&5
13841 ac_cv_c_export_dynamic
="no"
13843 rm -f conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 CFLAGS
=$ac_wine_try_cflags_saved
13847 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13848 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13849 if test "$ac_cv_c_export_dynamic" = "yes"
13851 LDEXECFLAGS
="-Wl,--export-dynamic"
13857 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13858 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13859 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 ac_wine_try_cflags_saved
=$CFLAGS
13863 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13864 cat >conftest.
$ac_ext <<_ACEOF
13867 cat confdefs.h
>>conftest.
$ac_ext
13868 cat >>conftest.
$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13879 rm -f conftest.
$ac_objext conftest
$ac_exeext
13880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13881 (eval $ac_link) 2>conftest.er1
13883 grep -v '^ *+' conftest.er1
>conftest.err
13885 cat conftest.err
>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } &&
13888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; } &&
13894 { ac_try
='test -s conftest$ac_exeext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13900 ac_cv_ld_reloc_exec
="yes"
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.
$ac_ext >&5
13905 ac_cv_ld_reloc_exec
="no"
13907 rm -f conftest.err conftest.
$ac_objext \
13908 conftest
$ac_exeext conftest.
$ac_ext
13909 CFLAGS
=$ac_wine_try_cflags_saved
13911 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13912 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13913 if test "$ac_cv_ld_reloc_exec" = "yes"
13915 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13921 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13922 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13923 if test "${ac_cv_c_dll_unixware+set}" = set; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 ac_wine_try_cflags_saved
=$CFLAGS
13927 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13928 cat >conftest.
$ac_ext <<_ACEOF
13931 rm -f conftest.
$ac_objext conftest
$ac_exeext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13933 (eval $ac_link) 2>conftest.er1
13935 grep -v '^ *+' conftest.er1
>conftest.err
13937 cat conftest.err
>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } &&
13940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13942 (eval $ac_try) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); }; } &&
13946 { ac_try
='test -s conftest$ac_exeext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_cv_c_dll_unixware
="yes"
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.
$ac_ext >&5
13957 ac_cv_c_dll_unixware
="no"
13959 rm -f conftest.err conftest.
$ac_objext \
13960 conftest
$ac_exeext conftest.
$ac_ext
13961 CFLAGS
=$ac_wine_try_cflags_saved
13963 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13964 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13965 if test "$ac_cv_c_dll_unixware" = "yes"
13967 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13968 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13971 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13972 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13973 if test "${ac_cv_c_dll_macho+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 ac_wine_try_cflags_saved
=$CFLAGS
13977 CFLAGS
="$CFLAGS -bundle"
13978 cat >conftest.
$ac_ext <<_ACEOF
13981 rm -f conftest.
$ac_objext conftest
$ac_exeext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>conftest.er1
13985 grep -v '^ *+' conftest.er1
>conftest.err
13987 cat conftest.err
>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; } &&
13996 { ac_try
='test -s conftest$ac_exeext'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; }; then
14002 ac_cv_c_dll_macho
="yes"
14004 echo "$as_me: failed program was:" >&5
14005 sed 's/^/| /' conftest.
$ac_ext >&5
14007 ac_cv_c_dll_macho
="no"
14009 rm -f conftest.err conftest.
$ac_objext \
14010 conftest
$ac_exeext conftest.
$ac_ext
14011 CFLAGS
=$ac_wine_try_cflags_saved
14013 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14014 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14015 if test "$ac_cv_c_dll_macho" = "yes"
14018 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14019 LDSHARED
="\$(CC) -dynamiclib"
14020 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14021 STRIP
="$STRIP -u -r"
14022 LDEXECFLAGS
="-seg1addr 0x120000"
14024 LDLIBWINEFLAGS
="-seg1addr 0x140000"
14026 COREFOUNDATIONLIB
="-framework CoreFoundation"
14028 IOKITLIB
="-framework IOKit"
14030 IOKITLIB
= "$IOKITLIB $COREFOUNDATIONLIB"
14032 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14033 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14034 if test "${ac_cv_c_dll_hpux+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 ac_wine_try_cflags_saved
=$CFLAGS
14038 CFLAGS
="$CFLAGS -shared"
14039 cat >conftest.
$ac_ext <<_ACEOF
14042 rm -f conftest.
$ac_objext conftest
$ac_exeext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14044 (eval $ac_link) 2>conftest.er1
14046 grep -v '^ *+' conftest.er1
>conftest.err
14048 cat conftest.err
>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } &&
14051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14053 (eval $ac_try) 2>&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); }; } &&
14057 { ac_try
='test -s conftest$ac_exeext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 ac_cv_c_dll_hpux
="yes"
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.
$ac_ext >&5
14068 ac_cv_c_dll_hpux
="no"
14070 rm -f conftest.err conftest.
$ac_objext \
14071 conftest
$ac_exeext conftest.
$ac_ext
14072 CFLAGS
=$ac_wine_try_cflags_saved
14074 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14075 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14076 if test "$ac_cv_c_dll_hpux" = "yes"
14080 LDDLLFLAGS
="-shared -fPIC"
14081 LDSHARED
="\$(CC) -shared"
14090 if test "$cross_compiling" = "no"
14092 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14094 # Extract the first word of "$ac_prog", so it can be a program name with args.
14095 set dummy
$ac_prog; ac_word
=$2
14096 echo "$as_me:$LINENO: checking for $ac_word" >&5
14097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14098 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14099 echo $ECHO_N "(cached) $ECHO_C" >&6
14101 if test -n "$CROSSCC"; then
14102 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14105 for as_dir
in $PATH
14108 test -z "$as_dir" && as_dir
=.
14109 for ac_exec_ext
in '' $ac_executable_extensions; do
14110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14111 ac_cv_prog_CROSSCC
="$ac_prog"
14112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14120 CROSSCC
=$ac_cv_prog_CROSSCC
14121 if test -n "$CROSSCC"; then
14122 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14123 echo "${ECHO_T}$CROSSCC" >&6
14125 echo "$as_me:$LINENO: result: no" >&5
14126 echo "${ECHO_T}no" >&6
14129 test -n "$CROSSCC" && break
14131 test -n "$CROSSCC" || CROSSCC
="false"
14133 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14135 # Extract the first word of "$ac_prog", so it can be a program name with args.
14136 set dummy
$ac_prog; ac_word
=$2
14137 echo "$as_me:$LINENO: checking for $ac_word" >&5
14138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14139 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 if test -n "$DLLTOOL"; then
14143 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14146 for as_dir
in $PATH
14149 test -z "$as_dir" && as_dir
=.
14150 for ac_exec_ext
in '' $ac_executable_extensions; do
14151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14152 ac_cv_prog_DLLTOOL
="$ac_prog"
14153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14161 DLLTOOL
=$ac_cv_prog_DLLTOOL
14162 if test -n "$DLLTOOL"; then
14163 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14164 echo "${ECHO_T}$DLLTOOL" >&6
14166 echo "$as_me:$LINENO: result: no" >&5
14167 echo "${ECHO_T}no" >&6
14170 test -n "$DLLTOOL" && break
14172 test -n "$DLLTOOL" || DLLTOOL
="false"
14174 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14176 # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy
$ac_prog; ac_word
=$2
14178 echo "$as_me:$LINENO: checking for $ac_word" >&5
14179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14180 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14181 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 if test -n "$CROSSWINDRES"; then
14184 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14187 for as_dir
in $PATH
14190 test -z "$as_dir" && as_dir
=.
14191 for ac_exec_ext
in '' $ac_executable_extensions; do
14192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14193 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14202 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14203 if test -n "$CROSSWINDRES"; then
14204 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14205 echo "${ECHO_T}$CROSSWINDRES" >&6
14207 echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6
14211 test -n "$CROSSWINDRES" && break
14213 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14215 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14220 if test "$LIBEXT" = "a"; then
14221 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14222 It is currently not possible to build Wine without shared library
14223 (.so) support to allow transparent switch between .so and .dll files.
14224 If you are using Linux, you will need a newer binutils.
14226 echo "$as_me: 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 { (exit 1); exit 1; }; }
14236 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14239 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14242 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14250 SOCKETLIBS
="-lws2_32"
14258 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
14260 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14263 MAIN_BINARY
="wine-glibc"
14267 WINE_BINARIES
="wine-pthread"
14269 MAIN_BINARY
="wine-pthread"
14273 WINE_BINARIES
="wine-kthread"
14275 MAIN_BINARY
="wine-kthread"
14281 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14283 # Extract the first word of "ldd", so it can be a program name with args.
14284 set dummy ldd
; ac_word
=$2
14285 echo "$as_me:$LINENO: checking for $ac_word" >&5
14286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14287 if test "${ac_cv_path_LDD+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14296 as_dummy
="/sbin:/usr/sbin:$PATH"
14297 for as_dir
in $as_dummy
14300 test -z "$as_dir" && as_dir
=.
14301 for ac_exec_ext
in '' $ac_executable_extensions; do
14302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14303 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14310 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14314 LDD
=$ac_cv_path_LDD
14316 if test -n "$LDD"; then
14317 echo "$as_me:$LINENO: result: $LDD" >&5
14318 echo "${ECHO_T}$LDD" >&6
14320 echo "$as_me:$LINENO: result: no" >&5
14321 echo "${ECHO_T}no" >&6
14325 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14326 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14327 if test "${ac_cv_lib_soname_X11+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 ac_get_soname_save_LIBS
=$LIBS
14331 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14332 cat >conftest.
$ac_ext <<_ACEOF
14335 cat confdefs.h
>>conftest.
$ac_ext
14336 cat >>conftest.
$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14339 /* Override any gcc2 internal prototype to avoid an error. */
14343 /* We use char because int might match the return type of a gcc2
14344 builtin and then its argument prototype would still apply. */
14345 char XCreateWindow ();
14354 rm -f conftest.
$ac_objext conftest
$ac_exeext
14355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14356 (eval $ac_link) 2>conftest.er1
14358 grep -v '^ *+' conftest.er1
>conftest.err
14360 cat conftest.err
>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } &&
14363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; } &&
14369 { ac_try
='test -s conftest$ac_exeext'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; }; then
14375 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14376 if test "x$ac_cv_lib_soname_X11" = "x"
14378 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14381 echo "$as_me: failed program was:" >&5
14382 sed 's/^/| /' conftest.
$ac_ext >&5
14384 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14386 rm -f conftest.err conftest.
$ac_objext \
14387 conftest
$ac_exeext conftest.
$ac_ext
14388 LIBS
=$ac_get_soname_save_LIBS
14390 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14391 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14392 if test "x$ac_cv_lib_soname_X11" != xNONE
14394 cat >>confdefs.h
<<_ACEOF
14395 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14399 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14400 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14401 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 ac_get_soname_save_LIBS
=$LIBS
14405 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14406 cat >conftest.
$ac_ext <<_ACEOF
14409 cat confdefs.h
>>conftest.
$ac_ext
14410 cat >>conftest.
$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14413 /* Override any gcc2 internal prototype to avoid an error. */
14417 /* We use char because int might match the return type of a gcc2
14418 builtin and then its argument prototype would still apply. */
14419 char XextCreateExtension ();
14423 XextCreateExtension ();
14428 rm -f conftest.
$ac_objext conftest
$ac_exeext
14429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14430 (eval $ac_link) 2>conftest.er1
14432 grep -v '^ *+' conftest.er1
>conftest.err
14434 cat conftest.err
>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } &&
14437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try
='test -s conftest$ac_exeext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14450 if test "x$ac_cv_lib_soname_Xext" = "x"
14452 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.
$ac_ext >&5
14458 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14460 rm -f conftest.err conftest.
$ac_objext \
14461 conftest
$ac_exeext conftest.
$ac_ext
14462 LIBS
=$ac_get_soname_save_LIBS
14464 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14465 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14466 if test "x$ac_cv_lib_soname_Xext" != xNONE
14468 cat >>confdefs.h
<<_ACEOF
14469 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14473 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14474 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14475 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 ac_get_soname_save_LIBS
=$LIBS
14479 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14480 cat >conftest.
$ac_ext <<_ACEOF
14483 cat confdefs.h
>>conftest.
$ac_ext
14484 cat >>conftest.
$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14487 /* Override any gcc2 internal prototype to avoid an error. */
14491 /* We use char because int might match the return type of a gcc2
14492 builtin and then its argument prototype would still apply. */
14493 char XOpenDevice ();
14502 rm -f conftest.
$ac_objext conftest
$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>conftest.er1
14506 grep -v '^ *+' conftest.er1
>conftest.err
14508 cat conftest.err
>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; } &&
14517 { ac_try
='test -s conftest$ac_exeext'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14523 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14524 if test "x$ac_cv_lib_soname_Xi" = "x"
14526 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14529 echo "$as_me: failed program was:" >&5
14530 sed 's/^/| /' conftest.
$ac_ext >&5
14532 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14534 rm -f conftest.err conftest.
$ac_objext \
14535 conftest
$ac_exeext conftest.
$ac_ext
14536 LIBS
=$ac_get_soname_save_LIBS
14538 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14539 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14540 if test "x$ac_cv_lib_soname_Xi" != xNONE
14542 cat >>confdefs.h
<<_ACEOF
14543 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14547 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14548 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14549 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14550 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 ac_get_soname_save_LIBS
=$LIBS
14553 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14554 cat >conftest.
$ac_ext <<_ACEOF
14557 cat confdefs.h
>>conftest.
$ac_ext
14558 cat >>conftest.
$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14561 /* Override any gcc2 internal prototype to avoid an error. */
14565 /* We use char because int might match the return type of a gcc2
14566 builtin and then its argument prototype would still apply. */
14567 char XRenderQueryExtension ();
14571 XRenderQueryExtension ();
14576 rm -f conftest.
$ac_objext conftest
$ac_exeext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14578 (eval $ac_link) 2>conftest.er1
14580 grep -v '^ *+' conftest.er1
>conftest.err
14582 cat conftest.err
>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; } &&
14591 { ac_try
='test -s conftest$ac_exeext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14598 if test "x$ac_cv_lib_soname_Xrender" = "x"
14600 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.
$ac_ext >&5
14606 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14608 rm -f conftest.err conftest.
$ac_objext \
14609 conftest
$ac_exeext conftest.
$ac_ext
14610 LIBS
=$ac_get_soname_save_LIBS
14612 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14613 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14614 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14616 cat >>confdefs.h
<<_ACEOF
14617 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14621 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14622 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14623 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14624 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 ac_get_soname_save_LIBS
=$LIBS
14627 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14628 cat >conftest.
$ac_ext <<_ACEOF
14631 cat confdefs.h
>>conftest.
$ac_ext
14632 cat >>conftest.
$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14635 /* Override any gcc2 internal prototype to avoid an error. */
14639 /* We use char because int might match the return type of a gcc2
14640 builtin and then its argument prototype would still apply. */
14641 char XRRQueryExtension ();
14645 XRRQueryExtension ();
14650 rm -f conftest.
$ac_objext conftest
$ac_exeext
14651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14652 (eval $ac_link) 2>conftest.er1
14654 grep -v '^ *+' conftest.er1
>conftest.err
14656 cat conftest.err
>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; } &&
14665 { ac_try
='test -s conftest$ac_exeext'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14672 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14674 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14677 echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.
$ac_ext >&5
14680 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14682 rm -f conftest.err conftest.
$ac_objext \
14683 conftest
$ac_exeext conftest.
$ac_ext
14684 LIBS
=$ac_get_soname_save_LIBS
14686 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14687 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14688 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14690 cat >>confdefs.h
<<_ACEOF
14691 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14695 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14696 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14697 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14698 echo $ECHO_N "(cached) $ECHO_C" >&6
14700 ac_get_soname_save_LIBS
=$LIBS
14701 LIBS
="-lfreetype $X_LIBS $LIBS"
14702 cat >conftest.
$ac_ext <<_ACEOF
14705 cat confdefs.h
>>conftest.
$ac_ext
14706 cat >>conftest.
$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14709 /* Override any gcc2 internal prototype to avoid an error. */
14713 /* We use char because int might match the return type of a gcc2
14714 builtin and then its argument prototype would still apply. */
14715 char FT_Init_FreeType ();
14719 FT_Init_FreeType ();
14724 rm -f conftest.
$ac_objext conftest
$ac_exeext
14725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14726 (eval $ac_link) 2>conftest.er1
14728 grep -v '^ *+' conftest.er1
>conftest.err
14730 cat conftest.err
>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; } &&
14739 { ac_try
='test -s conftest$ac_exeext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14745 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14746 if test "x$ac_cv_lib_soname_freetype" = "x"
14748 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.
$ac_ext >&5
14754 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14756 rm -f conftest.err conftest.
$ac_objext \
14757 conftest
$ac_exeext conftest.
$ac_ext
14758 LIBS
=$ac_get_soname_save_LIBS
14760 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14761 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14762 if test "x$ac_cv_lib_soname_freetype" != xNONE
14764 cat >>confdefs.h
<<_ACEOF
14765 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14769 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14770 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14771 if test "${ac_cv_lib_soname_GL+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 ac_get_soname_save_LIBS
=$LIBS
14775 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14776 cat >conftest.
$ac_ext <<_ACEOF
14779 cat confdefs.h
>>conftest.
$ac_ext
14780 cat >>conftest.
$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14783 /* Override any gcc2 internal prototype to avoid an error. */
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14789 char glXQueryExtension ();
14793 glXQueryExtension ();
14798 rm -f conftest.
$ac_objext conftest
$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; } &&
14813 { ac_try
='test -s conftest$ac_exeext'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; }; then
14819 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14820 if test "x$ac_cv_lib_soname_GL" = "x"
14822 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.
$ac_ext >&5
14828 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14830 rm -f conftest.err conftest.
$ac_objext \
14831 conftest
$ac_exeext conftest.
$ac_ext
14832 LIBS
=$ac_get_soname_save_LIBS
14834 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14835 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14836 if test "x$ac_cv_lib_soname_GL" != xNONE
14838 cat >>confdefs.h
<<_ACEOF
14839 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14843 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14844 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14845 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 ac_get_soname_save_LIBS
=$LIBS
14849 LIBS
="-ltxc_dxtn $LIBS"
14850 cat >conftest.
$ac_ext <<_ACEOF
14853 cat confdefs.h
>>conftest.
$ac_ext
14854 cat >>conftest.
$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 /* Override any gcc2 internal prototype to avoid an error. */
14861 /* We use char because int might match the return type of a gcc2
14862 builtin and then its argument prototype would still apply. */
14863 char fetch_2d_texel_rgba_dxt1 ();
14867 fetch_2d_texel_rgba_dxt1 ();
14872 rm -f conftest.
$ac_objext conftest
$ac_exeext
14873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14874 (eval $ac_link) 2>conftest.er1
14876 grep -v '^ *+' conftest.er1
>conftest.err
14878 cat conftest.err
>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try
='test -s conftest$ac_exeext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14894 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14896 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14904 rm -f conftest.err conftest.
$ac_objext \
14905 conftest
$ac_exeext conftest.
$ac_ext
14906 LIBS
=$ac_get_soname_save_LIBS
14908 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14909 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14910 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14912 cat >>confdefs.h
<<_ACEOF
14913 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14917 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14918 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14919 if test "${ac_cv_lib_soname_cups+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 ac_get_soname_save_LIBS
=$LIBS
14923 LIBS
="-lcups $LIBS"
14924 cat >conftest.
$ac_ext <<_ACEOF
14927 cat confdefs.h
>>conftest.
$ac_ext
14928 cat >>conftest.
$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14931 /* Override any gcc2 internal prototype to avoid an error. */
14935 /* We use char because int might match the return type of a gcc2
14936 builtin and then its argument prototype would still apply. */
14937 char cupsGetDefault ();
14946 rm -f conftest.
$ac_objext conftest
$ac_exeext
14947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14948 (eval $ac_link) 2>conftest.er1
14950 grep -v '^ *+' conftest.er1
>conftest.err
14952 cat conftest.err
>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } &&
14955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try
='test -s conftest$ac_exeext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
14968 if test "x$ac_cv_lib_soname_cups" = "x"
14970 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14976 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14978 rm -f conftest.err conftest.
$ac_objext \
14979 conftest
$ac_exeext conftest.
$ac_ext
14980 LIBS
=$ac_get_soname_save_LIBS
14982 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14983 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14984 if test "x$ac_cv_lib_soname_cups" != xNONE
14986 cat >>confdefs.h
<<_ACEOF
14987 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14991 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14992 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14993 if test "${ac_cv_lib_soname_jack+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 ac_get_soname_save_LIBS
=$LIBS
14997 LIBS
="-ljack $LIBS"
14998 cat >conftest.
$ac_ext <<_ACEOF
15001 cat confdefs.h
>>conftest.
$ac_ext
15002 cat >>conftest.
$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15005 /* Override any gcc2 internal prototype to avoid an error. */
15009 /* We use char because int might match the return type of a gcc2
15010 builtin and then its argument prototype would still apply. */
15011 char jack_client_new ();
15015 jack_client_new ();
15020 rm -f conftest.
$ac_objext conftest
$ac_exeext
15021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15022 (eval $ac_link) 2>conftest.er1
15024 grep -v '^ *+' conftest.er1
>conftest.err
15026 cat conftest.err
>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try
='test -s conftest$ac_exeext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15042 if test "x$ac_cv_lib_soname_jack" = "x"
15044 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.
$ac_ext >&5
15050 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15052 rm -f conftest.err conftest.
$ac_objext \
15053 conftest
$ac_exeext conftest.
$ac_ext
15054 LIBS
=$ac_get_soname_save_LIBS
15056 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15057 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15058 if test "x$ac_cv_lib_soname_jack" != xNONE
15060 cat >>confdefs.h
<<_ACEOF
15061 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15065 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15066 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15067 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15068 echo $ECHO_N "(cached) $ECHO_C" >&6
15070 ac_get_soname_save_LIBS
=$LIBS
15071 LIBS
="-lfontconfig $LIBS"
15072 cat >conftest.
$ac_ext <<_ACEOF
15075 cat confdefs.h
>>conftest.
$ac_ext
15076 cat >>conftest.
$ac_ext <<_ACEOF
15077 /* end confdefs.h. */
15079 /* Override any gcc2 internal prototype to avoid an error. */
15083 /* We use char because int might match the return type of a gcc2
15084 builtin and then its argument prototype would still apply. */
15094 rm -f conftest.
$ac_objext conftest
$ac_exeext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15096 (eval $ac_link) 2>conftest.er1
15098 grep -v '^ *+' conftest.er1
>conftest.err
15100 cat conftest.err
>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } &&
15103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105 (eval $ac_try) 2>&5
15107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); }; } &&
15109 { ac_try
='test -s conftest$ac_exeext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15116 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15118 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.
$ac_ext >&5
15124 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15126 rm -f conftest.err conftest.
$ac_objext \
15127 conftest
$ac_exeext conftest.
$ac_ext
15128 LIBS
=$ac_get_soname_save_LIBS
15130 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15131 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15132 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15134 cat >>confdefs.h
<<_ACEOF
15135 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15139 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15140 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15141 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 ac_get_soname_save_LIBS
=$LIBS
15146 cat >conftest.
$ac_ext <<_ACEOF
15149 cat confdefs.h
>>conftest.
$ac_ext
15150 cat >>conftest.
$ac_ext <<_ACEOF
15151 /* end confdefs.h. */
15153 /* Override any gcc2 internal prototype to avoid an error. */
15157 /* We use char because int might match the return type of a gcc2
15158 builtin and then its argument prototype would still apply. */
15159 char SSL_library_init ();
15163 SSL_library_init ();
15168 rm -f conftest.
$ac_objext conftest
$ac_exeext
15169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15170 (eval $ac_link) 2>conftest.er1
15172 grep -v '^ *+' conftest.er1
>conftest.err
15174 cat conftest.err
>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15179 (eval $ac_try) 2>&5
15181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15182 (exit $ac_status); }; } &&
15183 { ac_try
='test -s conftest$ac_exeext'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; }; then
15189 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15190 if test "x$ac_cv_lib_soname_ssl" = "x"
15192 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.
$ac_ext >&5
15198 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15200 rm -f conftest.err conftest.
$ac_objext \
15201 conftest
$ac_exeext conftest.
$ac_ext
15202 LIBS
=$ac_get_soname_save_LIBS
15204 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15205 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15206 if test "x$ac_cv_lib_soname_ssl" != xNONE
15208 cat >>confdefs.h
<<_ACEOF
15209 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15213 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15214 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15215 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15218 ac_get_soname_save_LIBS
=$LIBS
15219 LIBS
="-lcrypto $LIBS"
15220 cat >conftest.
$ac_ext <<_ACEOF
15223 cat confdefs.h
>>conftest.
$ac_ext
15224 cat >>conftest.
$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15227 /* Override any gcc2 internal prototype to avoid an error. */
15231 /* We use char because int might match the return type of a gcc2
15232 builtin and then its argument prototype would still apply. */
15233 char BIO_new_socket ();
15242 rm -f conftest.
$ac_objext conftest
$ac_exeext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15244 (eval $ac_link) 2>conftest.er1
15246 grep -v '^ *+' conftest.er1
>conftest.err
15248 cat conftest.err
>&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); } &&
15251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try
='test -s conftest$ac_exeext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15264 if test "x$ac_cv_lib_soname_crypto" = "x"
15266 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15269 echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.
$ac_ext >&5
15272 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15274 rm -f conftest.err conftest.
$ac_objext \
15275 conftest
$ac_exeext conftest.
$ac_ext
15276 LIBS
=$ac_get_soname_save_LIBS
15278 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15279 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15280 if test "x$ac_cv_lib_soname_crypto" != xNONE
15282 cat >>confdefs.h
<<_ACEOF
15283 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15287 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15288 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15289 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 ac_get_soname_save_LIBS
=$LIBS
15293 LIBS
="-lncurses $LIBS"
15294 cat >conftest.
$ac_ext <<_ACEOF
15297 cat confdefs.h
>>conftest.
$ac_ext
15298 cat >>conftest.
$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15301 /* Override any gcc2 internal prototype to avoid an error. */
15305 /* We use char because int might match the return type of a gcc2
15306 builtin and then its argument prototype would still apply. */
15316 rm -f conftest.
$ac_objext conftest
$ac_exeext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15318 (eval $ac_link) 2>conftest.er1
15320 grep -v '^ *+' conftest.er1
>conftest.err
15322 cat conftest.err
>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } &&
15325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15327 (eval $ac_try) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; } &&
15331 { ac_try
='test -s conftest$ac_exeext'
15332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15333 (eval $ac_try) 2>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); }; }; then
15337 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15338 if test "x$ac_cv_lib_soname_ncurses" = "x"
15340 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.
$ac_ext >&5
15346 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15348 rm -f conftest.err conftest.
$ac_objext \
15349 conftest
$ac_exeext conftest.
$ac_ext
15350 LIBS
=$ac_get_soname_save_LIBS
15352 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15353 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15354 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15356 cat >>confdefs.h
<<_ACEOF
15357 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15361 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15362 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15363 if test "${ac_cv_lib_soname_curses+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 ac_get_soname_save_LIBS
=$LIBS
15367 LIBS
="-lcurses $LIBS"
15368 cat >conftest.
$ac_ext <<_ACEOF
15371 cat confdefs.h
>>conftest.
$ac_ext
15372 cat >>conftest.
$ac_ext <<_ACEOF
15373 /* end confdefs.h. */
15375 /* Override any gcc2 internal prototype to avoid an error. */
15379 /* We use char because int might match the return type of a gcc2
15380 builtin and then its argument prototype would still apply. */
15390 rm -f conftest.
$ac_objext conftest
$ac_exeext
15391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15392 (eval $ac_link) 2>conftest.er1
15394 grep -v '^ *+' conftest.er1
>conftest.err
15396 cat conftest.err
>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } &&
15399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; } &&
15405 { ac_try
='test -s conftest$ac_exeext'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; }; then
15411 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15412 if test "x$ac_cv_lib_soname_curses" = "x"
15414 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.
$ac_ext >&5
15420 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15422 rm -f conftest.err conftest.
$ac_objext \
15423 conftest
$ac_exeext conftest.
$ac_ext
15424 LIBS
=$ac_get_soname_save_LIBS
15426 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15427 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15428 if test "x$ac_cv_lib_soname_curses" != xNONE
15430 cat >>confdefs.h
<<_ACEOF
15431 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15435 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15436 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15437 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6
15440 ac_get_soname_save_LIBS
=$LIBS
15441 LIBS
="-ljpeg $LIBS"
15442 cat >conftest.
$ac_ext <<_ACEOF
15445 cat confdefs.h
>>conftest.
$ac_ext
15446 cat >>conftest.
$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15449 /* Override any gcc2 internal prototype to avoid an error. */
15453 /* We use char because int might match the return type of a gcc2
15454 builtin and then its argument prototype would still apply. */
15455 char jpeg_start_decompress ();
15459 jpeg_start_decompress ();
15464 rm -f conftest.
$ac_objext conftest
$ac_exeext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15466 (eval $ac_link) 2>conftest.er1
15468 grep -v '^ *+' conftest.er1
>conftest.err
15470 cat conftest.err
>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } &&
15473 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475 (eval $ac_try) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }; } &&
15479 { ac_try
='test -s conftest$ac_exeext'
15480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15481 (eval $ac_try) 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15485 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15486 if test "x$ac_cv_lib_soname_jpeg" = "x"
15488 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.
$ac_ext >&5
15494 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15496 rm -f conftest.err conftest.
$ac_objext \
15497 conftest
$ac_exeext conftest.
$ac_ext
15498 LIBS
=$ac_get_soname_save_LIBS
15500 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15501 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15502 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15504 cat >>confdefs.h
<<_ACEOF
15505 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15509 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15510 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15511 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15512 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 ac_get_soname_save_LIBS
=$LIBS
15515 LIBS
="-lungif $LIBS"
15516 cat >conftest.
$ac_ext <<_ACEOF
15519 cat confdefs.h
>>conftest.
$ac_ext
15520 cat >>conftest.
$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15523 /* Override any gcc2 internal prototype to avoid an error. */
15527 /* We use char because int might match the return type of a gcc2
15528 builtin and then its argument prototype would still apply. */
15538 rm -f conftest.
$ac_objext conftest
$ac_exeext
15539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15540 (eval $ac_link) 2>conftest.er1
15542 grep -v '^ *+' conftest.er1
>conftest.err
15544 cat conftest.err
>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } &&
15547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549 (eval $ac_try) 2>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; } &&
15553 { ac_try
='test -s conftest$ac_exeext'
15554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15555 (eval $ac_try) 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; }; then
15559 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15560 if test "x$ac_cv_lib_soname_ungif" = "x"
15562 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15565 echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.
$ac_ext >&5
15568 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15570 rm -f conftest.err conftest.
$ac_objext \
15571 conftest
$ac_exeext conftest.
$ac_ext
15572 LIBS
=$ac_get_soname_save_LIBS
15574 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15575 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15576 if test "x$ac_cv_lib_soname_ungif" != xNONE
15578 cat >>confdefs.h
<<_ACEOF
15579 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15583 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15584 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15585 if test "${ac_cv_lib_soname_gif+set}" = set; then
15586 echo $ECHO_N "(cached) $ECHO_C" >&6
15588 ac_get_soname_save_LIBS
=$LIBS
15590 cat >conftest.
$ac_ext <<_ACEOF
15593 cat confdefs.h
>>conftest.
$ac_ext
15594 cat >>conftest.
$ac_ext <<_ACEOF
15595 /* end confdefs.h. */
15597 /* Override any gcc2 internal prototype to avoid an error. */
15601 /* We use char because int might match the return type of a gcc2
15602 builtin and then its argument prototype would still apply. */
15612 rm -f conftest.
$ac_objext conftest
$ac_exeext
15613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15614 (eval $ac_link) 2>conftest.er1
15616 grep -v '^ *+' conftest.er1
>conftest.err
15618 cat conftest.err
>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } &&
15621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; } &&
15627 { ac_try
='test -s conftest$ac_exeext'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15633 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15634 if test "x$ac_cv_lib_soname_gif" = "x"
15636 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.
$ac_ext >&5
15642 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15644 rm -f conftest.err conftest.
$ac_objext \
15645 conftest
$ac_exeext conftest.
$ac_ext
15646 LIBS
=$ac_get_soname_save_LIBS
15648 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15649 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15650 if test "x$ac_cv_lib_soname_gif" != xNONE
15652 cat >>confdefs.h
<<_ACEOF
15653 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15657 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15658 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15659 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15662 ac_get_soname_save_LIBS
=$LIBS
15663 LIBS
="-llcms $LIBS"
15664 cat >conftest.
$ac_ext <<_ACEOF
15667 cat confdefs.h
>>conftest.
$ac_ext
15668 cat >>conftest.
$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15671 /* Override any gcc2 internal prototype to avoid an error. */
15675 /* We use char because int might match the return type of a gcc2
15676 builtin and then its argument prototype would still apply. */
15677 char cmsOpenProfileFromFile ();
15681 cmsOpenProfileFromFile ();
15686 rm -f conftest.
$ac_objext conftest
$ac_exeext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15688 (eval $ac_link) 2>conftest.er1
15690 grep -v '^ *+' conftest.er1
>conftest.err
15692 cat conftest.err
>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } &&
15695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; } &&
15701 { ac_try
='test -s conftest$ac_exeext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_cv_lib_soname_lcms
=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15708 if test "x$ac_cv_lib_soname_lcms" = "x"
15710 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.
$ac_ext >&5
15716 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15718 rm -f conftest.err conftest.
$ac_objext \
15719 conftest
$ac_exeext conftest.
$ac_ext
15720 LIBS
=$ac_get_soname_save_LIBS
15722 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15723 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15724 if test "x$ac_cv_lib_soname_lcms" != xNONE
15726 cat >>confdefs.h
<<_ACEOF
15727 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15734 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15735 # for constant arguments. Useless!
15736 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15737 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15738 if test "${ac_cv_working_alloca_h+set}" = set; then
15739 echo $ECHO_N "(cached) $ECHO_C" >&6
15741 cat >conftest.
$ac_ext <<_ACEOF
15744 cat confdefs.h
>>conftest.
$ac_ext
15745 cat >>conftest.
$ac_ext <<_ACEOF
15746 /* end confdefs.h. */
15747 #include <alloca.h>
15751 char *p = (char *) alloca (2 * sizeof (int));
15756 rm -f conftest.
$ac_objext conftest
$ac_exeext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15758 (eval $ac_link) 2>conftest.er1
15760 grep -v '^ *+' conftest.er1
>conftest.err
15762 cat conftest.err
>&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); } &&
15765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; } &&
15771 { ac_try
='test -s conftest$ac_exeext'
15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15773 (eval $ac_try) 2>&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); }; }; then
15777 ac_cv_working_alloca_h
=yes
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.
$ac_ext >&5
15782 ac_cv_working_alloca_h
=no
15784 rm -f conftest.err conftest.
$ac_objext \
15785 conftest
$ac_exeext conftest.
$ac_ext
15787 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15788 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15789 if test $ac_cv_working_alloca_h = yes; then
15791 cat >>confdefs.h
<<\_ACEOF
15792 #define HAVE_ALLOCA_H 1
15797 echo "$as_me:$LINENO: checking for alloca" >&5
15798 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15799 if test "${ac_cv_func_alloca_works+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 cat >conftest.
$ac_ext <<_ACEOF
15805 cat confdefs.h
>>conftest.
$ac_ext
15806 cat >>conftest.
$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15809 # define alloca __builtin_alloca
15812 # include <malloc.h>
15813 # define alloca _alloca
15816 # include <alloca.h>
15821 # ifndef alloca /* predefined by HP cc +Olibcalls */
15832 char *p = (char *) alloca (1);
15837 rm -f conftest.
$ac_objext conftest
$ac_exeext
15838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15839 (eval $ac_link) 2>conftest.er1
15841 grep -v '^ *+' conftest.er1
>conftest.err
15843 cat conftest.err
>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } &&
15846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; } &&
15852 { ac_try
='test -s conftest$ac_exeext'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; }; then
15858 ac_cv_func_alloca_works
=yes
15860 echo "$as_me: failed program was:" >&5
15861 sed 's/^/| /' conftest.
$ac_ext >&5
15863 ac_cv_func_alloca_works
=no
15865 rm -f conftest.err conftest.
$ac_objext \
15866 conftest
$ac_exeext conftest.
$ac_ext
15868 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15869 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15871 if test $ac_cv_func_alloca_works = yes; then
15873 cat >>confdefs.h
<<\_ACEOF
15874 #define HAVE_ALLOCA 1
15878 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15879 # that cause trouble. Some versions do not even contain alloca or
15880 # contain a buggy version. If you still want to use their alloca,
15881 # use ar to extract alloca.o from them instead of compiling alloca.c.
15883 ALLOCA
=alloca.
$ac_objext
15885 cat >>confdefs.h
<<\_ACEOF
15890 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15891 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15892 if test "${ac_cv_os_cray+set}" = set; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15895 cat >conftest.
$ac_ext <<_ACEOF
15898 cat confdefs.h
>>conftest.
$ac_ext
15899 cat >>conftest.
$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15901 #if defined(CRAY) && ! defined(CRAY2)
15908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15909 $EGREP "webecray" >/dev
/null
2>&1; then
15917 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15918 echo "${ECHO_T}$ac_cv_os_cray" >&6
15919 if test $ac_cv_os_cray = yes; then
15920 for ac_func
in _getb67 GETB67 getb67
; do
15921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15922 echo "$as_me:$LINENO: checking for $ac_func" >&5
15923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15924 if eval "test \"\${$as_ac_var+set}\" = set"; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 cat >conftest.
$ac_ext <<_ACEOF
15930 cat confdefs.h
>>conftest.
$ac_ext
15931 cat >>conftest.
$ac_ext <<_ACEOF
15932 /* end confdefs.h. */
15933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15935 #define $ac_func innocuous_$ac_func
15937 /* System header to define __stub macros and hopefully few prototypes,
15938 which can conflict with char $ac_func (); below.
15939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15940 <limits.h> exists even on freestanding compilers. */
15943 # include <limits.h>
15945 # include <assert.h>
15950 /* Override any gcc2 internal prototype to avoid an error. */
15955 /* We use char because int might match the return type of a gcc2
15956 builtin and then its argument prototype would still apply. */
15958 /* The GNU C library defines this for functions which it implements
15959 to always fail with ENOSYS. Some functions are actually named
15960 something starting with __ and the normal name is an alias. */
15961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15964 char (*f) () = $ac_func;
15973 return f != $ac_func;
15978 rm -f conftest.
$ac_objext conftest
$ac_exeext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15980 (eval $ac_link) 2>conftest.er1
15982 grep -v '^ *+' conftest.er1
>conftest.err
15984 cat conftest.err
>&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); } &&
15987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 (eval $ac_try) 2>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); }; } &&
15993 { ac_try
='test -s conftest$ac_exeext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 eval "$as_ac_var=yes"
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16004 eval "$as_ac_var=no"
16006 rm -f conftest.err conftest.
$ac_objext \
16007 conftest
$ac_exeext conftest.
$ac_ext
16009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16011 if test `eval echo '${'$as_ac_var'}'` = yes; then
16013 cat >>confdefs.h
<<_ACEOF
16014 #define CRAY_STACKSEG_END $ac_func
16023 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16024 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16025 if test "${ac_cv_c_stack_direction+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 if test "$cross_compiling" = yes; then
16029 ac_cv_c_stack_direction
=0
16031 cat >conftest.
$ac_ext <<_ACEOF
16034 cat confdefs.h
>>conftest.
$ac_ext
16035 cat >>conftest.
$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16038 find_stack_direction ()
16040 static char *addr = 0;
16045 return find_stack_direction ();
16048 return (&dummy > addr) ? 1 : -1;
16054 exit (find_stack_direction () < 0);
16057 rm -f conftest
$ac_exeext
16058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16059 (eval $ac_link) 2>&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16068 ac_cv_c_stack_direction
=1
16070 echo "$as_me: program exited with status $ac_status" >&5
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.
$ac_ext >&5
16074 ( exit $ac_status )
16075 ac_cv_c_stack_direction
=-1
16077 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16080 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16081 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16083 cat >>confdefs.h
<<_ACEOF
16084 #define STACK_DIRECTION $ac_cv_c_stack_direction
16217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16218 echo "$as_me:$LINENO: checking for $ac_func" >&5
16219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16220 if eval "test \"\${$as_ac_var+set}\" = set"; then
16221 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 cat >conftest.
$ac_ext <<_ACEOF
16226 cat confdefs.h
>>conftest.
$ac_ext
16227 cat >>conftest.
$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16231 #define $ac_func innocuous_$ac_func
16233 /* System header to define __stub macros and hopefully few prototypes,
16234 which can conflict with char $ac_func (); below.
16235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16236 <limits.h> exists even on freestanding compilers. */
16239 # include <limits.h>
16241 # include <assert.h>
16246 /* Override any gcc2 internal prototype to avoid an error. */
16251 /* We use char because int might match the return type of a gcc2
16252 builtin and then its argument prototype would still apply. */
16254 /* The GNU C library defines this for functions which it implements
16255 to always fail with ENOSYS. Some functions are actually named
16256 something starting with __ and the normal name is an alias. */
16257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16260 char (*f) () = $ac_func;
16269 return f != $ac_func;
16274 rm -f conftest.
$ac_objext conftest
$ac_exeext
16275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16276 (eval $ac_link) 2>conftest.er1
16278 grep -v '^ *+' conftest.er1
>conftest.err
16280 cat conftest.err
>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } &&
16283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; } &&
16289 { ac_try
='test -s conftest$ac_exeext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 eval "$as_ac_var=yes"
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.
$ac_ext >&5
16300 eval "$as_ac_var=no"
16302 rm -f conftest.err conftest.
$ac_objext \
16303 conftest
$ac_exeext conftest.
$ac_ext
16305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16307 if test `eval echo '${'$as_ac_var'}'` = yes; then
16308 cat >>confdefs.h
<<_ACEOF
16309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16414 fontconfig
/fontconfig.h \
16439 netinet
/in_systm.h \
16441 netinet
/tcp_fsm.h \
16451 scsi
/scsi_ioctl.h \
16497 valgrind
/memcheck.h
16500 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16502 echo "$as_me:$LINENO: checking for $ac_header" >&5
16503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16510 # Is the header compilable?
16511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16513 cat >conftest.
$ac_ext <<_ACEOF
16516 cat confdefs.h
>>conftest.
$ac_ext
16517 cat >>conftest.
$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16520 #include <$ac_header>
16522 rm -f conftest.
$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16526 grep -v '^ *+' conftest.er1
>conftest.err
16528 cat conftest.err
>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try
='test -s conftest.$ac_objext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_header_compiler
=yes
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16548 ac_header_compiler
=no
16550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16552 echo "${ECHO_T}$ac_header_compiler" >&6
16554 # Is the header present?
16555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16557 cat >conftest.
$ac_ext <<_ACEOF
16560 cat confdefs.h
>>conftest.
$ac_ext
16561 cat >>conftest.
$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 #include <$ac_header>
16565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16568 grep -v '^ *+' conftest.er1
>conftest.err
16570 cat conftest.err
>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } >/dev
/null
; then
16573 if test -s conftest.err
; then
16574 ac_cpp_err
=$ac_c_preproc_warn_flag
16575 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16582 if test -z "$ac_cpp_err"; then
16583 ac_header_preproc
=yes
16585 echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.
$ac_ext >&5
16588 ac_header_preproc
=no
16590 rm -f conftest.err conftest.
$ac_ext
16591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16592 echo "${ECHO_T}$ac_header_preproc" >&6
16594 # So? What about this header?
16595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16601 ac_header_preproc
=yes
16604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16618 ## ------------------------------------ ##
16619 ## Report this to wine-devel@winehq.org ##
16620 ## ------------------------------------ ##
16623 sed "s/^/$as_me: WARNING: /" >&2
16626 echo "$as_me:$LINENO: checking for $ac_header" >&5
16627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 eval "$as_ac_Header=\$ac_header_preproc"
16633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16638 cat >>confdefs.h
<<_ACEOF
16639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16646 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16647 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16648 if test "${ac_cv_header_stat_broken+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16651 cat >conftest.
$ac_ext <<_ACEOF
16654 cat confdefs.h
>>conftest.
$ac_ext
16655 cat >>conftest.
$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #include <sys/types.h>
16658 #include <sys/stat.h>
16660 #if defined(S_ISBLK) && defined(S_IFDIR)
16661 # if S_ISBLK (S_IFDIR)
16666 #if defined(S_ISBLK) && defined(S_IFCHR)
16667 # if S_ISBLK (S_IFCHR)
16672 #if defined(S_ISLNK) && defined(S_IFREG)
16673 # if S_ISLNK (S_IFREG)
16678 #if defined(S_ISSOCK) && defined(S_IFREG)
16679 # if S_ISSOCK (S_IFREG)
16685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16686 $EGREP "You lose" >/dev
/null
2>&1; then
16687 ac_cv_header_stat_broken
=yes
16689 ac_cv_header_stat_broken
=no
16694 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16695 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16696 if test $ac_cv_header_stat_broken = yes; then
16698 cat >>confdefs.h
<<\_ACEOF
16699 #define STAT_MACROS_BROKEN 1
16708 for ac_header
in sys
/mount.h sys
/user.h
16710 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16711 echo "$as_me:$LINENO: checking for $ac_header" >&5
16712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 cat >conftest.
$ac_ext <<_ACEOF
16719 cat confdefs.h
>>conftest.
$ac_ext
16720 cat >>conftest.
$ac_ext <<_ACEOF
16721 /* end confdefs.h. */
16722 #include <sys/types.h>
16723 #if HAVE_SYS_PARAM_H
16724 # include <sys/param.h>
16727 #include <$ac_header>
16729 rm -f conftest.
$ac_objext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731 (eval $ac_compile) 2>conftest.er1
16733 grep -v '^ *+' conftest.er1
>conftest.err
16735 cat conftest.err
>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; } &&
16744 { ac_try
='test -s conftest.$ac_objext'
16745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746 (eval $ac_try) 2>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; }; then
16750 eval "$as_ac_Header=yes"
16752 echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.
$ac_ext >&5
16755 eval "$as_ac_Header=no"
16757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16762 cat >>confdefs.h
<<_ACEOF
16763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16776 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16779 echo "$as_me:$LINENO: checking for $ac_header" >&5
16780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16782 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 #include <sys/types.h>
16791 #if HAVE_SYS_SOCKET_H
16792 # include <sys/socket.h>
16795 #include <$ac_header>
16797 rm -f conftest.
$ac_objext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16799 (eval $ac_compile) 2>conftest.er1
16801 grep -v '^ *+' conftest.er1
>conftest.err
16803 cat conftest.err
>&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; } &&
16812 { ac_try
='test -s conftest.$ac_objext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16818 eval "$as_ac_Header=yes"
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.
$ac_ext >&5
16823 eval "$as_ac_Header=no"
16825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16830 cat >>confdefs.h
<<_ACEOF
16831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16840 for ac_header
in resolv.h
16842 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16843 echo "$as_me:$LINENO: checking for $ac_header" >&5
16844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16846 echo $ECHO_N "(cached) $ECHO_C" >&6
16848 cat >conftest.
$ac_ext <<_ACEOF
16851 cat confdefs.h
>>conftest.
$ac_ext
16852 cat >>conftest.
$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16854 #include <sys/types.h>
16855 #if HAVE_SYS_SOCKET_H
16856 # include <sys/socket.h>
16858 #if HAVE_NETINET_IN_H
16859 # include <netinet/in.h>
16861 #if HAVE_ARPA_NAMESER_H
16862 # include <arpa/nameser.h>
16865 #include <$ac_header>
16867 rm -f conftest.
$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16871 grep -v '^ *+' conftest.er1
>conftest.err
16873 cat conftest.err
>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; } &&
16882 { ac_try
='test -s conftest.$ac_objext'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 eval "$as_ac_Header=yes"
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.
$ac_ext >&5
16893 eval "$as_ac_Header=no"
16895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16900 cat >>confdefs.h
<<_ACEOF
16901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16910 for ac_header
in netinet
/ip.h
16912 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16913 echo "$as_me:$LINENO: checking for $ac_header" >&5
16914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16916 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 cat >conftest.
$ac_ext <<_ACEOF
16921 cat confdefs.h
>>conftest.
$ac_ext
16922 cat >>conftest.
$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16924 #include <sys/types.h>
16925 #if HAVE_SYS_SOCKET_H
16926 # include <sys/socket.h>
16928 #if HAVE_NETINET_IN_SYSTM_H
16929 # include <netinet/in_systm.h>
16932 #include <$ac_header>
16934 rm -f conftest.
$ac_objext
16935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16936 (eval $ac_compile) 2>conftest.er1
16938 grep -v '^ *+' conftest.er1
>conftest.err
16940 cat conftest.err
>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } &&
16943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try
='test -s conftest.$ac_objext'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; }; then
16955 eval "$as_ac_Header=yes"
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.
$ac_ext >&5
16960 eval "$as_ac_Header=no"
16962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16967 cat >>confdefs.h
<<_ACEOF
16968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16977 for ac_header
in ucontext.h
16979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16980 echo "$as_me:$LINENO: checking for $ac_header" >&5
16981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 cat >conftest.
$ac_ext <<_ACEOF
16988 cat confdefs.h
>>conftest.
$ac_ext
16989 cat >>conftest.
$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 #include <signal.h>
16993 #include <$ac_header>
16995 rm -f conftest.
$ac_objext
16996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16997 (eval $ac_compile) 2>conftest.er1
16999 grep -v '^ *+' conftest.er1
>conftest.err
17001 cat conftest.err
>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } &&
17004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; } &&
17010 { ac_try
='test -s conftest.$ac_objext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 eval "$as_ac_Header=yes"
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.
$ac_ext >&5
17021 eval "$as_ac_Header=no"
17023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17028 cat >>confdefs.h
<<_ACEOF
17029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17038 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
17039 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
17040 if test "${ac_cv_c_ipx_gnu+set}" = set; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 cat >conftest.
$ac_ext <<_ACEOF
17046 cat confdefs.h
>>conftest.
$ac_ext
17047 cat >>conftest.
$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 #include <sys/types.h>
17050 #ifdef HAVE_SYS_SOCKET_H
17051 # include <sys/socket.h>
17053 #include <netipx/ipx.h>
17057 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17062 rm -f conftest.
$ac_objext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17064 (eval $ac_compile) 2>conftest.er1
17066 grep -v '^ *+' conftest.er1
>conftest.err
17068 cat conftest.err
>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } &&
17071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; } &&
17077 { ac_try
='test -s conftest.$ac_objext'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; }; then
17083 ac_cv_c_ipx_gnu
="yes"
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.
$ac_ext >&5
17088 ac_cv_c_ipx_gnu
="no"
17090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17093 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17094 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17095 if test "$ac_cv_c_ipx_gnu" = "yes"
17098 cat >>confdefs.h
<<\_ACEOF
17099 #define HAVE_IPX_GNU 1
17104 if test "$ac_cv_c_ipx_gnu" = "no"
17106 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17107 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17108 if test "${ac_cv_c_ipx_linux+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 cat >conftest.
$ac_ext <<_ACEOF
17114 cat confdefs.h
>>conftest.
$ac_ext
17115 cat >>conftest.
$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include <sys/types.h>
17118 #ifdef HAVE_SYS_SOCKET_H
17119 # include <sys/socket.h>
17121 #include <asm/types.h>
17122 #include <linux/ipx.h>
17126 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17131 rm -f conftest.
$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17135 grep -v '^ *+' conftest.er1
>conftest.err
17137 cat conftest.err
>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17142 (eval $ac_try) 2>&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); }; } &&
17146 { ac_try
='test -s conftest.$ac_objext'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; }; then
17152 ac_cv_c_ipx_linux
="yes"
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.
$ac_ext >&5
17157 ac_cv_c_ipx_linux
="no"
17159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17162 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17163 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17164 if test "$ac_cv_c_ipx_linux" = "yes"
17167 cat >>confdefs.h
<<\_ACEOF
17168 #define HAVE_IPX_LINUX 1
17175 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17176 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17177 if test "${ac_cv_c_const+set}" = set; then
17178 echo $ECHO_N "(cached) $ECHO_C" >&6
17180 cat >conftest.
$ac_ext <<_ACEOF
17183 cat confdefs.h
>>conftest.
$ac_ext
17184 cat >>conftest.
$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17190 /* FIXME: Include the comments suggested by Paul. */
17191 #ifndef __cplusplus
17192 /* Ultrix mips cc rejects this. */
17193 typedef int charset[2];
17195 /* SunOS 4.1.1 cc rejects this. */
17196 char const *const *ccp;
17198 /* NEC SVR4.0.2 mips cc rejects this. */
17199 struct point {int x, y;};
17200 static struct point const zero = {0,0};
17201 /* AIX XL C 1.02.0.0 rejects this.
17202 It does not let you subtract one const X* pointer from another in
17203 an arm of an if-expression whose if-part is not a constant
17205 const char *g = "string";
17206 ccp = &g + (g ? g-g : 0);
17207 /* HPUX 7.0 cc rejects these. */
17210 ccp = (char const *const *) p;
17211 { /* SCO 3.2v4 cc rejects this. */
17213 char const *s = 0 ? (char *) 0 : (char const *) 0;
17217 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17218 int x[] = {25, 17};
17219 const int *foo = &x[0];
17222 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17223 typedef const int *iptr;
17227 { /* AIX XL C 1.02.0.0 rejects this saying
17228 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17229 struct s { int j; const int *ap[3]; };
17230 struct s *b; b->j = 5;
17232 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17233 const int foo = 10;
17241 rm -f conftest.
$ac_objext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; } &&
17256 { ac_try
='test -s conftest.$ac_objext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.
$ac_ext >&5
17269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17271 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17272 echo "${ECHO_T}$ac_cv_c_const" >&6
17273 if test $ac_cv_c_const = no
; then
17275 cat >>confdefs.h
<<\_ACEOF
17281 echo "$as_me:$LINENO: checking for inline" >&5
17282 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17283 if test "${ac_cv_c_inline+set}" = set; then
17284 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 for ac_kw
in inline __inline__ __inline
; do
17288 cat >conftest.
$ac_ext <<_ACEOF
17291 cat confdefs.h
>>conftest.
$ac_ext
17292 cat >>conftest.
$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17294 #ifndef __cplusplus
17296 static $ac_kw foo_t static_foo () {return 0; }
17297 $ac_kw foo_t foo () {return 0; }
17301 rm -f conftest.
$ac_objext
17302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17303 (eval $ac_compile) 2>conftest.er1
17305 grep -v '^ *+' conftest.er1
>conftest.err
17307 cat conftest.err
>&5
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); } &&
17310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; } &&
17316 { ac_try
='test -s conftest.$ac_objext'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; }; then
17322 ac_cv_c_inline
=$ac_kw; break
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.
$ac_ext >&5
17328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17332 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17333 echo "${ECHO_T}$ac_cv_c_inline" >&6
17336 case $ac_cv_c_inline in
17339 case $ac_cv_c_inline in
17341 *) ac_val
=$ac_cv_c_inline;;
17343 cat >>confdefs.h
<<_ACEOF
17344 #ifndef __cplusplus
17345 #define inline $ac_val
17351 echo "$as_me:$LINENO: checking for mode_t" >&5
17352 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17353 if test "${ac_cv_type_mode_t+set}" = set; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17356 cat >conftest.
$ac_ext <<_ACEOF
17359 cat confdefs.h
>>conftest.
$ac_ext
17360 cat >>conftest.
$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17368 if (sizeof (mode_t))
17374 rm -f conftest.
$ac_objext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17376 (eval $ac_compile) 2>conftest.er1
17378 grep -v '^ *+' conftest.er1
>conftest.err
17380 cat conftest.err
>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try
='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_cv_type_mode_t
=yes
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ac_cv_type_mode_t
=no
17402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17404 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17405 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17406 if test $ac_cv_type_mode_t = yes; then
17408 cat >>confdefs.h
<<_ACEOF
17409 #define HAVE_MODE_T 1
17414 echo "$as_me:$LINENO: checking for off_t" >&5
17415 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17416 if test "${ac_cv_type_off_t+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 cat >conftest.
$ac_ext <<_ACEOF
17422 cat confdefs.h
>>conftest.
$ac_ext
17423 cat >>conftest.
$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 $ac_includes_default
17431 if (sizeof (off_t))
17437 rm -f conftest.
$ac_objext
17438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17439 (eval $ac_compile) 2>conftest.er1
17441 grep -v '^ *+' conftest.er1
>conftest.err
17443 cat conftest.err
>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; } &&
17452 { ac_try
='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_cv_type_off_t
=yes
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.
$ac_ext >&5
17463 ac_cv_type_off_t
=no
17465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17467 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17468 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17469 if test $ac_cv_type_off_t = yes; then
17471 cat >>confdefs.h
<<_ACEOF
17472 #define HAVE_OFF_T 1
17477 echo "$as_me:$LINENO: checking for pid_t" >&5
17478 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17479 if test "${ac_cv_type_pid_t+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 cat >conftest.
$ac_ext <<_ACEOF
17485 cat confdefs.h
>>conftest.
$ac_ext
17486 cat >>conftest.
$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 $ac_includes_default
17494 if (sizeof (pid_t))
17500 rm -f conftest.
$ac_objext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>conftest.er1
17504 grep -v '^ *+' conftest.er1
>conftest.err
17506 cat conftest.err
>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } &&
17509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try
='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 ac_cv_type_pid_t
=yes
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17526 ac_cv_type_pid_t
=no
17528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17530 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17531 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17532 if test $ac_cv_type_pid_t = yes; then
17534 cat >>confdefs.h
<<_ACEOF
17535 #define HAVE_PID_T 1
17540 echo "$as_me:$LINENO: checking for size_t" >&5
17541 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17542 if test "${ac_cv_type_size_t+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 cat >conftest.
$ac_ext <<_ACEOF
17548 cat confdefs.h
>>conftest.
$ac_ext
17549 cat >>conftest.
$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 $ac_includes_default
17557 if (sizeof (size_t))
17563 rm -f conftest.
$ac_objext
17564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17565 (eval $ac_compile) 2>conftest.er1
17567 grep -v '^ *+' conftest.er1
>conftest.err
17569 cat conftest.err
>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } &&
17572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; } &&
17578 { ac_try
='test -s conftest.$ac_objext'
17579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17580 (eval $ac_try) 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; }; then
17584 ac_cv_type_size_t
=yes
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.
$ac_ext >&5
17589 ac_cv_type_size_t
=no
17591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17593 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17594 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17595 if test $ac_cv_type_size_t = yes; then
17597 cat >>confdefs.h
<<_ACEOF
17598 #define HAVE_SIZE_T 1
17603 echo "$as_me:$LINENO: checking for ssize_t" >&5
17604 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17605 if test "${ac_cv_type_ssize_t+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 cat >conftest.
$ac_ext <<_ACEOF
17611 cat confdefs.h
>>conftest.
$ac_ext
17612 cat >>conftest.
$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17614 $ac_includes_default
17620 if (sizeof (ssize_t))
17626 rm -f conftest.
$ac_objext
17627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17628 (eval $ac_compile) 2>conftest.er1
17630 grep -v '^ *+' conftest.er1
>conftest.err
17632 cat conftest.err
>&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); } &&
17635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; } &&
17641 { ac_try
='test -s conftest.$ac_objext'
17642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17643 (eval $ac_try) 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; }; then
17647 ac_cv_type_ssize_t
=yes
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.
$ac_ext >&5
17652 ac_cv_type_ssize_t
=no
17654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17656 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17657 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17658 if test $ac_cv_type_ssize_t = yes; then
17660 cat >>confdefs.h
<<_ACEOF
17661 #define HAVE_SSIZE_T 1
17666 echo "$as_me:$LINENO: checking for long long" >&5
17667 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17668 if test "${ac_cv_type_long_long+set}" = set; then
17669 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 cat >conftest.
$ac_ext <<_ACEOF
17674 cat confdefs.h
>>conftest.
$ac_ext
17675 cat >>conftest.
$ac_ext <<_ACEOF
17676 /* end confdefs.h. */
17677 $ac_includes_default
17681 if ((long long *) 0)
17683 if (sizeof (long long))
17689 rm -f conftest.
$ac_objext
17690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17691 (eval $ac_compile) 2>conftest.er1
17693 grep -v '^ *+' conftest.er1
>conftest.err
17695 cat conftest.err
>&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); } &&
17698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17700 (eval $ac_try) 2>&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); }; } &&
17704 { ac_try
='test -s conftest.$ac_objext'
17705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17706 (eval $ac_try) 2>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); }; }; then
17710 ac_cv_type_long_long
=yes
17712 echo "$as_me: failed program was:" >&5
17713 sed 's/^/| /' conftest.
$ac_ext >&5
17715 ac_cv_type_long_long
=no
17717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17719 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17720 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17721 if test $ac_cv_type_long_long = yes; then
17723 cat >>confdefs.h
<<_ACEOF
17724 #define HAVE_LONG_LONG 1
17729 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17730 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17731 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 cat >conftest.
$ac_ext <<_ACEOF
17737 cat confdefs.h
>>conftest.
$ac_ext
17738 cat >>conftest.
$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740 $ac_includes_default
17744 if ((fsblkcnt_t *) 0)
17746 if (sizeof (fsblkcnt_t))
17752 rm -f conftest.
$ac_objext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17754 (eval $ac_compile) 2>conftest.er1
17756 grep -v '^ *+' conftest.er1
>conftest.err
17758 cat conftest.err
>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try
='test -s conftest.$ac_objext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 ac_cv_type_fsblkcnt_t
=yes
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.
$ac_ext >&5
17778 ac_cv_type_fsblkcnt_t
=no
17780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17782 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17783 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17784 if test $ac_cv_type_fsblkcnt_t = yes; then
17786 cat >>confdefs.h
<<_ACEOF
17787 #define HAVE_FSBLKCNT_T 1
17792 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17793 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17794 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17795 echo $ECHO_N "(cached) $ECHO_C" >&6
17797 cat >conftest.
$ac_ext <<_ACEOF
17800 cat confdefs.h
>>conftest.
$ac_ext
17801 cat >>conftest.
$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17803 $ac_includes_default
17807 if ((fsfilcnt_t *) 0)
17809 if (sizeof (fsfilcnt_t))
17815 rm -f conftest.
$ac_objext
17816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817 (eval $ac_compile) 2>conftest.er1
17819 grep -v '^ *+' conftest.er1
>conftest.err
17821 cat conftest.err
>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } &&
17824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; } &&
17830 { ac_try
='test -s conftest.$ac_objext'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; }; then
17836 ac_cv_type_fsfilcnt_t
=yes
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.
$ac_ext >&5
17841 ac_cv_type_fsfilcnt_t
=no
17843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17845 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17846 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17847 if test $ac_cv_type_fsfilcnt_t = yes; then
17849 cat >>confdefs.h
<<_ACEOF
17850 #define HAVE_FSFILCNT_T 1
17857 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17858 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17859 if test "${wine_cv_linux_input_h+set}" = set; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17862 cat >conftest.
$ac_ext <<_ACEOF
17865 cat confdefs.h
>>conftest.
$ac_ext
17866 cat >>conftest.
$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17869 #include <linux/input.h>
17875 int foo = EVIOCGBIT(EV_ABS,42);
17876 int bar = BTN_PINKIE;
17883 rm -f conftest.
$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>conftest.er1
17887 grep -v '^ *+' conftest.er1
>conftest.err
17889 cat conftest.err
>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } &&
17892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; } &&
17898 { ac_try
='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 wine_cv_linux_input_h
=yes
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.
$ac_ext >&5
17909 wine_cv_linux_input_h
=no
17911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17914 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17915 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17916 if test "$wine_cv_linux_input_h" = "yes"
17919 cat >>confdefs.h
<<\_ACEOF
17920 #define HAVE_CORRECT_LINUXINPUT_H 1
17926 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17927 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17928 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 cat >conftest.
$ac_ext <<_ACEOF
17934 cat confdefs.h
>>conftest.
$ac_ext
17935 cat >>conftest.
$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17946 struct hostent *result;
17953 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17954 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17960 rm -f conftest.
$ac_objext conftest
$ac_exeext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17962 (eval $ac_link) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try
='test -s conftest$ac_exeext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 wine_cv_linux_gethostbyname_r_6
=yes
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.
$ac_ext >&5
17986 wine_cv_linux_gethostbyname_r_6
=no
17989 rm -f conftest.err conftest.
$ac_objext \
17990 conftest
$ac_exeext conftest.
$ac_ext
17993 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17994 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17995 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17998 cat >>confdefs.h
<<\_ACEOF
17999 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18004 if test "$ac_cv_header_linux_joystick_h" = "yes"
18006 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18007 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
18008 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 cat >conftest.
$ac_ext <<_ACEOF
18014 cat confdefs.h
>>conftest.
$ac_ext
18015 cat >>conftest.
$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18018 #include <sys/ioctl.h>
18019 #include <linux/joystick.h>
18021 struct js_event blub;
18022 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18023 #error "no 2.2 header"
18034 rm -f conftest.
$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>conftest.er1
18038 grep -v '^ *+' conftest.er1
>conftest.err
18040 cat conftest.err
>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } &&
18043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; } &&
18049 { ac_try
='test -s conftest.$ac_objext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 wine_cv_linux_joystick_22_api
=yes
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18060 wine_cv_linux_joystick_22_api
=no
18062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18065 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18066 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
18067 if test "$wine_cv_linux_joystick_22_api" = "yes"
18070 cat >>confdefs.h
<<\_ACEOF
18071 #define HAVE_LINUX_22_JOYSTICK_API 1
18078 if test "$ac_cv_header_sys_vfs_h" = "yes"
18080 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
18081 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
18082 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 cat >conftest.
$ac_ext <<_ACEOF
18088 cat confdefs.h
>>conftest.
$ac_ext
18089 cat >>conftest.
$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18092 #include <sys/types.h>
18093 #ifdef HAVE_SYS_PARAM_H
18094 # include <sys/param.h>
18096 #include <sys/vfs.h>
18102 struct statfs stfs;
18104 memset(&stfs,0,sizeof(stfs));
18110 rm -f conftest.
$ac_objext
18111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18112 (eval $ac_compile) 2>conftest.er1
18114 grep -v '^ *+' conftest.er1
>conftest.err
18116 cat conftest.err
>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; } &&
18125 { ac_try
='test -s conftest.$ac_objext'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 wine_cv_sys_vfs_has_statfs
=yes
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.
$ac_ext >&5
18136 wine_cv_sys_vfs_has_statfs
=no
18139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18142 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18143 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18144 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18147 cat >>confdefs.h
<<\_ACEOF
18148 #define STATFS_DEFINED_BY_SYS_VFS 1
18154 if test "$ac_cv_header_sys_statfs_h" = "yes"
18156 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18157 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18158 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18159 echo $ECHO_N "(cached) $ECHO_C" >&6
18161 cat >conftest.
$ac_ext <<_ACEOF
18164 cat confdefs.h
>>conftest.
$ac_ext
18165 cat >>conftest.
$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18168 #include <sys/types.h>
18169 #ifdef HAVE_SYS_PARAM_H
18170 # include <sys/param.h>
18172 #include <sys/statfs.h>
18178 struct statfs stfs;
18184 rm -f conftest.
$ac_objext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18186 (eval $ac_compile) 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; } &&
18199 { ac_try
='test -s conftest.$ac_objext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 wine_cv_sys_statfs_has_statfs
=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.
$ac_ext >&5
18210 wine_cv_sys_statfs_has_statfs
=no
18213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18216 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18217 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18218 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18221 cat >>confdefs.h
<<\_ACEOF
18222 #define STATFS_DEFINED_BY_SYS_STATFS 1
18228 if test "$ac_cv_header_sys_mount_h" = "yes"
18230 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18231 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18232 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 cat >conftest.
$ac_ext <<_ACEOF
18238 cat confdefs.h
>>conftest.
$ac_ext
18239 cat >>conftest.
$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18242 #include <sys/types.h>
18243 #ifdef HAVE_SYS_PARAM_H
18244 # include <sys/param.h>
18246 #include <sys/mount.h>
18252 struct statfs stfs;
18258 rm -f conftest.
$ac_objext
18259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18260 (eval $ac_compile) 2>conftest.er1
18262 grep -v '^ *+' conftest.er1
>conftest.err
18264 cat conftest.err
>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } &&
18267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; } &&
18273 { ac_try
='test -s conftest.$ac_objext'
18274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18275 (eval $ac_try) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 wine_cv_sys_mount_has_statfs
=yes
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.
$ac_ext >&5
18284 wine_cv_sys_mount_has_statfs
=no
18287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18290 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18291 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18292 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18295 cat >>confdefs.h
<<\_ACEOF
18296 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18303 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18304 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18305 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18306 echo $ECHO_N "(cached) $ECHO_C" >&6
18308 cat >conftest.
$ac_ext <<_ACEOF
18311 cat confdefs.h
>>conftest.
$ac_ext
18312 cat >>conftest.
$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314 #include <sys/types.h>
18315 #ifdef HAVE_SYS_PARAM_H
18316 # include <sys/param.h>
18318 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18319 # include <sys/mount.h>
18321 # ifdef STATFS_DEFINED_BY_SYS_VFS
18322 # include <sys/vfs.h>
18324 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18325 # include <sys/statfs.h>
18333 static struct statfs ac_aggr;
18334 if (ac_aggr.f_bfree)
18340 rm -f conftest.
$ac_objext
18341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18342 (eval $ac_compile) 2>conftest.er1
18344 grep -v '^ *+' conftest.er1
>conftest.err
18346 cat conftest.err
>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } &&
18349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try
='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 ac_cv_member_struct_statfs_f_bfree
=yes
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.
$ac_ext >&5
18366 cat >conftest.
$ac_ext <<_ACEOF
18369 cat confdefs.h
>>conftest.
$ac_ext
18370 cat >>conftest.
$ac_ext <<_ACEOF
18371 /* end confdefs.h. */
18372 #include <sys/types.h>
18373 #ifdef HAVE_SYS_PARAM_H
18374 # include <sys/param.h>
18376 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18377 # include <sys/mount.h>
18379 # ifdef STATFS_DEFINED_BY_SYS_VFS
18380 # include <sys/vfs.h>
18382 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18383 # include <sys/statfs.h>
18391 static struct statfs ac_aggr;
18392 if (sizeof ac_aggr.f_bfree)
18398 rm -f conftest.
$ac_objext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18400 (eval $ac_compile) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1
>conftest.err
18404 cat conftest.err
>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18409 (eval $ac_try) 2>&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); }; } &&
18413 { ac_try
='test -s conftest.$ac_objext'
18414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18415 (eval $ac_try) 2>&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); }; }; then
18419 ac_cv_member_struct_statfs_f_bfree
=yes
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.
$ac_ext >&5
18424 ac_cv_member_struct_statfs_f_bfree
=no
18426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18430 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18431 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18432 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18434 cat >>confdefs.h
<<_ACEOF
18435 #define HAVE_STRUCT_STATFS_F_BFREE 1
18440 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18441 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18442 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18443 echo $ECHO_N "(cached) $ECHO_C" >&6
18445 cat >conftest.
$ac_ext <<_ACEOF
18448 cat confdefs.h
>>conftest.
$ac_ext
18449 cat >>conftest.
$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 #include <sys/types.h>
18452 #ifdef HAVE_SYS_PARAM_H
18453 # include <sys/param.h>
18455 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18456 # include <sys/mount.h>
18458 # ifdef STATFS_DEFINED_BY_SYS_VFS
18459 # include <sys/vfs.h>
18461 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18462 # include <sys/statfs.h>
18470 static struct statfs ac_aggr;
18471 if (ac_aggr.f_bavail)
18477 rm -f conftest.
$ac_objext
18478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18479 (eval $ac_compile) 2>conftest.er1
18481 grep -v '^ *+' conftest.er1
>conftest.err
18483 cat conftest.err
>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; } &&
18492 { ac_try
='test -s conftest.$ac_objext'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; }; then
18498 ac_cv_member_struct_statfs_f_bavail
=yes
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.
$ac_ext >&5
18503 cat >conftest.
$ac_ext <<_ACEOF
18506 cat confdefs.h
>>conftest.
$ac_ext
18507 cat >>conftest.
$ac_ext <<_ACEOF
18508 /* end confdefs.h. */
18509 #include <sys/types.h>
18510 #ifdef HAVE_SYS_PARAM_H
18511 # include <sys/param.h>
18513 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18514 # include <sys/mount.h>
18516 # ifdef STATFS_DEFINED_BY_SYS_VFS
18517 # include <sys/vfs.h>
18519 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18520 # include <sys/statfs.h>
18528 static struct statfs ac_aggr;
18529 if (sizeof ac_aggr.f_bavail)
18535 rm -f conftest.
$ac_objext
18536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18537 (eval $ac_compile) 2>conftest.er1
18539 grep -v '^ *+' conftest.er1
>conftest.err
18541 cat conftest.err
>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); } &&
18544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; } &&
18550 { ac_try
='test -s conftest.$ac_objext'
18551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); }; }; then
18556 ac_cv_member_struct_statfs_f_bavail
=yes
18558 echo "$as_me: failed program was:" >&5
18559 sed 's/^/| /' conftest.
$ac_ext >&5
18561 ac_cv_member_struct_statfs_f_bavail
=no
18563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18567 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18568 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18569 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18571 cat >>confdefs.h
<<_ACEOF
18572 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18577 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18578 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18579 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18582 cat >conftest.
$ac_ext <<_ACEOF
18585 cat confdefs.h
>>conftest.
$ac_ext
18586 cat >>conftest.
$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 #include <sys/types.h>
18589 #ifdef HAVE_SYS_PARAM_H
18590 # include <sys/param.h>
18592 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18593 # include <sys/mount.h>
18595 # ifdef STATFS_DEFINED_BY_SYS_VFS
18596 # include <sys/vfs.h>
18598 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18599 # include <sys/statfs.h>
18607 static struct statfs ac_aggr;
18608 if (ac_aggr.f_frsize)
18614 rm -f conftest.
$ac_objext
18615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18616 (eval $ac_compile) 2>conftest.er1
18618 grep -v '^ *+' conftest.er1
>conftest.err
18620 cat conftest.err
>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } &&
18623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try
='test -s conftest.$ac_objext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_cv_member_struct_statfs_f_frsize
=yes
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.
$ac_ext >&5
18640 cat >conftest.
$ac_ext <<_ACEOF
18643 cat confdefs.h
>>conftest.
$ac_ext
18644 cat >>conftest.
$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 #include <sys/types.h>
18647 #ifdef HAVE_SYS_PARAM_H
18648 # include <sys/param.h>
18650 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18651 # include <sys/mount.h>
18653 # ifdef STATFS_DEFINED_BY_SYS_VFS
18654 # include <sys/vfs.h>
18656 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18657 # include <sys/statfs.h>
18665 static struct statfs ac_aggr;
18666 if (sizeof ac_aggr.f_frsize)
18672 rm -f conftest.
$ac_objext
18673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18674 (eval $ac_compile) 2>conftest.er1
18676 grep -v '^ *+' conftest.er1
>conftest.err
18678 cat conftest.err
>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } &&
18681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try
='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_cv_member_struct_statfs_f_frsize
=yes
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.
$ac_ext >&5
18698 ac_cv_member_struct_statfs_f_frsize
=no
18700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18704 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18705 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18706 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18708 cat >>confdefs.h
<<_ACEOF
18709 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18714 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18715 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18716 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 cat >conftest.
$ac_ext <<_ACEOF
18722 cat confdefs.h
>>conftest.
$ac_ext
18723 cat >>conftest.
$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 #include <sys/types.h>
18726 #ifdef HAVE_SYS_PARAM_H
18727 # include <sys/param.h>
18729 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18730 # include <sys/mount.h>
18732 # ifdef STATFS_DEFINED_BY_SYS_VFS
18733 # include <sys/vfs.h>
18735 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18736 # include <sys/statfs.h>
18744 static struct statfs ac_aggr;
18745 if (ac_aggr.f_ffree)
18751 rm -f conftest.
$ac_objext
18752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18753 (eval $ac_compile) 2>conftest.er1
18755 grep -v '^ *+' conftest.er1
>conftest.err
18757 cat conftest.err
>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } &&
18760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; } &&
18766 { ac_try
='test -s conftest.$ac_objext'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; }; then
18772 ac_cv_member_struct_statfs_f_ffree
=yes
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.
$ac_ext >&5
18777 cat >conftest.
$ac_ext <<_ACEOF
18780 cat confdefs.h
>>conftest.
$ac_ext
18781 cat >>conftest.
$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18783 #include <sys/types.h>
18784 #ifdef HAVE_SYS_PARAM_H
18785 # include <sys/param.h>
18787 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18788 # include <sys/mount.h>
18790 # ifdef STATFS_DEFINED_BY_SYS_VFS
18791 # include <sys/vfs.h>
18793 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18794 # include <sys/statfs.h>
18802 static struct statfs ac_aggr;
18803 if (sizeof ac_aggr.f_ffree)
18809 rm -f conftest.
$ac_objext
18810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18811 (eval $ac_compile) 2>conftest.er1
18813 grep -v '^ *+' conftest.er1
>conftest.err
18815 cat conftest.err
>&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } &&
18818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820 (eval $ac_try) 2>&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; } &&
18824 { ac_try
='test -s conftest.$ac_objext'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); }; }; then
18830 ac_cv_member_struct_statfs_f_ffree
=yes
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.
$ac_ext >&5
18835 ac_cv_member_struct_statfs_f_ffree
=no
18837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18841 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18842 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18843 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18845 cat >>confdefs.h
<<_ACEOF
18846 #define HAVE_STRUCT_STATFS_F_FFREE 1
18851 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18852 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18853 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 cat >conftest.
$ac_ext <<_ACEOF
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <sys/types.h>
18863 #ifdef HAVE_SYS_PARAM_H
18864 # include <sys/param.h>
18866 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18867 # include <sys/mount.h>
18869 # ifdef STATFS_DEFINED_BY_SYS_VFS
18870 # include <sys/vfs.h>
18872 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18873 # include <sys/statfs.h>
18881 static struct statfs ac_aggr;
18882 if (ac_aggr.f_favail)
18888 rm -f conftest.
$ac_objext
18889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18890 (eval $ac_compile) 2>conftest.er1
18892 grep -v '^ *+' conftest.er1
>conftest.err
18894 cat conftest.err
>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; } &&
18903 { ac_try
='test -s conftest.$ac_objext'
18904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905 (eval $ac_try) 2>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_cv_member_struct_statfs_f_favail
=yes
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.
$ac_ext >&5
18914 cat >conftest.
$ac_ext <<_ACEOF
18917 cat confdefs.h
>>conftest.
$ac_ext
18918 cat >>conftest.
$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18920 #include <sys/types.h>
18921 #ifdef HAVE_SYS_PARAM_H
18922 # include <sys/param.h>
18924 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18925 # include <sys/mount.h>
18927 # ifdef STATFS_DEFINED_BY_SYS_VFS
18928 # include <sys/vfs.h>
18930 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18931 # include <sys/statfs.h>
18939 static struct statfs ac_aggr;
18940 if (sizeof ac_aggr.f_favail)
18946 rm -f conftest.
$ac_objext
18947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18948 (eval $ac_compile) 2>conftest.er1
18950 grep -v '^ *+' conftest.er1
>conftest.err
18952 cat conftest.err
>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; } &&
18961 { ac_try
='test -s conftest.$ac_objext'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_cv_member_struct_statfs_f_favail
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_cv_member_struct_statfs_f_favail
=no
18974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18978 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18979 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18980 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18982 cat >>confdefs.h
<<_ACEOF
18983 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18988 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18989 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18990 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 cat >conftest.
$ac_ext <<_ACEOF
18996 cat confdefs.h
>>conftest.
$ac_ext
18997 cat >>conftest.
$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999 #include <sys/types.h>
19000 #ifdef HAVE_SYS_PARAM_H
19001 # include <sys/param.h>
19003 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19004 # include <sys/mount.h>
19006 # ifdef STATFS_DEFINED_BY_SYS_VFS
19007 # include <sys/vfs.h>
19009 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19010 # include <sys/statfs.h>
19018 static struct statfs ac_aggr;
19019 if (ac_aggr.f_namelen)
19025 rm -f conftest.
$ac_objext
19026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19027 (eval $ac_compile) 2>conftest.er1
19029 grep -v '^ *+' conftest.er1
>conftest.err
19031 cat conftest.err
>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } &&
19034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; } &&
19040 { ac_try
='test -s conftest.$ac_objext'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19046 ac_cv_member_struct_statfs_f_namelen
=yes
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.
$ac_ext >&5
19051 cat >conftest.
$ac_ext <<_ACEOF
19054 cat confdefs.h
>>conftest.
$ac_ext
19055 cat >>conftest.
$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19057 #include <sys/types.h>
19058 #ifdef HAVE_SYS_PARAM_H
19059 # include <sys/param.h>
19061 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19062 # include <sys/mount.h>
19064 # ifdef STATFS_DEFINED_BY_SYS_VFS
19065 # include <sys/vfs.h>
19067 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19068 # include <sys/statfs.h>
19076 static struct statfs ac_aggr;
19077 if (sizeof ac_aggr.f_namelen)
19083 rm -f conftest.
$ac_objext
19084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19085 (eval $ac_compile) 2>conftest.er1
19087 grep -v '^ *+' conftest.er1
>conftest.err
19089 cat conftest.err
>&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } &&
19092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; } &&
19098 { ac_try
='test -s conftest.$ac_objext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_cv_member_struct_statfs_f_namelen
=yes
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.
$ac_ext >&5
19109 ac_cv_member_struct_statfs_f_namelen
=no
19111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19115 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19116 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19117 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19119 cat >>confdefs.h
<<_ACEOF
19120 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19127 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19128 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19129 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19132 cat >conftest.
$ac_ext <<_ACEOF
19135 cat confdefs.h
>>conftest.
$ac_ext
19136 cat >>conftest.
$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 #ifdef HAVE_SYS_STATVFS_H
19139 #include <sys/statvfs.h>
19145 static struct statvfs ac_aggr;
19146 if (ac_aggr.f_blocks)
19152 rm -f conftest.
$ac_objext
19153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19154 (eval $ac_compile) 2>conftest.er1
19156 grep -v '^ *+' conftest.er1
>conftest.err
19158 cat conftest.err
>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } &&
19161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; } &&
19167 { ac_try
='test -s conftest.$ac_objext'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; }; then
19173 ac_cv_member_struct_statvfs_f_blocks
=yes
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.
$ac_ext >&5
19178 cat >conftest.
$ac_ext <<_ACEOF
19181 cat confdefs.h
>>conftest.
$ac_ext
19182 cat >>conftest.
$ac_ext <<_ACEOF
19183 /* end confdefs.h. */
19184 #ifdef HAVE_SYS_STATVFS_H
19185 #include <sys/statvfs.h>
19191 static struct statvfs ac_aggr;
19192 if (sizeof ac_aggr.f_blocks)
19198 rm -f conftest.
$ac_objext
19199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19200 (eval $ac_compile) 2>conftest.er1
19202 grep -v '^ *+' conftest.er1
>conftest.err
19204 cat conftest.err
>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209 (eval $ac_try) 2>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); }; } &&
19213 { ac_try
='test -s conftest.$ac_objext'
19214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19215 (eval $ac_try) 2>&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); }; }; then
19219 ac_cv_member_struct_statvfs_f_blocks
=yes
19221 echo "$as_me: failed program was:" >&5
19222 sed 's/^/| /' conftest.
$ac_ext >&5
19224 ac_cv_member_struct_statvfs_f_blocks
=no
19226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19231 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19232 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19234 cat >>confdefs.h
<<_ACEOF
19235 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19242 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19243 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19244 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19245 echo $ECHO_N "(cached) $ECHO_C" >&6
19247 cat >conftest.
$ac_ext <<_ACEOF
19250 cat confdefs.h
>>conftest.
$ac_ext
19251 cat >>conftest.
$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253 #include <sys/types.h>
19254 #ifdef HAVE_SYS_SOCKET_H
19255 # include <sys/socket.h>
19257 #ifdef HAVE_SYS_UN_H
19258 # include <sys/un.h>
19264 static struct msghdr ac_aggr;
19265 if (ac_aggr.msg_accrights)
19271 rm -f conftest.
$ac_objext
19272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19273 (eval $ac_compile) 2>conftest.er1
19275 grep -v '^ *+' conftest.er1
>conftest.err
19277 cat conftest.err
>&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } &&
19280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; } &&
19286 { ac_try
='test -s conftest.$ac_objext'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; }; then
19292 ac_cv_member_struct_msghdr_msg_accrights
=yes
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.
$ac_ext >&5
19297 cat >conftest.
$ac_ext <<_ACEOF
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <sys/types.h>
19304 #ifdef HAVE_SYS_SOCKET_H
19305 # include <sys/socket.h>
19307 #ifdef HAVE_SYS_UN_H
19308 # include <sys/un.h>
19314 static struct msghdr ac_aggr;
19315 if (sizeof ac_aggr.msg_accrights)
19321 rm -f conftest.
$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19325 grep -v '^ *+' conftest.er1
>conftest.err
19327 cat conftest.err
>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; } &&
19336 { ac_try
='test -s conftest.$ac_objext'
19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19338 (eval $ac_try) 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; }; then
19342 ac_cv_member_struct_msghdr_msg_accrights
=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.
$ac_ext >&5
19347 ac_cv_member_struct_msghdr_msg_accrights
=no
19349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19353 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19354 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19355 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19357 cat >>confdefs.h
<<_ACEOF
19358 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19363 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19364 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19365 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19366 echo $ECHO_N "(cached) $ECHO_C" >&6
19368 cat >conftest.
$ac_ext <<_ACEOF
19371 cat confdefs.h
>>conftest.
$ac_ext
19372 cat >>conftest.
$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19374 #include <sys/types.h>
19375 #ifdef HAVE_SYS_SOCKET_H
19376 # include <sys/socket.h>
19378 #ifdef HAVE_SYS_UN_H
19379 # include <sys/un.h>
19385 static struct sockaddr ac_aggr;
19386 if (ac_aggr.sa_len)
19392 rm -f conftest.
$ac_objext
19393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19394 (eval $ac_compile) 2>conftest.er1
19396 grep -v '^ *+' conftest.er1
>conftest.err
19398 cat conftest.err
>&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } &&
19401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try
='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19413 ac_cv_member_struct_sockaddr_sa_len
=yes
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.
$ac_ext >&5
19418 cat >conftest.
$ac_ext <<_ACEOF
19421 cat confdefs.h
>>conftest.
$ac_ext
19422 cat >>conftest.
$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19424 #include <sys/types.h>
19425 #ifdef HAVE_SYS_SOCKET_H
19426 # include <sys/socket.h>
19428 #ifdef HAVE_SYS_UN_H
19429 # include <sys/un.h>
19435 static struct sockaddr ac_aggr;
19436 if (sizeof ac_aggr.sa_len)
19442 rm -f conftest.
$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19446 grep -v '^ *+' conftest.er1
>conftest.err
19448 cat conftest.err
>&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; } &&
19457 { ac_try
='test -s conftest.$ac_objext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19463 ac_cv_member_struct_sockaddr_sa_len
=yes
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.
$ac_ext >&5
19468 ac_cv_member_struct_sockaddr_sa_len
=no
19470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19474 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19475 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19476 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19478 cat >>confdefs.h
<<_ACEOF
19479 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19484 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19485 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19486 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 cat >conftest.
$ac_ext <<_ACEOF
19492 cat confdefs.h
>>conftest.
$ac_ext
19493 cat >>conftest.
$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <sys/types.h>
19496 #ifdef HAVE_SYS_SOCKET_H
19497 # include <sys/socket.h>
19499 #ifdef HAVE_SYS_UN_H
19500 # include <sys/un.h>
19506 static struct sockaddr_un ac_aggr;
19507 if (ac_aggr.sun_len)
19513 rm -f conftest.
$ac_objext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19515 (eval $ac_compile) 2>conftest.er1
19517 grep -v '^ *+' conftest.er1
>conftest.err
19519 cat conftest.err
>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } &&
19528 { ac_try
='test -s conftest.$ac_objext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19534 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.
$ac_ext >&5
19539 cat >conftest.
$ac_ext <<_ACEOF
19542 cat confdefs.h
>>conftest.
$ac_ext
19543 cat >>conftest.
$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 #include <sys/types.h>
19546 #ifdef HAVE_SYS_SOCKET_H
19547 # include <sys/socket.h>
19549 #ifdef HAVE_SYS_UN_H
19550 # include <sys/un.h>
19556 static struct sockaddr_un ac_aggr;
19557 if (sizeof ac_aggr.sun_len)
19563 rm -f conftest.
$ac_objext
19564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 (eval $ac_compile) 2>conftest.er1
19567 grep -v '^ *+' conftest.er1
>conftest.err
19569 cat conftest.err
>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } &&
19572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try
='test -s conftest.$ac_objext'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; }; then
19584 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.
$ac_ext >&5
19589 ac_cv_member_struct_sockaddr_un_sun_len
=no
19591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19595 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19596 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19597 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19599 cat >>confdefs.h
<<_ACEOF
19600 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19607 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19608 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19609 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19612 cat >conftest.
$ac_ext <<_ACEOF
19615 cat confdefs.h
>>conftest.
$ac_ext
19616 cat >>conftest.
$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 #include <signal.h>
19623 static siginfo_t ac_aggr;
19630 rm -f conftest.
$ac_objext
19631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19632 (eval $ac_compile) 2>conftest.er1
19634 grep -v '^ *+' conftest.er1
>conftest.err
19636 cat conftest.err
>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; } &&
19645 { ac_try
='test -s conftest.$ac_objext'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; }; then
19651 ac_cv_member_siginfo_t_si_fd
=yes
19653 echo "$as_me: failed program was:" >&5
19654 sed 's/^/| /' conftest.
$ac_ext >&5
19656 cat >conftest.
$ac_ext <<_ACEOF
19659 cat confdefs.h
>>conftest.
$ac_ext
19660 cat >>conftest.
$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 #include <signal.h>
19667 static siginfo_t ac_aggr;
19668 if (sizeof ac_aggr.si_fd)
19674 rm -f conftest.
$ac_objext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19676 (eval $ac_compile) 2>conftest.er1
19678 grep -v '^ *+' conftest.er1
>conftest.err
19680 cat conftest.err
>&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try
='test -s conftest.$ac_objext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19695 ac_cv_member_siginfo_t_si_fd
=yes
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.
$ac_ext >&5
19700 ac_cv_member_siginfo_t_si_fd
=no
19702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19706 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19707 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19708 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19710 cat >>confdefs.h
<<_ACEOF
19711 #define HAVE_SIGINFO_T_SI_FD 1
19718 echo "$as_me:$LINENO: checking for struct option.name" >&5
19719 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19720 if test "${ac_cv_member_struct_option_name+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 cat >conftest.
$ac_ext <<_ACEOF
19726 cat confdefs.h
>>conftest.
$ac_ext
19727 cat >>conftest.
$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 #ifdef HAVE_GETOPT_H
19730 #include <getopt.h>
19736 static struct option ac_aggr;
19743 rm -f conftest.
$ac_objext
19744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19745 (eval $ac_compile) 2>conftest.er1
19747 grep -v '^ *+' conftest.er1
>conftest.err
19749 cat conftest.err
>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); } &&
19752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754 (eval $ac_try) 2>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); }; } &&
19758 { ac_try
='test -s conftest.$ac_objext'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; }; then
19764 ac_cv_member_struct_option_name
=yes
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.
$ac_ext >&5
19769 cat >conftest.
$ac_ext <<_ACEOF
19772 cat confdefs.h
>>conftest.
$ac_ext
19773 cat >>conftest.
$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 #ifdef HAVE_GETOPT_H
19776 #include <getopt.h>
19782 static struct option ac_aggr;
19783 if (sizeof ac_aggr.name)
19789 rm -f conftest.
$ac_objext
19790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19791 (eval $ac_compile) 2>conftest.er1
19793 grep -v '^ *+' conftest.er1
>conftest.err
19795 cat conftest.err
>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } &&
19798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19800 (eval $ac_try) 2>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); }; } &&
19804 { ac_try
='test -s conftest.$ac_objext'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; }; then
19810 ac_cv_member_struct_option_name
=yes
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.
$ac_ext >&5
19815 ac_cv_member_struct_option_name
=no
19817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19821 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19822 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19823 if test $ac_cv_member_struct_option_name = yes; then
19825 cat >>confdefs.h
<<_ACEOF
19826 #define HAVE_STRUCT_OPTION_NAME 1
19833 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19834 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19835 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 cat >conftest.
$ac_ext <<_ACEOF
19841 cat confdefs.h
>>conftest.
$ac_ext
19842 cat >>conftest.
$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 $ac_includes_default
19848 static struct stat ac_aggr;
19849 if (ac_aggr.st_blocks)
19855 rm -f conftest.
$ac_objext
19856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19857 (eval $ac_compile) 2>conftest.er1
19859 grep -v '^ *+' conftest.er1
>conftest.err
19861 cat conftest.err
>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } &&
19864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; } &&
19870 { ac_try
='test -s conftest.$ac_objext'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; }; then
19876 ac_cv_member_struct_stat_st_blocks
=yes
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.
$ac_ext >&5
19881 cat >conftest.
$ac_ext <<_ACEOF
19884 cat confdefs.h
>>conftest.
$ac_ext
19885 cat >>conftest.
$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 $ac_includes_default
19891 static struct stat ac_aggr;
19892 if (sizeof ac_aggr.st_blocks)
19898 rm -f conftest.
$ac_objext
19899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19900 (eval $ac_compile) 2>conftest.er1
19902 grep -v '^ *+' conftest.er1
>conftest.err
19904 cat conftest.err
>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); } &&
19907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; } &&
19913 { ac_try
='test -s conftest.$ac_objext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 ac_cv_member_struct_stat_st_blocks
=yes
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 ac_cv_member_struct_stat_st_blocks
=no
19926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19930 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19931 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19932 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19934 cat >>confdefs.h
<<_ACEOF
19935 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19944 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19945 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19946 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 cat >conftest.
$ac_ext <<_ACEOF
19952 cat confdefs.h
>>conftest.
$ac_ext
19953 cat >>conftest.
$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19960 $EGREP "yes" >/dev
/null
2>&1; then
19961 ac_cv_cpp_def___i386__
=yes
19963 ac_cv_cpp_def___i386__
=no
19968 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19969 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19970 if test $ac_cv_cpp_def___i386__ = yes; then
19971 CFLAGS
="$CFLAGS -D__i386__"
19972 LINTFLAGS
="$LINTFLAGS -D__i386__"
19975 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19976 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19977 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19991 $EGREP "yes" >/dev
/null
2>&1; then
19992 ac_cv_cpp_def___ALPHA__
=yes
19994 ac_cv_cpp_def___ALPHA__
=no
19999 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20000 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
20001 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20002 CFLAGS
="$CFLAGS -D__ALPHA__"
20003 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20006 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20007 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
20008 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 cat >conftest.
$ac_ext <<_ACEOF
20014 cat confdefs.h
>>conftest.
$ac_ext
20015 cat >>conftest.
$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20022 $EGREP "yes" >/dev
/null
2>&1; then
20023 ac_cv_cpp_def___sparc__
=yes
20025 ac_cv_cpp_def___sparc__
=no
20030 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20031 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20032 if test $ac_cv_cpp_def___sparc__ = yes; then
20033 CFLAGS
="$CFLAGS -D__sparc__"
20034 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20037 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20038 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20039 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20040 echo $ECHO_N "(cached) $ECHO_C" >&6
20042 cat >conftest.
$ac_ext <<_ACEOF
20045 cat confdefs.h
>>conftest.
$ac_ext
20046 cat >>conftest.
$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 #ifndef __powerpc__
20052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20053 $EGREP "yes" >/dev
/null
2>&1; then
20054 ac_cv_cpp_def___powerpc__
=yes
20056 ac_cv_cpp_def___powerpc__
=no
20061 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20062 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20063 if test $ac_cv_cpp_def___powerpc__ = yes; then
20064 CFLAGS
="$CFLAGS -D__powerpc__"
20065 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20070 case $host_vendor in
20071 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20072 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20073 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 cat >conftest.
$ac_ext <<_ACEOF
20079 cat confdefs.h
>>conftest.
$ac_ext
20080 cat >>conftest.
$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20087 $EGREP "yes" >/dev
/null
2>&1; then
20088 ac_cv_cpp_def___sun__
=yes
20090 ac_cv_cpp_def___sun__
=no
20095 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20096 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20097 if test $ac_cv_cpp_def___sun__ = yes; then
20098 CFLAGS
="$CFLAGS -D__sun__"
20099 LINTFLAGS
="$LINTFLAGS -D__sun__"
20108 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
20110 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
20112 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
20114 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
20116 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
20118 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
20120 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
20122 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
20124 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20126 ac_config_commands
="$ac_config_commands dlls/user/dde"
20128 ac_config_commands
="$ac_config_commands dlls/user/resources"
20130 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20132 ac_config_commands
="$ac_config_commands include/wine"
20134 ac_config_commands
="$ac_config_commands misc"
20136 ac_config_commands
="$ac_config_commands programs/regedit/tests"
20138 ac_config_commands
="$ac_config_commands windows"
20141 MAKE_RULES
=Make.rules
20144 MAKE_DLL_RULES
=dlls
/Makedll.rules
20147 MAKE_TEST_RULES
=dlls
/Maketest.rules
20150 MAKE_LIB_RULES
=libs
/Makelib.rules
20153 MAKE_PROG_RULES
=programs
/Makeprog.rules
20156 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"
20159 cat >confcache
<<\_ACEOF
20160 # This file is a shell script that caches the results of configure
20161 # tests run on this system so they can be shared between configure
20162 # scripts and configure runs, see configure's option --config-cache.
20163 # It is not useful on other systems. If it contains results you don't
20164 # want to keep, you may remove or edit it.
20166 # config.status only pays attention to the cache file if you give it
20167 # the --recheck option to rerun configure.
20169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20171 # following values.
20175 # The following way of writing the cache mishandles newlines in values,
20176 # but we know of no workaround that is simple, portable, and efficient.
20177 # So, don't put newlines in cache variables' values.
20178 # Ultrix sh set writes to stderr and can't be redirected directly,
20179 # and sets the high bit in the cache file unless we assign to the vars.
20182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20184 # `set' does not quote correctly, so add quotes (double-quote
20185 # substitution turns \\\\ into \\, and sed turns \\ into \).
20188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20191 # `set' quotes correctly as required by POSIX, so do not add quotes.
20193 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20202 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20204 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20205 if test -w $cache_file; then
20206 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20207 cat confcache
>$cache_file
20209 echo "not updating unwritable cache $cache_file"
20214 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20215 # Let make expand exec_prefix.
20216 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20218 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20219 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20220 # trailing colons and then remove the whole line if VPATH becomes empty
20221 # (actually we leave an empty line to preserve line numbers).
20222 if test "x$srcdir" = x.
; then
20223 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20224 s/:*\$(srcdir):*/:/;
20225 s/:*\${srcdir}:*/:/;
20227 s/^\([^=]*=[ ]*\):*/\1/;
20233 DEFS
=-DHAVE_CONFIG_H
20237 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20238 # 1. Remove the extension, and $U if already installed.
20239 ac_i
=`echo "$ac_i" |
20240 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20242 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20243 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20245 LIBOBJS
=$ac_libobjs
20247 LTLIBOBJS
=$ac_ltlibobjs
20251 : ${CONFIG_STATUS=./config.status}
20252 ac_clean_files_save
=$ac_clean_files
20253 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20254 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20255 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20256 cat >$CONFIG_STATUS <<_ACEOF
20258 # Generated by $as_me.
20259 # Run this file to recreate the current configuration.
20260 # Compiler output produced by configure, useful for debugging
20261 # configure, is in config.log if it exists.
20264 ac_cs_recheck=false
20266 SHELL=\${CONFIG_SHELL-$SHELL}
20269 cat >>$CONFIG_STATUS <<\_ACEOF
20270 ## --------------------- ##
20271 ## M4sh Initialization. ##
20272 ## --------------------- ##
20274 # Be Bourne compatible
20275 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20278 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20279 # is contrary to our usage. Disable this feature.
20280 alias -g '${1+"$@"}'='"$@"'
20281 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20284 DUALCASE
=1; export DUALCASE
# for MKS sh
20286 # Support unset when possible.
20287 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20294 # Work around bugs in pre-3.0 UWIN ksh.
20295 $as_unset ENV MAIL MAILPATH
20302 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20303 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20304 LC_TELEPHONE LC_TIME
20306 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20307 eval $as_var=C
; export $as_var
20313 # Required to use basename.
20314 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20320 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20321 as_basename
=basename
20327 # Name of the executable.
20328 as_me
=`$as_basename "$0" ||
20329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20330 X"$0" : 'X\(//\)$' \| \
20331 X"$0" : 'X\(/\)$' \| \
20332 . : '\(.\)' 2>/dev/null ||
20334 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20335 /^X\/\(\/\/\)$/{ s//\1/; q; }
20336 /^X\/\(\/\).*/{ s//\1/; q; }
20340 # PATH needs CR, and LINENO needs CR and PATH.
20341 # Avoid depending upon Character Ranges.
20342 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20343 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20344 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20345 as_cr_digits
='0123456789'
20346 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20348 # The user is always right.
20349 if test "${PATH_SEPARATOR+set}" != set; then
20350 echo "#! /bin/sh" >conf$$.sh
20351 echo "exit 0" >>conf$$.sh
20353 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20362 as_lineno_1
=$LINENO
20363 as_lineno_2
=$LINENO
20364 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20365 test "x$as_lineno_1" != "x$as_lineno_2" &&
20366 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20367 # Find who we are. Look in the path if we contain no path at all
20370 *[\\/]* ) as_myself
=$0 ;;
20371 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20372 for as_dir
in $PATH
20375 test -z "$as_dir" && as_dir
=.
20376 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20381 # We did not find ourselves, most probably we were run as `sh COMMAND'
20382 # in which case we are not to be found in the path.
20383 if test "x$as_myself" = x
; then
20386 if test ! -f "$as_myself"; then
20387 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20388 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20389 { (exit 1); exit 1; }; }
20391 case $CONFIG_SHELL in
20393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20394 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20397 test -z "$as_dir" && as_dir
=.
20398 for as_base
in sh bash ksh sh5
; do
20401 if ("$as_dir/$as_base" -c '
20402 as_lineno_1=$LINENO
20403 as_lineno_2=$LINENO
20404 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20405 test "x$as_lineno_1" != "x$as_lineno_2" &&
20406 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20407 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20408 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20409 CONFIG_SHELL
=$as_dir/$as_base
20410 export CONFIG_SHELL
20411 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20420 # uniformly replaced by the line number. The first 'sed' inserts a
20421 # line-number line before each line; the second 'sed' does the real
20422 # work. The second script uses 'N' to pair each line-number line
20423 # with the numbered line, and appends trailing '-' during
20424 # substitution so that $LINENO is not a special case at line end.
20425 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20426 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20427 sed '=' <$as_myself |
20432 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20435 s,^['$as_cr_digits']*\n,,
20436 ' >$as_me.lineno
&&
20437 chmod +x
$as_me.lineno ||
20438 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20439 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20440 { (exit 1); exit 1; }; }
20442 # Don't try to exec as it changes $[0], causing all sort of problems
20443 # (the dirname of $[0] is not the place where we might find the
20444 # original and so on. Autoconf is especially sensible to this).
20446 # Exit status is that of the last command.
20451 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20452 *c
*,-n*) ECHO_N
= ECHO_C
='
20454 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20455 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20458 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20464 rm -f conf$$ conf$$.exe conf$$.
file
20466 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20467 # We could just check for DJGPP; but this test a) works b) is more generic
20468 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20469 if test -f conf$$.exe
; then
20470 # Don't use ln at all; we don't have any links
20475 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20480 rm -f conf$$ conf$$.exe conf$$.
file
20482 if mkdir
-p .
2>/dev
/null
; then
20485 test -d .
/-p && rmdir .
/-p
20489 as_executable_p
="test -f"
20491 # Sed expression to map a string onto a valid CPP name.
20492 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20494 # Sed expression to map a string onto a valid variable name.
20495 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20499 # We need space, tab and new line, in precisely that order.
20509 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20510 # report actual input values of CONFIG_FILES etc. instead of their
20511 # values after options handling. Logging --version etc. is OK.
20515 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20516 ## Running $as_me. ##
20521 This file was extended by Wine $as_me 20041019, which was
20522 generated by GNU Autoconf 2.59. Invocation command line was
20524 CONFIG_FILES = $CONFIG_FILES
20525 CONFIG_HEADERS = $CONFIG_HEADERS
20526 CONFIG_LINKS = $CONFIG_LINKS
20527 CONFIG_COMMANDS = $CONFIG_COMMANDS
20531 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20535 # Files that config.status was made for.
20536 if test -n "$ac_config_files"; then
20537 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20540 if test -n "$ac_config_headers"; then
20541 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20544 if test -n "$ac_config_links"; then
20545 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20548 if test -n "$ac_config_commands"; then
20549 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20552 cat >>$CONFIG_STATUS <<\_ACEOF
20555 \`$as_me' instantiates files from templates according to the
20556 current configuration.
20558 Usage: $0 [OPTIONS] [FILE]...
20560 -h, --help print this help, then exit
20561 -V, --version print version number, then exit
20562 -q, --quiet do not print progress messages
20563 -d, --debug don't remove temporary files
20564 --recheck update $as_me by reconfiguring in the same conditions
20565 --file=FILE[:TEMPLATE]
20566 instantiate the configuration file FILE
20567 --header=FILE[:TEMPLATE]
20568 instantiate the configuration header FILE
20570 Configuration files:
20573 Configuration headers:
20576 Configuration commands:
20579 Report bugs to <bug-autoconf@gnu.org>."
20582 cat >>$CONFIG_STATUS <<_ACEOF
20584 Wine config.status 20041019
20585 configured by $0, generated by GNU Autoconf 2.59,
20586 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20588 Copyright (C) 2003 Free Software Foundation, Inc.
20589 This config.status script is free software; the Free Software Foundation
20590 gives unlimited permission to copy, distribute and modify it."
20595 cat >>$CONFIG_STATUS <<\_ACEOF
20596 # If no file are specified by the user, then we need to provide default
20597 # value. By we need to know if files were specified by the user.
20603 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20604 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20612 *) # This is not an option, so the user has probably given explicit
20615 ac_need_defaults
=false
;;
20619 # Handling of the options.
20621 cat >>$CONFIG_STATUS <<\_ACEOF
20622 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20624 --version |
--vers* |
-V )
20625 echo "$ac_cs_version"; exit 0 ;;
20627 # Conflict between --help and --header
20628 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20629 Try \`$0 --help' for more information." >&5
20630 echo "$as_me: error: ambiguous option: $1
20631 Try \`$0 --help' for more information." >&2;}
20632 { (exit 1); exit 1; }; };;
20633 --help |
--hel |
-h )
20634 echo "$ac_cs_usage"; exit 0 ;;
20635 --debug |
--d* |
-d )
20637 --file |
--fil |
--fi |
--f )
20639 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20640 ac_need_defaults
=false
;;
20641 --header |
--heade |
--head |
--hea )
20643 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20644 ac_need_defaults
=false
;;
20645 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20646 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20649 # This is an error.
20650 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20651 Try \`$0 --help' for more information." >&5
20652 echo "$as_me: error: unrecognized option: $1
20653 Try \`$0 --help' for more information." >&2;}
20654 { (exit 1); exit 1; }; } ;;
20656 *) ac_config_targets
="$ac_config_targets $1" ;;
20662 ac_configure_extra_args
=
20664 if $ac_cs_silent; then
20666 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20670 cat >>$CONFIG_STATUS <<_ACEOF
20671 if \$ac_cs_recheck; then
20672 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20673 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20682 cat >>$CONFIG_STATUS <<\_ACEOF
20683 for ac_config_target
in $ac_config_targets
20685 case "$ac_config_target" in
20686 # Handling of arguments.
20687 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20688 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20689 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20690 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20691 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20692 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20693 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20694 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20695 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20696 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20697 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20698 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20699 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20700 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20701 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20702 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20703 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20704 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20705 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20706 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20707 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20708 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20709 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20710 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20711 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20712 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20713 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20714 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20715 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20716 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20717 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20718 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20719 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20720 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20721 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20722 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20723 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20724 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20725 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20726 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20727 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20728 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20729 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20730 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20731 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20732 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20733 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20734 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20735 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20736 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20737 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20738 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20739 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20740 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20741 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20742 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20743 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20744 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20745 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20746 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20747 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20748 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20749 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20750 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20751 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20752 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20753 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20754 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20755 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20756 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20757 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20758 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20759 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20760 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20761 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20762 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20763 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20764 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20765 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20766 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20767 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20768 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20769 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20770 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20771 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20772 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20773 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20774 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20775 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20776 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20777 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20778 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20779 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20780 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20781 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20782 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20783 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20784 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20785 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20786 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20787 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20788 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20789 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20790 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20791 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20792 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20793 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20794 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20795 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20796 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20797 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20798 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20799 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20800 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20801 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20802 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20803 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20804 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20805 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20806 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20807 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20808 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20809 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20810 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20811 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20812 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20813 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20814 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20815 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20816 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20817 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20818 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20819 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20820 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20821 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20822 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20823 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20824 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20825 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20826 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20827 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20828 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20829 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20830 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20831 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20832 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20833 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20834 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20835 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20836 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20837 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20838 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20839 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20840 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20841 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20842 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20843 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20844 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20845 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20846 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20847 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20848 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20849 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20850 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20851 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20852 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20853 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20854 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20855 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20856 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20857 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20858 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20859 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20860 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20861 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20862 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20863 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20864 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20865 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20866 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20867 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20868 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20869 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20870 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20871 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20872 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20873 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20874 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20875 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20876 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20877 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20878 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20879 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20880 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20881 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20882 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20883 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20884 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20885 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20886 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20887 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20888 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20889 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20890 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20891 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20892 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20893 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20894 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20895 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20896 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20897 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20898 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20899 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20900 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20901 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20902 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20903 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20904 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20905 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20906 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20907 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20908 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20909 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20910 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20911 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20912 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20913 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20914 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20915 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20916 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20917 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20918 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20919 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20920 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20921 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20922 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20923 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20924 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20925 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20926 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20927 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20928 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20929 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20930 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20931 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20932 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20933 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20934 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20935 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20936 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20937 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20938 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20939 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20940 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20941 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20942 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20943 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20944 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20945 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20946 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20947 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20948 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20949 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20950 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20951 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20952 { (exit 1); exit 1; }; };;
20956 # If the user did not use the arguments to specify the items to instantiate,
20957 # then the envvar interface is used. Set only those that are not.
20958 # We use the long form for the default assignment because of an extremely
20959 # bizarre bug on SunOS 4.1.3.
20960 if $ac_need_defaults; then
20961 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20962 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20963 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20966 # Have a temporary directory for convenience. Make it in the build tree
20967 # simply because there is no reason to put it here, and in addition,
20968 # creating and moving files from /tmp can sometimes cause problems.
20969 # Create a temporary directory, and hook for its removal unless debugging.
20972 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20973 trap '{ (exit 1); exit 1; }' 1 2 13 15
20976 # Create a (secure) tmp directory for tmp files.
20979 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20980 test -n "$tmp" && test -d "$tmp"
20983 tmp
=.
/confstat$$
-$RANDOM
20984 (umask 077 && mkdir
$tmp)
20987 echo "$me: cannot create a temporary directory in ." >&2
20988 { (exit 1); exit 1; }
20993 cat >>$CONFIG_STATUS <<_ACEOF
20996 # CONFIG_FILES section.
20999 # No need to generate the scripts if there are no CONFIG_FILES.
21000 # This happens for instance when ./config.status config.h
21001 if test -n "\$CONFIG_FILES"; then
21002 # Protect against being on the right side of a sed subst in config.status.
21003 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21004 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21005 s,@SHELL@,$SHELL,;t t
21006 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21007 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21008 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21009 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21010 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21011 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21012 s,@exec_prefix@,$exec_prefix,;t t
21013 s,@prefix@,$prefix,;t t
21014 s,@program_transform_name@,$program_transform_name,;t t
21015 s,@bindir@,$bindir,;t t
21016 s,@sbindir@,$sbindir,;t t
21017 s,@libexecdir@,$libexecdir,;t t
21018 s,@datadir@,$datadir,;t t
21019 s,@sysconfdir@,$sysconfdir,;t t
21020 s,@sharedstatedir@,$sharedstatedir,;t t
21021 s,@localstatedir@,$localstatedir,;t t
21022 s,@libdir@,$libdir,;t t
21023 s,@includedir@,$includedir,;t t
21024 s,@oldincludedir@,$oldincludedir,;t t
21025 s,@infodir@,$infodir,;t t
21026 s,@mandir@,$mandir,;t t
21027 s,@build_alias@,$build_alias,;t t
21028 s,@host_alias@,$host_alias,;t t
21029 s,@target_alias@,$target_alias,;t t
21030 s,@DEFS@,$DEFS,;t t
21031 s,@ECHO_C@,$ECHO_C,;t t
21032 s,@ECHO_N@,$ECHO_N,;t t
21033 s,@ECHO_T@,$ECHO_T,;t t
21034 s,@LIBS@,$LIBS,;t t
21035 s,@WIN16_FILES@,$WIN16_FILES,;t t
21036 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21037 s,@DLLDEFS@,$DLLDEFS,;t t
21038 s,@build@,$build,;t t
21039 s,@build_cpu@,$build_cpu,;t t
21040 s,@build_vendor@,$build_vendor,;t t
21041 s,@build_os@,$build_os,;t t
21042 s,@host@,$host,;t t
21043 s,@host_cpu@,$host_cpu,;t t
21044 s,@host_vendor@,$host_vendor,;t t
21045 s,@host_os@,$host_os,;t t
21046 s,@SET_MAKE@,$SET_MAKE,;t t
21048 s,@CFLAGS@,$CFLAGS,;t t
21049 s,@LDFLAGS@,$LDFLAGS,;t t
21050 s,@CPPFLAGS@,$CPPFLAGS,;t t
21051 s,@ac_ct_CC@,$ac_ct_CC,;t t
21052 s,@EXEEXT@,$EXEEXT,;t t
21053 s,@OBJEXT@,$OBJEXT,;t t
21055 s,@CXXFLAGS@,$CXXFLAGS,;t t
21056 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21057 s,@CPPBIN@,$CPPBIN,;t t
21058 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21059 s,@TOOLSDIR@,$TOOLSDIR,;t t
21061 s,@X_CFLAGS@,$X_CFLAGS,;t t
21062 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21063 s,@X_LIBS@,$X_LIBS,;t t
21064 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21066 s,@LEXLIB@,$LEXLIB,;t t
21067 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21068 s,@XLEX@,$XLEX,;t t
21069 s,@BISON@,$BISON,;t t
21071 s,@ac_ct_AS@,$ac_ct_AS,;t t
21073 s,@ac_ct_LD@,$ac_ct_LD,;t t
21075 s,@ac_ct_AR@,$ac_ct_AR,;t t
21076 s,@RANLIB@,$RANLIB,;t t
21077 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21078 s,@STRIP@,$STRIP,;t t
21079 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21080 s,@WINDRES@,$WINDRES,;t t
21081 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21082 s,@LN_S@,$LN_S,;t t
21084 s,@EGREP@,$EGREP,;t t
21085 s,@LDCONFIG@,$LDCONFIG,;t t
21086 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21087 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21088 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21089 s,@LINT@,$LINT,;t t
21090 s,@LINTFLAGS@,$LINTFLAGS,;t t
21091 s,@DB2HTML@,$DB2HTML,;t t
21092 s,@DB2PDF@,$DB2PDF,;t t
21093 s,@DB2PS@,$DB2PS,;t t
21094 s,@DB2TXT@,$DB2TXT,;t t
21095 s,@FONTFORGE@,$FONTFORGE,;t t
21096 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21097 s,@XLIB@,$XLIB,;t t
21098 s,@XFILES@,$XFILES,;t t
21099 s,@OPENGLFILES@,$OPENGLFILES,;t t
21100 s,@GLU32FILES@,$GLU32FILES,;t t
21101 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21102 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21103 s,@GLUT32FILES@,$GLUT32FILES,;t t
21104 s,@NASLIBS@,$NASLIBS,;t t
21105 s,@CURSESLIBS@,$CURSESLIBS,;t t
21106 s,@sane_devel@,$sane_devel,;t t
21107 s,@SANELIBS@,$SANELIBS,;t t
21108 s,@SANEINCL@,$SANEINCL,;t t
21109 s,@ICULIBS@,$ICULIBS,;t t
21110 s,@ft_devel@,$ft_devel,;t t
21111 s,@ft_devel2@,$ft_devel2,;t t
21112 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21113 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21114 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21115 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21116 s,@ARTSLIBS@,$ARTSLIBS,;t t
21117 s,@ARTSINCL@,$ARTSINCL,;t t
21118 s,@ALSALIBS@,$ALSALIBS,;t t
21119 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21120 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21121 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21122 s,@DLLEXT@,$DLLEXT,;t t
21123 s,@DLLFLAGS@,$DLLFLAGS,;t t
21124 s,@DLLIBS@,$DLLIBS,;t t
21125 s,@LDSHARED@,$LDSHARED,;t t
21126 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21127 s,@LIBEXT@,$LIBEXT,;t t
21128 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21129 s,@DLLTOOL@,$DLLTOOL,;t t
21130 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21131 s,@DLLWRAP@,$DLLWRAP,;t t
21132 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21133 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21134 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21135 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21136 s,@IOKITLIB@,$IOKITLIB,;t t
21137 s,@CROSSTEST@,$CROSSTEST,;t t
21138 s,@CROSSCC@,$CROSSCC,;t t
21139 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21140 s,@LDPATH@,$LDPATH,;t t
21141 s,@CRTLIBS@,$CRTLIBS,;t t
21142 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21143 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21144 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21146 s,@ALLOCA@,$ALLOCA,;t t
21147 s,@LIBOBJS@,$LIBOBJS,;t t
21148 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21149 /@MAKE_RULES@/r $MAKE_RULES
21150 s,@MAKE_RULES@,,;t t
21151 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21152 s,@MAKE_DLL_RULES@,,;t t
21153 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21154 s,@MAKE_TEST_RULES@,,;t t
21155 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21156 s,@MAKE_LIB_RULES@,,;t t
21157 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21158 s,@MAKE_PROG_RULES@,,;t t
21163 cat >>$CONFIG_STATUS <<\_ACEOF
21164 # Split the substitutions into bite-sized pieces for seds with
21165 # small command number limits, like on Digital OSF/1 and HP-UX.
21166 ac_max_sed_lines
=48
21167 ac_sed_frag
=1 # Number of current file.
21168 ac_beg
=1 # First line for current file.
21169 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21172 while $ac_more_lines; do
21173 if test $ac_beg -gt 1; then
21174 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21176 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21178 if test ! -s $tmp/subs.frag
; then
21179 ac_more_lines
=false
21181 # The purpose of the label and of the branching condition is to
21182 # speed up the sed processing (if there are no `@' at all, there
21183 # is no need to browse any of the substitutions).
21184 # These are the two extra sed commands mentioned above.
21186 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21187 if test -z "$ac_sed_cmds"; then
21188 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21190 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21192 ac_sed_frag
=`expr $ac_sed_frag + 1`
21194 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21197 if test -z "$ac_sed_cmds"; then
21200 fi # test -n "$CONFIG_FILES"
21203 cat >>$CONFIG_STATUS <<\_ACEOF
21204 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21205 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21207 - |
*:- |
*:-:* ) # input from stdin
21209 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21210 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21211 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21212 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21213 * ) ac_file_in
=$ac_file.
in ;;
21216 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21217 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21218 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21219 X"$ac_file" : 'X\(//\)[^/]' \| \
21220 X"$ac_file" : 'X\(//\)$' \| \
21221 X"$ac_file" : 'X\(/\)' \| \
21222 . : '\(.\)' 2>/dev/null ||
21224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21225 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21226 /^X\(\/\/\)$/{ s//\1/; q; }
21227 /^X\(\/\).*/{ s//\1/; q; }
21229 { if $as_mkdir_p; then
21234 while test ! -d "$as_dir"; do
21235 as_dirs
="$as_dir $as_dirs"
21236 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21237 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21238 X"$as_dir" : 'X\(//\)[^/]' \| \
21239 X"$as_dir" : 'X\(//\)$' \| \
21240 X"$as_dir" : 'X\(/\)' \| \
21241 . : '\(.\)' 2>/dev/null ||
21243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21244 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21245 /^X\(\/\/\)$/{ s//\1/; q; }
21246 /^X\(\/\).*/{ s//\1/; q; }
21249 test ! -n "$as_dirs" || mkdir
$as_dirs
21250 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21251 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21252 { (exit 1); exit 1; }; }; }
21256 if test "$ac_dir" != .
; then
21257 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21258 # A "../" for each directory in $ac_dir_suffix.
21259 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21261 ac_dir_suffix
= ac_top_builddir
=
21265 .
) # No --srcdir option. We are building in place.
21267 if test -z "$ac_top_builddir"; then
21270 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21272 [\\/]* | ?
:[\\/]* ) # Absolute path.
21273 ac_srcdir
=$srcdir$ac_dir_suffix;
21274 ac_top_srcdir
=$srcdir ;;
21275 *) # Relative path.
21276 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21277 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21280 # Do not use `cd foo && pwd` to compute absolute paths, because
21281 # the directories may not exist.
21283 .
) ac_abs_builddir
="$ac_dir";;
21286 .
) ac_abs_builddir
=`pwd`;;
21287 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21288 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21291 case $ac_abs_builddir in
21292 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21294 case ${ac_top_builddir}.
in
21295 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21296 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21297 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21300 case $ac_abs_builddir in
21301 .
) ac_abs_srcdir
=$ac_srcdir;;
21304 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21305 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21306 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21309 case $ac_abs_builddir in
21310 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21312 case $ac_top_srcdir in
21313 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21314 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21315 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21321 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21322 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21325 # Let's still pretend it is `configure' which instantiates (i.e., don't
21326 # use $as_me), people would be surprised to read:
21327 # /* config.h. Generated by config.status. */
21328 if test x
"$ac_file" = x-
; then
21331 configure_input
="$ac_file. "
21333 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21334 sed 's,.*/,,'` by configure."
21336 # First look for the input files in the build tree, otherwise in the
21338 ac_file_inputs
=`IFS=:
21339 for f in $ac_file_in; do
21341 -) echo $tmp/stdin ;;
21343 # Absolute (can't be DOS-style, as IFS=:)
21344 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21345 echo "$as_me: error: cannot find input file: $f" >&2;}
21346 { (exit 1); exit 1; }; }
21349 if test -f "$f"; then
21352 elif test -f "$srcdir/$f"; then
21357 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21358 echo "$as_me: error: cannot find input file: $f" >&2;}
21359 { (exit 1); exit 1; }; }
21362 done` ||
{ (exit 1); exit 1; }
21364 if test x
"$ac_file" != x-
; then
21365 { echo "$as_me:$LINENO: creating $ac_file" >&5
21366 echo "$as_me: creating $ac_file" >&6;}
21370 cat >>$CONFIG_STATUS <<_ACEOF
21374 cat >>$CONFIG_STATUS <<\_ACEOF
21376 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21377 s
,@configure_input@
,$configure_input,;t t
21378 s
,@srcdir@
,$ac_srcdir,;t t
21379 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21380 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21381 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21382 s
,@builddir@
,$ac_builddir,;t t
21383 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21384 s
,@top_builddir@
,$ac_top_builddir,;t t
21385 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21386 s
,@INSTALL@
,$ac_INSTALL,;t t
21387 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21389 if test x"$ac_file" != x-; then
21390 mv $tmp/out $ac_file
21398 cat >>$CONFIG_STATUS <<\_ACEOF
21401 # CONFIG_HEADER section.
21404 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21405 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21407 # ac_d sets the value in "#define NAME VALUE" lines.
21408 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21409 ac_dB
='[ ].*$,\1#\2'
21412 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21413 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21414 ac_uB
='$,\1#\2define\3'
21418 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21419 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21421 - |
*:- |
*:-:* ) # input from stdin
21423 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21424 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21425 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21426 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21427 * ) ac_file_in
=$ac_file.
in ;;
21430 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21431 echo "$as_me: creating $ac_file" >&6;}
21433 # First look for the input files in the build tree, otherwise in the
21435 ac_file_inputs
=`IFS=:
21436 for f in $ac_file_in; do
21438 -) echo $tmp/stdin ;;
21440 # Absolute (can't be DOS-style, as IFS=:)
21441 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21442 echo "$as_me: error: cannot find input file: $f" >&2;}
21443 { (exit 1); exit 1; }; }
21444 # Do quote $f, to prevent DOS paths from being IFS'd.
21447 if test -f "$f"; then
21450 elif test -f "$srcdir/$f"; then
21455 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21456 echo "$as_me: error: cannot find input file: $f" >&2;}
21457 { (exit 1); exit 1; }; }
21460 done` ||
{ (exit 1); exit 1; }
21461 # Remove the trailing spaces.
21462 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21466 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21467 # `conftest.undefs', that substitutes the proper values into
21468 # config.h.in to produce config.h. The first handles `#define'
21469 # templates, and the second `#undef' templates.
21470 # And first: Protect against being on the right side of a sed subst in
21471 # config.status. Protect against being in an unquoted here document
21472 # in config.status.
21473 rm -f conftest.defines conftest.undefs
21474 # Using a here document instead of a string reduces the quoting nightmare.
21475 # Putting comments in sed scripts is not portable.
21477 # `end' is used to avoid that the second main sed command (meant for
21478 # 0-ary CPP macros) applies to n-ary macro definitions.
21479 # See the Autoconf documentation for `clear'.
21480 cat >confdef2sed.
sed <<\_ACEOF
21485 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21487 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21490 # If some macros were called several times there might be several times
21491 # the same #defines, which is useless. Nevertheless, we may not want to
21492 # sort them, since we want the *last* AC-DEFINE to be honored.
21493 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21494 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21495 rm -f confdef2sed.sed
21497 # This sed command replaces #undef with comments. This is necessary, for
21498 # example, in the case of _POSIX_SOURCE, which is predefined and required
21499 # on some systems where configure will not decide to define it.
21500 cat >>conftest.undefs <<\_ACEOF
21501 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21504 # Break up conftest.defines because some shells have a limit on the size
21505 # of here documents, and old seds have small limits too (100 cmds).
21506 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21507 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21508 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21509 echo ' :' >>$CONFIG_STATUS
21510 rm -f conftest.tail
21511 while grep . conftest.defines >/dev/null
21513 # Write a limited-size here document to $tmp/defines.sed.
21514 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21515 # Speed up: don't consider the non `#define' lines.
21516 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21517 # Work around the forget-to-reset-the-flag bug.
21518 echo 't clr' >>$CONFIG_STATUS
21519 echo ': clr' >>$CONFIG_STATUS
21520 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21522 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21524 mv $tmp/out $tmp/in
21526 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21527 rm -f conftest.defines
21528 mv conftest.
tail conftest.defines
21530 rm -f conftest.defines
21531 echo ' fi # grep' >>$CONFIG_STATUS
21532 echo >>$CONFIG_STATUS
21534 # Break up conftest.undefs because some shells have a limit on the size
21535 # of here documents, and old seds have small limits too (100 cmds).
21536 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21537 rm -f conftest.
tail
21538 while grep . conftest.undefs
>/dev
/null
21540 # Write a limited-size here document to $tmp/undefs.sed.
21541 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21542 # Speed up: don't consider the non
`#undef'
21543 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21544 # Work around the forget-to-reset-the-flag bug.
21545 echo 't clr' >>$CONFIG_STATUS
21546 echo ': clr' >>$CONFIG_STATUS
21547 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21549 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21551 mv $tmp/out $tmp/in
21553 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21554 rm -f conftest.undefs
21555 mv conftest.tail conftest.undefs
21557 rm -f conftest.undefs
21559 cat >>$CONFIG_STATUS <<\_ACEOF
21560 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21561 # use $as_me), people would be surprised to read:
21562 # /* config.h. Generated by config.status. */
21563 if test x
"$ac_file" = x-
; then
21564 echo "/* Generated by configure. */" >$tmp/config.h
21566 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21568 cat $tmp/in >>$tmp/config.h
21570 if test x
"$ac_file" != x-
; then
21571 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21572 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21573 echo "$as_me: $ac_file is unchanged" >&6;}
21575 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21577 X"$ac_file" : 'X\(//\)[^/]' \| \
21578 X"$ac_file" : 'X\(//\)$' \| \
21579 X"$ac_file" : 'X\(/\)' \| \
21580 . : '\(.\)' 2>/dev/null ||
21582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21584 /^X\(\/\/\)$/{ s//\1/; q; }
21585 /^X\(\/\).*/{ s//\1/; q; }
21587 { if $as_mkdir_p; then
21592 while test ! -d "$as_dir"; do
21593 as_dirs
="$as_dir $as_dirs"
21594 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21596 X"$as_dir" : 'X\(//\)[^/]' \| \
21597 X"$as_dir" : 'X\(//\)$' \| \
21598 X"$as_dir" : 'X\(/\)' \| \
21599 . : '\(.\)' 2>/dev/null ||
21601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21603 /^X\(\/\/\)$/{ s//\1/; q; }
21604 /^X\(\/\).*/{ s//\1/; q; }
21607 test ! -n "$as_dirs" || mkdir
$as_dirs
21608 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21609 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21610 { (exit 1); exit 1; }; }; }
21613 mv $tmp/config.h
$ac_file
21617 rm -f $tmp/config.h
21621 cat >>$CONFIG_STATUS <<\_ACEOF
21624 # CONFIG_COMMANDS section.
21626 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21627 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21628 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21629 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21630 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21631 X"$ac_dest" : 'X\(//\)[^/]' \| \
21632 X"$ac_dest" : 'X\(//\)$' \| \
21633 X"$ac_dest" : 'X\(/\)' \| \
21634 . : '\(.\)' 2>/dev/null ||
21636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21637 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21638 /^X\(\/\/\)$/{ s//\1/; q; }
21639 /^X\(\/\).*/{ s//\1/; q; }
21641 { if $as_mkdir_p; then
21646 while test ! -d "$as_dir"; do
21647 as_dirs
="$as_dir $as_dirs"
21648 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21650 X"$as_dir" : 'X\(//\)[^/]' \| \
21651 X"$as_dir" : 'X\(//\)$' \| \
21652 X"$as_dir" : 'X\(/\)' \| \
21653 . : '\(.\)' 2>/dev/null ||
21655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21657 /^X\(\/\/\)$/{ s//\1/; q; }
21658 /^X\(\/\).*/{ s//\1/; q; }
21661 test ! -n "$as_dirs" || mkdir
$as_dirs
21662 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21663 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21664 { (exit 1); exit 1; }; }; }
21668 if test "$ac_dir" != .
; then
21669 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21670 # A "../" for each directory in $ac_dir_suffix.
21671 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21673 ac_dir_suffix
= ac_top_builddir
=
21677 .
) # No --srcdir option. We are building in place.
21679 if test -z "$ac_top_builddir"; then
21682 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21684 [\\/]* | ?
:[\\/]* ) # Absolute path.
21685 ac_srcdir
=$srcdir$ac_dir_suffix;
21686 ac_top_srcdir
=$srcdir ;;
21687 *) # Relative path.
21688 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21689 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21692 # Do not use `cd foo && pwd` to compute absolute paths, because
21693 # the directories may not exist.
21695 .
) ac_abs_builddir
="$ac_dir";;
21698 .
) ac_abs_builddir
=`pwd`;;
21699 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21700 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21703 case $ac_abs_builddir in
21704 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21706 case ${ac_top_builddir}.
in
21707 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21708 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21709 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21712 case $ac_abs_builddir in
21713 .
) ac_abs_srcdir
=$ac_srcdir;;
21716 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21717 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21718 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21721 case $ac_abs_builddir in
21722 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21724 case $ac_top_srcdir in
21725 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21726 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21727 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21732 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21733 echo "$as_me: executing $ac_dest commands" >&6;}
21735 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21736 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21737 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21738 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21739 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21740 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21741 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21742 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21743 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21744 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21745 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21746 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21747 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21748 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21749 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21750 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21751 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21752 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21753 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21754 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21755 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21756 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21757 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21758 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21759 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21760 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21761 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21762 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21763 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21764 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21765 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21766 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21771 cat >>$CONFIG_STATUS <<\_ACEOF
21773 { (exit 0); exit 0; }
21775 chmod +x
$CONFIG_STATUS
21776 ac_clean_files
=$ac_clean_files_save
21779 # configure is writing to config.log, and then calls config.status.
21780 # config.status does its own redirection, appending to config.log.
21781 # Unfortunately, on DOS this fails, as config.log is still kept open
21782 # by configure, so config.status won't be able to write to it; its
21783 # output is simply discarded. So we exec the FD to /dev/null,
21784 # effectively closing config.log, so it can be properly (re)opened and
21785 # appended to by config.status. When coming back to configure, we
21786 # need to make the FD available again.
21787 if test "$no_create" != yes; then
21789 ac_config_status_args
=
21790 test "$silent" = yes &&
21791 ac_config_status_args
="$ac_config_status_args --quiet"
21793 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21795 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21796 # would make configure fail if this is the last instruction.
21797 $ac_cs_success ||
{ (exit 1); exit 1; }
21801 if test "$have_x" = "no"
21804 echo "*** Warning: X development files not found. Wine will be built without"
21805 echo "*** X support, which currently does not work, and would probably not be"
21806 echo "*** what you want anyway. You will need to install devel packages of"
21807 echo "*** Xlib/Xfree86 at the very least."
21810 if test "$wine_cv_opengl_version_OK" = "no"
21813 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21814 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21817 if test "$wine_cv_msg_freetype" = "yes"
21820 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21821 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21822 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21823 echo "*** enable Wine to use TrueType fonts."
21827 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."