2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040121.
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
='20040121'
273 PACKAGE_STRING
='Wine 20040121'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLL LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures Wine 20040121 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --x-includes=DIR X include files are
in DIR
838 --x-libraries=DIR X library files are
in DIR
841 --build=BUILD configure
for building on BUILD
[guessed
]
842 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive
) echo "Configuration of Wine 20040121:";;
853 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
854 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
855 --disable-win16 do not include Win16 support
856 --disable-debug compile out all debugging messages
857 --disable-trace compile out TRACE messages
860 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
861 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
862 --without-opengl do not use OpenGL
863 --without-curses do not use curses
864 --with-wine-tools=<dir
> use Wine tools from directory
<dir
>
865 --with-x use the X Window System
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
879 Report bugs to <wine-devel@winehq.org>.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo
&& pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
975 Wine configure 20040121
976 generated by GNU Autoconf 2.59
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by Wine $as_me 20040121, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1002 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1003 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1004 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1005 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1008 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1010 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1012 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1013 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1014 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1016 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close
' the trap.
1096 trap 'exit_status
=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var
in $ac_subst_vars
1132 eval ac_val
=$
`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var
in $ac_subst_files
1146 eval ac_val
=$
`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h
; then
1159 sed "/^$/d" confdefs.h |
sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core
*.core
&&
1167 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's
/^
/|
/' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1264 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1289 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1296 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 ac_config_headers="$ac_config_headers include/config.h"
1329 for ac_dir in tools $srcdir/tools; do
1330 if test -f $ac_dir/install-sh; then
1332 ac_install_sh="$ac_aux_dir/install-sh -c"
1334 elif test -f $ac_dir/install.sh; then
1336 ac_install_sh="$ac_aux_dir/install.sh -c"
1338 elif test -f $ac_dir/shtool; then
1340 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 if test -z "$ac_aux_dir"; then
1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1346 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1347 { (exit 1); exit 1; }; }
1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355 # Check whether --enable-win16 or --disable-win16 was given.
1356 if test "${enable_win16+set}" = set; then
1357 enableval="$enable_win16"
1360 # Check whether --enable-debug or --disable-debug was given.
1361 if test "${enable_debug+set}" = set; then
1362 enableval="$enable_debug"
1365 # Check whether --enable-trace or --disable-trace was given.
1366 if test "${enable_trace+set}" = set; then
1367 enableval="$enable_trace"
1372 # Check whether --with-opengl or --without-opengl was given.
1373 if test "${with_opengl+set}" = set; then
1374 withval="$with_opengl"
1378 # Check whether --with-curses or --without-curses was given.
1379 if test "${with_curses+set}" = set; then
1380 withval="$with_curses"
1384 # Check whether --with-wine-tools or --without-wine-tools was given.
1385 if test "${with_wine_tools+set}" = set; then
1386 withval="$with_wine_tools"
1390 WIN16_FILES="\$(WIN16_FILES)"
1392 WIN16_INSTALL="\$(WIN16_INSTALL)"
1394 if test "x$enable_win16" = "xno"
1399 if test "x$enable_debug" = "xno"
1402 cat >>confdefs.h <<\_ACEOF
1403 #define NO_DEBUG_MSGS 1
1407 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1410 cat >>confdefs.h <<\_ACEOF
1411 #define NO_TRACE_MSGS 1
1417 # Make sure we can run config.sub.
1418 $ac_config_sub sun4 >/dev/null 2>&1 ||
1419 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1420 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1421 { (exit 1); exit 1; }; }
1423 echo "$as_me:$LINENO: checking build system type" >&5
1424 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1425 if test "${ac_cv_build+set}" = set; then
1426 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 ac_cv_build_alias=$build_alias
1429 test -z "$ac_cv_build_alias" &&
1430 ac_cv_build_alias=`$ac_config_guess`
1431 test -z "$ac_cv_build_alias" &&
1432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1434 { (exit 1); exit 1; }; }
1435 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1442 echo "${ECHO_T}$ac_cv_build" >&6
1444 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1445 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1446 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1449 echo "$as_me:$LINENO: checking host system type" >&5
1450 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1451 if test "${ac_cv_host+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 ac_cv_host_alias=$host_alias
1455 test -z "$ac_cv_host_alias" &&
1456 ac_cv_host_alias=$ac_cv_build_alias
1457 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1458 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1459 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1460 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1464 echo "${ECHO_T}$ac_cv_host" >&6
1466 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1467 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1468 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1471 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1472 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1473 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1474 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 cat >conftest.make <<\_ACEOF
1479 @echo 'ac_maketemp
="$(MAKE)"'
1481 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1482 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1483 if test -n "$ac_maketemp"; then
1484 eval ac_cv_prog_make_${ac_make}_set=yes
1486 eval ac_cv_prog_make_${ac_make}_set=no
1490 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1491 echo "$as_me:$LINENO: result: yes" >&5
1492 echo "${ECHO_T}yes" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1497 SET_MAKE="MAKE=${MAKE-make}"
1501 ac_cpp='$CPP $CPPFLAGS'
1502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1503 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1505 if test -n "$ac_tool_prefix"; then
1506 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1507 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1508 echo "$as_me:$LINENO: checking for $ac_word" >&5
1509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1510 if test "${ac_cv_prog_CC+set}" = set; then
1511 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 if test -n "$CC"; then
1514 ac_cv_prog_CC="$CC" # Let the user override the test.
1516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1520 test -z "$as_dir" && as_dir=.
1521 for ac_exec_ext in '' $ac_executable_extensions; do
1522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1523 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1533 if test -n "$CC"; then
1534 echo "$as_me:$LINENO: result: $CC" >&5
1535 echo "${ECHO_T}$CC" >&6
1537 echo "$as_me:$LINENO: result: no" >&5
1538 echo "${ECHO_T}no" >&6
1542 if test -z "$ac_cv_prog_CC"; then
1544 # Extract the first word of "gcc", so it can be a program name with args.
1545 set dummy gcc; ac_word=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$ac_ct_CC"; then
1552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir=.
1559 for ac_exec_ext in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_ac_ct_CC="gcc"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1571 if test -n "$ac_ct_CC"; then
1572 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1573 echo "${ECHO_T}$ac_ct_CC" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1584 if test -z "$CC"; then
1585 if test -n "$ac_tool_prefix"; then
1586 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1587 set dummy ${ac_tool_prefix}cc; ac_word=$2
1588 echo "$as_me:$LINENO: checking for $ac_word" >&5
1589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1590 if test "${ac_cv_prog_CC+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 if test -n "$CC"; then
1594 ac_cv_prog_CC="$CC" # Let the user override the test.
1596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1600 test -z "$as_dir" && as_dir=.
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1603 ac_cv_prog_CC="${ac_tool_prefix}cc"
1604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1613 if test -n "$CC"; then
1614 echo "$as_me:$LINENO: result: $CC" >&5
1615 echo "${ECHO_T}$CC" >&6
1617 echo "$as_me:$LINENO: result: no" >&5
1618 echo "${ECHO_T}no" >&6
1622 if test -z "$ac_cv_prog_CC"; then
1624 # Extract the first word of "cc", so it can be a program name with args.
1625 set dummy cc; ac_word=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$ac_ct_CC"; then
1632 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir=.
1639 for ac_exec_ext in '' $ac_executable_extensions; do
1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641 ac_cv_prog_ac_ct_CC="cc"
1642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1651 if test -n "$ac_ct_CC"; then
1652 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1653 echo "${ECHO_T}$ac_ct_CC" >&6
1655 echo "$as_me:$LINENO: result: no" >&5
1656 echo "${ECHO_T}no" >&6
1665 if test -z "$CC"; then
1666 # Extract the first word of "cc", so it can be a program name with args.
1667 set dummy cc; ac_word=$2
1668 echo "$as_me:$LINENO: checking for $ac_word" >&5
1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1670 if test "${ac_cv_prog_CC+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 if test -n "$CC"; then
1674 ac_cv_prog_CC="$CC" # Let the user override the test.
1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681 test -z "$as_dir" && as_dir=.
1682 for ac_exec_ext in '' $ac_executable_extensions; do
1683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1684 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1685 ac_prog_rejected=yes
1689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 if test $ac_prog_rejected = yes; then
1696 # We found a bogon in the path, so make sure we never use it.
1697 set dummy $ac_cv_prog_CC
1699 if test $# != 0; then
1700 # We chose a different compiler from the bogus one.
1701 # However, it has the same basename, so the bogon will be chosen
1702 # first if we set CC to just the basename; use the full file name.
1704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1710 if test -n "$CC"; then
1711 echo "$as_me:$LINENO: result: $CC" >&5
1712 echo "${ECHO_T}$CC" >&6
1714 echo "$as_me:$LINENO: result: no" >&5
1715 echo "${ECHO_T}no" >&6
1719 if test -z "$CC"; then
1720 if test -n "$ac_tool_prefix"; then
1723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_CC+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$CC"; then
1731 ac_cv_prog_CC="$CC" # Let the user override the test.
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test -n "$CC"; then
1751 echo "$as_me:$LINENO: result: $CC" >&5
1752 echo "${ECHO_T}$CC" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$CC" && break
1761 if test -z "$CC"; then
1765 # Extract the first word of "$ac_prog", so it can be a program name with args.
1766 set dummy $ac_prog; ac_word=$2
1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 if test -n "$ac_ct_CC"; then
1773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir=.
1780 for ac_exec_ext in '' $ac_executable_extensions; do
1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782 ac_cv_prog_ac_ct_CC="$ac_prog"
1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1792 if test -n "$ac_ct_CC"; then
1793 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1794 echo "${ECHO_T}$ac_ct_CC" >&6
1796 echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6
1800 test -n "$ac_ct_CC" && break
1809 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1810 See \`config.log' for more details.
" >&5
1811 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1812 See \
`config.log' for more details." >&2;}
1813 { (exit 1); exit 1; }; }
1815 # Provide some information about the compiler.
1816 echo "$as_me:$LINENO:" \
1817 "checking for C compiler version" >&5
1818 ac_compiler=`set X
$ac_compile; echo $2`
1819 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1820 (eval $ac_compiler --version </dev/null >&5) 2>&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }
1824 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1825 (eval $ac_compiler -v </dev/null >&5) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1830 (eval $ac_compiler -V </dev/null >&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1835 cat >conftest.$ac_ext <<_ACEOF
1838 cat confdefs.h >>conftest.$ac_ext
1839 cat >>conftest.$ac_ext <<_ACEOF
1840 /* end confdefs.h. */
1850 ac_clean_files_save=$ac_clean_files
1851 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1852 # Try to create an executable without -o first, disregard a.out.
1853 # It will help us diagnose broken compilers, and finding out an intuition
1855 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1856 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1857 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1858 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1859 (eval $ac_link_default) 2>&5
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }; then
1863 # Find the output, starting from the most likely. This scheme is
1864 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1867 # Be careful to initialize this variable, since it used to be cached.
1868 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1870 # b.out is created by i960 compilers.
1871 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1873 test -f "$ac_file" || continue
1875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1878 # This is the source file.
1881 # We found the default executable, but exeext='' is most
1885 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1886 # FIXME: I believe we export ac_cv_exeext for Libtool,
1887 # but it would be cool to find out if it's true. Does anybody
1888 # maintain Libtool? --akim.
1896 echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1899 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1900 See \`config.log
' for more details." >&5
1901 echo "$as_me: error: C compiler cannot create executables
1902 See \`config.log' for more details.
" >&2;}
1903 { (exit 77); exit 77; }; }
1906 ac_exeext=$ac_cv_exeext
1907 echo "$as_me:$LINENO: result
: $ac_file" >&5
1908 echo "${ECHO_T}$ac_file" >&6
1910 # Check the compiler produces executables we can run. If not, either
1911 # the compiler is broken, or we cross compile.
1912 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1913 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1914 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1915 # If not cross compiling, check that we can run a simple program.
1916 if test "$cross_compiling" != yes; then
1917 if { ac_try='./$ac_file'
1918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1922 (exit $ac_status); }; }; then
1925 if test "$cross_compiling" = maybe; then
1928 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1929 If you meant to cross compile
, use \
`--host'.
1930 See \`config.log
' for more details." >&5
1931 echo "$as_me: error: cannot run C compiled programs.
1932 If you meant to cross compile, use \`--host'.
1933 See \
`config.log' for more details." >&2;}
1934 { (exit 1); exit 1; }; }
1938 echo "$as_me:$LINENO: result: yes" >&5
1939 echo "${ECHO_T}yes" >&6
1941 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1942 ac_clean_files=$ac_clean_files_save
1943 # Check the compiler produces executables we can run. If not, either
1944 # the compiler is broken, or we cross compile.
1945 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1946 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1947 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1948 echo "${ECHO_T}$cross_compiling" >&6
1950 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1951 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1953 (eval $ac_link) 2>&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; then
1957 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1958 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1959 # work properly (i.e., refer to `conftest.exe'), while it won't with
1961 for ac_file
in conftest.exe conftest conftest.
*; do
1962 test -f "$ac_file" ||
continue
1964 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1965 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1972 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1973 See \`config.log' for more details." >&5
1974 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1975 See \`config.log' for more details." >&2;}
1976 { (exit 1); exit 1; }; }
1979 rm -f conftest
$ac_cv_exeext
1980 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1981 echo "${ECHO_T}$ac_cv_exeext" >&6
1983 rm -f conftest.
$ac_ext
1984 EXEEXT
=$ac_cv_exeext
1986 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1987 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1988 if test "${ac_cv_objext+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 cat >conftest.
$ac_ext <<_ACEOF
1994 cat confdefs.h
>>conftest.
$ac_ext
1995 cat >>conftest.
$ac_ext <<_ACEOF
1996 /* end confdefs.h. */
2006 rm -f conftest.o conftest.obj
2007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008 (eval $ac_compile) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; then
2012 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2014 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2015 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2020 echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.
$ac_ext >&5
2023 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2024 See \`config.log' for more details." >&5
2025 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2026 See \`config.log' for more details." >&2;}
2027 { (exit 1); exit 1; }; }
2030 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2032 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2033 echo "${ECHO_T}$ac_cv_objext" >&6
2034 OBJEXT
=$ac_cv_objext
2036 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2037 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2038 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 cat >conftest.
$ac_ext <<_ACEOF
2044 cat confdefs.h
>>conftest.
$ac_ext
2045 cat >>conftest.
$ac_ext <<_ACEOF
2046 /* end confdefs.h. */
2059 rm -f conftest.
$ac_objext
2060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2061 (eval $ac_compile) 2>conftest.er1
2063 grep -v '^ *+' conftest.er1
>conftest.err
2065 cat conftest.err
>&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); } &&
2068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }; } &&
2074 { ac_try
='test -s conftest.$ac_objext'
2075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }; }; then
2082 echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.
$ac_ext >&5
2087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2088 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2091 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2092 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2093 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2094 ac_test_CFLAGS
=${CFLAGS+set}
2095 ac_save_CFLAGS
=$CFLAGS
2097 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2098 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2099 if test "${ac_cv_prog_cc_g+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 cat >conftest.
$ac_ext <<_ACEOF
2105 cat confdefs.h
>>conftest.
$ac_ext
2106 cat >>conftest.
$ac_ext <<_ACEOF
2107 /* end confdefs.h. */
2117 rm -f conftest.
$ac_objext
2118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2119 (eval $ac_compile) 2>conftest.er1
2121 grep -v '^ *+' conftest.er1
>conftest.err
2123 cat conftest.err
>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); } &&
2126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; } &&
2132 { ac_try
='test -s conftest.$ac_objext'
2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; }; then
2140 echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.
$ac_ext >&5
2145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2147 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2148 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2149 if test "$ac_test_CFLAGS" = set; then
2150 CFLAGS
=$ac_save_CFLAGS
2151 elif test $ac_cv_prog_cc_g = yes; then
2152 if test "$GCC" = yes; then
2158 if test "$GCC" = yes; then
2164 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2165 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2166 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 ac_cv_prog_cc_stdc
=no
2171 cat >conftest.
$ac_ext <<_ACEOF
2174 cat confdefs.h
>>conftest.
$ac_ext
2175 cat >>conftest.
$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2179 #include <sys/types.h>
2180 #include <sys/stat.h>
2181 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2182 struct buf { int x; };
2183 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2184 static char *e (p, i)
2190 static char *f (char * (*g) (char **, int), char **p, ...)
2195 s = g (p, va_arg (v,int));
2200 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2201 function prototypes and stuff, but not '\xHH' hex character constants.
2202 These don't provoke an error unfortunately, instead are silently treated
2203 as 'x'. The following induces an error, until -std1 is added to get
2204 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2205 array size at least. It's necessary to write '\x00'==0 to get something
2206 that's true only with -std1. */
2207 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2209 int test (int i, double x);
2210 struct s1 {int (*f) (int a);};
2211 struct s2 {int (*f) (double a);};
2212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2223 # Don't try gcc -ansi; that turns off useful extensions and
2224 # breaks some systems' header files.
2225 # AIX -qlanglvl=ansi
2226 # Ultrix and OSF/1 -std1
2227 # HP-UX 10.20 and later -Ae
2228 # HP-UX older versions -Aa -D_HPUX_SOURCE
2229 # SVR4 -Xc -D__EXTENSIONS__
2230 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2232 CC
="$ac_save_CC $ac_arg"
2233 rm -f conftest.
$ac_objext
2234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2235 (eval $ac_compile) 2>conftest.er1
2237 grep -v '^ *+' conftest.er1
>conftest.err
2239 cat conftest.err
>&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; } &&
2248 { ac_try
='test -s conftest.$ac_objext'
2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; }; then
2254 ac_cv_prog_cc_stdc
=$ac_arg
2257 echo "$as_me: failed program was:" >&5
2258 sed 's/^/| /' conftest.
$ac_ext >&5
2261 rm -f conftest.err conftest.
$ac_objext
2263 rm -f conftest.
$ac_ext conftest.
$ac_objext
2268 case "x$ac_cv_prog_cc_stdc" in
2270 echo "$as_me:$LINENO: result: none needed" >&5
2271 echo "${ECHO_T}none needed" >&6 ;;
2273 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2274 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2275 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2278 # Some people use a C++ compiler to compile C. Since we use `exit',
2279 # in C++ we need to declare it. In case someone uses the same compiler
2280 # for both compiling C and C++ we need to have the C++ compiler decide
2281 # the declaration of exit, since it's the most demanding environment.
2282 cat >conftest.
$ac_ext <<_ACEOF
2287 rm -f conftest.
$ac_objext
2288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2289 (eval $ac_compile) 2>conftest.er1
2291 grep -v '^ *+' conftest.er1
>conftest.err
2293 cat conftest.err
>&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); } &&
2296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; } &&
2302 { ac_try
='test -s conftest.$ac_objext'
2303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); }; }; then
2308 for ac_declaration
in \
2310 'extern "C" void std::exit (int) throw (); using std::exit;' \
2311 'extern "C" void std::exit (int); using std::exit;' \
2312 'extern "C" void exit (int) throw ();' \
2313 'extern "C" void exit (int);' \
2316 cat >conftest.
$ac_ext <<_ACEOF
2319 cat confdefs.h
>>conftest.
$ac_ext
2320 cat >>conftest.
$ac_ext <<_ACEOF
2321 /* end confdefs.h. */
2332 rm -f conftest.
$ac_objext
2333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2334 (eval $ac_compile) 2>conftest.er1
2336 grep -v '^ *+' conftest.er1
>conftest.err
2338 cat conftest.err
>&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); } &&
2341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; } &&
2347 { ac_try
='test -s conftest.$ac_objext'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; }; then
2355 echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.
$ac_ext >&5
2360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2361 cat >conftest.
$ac_ext <<_ACEOF
2364 cat confdefs.h
>>conftest.
$ac_ext
2365 cat >>conftest.
$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2376 rm -f conftest.
$ac_objext
2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2378 (eval $ac_compile) 2>conftest.er1
2380 grep -v '^ *+' conftest.er1
>conftest.err
2382 cat conftest.err
>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } &&
2385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; } &&
2391 { ac_try
='test -s conftest.$ac_objext'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; }; then
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2406 if test -n "$ac_declaration"; then
2407 echo '#ifdef __cplusplus' >>confdefs.h
2408 echo $ac_declaration >>confdefs.h
2409 echo '#endif' >>confdefs.h
2413 echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.
$ac_ext >&5
2417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2419 ac_cpp
='$CPP $CPPFLAGS'
2420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2425 ac_cpp
='$CPP $CPPFLAGS'
2426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2429 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2430 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2431 # On Suns, sometimes $CPP names a directory.
2432 if test -n "$CPP" && test -d "$CPP"; then
2435 if test -z "$CPP"; then
2436 if test "${ac_cv_prog_CPP+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 # Double quotes because CPP needs to be expanded
2440 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2443 for ac_c_preproc_warn_flag
in '' yes
2445 # Use a header file that comes with gcc, so configuring glibc
2446 # with a fresh cross-compiler works.
2447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2448 # <limits.h> exists even on freestanding compilers.
2449 # On the NeXT, cc -E runs the code through the compiler's parser,
2450 # not just through cpp. "Syntax error" is here to catch this case.
2451 cat >conftest.
$ac_ext <<_ACEOF
2454 cat confdefs.h
>>conftest.
$ac_ext
2455 cat >>conftest.
$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2458 # include <limits.h>
2460 # include <assert.h>
2464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1
>conftest.err
2469 cat conftest.err
>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } >/dev
/null
; then
2472 if test -s conftest.err
; then
2473 ac_cpp_err
=$ac_c_preproc_warn_flag
2474 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2481 if test -z "$ac_cpp_err"; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.
$ac_ext >&5
2487 # Broken: fails on valid input.
2490 rm -f conftest.err conftest.
$ac_ext
2492 # OK, works on sane cases. Now check whether non-existent headers
2493 # can be detected and how.
2494 cat >conftest.
$ac_ext <<_ACEOF
2497 cat confdefs.h
>>conftest.
$ac_ext
2498 cat >>conftest.
$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2500 #include <ac_nonexistent.h>
2502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2505 grep -v '^ *+' conftest.er1
>conftest.err
2507 cat conftest.err
>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); } >/dev
/null
; then
2510 if test -s conftest.err
; then
2511 ac_cpp_err
=$ac_c_preproc_warn_flag
2512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2519 if test -z "$ac_cpp_err"; then
2520 # Broken: success on invalid input.
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2526 # Passes both tests.
2530 rm -f conftest.err conftest.
$ac_ext
2533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2534 rm -f conftest.err conftest.
$ac_ext
2535 if $ac_preproc_ok; then
2547 echo "$as_me:$LINENO: result: $CPP" >&5
2548 echo "${ECHO_T}$CPP" >&6
2550 for ac_c_preproc_warn_flag
in '' yes
2552 # Use a header file that comes with gcc, so configuring glibc
2553 # with a fresh cross-compiler works.
2554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2555 # <limits.h> exists even on freestanding compilers.
2556 # On the NeXT, cc -E runs the code through the compiler's parser,
2557 # not just through cpp. "Syntax error" is here to catch this case.
2558 cat >conftest.
$ac_ext <<_ACEOF
2561 cat confdefs.h
>>conftest.
$ac_ext
2562 cat >>conftest.
$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2565 # include <limits.h>
2567 # include <assert.h>
2571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } >/dev
/null
; then
2579 if test -s conftest.err
; then
2580 ac_cpp_err
=$ac_c_preproc_warn_flag
2581 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2588 if test -z "$ac_cpp_err"; then
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.
$ac_ext >&5
2594 # Broken: fails on valid input.
2597 rm -f conftest.err conftest.
$ac_ext
2599 # OK, works on sane cases. Now check whether non-existent headers
2600 # can be detected and how.
2601 cat >conftest.
$ac_ext <<_ACEOF
2604 cat confdefs.h
>>conftest.
$ac_ext
2605 cat >>conftest.
$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2607 #include <ac_nonexistent.h>
2609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2612 grep -v '^ *+' conftest.er1
>conftest.err
2614 cat conftest.err
>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); } >/dev
/null
; then
2617 if test -s conftest.err
; then
2618 ac_cpp_err
=$ac_c_preproc_warn_flag
2619 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2626 if test -z "$ac_cpp_err"; then
2627 # Broken: success on invalid input.
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.
$ac_ext >&5
2633 # Passes both tests.
2637 rm -f conftest.err conftest.
$ac_ext
2640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2641 rm -f conftest.err conftest.
$ac_ext
2642 if $ac_preproc_ok; then
2645 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2646 See \`config.log' for more details." >&5
2647 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2648 See \`config.log' for more details." >&2;}
2649 { (exit 1); exit 1; }; }
2653 ac_cpp
='$CPP $CPPFLAGS'
2654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2659 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2660 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2661 if test "${wine_cv_toolsdir+set}" = set; then
2662 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 if test -z "$with_wine_tools"; then
2665 if test "$cross_compiling" = "yes"; then
2666 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2667 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2668 { (exit 1); exit 1; }; }
2670 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2672 elif test -d "$with_wine_tools/tools/winebuild"; then
2673 case $with_wine_tools in
2674 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2675 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2678 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2679 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2680 { (exit 1); exit 1; }; }
2683 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2684 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2685 TOOLSDIR
=$wine_cv_toolsdir
2690 echo "$as_me:$LINENO: checking for X" >&5
2691 echo $ECHO_N "checking for X... $ECHO_C" >&6
2694 # Check whether --with-x or --without-x was given.
2695 if test "${with_x+set}" = set; then
2699 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2700 if test "x$with_x" = xno
; then
2701 # The user explicitly disabled X.
2704 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2705 # Both variables are already set.
2708 if test "${ac_cv_have_x+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 # One or both of the vars are not set, and there is no cached value.
2712 ac_x_includes
=no ac_x_libraries
=no
2714 if mkdir conftest.dir
; then
2716 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2717 cat >Imakefile
<<'_ACEOF'
2719 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2721 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2723 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2724 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2725 for ac_extension
in a so sl
; do
2726 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2727 test -f $ac_im_libdir/libX11.
$ac_extension; then
2728 ac_im_usrlibdir
=$ac_im_libdir; break
2731 # Screen out bogus values from the imake configuration. They are
2732 # bogus both because they are the default anyway, and because
2733 # using them would break gcc on systems where it needs fixed includes.
2734 case $ac_im_incroot in
2736 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2738 case $ac_im_usrlibdir in
2740 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2747 # Standard set of common directories for X headers.
2748 # Check X11 before X11Rn because it is often a symlink to the current release.
2760 /usr/local/X11/include
2761 /usr/local/X11R6/include
2762 /usr/local/X11R5/include
2763 /usr/local/X11R4/include
2765 /usr/local/include/X11
2766 /usr/local/include/X11R6
2767 /usr/local/include/X11R5
2768 /usr/local/include/X11R4
2772 /usr/XFree86/include/X11
2776 /usr/unsupported/include
2778 /usr/local/x11r5/include
2779 /usr/lpp/Xamples/include
2781 /usr/openwin/include
2782 /usr/openwin/share/include'
2784 if test "$ac_x_includes" = no
; then
2785 # Guess where to find include files, by looking for Intrinsic.h.
2786 # First, try using that file with no special directory specified.
2787 cat >conftest.
$ac_ext <<_ACEOF
2790 cat confdefs.h
>>conftest.
$ac_ext
2791 cat >>conftest.
$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2793 #include <X11/Intrinsic.h>
2795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2798 grep -v '^ *+' conftest.er1
>conftest.err
2800 cat conftest.err
>&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); } >/dev
/null
; then
2803 if test -s conftest.err
; then
2804 ac_cpp_err
=$ac_c_preproc_warn_flag
2805 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2812 if test -z "$ac_cpp_err"; then
2813 # We can compile using X headers with no special include directory.
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.
$ac_ext >&5
2819 for ac_dir
in $ac_x_header_dirs; do
2820 if test -r "$ac_dir/X11/Intrinsic.h"; then
2821 ac_x_includes
=$ac_dir
2826 rm -f conftest.err conftest.
$ac_ext
2827 fi # $ac_x_includes = no
2829 if test "$ac_x_libraries" = no
; then
2830 # Check for the libraries.
2831 # See if we find them without any special options.
2832 # Don't add to $LIBS permanently.
2835 cat >conftest.
$ac_ext <<_ACEOF
2838 cat confdefs.h
>>conftest.
$ac_ext
2839 cat >>conftest.
$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2841 #include <X11/Intrinsic.h>
2850 rm -f conftest.
$ac_objext conftest
$ac_exeext
2851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2852 (eval $ac_link) 2>conftest.er1
2854 grep -v '^ *+' conftest.er1
>conftest.err
2856 cat conftest.err
>&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; } &&
2865 { ac_try
='test -s conftest$ac_exeext'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; }; then
2872 # We can link X programs with no special library path.
2875 echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.
$ac_ext >&5
2879 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2881 # Don't even attempt the hair of trying to link an X program!
2882 for ac_extension
in a so sl
; do
2883 if test -r $ac_dir/libXt.
$ac_extension; then
2884 ac_x_libraries
=$ac_dir
2890 rm -f conftest.err conftest.
$ac_objext \
2891 conftest
$ac_exeext conftest.
$ac_ext
2892 fi # $ac_x_libraries = no
2894 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2895 # Didn't find X anywhere. Cache the known absence of X.
2896 ac_cv_have_x
="have_x=no"
2898 # Record where we found X for the cache.
2899 ac_cv_have_x
="have_x=yes \
2900 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2905 eval "$ac_cv_have_x"
2908 if test "$have_x" != yes; then
2909 echo "$as_me:$LINENO: result: $have_x" >&5
2910 echo "${ECHO_T}$have_x" >&6
2913 # If each of the values was on the command line, it overrides each guess.
2914 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2915 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2916 # Update the cache value to reflect the command line values.
2917 ac_cv_have_x
="have_x=yes \
2918 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2919 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2920 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2923 if test "$no_x" = yes; then
2924 # Not all programs may use this symbol, but it does not hurt to define it.
2926 cat >>confdefs.h
<<\_ACEOF
2927 #define X_DISPLAY_MISSING 1
2930 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2932 if test -n "$x_includes"; then
2933 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2936 # It would also be nice to do this for all -L options, not just this one.
2937 if test -n "$x_libraries"; then
2938 X_LIBS
="$X_LIBS -L$x_libraries"
2939 # For Solaris; some versions of Sun CC require a space after -R and
2940 # others require no space. Words are not sufficient . . . .
2941 case `(uname -sr) 2>/dev/null` in
2943 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2945 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2946 cat >conftest.
$ac_ext <<_ACEOF
2949 cat confdefs.h
>>conftest.
$ac_ext
2950 cat >>conftest.
$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2961 rm -f conftest.
$ac_objext conftest
$ac_exeext
2962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2963 (eval $ac_link) 2>conftest.er1
2965 grep -v '^ *+' conftest.er1
>conftest.err
2967 cat conftest.err
>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try
='test -s conftest$ac_exeext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.
$ac_ext >&5
2989 rm -f conftest.err conftest.
$ac_objext \
2990 conftest
$ac_exeext conftest.
$ac_ext
2991 if test $ac_R_nospace = yes; then
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2994 X_LIBS
="$X_LIBS -R$x_libraries"
2996 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2997 cat >conftest.
$ac_ext <<_ACEOF
3000 cat confdefs.h
>>conftest.
$ac_ext
3001 cat >>conftest.
$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3012 rm -f conftest.
$ac_objext conftest
$ac_exeext
3013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3014 (eval $ac_link) 2>conftest.er1
3016 grep -v '^ *+' conftest.er1
>conftest.err
3018 cat conftest.err
>&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; } &&
3027 { ac_try
='test -s conftest$ac_exeext'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; }; then
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.
$ac_ext >&5
3040 rm -f conftest.err conftest.
$ac_objext \
3041 conftest
$ac_exeext conftest.
$ac_ext
3042 if test $ac_R_space = yes; then
3043 echo "$as_me:$LINENO: result: yes" >&5
3044 echo "${ECHO_T}yes" >&6
3045 X_LIBS
="$X_LIBS -R $x_libraries"
3047 echo "$as_me:$LINENO: result: neither works" >&5
3048 echo "${ECHO_T}neither works" >&6
3055 # Check for system-dependent libraries X programs must link with.
3056 # Do this before checking for the system-independent R6 libraries
3057 # (-lICE), since we may need -lsocket or whatever for X linking.
3059 if test "$ISC" = yes; then
3060 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3062 # Martyn Johnson says this is needed for Ultrix, if the X
3063 # libraries were built with DECnet support. And Karl Berry says
3064 # the Alpha needs dnet_stub (dnet does not exist).
3065 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3066 cat >conftest.
$ac_ext <<_ACEOF
3069 cat confdefs.h
>>conftest.
$ac_ext
3070 cat >>conftest.
$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3073 /* Override any gcc2 internal prototype to avoid an error. */
3077 /* We use char because int might match the return type of a gcc2
3078 builtin and then its argument prototype would still apply. */
3079 char XOpenDisplay ();
3088 rm -f conftest.
$ac_objext conftest
$ac_exeext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3090 (eval $ac_link) 2>conftest.er1
3092 grep -v '^ *+' conftest.er1
>conftest.err
3094 cat conftest.err
>&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } &&
3097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }; } &&
3103 { ac_try
='test -s conftest$ac_exeext'
3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; }; then
3111 echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.
$ac_ext >&5
3114 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 ac_check_lib_save_LIBS
=$LIBS
3121 cat >conftest.
$ac_ext <<_ACEOF
3124 cat confdefs.h
>>conftest.
$ac_ext
3125 cat >>conftest.
$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3128 /* Override any gcc2 internal prototype to avoid an error. */
3132 /* We use char because int might match the return type of a gcc2
3133 builtin and then its argument prototype would still apply. */
3143 rm -f conftest.
$ac_objext conftest
$ac_exeext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3145 (eval $ac_link) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1
>conftest.err
3149 cat conftest.err
>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; } &&
3158 { ac_try
='test -s conftest$ac_exeext'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; }; then
3164 ac_cv_lib_dnet_dnet_ntoa
=yes
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.
$ac_ext >&5
3169 ac_cv_lib_dnet_dnet_ntoa
=no
3171 rm -f conftest.err conftest.
$ac_objext \
3172 conftest
$ac_exeext conftest.
$ac_ext
3173 LIBS
=$ac_check_lib_save_LIBS
3175 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3176 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3177 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3181 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3182 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3183 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3184 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 ac_check_lib_save_LIBS
=$LIBS
3188 LIBS
="-ldnet_stub $LIBS"
3189 cat >conftest.
$ac_ext <<_ACEOF
3192 cat confdefs.h
>>conftest.
$ac_ext
3193 cat >>conftest.
$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3196 /* Override any gcc2 internal prototype to avoid an error. */
3200 /* We use char because int might match the return type of a gcc2
3201 builtin and then its argument prototype would still apply. */
3211 rm -f conftest.
$ac_objext conftest
$ac_exeext
3212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3213 (eval $ac_link) 2>conftest.er1
3215 grep -v '^ *+' conftest.er1
>conftest.err
3217 cat conftest.err
>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } &&
3220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; } &&
3226 { ac_try
='test -s conftest$ac_exeext'
3227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3232 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.
$ac_ext >&5
3237 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3239 rm -f conftest.err conftest.
$ac_objext \
3240 conftest
$ac_exeext conftest.
$ac_ext
3241 LIBS
=$ac_check_lib_save_LIBS
3243 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3244 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3245 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3251 rm -f conftest.err conftest.
$ac_objext \
3252 conftest
$ac_exeext conftest.
$ac_ext
3253 LIBS
="$ac_xsave_LIBS"
3255 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3256 # to get the SysV transport functions.
3257 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3259 # The nsl library prevents programs from opening the X display
3260 # on Irix 5.2, according to T.E. Dickey.
3261 # The functions gethostbyname, getservbyname, and inet_addr are
3262 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3263 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3264 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3265 if test "${ac_cv_func_gethostbyname+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 cat >conftest.
$ac_ext <<_ACEOF
3271 cat confdefs.h
>>conftest.
$ac_ext
3272 cat >>conftest.
$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3274 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3276 #define gethostbyname innocuous_gethostbyname
3278 /* System header to define __stub macros and hopefully few prototypes,
3279 which can conflict with char gethostbyname (); below.
3280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3281 <limits.h> exists even on freestanding compilers. */
3284 # include <limits.h>
3286 # include <assert.h>
3289 #undef gethostbyname
3291 /* Override any gcc2 internal prototype to avoid an error. */
3296 /* We use char because int might match the return type of a gcc2
3297 builtin and then its argument prototype would still apply. */
3298 char gethostbyname ();
3299 /* The GNU C library defines this for functions which it implements
3300 to always fail with ENOSYS. Some functions are actually named
3301 something starting with __ and the normal name is an alias. */
3302 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3305 char (*f) () = gethostbyname;
3314 return f != gethostbyname;
3319 rm -f conftest.
$ac_objext conftest
$ac_exeext
3320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3321 (eval $ac_link) 2>conftest.er1
3323 grep -v '^ *+' conftest.er1
>conftest.err
3325 cat conftest.err
>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); } &&
3328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; } &&
3334 { ac_try
='test -s conftest$ac_exeext'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3340 ac_cv_func_gethostbyname
=yes
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.
$ac_ext >&5
3345 ac_cv_func_gethostbyname
=no
3347 rm -f conftest.err conftest.
$ac_objext \
3348 conftest
$ac_exeext conftest.
$ac_ext
3350 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3351 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3353 if test $ac_cv_func_gethostbyname = no
; then
3354 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3355 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3356 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 ac_check_lib_save_LIBS
=$LIBS
3361 cat >conftest.
$ac_ext <<_ACEOF
3364 cat confdefs.h
>>conftest.
$ac_ext
3365 cat >>conftest.
$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3368 /* Override any gcc2 internal prototype to avoid an error. */
3372 /* We use char because int might match the return type of a gcc2
3373 builtin and then its argument prototype would still apply. */
3374 char gethostbyname ();
3383 rm -f conftest.
$ac_objext conftest
$ac_exeext
3384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3385 (eval $ac_link) 2>conftest.er1
3387 grep -v '^ *+' conftest.er1
>conftest.err
3389 cat conftest.err
>&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } &&
3392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }; } &&
3398 { ac_try
='test -s conftest$ac_exeext'
3399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; }; then
3404 ac_cv_lib_nsl_gethostbyname
=yes
3406 echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.
$ac_ext >&5
3409 ac_cv_lib_nsl_gethostbyname
=no
3411 rm -f conftest.err conftest.
$ac_objext \
3412 conftest
$ac_exeext conftest.
$ac_ext
3413 LIBS
=$ac_check_lib_save_LIBS
3415 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3416 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3417 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3418 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3421 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3422 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3423 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3424 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 ac_check_lib_save_LIBS
=$LIBS
3429 cat >conftest.
$ac_ext <<_ACEOF
3432 cat confdefs.h
>>conftest.
$ac_ext
3433 cat >>conftest.
$ac_ext <<_ACEOF
3434 /* end confdefs.h. */
3436 /* Override any gcc2 internal prototype to avoid an error. */
3440 /* We use char because int might match the return type of a gcc2
3441 builtin and then its argument prototype would still apply. */
3442 char gethostbyname ();
3451 rm -f conftest.
$ac_objext conftest
$ac_exeext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3453 (eval $ac_link) 2>conftest.er1
3455 grep -v '^ *+' conftest.er1
>conftest.err
3457 cat conftest.err
>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); }; } &&
3466 { ac_try
='test -s conftest$ac_exeext'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; }; then
3472 ac_cv_lib_bsd_gethostbyname
=yes
3474 echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.
$ac_ext >&5
3477 ac_cv_lib_bsd_gethostbyname
=no
3479 rm -f conftest.err conftest.
$ac_objext \
3480 conftest
$ac_exeext conftest.
$ac_ext
3481 LIBS
=$ac_check_lib_save_LIBS
3483 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3484 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3485 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3486 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3492 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3493 # socket/setsockopt and other routines are undefined under SCO ODT
3494 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3495 # on later versions), says Simon Leinen: it contains gethostby*
3496 # variants that don't use the name server (or something). -lsocket
3497 # must be given before -lnsl if both are needed. We assume that
3498 # if connect needs -lnsl, so does gethostbyname.
3499 echo "$as_me:$LINENO: checking for connect" >&5
3500 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3501 if test "${ac_cv_func_connect+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 cat >conftest.
$ac_ext <<_ACEOF
3507 cat confdefs.h
>>conftest.
$ac_ext
3508 cat >>conftest.
$ac_ext <<_ACEOF
3509 /* end confdefs.h. */
3510 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3512 #define connect innocuous_connect
3514 /* System header to define __stub macros and hopefully few prototypes,
3515 which can conflict with char connect (); below.
3516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3517 <limits.h> exists even on freestanding compilers. */
3520 # include <limits.h>
3522 # include <assert.h>
3527 /* Override any gcc2 internal prototype to avoid an error. */
3532 /* We use char because int might match the return type of a gcc2
3533 builtin and then its argument prototype would still apply. */
3535 /* The GNU C library defines this for functions which it implements
3536 to always fail with ENOSYS. Some functions are actually named
3537 something starting with __ and the normal name is an alias. */
3538 #if defined (__stub_connect) || defined (__stub___connect)
3541 char (*f) () = connect;
3550 return f != connect;
3555 rm -f conftest.
$ac_objext conftest
$ac_exeext
3556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3557 (eval $ac_link) 2>conftest.er1
3559 grep -v '^ *+' conftest.er1
>conftest.err
3561 cat conftest.err
>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; } &&
3570 { ac_try
='test -s conftest$ac_exeext'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3576 ac_cv_func_connect
=yes
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 ac_cv_func_connect
=no
3583 rm -f conftest.err conftest.
$ac_objext \
3584 conftest
$ac_exeext conftest.
$ac_ext
3586 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3587 echo "${ECHO_T}$ac_cv_func_connect" >&6
3589 if test $ac_cv_func_connect = no
; then
3590 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3591 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3592 if test "${ac_cv_lib_socket_connect+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 ac_check_lib_save_LIBS
=$LIBS
3596 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3597 cat >conftest.
$ac_ext <<_ACEOF
3600 cat confdefs.h
>>conftest.
$ac_ext
3601 cat >>conftest.
$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3604 /* Override any gcc2 internal prototype to avoid an error. */
3608 /* We use char because int might match the return type of a gcc2
3609 builtin and then its argument prototype would still apply. */
3619 rm -f conftest.
$ac_objext conftest
$ac_exeext
3620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3621 (eval $ac_link) 2>conftest.er1
3623 grep -v '^ *+' conftest.er1
>conftest.err
3625 cat conftest.err
>&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } &&
3628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); }; } &&
3634 { ac_try
='test -s conftest$ac_exeext'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; }; then
3640 ac_cv_lib_socket_connect
=yes
3642 echo "$as_me: failed program was:" >&5
3643 sed 's/^/| /' conftest.
$ac_ext >&5
3645 ac_cv_lib_socket_connect
=no
3647 rm -f conftest.err conftest.
$ac_objext \
3648 conftest
$ac_exeext conftest.
$ac_ext
3649 LIBS
=$ac_check_lib_save_LIBS
3651 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3652 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3653 if test $ac_cv_lib_socket_connect = yes; then
3654 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3659 # Guillermo Gomez says -lposix is necessary on A/UX.
3660 echo "$as_me:$LINENO: checking for remove" >&5
3661 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3662 if test "${ac_cv_func_remove+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 cat >conftest.
$ac_ext <<_ACEOF
3668 cat confdefs.h
>>conftest.
$ac_ext
3669 cat >>conftest.
$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3671 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
3672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3673 #define remove innocuous_remove
3675 /* System header to define __stub macros and hopefully few prototypes,
3676 which can conflict with char remove (); below.
3677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3678 <limits.h> exists even on freestanding compilers. */
3681 # include <limits.h>
3683 # include <assert.h>
3688 /* Override any gcc2 internal prototype to avoid an error. */
3693 /* We use char because int might match the return type of a gcc2
3694 builtin and then its argument prototype would still apply. */
3696 /* The GNU C library defines this for functions which it implements
3697 to always fail with ENOSYS. Some functions are actually named
3698 something starting with __ and the normal name is an alias. */
3699 #if defined (__stub_remove) || defined (__stub___remove)
3702 char (*f) () = remove;
3716 rm -f conftest.
$ac_objext conftest
$ac_exeext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3718 (eval $ac_link) 2>conftest.er1
3720 grep -v '^ *+' conftest.er1
>conftest.err
3722 cat conftest.err
>&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } &&
3725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; } &&
3731 { ac_try
='test -s conftest$ac_exeext'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; }; then
3737 ac_cv_func_remove
=yes
3739 echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.
$ac_ext >&5
3742 ac_cv_func_remove
=no
3744 rm -f conftest.err conftest.
$ac_objext \
3745 conftest
$ac_exeext conftest.
$ac_ext
3747 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3748 echo "${ECHO_T}$ac_cv_func_remove" >&6
3750 if test $ac_cv_func_remove = no
; then
3751 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3752 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3753 if test "${ac_cv_lib_posix_remove+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 ac_check_lib_save_LIBS
=$LIBS
3757 LIBS
="-lposix $LIBS"
3758 cat >conftest.
$ac_ext <<_ACEOF
3761 cat confdefs.h
>>conftest.
$ac_ext
3762 cat >>conftest.
$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3765 /* Override any gcc2 internal prototype to avoid an error. */
3769 /* We use char because int might match the return type of a gcc2
3770 builtin and then its argument prototype would still apply. */
3780 rm -f conftest.
$ac_objext conftest
$ac_exeext
3781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3782 (eval $ac_link) 2>conftest.er1
3784 grep -v '^ *+' conftest.er1
>conftest.err
3786 cat conftest.err
>&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); } &&
3789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); }; } &&
3795 { ac_try
='test -s conftest$ac_exeext'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; }; then
3801 ac_cv_lib_posix_remove
=yes
3803 echo "$as_me: failed program was:" >&5
3804 sed 's/^/| /' conftest.
$ac_ext >&5
3806 ac_cv_lib_posix_remove
=no
3808 rm -f conftest.err conftest.
$ac_objext \
3809 conftest
$ac_exeext conftest.
$ac_ext
3810 LIBS
=$ac_check_lib_save_LIBS
3812 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3813 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3814 if test $ac_cv_lib_posix_remove = yes; then
3815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3820 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3821 echo "$as_me:$LINENO: checking for shmat" >&5
3822 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3823 if test "${ac_cv_func_shmat+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 cat >conftest.
$ac_ext <<_ACEOF
3829 cat confdefs.h
>>conftest.
$ac_ext
3830 cat >>conftest.
$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3832 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
3833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3834 #define shmat innocuous_shmat
3836 /* System header to define __stub macros and hopefully few prototypes,
3837 which can conflict with char shmat (); below.
3838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3839 <limits.h> exists even on freestanding compilers. */
3842 # include <limits.h>
3844 # include <assert.h>
3849 /* Override any gcc2 internal prototype to avoid an error. */
3854 /* We use char because int might match the return type of a gcc2
3855 builtin and then its argument prototype would still apply. */
3857 /* The GNU C library defines this for functions which it implements
3858 to always fail with ENOSYS. Some functions are actually named
3859 something starting with __ and the normal name is an alias. */
3860 #if defined (__stub_shmat) || defined (__stub___shmat)
3863 char (*f) () = shmat;
3877 rm -f conftest.
$ac_objext conftest
$ac_exeext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3879 (eval $ac_link) 2>conftest.er1
3881 grep -v '^ *+' conftest.er1
>conftest.err
3883 cat conftest.err
>&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } &&
3886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; } &&
3892 { ac_try
='test -s conftest$ac_exeext'
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; }; then
3898 ac_cv_func_shmat
=yes
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.
$ac_ext >&5
3905 rm -f conftest.err conftest.
$ac_objext \
3906 conftest
$ac_exeext conftest.
$ac_ext
3908 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3909 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3911 if test $ac_cv_func_shmat = no
; then
3912 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3913 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3914 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3917 ac_check_lib_save_LIBS
=$LIBS
3919 cat >conftest.
$ac_ext <<_ACEOF
3922 cat confdefs.h
>>conftest.
$ac_ext
3923 cat >>conftest.
$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3926 /* Override any gcc2 internal prototype to avoid an error. */
3930 /* We use char because int might match the return type of a gcc2
3931 builtin and then its argument prototype would still apply. */
3941 rm -f conftest.
$ac_objext conftest
$ac_exeext
3942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3943 (eval $ac_link) 2>conftest.er1
3945 grep -v '^ *+' conftest.er1
>conftest.err
3947 cat conftest.err
>&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try
='test -s conftest$ac_exeext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 ac_cv_lib_ipc_shmat
=yes
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.
$ac_ext >&5
3967 ac_cv_lib_ipc_shmat
=no
3969 rm -f conftest.err conftest.
$ac_objext \
3970 conftest
$ac_exeext conftest.
$ac_ext
3971 LIBS
=$ac_check_lib_save_LIBS
3973 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3974 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3975 if test $ac_cv_lib_ipc_shmat = yes; then
3976 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3982 # Check for libraries that X11R6 Xt/Xaw programs need.
3983 ac_save_LDFLAGS
=$LDFLAGS
3984 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3985 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3986 # check for ICE first), but we must link in the order -lSM -lICE or
3987 # we get undefined symbols. So assume we have SM if we have ICE.
3988 # These have to be linked with before -lX11, unlike the other
3989 # libraries we check for below, so use a different variable.
3990 # John Interrante, Karl Berry
3991 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3992 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3993 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 ac_check_lib_save_LIBS
=$LIBS
3997 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3998 cat >conftest.
$ac_ext <<_ACEOF
4001 cat confdefs.h
>>conftest.
$ac_ext
4002 cat >>conftest.
$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4005 /* Override any gcc2 internal prototype to avoid an error. */
4009 /* We use char because int might match the return type of a gcc2
4010 builtin and then its argument prototype would still apply. */
4011 char IceConnectionNumber ();
4015 IceConnectionNumber ();
4020 rm -f conftest.
$ac_objext conftest
$ac_exeext
4021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4022 (eval $ac_link) 2>conftest.er1
4024 grep -v '^ *+' conftest.er1
>conftest.err
4026 cat conftest.err
>&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try
='test -s conftest$ac_exeext'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4041 ac_cv_lib_ICE_IceConnectionNumber
=yes
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.
$ac_ext >&5
4046 ac_cv_lib_ICE_IceConnectionNumber
=no
4048 rm -f conftest.err conftest.
$ac_objext \
4049 conftest
$ac_exeext conftest.
$ac_ext
4050 LIBS
=$ac_check_lib_save_LIBS
4052 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4053 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4054 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4055 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4058 LDFLAGS
=$ac_save_LDFLAGS
4062 for ac_prog
in 'bison -y' byacc
4064 # Extract the first word of "$ac_prog", so it can be a program name with args.
4065 set dummy
$ac_prog; ac_word
=$2
4066 echo "$as_me:$LINENO: checking for $ac_word" >&5
4067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4068 if test "${ac_cv_prog_YACC+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 if test -n "$YACC"; then
4072 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4078 test -z "$as_dir" && as_dir
=.
4079 for ac_exec_ext
in '' $ac_executable_extensions; do
4080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 ac_cv_prog_YACC
="$ac_prog"
4082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 YACC
=$ac_cv_prog_YACC
4091 if test -n "$YACC"; then
4092 echo "$as_me:$LINENO: result: $YACC" >&5
4093 echo "${ECHO_T}$YACC" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4099 test -n "$YACC" && break
4101 test -n "$YACC" || YACC
="yacc"
4103 for ac_prog
in flex
lex
4105 # Extract the first word of "$ac_prog", so it can be a program name with args.
4106 set dummy
$ac_prog; ac_word
=$2
4107 echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4109 if test "${ac_cv_prog_LEX+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 if test -n "$LEX"; then
4113 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir
=.
4120 for ac_exec_ext
in '' $ac_executable_extensions; do
4121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4122 ac_cv_prog_LEX
="$ac_prog"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 if test -n "$LEX"; then
4133 echo "$as_me:$LINENO: result: $LEX" >&5
4134 echo "${ECHO_T}$LEX" >&6
4136 echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4140 test -n "$LEX" && break
4142 test -n "$LEX" || LEX
=":"
4144 if test -z "$LEXLIB"
4146 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4147 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4148 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 ac_check_lib_save_LIBS
=$LIBS
4153 cat >conftest.
$ac_ext <<_ACEOF
4156 cat confdefs.h
>>conftest.
$ac_ext
4157 cat >>conftest.
$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4160 /* Override any gcc2 internal prototype to avoid an error. */
4164 /* We use char because int might match the return type of a gcc2
4165 builtin and then its argument prototype would still apply. */
4175 rm -f conftest.
$ac_objext conftest
$ac_exeext
4176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4177 (eval $ac_link) 2>conftest.er1
4179 grep -v '^ *+' conftest.er1
>conftest.err
4181 cat conftest.err
>&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } &&
4184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; } &&
4190 { ac_try
='test -s conftest$ac_exeext'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; }; then
4196 ac_cv_lib_fl_yywrap
=yes
4198 echo "$as_me: failed program was:" >&5
4199 sed 's/^/| /' conftest.
$ac_ext >&5
4201 ac_cv_lib_fl_yywrap
=no
4203 rm -f conftest.err conftest.
$ac_objext \
4204 conftest
$ac_exeext conftest.
$ac_ext
4205 LIBS
=$ac_check_lib_save_LIBS
4207 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4208 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4209 if test $ac_cv_lib_fl_yywrap = yes; then
4212 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4213 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4214 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 ac_check_lib_save_LIBS
=$LIBS
4219 cat >conftest.
$ac_ext <<_ACEOF
4222 cat confdefs.h
>>conftest.
$ac_ext
4223 cat >>conftest.
$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4226 /* Override any gcc2 internal prototype to avoid an error. */
4230 /* We use char because int might match the return type of a gcc2
4231 builtin and then its argument prototype would still apply. */
4241 rm -f conftest.
$ac_objext conftest
$ac_exeext
4242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4243 (eval $ac_link) 2>conftest.er1
4245 grep -v '^ *+' conftest.er1
>conftest.err
4247 cat conftest.err
>&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } &&
4250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; } &&
4256 { ac_try
='test -s conftest$ac_exeext'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; }; then
4262 ac_cv_lib_l_yywrap
=yes
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.
$ac_ext >&5
4267 ac_cv_lib_l_yywrap
=no
4269 rm -f conftest.err conftest.
$ac_objext \
4270 conftest
$ac_exeext conftest.
$ac_ext
4271 LIBS
=$ac_check_lib_save_LIBS
4273 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4274 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4275 if test $ac_cv_lib_l_yywrap = yes; then
4283 if test "x$LEX" != "x:"; then
4284 echo "$as_me:$LINENO: checking lex output file root" >&5
4285 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4286 if test "${ac_cv_prog_lex_root+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 # The minimal lex program is just a single line: %%. But some broken lexes
4290 # (Solaris, I think it was) want two %% lines, so accommodate them.
4291 cat >conftest.l
<<_ACEOF
4295 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4296 (eval $LEX conftest.l
) 2>&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); }
4300 if test -f lex.yy.c
; then
4301 ac_cv_prog_lex_root
=lex.yy
4302 elif test -f lexyy.c
; then
4303 ac_cv_prog_lex_root
=lexyy
4305 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4306 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4307 { (exit 1); exit 1; }; }
4310 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4311 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4313 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4315 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4316 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4317 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 # POSIX says lex can declare yytext either as a pointer or an array; the
4321 # default is implementation-dependent. Figure out which it is, since
4322 # not all implementations provide the %pointer and %array declarations.
4323 ac_cv_prog_lex_yytext_pointer
=no
4324 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4326 LIBS
="$LIBS $LEXLIB"
4327 cat >conftest.
$ac_ext <<_ACEOF
4328 `cat $LEX_OUTPUT_ROOT.c`
4330 rm -f conftest.
$ac_objext conftest
$ac_exeext
4331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4332 (eval $ac_link) 2>conftest.er1
4334 grep -v '^ *+' conftest.er1
>conftest.err
4336 cat conftest.err
>&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } &&
4339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); }; } &&
4345 { ac_try
='test -s conftest$ac_exeext'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; }; then
4351 ac_cv_prog_lex_yytext_pointer
=yes
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.
$ac_ext >&5
4357 rm -f conftest.err conftest.
$ac_objext \
4358 conftest
$ac_exeext conftest.
$ac_ext
4360 rm -f "${LEX_OUTPUT_ROOT}.c"
4363 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4364 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4365 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4367 cat >>confdefs.h
<<\_ACEOF
4368 #define YYTEXT_POINTER 1
4375 for ac_prog
in $YACC bison
yacc
4377 # Extract the first word of "$ac_prog", so it can be a program name with args.
4378 set dummy
$ac_prog; ac_word
=$2
4379 echo "$as_me:$LINENO: checking for $ac_word" >&5
4380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4381 if test "${ac_cv_prog_XYACC+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 if test -n "$XYACC"; then
4385 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
4387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir
=.
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_XYACC
="$ac_prog"
4395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 XYACC
=$ac_cv_prog_XYACC
4404 if test -n "$XYACC"; then
4405 echo "$as_me:$LINENO: result: $XYACC" >&5
4406 echo "${ECHO_T}$XYACC" >&6
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4412 test -n "$XYACC" && break
4414 test -n "$XYACC" || XYACC
="none"
4416 if test "$XYACC" = "none"
4418 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4419 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4420 { (exit 1); exit 1; }; }
4422 for ac_prog
in $LEX flex
lex
4424 # Extract the first word of "$ac_prog", so it can be a program name with args.
4425 set dummy
$ac_prog; ac_word
=$2
4426 echo "$as_me:$LINENO: checking for $ac_word" >&5
4427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4428 if test "${ac_cv_prog_XLEX+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test -n "$XLEX"; then
4432 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 for ac_exec_ext
in '' $ac_executable_extensions; do
4440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_XLEX
="$ac_prog"
4442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 XLEX
=$ac_cv_prog_XLEX
4451 if test -n "$XLEX"; then
4452 echo "$as_me:$LINENO: result: $XLEX" >&5
4453 echo "${ECHO_T}$XLEX" >&6
4455 echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6
4459 test -n "$XLEX" && break
4461 test -n "$XLEX" || XLEX
="none"
4463 if test "$XLEX" = "none"
4465 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4466 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4467 { (exit 1); exit 1; }; }
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog
in gas as
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4475 echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4477 if test "${ac_cv_prog_AS+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 if test -n "$AS"; then
4481 ac_cv_prog_AS
="$AS" # Let the user override the test.
4483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir
=.
4488 for ac_exec_ext
in '' $ac_executable_extensions; do
4489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 if test -n "$AS"; then
4501 echo "$as_me:$LINENO: result: $AS" >&5
4502 echo "${ECHO_T}$AS" >&6
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4508 test -n "$AS" && break
4511 if test -z "$AS"; then
4513 for ac_prog
in gas as
4515 # Extract the first word of "$ac_prog", so it can be a program name with args.
4516 set dummy
$ac_prog; ac_word
=$2
4517 echo "$as_me:$LINENO: checking for $ac_word" >&5
4518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4519 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 if test -n "$ac_ct_AS"; then
4523 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4529 test -z "$as_dir" && as_dir
=.
4530 for ac_exec_ext
in '' $ac_executable_extensions; do
4531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4532 ac_cv_prog_ac_ct_AS
="$ac_prog"
4533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4542 if test -n "$ac_ct_AS"; then
4543 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4544 echo "${ECHO_T}$ac_ct_AS" >&6
4546 echo "$as_me:$LINENO: result: no" >&5
4547 echo "${ECHO_T}no" >&6
4550 test -n "$ac_ct_AS" && break
4552 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4557 if test -n "$ac_tool_prefix"; then
4558 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4559 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4560 echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4562 if test "${ac_cv_prog_LD+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 if test -n "$LD"; then
4566 ac_cv_prog_LD
="$LD" # Let the user override the test.
4568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir
=.
4573 for ac_exec_ext
in '' $ac_executable_extensions; do
4574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 if test -n "$LD"; then
4586 echo "$as_me:$LINENO: result: $LD" >&5
4587 echo "${ECHO_T}$LD" >&6
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4594 if test -z "$ac_cv_prog_LD"; then
4596 # Extract the first word of "ld", so it can be a program name with args.
4597 set dummy ld
; ac_word
=$2
4598 echo "$as_me:$LINENO: checking for $ac_word" >&5
4599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4600 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 if test -n "$ac_ct_LD"; then
4604 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir
=.
4611 for ac_exec_ext
in '' $ac_executable_extensions; do
4612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_ac_ct_LD
="ld"
4614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
4623 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4624 if test -n "$ac_ct_LD"; then
4625 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4626 echo "${ECHO_T}$ac_ct_LD" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4639 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4640 echo "$as_me:$LINENO: checking for $ac_word" >&5
4641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4642 if test "${ac_cv_prog_AR+set}" = set; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4645 if test -n "$AR"; then
4646 ac_cv_prog_AR
="$AR" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 if test -n "$AR"; then
4666 echo "$as_me:$LINENO: result: $AR" >&5
4667 echo "${ECHO_T}$AR" >&6
4669 echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6
4674 if test -z "$ac_cv_prog_AR"; then
4676 # Extract the first word of "ar", so it can be a program name with args.
4677 set dummy
ar; ac_word
=$2
4678 echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4680 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 if test -n "$ac_ct_AR"; then
4684 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir
=.
4691 for ac_exec_ext
in '' $ac_executable_extensions; do
4692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_ac_ct_AR
="ar"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
4703 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4704 if test -n "$ac_ct_AR"; then
4705 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4706 echo "${ECHO_T}$ac_ct_AR" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4717 if test -n "$ac_tool_prefix"; then
4718 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4719 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4720 echo "$as_me:$LINENO: checking for $ac_word" >&5
4721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4722 if test "${ac_cv_prog_RANLIB+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 if test -n "$RANLIB"; then
4726 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 RANLIB
=$ac_cv_prog_RANLIB
4745 if test -n "$RANLIB"; then
4746 echo "$as_me:$LINENO: result: $RANLIB" >&5
4747 echo "${ECHO_T}$RANLIB" >&6
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4754 if test -z "$ac_cv_prog_RANLIB"; then
4755 ac_ct_RANLIB
=$RANLIB
4756 # Extract the first word of "ranlib", so it can be a program name with args.
4757 set dummy ranlib
; ac_word
=$2
4758 echo "$as_me:$LINENO: checking for $ac_word" >&5
4759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4760 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 if test -n "$ac_ct_RANLIB"; then
4764 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir
=.
4771 for ac_exec_ext
in '' $ac_executable_extensions; do
4772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4783 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4784 if test -n "$ac_ct_RANLIB"; then
4785 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4786 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4792 RANLIB
=$ac_ct_RANLIB
4794 RANLIB
="$ac_cv_prog_RANLIB"
4797 if test -n "$ac_tool_prefix"; then
4798 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4799 set dummy
${ac_tool_prefix}strip
; 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_STRIP+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -n "$STRIP"; then
4806 ac_cv_prog_STRIP
="$STRIP" # 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_STRIP
="${ac_tool_prefix}strip"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 STRIP
=$ac_cv_prog_STRIP
4825 if test -n "$STRIP"; then
4826 echo "$as_me:$LINENO: result: $STRIP" >&5
4827 echo "${ECHO_T}$STRIP" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4834 if test -z "$ac_cv_prog_STRIP"; then
4836 # Extract the first word of "strip", so it can be a program name with args.
4837 set dummy strip
; ac_word
=$2
4838 echo "$as_me:$LINENO: checking for $ac_word" >&5
4839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 if test -n "$ac_ct_STRIP"; then
4844 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir
=.
4851 for ac_exec_ext
in '' $ac_executable_extensions; do
4852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_ac_ct_STRIP
="strip"
4854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
4863 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4864 if test -n "$ac_ct_STRIP"; then
4865 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4866 echo "${ECHO_T}$ac_ct_STRIP" >&6
4868 echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4874 STRIP
="$ac_cv_prog_STRIP"
4877 if test -n "$ac_tool_prefix"; then
4878 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4879 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4880 echo "$as_me:$LINENO: checking for $ac_word" >&5
4881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4882 if test "${ac_cv_prog_WINDRES+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 if test -n "$WINDRES"; then
4886 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir
=.
4893 for ac_exec_ext
in '' $ac_executable_extensions; do
4894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 WINDRES
=$ac_cv_prog_WINDRES
4905 if test -n "$WINDRES"; then
4906 echo "$as_me:$LINENO: result: $WINDRES" >&5
4907 echo "${ECHO_T}$WINDRES" >&6
4909 echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6
4914 if test -z "$ac_cv_prog_WINDRES"; then
4915 ac_ct_WINDRES
=$WINDRES
4916 # Extract the first word of "windres", so it can be a program name with args.
4917 set dummy windres
; ac_word
=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$ac_ct_WINDRES"; then
4924 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_ac_ct_WINDRES
="windres"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
4943 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4944 if test -n "$ac_ct_WINDRES"; then
4945 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4946 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4952 WINDRES
=$ac_ct_WINDRES
4954 WINDRES
="$ac_cv_prog_WINDRES"
4957 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4958 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4960 if test "$LN_S" = "ln -s"; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4964 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4965 echo "${ECHO_T}no, using $LN_S" >&6
4968 echo "$as_me:$LINENO: checking whether ln works" >&5
4969 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4970 rm -f conf$$ conf$$.
file
4972 if ln conf$$.
file conf$$
2>/dev
/null
; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4980 echo "$as_me:$LINENO: result: no, using $LN" >&5
4981 echo "${ECHO_T}no, using $LN" >&6
4983 rm -f conf$$ conf$$.
file
4984 # Extract the first word of "ldconfig", so it can be a program name with args.
4985 set dummy ldconfig
; ac_word
=$2
4986 echo "$as_me:$LINENO: checking for $ac_word" >&5
4987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4988 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4989 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 for as_dir
in /sbin
/usr
/sbin
$PATH
5000 test -z "$as_dir" && as_dir
=.
5001 for ac_exec_ext
in '' $ac_executable_extensions; do
5002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5014 LDCONFIG
=$ac_cv_path_LDCONFIG
5016 if test -n "$LDCONFIG"; then
5017 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5018 echo "${ECHO_T}$LDCONFIG" >&6
5020 echo "$as_me:$LINENO: result: no" >&5
5021 echo "${ECHO_T}no" >&6
5024 # Find a good install program. We prefer a C program (faster),
5025 # so one script is as good as another. But avoid the broken or
5026 # incompatible versions:
5027 # SysV /etc/install, /usr/sbin/install
5028 # SunOS /usr/etc/install
5029 # IRIX /sbin/install
5031 # AmigaOS /C/install, which installs bootblocks on floppy discs
5032 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5033 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5034 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5035 # OS/2's system install, which has a completely different semantic
5036 # ./install, which can be erroneously created by make from ./install.sh.
5037 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5038 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5039 if test -z "$INSTALL"; then
5040 if test "${ac_cv_path_install+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir
=.
5048 # Account for people who put trailing slashes in PATH elements.
5050 .
/ | .
// |
/cC
/* | \
5051 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5052 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5055 # OSF1 and SCO ODT 3.0 have their own names for install.
5056 # Don't use installbsd from OSF since it installs stuff as root
5058 for ac_prog
in ginstall scoinst
install; do
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5061 if test $ac_prog = install &&
5062 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5063 # AIX install. It has an incompatible calling convention.
5065 elif test $ac_prog = install &&
5066 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5067 # program-specific install script used by HP pwplus--don't use.
5070 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5082 if test "${ac_cv_path_install+set}" = set; then
5083 INSTALL
=$ac_cv_path_install
5085 # As a last resort, use the slow shell script. We don't cache a
5086 # path for INSTALL within a source directory, because that will
5087 # break other packages using the cache if that directory is
5088 # removed, or if the path is relative.
5089 INSTALL
=$ac_install_sh
5092 echo "$as_me:$LINENO: result: $INSTALL" >&5
5093 echo "${ECHO_T}$INSTALL" >&6
5095 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5096 # It thinks the first close brace ends the variable substitution.
5097 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5099 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5101 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5104 [\\/$
]* | ?
:[\\/]* ) ;;
5105 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5108 for ac_prog
in lclint lint
5110 # Extract the first word of "$ac_prog", so it can be a program name with args.
5111 set dummy
$ac_prog; ac_word
=$2
5112 echo "$as_me:$LINENO: checking for $ac_word" >&5
5113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5114 if test "${ac_cv_prog_LINT+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 if test -n "$LINT"; then
5118 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 for ac_exec_ext
in '' $ac_executable_extensions; do
5126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_LINT
="$ac_prog"
5128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 LINT
=$ac_cv_prog_LINT
5137 if test -n "$LINT"; then
5138 echo "$as_me:$LINENO: result: $LINT" >&5
5139 echo "${ECHO_T}$LINT" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5145 test -n "$LINT" && break
5148 if test "$LINT" = "lint"
5150 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5155 for ac_prog
in docbook2html db2html
5157 # Extract the first word of "$ac_prog", so it can be a program name with args.
5158 set dummy
$ac_prog; ac_word
=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$DB2HTML"; then
5165 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_DB2HTML
="$ac_prog"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 DB2HTML
=$ac_cv_prog_DB2HTML
5184 if test -n "$DB2HTML"; then
5185 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5186 echo "${ECHO_T}$DB2HTML" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5192 test -n "$DB2HTML" && break
5194 test -n "$DB2HTML" || DB2HTML
="false"
5198 for ac_prog
in docbook2pdf db2pdf
5200 # Extract the first word of "$ac_prog", so it can be a program name with args.
5201 set dummy
$ac_prog; ac_word
=$2
5202 echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5204 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 if test -n "$DB2PDF"; then
5208 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir
=.
5215 for ac_exec_ext
in '' $ac_executable_extensions; do
5216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_DB2PDF
="$ac_prog"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 DB2PDF
=$ac_cv_prog_DB2PDF
5227 if test -n "$DB2PDF"; then
5228 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5229 echo "${ECHO_T}$DB2PDF" >&6
5231 echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6
5235 test -n "$DB2PDF" && break
5237 test -n "$DB2PDF" || DB2PDF
="false"
5241 for ac_prog
in docbook2ps db2ps
5243 # Extract the first word of "$ac_prog", so it can be a program name with args.
5244 set dummy
$ac_prog; ac_word
=$2
5245 echo "$as_me:$LINENO: checking for $ac_word" >&5
5246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5247 if test "${ac_cv_prog_DB2PS+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 if test -n "$DB2PS"; then
5251 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_DB2PS
="$ac_prog"
5261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 DB2PS
=$ac_cv_prog_DB2PS
5270 if test -n "$DB2PS"; then
5271 echo "$as_me:$LINENO: result: $DB2PS" >&5
5272 echo "${ECHO_T}$DB2PS" >&6
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5278 test -n "$DB2PS" && break
5280 test -n "$DB2PS" || DB2PS
="false"
5284 for ac_prog
in docbook2txt db2txt
5286 # Extract the first word of "$ac_prog", so it can be a program name with args.
5287 set dummy
$ac_prog; ac_word
=$2
5288 echo "$as_me:$LINENO: checking for $ac_word" >&5
5289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5290 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if test -n "$DB2TXT"; then
5294 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5303 ac_cv_prog_DB2TXT
="$ac_prog"
5304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 DB2TXT
=$ac_cv_prog_DB2TXT
5313 if test -n "$DB2TXT"; then
5314 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5315 echo "${ECHO_T}$DB2TXT" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5321 test -n "$DB2TXT" && break
5323 test -n "$DB2TXT" || DB2TXT
="false"
5329 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5330 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5331 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5332 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 ac_check_lib_save_LIBS
=$LIBS
5336 cat >conftest.
$ac_ext <<_ACEOF
5339 cat confdefs.h
>>conftest.
$ac_ext
5340 cat >>conftest.
$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5343 /* Override any gcc2 internal prototype to avoid an error. */
5347 /* We use char because int might match the return type of a gcc2
5348 builtin and then its argument prototype would still apply. */
5358 rm -f conftest.
$ac_objext conftest
$ac_exeext
5359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5360 (eval $ac_link) 2>conftest.er1
5362 grep -v '^ *+' conftest.er1
>conftest.err
5364 cat conftest.err
>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } &&
5367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }; } &&
5373 { ac_try
='test -s conftest$ac_exeext'
5374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; }; then
5379 ac_cv_lib_m_sqrt
=yes
5381 echo "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.
$ac_ext >&5
5386 rm -f conftest.err conftest.
$ac_objext \
5387 conftest
$ac_exeext conftest.
$ac_ext
5388 LIBS
=$ac_check_lib_save_LIBS
5390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5391 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5392 if test $ac_cv_lib_m_sqrt = yes; then
5393 cat >>confdefs.h
<<_ACEOF
5402 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5403 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5404 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5405 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 ac_check_lib_save_LIBS
=$LIBS
5409 cat >conftest.
$ac_ext <<_ACEOF
5412 cat confdefs.h
>>conftest.
$ac_ext
5413 cat >>conftest.
$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5416 /* Override any gcc2 internal prototype to avoid an error. */
5420 /* We use char because int might match the return type of a gcc2
5421 builtin and then its argument prototype would still apply. */
5422 char i386_set_ldt ();
5431 rm -f conftest.
$ac_objext conftest
$ac_exeext
5432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5433 (eval $ac_link) 2>conftest.er1
5435 grep -v '^ *+' conftest.er1
>conftest.err
5437 cat conftest.err
>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } &&
5440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; } &&
5446 { ac_try
='test -s conftest$ac_exeext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5452 ac_cv_lib_i386_i386_set_ldt
=yes
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.
$ac_ext >&5
5457 ac_cv_lib_i386_i386_set_ldt
=no
5459 rm -f conftest.err conftest.
$ac_objext \
5460 conftest
$ac_exeext conftest.
$ac_ext
5461 LIBS
=$ac_check_lib_save_LIBS
5463 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5464 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5465 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5466 cat >>confdefs.h
<<_ACEOF
5467 #define HAVE_LIBI386 1
5475 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5476 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5477 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 ac_check_lib_save_LIBS
=$LIBS
5481 LIBS
="-lossaudio $LIBS"
5482 cat >conftest.
$ac_ext <<_ACEOF
5485 cat confdefs.h
>>conftest.
$ac_ext
5486 cat >>conftest.
$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5489 /* Override any gcc2 internal prototype to avoid an error. */
5493 /* We use char because int might match the return type of a gcc2
5494 builtin and then its argument prototype would still apply. */
5504 rm -f conftest.
$ac_objext conftest
$ac_exeext
5505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5506 (eval $ac_link) 2>conftest.er1
5508 grep -v '^ *+' conftest.er1
>conftest.err
5510 cat conftest.err
>&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); } &&
5513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; } &&
5519 { ac_try
='test -s conftest$ac_exeext'
5520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_lib_ossaudio__oss_ioctl
=yes
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.
$ac_ext >&5
5530 ac_cv_lib_ossaudio__oss_ioctl
=no
5532 rm -f conftest.err conftest.
$ac_objext \
5533 conftest
$ac_exeext conftest.
$ac_ext
5534 LIBS
=$ac_check_lib_save_LIBS
5536 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5537 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5538 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5539 cat >>confdefs.h
<<_ACEOF
5540 #define HAVE_LIBOSSAUDIO 1
5543 LIBS
="-lossaudio $LIBS"
5548 for ac_func
in iswalnum
5550 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5551 echo "$as_me:$LINENO: checking for $ac_func" >&5
5552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5553 if eval "test \"\${$as_ac_var+set}\" = set"; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 cat >conftest.
$ac_ext <<_ACEOF
5559 cat confdefs.h
>>conftest.
$ac_ext
5560 cat >>conftest.
$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5564 #define $ac_func innocuous_$ac_func
5566 /* System header to define __stub macros and hopefully few prototypes,
5567 which can conflict with char $ac_func (); below.
5568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5569 <limits.h> exists even on freestanding compilers. */
5572 # include <limits.h>
5574 # include <assert.h>
5579 /* Override any gcc2 internal prototype to avoid an error. */
5584 /* We use char because int might match the return type of a gcc2
5585 builtin and then its argument prototype would still apply. */
5587 /* The GNU C library defines this for functions which it implements
5588 to always fail with ENOSYS. Some functions are actually named
5589 something starting with __ and the normal name is an alias. */
5590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5593 char (*f) () = $ac_func;
5602 return f != $ac_func;
5607 rm -f conftest.
$ac_objext conftest
$ac_exeext
5608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5609 (eval $ac_link) 2>conftest.er1
5611 grep -v '^ *+' conftest.er1
>conftest.err
5613 cat conftest.err
>&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } &&
5616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } &&
5622 { ac_try
='test -s conftest$ac_exeext'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then
5628 eval "$as_ac_var=yes"
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.
$ac_ext >&5
5633 eval "$as_ac_var=no"
5635 rm -f conftest.err conftest.
$ac_objext \
5636 conftest
$ac_exeext conftest.
$ac_ext
5638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5640 if test `eval echo '${'$as_ac_var'}'` = yes; then
5641 cat >>confdefs.h
<<_ACEOF
5642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5647 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5648 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5649 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 ac_check_lib_save_LIBS
=$LIBS
5654 cat >conftest.
$ac_ext <<_ACEOF
5657 cat confdefs.h
>>conftest.
$ac_ext
5658 cat >>conftest.
$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5661 /* Override any gcc2 internal prototype to avoid an error. */
5665 /* We use char because int might match the return type of a gcc2
5666 builtin and then its argument prototype would still apply. */
5676 rm -f conftest.
$ac_objext conftest
$ac_exeext
5677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678 (eval $ac_link) 2>conftest.er1
5680 grep -v '^ *+' conftest.er1
>conftest.err
5682 cat conftest.err
>&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } &&
5685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; } &&
5691 { ac_try
='test -s conftest$ac_exeext'
5692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; }; then
5697 ac_cv_lib_w_iswalnum
=yes
5699 echo "$as_me: failed program was:" >&5
5700 sed 's/^/| /' conftest.
$ac_ext >&5
5702 ac_cv_lib_w_iswalnum
=no
5704 rm -f conftest.err conftest.
$ac_objext \
5705 conftest
$ac_exeext conftest.
$ac_ext
5706 LIBS
=$ac_check_lib_save_LIBS
5708 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5709 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5710 if test $ac_cv_lib_w_iswalnum = yes; then
5711 cat >>confdefs.h
<<_ACEOF
5723 for ac_func
in gethostbyname
5725 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5726 echo "$as_me:$LINENO: checking for $ac_func" >&5
5727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5728 if eval "test \"\${$as_ac_var+set}\" = set"; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 cat >conftest.
$ac_ext <<_ACEOF
5734 cat confdefs.h
>>conftest.
$ac_ext
5735 cat >>conftest.
$ac_ext <<_ACEOF
5736 /* end confdefs.h. */
5737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5739 #define $ac_func innocuous_$ac_func
5741 /* System header to define __stub macros and hopefully few prototypes,
5742 which can conflict with char $ac_func (); below.
5743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5744 <limits.h> exists even on freestanding compilers. */
5747 # include <limits.h>
5749 # include <assert.h>
5754 /* Override any gcc2 internal prototype to avoid an error. */
5759 /* We use char because int might match the return type of a gcc2
5760 builtin and then its argument prototype would still apply. */
5762 /* The GNU C library defines this for functions which it implements
5763 to always fail with ENOSYS. Some functions are actually named
5764 something starting with __ and the normal name is an alias. */
5765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5768 char (*f) () = $ac_func;
5777 return f != $ac_func;
5782 rm -f conftest.
$ac_objext conftest
$ac_exeext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784 (eval $ac_link) 2>conftest.er1
5786 grep -v '^ *+' conftest.er1
>conftest.err
5788 cat conftest.err
>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } &&
5791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; } &&
5797 { ac_try
='test -s conftest$ac_exeext'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; }; then
5803 eval "$as_ac_var=yes"
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.
$ac_ext >&5
5808 eval "$as_ac_var=no"
5810 rm -f conftest.err conftest.
$ac_objext \
5811 conftest
$ac_exeext conftest.
$ac_ext
5813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5815 if test `eval echo '${'$as_ac_var'}'` = yes; then
5816 cat >>confdefs.h
<<_ACEOF
5817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5822 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5823 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5824 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 ac_check_lib_save_LIBS
=$LIBS
5829 cat >conftest.
$ac_ext <<_ACEOF
5832 cat confdefs.h
>>conftest.
$ac_ext
5833 cat >>conftest.
$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5836 /* Override any gcc2 internal prototype to avoid an error. */
5840 /* We use char because int might match the return type of a gcc2
5841 builtin and then its argument prototype would still apply. */
5842 char gethostbyname ();
5851 rm -f conftest.
$ac_objext conftest
$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>conftest.er1
5855 grep -v '^ *+' conftest.er1
>conftest.err
5857 cat conftest.err
>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } &&
5860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; } &&
5866 { ac_try
='test -s conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 ac_cv_lib_nsl_gethostbyname
=yes
5874 echo "$as_me: failed program was:" >&5
5875 sed 's/^/| /' conftest.
$ac_ext >&5
5877 ac_cv_lib_nsl_gethostbyname
=no
5879 rm -f conftest.err conftest.
$ac_objext \
5880 conftest
$ac_exeext conftest.
$ac_ext
5881 LIBS
=$ac_check_lib_save_LIBS
5883 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5884 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5885 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5886 cat >>confdefs.h
<<_ACEOF
5887 #define HAVE_LIBNSL 1
5898 for ac_func
in connect
5900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5901 echo "$as_me:$LINENO: checking for $ac_func" >&5
5902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5903 if eval "test \"\${$as_ac_var+set}\" = set"; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 cat >conftest.
$ac_ext <<_ACEOF
5909 cat confdefs.h
>>conftest.
$ac_ext
5910 cat >>conftest.
$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5914 #define $ac_func innocuous_$ac_func
5916 /* System header to define __stub macros and hopefully few prototypes,
5917 which can conflict with char $ac_func (); below.
5918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5919 <limits.h> exists even on freestanding compilers. */
5922 # include <limits.h>
5924 # include <assert.h>
5929 /* Override any gcc2 internal prototype to avoid an error. */
5934 /* We use char because int might match the return type of a gcc2
5935 builtin and then its argument prototype would still apply. */
5937 /* The GNU C library defines this for functions which it implements
5938 to always fail with ENOSYS. Some functions are actually named
5939 something starting with __ and the normal name is an alias. */
5940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5943 char (*f) () = $ac_func;
5952 return f != $ac_func;
5957 rm -f conftest.
$ac_objext conftest
$ac_exeext
5958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5959 (eval $ac_link) 2>conftest.er1
5961 grep -v '^ *+' conftest.er1
>conftest.err
5963 cat conftest.err
>&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } &&
5966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } &&
5972 { ac_try
='test -s conftest$ac_exeext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5978 eval "$as_ac_var=yes"
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5983 eval "$as_ac_var=no"
5985 rm -f conftest.err conftest.
$ac_objext \
5986 conftest
$ac_exeext conftest.
$ac_ext
5988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5990 if test `eval echo '${'$as_ac_var'}'` = yes; then
5991 cat >>confdefs.h
<<_ACEOF
5992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5997 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5998 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5999 if test "${ac_cv_lib_socket_connect+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 ac_check_lib_save_LIBS
=$LIBS
6003 LIBS
="-lsocket $LIBS"
6004 cat >conftest.
$ac_ext <<_ACEOF
6007 cat confdefs.h
>>conftest.
$ac_ext
6008 cat >>conftest.
$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6011 /* Override any gcc2 internal prototype to avoid an error. */
6015 /* We use char because int might match the return type of a gcc2
6016 builtin and then its argument prototype would still apply. */
6026 rm -f conftest.
$ac_objext conftest
$ac_exeext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028 (eval $ac_link) 2>conftest.er1
6030 grep -v '^ *+' conftest.er1
>conftest.err
6032 cat conftest.err
>&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } &&
6035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; } &&
6041 { ac_try
='test -s conftest$ac_exeext'
6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); }; }; then
6047 ac_cv_lib_socket_connect
=yes
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.
$ac_ext >&5
6052 ac_cv_lib_socket_connect
=no
6054 rm -f conftest.err conftest.
$ac_objext \
6055 conftest
$ac_exeext conftest.
$ac_ext
6056 LIBS
=$ac_check_lib_save_LIBS
6058 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6059 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6060 if test $ac_cv_lib_socket_connect = yes; then
6061 cat >>confdefs.h
<<_ACEOF
6062 #define HAVE_LIBSOCKET 1
6065 LIBS
="-lsocket $LIBS"
6073 for ac_func
in inet_aton
6075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6076 echo "$as_me:$LINENO: checking for $ac_func" >&5
6077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6078 if eval "test \"\${$as_ac_var+set}\" = set"; then
6079 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 cat >conftest.
$ac_ext <<_ACEOF
6084 cat confdefs.h
>>conftest.
$ac_ext
6085 cat >>conftest.
$ac_ext <<_ACEOF
6086 /* end confdefs.h. */
6087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6089 #define $ac_func innocuous_$ac_func
6091 /* System header to define __stub macros and hopefully few prototypes,
6092 which can conflict with char $ac_func (); below.
6093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6094 <limits.h> exists even on freestanding compilers. */
6097 # include <limits.h>
6099 # include <assert.h>
6104 /* Override any gcc2 internal prototype to avoid an error. */
6109 /* We use char because int might match the return type of a gcc2
6110 builtin and then its argument prototype would still apply. */
6112 /* The GNU C library defines this for functions which it implements
6113 to always fail with ENOSYS. Some functions are actually named
6114 something starting with __ and the normal name is an alias. */
6115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6118 char (*f) () = $ac_func;
6127 return f != $ac_func;
6132 rm -f conftest.
$ac_objext conftest
$ac_exeext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6134 (eval $ac_link) 2>conftest.er1
6136 grep -v '^ *+' conftest.er1
>conftest.err
6138 cat conftest.err
>&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; } &&
6147 { ac_try
='test -s conftest$ac_exeext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6153 eval "$as_ac_var=yes"
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.
$ac_ext >&5
6158 eval "$as_ac_var=no"
6160 rm -f conftest.err conftest.
$ac_objext \
6161 conftest
$ac_exeext conftest.
$ac_ext
6163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6165 if test `eval echo '${'$as_ac_var'}'` = yes; then
6166 cat >>confdefs.h
<<_ACEOF
6167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6172 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6173 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6174 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 ac_check_lib_save_LIBS
=$LIBS
6178 LIBS
="-lresolv $LIBS"
6179 cat >conftest.
$ac_ext <<_ACEOF
6182 cat confdefs.h
>>conftest.
$ac_ext
6183 cat >>conftest.
$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6186 /* Override any gcc2 internal prototype to avoid an error. */
6190 /* We use char because int might match the return type of a gcc2
6191 builtin and then its argument prototype would still apply. */
6201 rm -f conftest.
$ac_objext conftest
$ac_exeext
6202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6203 (eval $ac_link) 2>conftest.er1
6205 grep -v '^ *+' conftest.er1
>conftest.err
6207 cat conftest.err
>&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try
='test -s conftest$ac_exeext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 ac_cv_lib_resolv_inet_aton
=yes
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.
$ac_ext >&5
6227 ac_cv_lib_resolv_inet_aton
=no
6229 rm -f conftest.err conftest.
$ac_objext \
6230 conftest
$ac_exeext conftest.
$ac_ext
6231 LIBS
=$ac_check_lib_save_LIBS
6233 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6234 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6235 if test $ac_cv_lib_resolv_inet_aton = yes; then
6236 cat >>confdefs.h
<<_ACEOF
6237 #define HAVE_LIBRESOLV 1
6240 LIBS
="-lresolv $LIBS"
6248 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6249 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6250 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 ac_check_lib_save_LIBS
=$LIBS
6255 cat >conftest.
$ac_ext <<_ACEOF
6258 cat confdefs.h
>>conftest.
$ac_ext
6259 cat >>conftest.
$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any gcc2 internal prototype to avoid an error. */
6266 /* We use char because int might match the return type of a gcc2
6267 builtin and then its argument prototype would still apply. */
6268 char _xpg4_setrunelocale ();
6272 _xpg4_setrunelocale ();
6277 rm -f conftest.
$ac_objext conftest
$ac_exeext
6278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6279 (eval $ac_link) 2>conftest.er1
6281 grep -v '^ *+' conftest.er1
>conftest.err
6283 cat conftest.err
>&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } &&
6286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }; } &&
6292 { ac_try
='test -s conftest$ac_exeext'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6298 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.
$ac_ext >&5
6303 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6305 rm -f conftest.err conftest.
$ac_objext \
6306 conftest
$ac_exeext conftest.
$ac_ext
6307 LIBS
=$ac_check_lib_save_LIBS
6309 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6310 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6311 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6312 cat >>confdefs.h
<<_ACEOF
6313 #define HAVE_LIBXPG4 1
6321 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6322 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6323 if test "${ac_cv_lib_poll_poll+set}" = set; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 ac_check_lib_save_LIBS
=$LIBS
6328 cat >conftest.
$ac_ext <<_ACEOF
6331 cat confdefs.h
>>conftest.
$ac_ext
6332 cat >>conftest.
$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6335 /* Override any gcc2 internal prototype to avoid an error. */
6339 /* We use char because int might match the return type of a gcc2
6340 builtin and then its argument prototype would still apply. */
6350 rm -f conftest.
$ac_objext conftest
$ac_exeext
6351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6352 (eval $ac_link) 2>conftest.er1
6354 grep -v '^ *+' conftest.er1
>conftest.err
6356 cat conftest.err
>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } &&
6359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try
='test -s conftest$ac_exeext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6371 ac_cv_lib_poll_poll
=yes
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.
$ac_ext >&5
6376 ac_cv_lib_poll_poll
=no
6378 rm -f conftest.err conftest.
$ac_objext \
6379 conftest
$ac_exeext conftest.
$ac_ext
6380 LIBS
=$ac_check_lib_save_LIBS
6382 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6383 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6384 if test $ac_cv_lib_poll_poll = yes; then
6385 cat >>confdefs.h
<<_ACEOF
6386 #define HAVE_LIBPOLL 1
6393 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6394 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6395 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 ac_check_lib_save_LIBS
=$LIBS
6399 LIBS
="-lpthread $LIBS"
6400 cat >conftest.
$ac_ext <<_ACEOF
6403 cat confdefs.h
>>conftest.
$ac_ext
6404 cat >>conftest.
$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any gcc2 internal prototype to avoid an error. */
6411 /* We use char because int might match the return type of a gcc2
6412 builtin and then its argument prototype would still apply. */
6413 char pthread_create ();
6422 rm -f conftest.
$ac_objext conftest
$ac_exeext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6424 (eval $ac_link) 2>conftest.er1
6426 grep -v '^ *+' conftest.er1
>conftest.err
6428 cat conftest.err
>&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; } &&
6437 { ac_try
='test -s conftest$ac_exeext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 ac_cv_lib_pthread_pthread_create
=yes
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.
$ac_ext >&5
6448 ac_cv_lib_pthread_pthread_create
=no
6450 rm -f conftest.err conftest.
$ac_objext \
6451 conftest
$ac_exeext conftest.
$ac_ext
6452 LIBS
=$ac_check_lib_save_LIBS
6454 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6455 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6456 if test $ac_cv_lib_pthread_pthread_create = yes; then
6457 LIBPTHREAD
="-lpthread"
6464 echo "$as_me:$LINENO: checking for egrep" >&5
6465 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6466 if test "${ac_cv_prog_egrep+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6470 then ac_cv_prog_egrep
='grep -E'
6471 else ac_cv_prog_egrep
='egrep'
6474 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6475 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6476 EGREP
=$ac_cv_prog_egrep
6479 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6480 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6481 if test "${ac_cv_header_stdc+set}" = set; then
6482 echo $ECHO_N "(cached) $ECHO_C" >&6
6484 cat >conftest.
$ac_ext <<_ACEOF
6487 cat confdefs.h
>>conftest.
$ac_ext
6488 cat >>conftest.
$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6503 rm -f conftest.
$ac_objext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6505 (eval $ac_compile) 2>conftest.er1
6507 grep -v '^ *+' conftest.er1
>conftest.err
6509 cat conftest.err
>&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } &&
6512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); }; } &&
6518 { ac_try
='test -s conftest.$ac_objext'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; }; then
6524 ac_cv_header_stdc
=yes
6526 echo "$as_me: failed program was:" >&5
6527 sed 's/^/| /' conftest.
$ac_ext >&5
6529 ac_cv_header_stdc
=no
6531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6533 if test $ac_cv_header_stdc = yes; then
6534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6535 cat >conftest.
$ac_ext <<_ACEOF
6538 cat confdefs.h
>>conftest.
$ac_ext
6539 cat >>conftest.
$ac_ext <<_ACEOF
6540 /* end confdefs.h. */
6544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6545 $EGREP "memchr" >/dev
/null
2>&1; then
6548 ac_cv_header_stdc
=no
6554 if test $ac_cv_header_stdc = yes; then
6555 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6556 cat >conftest.
$ac_ext <<_ACEOF
6559 cat confdefs.h
>>conftest.
$ac_ext
6560 cat >>conftest.
$ac_ext <<_ACEOF
6561 /* end confdefs.h. */
6565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6566 $EGREP "free" >/dev
/null
2>&1; then
6569 ac_cv_header_stdc
=no
6575 if test $ac_cv_header_stdc = yes; then
6576 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6577 if test "$cross_compiling" = yes; then
6580 cat >conftest.
$ac_ext <<_ACEOF
6583 cat confdefs.h
>>conftest.
$ac_ext
6584 cat >>conftest.
$ac_ext <<_ACEOF
6585 /* end confdefs.h. */
6587 #if ((' ' & 0x0FF) == 0x020)
6588 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6589 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6591 # define ISLOWER(c) \
6592 (('a' <= (c) && (c) <= 'i') \
6593 || ('j' <= (c) && (c) <= 'r') \
6594 || ('s' <= (c) && (c) <= 'z'))
6595 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6598 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6603 for (i = 0; i < 256; i++)
6604 if (XOR (islower (i), ISLOWER (i))
6605 || toupper (i) != TOUPPER (i))
6610 rm -f conftest
$ac_exeext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6612 (eval $ac_link) 2>&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6623 echo "$as_me: program exited with status $ac_status" >&5
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.
$ac_ext >&5
6628 ac_cv_header_stdc
=no
6630 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6634 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h
<<\_ACEOF
6639 #define STDC_HEADERS 1
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 cat >conftest.
$ac_ext <<_ACEOF
6666 cat confdefs.h
>>conftest.
$ac_ext
6667 cat >>conftest.
$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6673 rm -f conftest.
$ac_objext
6674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6675 (eval $ac_compile) 2>conftest.er1
6677 grep -v '^ *+' conftest.er1
>conftest.err
6679 cat conftest.err
>&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } &&
6682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; } &&
6688 { ac_try
='test -s conftest.$ac_objext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 eval "$as_ac_Header=yes"
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6699 eval "$as_ac_Header=no"
6701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6706 cat >>confdefs.h
<<_ACEOF
6707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6716 for ac_header
in jpeglib.h
6718 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6720 echo "$as_me:$LINENO: checking for $ac_header" >&5
6721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6728 # Is the header compilable?
6729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6731 cat >conftest.
$ac_ext <<_ACEOF
6734 cat confdefs.h
>>conftest.
$ac_ext
6735 cat >>conftest.
$ac_ext <<_ACEOF
6736 /* end confdefs.h. */
6737 $ac_includes_default
6738 #include <$ac_header>
6740 rm -f conftest.
$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742 (eval $ac_compile) 2>conftest.er1
6744 grep -v '^ *+' conftest.er1
>conftest.err
6746 cat conftest.err
>&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } &&
6749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); }; } &&
6755 { ac_try
='test -s conftest.$ac_objext'
6756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; }; then
6761 ac_header_compiler
=yes
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.
$ac_ext >&5
6766 ac_header_compiler
=no
6768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6770 echo "${ECHO_T}$ac_header_compiler" >&6
6772 # Is the header present?
6773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6775 cat >conftest.
$ac_ext <<_ACEOF
6778 cat confdefs.h
>>conftest.
$ac_ext
6779 cat >>conftest.
$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6781 #include <$ac_header>
6783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6784 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6786 grep -v '^ *+' conftest.er1
>conftest.err
6788 cat conftest.err
>&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } >/dev
/null
; then
6791 if test -s conftest.err
; then
6792 ac_cpp_err
=$ac_c_preproc_warn_flag
6793 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6800 if test -z "$ac_cpp_err"; then
6801 ac_header_preproc
=yes
6803 echo "$as_me: failed program was:" >&5
6804 sed 's/^/| /' conftest.
$ac_ext >&5
6806 ac_header_preproc
=no
6808 rm -f conftest.err conftest.
$ac_ext
6809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6810 echo "${ECHO_T}$ac_header_preproc" >&6
6812 # So? What about this header?
6813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6819 ac_header_preproc
=yes
6822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6836 ## ------------------------------------ ##
6837 ## Report this to wine-devel@winehq.org ##
6838 ## ------------------------------------ ##
6841 sed "s/^/$as_me: WARNING: /" >&2
6844 echo "$as_me:$LINENO: checking for $ac_header" >&5
6845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 eval "$as_ac_Header=\$ac_header_preproc"
6851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6856 cat >>confdefs.h
<<_ACEOF
6857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6859 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6860 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6861 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 ac_check_lib_save_LIBS
=$LIBS
6866 cat >conftest.
$ac_ext <<_ACEOF
6869 cat confdefs.h
>>conftest.
$ac_ext
6870 cat >>conftest.
$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6873 /* Override any gcc2 internal prototype to avoid an error. */
6877 /* We use char because int might match the return type of a gcc2
6878 builtin and then its argument prototype would still apply. */
6879 char jpeg_start_decompress ();
6883 jpeg_start_decompress ();
6888 rm -f conftest.
$ac_objext conftest
$ac_exeext
6889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6890 (eval $ac_link) 2>conftest.er1
6892 grep -v '^ *+' conftest.er1
>conftest.err
6894 cat conftest.err
>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } &&
6897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try
='test -s conftest$ac_exeext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.
$ac_ext >&5
6914 ac_cv_lib_jpeg_jpeg_start_decompress
=no
6916 rm -f conftest.err conftest.
$ac_objext \
6917 conftest
$ac_exeext conftest.
$ac_ext
6918 LIBS
=$ac_check_lib_save_LIBS
6920 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6921 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6922 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6924 cat >>confdefs.h
<<\_ACEOF
6925 #define HAVE_LIBJPEG 1
6941 for ac_header
in gif_lib.h
6943 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6945 echo "$as_me:$LINENO: checking for $ac_header" >&5
6946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6953 # Is the header compilable?
6954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6956 cat >conftest.
$ac_ext <<_ACEOF
6959 cat confdefs.h
>>conftest.
$ac_ext
6960 cat >>conftest.
$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6962 $ac_includes_default
6963 #include <$ac_header>
6965 rm -f conftest.
$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>conftest.er1
6969 grep -v '^ *+' conftest.er1
>conftest.err
6971 cat conftest.err
>&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; } &&
6980 { ac_try
='test -s conftest.$ac_objext'
6981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; }; then
6986 ac_header_compiler
=yes
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.
$ac_ext >&5
6991 ac_header_compiler
=no
6993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6995 echo "${ECHO_T}$ac_header_compiler" >&6
6997 # Is the header present?
6998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7000 cat >conftest.
$ac_ext <<_ACEOF
7003 cat confdefs.h
>>conftest.
$ac_ext
7004 cat >>conftest.
$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7006 #include <$ac_header>
7008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7011 grep -v '^ *+' conftest.er1
>conftest.err
7013 cat conftest.err
>&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); } >/dev
/null
; then
7016 if test -s conftest.err
; then
7017 ac_cpp_err
=$ac_c_preproc_warn_flag
7018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7025 if test -z "$ac_cpp_err"; then
7026 ac_header_preproc
=yes
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.
$ac_ext >&5
7031 ac_header_preproc
=no
7033 rm -f conftest.err conftest.
$ac_ext
7034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7035 echo "${ECHO_T}$ac_header_preproc" >&6
7037 # So? What about this header?
7038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7044 ac_header_preproc
=yes
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7061 ## ------------------------------------ ##
7062 ## Report this to wine-devel@winehq.org ##
7063 ## ------------------------------------ ##
7066 sed "s/^/$as_me: WARNING: /" >&2
7069 echo "$as_me:$LINENO: checking for $ac_header" >&5
7070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 eval "$as_ac_Header=\$ac_header_preproc"
7076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7081 cat >>confdefs.h
<<_ACEOF
7082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7084 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7085 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7086 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7087 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 ac_check_lib_save_LIBS
=$LIBS
7090 LIBS
="-lungif $LIBS"
7091 cat >conftest.
$ac_ext <<_ACEOF
7094 cat confdefs.h
>>conftest.
$ac_ext
7095 cat >>conftest.
$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7098 /* Override any gcc2 internal prototype to avoid an error. */
7102 /* We use char because int might match the return type of a gcc2
7103 builtin and then its argument prototype would still apply. */
7113 rm -f conftest.
$ac_objext conftest
$ac_exeext
7114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115 (eval $ac_link) 2>conftest.er1
7117 grep -v '^ *+' conftest.er1
>conftest.err
7119 cat conftest.err
>&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } &&
7122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; } &&
7128 { ac_try
='test -s conftest$ac_exeext'
7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); }; }; then
7134 ac_cv_lib_ungif_DGifOpen
=yes
7136 echo "$as_me: failed program was:" >&5
7137 sed 's/^/| /' conftest.
$ac_ext >&5
7139 ac_cv_lib_ungif_DGifOpen
=no
7141 rm -f conftest.err conftest.
$ac_objext \
7142 conftest
$ac_exeext conftest.
$ac_ext
7143 LIBS
=$ac_check_lib_save_LIBS
7145 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7146 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7147 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7149 cat >>confdefs.h
<<\_ACEOF
7150 #define HAVE_LIBGIF 1
7155 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7156 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7157 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 ac_check_lib_save_LIBS
=$LIBS
7162 cat >conftest.
$ac_ext <<_ACEOF
7165 cat confdefs.h
>>conftest.
$ac_ext
7166 cat >>conftest.
$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7169 /* Override any gcc2 internal prototype to avoid an error. */
7173 /* We use char because int might match the return type of a gcc2
7174 builtin and then its argument prototype would still apply. */
7184 rm -f conftest.
$ac_objext conftest
$ac_exeext
7185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7186 (eval $ac_link) 2>conftest.er1
7188 grep -v '^ *+' conftest.er1
>conftest.err
7190 cat conftest.err
>&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } &&
7193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); }; } &&
7199 { ac_try
='test -s conftest$ac_exeext'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7205 ac_cv_lib_gif_DGifOpen
=yes
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.
$ac_ext >&5
7210 ac_cv_lib_gif_DGifOpen
=no
7212 rm -f conftest.err conftest.
$ac_objext \
7213 conftest
$ac_exeext conftest.
$ac_ext
7214 LIBS
=$ac_check_lib_save_LIBS
7216 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7217 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7218 if test $ac_cv_lib_gif_DGifOpen = yes; then
7219 cat >>confdefs.h
<<\_ACEOF
7220 #define HAVE_LIBGIF 1
7242 if test "$have_x" = "yes"
7245 ac_save_CPPFLAGS
="$CPPFLAGS"
7246 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7249 for ac_header
in X11
/Xlib.h
7251 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7253 echo "$as_me:$LINENO: checking for $ac_header" >&5
7254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7261 # Is the header compilable?
7262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7264 cat >conftest.
$ac_ext <<_ACEOF
7267 cat confdefs.h
>>conftest.
$ac_ext
7268 cat >>conftest.
$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7270 $ac_includes_default
7271 #include <$ac_header>
7273 rm -f conftest.
$ac_objext
7274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>conftest.er1
7277 grep -v '^ *+' conftest.er1
>conftest.err
7279 cat conftest.err
>&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; } &&
7288 { ac_try
='test -s conftest.$ac_objext'
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); }; }; then
7294 ac_header_compiler
=yes
7296 echo "$as_me: failed program was:" >&5
7297 sed 's/^/| /' conftest.
$ac_ext >&5
7299 ac_header_compiler
=no
7301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7303 echo "${ECHO_T}$ac_header_compiler" >&6
7305 # Is the header present?
7306 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7307 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7308 cat >conftest.
$ac_ext <<_ACEOF
7311 cat confdefs.h
>>conftest.
$ac_ext
7312 cat >>conftest.
$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <$ac_header>
7316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7319 grep -v '^ *+' conftest.er1
>conftest.err
7321 cat conftest.err
>&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } >/dev
/null
; then
7324 if test -s conftest.err
; then
7325 ac_cpp_err
=$ac_c_preproc_warn_flag
7326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7333 if test -z "$ac_cpp_err"; then
7334 ac_header_preproc
=yes
7336 echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.
$ac_ext >&5
7339 ac_header_preproc
=no
7341 rm -f conftest.err conftest.
$ac_ext
7342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7343 echo "${ECHO_T}$ac_header_preproc" >&6
7345 # So? What about this header?
7346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7348 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7349 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7351 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7352 ac_header_preproc
=yes
7355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7360 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7362 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7365 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7366 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7369 ## ------------------------------------ ##
7370 ## Report this to wine-devel@winehq.org ##
7371 ## ------------------------------------ ##
7374 sed "s/^/$as_me: WARNING: /" >&2
7377 echo "$as_me:$LINENO: checking for $ac_header" >&5
7378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 eval "$as_ac_Header=\$ac_header_preproc"
7384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7389 cat >>confdefs.h
<<_ACEOF
7390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7403 for ac_header
in X11
/XKBlib.h \
7405 X11
/extensions
/shape.h \
7406 X11
/extensions
/XInput.h \
7407 X11
/extensions
/XShm.h \
7408 X11
/extensions
/Xrandr.h \
7409 X11
/extensions
/Xrender.h \
7410 X11
/extensions
/Xvlib.h \
7411 X11
/extensions
/xf86dga.h \
7412 X11
/extensions
/xf86vmode.h
7414 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7415 echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7418 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 cat >conftest.
$ac_ext <<_ACEOF
7423 cat confdefs.h
>>conftest.
$ac_ext
7424 cat >>conftest.
$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7426 #include <X11/Xlib.h>
7427 #ifdef HAVE_X11_XUTIL_H
7428 # include <X11/Xutil.h>
7431 #include <$ac_header>
7433 rm -f conftest.
$ac_objext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7435 (eval $ac_compile) 2>conftest.er1
7437 grep -v '^ *+' conftest.er1
>conftest.err
7439 cat conftest.err
>&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; } &&
7448 { ac_try
='test -s conftest.$ac_objext'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 eval "$as_ac_Header=yes"
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.
$ac_ext >&5
7459 eval "$as_ac_Header=no"
7461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7466 cat >>confdefs.h
<<_ACEOF
7467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7477 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7478 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7479 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 ac_check_lib_save_LIBS
=$LIBS
7483 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7484 cat >conftest.
$ac_ext <<_ACEOF
7487 cat confdefs.h
>>conftest.
$ac_ext
7488 cat >>conftest.
$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7491 /* Override any gcc2 internal prototype to avoid an error. */
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7497 char XkbQueryExtension ();
7501 XkbQueryExtension ();
7506 rm -f conftest.
$ac_objext conftest
$ac_exeext
7507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7508 (eval $ac_link) 2>conftest.er1
7510 grep -v '^ *+' conftest.er1
>conftest.err
7512 cat conftest.err
>&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } &&
7515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); }; } &&
7521 { ac_try
='test -s conftest$ac_exeext'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; }; then
7527 ac_cv_lib_X11_XkbQueryExtension
=yes
7529 echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.
$ac_ext >&5
7532 ac_cv_lib_X11_XkbQueryExtension
=no
7534 rm -f conftest.err conftest.
$ac_objext \
7535 conftest
$ac_exeext conftest.
$ac_ext
7536 LIBS
=$ac_check_lib_save_LIBS
7538 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7539 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7540 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7542 cat >>confdefs.h
<<\_ACEOF
7550 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7552 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7553 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7554 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 ac_check_lib_save_LIBS
=$LIBS
7558 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7559 cat >conftest.
$ac_ext <<_ACEOF
7562 cat confdefs.h
>>conftest.
$ac_ext
7563 cat >>conftest.
$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7566 /* Override any gcc2 internal prototype to avoid an error. */
7570 /* We use char because int might match the return type of a gcc2
7571 builtin and then its argument prototype would still apply. */
7572 char XShmQueryExtension ();
7576 XShmQueryExtension ();
7581 rm -f conftest.
$ac_objext conftest
$ac_exeext
7582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7583 (eval $ac_link) 2>conftest.er1
7585 grep -v '^ *+' conftest.er1
>conftest.err
7587 cat conftest.err
>&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); } &&
7590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; } &&
7596 { ac_try
='test -s conftest$ac_exeext'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; }; then
7602 ac_cv_lib_Xext_XShmQueryExtension
=yes
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.
$ac_ext >&5
7607 ac_cv_lib_Xext_XShmQueryExtension
=no
7609 rm -f conftest.err conftest.
$ac_objext \
7610 conftest
$ac_exeext conftest.
$ac_ext
7611 LIBS
=$ac_check_lib_save_LIBS
7613 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7614 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7615 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7617 cat >>confdefs.h
<<\_ACEOF
7618 #define HAVE_LIBXXSHM 1
7625 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7627 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7628 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7629 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 ac_check_lib_save_LIBS
=$LIBS
7633 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7634 cat >conftest.
$ac_ext <<_ACEOF
7637 cat confdefs.h
>>conftest.
$ac_ext
7638 cat >>conftest.
$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7641 /* Override any gcc2 internal prototype to avoid an error. */
7645 /* We use char because int might match the return type of a gcc2
7646 builtin and then its argument prototype would still apply. */
7647 char XShapeQueryExtension ();
7651 XShapeQueryExtension ();
7656 rm -f conftest.
$ac_objext conftest
$ac_exeext
7657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7658 (eval $ac_link) 2>conftest.er1
7660 grep -v '^ *+' conftest.er1
>conftest.err
7662 cat conftest.err
>&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } &&
7665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); }; } &&
7671 { ac_try
='test -s conftest$ac_exeext'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then
7677 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.
$ac_ext >&5
7682 ac_cv_lib_Xext_XShapeQueryExtension
=no
7684 rm -f conftest.err conftest.
$ac_objext \
7685 conftest
$ac_exeext conftest.
$ac_ext
7686 LIBS
=$ac_check_lib_save_LIBS
7688 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7689 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7690 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7692 cat >>confdefs.h
<<\_ACEOF
7693 #define HAVE_LIBXSHAPE 1
7700 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7702 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7703 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7704 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 ac_check_lib_save_LIBS
=$LIBS
7708 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7709 cat >conftest.
$ac_ext <<_ACEOF
7712 cat confdefs.h
>>conftest.
$ac_ext
7713 cat >>conftest.
$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7716 /* Override any gcc2 internal prototype to avoid an error. */
7720 /* We use char because int might match the return type of a gcc2
7721 builtin and then its argument prototype would still apply. */
7722 char XDGAQueryExtension ();
7726 XDGAQueryExtension ();
7731 rm -f conftest.
$ac_objext conftest
$ac_exeext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7733 (eval $ac_link) 2>conftest.er1
7735 grep -v '^ *+' conftest.er1
>conftest.err
7737 cat conftest.err
>&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; } &&
7746 { ac_try
='test -s conftest$ac_exeext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.
$ac_ext >&5
7757 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7759 rm -f conftest.err conftest.
$ac_objext \
7760 conftest
$ac_exeext conftest.
$ac_ext
7761 LIBS
=$ac_check_lib_save_LIBS
7763 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7764 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7765 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7767 cat >>confdefs.h
<<\_ACEOF
7768 #define HAVE_LIBXXF86DGA2 1
7771 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7774 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7775 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7776 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 ac_check_lib_save_LIBS
=$LIBS
7780 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7782 cat >conftest.
$ac_ext <<_ACEOF
7785 cat confdefs.h
>>conftest.
$ac_ext
7786 cat >>conftest.
$ac_ext <<_ACEOF
7787 /* end confdefs.h. */
7789 /* Override any gcc2 internal prototype to avoid an error. */
7793 /* We use char because int might match the return type of a gcc2
7794 builtin and then its argument prototype would still apply. */
7795 char XF86DGAQueryExtension ();
7799 XF86DGAQueryExtension ();
7804 rm -f conftest.
$ac_objext conftest
$ac_exeext
7805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7806 (eval $ac_link) 2>conftest.er1
7808 grep -v '^ *+' conftest.er1
>conftest.err
7810 cat conftest.err
>&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } &&
7813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; } &&
7819 { ac_try
='test -s conftest$ac_exeext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
7827 echo "$as_me: failed program was:" >&5
7828 sed 's/^/| /' conftest.
$ac_ext >&5
7830 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
7832 rm -f conftest.err conftest.
$ac_objext \
7833 conftest
$ac_exeext conftest.
$ac_ext
7834 LIBS
=$ac_check_lib_save_LIBS
7836 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7837 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7838 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7840 cat >>confdefs.h
<<\_ACEOF
7841 #define HAVE_LIBXXF86DGA 1
7844 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7853 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7855 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7856 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7857 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 ac_check_lib_save_LIBS
=$LIBS
7861 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7862 cat >conftest.
$ac_ext <<_ACEOF
7865 cat confdefs.h
>>conftest.
$ac_ext
7866 cat >>conftest.
$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7869 /* Override any gcc2 internal prototype to avoid an error. */
7873 /* We use char because int might match the return type of a gcc2
7874 builtin and then its argument prototype would still apply. */
7875 char XF86VidModeQueryExtension ();
7879 XF86VidModeQueryExtension ();
7884 rm -f conftest.
$ac_objext conftest
$ac_exeext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7886 (eval $ac_link) 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_exeext'
7900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }; }; then
7905 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7907 echo "$as_me: failed program was:" >&5
7908 sed 's/^/| /' conftest.
$ac_ext >&5
7910 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7912 rm -f conftest.err conftest.
$ac_objext \
7913 conftest
$ac_exeext conftest.
$ac_ext
7914 LIBS
=$ac_check_lib_save_LIBS
7916 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7917 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7918 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7920 cat >>confdefs.h
<<\_ACEOF
7921 #define HAVE_LIBXXF86VM 1
7924 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7930 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7932 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
7933 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
7934 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
7935 echo $ECHO_N "(cached) $ECHO_C" >&6
7937 ac_check_lib_save_LIBS
=$LIBS
7938 LIBS
="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7939 cat >conftest.
$ac_ext <<_ACEOF
7942 cat confdefs.h
>>conftest.
$ac_ext
7943 cat >>conftest.
$ac_ext <<_ACEOF
7944 /* end confdefs.h. */
7946 /* Override any gcc2 internal prototype to avoid an error. */
7950 /* We use char because int might match the return type of a gcc2
7951 builtin and then its argument prototype would still apply. */
7952 char XRRSetScreenConfigAndRate ();
7956 XRRSetScreenConfigAndRate ();
7961 rm -f conftest.
$ac_objext conftest
$ac_exeext
7962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7963 (eval $ac_link) 2>conftest.er1
7965 grep -v '^ *+' conftest.er1
>conftest.err
7967 cat conftest.err
>&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); } &&
7970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975 (exit $ac_status); }; } &&
7976 { ac_try
='test -s conftest$ac_exeext'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; }; then
7982 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=yes
7984 echo "$as_me: failed program was:" >&5
7985 sed 's/^/| /' conftest.
$ac_ext >&5
7987 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=no
7989 rm -f conftest.err conftest.
$ac_objext \
7990 conftest
$ac_exeext conftest.
$ac_ext
7991 LIBS
=$ac_check_lib_save_LIBS
7993 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
7994 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
7995 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
7997 cat >>confdefs.h
<<\_ACEOF
7998 #define HAVE_LIBXRANDR 1
8001 X_PRE_LIBS
="$X_PRE_LIBS -lXrandr -lXrender"
8007 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8009 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8010 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8011 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8012 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 ac_check_lib_save_LIBS
=$LIBS
8015 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8016 cat >conftest.
$ac_ext <<_ACEOF
8019 cat confdefs.h
>>conftest.
$ac_ext
8020 cat >>conftest.
$ac_ext <<_ACEOF
8021 /* end confdefs.h. */
8023 /* Override any gcc2 internal prototype to avoid an error. */
8027 /* We use char because int might match the return type of a gcc2
8028 builtin and then its argument prototype would still apply. */
8029 char XvShmCreateImage ();
8033 XvShmCreateImage ();
8038 rm -f conftest.
$ac_objext conftest
$ac_exeext
8039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8040 (eval $ac_link) 2>conftest.er1
8042 grep -v '^ *+' conftest.er1
>conftest.err
8044 cat conftest.err
>&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); } &&
8047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; } &&
8053 { ac_try
='test -s conftest$ac_exeext'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; }; then
8059 ac_cv_lib_Xv_XvShmCreateImage
=yes
8061 echo "$as_me: failed program was:" >&5
8062 sed 's/^/| /' conftest.
$ac_ext >&5
8064 ac_cv_lib_Xv_XvShmCreateImage
=no
8066 rm -f conftest.err conftest.
$ac_objext \
8067 conftest
$ac_exeext conftest.
$ac_ext
8068 LIBS
=$ac_check_lib_save_LIBS
8070 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8071 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8072 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8074 cat >>confdefs.h
<<\_ACEOF
8075 #define HAVE_XVIDEO 1
8078 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8089 if test "x$with_opengl" != "xno"
8091 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8093 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8094 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8095 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8096 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8097 { (exit 1); exit 1; }; }
8102 for ac_header
in GL
/gl.h GL
/glx.h
8104 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8106 echo "$as_me:$LINENO: checking for $ac_header" >&5
8107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8114 # Is the header compilable?
8115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8117 cat >conftest.
$ac_ext <<_ACEOF
8120 cat confdefs.h
>>conftest.
$ac_ext
8121 cat >>conftest.
$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8123 $ac_includes_default
8124 #include <$ac_header>
8126 rm -f conftest.
$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128 (eval $ac_compile) 2>conftest.er1
8130 grep -v '^ *+' conftest.er1
>conftest.err
8132 cat conftest.err
>&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } &&
8135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; } &&
8141 { ac_try
='test -s conftest.$ac_objext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 ac_header_compiler
=yes
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.
$ac_ext >&5
8152 ac_header_compiler
=no
8154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8156 echo "${ECHO_T}$ac_header_compiler" >&6
8158 # Is the header present?
8159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8161 cat >conftest.
$ac_ext <<_ACEOF
8164 cat confdefs.h
>>conftest.
$ac_ext
8165 cat >>conftest.
$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8167 #include <$ac_header>
8169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8172 grep -v '^ *+' conftest.er1
>conftest.err
8174 cat conftest.err
>&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } >/dev
/null
; then
8177 if test -s conftest.err
; then
8178 ac_cpp_err
=$ac_c_preproc_warn_flag
8179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8186 if test -z "$ac_cpp_err"; then
8187 ac_header_preproc
=yes
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.
$ac_ext >&5
8192 ac_header_preproc
=no
8194 rm -f conftest.err conftest.
$ac_ext
8195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8196 echo "${ECHO_T}$ac_header_preproc" >&6
8198 # So? What about this header?
8199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8205 ac_header_preproc
=yes
8208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8222 ## ------------------------------------ ##
8223 ## Report this to wine-devel@winehq.org ##
8224 ## ------------------------------------ ##
8227 sed "s/^/$as_me: WARNING: /" >&2
8230 echo "$as_me:$LINENO: checking for $ac_header" >&5
8231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 eval "$as_ac_Header=\$ac_header_preproc"
8237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8242 cat >>confdefs.h
<<_ACEOF
8243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8250 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8253 for ac_header
in GL
/glext.h
8255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8256 echo "$as_me:$LINENO: checking for $ac_header" >&5
8257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 cat >conftest.
$ac_ext <<_ACEOF
8264 cat confdefs.h
>>conftest.
$ac_ext
8265 cat >>conftest.
$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8269 #include <$ac_header>
8271 rm -f conftest.
$ac_objext
8272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8273 (eval $ac_compile) 2>conftest.er1
8275 grep -v '^ *+' conftest.er1
>conftest.err
8277 cat conftest.err
>&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); } &&
8280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); }; } &&
8286 { ac_try
='test -s conftest.$ac_objext'
8287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); }; }; then
8292 eval "$as_ac_Header=yes"
8294 echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.
$ac_ext >&5
8297 eval "$as_ac_Header=no"
8299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8304 cat >>confdefs.h
<<_ACEOF
8305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8312 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8313 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8314 if test "${wine_cv_opengl_version_OK+set}" = set; then
8315 echo $ECHO_N "(cached) $ECHO_C" >&6
8317 cat >conftest.
$ac_ext <<_ACEOF
8320 cat confdefs.h
>>conftest.
$ac_ext
8321 cat >>conftest.
$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8327 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8332 rm -f conftest.
$ac_objext
8333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8334 (eval $ac_compile) 2>conftest.er1
8336 grep -v '^ *+' conftest.er1
>conftest.err
8338 cat conftest.err
>&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); } &&
8341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; } &&
8347 { ac_try
='test -s conftest.$ac_objext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 wine_cv_opengl_version_OK
="yes"
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.
$ac_ext >&5
8358 wine_cv_opengl_version_OK
="no"
8361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8364 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8365 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8367 if test "$wine_cv_opengl_version_OK" = "yes"
8369 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8370 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8371 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 ac_check_lib_save_LIBS
=$LIBS
8375 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8376 cat >conftest.
$ac_ext <<_ACEOF
8379 cat confdefs.h
>>conftest.
$ac_ext
8380 cat >>conftest.
$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8383 /* Override any gcc2 internal prototype to avoid an error. */
8387 /* We use char because int might match the return type of a gcc2
8388 builtin and then its argument prototype would still apply. */
8389 char glXCreateContext ();
8393 glXCreateContext ();
8398 rm -f conftest.
$ac_objext conftest
$ac_exeext
8399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8400 (eval $ac_link) 2>conftest.er1
8402 grep -v '^ *+' conftest.er1
>conftest.err
8404 cat conftest.err
>&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; } &&
8413 { ac_try
='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 ac_cv_lib_GL_glXCreateContext
=yes
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.
$ac_ext >&5
8424 ac_cv_lib_GL_glXCreateContext
=no
8426 rm -f conftest.err conftest.
$ac_objext \
8427 conftest
$ac_exeext conftest.
$ac_ext
8428 LIBS
=$ac_check_lib_save_LIBS
8430 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8431 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8432 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8438 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8440 OPENGLFILES
='$(OPENGLFILES)'
8442 cat >>confdefs.h
<<\_ACEOF
8443 #define HAVE_OPENGL 1
8447 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8448 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8449 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 ac_check_lib_save_LIBS
=$LIBS
8453 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8454 cat >conftest.
$ac_ext <<_ACEOF
8457 cat confdefs.h
>>conftest.
$ac_ext
8458 cat >>conftest.
$ac_ext <<_ACEOF
8459 /* end confdefs.h. */
8461 /* Override any gcc2 internal prototype to avoid an error. */
8465 /* We use char because int might match the return type of a gcc2
8466 builtin and then its argument prototype would still apply. */
8467 char glXGetProcAddressARB ();
8471 glXGetProcAddressARB ();
8476 rm -f conftest.
$ac_objext conftest
$ac_exeext
8477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8478 (eval $ac_link) 2>conftest.er1
8480 grep -v '^ *+' conftest.er1
>conftest.err
8482 cat conftest.err
>&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); }; } &&
8491 { ac_try
='test -s conftest$ac_exeext'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; }; then
8497 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.
$ac_ext >&5
8502 ac_cv_lib_GL_glXGetProcAddressARB
=no
8504 rm -f conftest.err conftest.
$ac_objext \
8505 conftest
$ac_exeext conftest.
$ac_ext
8506 LIBS
=$ac_check_lib_save_LIBS
8508 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8509 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8510 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8512 cat >>confdefs.h
<<\_ACEOF
8513 #define HAVE_GLX_GETPROCADDRESS 1
8519 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8521 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8522 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8523 if test "${wine_cv_extension_prototypes+set}" = set; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 cat >conftest.
$ac_ext <<_ACEOF
8529 cat confdefs.h
>>conftest.
$ac_ext
8530 cat >>conftest.
$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8533 #ifdef HAVE_GL_GLEXT_H
8534 # include <GL/glext.h>
8540 PFNGLCOLORTABLEEXTPROC test_proc;
8545 rm -f conftest.
$ac_objext
8546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8547 (eval $ac_compile) 2>conftest.er1
8549 grep -v '^ *+' conftest.er1
>conftest.err
8551 cat conftest.err
>&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } &&
8554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try
='test -s conftest.$ac_objext'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; }; then
8566 wine_cv_extension_prototypes
="yes"
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.
$ac_ext >&5
8571 wine_cv_extension_prototypes
="no"
8574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8577 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8578 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8579 if test "$wine_cv_extension_prototypes" = "yes"
8582 cat >>confdefs.h
<<\_ACEOF
8583 #define HAVE_GLEXT_PROTOTYPES 1
8590 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8591 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8592 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8595 ac_check_lib_save_LIBS
=$LIBS
8596 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8598 cat >conftest.
$ac_ext <<_ACEOF
8601 cat confdefs.h
>>conftest.
$ac_ext
8602 cat >>conftest.
$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8605 /* Override any gcc2 internal prototype to avoid an error. */
8609 /* We use char because int might match the return type of a gcc2
8610 builtin and then its argument prototype would still apply. */
8620 rm -f conftest.
$ac_objext conftest
$ac_exeext
8621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8622 (eval $ac_link) 2>conftest.er1
8624 grep -v '^ *+' conftest.er1
>conftest.err
8626 cat conftest.err
>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } &&
8629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; } &&
8635 { ac_try
='test -s conftest$ac_exeext'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 ac_cv_lib_GLU_gluLookAt
=yes
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.
$ac_ext >&5
8646 ac_cv_lib_GLU_gluLookAt
=no
8648 rm -f conftest.err conftest.
$ac_objext \
8649 conftest
$ac_exeext conftest.
$ac_ext
8650 LIBS
=$ac_check_lib_save_LIBS
8652 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8653 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8654 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8655 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8656 GLU32FILES
='$(GLU32FILES)'
8662 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8663 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8664 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8667 ac_check_lib_save_LIBS
=$LIBS
8668 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8669 cat >conftest.
$ac_ext <<_ACEOF
8672 cat confdefs.h
>>conftest.
$ac_ext
8673 cat >>conftest.
$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8676 /* Override any gcc2 internal prototype to avoid an error. */
8680 /* We use char because int might match the return type of a gcc2
8681 builtin and then its argument prototype would still apply. */
8682 char glutMainLoop ();
8691 rm -f conftest.
$ac_objext conftest
$ac_exeext
8692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8693 (eval $ac_link) 2>conftest.er1
8695 grep -v '^ *+' conftest.er1
>conftest.err
8697 cat conftest.err
>&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } &&
8700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; } &&
8706 { ac_try
='test -s conftest$ac_exeext'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; }; then
8712 ac_cv_lib_glut_glutMainLoop
=yes
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.
$ac_ext >&5
8717 ac_cv_lib_glut_glutMainLoop
=no
8719 rm -f conftest.err conftest.
$ac_objext \
8720 conftest
$ac_exeext conftest.
$ac_ext
8721 LIBS
=$ac_check_lib_save_LIBS
8723 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8724 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8725 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8726 GLUT_LIBS
="-lglut -lXmu -lXi"
8728 GLUT32FILES
='$(GLUT32FILES)'
8738 for ac_header
in audio
/audiolib.h
8740 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8742 echo "$as_me:$LINENO: checking for $ac_header" >&5
8743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8750 # Is the header compilable?
8751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8753 cat >conftest.
$ac_ext <<_ACEOF
8756 cat confdefs.h
>>conftest.
$ac_ext
8757 cat >>conftest.
$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 $ac_includes_default
8760 #include <$ac_header>
8762 rm -f conftest.
$ac_objext
8763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8764 (eval $ac_compile) 2>conftest.er1
8766 grep -v '^ *+' conftest.er1
>conftest.err
8768 cat conftest.err
>&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); } &&
8771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); }; } &&
8777 { ac_try
='test -s conftest.$ac_objext'
8778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); }; }; then
8783 ac_header_compiler
=yes
8785 echo "$as_me: failed program was:" >&5
8786 sed 's/^/| /' conftest.
$ac_ext >&5
8788 ac_header_compiler
=no
8790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8792 echo "${ECHO_T}$ac_header_compiler" >&6
8794 # Is the header present?
8795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8797 cat >conftest.
$ac_ext <<_ACEOF
8800 cat confdefs.h
>>conftest.
$ac_ext
8801 cat >>conftest.
$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 #include <$ac_header>
8805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1
>conftest.err
8810 cat conftest.err
>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } >/dev
/null
; then
8813 if test -s conftest.err
; then
8814 ac_cpp_err
=$ac_c_preproc_warn_flag
8815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8822 if test -z "$ac_cpp_err"; then
8823 ac_header_preproc
=yes
8825 echo "$as_me: failed program was:" >&5
8826 sed 's/^/| /' conftest.
$ac_ext >&5
8828 ac_header_preproc
=no
8830 rm -f conftest.err conftest.
$ac_ext
8831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8832 echo "${ECHO_T}$ac_header_preproc" >&6
8834 # So? What about this header?
8835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8841 ac_header_preproc
=yes
8844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8858 ## ------------------------------------ ##
8859 ## Report this to wine-devel@winehq.org ##
8860 ## ------------------------------------ ##
8863 sed "s/^/$as_me: WARNING: /" >&2
8866 echo "$as_me:$LINENO: checking for $ac_header" >&5
8867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 eval "$as_ac_Header=\$ac_header_preproc"
8873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8878 cat >>confdefs.h
<<_ACEOF
8879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8882 for ac_header
in audio
/soundlib.h
8884 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8885 echo "$as_me:$LINENO: checking for $ac_header" >&5
8886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8888 echo $ECHO_N "(cached) $ECHO_C" >&6
8890 cat >conftest.
$ac_ext <<_ACEOF
8893 cat confdefs.h
>>conftest.
$ac_ext
8894 cat >>conftest.
$ac_ext <<_ACEOF
8895 /* end confdefs.h. */
8896 #include <audio/audiolib.h>
8898 #include <$ac_header>
8900 rm -f conftest.
$ac_objext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8902 (eval $ac_compile) 2>conftest.er1
8904 grep -v '^ *+' conftest.er1
>conftest.err
8906 cat conftest.err
>&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try
='test -s conftest.$ac_objext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8921 eval "$as_ac_Header=yes"
8923 echo "$as_me: failed program was:" >&5
8924 sed 's/^/| /' conftest.
$ac_ext >&5
8926 eval "$as_ac_Header=no"
8928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8933 cat >>confdefs.h
<<_ACEOF
8934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8941 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8942 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8943 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 ac_check_lib_save_LIBS
=$LIBS
8947 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8948 cat >conftest.
$ac_ext <<_ACEOF
8951 cat confdefs.h
>>conftest.
$ac_ext
8952 cat >>conftest.
$ac_ext <<_ACEOF
8953 /* end confdefs.h. */
8955 /* Override any gcc2 internal prototype to avoid an error. */
8959 /* We use char because int might match the return type of a gcc2
8960 builtin and then its argument prototype would still apply. */
8961 char AuCreateFlow ();
8970 rm -f conftest.
$ac_objext conftest
$ac_exeext
8971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8972 (eval $ac_link) 2>conftest.er1
8974 grep -v '^ *+' conftest.er1
>conftest.err
8976 cat conftest.err
>&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } &&
8979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; } &&
8985 { ac_try
='test -s conftest$ac_exeext'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; }; then
8991 ac_cv_lib_audio_AuCreateFlow
=yes
8993 echo "$as_me: failed program was:" >&5
8994 sed 's/^/| /' conftest.
$ac_ext >&5
8996 ac_cv_lib_audio_AuCreateFlow
=no
8998 rm -f conftest.err conftest.
$ac_objext \
8999 conftest
$ac_exeext conftest.
$ac_ext
9000 LIBS
=$ac_check_lib_save_LIBS
9002 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9003 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9004 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9006 cat >>confdefs.h
<<\_ACEOF
9010 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9018 CPPFLAGS
="$ac_save_CPPFLAGS"
9027 if test "x$with_curses" != "xno"
9030 for ac_header
in ncurses.h
9032 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9034 echo "$as_me:$LINENO: checking for $ac_header" >&5
9035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9042 # Is the header compilable?
9043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9045 cat >conftest.
$ac_ext <<_ACEOF
9048 cat confdefs.h
>>conftest.
$ac_ext
9049 cat >>conftest.
$ac_ext <<_ACEOF
9050 /* end confdefs.h. */
9051 $ac_includes_default
9052 #include <$ac_header>
9054 rm -f conftest.
$ac_objext
9055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9056 (eval $ac_compile) 2>conftest.er1
9058 grep -v '^ *+' conftest.er1
>conftest.err
9060 cat conftest.err
>&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); } &&
9063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try
='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 ac_header_compiler
=yes
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.
$ac_ext >&5
9080 ac_header_compiler
=no
9082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9084 echo "${ECHO_T}$ac_header_compiler" >&6
9086 # Is the header present?
9087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9089 cat >conftest.
$ac_ext <<_ACEOF
9092 cat confdefs.h
>>conftest.
$ac_ext
9093 cat >>conftest.
$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 #include <$ac_header>
9097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9098 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9100 grep -v '^ *+' conftest.er1
>conftest.err
9102 cat conftest.err
>&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); } >/dev
/null
; then
9105 if test -s conftest.err
; then
9106 ac_cpp_err
=$ac_c_preproc_warn_flag
9107 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9114 if test -z "$ac_cpp_err"; then
9115 ac_header_preproc
=yes
9117 echo "$as_me: failed program was:" >&5
9118 sed 's/^/| /' conftest.
$ac_ext >&5
9120 ac_header_preproc
=no
9122 rm -f conftest.err conftest.
$ac_ext
9123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9124 echo "${ECHO_T}$ac_header_preproc" >&6
9126 # So? What about this header?
9127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9133 ac_header_preproc
=yes
9136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9150 ## ------------------------------------ ##
9151 ## Report this to wine-devel@winehq.org ##
9152 ## ------------------------------------ ##
9155 sed "s/^/$as_me: WARNING: /" >&2
9158 echo "$as_me:$LINENO: checking for $ac_header" >&5
9159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9161 echo $ECHO_N "(cached) $ECHO_C" >&6
9163 eval "$as_ac_Header=\$ac_header_preproc"
9165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9170 cat >>confdefs.h
<<_ACEOF
9171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9173 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9174 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9175 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 ac_check_lib_save_LIBS
=$LIBS
9179 LIBS
="-lncurses $LIBS"
9180 cat >conftest.
$ac_ext <<_ACEOF
9183 cat confdefs.h
>>conftest.
$ac_ext
9184 cat >>conftest.
$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9187 /* Override any gcc2 internal prototype to avoid an error. */
9191 /* We use char because int might match the return type of a gcc2
9192 builtin and then its argument prototype would still apply. */
9202 rm -f conftest.
$ac_objext conftest
$ac_exeext
9203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9204 (eval $ac_link) 2>conftest.er1
9206 grep -v '^ *+' conftest.er1
>conftest.err
9208 cat conftest.err
>&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } &&
9211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; } &&
9217 { ac_try
='test -s conftest$ac_exeext'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; }; then
9223 ac_cv_lib_ncurses_waddch
=yes
9225 echo "$as_me: failed program was:" >&5
9226 sed 's/^/| /' conftest.
$ac_ext >&5
9228 ac_cv_lib_ncurses_waddch
=no
9230 rm -f conftest.err conftest.
$ac_objext \
9231 conftest
$ac_exeext conftest.
$ac_ext
9232 LIBS
=$ac_check_lib_save_LIBS
9234 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9235 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9236 if test $ac_cv_lib_ncurses_waddch = yes; then
9238 cat >>confdefs.h
<<\_ACEOF
9239 #define HAVE_LIBNCURSES 1
9242 CURSESLIBS
="-lncurses"
9245 for ac_header
in curses.h
9247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9249 echo "$as_me:$LINENO: checking for $ac_header" >&5
9250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9257 # Is the header compilable?
9258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9260 cat >conftest.
$ac_ext <<_ACEOF
9263 cat confdefs.h
>>conftest.
$ac_ext
9264 cat >>conftest.
$ac_ext <<_ACEOF
9265 /* end confdefs.h. */
9266 $ac_includes_default
9267 #include <$ac_header>
9269 rm -f conftest.
$ac_objext
9270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9271 (eval $ac_compile) 2>conftest.er1
9273 grep -v '^ *+' conftest.er1
>conftest.err
9275 cat conftest.err
>&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); } &&
9278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); }; } &&
9284 { ac_try
='test -s conftest.$ac_objext'
9285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; }; then
9290 ac_header_compiler
=yes
9292 echo "$as_me: failed program was:" >&5
9293 sed 's/^/| /' conftest.
$ac_ext >&5
9295 ac_header_compiler
=no
9297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9299 echo "${ECHO_T}$ac_header_compiler" >&6
9301 # Is the header present?
9302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9304 cat >conftest.
$ac_ext <<_ACEOF
9307 cat confdefs.h
>>conftest.
$ac_ext
9308 cat >>conftest.
$ac_ext <<_ACEOF
9309 /* end confdefs.h. */
9310 #include <$ac_header>
9312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9315 grep -v '^ *+' conftest.er1
>conftest.err
9317 cat conftest.err
>&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } >/dev
/null
; then
9320 if test -s conftest.err
; then
9321 ac_cpp_err
=$ac_c_preproc_warn_flag
9322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9329 if test -z "$ac_cpp_err"; then
9330 ac_header_preproc
=yes
9332 echo "$as_me: failed program was:" >&5
9333 sed 's/^/| /' conftest.
$ac_ext >&5
9335 ac_header_preproc
=no
9337 rm -f conftest.err conftest.
$ac_ext
9338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9339 echo "${ECHO_T}$ac_header_preproc" >&6
9341 # So? What about this header?
9342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9348 ac_header_preproc
=yes
9351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9365 ## ------------------------------------ ##
9366 ## Report this to wine-devel@winehq.org ##
9367 ## ------------------------------------ ##
9370 sed "s/^/$as_me: WARNING: /" >&2
9373 echo "$as_me:$LINENO: checking for $ac_header" >&5
9374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 eval "$as_ac_Header=\$ac_header_preproc"
9380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9385 cat >>confdefs.h
<<_ACEOF
9386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9388 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9389 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9390 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9391 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 ac_check_lib_save_LIBS
=$LIBS
9394 LIBS
="-lcurses $LIBS"
9395 cat >conftest.
$ac_ext <<_ACEOF
9398 cat confdefs.h
>>conftest.
$ac_ext
9399 cat >>conftest.
$ac_ext <<_ACEOF
9400 /* end confdefs.h. */
9402 /* Override any gcc2 internal prototype to avoid an error. */
9406 /* We use char because int might match the return type of a gcc2
9407 builtin and then its argument prototype would still apply. */
9417 rm -f conftest.
$ac_objext conftest
$ac_exeext
9418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9419 (eval $ac_link) 2>conftest.er1
9421 grep -v '^ *+' conftest.er1
>conftest.err
9423 cat conftest.err
>&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); } &&
9426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); }; } &&
9432 { ac_try
='test -s conftest$ac_exeext'
9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); }; }; then
9438 ac_cv_lib_curses_waddch
=yes
9440 echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.
$ac_ext >&5
9443 ac_cv_lib_curses_waddch
=no
9445 rm -f conftest.err conftest.
$ac_objext \
9446 conftest
$ac_exeext conftest.
$ac_ext
9447 LIBS
=$ac_check_lib_save_LIBS
9449 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9450 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9451 if test $ac_cv_lib_curses_waddch = yes; then
9453 cat >>confdefs.h
<<\_ACEOF
9454 #define HAVE_LIBCURSES 1
9457 CURSESLIBS
="-lcurses"
9471 LIBS
="$CURSESLIBS $LIBS"
9474 for ac_func
in getbkgd resizeterm
9476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9477 echo "$as_me:$LINENO: checking for $ac_func" >&5
9478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9479 if eval "test \"\${$as_ac_var+set}\" = set"; then
9480 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 cat >conftest.
$ac_ext <<_ACEOF
9485 cat confdefs.h
>>conftest.
$ac_ext
9486 cat >>conftest.
$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9490 #define $ac_func innocuous_$ac_func
9492 /* System header to define __stub macros and hopefully few prototypes,
9493 which can conflict with char $ac_func (); below.
9494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9495 <limits.h> exists even on freestanding compilers. */
9498 # include <limits.h>
9500 # include <assert.h>
9505 /* Override any gcc2 internal prototype to avoid an error. */
9510 /* We use char because int might match the return type of a gcc2
9511 builtin and then its argument prototype would still apply. */
9513 /* The GNU C library defines this for functions which it implements
9514 to always fail with ENOSYS. Some functions are actually named
9515 something starting with __ and the normal name is an alias. */
9516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9519 char (*f) () = $ac_func;
9528 return f != $ac_func;
9533 rm -f conftest.
$ac_objext conftest
$ac_exeext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9535 (eval $ac_link) 2>conftest.er1
9537 grep -v '^ *+' conftest.er1
>conftest.err
9539 cat conftest.err
>&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } &&
9542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; } &&
9548 { ac_try
='test -s conftest$ac_exeext'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; }; then
9554 eval "$as_ac_var=yes"
9556 echo "$as_me: failed program was:" >&5
9557 sed 's/^/| /' conftest.
$ac_ext >&5
9559 eval "$as_ac_var=no"
9561 rm -f conftest.err conftest.
$ac_objext \
9562 conftest
$ac_exeext conftest.
$ac_ext
9564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9566 if test `eval echo '${'$as_ac_var'}'` = yes; then
9567 cat >>confdefs.h
<<_ACEOF
9568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9578 # Extract the first word of "sane-config", so it can be a program name with args.
9579 set dummy sane-config
; ac_word
=$2
9580 echo "$as_me:$LINENO: checking for $ac_word" >&5
9581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9582 if test "${ac_cv_prog_sane_devel+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 if test -n "$sane_devel"; then
9586 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir
=.
9593 for ac_exec_ext
in '' $ac_executable_extensions; do
9594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9595 ac_cv_prog_sane_devel
="sane-config"
9596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9605 sane_devel
=$ac_cv_prog_sane_devel
9606 if test -n "$sane_devel"; then
9607 echo "$as_me:$LINENO: result: $sane_devel" >&5
9608 echo "${ECHO_T}$sane_devel" >&6
9610 echo "$as_me:$LINENO: result: no" >&5
9611 echo "${ECHO_T}no" >&6
9614 if test "$sane_devel" = "no"
9619 SANELIBS
="`$sane_devel --libs`"
9620 SANEINCL
="`$sane_devel --cflags`"
9621 ac_save_CPPFLAGS
="$CPPFLAGS"
9622 ac_save_LIBS
="$LIBS"
9623 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9624 LIBS
="$LIBS $SANELIBS"
9625 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9626 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9627 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9628 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9629 echo $ECHO_N "(cached) $ECHO_C" >&6
9631 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9632 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9634 # Is the header compilable?
9635 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9636 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9637 cat >conftest.
$ac_ext <<_ACEOF
9640 cat confdefs.h
>>conftest.
$ac_ext
9641 cat >>conftest.
$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9643 $ac_includes_default
9644 #include <sane/sane.h>
9646 rm -f conftest.
$ac_objext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9648 (eval $ac_compile) 2>conftest.er1
9650 grep -v '^ *+' conftest.er1
>conftest.err
9652 cat conftest.err
>&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } &&
9655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); }; } &&
9661 { ac_try
='test -s conftest.$ac_objext'
9662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; }; then
9667 ac_header_compiler
=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.
$ac_ext >&5
9672 ac_header_compiler
=no
9674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9676 echo "${ECHO_T}$ac_header_compiler" >&6
9678 # Is the header present?
9679 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9680 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9681 cat >conftest.
$ac_ext <<_ACEOF
9684 cat confdefs.h
>>conftest.
$ac_ext
9685 cat >>conftest.
$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9687 #include <sane/sane.h>
9689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9692 grep -v '^ *+' conftest.er1
>conftest.err
9694 cat conftest.err
>&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } >/dev
/null
; then
9697 if test -s conftest.err
; then
9698 ac_cpp_err
=$ac_c_preproc_warn_flag
9699 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9706 if test -z "$ac_cpp_err"; then
9707 ac_header_preproc
=yes
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.
$ac_ext >&5
9712 ac_header_preproc
=no
9714 rm -f conftest.err conftest.
$ac_ext
9715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9716 echo "${ECHO_T}$ac_header_preproc" >&6
9718 # So? What about this header?
9719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9721 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9722 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9723 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9724 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9725 ac_header_preproc
=yes
9728 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9729 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9730 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9731 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9732 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9733 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9734 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9735 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9736 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9737 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9738 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9739 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9742 ## ------------------------------------ ##
9743 ## Report this to wine-devel@winehq.org ##
9744 ## ------------------------------------ ##
9747 sed "s/^/$as_me: WARNING: /" >&2
9750 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9751 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9752 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9753 echo $ECHO_N "(cached) $ECHO_C" >&6
9755 ac_cv_header_sane_sane_h
=$ac_header_preproc
9757 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9758 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9761 if test $ac_cv_header_sane_sane_h = yes; then
9762 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9763 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9764 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 ac_check_lib_save_LIBS
=$LIBS
9769 cat >conftest.
$ac_ext <<_ACEOF
9772 cat confdefs.h
>>conftest.
$ac_ext
9773 cat >>conftest.
$ac_ext <<_ACEOF
9774 /* end confdefs.h. */
9776 /* Override any gcc2 internal prototype to avoid an error. */
9780 /* We use char because int might match the return type of a gcc2
9781 builtin and then its argument prototype would still apply. */
9791 rm -f conftest.
$ac_objext conftest
$ac_exeext
9792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9793 (eval $ac_link) 2>conftest.er1
9795 grep -v '^ *+' conftest.er1
>conftest.err
9797 cat conftest.err
>&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); } &&
9800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; } &&
9806 { ac_try
='test -s conftest$ac_exeext'
9807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; }; then
9812 ac_cv_lib_sane_sane_open
=yes
9814 echo "$as_me: failed program was:" >&5
9815 sed 's/^/| /' conftest.
$ac_ext >&5
9817 ac_cv_lib_sane_sane_open
=no
9819 rm -f conftest.err conftest.
$ac_objext \
9820 conftest
$ac_exeext conftest.
$ac_ext
9821 LIBS
=$ac_check_lib_save_LIBS
9823 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9824 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9825 if test $ac_cv_lib_sane_sane_open = yes; then
9827 cat >>confdefs.h
<<\_ACEOF
9842 LIBS
="$ac_save_LIBS"
9843 CPPFLAGS
="$ac_save_CPPFLAGS"
9849 for ac_header
in unicode
/ubidi.h
9851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9853 echo "$as_me:$LINENO: checking for $ac_header" >&5
9854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9861 # Is the header compilable?
9862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9864 cat >conftest.
$ac_ext <<_ACEOF
9867 cat confdefs.h
>>conftest.
$ac_ext
9868 cat >>conftest.
$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9870 $ac_includes_default
9871 #include <$ac_header>
9873 rm -f conftest.
$ac_objext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9875 (eval $ac_compile) 2>conftest.er1
9877 grep -v '^ *+' conftest.er1
>conftest.err
9879 cat conftest.err
>&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } &&
9882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); }; } &&
9888 { ac_try
='test -s conftest.$ac_objext'
9889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); }; }; then
9894 ac_header_compiler
=yes
9896 echo "$as_me: failed program was:" >&5
9897 sed 's/^/| /' conftest.
$ac_ext >&5
9899 ac_header_compiler
=no
9901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9903 echo "${ECHO_T}$ac_header_compiler" >&6
9905 # Is the header present?
9906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9908 cat >conftest.
$ac_ext <<_ACEOF
9911 cat confdefs.h
>>conftest.
$ac_ext
9912 cat >>conftest.
$ac_ext <<_ACEOF
9913 /* end confdefs.h. */
9914 #include <$ac_header>
9916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9919 grep -v '^ *+' conftest.er1
>conftest.err
9921 cat conftest.err
>&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } >/dev
/null
; then
9924 if test -s conftest.err
; then
9925 ac_cpp_err
=$ac_c_preproc_warn_flag
9926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9933 if test -z "$ac_cpp_err"; then
9934 ac_header_preproc
=yes
9936 echo "$as_me: failed program was:" >&5
9937 sed 's/^/| /' conftest.
$ac_ext >&5
9939 ac_header_preproc
=no
9941 rm -f conftest.err conftest.
$ac_ext
9942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9943 echo "${ECHO_T}$ac_header_preproc" >&6
9945 # So? What about this header?
9946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9952 ac_header_preproc
=yes
9955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9969 ## ------------------------------------ ##
9970 ## Report this to wine-devel@winehq.org ##
9971 ## ------------------------------------ ##
9974 sed "s/^/$as_me: WARNING: /" >&2
9977 echo "$as_me:$LINENO: checking for $ac_header" >&5
9978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 eval "$as_ac_Header=\$ac_header_preproc"
9984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9989 cat >>confdefs.h
<<_ACEOF
9990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9997 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10000 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10001 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10002 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10003 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10004 cat >conftest.
$ac_ext <<_ACEOF
10007 cat confdefs.h
>>conftest.
$ac_ext
10008 cat >>conftest.
$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10010 #include <unicode/ubidi.h>
10019 rm -f conftest.
$ac_objext conftest
$ac_exeext
10020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10021 (eval $ac_link) 2>conftest.er1
10023 grep -v '^ *+' conftest.er1
>conftest.err
10025 cat conftest.err
>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); } &&
10028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10030 (eval $ac_try) 2>&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); }; } &&
10034 { ac_try
='test -s conftest$ac_exeext'
10035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 (eval $ac_try) 2>&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); }; }; then
10041 cat >>confdefs.h
<<\_ACEOF
10045 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.
$ac_ext >&5
10052 rm -f conftest.err conftest.
$ac_objext \
10053 conftest
$ac_exeext conftest.
$ac_ext
10057 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10058 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10059 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 ac_check_lib_save_LIBS
=$LIBS
10063 LIBS
="-lfreetype $X_LIBS $LIBS"
10064 cat >conftest.
$ac_ext <<_ACEOF
10067 cat confdefs.h
>>conftest.
$ac_ext
10068 cat >>conftest.
$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10071 /* Override any gcc2 internal prototype to avoid an error. */
10075 /* We use char because int might match the return type of a gcc2
10076 builtin and then its argument prototype would still apply. */
10077 char FT_Init_FreeType ();
10081 FT_Init_FreeType ();
10086 rm -f conftest.
$ac_objext conftest
$ac_exeext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>conftest.er1
10090 grep -v '^ *+' conftest.er1
>conftest.err
10092 cat conftest.err
>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; } &&
10101 { ac_try
='test -s conftest$ac_exeext'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; }; then
10107 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10109 echo "$as_me: failed program was:" >&5
10110 sed 's/^/| /' conftest.
$ac_ext >&5
10112 ac_cv_lib_freetype_FT_Init_FreeType
=no
10114 rm -f conftest.err conftest.
$ac_objext \
10115 conftest
$ac_exeext conftest.
$ac_ext
10116 LIBS
=$ac_check_lib_save_LIBS
10118 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10119 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10120 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10126 if test "$ft_lib" = "no"
10129 wine_cv_msg_freetype
=no
10131 # Extract the first word of "freetype-config", so it can be a program name with args.
10132 set dummy freetype-config
; ac_word
=$2
10133 echo "$as_me:$LINENO: checking for $ac_word" >&5
10134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10135 if test "${ac_cv_prog_ft_devel+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 if test -n "$ft_devel"; then
10139 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10142 for as_dir
in $PATH
10145 test -z "$as_dir" && as_dir
=.
10146 for ac_exec_ext
in '' $ac_executable_extensions; do
10147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10148 ac_cv_prog_ft_devel
="freetype-config"
10149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10155 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10158 ft_devel
=$ac_cv_prog_ft_devel
10159 if test -n "$ft_devel"; then
10160 echo "$as_me:$LINENO: result: $ft_devel" >&5
10161 echo "${ECHO_T}$ft_devel" >&6
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10167 if test "$ft_devel" = "no"
10169 # Extract the first word of "freetype2-config", so it can be a program name with args.
10170 set dummy freetype2-config
; ac_word
=$2
10171 echo "$as_me:$LINENO: checking for $ac_word" >&5
10172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10173 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 if test -n "$ft_devel2"; then
10177 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10180 for as_dir
in $PATH
10183 test -z "$as_dir" && as_dir
=.
10184 for ac_exec_ext
in '' $ac_executable_extensions; do
10185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10186 ac_cv_prog_ft_devel2
="freetype2-config"
10187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10193 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10196 ft_devel2
=$ac_cv_prog_ft_devel2
10197 if test -n "$ft_devel2"; then
10198 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10199 echo "${ECHO_T}$ft_devel2" >&6
10201 echo "$as_me:$LINENO: result: no" >&5
10202 echo "${ECHO_T}no" >&6
10205 if test "$ft_devel2" = "freetype2-config"
10207 ft_devel
=$ft_devel2
10210 if test "$ft_devel" = "no"
10213 wine_cv_msg_freetype
=yes
10215 FREETYPEINCL
=`$ft_devel --cflags`
10216 ac_save_CPPFLAGS
="$CPPFLAGS"
10217 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10227 for ac_header
in ft2build.h \
10228 freetype
/freetype.h \
10229 freetype
/ftglyph.h \
10230 freetype
/tttables.h \
10231 freetype
/ftnames.h \
10232 freetype
/ftsnames.h \
10233 freetype
/ttnameid.h \
10234 freetype
/ftoutln.h \
10235 freetype
/internal
/sfnt.h
10237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10238 echo "$as_me:$LINENO: checking for $ac_header" >&5
10239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 cat >conftest.
$ac_ext <<_ACEOF
10246 cat confdefs.h
>>conftest.
$ac_ext
10247 cat >>conftest.
$ac_ext <<_ACEOF
10248 /* end confdefs.h. */
10249 #if HAVE_FT2BUILD_H
10250 #include <ft2build.h>
10253 #include <$ac_header>
10255 rm -f conftest.
$ac_objext
10256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10257 (eval $ac_compile) 2>conftest.er1
10259 grep -v '^ *+' conftest.er1
>conftest.err
10261 cat conftest.err
>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); } &&
10264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266 (eval $ac_try) 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); }; } &&
10270 { ac_try
='test -s conftest.$ac_objext'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; }; then
10276 eval "$as_ac_Header=yes"
10278 echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.
$ac_ext >&5
10281 eval "$as_ac_Header=no"
10283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10288 cat >>confdefs.h
<<_ACEOF
10289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10296 cat >conftest.
$ac_ext <<_ACEOF
10299 cat confdefs.h
>>conftest.
$ac_ext
10300 cat >>conftest.
$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10302 #include <ft2build.h>
10303 #include <freetype/fttrigon.h>
10305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10306 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10308 grep -v '^ *+' conftest.er1
>conftest.err
10310 cat conftest.err
>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } >/dev
/null
; then
10313 if test -s conftest.err
; then
10314 ac_cpp_err
=$ac_c_preproc_warn_flag
10315 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10322 if test -z "$ac_cpp_err"; then
10324 cat >>confdefs.h
<<\_ACEOF
10325 #define HAVE_FREETYPE_FTTRIGON_H 1
10328 wine_cv_fttrigon
=yes
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.
$ac_ext >&5
10333 wine_cv_fttrigon
=no
10335 rm -f conftest.err conftest.
$ac_ext
10336 CPPFLAGS
="$ac_save_CPPFLAGS"
10337 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10340 cat >>confdefs.h
<<\_ACEOF
10341 #define HAVE_FREETYPE 1
10344 wine_cv_msg_freetype
=no
10347 wine_cv_msg_freetype
=yes
10353 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10354 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10355 if test "${ac_cv_c_ppdev+set}" = set; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 cat >conftest.
$ac_ext <<_ACEOF
10361 cat confdefs.h
>>conftest.
$ac_ext
10362 cat >>conftest.
$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10364 #include <linux/ppdev.h>
10368 ioctl (1,PPCLAIM,0)
10373 rm -f conftest.
$ac_objext
10374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10375 (eval $ac_compile) 2>conftest.er1
10377 grep -v '^ *+' conftest.er1
>conftest.err
10379 cat conftest.err
>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } &&
10382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10388 { ac_try
='test -s conftest.$ac_objext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 ac_cv_c_ppdev
="yes"
10396 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.
$ac_ext >&5
10401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10404 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10405 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10406 if test "$ac_cv_c_ppdev" = "yes"
10409 cat >>confdefs.h
<<\_ACEOF
10410 #define HAVE_PPDEV 1
10415 echo "$as_me:$LINENO: checking for va_copy" >&5
10416 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10417 if test "${ac_cv_c_va_copy+set}" = set; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10420 cat >conftest.
$ac_ext <<_ACEOF
10423 cat confdefs.h
>>conftest.
$ac_ext
10424 cat >>conftest.
$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 #include <stdarg.h>
10437 rm -f conftest.
$ac_objext conftest
$ac_exeext
10438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10439 (eval $ac_link) 2>conftest.er1
10441 grep -v '^ *+' conftest.er1
>conftest.err
10443 cat conftest.err
>&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); } &&
10446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10452 { ac_try
='test -s conftest$ac_exeext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 ac_cv_c_va_copy
="yes"
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10463 ac_cv_c_va_copy
="no"
10465 rm -f conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10469 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10470 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10471 if test "$ac_cv_c_va_copy" = "yes"
10474 cat >>confdefs.h
<<\_ACEOF
10475 #define HAVE_VA_COPY 1
10479 echo "$as_me:$LINENO: checking for __va_copy" >&5
10480 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10481 if test "${ac_cv_c___va_copy+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10484 cat >conftest.
$ac_ext <<_ACEOF
10487 cat confdefs.h
>>conftest.
$ac_ext
10488 cat >>conftest.
$ac_ext <<_ACEOF
10489 /* end confdefs.h. */
10490 #include <stdarg.h>
10495 __va_copy(ap1,ap2);
10501 rm -f conftest.
$ac_objext conftest
$ac_exeext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10503 (eval $ac_link) 2>conftest.er1
10505 grep -v '^ *+' conftest.er1
>conftest.err
10507 cat conftest.err
>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; } &&
10516 { ac_try
='test -s conftest$ac_exeext'
10517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518 (eval $ac_try) 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; }; then
10522 ac_cv_c___va_copy
="yes"
10524 echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.
$ac_ext >&5
10527 ac_cv_c___va_copy
="no"
10529 rm -f conftest.err conftest.
$ac_objext \
10530 conftest
$ac_exeext conftest.
$ac_ext
10533 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10534 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10535 if test "$ac_cv_c___va_copy" = "yes"
10538 cat >>confdefs.h
<<\_ACEOF
10539 #define HAVE___VA_COPY 1
10544 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10545 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10546 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 cat >conftest.
$ac_ext <<_ACEOF
10552 cat confdefs.h
>>conftest.
$ac_ext
10553 cat >>conftest.
$ac_ext <<_ACEOF
10554 /* end confdefs.h. */
10555 #include <setjmp.h>
10560 sigsetjmp( buf, 1 );
10561 siglongjmp( buf, 1 );
10566 rm -f conftest.
$ac_objext conftest
$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>conftest.er1
10570 grep -v '^ *+' conftest.er1
>conftest.err
10572 cat conftest.err
>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }; } &&
10581 { ac_try
='test -s conftest$ac_exeext'
10582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583 (eval $ac_try) 2>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); }; }; then
10587 ac_cv_c_sigsetjmp
="yes"
10589 echo "$as_me: failed program was:" >&5
10590 sed 's/^/| /' conftest.
$ac_ext >&5
10592 ac_cv_c_sigsetjmp
="no"
10594 rm -f conftest.err conftest.
$ac_objext \
10595 conftest
$ac_exeext conftest.
$ac_ext
10598 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10599 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10600 if test "$ac_cv_c_sigsetjmp" = "yes"
10603 cat >>confdefs.h
<<\_ACEOF
10604 #define HAVE_SIGSETJMP 1
10609 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10610 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10611 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 cat >conftest.
$ac_ext <<_ACEOF
10617 cat confdefs.h
>>conftest.
$ac_ext
10618 cat >>conftest.
$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10620 #define _GNU_SOURCE
10621 #include <pthread.h>
10626 if ((pthread_rwlock_t *) 0)
10628 if (sizeof (pthread_rwlock_t))
10634 rm -f conftest.
$ac_objext
10635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10636 (eval $ac_compile) 2>conftest.er1
10638 grep -v '^ *+' conftest.er1
>conftest.err
10640 cat conftest.err
>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } &&
10643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; } &&
10649 { ac_try
='test -s conftest.$ac_objext'
10650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10651 (eval $ac_try) 2>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); }; }; then
10655 ac_cv_type_pthread_rwlock_t
=yes
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.
$ac_ext >&5
10660 ac_cv_type_pthread_rwlock_t
=no
10662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10664 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10665 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10666 if test $ac_cv_type_pthread_rwlock_t = yes; then
10668 cat >>confdefs.h
<<_ACEOF
10669 #define HAVE_PTHREAD_RWLOCK_T 1
10674 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10675 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10676 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10677 echo $ECHO_N "(cached) $ECHO_C" >&6
10679 cat >conftest.
$ac_ext <<_ACEOF
10682 cat confdefs.h
>>conftest.
$ac_ext
10683 cat >>conftest.
$ac_ext <<_ACEOF
10684 /* end confdefs.h. */
10685 #define _GNU_SOURCE
10686 #include <pthread.h>
10691 if ((pthread_rwlockattr_t *) 0)
10693 if (sizeof (pthread_rwlockattr_t))
10699 rm -f conftest.
$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1
>conftest.err
10705 cat conftest.err
>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try
='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_cv_type_pthread_rwlockattr_t
=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.
$ac_ext >&5
10725 ac_cv_type_pthread_rwlockattr_t
=no
10727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10729 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10730 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10731 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10733 cat >>confdefs.h
<<_ACEOF
10734 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10741 ac_save_LIBS
="$LIBS"
10742 LIBS
="$LIBS $LIBPTHREAD"
10744 for ac_func
in pthread_getattr_np
10746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10747 echo "$as_me:$LINENO: checking for $ac_func" >&5
10748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10749 if eval "test \"\${$as_ac_var+set}\" = set"; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 cat >conftest.
$ac_ext <<_ACEOF
10755 cat confdefs.h
>>conftest.
$ac_ext
10756 cat >>conftest.
$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10760 #define $ac_func innocuous_$ac_func
10762 /* System header to define __stub macros and hopefully few prototypes,
10763 which can conflict with char $ac_func (); below.
10764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10765 <limits.h> exists even on freestanding compilers. */
10768 # include <limits.h>
10770 # include <assert.h>
10775 /* Override any gcc2 internal prototype to avoid an error. */
10780 /* We use char because int might match the return type of a gcc2
10781 builtin and then its argument prototype would still apply. */
10783 /* The GNU C library defines this for functions which it implements
10784 to always fail with ENOSYS. Some functions are actually named
10785 something starting with __ and the normal name is an alias. */
10786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10789 char (*f) () = $ac_func;
10798 return f != $ac_func;
10803 rm -f conftest.
$ac_objext conftest
$ac_exeext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10805 (eval $ac_link) 2>conftest.er1
10807 grep -v '^ *+' conftest.er1
>conftest.err
10809 cat conftest.err
>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 (eval $ac_try) 2>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); }; } &&
10818 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
10824 eval "$as_ac_var=yes"
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.
$ac_ext >&5
10829 eval "$as_ac_var=no"
10831 rm -f conftest.err conftest.
$ac_objext \
10832 conftest
$ac_exeext conftest.
$ac_ext
10834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10836 if test `eval echo '${'$as_ac_var'}'` = yes; then
10837 cat >>confdefs.h
<<_ACEOF
10838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10844 LIBS
="$ac_save_LIBS"
10849 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10853 echo "$as_me:$LINENO: checking for $ac_header" >&5
10854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10861 # Is the header compilable?
10862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10864 cat >conftest.
$ac_ext <<_ACEOF
10867 cat confdefs.h
>>conftest.
$ac_ext
10868 cat >>conftest.
$ac_ext <<_ACEOF
10869 /* end confdefs.h. */
10870 $ac_includes_default
10871 #include <$ac_header>
10873 rm -f conftest.
$ac_objext
10874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10875 (eval $ac_compile) 2>conftest.er1
10877 grep -v '^ *+' conftest.er1
>conftest.err
10879 cat conftest.err
>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; } &&
10888 { ac_try
='test -s conftest.$ac_objext'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; }; then
10894 ac_header_compiler
=yes
10896 echo "$as_me: failed program was:" >&5
10897 sed 's/^/| /' conftest.
$ac_ext >&5
10899 ac_header_compiler
=no
10901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10903 echo "${ECHO_T}$ac_header_compiler" >&6
10905 # Is the header present?
10906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10908 cat >conftest.
$ac_ext <<_ACEOF
10911 cat confdefs.h
>>conftest.
$ac_ext
10912 cat >>conftest.
$ac_ext <<_ACEOF
10913 /* end confdefs.h. */
10914 #include <$ac_header>
10916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10919 grep -v '^ *+' conftest.er1
>conftest.err
10921 cat conftest.err
>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } >/dev
/null
; then
10924 if test -s conftest.err
; then
10925 ac_cpp_err
=$ac_c_preproc_warn_flag
10926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10933 if test -z "$ac_cpp_err"; then
10934 ac_header_preproc
=yes
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.
$ac_ext >&5
10939 ac_header_preproc
=no
10941 rm -f conftest.err conftest.
$ac_ext
10942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10943 echo "${ECHO_T}$ac_header_preproc" >&6
10945 # So? What about this header?
10946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10952 ac_header_preproc
=yes
10955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10969 ## ------------------------------------ ##
10970 ## Report this to wine-devel@winehq.org ##
10971 ## ------------------------------------ ##
10974 sed "s/^/$as_me: WARNING: /" >&2
10977 echo "$as_me:$LINENO: checking for $ac_header" >&5
10978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10980 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 eval "$as_ac_Header=\$ac_header_preproc"
10984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10989 cat >>confdefs.h
<<_ACEOF
10990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10998 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10999 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11000 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 cat >conftest.
$ac_ext <<_ACEOF
11006 cat confdefs.h
>>conftest.
$ac_ext
11007 cat >>conftest.
$ac_ext <<_ACEOF
11008 /* end confdefs.h. */
11010 #if defined(HAVE_SYS_SOUNDCARD_H)
11011 #include <sys/soundcard.h>
11012 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11013 #include <machine/soundcard.h>
11014 #elif defined(HAVE_SOUNDCARD_H)
11015 #include <soundcard.h>
11023 /* check for one of the Open Sound System specific SNDCTL_ defines */
11024 #if !defined(SNDCTL_DSP_STEREO)
11025 #error No open sound system
11032 rm -f conftest.
$ac_objext
11033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11034 (eval $ac_compile) 2>conftest.er1
11036 grep -v '^ *+' conftest.er1
>conftest.err
11038 cat conftest.err
>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } &&
11041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; } &&
11047 { ac_try
='test -s conftest.$ac_objext'
11048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11049 (eval $ac_try) 2>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }; }; then
11053 ac_cv_c_opensoundsystem
="yes"
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.
$ac_ext >&5
11058 ac_cv_c_opensoundsystem
="no"
11060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11062 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11063 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11065 if test "$ac_cv_c_opensoundsystem" = "yes"
11068 cat >>confdefs.h
<<\_ACEOF
11074 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11075 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11076 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 cat >conftest.
$ac_ext <<_ACEOF
11082 cat confdefs.h
>>conftest.
$ac_ext
11083 cat >>conftest.
$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11086 #if defined(HAVE_SYS_SOUNDCARD_H)
11087 #include <sys/soundcard.h>
11088 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11089 #include <machine/soundcard.h>
11090 #elif defined(HAVE_SOUNDCARD_H)
11091 #include <soundcard.h>
11099 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11100 #if !defined(SNDCTL_SEQ_SYNC)
11101 #error No open sound system MIDI interface
11108 rm -f conftest.
$ac_objext
11109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11110 (eval $ac_compile) 2>conftest.er1
11112 grep -v '^ *+' conftest.er1
>conftest.err
11114 cat conftest.err
>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); } &&
11117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; } &&
11123 { ac_try
='test -s conftest.$ac_objext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 ac_cv_c_opensoundsystem_midi
="yes"
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.
$ac_ext >&5
11134 ac_cv_c_opensoundsystem_midi
="no"
11136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11138 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11139 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11141 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11144 cat >>confdefs.h
<<\_ACEOF
11145 #define HAVE_OSS_MIDI 1
11150 # Extract the first word of "artsc-config", so it can be a program name with args.
11151 set dummy artsc-config
; ac_word
=$2
11152 echo "$as_me:$LINENO: checking for $ac_word" >&5
11153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11154 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11157 case $ARTSCCONFIG in
11159 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11163 for as_dir
in $PATH
11166 test -z "$as_dir" && as_dir
=.
11167 for ac_exec_ext
in '' $ac_executable_extensions; do
11168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11169 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11179 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11181 if test -n "$ARTSCCONFIG"; then
11182 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11183 echo "${ECHO_T}$ARTSCCONFIG" >&6
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11189 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11191 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags | sed 's/\-pthread//'`
11192 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11193 save_CFLAGS
="$CFLAGS"
11194 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11195 cat >conftest.
$ac_ext <<_ACEOF
11198 cat confdefs.h
>>conftest.
$ac_ext
11199 cat >>conftest.
$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11205 arts_stream_t stream;
11210 rm -f conftest.
$ac_objext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11212 (eval $ac_compile) 2>conftest.er1
11214 grep -v '^ *+' conftest.er1
>conftest.err
11216 cat conftest.err
>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); } &&
11219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; } &&
11225 { ac_try
='test -s conftest.$ac_objext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11231 ARTSLIBS
=$ARTSC_LIBS
11233 ARTSINCL
=$ARTSC_CFLAGS
11236 cat >>confdefs.h
<<\_ACEOF
11237 #define HAVE_ARTS 1
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.
$ac_ext >&5
11245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11246 CFLAGS
="$save_CFLAGS"
11253 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11257 echo "$as_me:$LINENO: checking for $ac_header" >&5
11258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11265 # Is the header compilable?
11266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11268 cat >conftest.
$ac_ext <<_ACEOF
11271 cat confdefs.h
>>conftest.
$ac_ext
11272 cat >>conftest.
$ac_ext <<_ACEOF
11273 /* end confdefs.h. */
11274 $ac_includes_default
11275 #include <$ac_header>
11277 rm -f conftest.
$ac_objext
11278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11279 (eval $ac_compile) 2>conftest.er1
11281 grep -v '^ *+' conftest.er1
>conftest.err
11283 cat conftest.err
>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } &&
11286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11288 (eval $ac_try) 2>&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); }; } &&
11292 { ac_try
='test -s conftest.$ac_objext'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; }; then
11298 ac_header_compiler
=yes
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.
$ac_ext >&5
11303 ac_header_compiler
=no
11305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11307 echo "${ECHO_T}$ac_header_compiler" >&6
11309 # Is the header present?
11310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11312 cat >conftest.
$ac_ext <<_ACEOF
11315 cat confdefs.h
>>conftest.
$ac_ext
11316 cat >>conftest.
$ac_ext <<_ACEOF
11317 /* end confdefs.h. */
11318 #include <$ac_header>
11320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11323 grep -v '^ *+' conftest.er1
>conftest.err
11325 cat conftest.err
>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); } >/dev
/null
; then
11328 if test -s conftest.err
; then
11329 ac_cpp_err
=$ac_c_preproc_warn_flag
11330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11337 if test -z "$ac_cpp_err"; then
11338 ac_header_preproc
=yes
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.
$ac_ext >&5
11343 ac_header_preproc
=no
11345 rm -f conftest.err conftest.
$ac_ext
11346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11347 echo "${ECHO_T}$ac_header_preproc" >&6
11349 # So? What about this header?
11350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11356 ac_header_preproc
=yes
11359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11373 ## ------------------------------------ ##
11374 ## Report this to wine-devel@winehq.org ##
11375 ## ------------------------------------ ##
11378 sed "s/^/$as_me: WARNING: /" >&2
11381 echo "$as_me:$LINENO: checking for $ac_header" >&5
11382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11384 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 eval "$as_ac_Header=\$ac_header_preproc"
11388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11393 cat >>confdefs.h
<<_ACEOF
11394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11401 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11403 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11404 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11405 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 ac_check_lib_save_LIBS
=$LIBS
11409 LIBS
="-lasound $LIBS"
11410 cat >conftest.
$ac_ext <<_ACEOF
11413 cat confdefs.h
>>conftest.
$ac_ext
11414 cat >>conftest.
$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11417 /* Override any gcc2 internal prototype to avoid an error. */
11421 /* We use char because int might match the return type of a gcc2
11422 builtin and then its argument prototype would still apply. */
11423 char snd_pcm_open ();
11432 rm -f conftest.
$ac_objext conftest
$ac_exeext
11433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11434 (eval $ac_link) 2>conftest.er1
11436 grep -v '^ *+' conftest.er1
>conftest.err
11438 cat conftest.err
>&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } &&
11441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11443 (eval $ac_try) 2>&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); }; } &&
11447 { ac_try
='test -s conftest$ac_exeext'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; }; then
11453 ac_cv_lib_asound_snd_pcm_open
=yes
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.
$ac_ext >&5
11458 ac_cv_lib_asound_snd_pcm_open
=no
11460 rm -f conftest.err conftest.
$ac_objext \
11461 conftest
$ac_exeext conftest.
$ac_ext
11462 LIBS
=$ac_check_lib_save_LIBS
11464 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11465 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11466 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11468 cat >>confdefs.h
<<\_ACEOF
11469 #define HAVE_ALSA 1
11472 ALSALIBS
="-lasound"
11481 for ac_header
in libaudioio.h
11483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11485 echo "$as_me:$LINENO: checking for $ac_header" >&5
11486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11493 # Is the header compilable?
11494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11496 cat >conftest.
$ac_ext <<_ACEOF
11499 cat confdefs.h
>>conftest.
$ac_ext
11500 cat >>conftest.
$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11502 $ac_includes_default
11503 #include <$ac_header>
11505 rm -f conftest.
$ac_objext
11506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11507 (eval $ac_compile) 2>conftest.er1
11509 grep -v '^ *+' conftest.er1
>conftest.err
11511 cat conftest.err
>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } &&
11514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; } &&
11520 { ac_try
='test -s conftest.$ac_objext'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; }; then
11526 ac_header_compiler
=yes
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.
$ac_ext >&5
11531 ac_header_compiler
=no
11533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11535 echo "${ECHO_T}$ac_header_compiler" >&6
11537 # Is the header present?
11538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546 #include <$ac_header>
11548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11551 grep -v '^ *+' conftest.er1
>conftest.err
11553 cat conftest.err
>&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); } >/dev
/null
; then
11556 if test -s conftest.err
; then
11557 ac_cpp_err
=$ac_c_preproc_warn_flag
11558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11565 if test -z "$ac_cpp_err"; then
11566 ac_header_preproc
=yes
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.
$ac_ext >&5
11571 ac_header_preproc
=no
11573 rm -f conftest.err conftest.
$ac_ext
11574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11575 echo "${ECHO_T}$ac_header_preproc" >&6
11577 # So? What about this header?
11578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11584 ac_header_preproc
=yes
11587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11601 ## ------------------------------------ ##
11602 ## Report this to wine-devel@winehq.org ##
11603 ## ------------------------------------ ##
11606 sed "s/^/$as_me: WARNING: /" >&2
11609 echo "$as_me:$LINENO: checking for $ac_header" >&5
11610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 eval "$as_ac_Header=\$ac_header_preproc"
11616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11621 cat >>confdefs.h
<<_ACEOF
11622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11624 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11625 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11626 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 ac_check_lib_save_LIBS
=$LIBS
11630 LIBS
="-laudioio $LIBS"
11631 cat >conftest.
$ac_ext <<_ACEOF
11634 cat confdefs.h
>>conftest.
$ac_ext
11635 cat >>conftest.
$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11638 /* Override any gcc2 internal prototype to avoid an error. */
11642 /* We use char because int might match the return type of a gcc2
11643 builtin and then its argument prototype would still apply. */
11644 char AudioIOGetVersion ();
11648 AudioIOGetVersion ();
11653 rm -f conftest.
$ac_objext conftest
$ac_exeext
11654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11655 (eval $ac_link) 2>conftest.er1
11657 grep -v '^ *+' conftest.er1
>conftest.err
11659 cat conftest.err
>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } &&
11662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; } &&
11668 { ac_try
='test -s conftest$ac_exeext'
11669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11670 (eval $ac_try) 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); }; }; then
11674 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11676 echo "$as_me: failed program was:" >&5
11677 sed 's/^/| /' conftest.
$ac_ext >&5
11679 ac_cv_lib_audioio_AudioIOGetVersion
=no
11681 rm -f conftest.err conftest.
$ac_objext \
11682 conftest
$ac_exeext conftest.
$ac_ext
11683 LIBS
=$ac_check_lib_save_LIBS
11685 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11686 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11687 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11688 AUDIOIOLIBS
="-laudioio"
11690 cat >>confdefs.h
<<\_ACEOF
11691 #define HAVE_LIBAUDIOIO 1
11703 for ac_header
in capi20.h
11705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11707 echo "$as_me:$LINENO: checking for $ac_header" >&5
11708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11715 # Is the header compilable?
11716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11718 cat >conftest.
$ac_ext <<_ACEOF
11721 cat confdefs.h
>>conftest.
$ac_ext
11722 cat >>conftest.
$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724 $ac_includes_default
11725 #include <$ac_header>
11727 rm -f conftest.
$ac_objext
11728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11729 (eval $ac_compile) 2>conftest.er1
11731 grep -v '^ *+' conftest.er1
>conftest.err
11733 cat conftest.err
>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } &&
11736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; } &&
11742 { ac_try
='test -s conftest.$ac_objext'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; }; then
11748 ac_header_compiler
=yes
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.
$ac_ext >&5
11753 ac_header_compiler
=no
11755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11757 echo "${ECHO_T}$ac_header_compiler" >&6
11759 # Is the header present?
11760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11762 cat >conftest.
$ac_ext <<_ACEOF
11765 cat confdefs.h
>>conftest.
$ac_ext
11766 cat >>conftest.
$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11768 #include <$ac_header>
11770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11773 grep -v '^ *+' conftest.er1
>conftest.err
11775 cat conftest.err
>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } >/dev
/null
; then
11778 if test -s conftest.err
; then
11779 ac_cpp_err
=$ac_c_preproc_warn_flag
11780 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11787 if test -z "$ac_cpp_err"; then
11788 ac_header_preproc
=yes
11790 echo "$as_me: failed program was:" >&5
11791 sed 's/^/| /' conftest.
$ac_ext >&5
11793 ac_header_preproc
=no
11795 rm -f conftest.err conftest.
$ac_ext
11796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11797 echo "${ECHO_T}$ac_header_preproc" >&6
11799 # So? What about this header?
11800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11806 ac_header_preproc
=yes
11809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11813 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11815 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11823 ## ------------------------------------ ##
11824 ## Report this to wine-devel@winehq.org ##
11825 ## ------------------------------------ ##
11828 sed "s/^/$as_me: WARNING: /" >&2
11831 echo "$as_me:$LINENO: checking for $ac_header" >&5
11832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 eval "$as_ac_Header=\$ac_header_preproc"
11838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11843 cat >>confdefs.h
<<_ACEOF
11844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11848 for ac_header
in linux
/capi.h
11850 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11852 echo "$as_me:$LINENO: checking for $ac_header" >&5
11853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11860 # Is the header compilable?
11861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11863 cat >conftest.
$ac_ext <<_ACEOF
11866 cat confdefs.h
>>conftest.
$ac_ext
11867 cat >>conftest.
$ac_ext <<_ACEOF
11868 /* end confdefs.h. */
11869 $ac_includes_default
11870 #include <$ac_header>
11872 rm -f conftest.
$ac_objext
11873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11874 (eval $ac_compile) 2>conftest.er1
11876 grep -v '^ *+' conftest.er1
>conftest.err
11878 cat conftest.err
>&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } &&
11881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11883 (eval $ac_try) 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; } &&
11887 { ac_try
='test -s conftest.$ac_objext'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; }; then
11893 ac_header_compiler
=yes
11895 echo "$as_me: failed program was:" >&5
11896 sed 's/^/| /' conftest.
$ac_ext >&5
11898 ac_header_compiler
=no
11900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11902 echo "${ECHO_T}$ac_header_compiler" >&6
11904 # Is the header present?
11905 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11907 cat >conftest.
$ac_ext <<_ACEOF
11910 cat confdefs.h
>>conftest.
$ac_ext
11911 cat >>conftest.
$ac_ext <<_ACEOF
11912 /* end confdefs.h. */
11913 #include <$ac_header>
11915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11918 grep -v '^ *+' conftest.er1
>conftest.err
11920 cat conftest.err
>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } >/dev
/null
; then
11923 if test -s conftest.err
; then
11924 ac_cpp_err
=$ac_c_preproc_warn_flag
11925 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11932 if test -z "$ac_cpp_err"; then
11933 ac_header_preproc
=yes
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.
$ac_ext >&5
11938 ac_header_preproc
=no
11940 rm -f conftest.err conftest.
$ac_ext
11941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11942 echo "${ECHO_T}$ac_header_preproc" >&6
11944 # So? What about this header?
11945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11951 ac_header_preproc
=yes
11954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11958 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11960 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11961 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11968 ## ------------------------------------ ##
11969 ## Report this to wine-devel@winehq.org ##
11970 ## ------------------------------------ ##
11973 sed "s/^/$as_me: WARNING: /" >&2
11976 echo "$as_me:$LINENO: checking for $ac_header" >&5
11977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11979 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 eval "$as_ac_Header=\$ac_header_preproc"
11983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11988 cat >>confdefs.h
<<_ACEOF
11989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11992 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11993 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11994 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 ac_check_lib_save_LIBS
=$LIBS
11998 LIBS
="-lcapi20 $LIBS"
11999 cat >conftest.
$ac_ext <<_ACEOF
12002 cat confdefs.h
>>conftest.
$ac_ext
12003 cat >>conftest.
$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12006 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12012 char capi20_register ();
12016 capi20_register ();
12021 rm -f conftest.
$ac_objext conftest
$ac_exeext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12023 (eval $ac_link) 2>conftest.er1
12025 grep -v '^ *+' conftest.er1
>conftest.err
12027 cat conftest.err
>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; } &&
12036 { ac_try
='test -s conftest$ac_exeext'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12042 ac_cv_lib_capi20_capi20_register
=yes
12044 echo "$as_me: failed program was:" >&5
12045 sed 's/^/| /' conftest.
$ac_ext >&5
12047 ac_cv_lib_capi20_capi20_register
=no
12049 rm -f conftest.err conftest.
$ac_objext \
12050 conftest
$ac_exeext conftest.
$ac_ext
12051 LIBS
=$ac_check_lib_save_LIBS
12053 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12054 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12055 if test $ac_cv_lib_capi20_capi20_register = yes; then
12058 cat >>confdefs.h
<<\_ACEOF
12059 #define HAVE_CAPI4LINUX 1
12062 CAPI4LINUXLIBS
="-lcapi20"
12079 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12080 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12081 if test "${ac_cv_mmap64_works+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 if test "$cross_compiling" = yes; then
12085 ac_cv_mmap64_works
="no"
12087 cat >conftest.
$ac_ext <<_ACEOF
12090 cat confdefs.h
>>conftest.
$ac_ext
12091 cat >>conftest.
$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 #define _FILE_OFFSET_BITS 64
12096 #include <unistd.h>
12098 #include <sys/mman.h>
12101 int main(int argc,char **argv) {
12102 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12103 if (fd == -1) exit(1);
12105 unlink("conftest.map");
12107 write(fd,"test",4);
12109 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12115 fprintf(stderr,"success!\n");
12121 rm -f conftest
$ac_exeext
12122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12123 (eval $ac_link) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12128 (eval $ac_try) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); }; }; then
12132 ac_cv_mmap64_works
="yes"
12134 echo "$as_me: program exited with status $ac_status" >&5
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.
$ac_ext >&5
12138 ( exit $ac_status )
12139 ac_cv_mmap64_works
="no"
12141 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12144 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12145 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12147 if test "$ac_cv_mmap64_works" = "yes"
12150 cat >>confdefs.h
<<\_ACEOF
12151 #define _FILE_OFFSET_BITS 64
12159 if test "x${GCC}" = "xyes"
12161 EXTRACFLAGS
="-Wall -pipe"
12163 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12164 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12165 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12166 echo $ECHO_N "(cached) $ECHO_C" >&6
12168 if test "$cross_compiling" = yes; then
12169 ac_cv_c_gcc_strength_bug
="yes"
12171 cat >conftest.
$ac_ext <<_ACEOF
12174 cat confdefs.h
>>conftest.
$ac_ext
12175 cat >>conftest.
$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12178 int L[4] = {0,1,2,3};
12180 static int Array[3];
12181 unsigned int B = 3;
12183 for(i=0; i<B; i++) Array[i] = i - 3;
12184 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12187 exit( Array[1] != -2 || L[2] != 3);
12190 rm -f conftest
$ac_exeext
12191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12192 (eval $ac_link) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then
12201 ac_cv_c_gcc_strength_bug
="no"
12203 echo "$as_me: program exited with status $ac_status" >&5
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.
$ac_ext >&5
12207 ( exit $ac_status )
12208 ac_cv_c_gcc_strength_bug
="yes"
12210 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12213 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12214 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12215 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12217 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12220 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12221 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12222 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 ac_wine_try_cflags_saved
=$CFLAGS
12226 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12227 cat >conftest.
$ac_ext <<_ACEOF
12230 cat confdefs.h
>>conftest.
$ac_ext
12231 cat >>conftest.
$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12242 rm -f conftest.
$ac_objext conftest
$ac_exeext
12243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12244 (eval $ac_link) 2>conftest.er1
12246 grep -v '^ *+' conftest.er1
>conftest.err
12248 cat conftest.err
>&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } &&
12251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try
='test -s conftest$ac_exeext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 ac_cv_c_gcc_stack_boundary
="yes"
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.
$ac_ext >&5
12268 ac_cv_c_gcc_stack_boundary
="no"
12270 rm -f conftest.err conftest.
$ac_objext \
12271 conftest
$ac_exeext conftest.
$ac_ext
12272 CFLAGS
=$ac_wine_try_cflags_saved
12274 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12275 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12276 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12278 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12281 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12282 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12283 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 ac_wine_try_cflags_saved
=$CFLAGS
12287 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12288 cat >conftest.
$ac_ext <<_ACEOF
12291 cat confdefs.h
>>conftest.
$ac_ext
12292 cat >>conftest.
$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12303 rm -f conftest.
$ac_objext conftest
$ac_exeext
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>conftest.er1
12307 grep -v '^ *+' conftest.er1
>conftest.err
12309 cat conftest.err
>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } &&
12312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; } &&
12318 { ac_try
='test -s conftest$ac_exeext'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; }; then
12324 ac_cv_c_gcc_no_strict_aliasing
="yes"
12326 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.
$ac_ext >&5
12329 ac_cv_c_gcc_no_strict_aliasing
="no"
12331 rm -f conftest.err conftest.
$ac_objext \
12332 conftest
$ac_exeext conftest.
$ac_ext
12333 CFLAGS
=$ac_wine_try_cflags_saved
12335 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12336 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12337 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12339 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12342 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12343 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12344 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12347 ac_wine_try_cflags_saved
=$CFLAGS
12348 CFLAGS
="$CFLAGS -gstabs+"
12349 cat >conftest.
$ac_ext <<_ACEOF
12352 cat confdefs.h
>>conftest.
$ac_ext
12353 cat >>conftest.
$ac_ext <<_ACEOF
12354 /* end confdefs.h. */
12364 rm -f conftest.
$ac_objext conftest
$ac_exeext
12365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12366 (eval $ac_link) 2>conftest.er1
12368 grep -v '^ *+' conftest.er1
>conftest.err
12370 cat conftest.err
>&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); } &&
12373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; } &&
12379 { ac_try
='test -s conftest$ac_exeext'
12380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12381 (eval $ac_try) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); }; }; then
12385 ac_cv_c_gcc_gstabs
="yes"
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12390 ac_cv_c_gcc_gstabs
="no"
12392 rm -f conftest.err conftest.
$ac_objext \
12393 conftest
$ac_exeext conftest.
$ac_ext
12394 CFLAGS
=$ac_wine_try_cflags_saved
12396 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12397 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12398 if test "$ac_cv_c_gcc_gstabs" = "yes"
12400 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12403 saved_CFLAGS
="$CFLAGS"
12404 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12405 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12406 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12407 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12408 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 cat >conftest.
$ac_ext <<_ACEOF
12413 cat confdefs.h
>>conftest.
$ac_ext
12414 cat >>conftest.
$ac_ext <<_ACEOF
12415 /* end confdefs.h. */
12416 #include <string.h>
12425 rm -f conftest.
$ac_objext
12426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12427 (eval $ac_compile) 2>conftest.er1
12429 grep -v '^ *+' conftest.er1
>conftest.err
12431 cat conftest.err
>&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); } &&
12434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; } &&
12440 { ac_try
='test -s conftest.$ac_objext'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; }; then
12446 ac_cv_c_string_h_warnings
=no
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.
$ac_ext >&5
12451 ac_cv_c_string_h_warnings
=yes
12453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12455 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12456 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12457 CFLAGS
="$saved_CFLAGS"
12458 if test "$ac_cv_c_string_h_warnings" = "no"
12460 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12465 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12466 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12467 if test "${ac_cv_asm_func_def+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 cat >conftest.
$ac_ext <<_ACEOF
12473 cat confdefs.h
>>conftest.
$ac_ext
12474 cat >>conftest.
$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12476 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"); }
12486 rm -f conftest.
$ac_objext conftest
$ac_exeext
12487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12488 (eval $ac_link) 2>conftest.er1
12490 grep -v '^ *+' conftest.er1
>conftest.err
12492 cat conftest.err
>&5
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); } &&
12495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497 (eval $ac_try) 2>&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }; } &&
12501 { ac_try
='test -s conftest$ac_exeext'
12502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 (eval $ac_try) 2>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; }; then
12507 ac_cv_asm_func_def
=".def"
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.
$ac_ext >&5
12512 cat >conftest.
$ac_ext <<_ACEOF
12515 cat confdefs.h
>>conftest.
$ac_ext
12516 cat >>conftest.
$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12528 rm -f conftest.
$ac_objext conftest
$ac_exeext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12530 (eval $ac_link) 2>conftest.er1
12532 grep -v '^ *+' conftest.er1
>conftest.err
12534 cat conftest.err
>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; } &&
12543 { ac_try
='test -s conftest$ac_exeext'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 ac_cv_asm_func_def
=".type @function"
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.
$ac_ext >&5
12554 cat >conftest.
$ac_ext <<_ACEOF
12557 cat confdefs.h
>>conftest.
$ac_ext
12558 cat >>conftest.
$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12560 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12570 rm -f conftest.
$ac_objext conftest
$ac_exeext
12571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12572 (eval $ac_link) 2>conftest.er1
12574 grep -v '^ *+' conftest.er1
>conftest.err
12576 cat conftest.err
>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } &&
12579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; } &&
12585 { ac_try
='test -s conftest$ac_exeext'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; }; then
12591 ac_cv_asm_func_def
=".type 2"
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.
$ac_ext >&5
12596 ac_cv_asm_func_def
="unknown"
12598 rm -f conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12601 rm -f conftest.err conftest.
$ac_objext \
12602 conftest
$ac_exeext conftest.
$ac_ext
12604 rm -f conftest.err conftest.
$ac_objext \
12605 conftest
$ac_exeext conftest.
$ac_ext
12607 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12608 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12612 case "$ac_cv_asm_func_def" in
12614 cat >>confdefs.h
<<\_ACEOF
12615 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12619 cat >>confdefs.h
<<\_ACEOF
12620 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12624 cat >>confdefs.h
<<\_ACEOF
12625 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12629 cat >>confdefs.h
<<\_ACEOF
12630 #define __ASM_FUNC(name) ""
12636 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12637 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12638 if test "${ac_cv_c_extern_prefix+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 cat >conftest.
$ac_ext <<_ACEOF
12644 cat confdefs.h
>>conftest.
$ac_ext
12645 cat >>conftest.
$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12647 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12648 extern int ac_test;
12652 if (ac_test) return 1
12657 rm -f conftest.
$ac_objext conftest
$ac_exeext
12658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12659 (eval $ac_link) 2>conftest.er1
12661 grep -v '^ *+' conftest.er1
>conftest.err
12663 cat conftest.err
>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); } &&
12666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try
='test -s conftest$ac_exeext'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; }; then
12678 ac_cv_c_extern_prefix
="yes"
12680 echo "$as_me: failed program was:" >&5
12681 sed 's/^/| /' conftest.
$ac_ext >&5
12683 ac_cv_c_extern_prefix
="no"
12685 rm -f conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12688 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12689 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12693 if test "$ac_cv_c_extern_prefix" = "yes"
12695 cat >>confdefs.h
<<\_ACEOF
12696 #define __ASM_NAME(name) "_" name
12700 cat >>confdefs.h
<<\_ACEOF
12701 #define __ASM_NAME(name) name
12707 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12708 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12709 if test "${ac_cv_c_asm_string+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 cat >conftest.
$ac_ext <<_ACEOF
12715 cat confdefs.h
>>conftest.
$ac_ext
12716 cat >>conftest.
$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12718 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12728 rm -f conftest.
$ac_objext conftest
$ac_exeext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12730 (eval $ac_link) 2>conftest.er1
12732 grep -v '^ *+' conftest.er1
>conftest.err
12734 cat conftest.err
>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try
='test -s conftest$ac_exeext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 ac_cv_c_asm_string
=".string"
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.
$ac_ext >&5
12754 cat >conftest.
$ac_ext <<_ACEOF
12757 cat confdefs.h
>>conftest.
$ac_ext
12758 cat >>conftest.
$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12760 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12770 rm -f conftest.
$ac_objext conftest
$ac_exeext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12772 (eval $ac_link) 2>conftest.er1
12774 grep -v '^ *+' conftest.er1
>conftest.err
12776 cat conftest.err
>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try
='test -s conftest$ac_exeext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 ac_cv_c_asm_string
=".asciz"
12793 echo "$as_me: failed program was:" >&5
12794 sed 's/^/| /' conftest.
$ac_ext >&5
12796 cat >conftest.
$ac_ext <<_ACEOF
12799 cat confdefs.h
>>conftest.
$ac_ext
12800 cat >>conftest.
$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12812 rm -f conftest.
$ac_objext conftest
$ac_exeext
12813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12814 (eval $ac_link) 2>conftest.er1
12816 grep -v '^ *+' conftest.er1
>conftest.err
12818 cat conftest.err
>&5
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); } &&
12821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; } &&
12827 { ac_try
='test -s conftest$ac_exeext'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; }; then
12833 ac_cv_c_asm_string
=".ascii"
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.
$ac_ext >&5
12838 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12839 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12840 { (exit 1); exit 1; }; }
12842 rm -f conftest.err conftest.
$ac_objext \
12843 conftest
$ac_exeext conftest.
$ac_ext
12845 rm -f conftest.err conftest.
$ac_objext \
12846 conftest
$ac_exeext conftest.
$ac_ext
12848 rm -f conftest.err conftest.
$ac_objext \
12849 conftest
$ac_exeext conftest.
$ac_ext
12851 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12852 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12855 cat >>confdefs.h
<<_ACEOF
12856 #define __ASM_STRING "$ac_cv_c_asm_string"
12861 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12862 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12863 if test "${ac_cv_c_asm_short+set}" = set; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 cat >conftest.
$ac_ext <<_ACEOF
12869 cat confdefs.h
>>conftest.
$ac_ext
12870 cat >>conftest.
$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12882 rm -f conftest.
$ac_objext conftest
$ac_exeext
12883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12884 (eval $ac_link) 2>conftest.er1
12886 grep -v '^ *+' conftest.er1
>conftest.err
12888 cat conftest.err
>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } &&
12891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; } &&
12897 { ac_try
='test -s conftest$ac_exeext'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; }; then
12903 ac_cv_c_asm_short
=".short"
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.
$ac_ext >&5
12908 cat >conftest.
$ac_ext <<_ACEOF
12911 cat confdefs.h
>>conftest.
$ac_ext
12912 cat >>conftest.
$ac_ext <<_ACEOF
12913 /* end confdefs.h. */
12914 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12924 rm -f conftest.
$ac_objext conftest
$ac_exeext
12925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12926 (eval $ac_link) 2>conftest.er1
12928 grep -v '^ *+' conftest.er1
>conftest.err
12930 cat conftest.err
>&5
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); } &&
12933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12935 (eval $ac_try) 2>&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; } &&
12939 { ac_try
='test -s conftest$ac_exeext'
12940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12941 (eval $ac_try) 2>&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); }; }; then
12945 ac_cv_c_asm_short
=".half"
12947 echo "$as_me: failed program was:" >&5
12948 sed 's/^/| /' conftest.
$ac_ext >&5
12950 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12951 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12952 { (exit 1); exit 1; }; }
12954 rm -f conftest.err conftest.
$ac_objext \
12955 conftest
$ac_exeext conftest.
$ac_ext
12957 rm -f conftest.err conftest.
$ac_objext \
12958 conftest
$ac_exeext conftest.
$ac_ext
12960 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12961 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12964 cat >>confdefs.h
<<_ACEOF
12965 #define __ASM_SHORT "$ac_cv_c_asm_short"
12972 DLLFLAGS
="-D_REENTRANT"
12987 if test -n "$ac_tool_prefix"; then
12988 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12989 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
12990 echo "$as_me:$LINENO: checking for $ac_word" >&5
12991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12992 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 if test -n "$DLLTOOL"; then
12996 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
12998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12999 for as_dir
in $PATH
13002 test -z "$as_dir" && as_dir
=.
13003 for ac_exec_ext
in '' $ac_executable_extensions; do
13004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13005 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13014 DLLTOOL
=$ac_cv_prog_DLLTOOL
13015 if test -n "$DLLTOOL"; then
13016 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13017 echo "${ECHO_T}$DLLTOOL" >&6
13019 echo "$as_me:$LINENO: result: no" >&5
13020 echo "${ECHO_T}no" >&6
13024 if test -z "$ac_cv_prog_DLLTOOL"; then
13025 ac_ct_DLLTOOL
=$DLLTOOL
13026 # Extract the first word of "dlltool", so it can be a program name with args.
13027 set dummy dlltool
; ac_word
=$2
13028 echo "$as_me:$LINENO: checking for $ac_word" >&5
13029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13030 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 if test -n "$ac_ct_DLLTOOL"; then
13034 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13037 for as_dir
in $PATH
13040 test -z "$as_dir" && as_dir
=.
13041 for ac_exec_ext
in '' $ac_executable_extensions; do
13042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13043 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13050 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13053 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13054 if test -n "$ac_ct_DLLTOOL"; then
13055 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13056 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13058 echo "$as_me:$LINENO: result: no" >&5
13059 echo "${ECHO_T}no" >&6
13062 DLLTOOL
=$ac_ct_DLLTOOL
13064 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13067 if test -n "$ac_tool_prefix"; then
13068 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13069 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13070 echo "$as_me:$LINENO: checking for $ac_word" >&5
13071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13072 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13075 if test -n "$DLLWRAP"; then
13076 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13079 for as_dir
in $PATH
13082 test -z "$as_dir" && as_dir
=.
13083 for ac_exec_ext
in '' $ac_executable_extensions; do
13084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13085 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13094 DLLWRAP
=$ac_cv_prog_DLLWRAP
13095 if test -n "$DLLWRAP"; then
13096 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13097 echo "${ECHO_T}$DLLWRAP" >&6
13099 echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6
13104 if test -z "$ac_cv_prog_DLLWRAP"; then
13105 ac_ct_DLLWRAP
=$DLLWRAP
13106 # Extract the first word of "dllwrap", so it can be a program name with args.
13107 set dummy dllwrap
; ac_word
=$2
13108 echo "$as_me:$LINENO: checking for $ac_word" >&5
13109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13110 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 if test -n "$ac_ct_DLLWRAP"; then
13114 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13117 for as_dir
in $PATH
13120 test -z "$as_dir" && as_dir
=.
13121 for ac_exec_ext
in '' $ac_executable_extensions; do
13122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13123 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13130 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13133 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13134 if test -n "$ac_ct_DLLWRAP"; then
13135 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13136 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13138 echo "$as_me:$LINENO: result: no" >&5
13139 echo "${ECHO_T}no" >&6
13142 DLLWRAP
=$ac_ct_DLLWRAP
13144 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13147 if test "$DLLWRAP" = "false"; then
13156 for ac_header
in dlfcn.h
13158 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13160 echo "$as_me:$LINENO: checking for $ac_header" >&5
13161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13168 # Is the header compilable?
13169 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13171 cat >conftest.
$ac_ext <<_ACEOF
13174 cat confdefs.h
>>conftest.
$ac_ext
13175 cat >>conftest.
$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 $ac_includes_default
13178 #include <$ac_header>
13180 rm -f conftest.
$ac_objext
13181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13182 (eval $ac_compile) 2>conftest.er1
13184 grep -v '^ *+' conftest.er1
>conftest.err
13186 cat conftest.err
>&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } &&
13189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13191 (eval $ac_try) 2>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; } &&
13195 { ac_try
='test -s conftest.$ac_objext'
13196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 (eval $ac_try) 2>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }; }; then
13201 ac_header_compiler
=yes
13203 echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.
$ac_ext >&5
13206 ac_header_compiler
=no
13208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13210 echo "${ECHO_T}$ac_header_compiler" >&6
13212 # Is the header present?
13213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13215 cat >conftest.
$ac_ext <<_ACEOF
13218 cat confdefs.h
>>conftest.
$ac_ext
13219 cat >>conftest.
$ac_ext <<_ACEOF
13220 /* end confdefs.h. */
13221 #include <$ac_header>
13223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13226 grep -v '^ *+' conftest.er1
>conftest.err
13228 cat conftest.err
>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } >/dev
/null
; then
13231 if test -s conftest.err
; then
13232 ac_cpp_err
=$ac_c_preproc_warn_flag
13233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13240 if test -z "$ac_cpp_err"; then
13241 ac_header_preproc
=yes
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.
$ac_ext >&5
13246 ac_header_preproc
=no
13248 rm -f conftest.err conftest.
$ac_ext
13249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13250 echo "${ECHO_T}$ac_header_preproc" >&6
13252 # So? What about this header?
13253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13259 ac_header_preproc
=yes
13262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13276 ## ------------------------------------ ##
13277 ## Report this to wine-devel@winehq.org ##
13278 ## ------------------------------------ ##
13281 sed "s/^/$as_me: WARNING: /" >&2
13284 echo "$as_me:$LINENO: checking for $ac_header" >&5
13285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 eval "$as_ac_Header=\$ac_header_preproc"
13291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13296 cat >>confdefs.h
<<_ACEOF
13297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13300 for ac_func
in dlopen
13302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13303 echo "$as_me:$LINENO: checking for $ac_func" >&5
13304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13305 if eval "test \"\${$as_ac_var+set}\" = set"; then
13306 echo $ECHO_N "(cached) $ECHO_C" >&6
13308 cat >conftest.
$ac_ext <<_ACEOF
13311 cat confdefs.h
>>conftest.
$ac_ext
13312 cat >>conftest.
$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13316 #define $ac_func innocuous_$ac_func
13318 /* System header to define __stub macros and hopefully few prototypes,
13319 which can conflict with char $ac_func (); below.
13320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13321 <limits.h> exists even on freestanding compilers. */
13324 # include <limits.h>
13326 # include <assert.h>
13331 /* Override any gcc2 internal prototype to avoid an error. */
13336 /* We use char because int might match the return type of a gcc2
13337 builtin and then its argument prototype would still apply. */
13339 /* The GNU C library defines this for functions which it implements
13340 to always fail with ENOSYS. Some functions are actually named
13341 something starting with __ and the normal name is an alias. */
13342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13345 char (*f) () = $ac_func;
13354 return f != $ac_func;
13359 rm -f conftest.
$ac_objext conftest
$ac_exeext
13360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13361 (eval $ac_link) 2>conftest.er1
13363 grep -v '^ *+' conftest.er1
>conftest.err
13365 cat conftest.err
>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } &&
13368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13370 (eval $ac_try) 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; } &&
13374 { ac_try
='test -s conftest$ac_exeext'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; }; then
13380 eval "$as_ac_var=yes"
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.
$ac_ext >&5
13385 eval "$as_ac_var=no"
13387 rm -f conftest.err conftest.
$ac_objext \
13388 conftest
$ac_exeext conftest.
$ac_ext
13390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13392 if test `eval echo '${'$as_ac_var'}'` = yes; then
13393 cat >>confdefs.h
<<_ACEOF
13394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13398 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13399 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13400 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13403 ac_check_lib_save_LIBS
=$LIBS
13405 cat >conftest.
$ac_ext <<_ACEOF
13408 cat confdefs.h
>>conftest.
$ac_ext
13409 cat >>conftest.
$ac_ext <<_ACEOF
13410 /* end confdefs.h. */
13412 /* Override any gcc2 internal prototype to avoid an error. */
13416 /* We use char because int might match the return type of a gcc2
13417 builtin and then its argument prototype would still apply. */
13427 rm -f conftest.
$ac_objext conftest
$ac_exeext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13429 (eval $ac_link) 2>conftest.er1
13431 grep -v '^ *+' conftest.er1
>conftest.err
13433 cat conftest.err
>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; } &&
13442 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
13448 ac_cv_lib_dl_dlopen
=yes
13450 echo "$as_me: failed program was:" >&5
13451 sed 's/^/| /' conftest.
$ac_ext >&5
13453 ac_cv_lib_dl_dlopen
=no
13455 rm -f conftest.err conftest.
$ac_objext \
13456 conftest
$ac_exeext conftest.
$ac_ext
13457 LIBS
=$ac_check_lib_save_LIBS
13459 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13460 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13461 if test $ac_cv_lib_dl_dlopen = yes; then
13463 cat >>confdefs.h
<<\_ACEOF
13464 #define HAVE_DLOPEN 1
13482 if test "$LIBEXT" = "so"
13484 DLLFLAGS
="$DLLFLAGS -fPIC"
13486 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13487 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13488 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 ac_wine_try_cflags_saved
=$CFLAGS
13492 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13493 cat >conftest.
$ac_ext <<_ACEOF
13496 cat confdefs.h
>>conftest.
$ac_ext
13497 cat >>conftest.
$ac_ext <<_ACEOF
13498 /* end confdefs.h. */
13508 rm -f conftest.
$ac_objext conftest
$ac_exeext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13510 (eval $ac_link) 2>conftest.er1
13512 grep -v '^ *+' conftest.er1
>conftest.err
13514 cat conftest.err
>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try
='test -s conftest$ac_exeext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 ac_cv_c_dll_gnuelf
="yes"
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13534 ac_cv_c_dll_gnuelf
="no"
13536 rm -f conftest.err conftest.
$ac_objext \
13537 conftest
$ac_exeext conftest.
$ac_ext
13538 CFLAGS
=$ac_wine_try_cflags_saved
13540 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13541 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13542 if test "$ac_cv_c_dll_gnuelf" = "yes"
13544 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13545 LDDLL
="\$(CC) -shared -Wl,-Bsymbolic"
13546 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13547 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13548 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 ac_wine_try_cflags_saved
=$CFLAGS
13552 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13553 cat >conftest.
$ac_ext <<_ACEOF
13556 cat confdefs.h
>>conftest.
$ac_ext
13557 cat >>conftest.
$ac_ext <<_ACEOF
13558 /* end confdefs.h. */
13568 rm -f conftest.
$ac_objext conftest
$ac_exeext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13570 (eval $ac_link) 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try
='test -s conftest$ac_exeext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 ac_cv_c_dll_zdefs
="yes"
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.
$ac_ext >&5
13594 ac_cv_c_dll_zdefs
="no"
13596 rm -f conftest.err conftest.
$ac_objext \
13597 conftest
$ac_exeext conftest.
$ac_ext
13598 CFLAGS
=$ac_wine_try_cflags_saved
13600 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13601 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13602 if test "$ac_cv_c_dll_zdefs" = "yes"
13604 LDDLL
="$LDDLL,-z,defs"
13607 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13608 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13609 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6
13612 ac_wine_try_cflags_saved
=$CFLAGS
13613 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13614 cat >conftest.
$ac_ext <<_ACEOF
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13629 rm -f conftest.
$ac_objext conftest
$ac_exeext
13630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13631 (eval $ac_link) 2>conftest.er1
13633 grep -v '^ *+' conftest.er1
>conftest.err
13635 cat conftest.err
>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); } &&
13638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; } &&
13644 { ac_try
='test -s conftest$ac_exeext'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; }; then
13650 ac_cv_c_dll_init_fini
="yes"
13652 echo "$as_me: failed program was:" >&5
13653 sed 's/^/| /' conftest.
$ac_ext >&5
13655 ac_cv_c_dll_init_fini
="no"
13657 rm -f conftest.err conftest.
$ac_objext \
13658 conftest
$ac_exeext conftest.
$ac_ext
13659 CFLAGS
=$ac_wine_try_cflags_saved
13661 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13662 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13663 if test "$ac_cv_c_dll_init_fini" = "yes"
13666 cat >>confdefs.h
<<\_ACEOF
13667 #define HAVE_LINKER_INIT_FINI 1
13670 LDDLL
="$LDDLL,-init,__wine_spec_init,-fini,__wine_spec_fini"
13673 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13674 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13675 if test "${ac_cv_c_export_dynamic+set}" = set; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 ac_wine_try_cflags_saved
=$CFLAGS
13679 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13680 cat >conftest.
$ac_ext <<_ACEOF
13683 cat confdefs.h
>>conftest.
$ac_ext
13684 cat >>conftest.
$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13695 rm -f conftest.
$ac_objext conftest
$ac_exeext
13696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13697 (eval $ac_link) 2>conftest.er1
13699 grep -v '^ *+' conftest.er1
>conftest.err
13701 cat conftest.err
>&5
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); } &&
13704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; } &&
13710 { ac_try
='test -s conftest$ac_exeext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13716 ac_cv_c_export_dynamic
="yes"
13718 echo "$as_me: failed program was:" >&5
13719 sed 's/^/| /' conftest.
$ac_ext >&5
13721 ac_cv_c_export_dynamic
="no"
13723 rm -f conftest.err conftest.
$ac_objext \
13724 conftest
$ac_exeext conftest.
$ac_ext
13725 CFLAGS
=$ac_wine_try_cflags_saved
13727 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13728 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13729 if test "$ac_cv_c_export_dynamic" = "yes"
13731 LDEXECFLAGS
="-Wl,--export-dynamic"
13737 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
13738 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
13739 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13742 saved_CFLAGS
="$CFLAGS"
13743 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x00110400"
13744 if test "$cross_compiling" = yes; then
13745 ac_cv_ld_reloc_exec
="no"
13747 cat >conftest.
$ac_ext <<_ACEOF
13750 cat confdefs.h
>>conftest.
$ac_ext
13751 cat >>conftest.
$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 #include <unistd.h>
13754 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
13756 rm -f conftest
$ac_exeext
13757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13758 (eval $ac_link) 2>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; }; then
13767 ac_cv_ld_reloc_exec
="yes"
13769 echo "$as_me: program exited with status $ac_status" >&5
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.
$ac_ext >&5
13773 ( exit $ac_status )
13774 ac_cv_ld_reloc_exec
="no"
13776 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13778 CFLAGS
="$saved_CFLAGS"
13780 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13781 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13782 if test "$ac_cv_ld_reloc_exec" = "yes"
13784 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
13790 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13791 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13792 if test "${ac_cv_c_dll_unixware+set}" = set; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 ac_wine_try_cflags_saved
=$CFLAGS
13796 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13797 cat >conftest.
$ac_ext <<_ACEOF
13800 cat confdefs.h
>>conftest.
$ac_ext
13801 cat >>conftest.
$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13812 rm -f conftest.
$ac_objext conftest
$ac_exeext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13814 (eval $ac_link) 2>conftest.er1
13816 grep -v '^ *+' conftest.er1
>conftest.err
13818 cat conftest.err
>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); } &&
13821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; } &&
13827 { ac_try
='test -s conftest$ac_exeext'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; }; then
13833 ac_cv_c_dll_unixware
="yes"
13835 echo "$as_me: failed program was:" >&5
13836 sed 's/^/| /' conftest.
$ac_ext >&5
13838 ac_cv_c_dll_unixware
="no"
13840 rm -f conftest.err conftest.
$ac_objext \
13841 conftest
$ac_exeext conftest.
$ac_ext
13842 CFLAGS
=$ac_wine_try_cflags_saved
13844 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13845 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13846 if test "$ac_cv_c_dll_unixware" = "yes"
13848 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13849 LDDLL
="\$(CC) -Wl,-G,-B,symbolic"
13852 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13853 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13854 if test "${ac_cv_c_dll_macho+set}" = set; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 ac_wine_try_cflags_saved
=$CFLAGS
13858 CFLAGS
="$CFLAGS -bundle"
13859 cat >conftest.
$ac_ext <<_ACEOF
13862 cat confdefs.h
>>conftest.
$ac_ext
13863 cat >>conftest.
$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13874 rm -f conftest.
$ac_objext conftest
$ac_exeext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13876 (eval $ac_link) 2>conftest.er1
13878 grep -v '^ *+' conftest.er1
>conftest.err
13880 cat conftest.err
>&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13885 (eval $ac_try) 2>&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); }; } &&
13889 { ac_try
='test -s conftest$ac_exeext'
13890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13891 (eval $ac_try) 2>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); }; }; then
13895 ac_cv_c_dll_macho
="yes"
13897 echo "$as_me: failed program was:" >&5
13898 sed 's/^/| /' conftest.
$ac_ext >&5
13900 ac_cv_c_dll_macho
="no"
13902 rm -f conftest.err conftest.
$ac_objext \
13903 conftest
$ac_exeext conftest.
$ac_ext
13904 CFLAGS
=$ac_wine_try_cflags_saved
13906 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
13907 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
13908 if test "$ac_cv_c_dll_macho" = "yes"
13911 LDDLL
="\$(CC) -bundle -flat_namespace -undefined suppress"
13912 LDSHARED
="\$(CC) -dynamiclib"
13913 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
13921 if test "$cross_compiling" = "no"
13923 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
13925 # Extract the first word of "$ac_prog", so it can be a program name with args.
13926 set dummy
$ac_prog; ac_word
=$2
13927 echo "$as_me:$LINENO: checking for $ac_word" >&5
13928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13929 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 if test -n "$CROSSCC"; then
13933 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
13935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13936 for as_dir
in $PATH
13939 test -z "$as_dir" && as_dir
=.
13940 for ac_exec_ext
in '' $ac_executable_extensions; do
13941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13942 ac_cv_prog_CROSSCC
="$ac_prog"
13943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13951 CROSSCC
=$ac_cv_prog_CROSSCC
13952 if test -n "$CROSSCC"; then
13953 echo "$as_me:$LINENO: result: $CROSSCC" >&5
13954 echo "${ECHO_T}$CROSSCC" >&6
13956 echo "$as_me:$LINENO: result: no" >&5
13957 echo "${ECHO_T}no" >&6
13960 test -n "$CROSSCC" && break
13962 test -n "$CROSSCC" || CROSSCC
="false"
13964 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
13966 # Extract the first word of "$ac_prog", so it can be a program name with args.
13967 set dummy
$ac_prog; ac_word
=$2
13968 echo "$as_me:$LINENO: checking for $ac_word" >&5
13969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13970 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 if test -n "$DLLTOOL"; then
13974 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13977 for as_dir
in $PATH
13980 test -z "$as_dir" && as_dir
=.
13981 for ac_exec_ext
in '' $ac_executable_extensions; do
13982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13983 ac_cv_prog_DLLTOOL
="$ac_prog"
13984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13992 DLLTOOL
=$ac_cv_prog_DLLTOOL
13993 if test -n "$DLLTOOL"; then
13994 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13995 echo "${ECHO_T}$DLLTOOL" >&6
13997 echo "$as_me:$LINENO: result: no" >&5
13998 echo "${ECHO_T}no" >&6
14001 test -n "$DLLTOOL" && break
14003 test -n "$DLLTOOL" || DLLTOOL
="false"
14005 for ac_prog
in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14007 # Extract the first word of "$ac_prog", so it can be a program name with args.
14008 set dummy
$ac_prog; ac_word
=$2
14009 echo "$as_me:$LINENO: checking for $ac_word" >&5
14010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14011 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14014 if test -n "$CROSSWINDRES"; then
14015 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14018 for as_dir
in $PATH
14021 test -z "$as_dir" && as_dir
=.
14022 for ac_exec_ext
in '' $ac_executable_extensions; do
14023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14024 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14033 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14034 if test -n "$CROSSWINDRES"; then
14035 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14036 echo "${ECHO_T}$CROSSWINDRES" >&6
14038 echo "$as_me:$LINENO: result: no" >&5
14039 echo "${ECHO_T}no" >&6
14042 test -n "$CROSSWINDRES" && break
14044 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14046 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14051 if test "$LIBEXT" = "a"; then
14052 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14053 It is currently not possible to build Wine without shared library
14054 (.so) support to allow transparent switch between .so and .dll files.
14055 If you are using Linux, you will need a newer binutils.
14057 echo "$as_me: error: could not find a way to build shared libraries.
14058 It is currently not possible to build Wine without shared library
14059 (.so) support to allow transparent switch between .so and .dll files.
14060 If you are using Linux, you will need a newer binutils.
14062 { (exit 1); exit 1; }; }
14067 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14070 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14073 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14085 WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14087 MAIN_BINARY
="wine-glibc"
14091 WINE_BINARIES
="wine-kthread"
14093 MAIN_BINARY
="wine-kthread"
14099 if test "$LIBEXT" = "so"
14101 # Extract the first word of "ldd", so it can be a program name with args.
14102 set dummy ldd
; ac_word
=$2
14103 echo "$as_me:$LINENO: checking for $ac_word" >&5
14104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14105 if test "${ac_cv_path_LDD+set}" = set; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14114 as_dummy
="/sbin:/usr/sbin:$PATH"
14115 for as_dir
in $as_dummy
14118 test -z "$as_dir" && as_dir
=.
14119 for ac_exec_ext
in '' $ac_executable_extensions; do
14120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14121 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14128 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14132 LDD
=$ac_cv_path_LDD
14134 if test -n "$LDD"; then
14135 echo "$as_me:$LINENO: result: $LDD" >&5
14136 echo "${ECHO_T}$LDD" >&6
14138 echo "$as_me:$LINENO: result: no" >&5
14139 echo "${ECHO_T}no" >&6
14143 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14144 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14145 if test "${ac_cv_lib_soname_X11+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 ac_get_soname_save_LIBS
=$LIBS
14149 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14157 /* Override any gcc2 internal prototype to avoid an error. */
14161 /* We use char because int might match the return type of a gcc2
14162 builtin and then its argument prototype would still apply. */
14163 char XCreateWindow ();
14172 rm -f conftest.
$ac_objext conftest
$ac_exeext
14173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14174 (eval $ac_link) 2>conftest.er1
14176 grep -v '^ *+' conftest.er1
>conftest.err
14178 cat conftest.err
>&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; } &&
14187 { ac_try
='test -s conftest$ac_exeext'
14188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14189 (eval $ac_try) 2>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); }; }; then
14193 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14194 if test "x$ac_cv_lib_soname_X11" = "x"
14196 ac_cv_lib_soname_X11
="libX11.so"
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14202 ac_cv_lib_soname_X11
="libX11.so"
14204 rm -f conftest.err conftest.
$ac_objext \
14205 conftest
$ac_exeext conftest.
$ac_ext
14206 LIBS
=$ac_get_soname_save_LIBS
14208 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14209 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14210 if test "x$ac_cv_lib_soname_X11" != xNONE
14212 cat >>confdefs.h
<<_ACEOF
14213 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14217 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14218 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14219 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14222 ac_get_soname_save_LIBS
=$LIBS
14223 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14224 cat >conftest.
$ac_ext <<_ACEOF
14227 cat confdefs.h
>>conftest.
$ac_ext
14228 cat >>conftest.
$ac_ext <<_ACEOF
14229 /* end confdefs.h. */
14231 /* Override any gcc2 internal prototype to avoid an error. */
14235 /* We use char because int might match the return type of a gcc2
14236 builtin and then its argument prototype would still apply. */
14237 char XextCreateExtension ();
14241 XextCreateExtension ();
14246 rm -f conftest.
$ac_objext conftest
$ac_exeext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14248 (eval $ac_link) 2>conftest.er1
14250 grep -v '^ *+' conftest.er1
>conftest.err
14252 cat conftest.err
>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; } &&
14261 { ac_try
='test -s conftest$ac_exeext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14267 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14268 if test "x$ac_cv_lib_soname_Xext" = "x"
14270 ac_cv_lib_soname_Xext
="libXext.so"
14273 echo "$as_me: failed program was:" >&5
14274 sed 's/^/| /' conftest.
$ac_ext >&5
14276 ac_cv_lib_soname_Xext
="libXext.so"
14278 rm -f conftest.err conftest.
$ac_objext \
14279 conftest
$ac_exeext conftest.
$ac_ext
14280 LIBS
=$ac_get_soname_save_LIBS
14282 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14283 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14284 if test "x$ac_cv_lib_soname_Xext" != xNONE
14286 cat >>confdefs.h
<<_ACEOF
14287 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14291 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14292 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14293 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14296 ac_get_soname_save_LIBS
=$LIBS
14297 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14298 cat >conftest.
$ac_ext <<_ACEOF
14301 cat confdefs.h
>>conftest.
$ac_ext
14302 cat >>conftest.
$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14305 /* Override any gcc2 internal prototype to avoid an error. */
14309 /* We use char because int might match the return type of a gcc2
14310 builtin and then its argument prototype would still apply. */
14311 char XOpenDevice ();
14320 rm -f conftest.
$ac_objext conftest
$ac_exeext
14321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14322 (eval $ac_link) 2>conftest.er1
14324 grep -v '^ *+' conftest.er1
>conftest.err
14326 cat conftest.err
>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try
='test -s conftest$ac_exeext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14342 if test "x$ac_cv_lib_soname_Xi" = "x"
14344 ac_cv_lib_soname_Xi
="libXi.so"
14347 echo "$as_me: failed program was:" >&5
14348 sed 's/^/| /' conftest.
$ac_ext >&5
14350 ac_cv_lib_soname_Xi
="libXi.so"
14352 rm -f conftest.err conftest.
$ac_objext \
14353 conftest
$ac_exeext conftest.
$ac_ext
14354 LIBS
=$ac_get_soname_save_LIBS
14356 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14357 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14358 if test "x$ac_cv_lib_soname_Xi" != xNONE
14360 cat >>confdefs.h
<<_ACEOF
14361 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14365 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14366 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14367 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14368 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 ac_get_soname_save_LIBS
=$LIBS
14371 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14372 cat >conftest.
$ac_ext <<_ACEOF
14375 cat confdefs.h
>>conftest.
$ac_ext
14376 cat >>conftest.
$ac_ext <<_ACEOF
14377 /* end confdefs.h. */
14379 /* Override any gcc2 internal prototype to avoid an error. */
14383 /* We use char because int might match the return type of a gcc2
14384 builtin and then its argument prototype would still apply. */
14385 char XRenderQueryExtension ();
14389 XRenderQueryExtension ();
14394 rm -f conftest.
$ac_objext conftest
$ac_exeext
14395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14396 (eval $ac_link) 2>conftest.er1
14398 grep -v '^ *+' conftest.er1
>conftest.err
14400 cat conftest.err
>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); } &&
14403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; } &&
14409 { ac_try
='test -s conftest$ac_exeext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14416 if test "x$ac_cv_lib_soname_Xrender" = "x"
14418 ac_cv_lib_soname_Xrender
="libXrender.so"
14421 echo "$as_me: failed program was:" >&5
14422 sed 's/^/| /' conftest.
$ac_ext >&5
14424 ac_cv_lib_soname_Xrender
="libXrender.so"
14426 rm -f conftest.err conftest.
$ac_objext \
14427 conftest
$ac_exeext conftest.
$ac_ext
14428 LIBS
=$ac_get_soname_save_LIBS
14430 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14431 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14432 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14434 cat >>confdefs.h
<<_ACEOF
14435 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14439 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14440 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14441 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 ac_get_soname_save_LIBS
=$LIBS
14445 LIBS
="-lfreetype $X_LIBS $LIBS"
14446 cat >conftest.
$ac_ext <<_ACEOF
14449 cat confdefs.h
>>conftest.
$ac_ext
14450 cat >>conftest.
$ac_ext <<_ACEOF
14451 /* end confdefs.h. */
14453 /* Override any gcc2 internal prototype to avoid an error. */
14457 /* We use char because int might match the return type of a gcc2
14458 builtin and then its argument prototype would still apply. */
14459 char FT_Init_FreeType ();
14463 FT_Init_FreeType ();
14468 rm -f conftest.
$ac_objext conftest
$ac_exeext
14469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14470 (eval $ac_link) 2>conftest.er1
14472 grep -v '^ *+' conftest.er1
>conftest.err
14474 cat conftest.err
>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } &&
14477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; } &&
14483 { ac_try
='test -s conftest$ac_exeext'
14484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485 (eval $ac_try) 2>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }; }; then
14489 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
14490 if test "x$ac_cv_lib_soname_freetype" = "x"
14492 ac_cv_lib_soname_freetype
="libfreetype.so"
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.
$ac_ext >&5
14498 ac_cv_lib_soname_freetype
="libfreetype.so"
14500 rm -f conftest.err conftest.
$ac_objext \
14501 conftest
$ac_exeext conftest.
$ac_ext
14502 LIBS
=$ac_get_soname_save_LIBS
14504 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14505 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14506 if test "x$ac_cv_lib_soname_freetype" != xNONE
14508 cat >>confdefs.h
<<_ACEOF
14509 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14513 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14514 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14515 if test "${ac_cv_lib_soname_GL+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 ac_get_soname_save_LIBS
=$LIBS
14519 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14520 cat >conftest.
$ac_ext <<_ACEOF
14523 cat confdefs.h
>>conftest.
$ac_ext
14524 cat >>conftest.
$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14527 /* Override any gcc2 internal prototype to avoid an error. */
14531 /* We use char because int might match the return type of a gcc2
14532 builtin and then its argument prototype would still apply. */
14533 char glXQueryExtension ();
14537 glXQueryExtension ();
14542 rm -f conftest.
$ac_objext conftest
$ac_exeext
14543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14544 (eval $ac_link) 2>conftest.er1
14546 grep -v '^ *+' conftest.er1
>conftest.err
14548 cat conftest.err
>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); } &&
14551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14553 (eval $ac_try) 2>&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); }; } &&
14557 { ac_try
='test -s conftest$ac_exeext'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; }; then
14563 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
14564 if test "x$ac_cv_lib_soname_GL" = "x"
14566 ac_cv_lib_soname_GL
="libGL.so"
14569 echo "$as_me: failed program was:" >&5
14570 sed 's/^/| /' conftest.
$ac_ext >&5
14572 ac_cv_lib_soname_GL
="libGL.so"
14574 rm -f conftest.err conftest.
$ac_objext \
14575 conftest
$ac_exeext conftest.
$ac_ext
14576 LIBS
=$ac_get_soname_save_LIBS
14578 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14579 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14580 if test "x$ac_cv_lib_soname_GL" != xNONE
14582 cat >>confdefs.h
<<_ACEOF
14583 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14587 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14588 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14589 if test "${ac_cv_lib_soname_cups+set}" = set; then
14590 echo $ECHO_N "(cached) $ECHO_C" >&6
14592 ac_get_soname_save_LIBS
=$LIBS
14593 LIBS
="-lcups $LIBS"
14594 cat >conftest.
$ac_ext <<_ACEOF
14597 cat confdefs.h
>>conftest.
$ac_ext
14598 cat >>conftest.
$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14601 /* Override any gcc2 internal prototype to avoid an error. */
14605 /* We use char because int might match the return type of a gcc2
14606 builtin and then its argument prototype would still apply. */
14607 char cupsGetDefault ();
14616 rm -f conftest.
$ac_objext conftest
$ac_exeext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14618 (eval $ac_link) 2>conftest.er1
14620 grep -v '^ *+' conftest.er1
>conftest.err
14622 cat conftest.err
>&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try
='test -s conftest$ac_exeext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14637 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
14638 if test "x$ac_cv_lib_soname_cups" = "x"
14640 ac_cv_lib_soname_cups
="libcups.so"
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.
$ac_ext >&5
14646 ac_cv_lib_soname_cups
="libcups.so"
14648 rm -f conftest.err conftest.
$ac_objext \
14649 conftest
$ac_exeext conftest.
$ac_ext
14650 LIBS
=$ac_get_soname_save_LIBS
14652 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14653 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14654 if test "x$ac_cv_lib_soname_cups" != xNONE
14656 cat >>confdefs.h
<<_ACEOF
14657 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14661 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14662 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14663 if test "${ac_cv_lib_soname_jack+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 ac_get_soname_save_LIBS
=$LIBS
14667 LIBS
="-ljack $LIBS"
14668 cat >conftest.
$ac_ext <<_ACEOF
14671 cat confdefs.h
>>conftest.
$ac_ext
14672 cat >>conftest.
$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14675 /* Override any gcc2 internal prototype to avoid an error. */
14679 /* We use char because int might match the return type of a gcc2
14680 builtin and then its argument prototype would still apply. */
14681 char jack_client_new ();
14685 jack_client_new ();
14690 rm -f conftest.
$ac_objext conftest
$ac_exeext
14691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14692 (eval $ac_link) 2>conftest.er1
14694 grep -v '^ *+' conftest.er1
>conftest.err
14696 cat conftest.err
>&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } &&
14699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try
='test -s conftest$ac_exeext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
14712 if test "x$ac_cv_lib_soname_jack" = "x"
14714 ac_cv_lib_soname_jack
="libjack.so"
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.
$ac_ext >&5
14720 ac_cv_lib_soname_jack
="libjack.so"
14722 rm -f conftest.err conftest.
$ac_objext \
14723 conftest
$ac_exeext conftest.
$ac_ext
14724 LIBS
=$ac_get_soname_save_LIBS
14726 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14727 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
14728 if test "x$ac_cv_lib_soname_jack" != xNONE
14730 cat >>confdefs.h
<<_ACEOF
14731 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14735 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
14736 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
14737 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 ac_get_soname_save_LIBS
=$LIBS
14741 LIBS
="-lfontconfig $LIBS"
14742 cat >conftest.
$ac_ext <<_ACEOF
14745 cat confdefs.h
>>conftest.
$ac_ext
14746 cat >>conftest.
$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14749 /* Override any gcc2 internal prototype to avoid an error. */
14753 /* We use char because int might match the return type of a gcc2
14754 builtin and then its argument prototype would still apply. */
14764 rm -f conftest.
$ac_objext conftest
$ac_exeext
14765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14766 (eval $ac_link) 2>conftest.er1
14768 grep -v '^ *+' conftest.er1
>conftest.err
14770 cat conftest.err
>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); } &&
14773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775 (eval $ac_try) 2>&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); }; } &&
14779 { ac_try
='test -s conftest$ac_exeext'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; }; then
14785 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
14786 if test "x$ac_cv_lib_soname_fontconfig" = "x"
14788 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.
$ac_ext >&5
14794 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
14796 rm -f conftest.err conftest.
$ac_objext \
14797 conftest
$ac_exeext conftest.
$ac_ext
14798 LIBS
=$ac_get_soname_save_LIBS
14800 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14801 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
14802 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
14804 cat >>confdefs.h
<<_ACEOF
14805 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14809 echo "$as_me:$LINENO: checking for -lssl soname" >&5
14810 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
14811 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14812 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 ac_get_soname_save_LIBS
=$LIBS
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14823 /* Override any gcc2 internal prototype to avoid an error. */
14827 /* We use char because int might match the return type of a gcc2
14828 builtin and then its argument prototype would still apply. */
14829 char SSL_library_init ();
14833 SSL_library_init ();
14838 rm -f conftest.
$ac_objext conftest
$ac_exeext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14840 (eval $ac_link) 2>conftest.er1
14842 grep -v '^ *+' conftest.er1
>conftest.err
14844 cat conftest.err
>&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; } &&
14853 { ac_try
='test -s conftest$ac_exeext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
14860 if test "x$ac_cv_lib_soname_ssl" = "x"
14862 ac_cv_lib_soname_ssl
="libssl.so"
14865 echo "$as_me: failed program was:" >&5
14866 sed 's/^/| /' conftest.
$ac_ext >&5
14868 ac_cv_lib_soname_ssl
="libssl.so"
14870 rm -f conftest.err conftest.
$ac_objext \
14871 conftest
$ac_exeext conftest.
$ac_ext
14872 LIBS
=$ac_get_soname_save_LIBS
14874 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14875 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
14876 if test "x$ac_cv_lib_soname_ssl" != xNONE
14878 cat >>confdefs.h
<<_ACEOF
14879 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14883 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
14884 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
14885 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 ac_get_soname_save_LIBS
=$LIBS
14889 LIBS
="-lcrypto $LIBS"
14890 cat >conftest.
$ac_ext <<_ACEOF
14893 cat confdefs.h
>>conftest.
$ac_ext
14894 cat >>conftest.
$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14897 /* Override any gcc2 internal prototype to avoid an error. */
14901 /* We use char because int might match the return type of a gcc2
14902 builtin and then its argument prototype would still apply. */
14903 char BIO_new_socket ();
14912 rm -f conftest.
$ac_objext conftest
$ac_exeext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14914 (eval $ac_link) 2>conftest.er1
14916 grep -v '^ *+' conftest.er1
>conftest.err
14918 cat conftest.err
>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; } &&
14927 { ac_try
='test -s conftest$ac_exeext'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; }; then
14933 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
14934 if test "x$ac_cv_lib_soname_crypto" = "x"
14936 ac_cv_lib_soname_crypto
="libcrypto.so"
14939 echo "$as_me: failed program was:" >&5
14940 sed 's/^/| /' conftest.
$ac_ext >&5
14942 ac_cv_lib_soname_crypto
="libcrypto.so"
14944 rm -f conftest.err conftest.
$ac_objext \
14945 conftest
$ac_exeext conftest.
$ac_ext
14946 LIBS
=$ac_get_soname_save_LIBS
14948 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14949 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
14950 if test "x$ac_cv_lib_soname_crypto" != xNONE
14952 cat >>confdefs.h
<<_ACEOF
14953 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14957 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
14958 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
14959 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14962 ac_get_soname_save_LIBS
=$LIBS
14963 LIBS
="-lncurses $LIBS"
14964 cat >conftest.
$ac_ext <<_ACEOF
14967 cat confdefs.h
>>conftest.
$ac_ext
14968 cat >>conftest.
$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14971 /* Override any gcc2 internal prototype to avoid an error. */
14975 /* We use char because int might match the return type of a gcc2
14976 builtin and then its argument prototype would still apply. */
14986 rm -f conftest.
$ac_objext conftest
$ac_exeext
14987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14988 (eval $ac_link) 2>conftest.er1
14990 grep -v '^ *+' conftest.er1
>conftest.err
14992 cat conftest.err
>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } &&
14995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14997 (eval $ac_try) 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; } &&
15001 { ac_try
='test -s conftest$ac_exeext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15008 if test "x$ac_cv_lib_soname_ncurses" = "x"
15010 ac_cv_lib_soname_ncurses
="libncurses.so"
15013 echo "$as_me: failed program was:" >&5
15014 sed 's/^/| /' conftest.
$ac_ext >&5
15016 ac_cv_lib_soname_ncurses
="libncurses.so"
15018 rm -f conftest.err conftest.
$ac_objext \
15019 conftest
$ac_exeext conftest.
$ac_ext
15020 LIBS
=$ac_get_soname_save_LIBS
15022 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15023 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15024 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15026 cat >>confdefs.h
<<_ACEOF
15027 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15031 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15032 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15033 if test "${ac_cv_lib_soname_curses+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 ac_get_soname_save_LIBS
=$LIBS
15037 LIBS
="-lcurses $LIBS"
15038 cat >conftest.
$ac_ext <<_ACEOF
15041 cat confdefs.h
>>conftest.
$ac_ext
15042 cat >>conftest.
$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15045 /* Override any gcc2 internal prototype to avoid an error. */
15049 /* We use char because int might match the return type of a gcc2
15050 builtin and then its argument prototype would still apply. */
15060 rm -f conftest.
$ac_objext conftest
$ac_exeext
15061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15062 (eval $ac_link) 2>conftest.er1
15064 grep -v '^ *+' conftest.er1
>conftest.err
15066 cat conftest.err
>&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); } &&
15069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15071 (eval $ac_try) 2>&5
15073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15074 (exit $ac_status); }; } &&
15075 { ac_try
='test -s conftest$ac_exeext'
15076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15077 (eval $ac_try) 2>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }; }; then
15081 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15082 if test "x$ac_cv_lib_soname_curses" = "x"
15084 ac_cv_lib_soname_curses
="libcurses.so"
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15090 ac_cv_lib_soname_curses
="libcurses.so"
15092 rm -f conftest.err conftest.
$ac_objext \
15093 conftest
$ac_exeext conftest.
$ac_ext
15094 LIBS
=$ac_get_soname_save_LIBS
15096 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15097 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15098 if test "x$ac_cv_lib_soname_curses" != xNONE
15100 cat >>confdefs.h
<<_ACEOF
15101 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15108 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15109 # for constant arguments. Useless!
15110 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15111 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15112 if test "${ac_cv_working_alloca_h+set}" = set; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15115 cat >conftest.
$ac_ext <<_ACEOF
15118 cat confdefs.h
>>conftest.
$ac_ext
15119 cat >>conftest.
$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15121 #include <alloca.h>
15125 char *p = (char *) alloca (2 * sizeof (int));
15130 rm -f conftest.
$ac_objext conftest
$ac_exeext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15132 (eval $ac_link) 2>conftest.er1
15134 grep -v '^ *+' conftest.er1
>conftest.err
15136 cat conftest.err
>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } &&
15139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; } &&
15145 { ac_try
='test -s conftest$ac_exeext'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; }; then
15151 ac_cv_working_alloca_h
=yes
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.
$ac_ext >&5
15156 ac_cv_working_alloca_h
=no
15158 rm -f conftest.err conftest.
$ac_objext \
15159 conftest
$ac_exeext conftest.
$ac_ext
15161 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15162 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15163 if test $ac_cv_working_alloca_h = yes; then
15165 cat >>confdefs.h
<<\_ACEOF
15166 #define HAVE_ALLOCA_H 1
15171 echo "$as_me:$LINENO: checking for alloca" >&5
15172 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15173 if test "${ac_cv_func_alloca_works+set}" = set; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 cat >conftest.
$ac_ext <<_ACEOF
15179 cat confdefs.h
>>conftest.
$ac_ext
15180 cat >>conftest.
$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15183 # define alloca __builtin_alloca
15186 # include <malloc.h>
15187 # define alloca _alloca
15190 # include <alloca.h>
15195 # ifndef alloca /* predefined by HP cc +Olibcalls */
15206 char *p = (char *) alloca (1);
15211 rm -f conftest.
$ac_objext conftest
$ac_exeext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15213 (eval $ac_link) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1
>conftest.err
15217 cat conftest.err
>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try
='test -s conftest$ac_exeext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_cv_func_alloca_works
=yes
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.
$ac_ext >&5
15237 ac_cv_func_alloca_works
=no
15239 rm -f conftest.err conftest.
$ac_objext \
15240 conftest
$ac_exeext conftest.
$ac_ext
15242 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15243 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15245 if test $ac_cv_func_alloca_works = yes; then
15247 cat >>confdefs.h
<<\_ACEOF
15248 #define HAVE_ALLOCA 1
15252 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15253 # that cause trouble. Some versions do not even contain alloca or
15254 # contain a buggy version. If you still want to use their alloca,
15255 # use ar to extract alloca.o from them instead of compiling alloca.c.
15257 ALLOCA
=alloca.
$ac_objext
15259 cat >>confdefs.h
<<\_ACEOF
15264 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15265 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15266 if test "${ac_cv_os_cray+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 cat >conftest.
$ac_ext <<_ACEOF
15272 cat confdefs.h
>>conftest.
$ac_ext
15273 cat >>conftest.
$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15275 #if defined(CRAY) && ! defined(CRAY2)
15282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15283 $EGREP "webecray" >/dev
/null
2>&1; then
15291 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15292 echo "${ECHO_T}$ac_cv_os_cray" >&6
15293 if test $ac_cv_os_cray = yes; then
15294 for ac_func
in _getb67 GETB67 getb67
; do
15295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15296 echo "$as_me:$LINENO: checking for $ac_func" >&5
15297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15298 if eval "test \"\${$as_ac_var+set}\" = set"; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 cat >conftest.
$ac_ext <<_ACEOF
15304 cat confdefs.h
>>conftest.
$ac_ext
15305 cat >>conftest.
$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15309 #define $ac_func innocuous_$ac_func
15311 /* System header to define __stub macros and hopefully few prototypes,
15312 which can conflict with char $ac_func (); below.
15313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15314 <limits.h> exists even on freestanding compilers. */
15317 # include <limits.h>
15319 # include <assert.h>
15324 /* Override any gcc2 internal prototype to avoid an error. */
15329 /* We use char because int might match the return type of a gcc2
15330 builtin and then its argument prototype would still apply. */
15332 /* The GNU C library defines this for functions which it implements
15333 to always fail with ENOSYS. Some functions are actually named
15334 something starting with __ and the normal name is an alias. */
15335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15338 char (*f) () = $ac_func;
15347 return f != $ac_func;
15352 rm -f conftest.
$ac_objext conftest
$ac_exeext
15353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15354 (eval $ac_link) 2>conftest.er1
15356 grep -v '^ *+' conftest.er1
>conftest.err
15358 cat conftest.err
>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } &&
15361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; } &&
15367 { ac_try
='test -s conftest$ac_exeext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 eval "$as_ac_var=yes"
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.
$ac_ext >&5
15378 eval "$as_ac_var=no"
15380 rm -f conftest.err conftest.
$ac_objext \
15381 conftest
$ac_exeext conftest.
$ac_ext
15383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15385 if test `eval echo '${'$as_ac_var'}'` = yes; then
15387 cat >>confdefs.h
<<_ACEOF
15388 #define CRAY_STACKSEG_END $ac_func
15397 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15398 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15399 if test "${ac_cv_c_stack_direction+set}" = set; then
15400 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 if test "$cross_compiling" = yes; then
15403 ac_cv_c_stack_direction
=0
15405 cat >conftest.
$ac_ext <<_ACEOF
15408 cat confdefs.h
>>conftest.
$ac_ext
15409 cat >>conftest.
$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15412 find_stack_direction ()
15414 static char *addr = 0;
15419 return find_stack_direction ();
15422 return (&dummy > addr) ? 1 : -1;
15428 exit (find_stack_direction () < 0);
15431 rm -f conftest
$ac_exeext
15432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15433 (eval $ac_link) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 ac_cv_c_stack_direction
=1
15444 echo "$as_me: program exited with status $ac_status" >&5
15445 echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.
$ac_ext >&5
15448 ( exit $ac_status )
15449 ac_cv_c_stack_direction
=-1
15451 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15454 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15455 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15457 cat >>confdefs.h
<<_ACEOF
15458 #define STACK_DIRECTION $ac_cv_c_stack_direction
15573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15574 echo "$as_me:$LINENO: checking for $ac_func" >&5
15575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15576 if eval "test \"\${$as_ac_var+set}\" = set"; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 cat >conftest.
$ac_ext <<_ACEOF
15582 cat confdefs.h
>>conftest.
$ac_ext
15583 cat >>conftest.
$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15587 #define $ac_func innocuous_$ac_func
15589 /* System header to define __stub macros and hopefully few prototypes,
15590 which can conflict with char $ac_func (); below.
15591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15592 <limits.h> exists even on freestanding compilers. */
15595 # include <limits.h>
15597 # include <assert.h>
15602 /* Override any gcc2 internal prototype to avoid an error. */
15607 /* We use char because int might match the return type of a gcc2
15608 builtin and then its argument prototype would still apply. */
15610 /* The GNU C library defines this for functions which it implements
15611 to always fail with ENOSYS. Some functions are actually named
15612 something starting with __ and the normal name is an alias. */
15613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15616 char (*f) () = $ac_func;
15625 return f != $ac_func;
15630 rm -f conftest.
$ac_objext conftest
$ac_exeext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15632 (eval $ac_link) 2>conftest.er1
15634 grep -v '^ *+' conftest.er1
>conftest.err
15636 cat conftest.err
>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } &&
15639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; } &&
15645 { ac_try
='test -s conftest$ac_exeext'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15651 eval "$as_ac_var=yes"
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.
$ac_ext >&5
15656 eval "$as_ac_var=no"
15658 rm -f conftest.err conftest.
$ac_objext \
15659 conftest
$ac_exeext conftest.
$ac_ext
15661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15663 if test `eval echo '${'$as_ac_var'}'` = yes; then
15664 cat >>confdefs.h
<<_ACEOF
15665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15762 fontconfig
/fontconfig.h \
15781 netinet
/in_systm.h \
15783 netinet
/tcp_fsm.h \
15793 scsi
/scsi_ioctl.h \
15837 valgrind
/memcheck.h
15840 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15842 echo "$as_me:$LINENO: checking for $ac_header" >&5
15843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15845 echo $ECHO_N "(cached) $ECHO_C" >&6
15847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15850 # Is the header compilable?
15851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15853 cat >conftest.
$ac_ext <<_ACEOF
15856 cat confdefs.h
>>conftest.
$ac_ext
15857 cat >>conftest.
$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 $ac_includes_default
15860 #include <$ac_header>
15862 rm -f conftest.
$ac_objext
15863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15864 (eval $ac_compile) 2>conftest.er1
15866 grep -v '^ *+' conftest.er1
>conftest.err
15868 cat conftest.err
>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); } &&
15871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; } &&
15877 { ac_try
='test -s conftest.$ac_objext'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; }; then
15883 ac_header_compiler
=yes
15885 echo "$as_me: failed program was:" >&5
15886 sed 's/^/| /' conftest.
$ac_ext >&5
15888 ac_header_compiler
=no
15890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15892 echo "${ECHO_T}$ac_header_compiler" >&6
15894 # Is the header present?
15895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15897 cat >conftest.
$ac_ext <<_ACEOF
15900 cat confdefs.h
>>conftest.
$ac_ext
15901 cat >>conftest.
$ac_ext <<_ACEOF
15902 /* end confdefs.h. */
15903 #include <$ac_header>
15905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15908 grep -v '^ *+' conftest.er1
>conftest.err
15910 cat conftest.err
>&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } >/dev
/null
; then
15913 if test -s conftest.err
; then
15914 ac_cpp_err
=$ac_c_preproc_warn_flag
15915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15922 if test -z "$ac_cpp_err"; then
15923 ac_header_preproc
=yes
15925 echo "$as_me: failed program was:" >&5
15926 sed 's/^/| /' conftest.
$ac_ext >&5
15928 ac_header_preproc
=no
15930 rm -f conftest.err conftest.
$ac_ext
15931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15932 echo "${ECHO_T}$ac_header_preproc" >&6
15934 # So? What about this header?
15935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15941 ac_header_preproc
=yes
15944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15958 ## ------------------------------------ ##
15959 ## Report this to wine-devel@winehq.org ##
15960 ## ------------------------------------ ##
15963 sed "s/^/$as_me: WARNING: /" >&2
15966 echo "$as_me:$LINENO: checking for $ac_header" >&5
15967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 eval "$as_ac_Header=\$ac_header_preproc"
15973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15978 cat >>confdefs.h
<<_ACEOF
15979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15986 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
15987 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
15988 if test "${ac_cv_header_stat_broken+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 cat >conftest.
$ac_ext <<_ACEOF
15994 cat confdefs.h
>>conftest.
$ac_ext
15995 cat >>conftest.
$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997 #include <sys/types.h>
15998 #include <sys/stat.h>
16000 #if defined(S_ISBLK) && defined(S_IFDIR)
16001 # if S_ISBLK (S_IFDIR)
16006 #if defined(S_ISBLK) && defined(S_IFCHR)
16007 # if S_ISBLK (S_IFCHR)
16012 #if defined(S_ISLNK) && defined(S_IFREG)
16013 # if S_ISLNK (S_IFREG)
16018 #if defined(S_ISSOCK) && defined(S_IFREG)
16019 # if S_ISSOCK (S_IFREG)
16025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16026 $EGREP "You lose" >/dev
/null
2>&1; then
16027 ac_cv_header_stat_broken
=yes
16029 ac_cv_header_stat_broken
=no
16034 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16035 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16036 if test $ac_cv_header_stat_broken = yes; then
16038 cat >>confdefs.h
<<\_ACEOF
16039 #define STAT_MACROS_BROKEN 1
16048 for ac_header
in sys
/mount.h sys
/user.h
16050 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16051 echo "$as_me:$LINENO: checking for $ac_header" >&5
16052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16054 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 cat >conftest.
$ac_ext <<_ACEOF
16059 cat confdefs.h
>>conftest.
$ac_ext
16060 cat >>conftest.
$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 #include <sys/types.h>
16063 #if HAVE_SYS_PARAM_H
16064 # include <sys/param.h>
16067 #include <$ac_header>
16069 rm -f conftest.
$ac_objext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16071 (eval $ac_compile) 2>conftest.er1
16073 grep -v '^ *+' conftest.er1
>conftest.err
16075 cat conftest.err
>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; } &&
16084 { ac_try
='test -s conftest.$ac_objext'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; }; then
16090 eval "$as_ac_Header=yes"
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.
$ac_ext >&5
16095 eval "$as_ac_Header=no"
16097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16102 cat >>confdefs.h
<<_ACEOF
16103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16116 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16118 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16119 echo "$as_me:$LINENO: checking for $ac_header" >&5
16120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16122 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 cat >conftest.
$ac_ext <<_ACEOF
16127 cat confdefs.h
>>conftest.
$ac_ext
16128 cat >>conftest.
$ac_ext <<_ACEOF
16129 /* end confdefs.h. */
16130 #include <sys/types.h>
16131 #if HAVE_SYS_SOCKET_H
16132 # include <sys/socket.h>
16135 #include <$ac_header>
16137 rm -f conftest.
$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16141 grep -v '^ *+' conftest.er1
>conftest.err
16143 cat conftest.err
>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; } &&
16152 { ac_try
='test -s conftest.$ac_objext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 eval "$as_ac_Header=yes"
16160 echo "$as_me: failed program was:" >&5
16161 sed 's/^/| /' conftest.
$ac_ext >&5
16163 eval "$as_ac_Header=no"
16165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16170 cat >>confdefs.h
<<_ACEOF
16171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16180 for ac_header
in resolv.h
16182 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16183 echo "$as_me:$LINENO: checking for $ac_header" >&5
16184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16188 cat >conftest.
$ac_ext <<_ACEOF
16191 cat confdefs.h
>>conftest.
$ac_ext
16192 cat >>conftest.
$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 #include <sys/types.h>
16195 #if HAVE_SYS_SOCKET_H
16196 # include <sys/socket.h>
16198 #if HAVE_NETINET_IN_H
16199 # include <netinet/in.h>
16201 #if HAVE_ARPA_NAMESER_H
16202 # include <arpa/nameser.h>
16205 #include <$ac_header>
16207 rm -f conftest.
$ac_objext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209 (eval $ac_compile) 2>conftest.er1
16211 grep -v '^ *+' conftest.er1
>conftest.err
16213 cat conftest.err
>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } &&
16216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; } &&
16222 { ac_try
='test -s conftest.$ac_objext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16228 eval "$as_ac_Header=yes"
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.
$ac_ext >&5
16233 eval "$as_ac_Header=no"
16235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16240 cat >>confdefs.h
<<_ACEOF
16241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16250 for ac_header
in netinet
/ip.h
16252 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16253 echo "$as_me:$LINENO: checking for $ac_header" >&5
16254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16258 cat >conftest.
$ac_ext <<_ACEOF
16261 cat confdefs.h
>>conftest.
$ac_ext
16262 cat >>conftest.
$ac_ext <<_ACEOF
16263 /* end confdefs.h. */
16264 #include <sys/types.h>
16265 #if HAVE_SYS_SOCKET_H
16266 # include <sys/socket.h>
16268 #if HAVE_NETINET_IN_SYSTM_H
16269 # include <netinet/in_systm.h>
16272 #include <$ac_header>
16274 rm -f conftest.
$ac_objext
16275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16276 (eval $ac_compile) 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_objext'
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_Header=yes"
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.
$ac_ext >&5
16300 eval "$as_ac_Header=no"
16302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16307 cat >>confdefs.h
<<_ACEOF
16308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16317 for ac_header
in ucontext.h
16319 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16320 echo "$as_me:$LINENO: checking for $ac_header" >&5
16321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16323 echo $ECHO_N "(cached) $ECHO_C" >&6
16325 cat >conftest.
$ac_ext <<_ACEOF
16328 cat confdefs.h
>>conftest.
$ac_ext
16329 cat >>conftest.
$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16331 #include <signal.h>
16333 #include <$ac_header>
16335 rm -f conftest.
$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try
='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 eval "$as_ac_Header=yes"
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16361 eval "$as_ac_Header=no"
16363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16368 cat >>confdefs.h
<<_ACEOF
16369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16378 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16379 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16380 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 cat >conftest.
$ac_ext <<_ACEOF
16386 cat confdefs.h
>>conftest.
$ac_ext
16387 cat >>conftest.
$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 #include <sys/types.h>
16390 #ifdef HAVE_SYS_SOCKET_H
16391 # include <sys/socket.h>
16393 #include <netipx/ipx.h>
16397 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16402 rm -f conftest.
$ac_objext
16403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16404 (eval $ac_compile) 2>conftest.er1
16406 grep -v '^ *+' conftest.er1
>conftest.err
16408 cat conftest.err
>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
16411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; } &&
16417 { ac_try
='test -s conftest.$ac_objext'
16418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16419 (eval $ac_try) 2>&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); }; }; then
16423 ac_cv_c_ipx_gnu
="yes"
16425 echo "$as_me: failed program was:" >&5
16426 sed 's/^/| /' conftest.
$ac_ext >&5
16428 ac_cv_c_ipx_gnu
="no"
16430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16433 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16434 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16435 if test "$ac_cv_c_ipx_gnu" = "yes"
16438 cat >>confdefs.h
<<\_ACEOF
16439 #define HAVE_IPX_GNU 1
16444 if test "$ac_cv_c_ipx_gnu" = "no"
16446 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16447 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16448 if test "${ac_cv_c_ipx_linux+set}" = set; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 cat >conftest.
$ac_ext <<_ACEOF
16454 cat confdefs.h
>>conftest.
$ac_ext
16455 cat >>conftest.
$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <sys/types.h>
16458 #ifdef HAVE_SYS_SOCKET_H
16459 # include <sys/socket.h>
16461 #include <asm/types.h>
16462 #include <linux/ipx.h>
16466 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16471 rm -f conftest.
$ac_objext
16472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16473 (eval $ac_compile) 2>conftest.er1
16475 grep -v '^ *+' conftest.er1
>conftest.err
16477 cat conftest.err
>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } &&
16480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482 (eval $ac_try) 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; } &&
16486 { ac_try
='test -s conftest.$ac_objext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 ac_cv_c_ipx_linux
="yes"
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.
$ac_ext >&5
16497 ac_cv_c_ipx_linux
="no"
16499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16502 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16503 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16504 if test "$ac_cv_c_ipx_linux" = "yes"
16507 cat >>confdefs.h
<<\_ACEOF
16508 #define HAVE_IPX_LINUX 1
16515 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16516 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16517 if test "${ac_cv_c_const+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 cat >conftest.
$ac_ext <<_ACEOF
16523 cat confdefs.h
>>conftest.
$ac_ext
16524 cat >>conftest.
$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16530 /* FIXME: Include the comments suggested by Paul. */
16531 #ifndef __cplusplus
16532 /* Ultrix mips cc rejects this. */
16533 typedef int charset[2];
16535 /* SunOS 4.1.1 cc rejects this. */
16536 char const *const *ccp;
16538 /* NEC SVR4.0.2 mips cc rejects this. */
16539 struct point {int x, y;};
16540 static struct point const zero = {0,0};
16541 /* AIX XL C 1.02.0.0 rejects this.
16542 It does not let you subtract one const X* pointer from another in
16543 an arm of an if-expression whose if-part is not a constant
16545 const char *g = "string";
16546 ccp = &g + (g ? g-g : 0);
16547 /* HPUX 7.0 cc rejects these. */
16550 ccp = (char const *const *) p;
16551 { /* SCO 3.2v4 cc rejects this. */
16553 char const *s = 0 ? (char *) 0 : (char const *) 0;
16557 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16558 int x[] = {25, 17};
16559 const int *foo = &x[0];
16562 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16563 typedef const int *iptr;
16567 { /* AIX XL C 1.02.0.0 rejects this saying
16568 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16569 struct s { int j; const int *ap[3]; };
16570 struct s *b; b->j = 5;
16572 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16573 const int foo = 10;
16581 rm -f conftest.
$ac_objext
16582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16583 (eval $ac_compile) 2>conftest.er1
16585 grep -v '^ *+' conftest.er1
>conftest.err
16587 cat conftest.err
>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); } &&
16590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16592 (eval $ac_try) 2>&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); }; } &&
16596 { ac_try
='test -s conftest.$ac_objext'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; }; then
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.
$ac_ext >&5
16609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16611 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16612 echo "${ECHO_T}$ac_cv_c_const" >&6
16613 if test $ac_cv_c_const = no
; then
16615 cat >>confdefs.h
<<\_ACEOF
16621 echo "$as_me:$LINENO: checking for inline" >&5
16622 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16623 if test "${ac_cv_c_inline+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16627 for ac_kw
in inline __inline__ __inline
; do
16628 cat >conftest.
$ac_ext <<_ACEOF
16631 cat confdefs.h
>>conftest.
$ac_ext
16632 cat >>conftest.
$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 #ifndef __cplusplus
16636 static $ac_kw foo_t static_foo () {return 0; }
16637 $ac_kw foo_t foo () {return 0; }
16641 rm -f conftest.
$ac_objext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16643 (eval $ac_compile) 2>conftest.er1
16645 grep -v '^ *+' conftest.er1
>conftest.err
16647 cat conftest.err
>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try
='test -s conftest.$ac_objext'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16662 ac_cv_c_inline
=$ac_kw; break
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.
$ac_ext >&5
16668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16672 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16673 echo "${ECHO_T}$ac_cv_c_inline" >&6
16676 case $ac_cv_c_inline in
16679 case $ac_cv_c_inline in
16681 *) ac_val
=$ac_cv_c_inline;;
16683 cat >>confdefs.h
<<_ACEOF
16684 #ifndef __cplusplus
16685 #define inline $ac_val
16691 echo "$as_me:$LINENO: checking for mode_t" >&5
16692 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16693 if test "${ac_cv_type_mode_t+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16696 cat >conftest.
$ac_ext <<_ACEOF
16699 cat confdefs.h
>>conftest.
$ac_ext
16700 cat >>conftest.
$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 $ac_includes_default
16708 if (sizeof (mode_t))
16714 rm -f conftest.
$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716 (eval $ac_compile) 2>conftest.er1
16718 grep -v '^ *+' conftest.er1
>conftest.err
16720 cat conftest.err
>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } &&
16723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; } &&
16729 { ac_try
='test -s conftest.$ac_objext'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16735 ac_cv_type_mode_t
=yes
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.
$ac_ext >&5
16740 ac_cv_type_mode_t
=no
16742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16744 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16745 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16746 if test $ac_cv_type_mode_t = yes; then
16748 cat >>confdefs.h
<<_ACEOF
16749 #define HAVE_MODE_T 1
16754 echo "$as_me:$LINENO: checking for off_t" >&5
16755 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
16756 if test "${ac_cv_type_off_t+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 cat >conftest.
$ac_ext <<_ACEOF
16762 cat confdefs.h
>>conftest.
$ac_ext
16763 cat >>conftest.
$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16765 $ac_includes_default
16771 if (sizeof (off_t))
16777 rm -f conftest.
$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>conftest.er1
16781 grep -v '^ *+' conftest.er1
>conftest.err
16783 cat conftest.err
>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } &&
16786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; } &&
16792 { ac_try
='test -s conftest.$ac_objext'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; }; then
16798 ac_cv_type_off_t
=yes
16800 echo "$as_me: failed program was:" >&5
16801 sed 's/^/| /' conftest.
$ac_ext >&5
16803 ac_cv_type_off_t
=no
16805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16807 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16808 echo "${ECHO_T}$ac_cv_type_off_t" >&6
16809 if test $ac_cv_type_off_t = yes; then
16811 cat >>confdefs.h
<<_ACEOF
16812 #define HAVE_OFF_T 1
16817 echo "$as_me:$LINENO: checking for pid_t" >&5
16818 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16819 if test "${ac_cv_type_pid_t+set}" = set; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 cat >conftest.
$ac_ext <<_ACEOF
16825 cat confdefs.h
>>conftest.
$ac_ext
16826 cat >>conftest.
$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 $ac_includes_default
16834 if (sizeof (pid_t))
16840 rm -f conftest.
$ac_objext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16842 (eval $ac_compile) 2>conftest.er1
16844 grep -v '^ *+' conftest.er1
>conftest.err
16846 cat conftest.err
>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } &&
16849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851 (eval $ac_try) 2>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); }; } &&
16855 { ac_try
='test -s conftest.$ac_objext'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; }; then
16861 ac_cv_type_pid_t
=yes
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.
$ac_ext >&5
16866 ac_cv_type_pid_t
=no
16868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16870 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16871 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16872 if test $ac_cv_type_pid_t = yes; then
16874 cat >>confdefs.h
<<_ACEOF
16875 #define HAVE_PID_T 1
16880 echo "$as_me:$LINENO: checking for size_t" >&5
16881 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16882 if test "${ac_cv_type_size_t+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 cat >conftest.
$ac_ext <<_ACEOF
16888 cat confdefs.h
>>conftest.
$ac_ext
16889 cat >>conftest.
$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 $ac_includes_default
16897 if (sizeof (size_t))
16903 rm -f conftest.
$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try
='test -s conftest.$ac_objext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16924 ac_cv_type_size_t
=yes
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.
$ac_ext >&5
16929 ac_cv_type_size_t
=no
16931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16933 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16934 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16935 if test $ac_cv_type_size_t = yes; then
16937 cat >>confdefs.h
<<_ACEOF
16938 #define HAVE_SIZE_T 1
16943 echo "$as_me:$LINENO: checking for ssize_t" >&5
16944 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
16945 if test "${ac_cv_type_ssize_t+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 cat >conftest.
$ac_ext <<_ACEOF
16951 cat confdefs.h
>>conftest.
$ac_ext
16952 cat >>conftest.
$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16960 if (sizeof (ssize_t))
16966 rm -f conftest.
$ac_objext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16968 (eval $ac_compile) 2>conftest.er1
16970 grep -v '^ *+' conftest.er1
>conftest.err
16972 cat conftest.err
>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } &&
16975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try
='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_cv_type_ssize_t
=yes
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.
$ac_ext >&5
16992 ac_cv_type_ssize_t
=no
16994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16996 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16997 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
16998 if test $ac_cv_type_ssize_t = yes; then
17000 cat >>confdefs.h
<<_ACEOF
17001 #define HAVE_SSIZE_T 1
17007 echo "$as_me:$LINENO: checking for long long" >&5
17008 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17009 if test "${ac_cv_type_long_long+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17012 cat >conftest.
$ac_ext <<_ACEOF
17015 cat confdefs.h
>>conftest.
$ac_ext
17016 cat >>conftest.
$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 $ac_includes_default
17022 if ((long long *) 0)
17024 if (sizeof (long long))
17030 rm -f conftest.
$ac_objext
17031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17032 (eval $ac_compile) 2>conftest.er1
17034 grep -v '^ *+' conftest.er1
>conftest.err
17036 cat conftest.err
>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } &&
17039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; } &&
17045 { ac_try
='test -s conftest.$ac_objext'
17046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; }; then
17051 ac_cv_type_long_long
=yes
17053 echo "$as_me: failed program was:" >&5
17054 sed 's/^/| /' conftest.
$ac_ext >&5
17056 ac_cv_type_long_long
=no
17058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17060 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17061 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17063 echo "$as_me:$LINENO: checking size of long long" >&5
17064 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17065 if test "${ac_cv_sizeof_long_long+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 if test "$ac_cv_type_long_long" = yes; then
17069 # The cast to unsigned long works around a bug in the HP C Compiler
17070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17072 # This bug is HP SR number 8606223364.
17073 if test "$cross_compiling" = yes; then
17074 # Depending upon the size, compute the lo and hi bounds.
17075 cat >conftest.
$ac_ext <<_ACEOF
17078 cat confdefs.h
>>conftest.
$ac_ext
17079 cat >>conftest.
$ac_ext <<_ACEOF
17080 /* end confdefs.h. */
17081 $ac_includes_default
17085 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17092 rm -f conftest.
$ac_objext
17093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17094 (eval $ac_compile) 2>conftest.er1
17096 grep -v '^ *+' conftest.er1
>conftest.err
17098 cat conftest.err
>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); } &&
17101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; } &&
17107 { ac_try
='test -s conftest.$ac_objext'
17108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17109 (eval $ac_try) 2>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); }; }; then
17115 cat >conftest.
$ac_ext <<_ACEOF
17118 cat confdefs.h
>>conftest.
$ac_ext
17119 cat >>conftest.
$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 $ac_includes_default
17125 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17132 rm -f conftest.
$ac_objext
17133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17134 (eval $ac_compile) 2>conftest.er1
17136 grep -v '^ *+' conftest.er1
>conftest.err
17138 cat conftest.err
>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } &&
17141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try
='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17153 ac_hi
=$ac_mid; break
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 ac_lo
=`expr $ac_mid + 1`
17159 if test $ac_lo -le $ac_mid; then
17163 ac_mid
=`expr 2 '*' $ac_mid + 1`
17165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17168 echo "$as_me: failed program was:" >&5
17169 sed 's/^/| /' conftest.
$ac_ext >&5
17171 cat >conftest.
$ac_ext <<_ACEOF
17174 cat confdefs.h
>>conftest.
$ac_ext
17175 cat >>conftest.
$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177 $ac_includes_default
17181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17188 rm -f conftest.
$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try
='test -s conftest.$ac_objext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17211 cat >conftest.
$ac_ext <<_ACEOF
17214 cat confdefs.h
>>conftest.
$ac_ext
17215 cat >>conftest.
$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17217 $ac_includes_default
17221 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17228 rm -f conftest.
$ac_objext
17229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17230 (eval $ac_compile) 2>conftest.er1
17232 grep -v '^ *+' conftest.er1
>conftest.err
17234 cat conftest.err
>&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } &&
17237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try
='test -s conftest.$ac_objext'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; }; then
17249 ac_lo
=$ac_mid; break
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.
$ac_ext >&5
17254 ac_hi
=`expr '(' $ac_mid ')' - 1`
17255 if test $ac_mid -le $ac_hi; then
17259 ac_mid
=`expr 2 '*' $ac_mid`
17261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
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 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17272 # Binary search between lo and hi bounds.
17273 while test "x$ac_lo" != "x$ac_hi"; do
17274 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17275 cat >conftest.
$ac_ext <<_ACEOF
17278 cat confdefs.h
>>conftest.
$ac_ext
17279 cat >>conftest.
$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17281 $ac_includes_default
17285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17292 rm -f conftest.
$ac_objext
17293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17294 (eval $ac_compile) 2>conftest.er1
17296 grep -v '^ *+' conftest.er1
>conftest.err
17298 cat conftest.err
>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } &&
17301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; } &&
17307 { ac_try
='test -s conftest.$ac_objext'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.
$ac_ext >&5
17318 ac_lo
=`expr '(' $ac_mid ')' + 1`
17320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17323 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17325 See \`config.log' for more details." >&5
17326 echo "$as_me: error: cannot compute sizeof (long long), 77
17327 See \`config.log' for more details." >&2;}
17328 { (exit 1); exit 1; }; } ;;
17331 if test "$cross_compiling" = yes; then
17332 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17333 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17334 { (exit 1); exit 1; }; }
17336 cat >conftest.
$ac_ext <<_ACEOF
17339 cat confdefs.h
>>conftest.
$ac_ext
17340 cat >>conftest.
$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 $ac_includes_default
17343 long longval () { return (long) (sizeof (long long)); }
17344 unsigned long ulongval () { return (long) (sizeof (long long)); }
17346 #include <stdlib.h>
17351 FILE *f = fopen ("conftest.val", "w");
17354 if (((long) (sizeof (long long))) < 0)
17356 long i = longval ();
17357 if (i != ((long) (sizeof (long long))))
17359 fprintf (f, "%ld\n", i);
17363 unsigned long i = ulongval ();
17364 if (i != ((long) (sizeof (long long))))
17366 fprintf (f, "%lu\n", i);
17368 exit (ferror (f) || fclose (f) != 0);
17374 rm -f conftest
$ac_exeext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17376 (eval $ac_link) 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17381 (eval $ac_try) 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; }; then
17385 ac_cv_sizeof_long_long
=`cat conftest.val`
17387 echo "$as_me: program exited with status $ac_status" >&5
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.
$ac_ext >&5
17391 ( exit $ac_status )
17392 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17393 See \`config.log' for more details." >&5
17394 echo "$as_me: error: cannot compute sizeof (long long), 77
17395 See \`config.log' for more details." >&2;}
17396 { (exit 1); exit 1; }; }
17398 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17403 ac_cv_sizeof_long_long
=0
17406 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17407 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17408 cat >>confdefs.h
<<_ACEOF
17409 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17414 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17415 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17416 if test "${wine_cv_linux_input_h+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. */
17426 #include <linux/input.h>
17432 int foo = EVIOCGBIT(EV_ABS,42);
17433 int bar = BTN_PINKIE;
17440 rm -f conftest.
$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17444 grep -v '^ *+' conftest.er1
>conftest.err
17446 cat conftest.err
>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; } &&
17455 { ac_try
='test -s conftest.$ac_objext'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461 wine_cv_linux_input_h
=yes
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.
$ac_ext >&5
17466 wine_cv_linux_input_h
=no
17468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17471 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17472 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17473 if test "$wine_cv_linux_input_h" = "yes"
17476 cat >>confdefs.h
<<\_ACEOF
17477 #define HAVE_CORRECT_LINUXINPUT_H 1
17483 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17484 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17485 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17486 echo $ECHO_N "(cached) $ECHO_C" >&6
17488 cat >conftest.
$ac_ext <<_ACEOF
17491 cat confdefs.h
>>conftest.
$ac_ext
17492 cat >>conftest.
$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17503 struct hostent *result;
17510 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17511 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17517 rm -f conftest.
$ac_objext conftest
$ac_exeext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17519 (eval $ac_link) 2>conftest.er1
17521 grep -v '^ *+' conftest.er1
>conftest.err
17523 cat conftest.err
>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try
='test -s conftest$ac_exeext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 wine_cv_linux_gethostbyname_r_6
=yes
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.
$ac_ext >&5
17543 wine_cv_linux_gethostbyname_r_6
=no
17546 rm -f conftest.err conftest.
$ac_objext \
17547 conftest
$ac_exeext conftest.
$ac_ext
17550 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17551 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17552 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17555 cat >>confdefs.h
<<\_ACEOF
17556 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17561 if test "$ac_cv_header_linux_joystick_h" = "yes"
17563 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17564 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17565 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17568 cat >conftest.
$ac_ext <<_ACEOF
17571 cat confdefs.h
>>conftest.
$ac_ext
17572 cat >>conftest.
$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17575 #include <sys/ioctl.h>
17576 #include <linux/joystick.h>
17578 struct js_event blub;
17579 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17580 #error "no 2.2 header"
17591 rm -f conftest.
$ac_objext
17592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17593 (eval $ac_compile) 2>conftest.er1
17595 grep -v '^ *+' conftest.er1
>conftest.err
17597 cat conftest.err
>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } &&
17600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602 (eval $ac_try) 2>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); }; } &&
17606 { ac_try
='test -s conftest.$ac_objext'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; }; then
17612 wine_cv_linux_joystick_22_api
=yes
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.
$ac_ext >&5
17617 wine_cv_linux_joystick_22_api
=no
17619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17622 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17623 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17624 if test "$wine_cv_linux_joystick_22_api" = "yes"
17627 cat >>confdefs.h
<<\_ACEOF
17628 #define HAVE_LINUX_22_JOYSTICK_API 1
17635 if test "$ac_cv_header_sys_vfs_h" = "yes"
17637 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17638 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17639 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 cat >conftest.
$ac_ext <<_ACEOF
17645 cat confdefs.h
>>conftest.
$ac_ext
17646 cat >>conftest.
$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17649 #include <sys/types.h>
17650 #ifdef HAVE_SYS_PARAM_H
17651 # include <sys/param.h>
17653 #include <sys/vfs.h>
17659 struct statfs stfs;
17661 memset(&stfs,0,sizeof(stfs));
17667 rm -f conftest.
$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>conftest.er1
17671 grep -v '^ *+' conftest.er1
>conftest.err
17673 cat conftest.err
>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; } &&
17682 { ac_try
='test -s conftest.$ac_objext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 wine_cv_sys_vfs_has_statfs
=yes
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.
$ac_ext >&5
17693 wine_cv_sys_vfs_has_statfs
=no
17696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17699 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17700 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17701 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17704 cat >>confdefs.h
<<\_ACEOF
17705 #define STATFS_DEFINED_BY_SYS_VFS 1
17711 if test "$ac_cv_header_sys_statfs_h" = "yes"
17713 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17714 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17715 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 cat >conftest.
$ac_ext <<_ACEOF
17721 cat confdefs.h
>>conftest.
$ac_ext
17722 cat >>conftest.
$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17725 #include <sys/types.h>
17726 #ifdef HAVE_SYS_PARAM_H
17727 # include <sys/param.h>
17729 #include <sys/statfs.h>
17735 struct statfs stfs;
17741 rm -f conftest.
$ac_objext
17742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17743 (eval $ac_compile) 2>conftest.er1
17745 grep -v '^ *+' conftest.er1
>conftest.err
17747 cat conftest.err
>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } &&
17750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 (eval $ac_try) 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; } &&
17756 { ac_try
='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 wine_cv_sys_statfs_has_statfs
=yes
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.
$ac_ext >&5
17767 wine_cv_sys_statfs_has_statfs
=no
17770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17773 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
17774 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
17775 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
17778 cat >>confdefs.h
<<\_ACEOF
17779 #define STATFS_DEFINED_BY_SYS_STATFS 1
17785 if test "$ac_cv_header_sys_mount_h" = "yes"
17787 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
17788 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
17789 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
17790 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 cat >conftest.
$ac_ext <<_ACEOF
17795 cat confdefs.h
>>conftest.
$ac_ext
17796 cat >>conftest.
$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17799 #include <sys/types.h>
17800 #ifdef HAVE_SYS_PARAM_H
17801 # include <sys/param.h>
17803 #include <sys/mount.h>
17809 struct statfs stfs;
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 wine_cv_sys_mount_has_statfs
=yes
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.
$ac_ext >&5
17841 wine_cv_sys_mount_has_statfs
=no
17844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17847 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
17848 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
17849 if test "$wine_cv_sys_mount_has_statfs" = "yes"
17852 cat >>confdefs.h
<<\_ACEOF
17853 #define STATFS_DEFINED_BY_SYS_MOUNT 1
17860 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17861 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
17862 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 cat >conftest.
$ac_ext <<_ACEOF
17868 cat confdefs.h
>>conftest.
$ac_ext
17869 cat >>conftest.
$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <sys/types.h>
17872 #ifdef HAVE_SYS_PARAM_H
17873 # include <sys/param.h>
17875 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17876 # include <sys/mount.h>
17878 # ifdef STATFS_DEFINED_BY_SYS_VFS
17879 # include <sys/vfs.h>
17881 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17882 # include <sys/statfs.h>
17890 static struct statfs ac_aggr;
17891 if (ac_aggr.f_bfree)
17897 rm -f conftest.
$ac_objext
17898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17899 (eval $ac_compile) 2>conftest.er1
17901 grep -v '^ *+' conftest.er1
>conftest.err
17903 cat conftest.err
>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } &&
17906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; } &&
17912 { ac_try
='test -s conftest.$ac_objext'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; }; then
17918 ac_cv_member_struct_statfs_f_bfree
=yes
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.
$ac_ext >&5
17923 cat >conftest.
$ac_ext <<_ACEOF
17926 cat confdefs.h
>>conftest.
$ac_ext
17927 cat >>conftest.
$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17929 #include <sys/types.h>
17930 #ifdef HAVE_SYS_PARAM_H
17931 # include <sys/param.h>
17933 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17934 # include <sys/mount.h>
17936 # ifdef STATFS_DEFINED_BY_SYS_VFS
17937 # include <sys/vfs.h>
17939 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17940 # include <sys/statfs.h>
17948 static struct statfs ac_aggr;
17949 if (sizeof ac_aggr.f_bfree)
17955 rm -f conftest.
$ac_objext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957 (eval $ac_compile) 2>conftest.er1
17959 grep -v '^ *+' conftest.er1
>conftest.err
17961 cat conftest.err
>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
17964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; } &&
17970 { ac_try
='test -s conftest.$ac_objext'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; }; then
17976 ac_cv_member_struct_statfs_f_bfree
=yes
17978 echo "$as_me: failed program was:" >&5
17979 sed 's/^/| /' conftest.
$ac_ext >&5
17981 ac_cv_member_struct_statfs_f_bfree
=no
17983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17987 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17988 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
17989 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17991 cat >>confdefs.h
<<_ACEOF
17992 #define HAVE_STRUCT_STATFS_F_BFREE 1
17997 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17998 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
17999 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18002 cat >conftest.
$ac_ext <<_ACEOF
18005 cat confdefs.h
>>conftest.
$ac_ext
18006 cat >>conftest.
$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18008 #include <sys/types.h>
18009 #ifdef HAVE_SYS_PARAM_H
18010 # include <sys/param.h>
18012 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18013 # include <sys/mount.h>
18015 # ifdef STATFS_DEFINED_BY_SYS_VFS
18016 # include <sys/vfs.h>
18018 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18019 # include <sys/statfs.h>
18027 static struct statfs ac_aggr;
18028 if (ac_aggr.f_bavail)
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 ac_cv_member_struct_statfs_f_bavail
=yes
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18060 cat >conftest.
$ac_ext <<_ACEOF
18063 cat confdefs.h
>>conftest.
$ac_ext
18064 cat >>conftest.
$ac_ext <<_ACEOF
18065 /* end confdefs.h. */
18066 #include <sys/types.h>
18067 #ifdef HAVE_SYS_PARAM_H
18068 # include <sys/param.h>
18070 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18071 # include <sys/mount.h>
18073 # ifdef STATFS_DEFINED_BY_SYS_VFS
18074 # include <sys/vfs.h>
18076 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18077 # include <sys/statfs.h>
18085 static struct statfs ac_aggr;
18086 if (sizeof ac_aggr.f_bavail)
18092 rm -f conftest.
$ac_objext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18094 (eval $ac_compile) 2>conftest.er1
18096 grep -v '^ *+' conftest.er1
>conftest.err
18098 cat conftest.err
>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } &&
18101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103 (eval $ac_try) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); }; } &&
18107 { ac_try
='test -s conftest.$ac_objext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 ac_cv_member_struct_statfs_f_bavail
=yes
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.
$ac_ext >&5
18118 ac_cv_member_struct_statfs_f_bavail
=no
18120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18124 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18125 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18126 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18128 cat >>confdefs.h
<<_ACEOF
18129 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18136 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18137 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18138 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18139 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 cat >conftest.
$ac_ext <<_ACEOF
18144 cat confdefs.h
>>conftest.
$ac_ext
18145 cat >>conftest.
$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 #include <sys/types.h>
18148 #ifdef HAVE_SYS_SOCKET_H
18149 # include <sys/socket.h>
18151 #ifdef HAVE_SYS_UN_H
18152 # include <sys/un.h>
18158 static struct msghdr ac_aggr;
18159 if (ac_aggr.msg_accrights)
18165 rm -f conftest.
$ac_objext
18166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18167 (eval $ac_compile) 2>conftest.er1
18169 grep -v '^ *+' conftest.er1
>conftest.err
18171 cat conftest.err
>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); } &&
18174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; } &&
18180 { ac_try
='test -s conftest.$ac_objext'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; }; then
18186 ac_cv_member_struct_msghdr_msg_accrights
=yes
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.
$ac_ext >&5
18191 cat >conftest.
$ac_ext <<_ACEOF
18194 cat confdefs.h
>>conftest.
$ac_ext
18195 cat >>conftest.
$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18197 #include <sys/types.h>
18198 #ifdef HAVE_SYS_SOCKET_H
18199 # include <sys/socket.h>
18201 #ifdef HAVE_SYS_UN_H
18202 # include <sys/un.h>
18208 static struct msghdr ac_aggr;
18209 if (sizeof ac_aggr.msg_accrights)
18215 rm -f conftest.
$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18219 grep -v '^ *+' conftest.er1
>conftest.err
18221 cat conftest.err
>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try
='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_cv_member_struct_msghdr_msg_accrights
=yes
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.
$ac_ext >&5
18241 ac_cv_member_struct_msghdr_msg_accrights
=no
18243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18247 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18248 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18249 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18251 cat >>confdefs.h
<<_ACEOF
18252 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18257 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18258 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18259 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 cat >conftest.
$ac_ext <<_ACEOF
18265 cat confdefs.h
>>conftest.
$ac_ext
18266 cat >>conftest.
$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 #include <sys/types.h>
18269 #ifdef HAVE_SYS_SOCKET_H
18270 # include <sys/socket.h>
18272 #ifdef HAVE_SYS_UN_H
18273 # include <sys/un.h>
18279 static struct sockaddr ac_aggr;
18280 if (ac_aggr.sa_len)
18286 rm -f conftest.
$ac_objext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18288 (eval $ac_compile) 2>conftest.er1
18290 grep -v '^ *+' conftest.er1
>conftest.err
18292 cat conftest.err
>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try
='test -s conftest.$ac_objext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_cv_member_struct_sockaddr_sa_len
=yes
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.
$ac_ext >&5
18312 cat >conftest.
$ac_ext <<_ACEOF
18315 cat confdefs.h
>>conftest.
$ac_ext
18316 cat >>conftest.
$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18318 #include <sys/types.h>
18319 #ifdef HAVE_SYS_SOCKET_H
18320 # include <sys/socket.h>
18322 #ifdef HAVE_SYS_UN_H
18323 # include <sys/un.h>
18329 static struct sockaddr ac_aggr;
18330 if (sizeof ac_aggr.sa_len)
18336 rm -f conftest.
$ac_objext
18337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18338 (eval $ac_compile) 2>conftest.er1
18340 grep -v '^ *+' conftest.er1
>conftest.err
18342 cat conftest.err
>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } &&
18345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; } &&
18351 { ac_try
='test -s conftest.$ac_objext'
18352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18353 (eval $ac_try) 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; }; then
18357 ac_cv_member_struct_sockaddr_sa_len
=yes
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.
$ac_ext >&5
18362 ac_cv_member_struct_sockaddr_sa_len
=no
18364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18368 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18369 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18370 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18372 cat >>confdefs.h
<<_ACEOF
18373 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18378 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18379 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18380 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18383 cat >conftest.
$ac_ext <<_ACEOF
18386 cat confdefs.h
>>conftest.
$ac_ext
18387 cat >>conftest.
$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 #include <sys/types.h>
18390 #ifdef HAVE_SYS_SOCKET_H
18391 # include <sys/socket.h>
18393 #ifdef HAVE_SYS_UN_H
18394 # include <sys/un.h>
18400 static struct sockaddr_un ac_aggr;
18401 if (ac_aggr.sun_len)
18407 rm -f conftest.
$ac_objext
18408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18409 (eval $ac_compile) 2>conftest.er1
18411 grep -v '^ *+' conftest.er1
>conftest.err
18413 cat conftest.err
>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } &&
18416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try
='test -s conftest.$ac_objext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.
$ac_ext >&5
18433 cat >conftest.
$ac_ext <<_ACEOF
18436 cat confdefs.h
>>conftest.
$ac_ext
18437 cat >>conftest.
$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 #include <sys/types.h>
18440 #ifdef HAVE_SYS_SOCKET_H
18441 # include <sys/socket.h>
18443 #ifdef HAVE_SYS_UN_H
18444 # include <sys/un.h>
18450 static struct sockaddr_un ac_aggr;
18451 if (sizeof ac_aggr.sun_len)
18457 rm -f conftest.
$ac_objext
18458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18459 (eval $ac_compile) 2>conftest.er1
18461 grep -v '^ *+' conftest.er1
>conftest.err
18463 cat conftest.err
>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } &&
18466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; } &&
18472 { ac_try
='test -s conftest.$ac_objext'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; }; then
18478 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.
$ac_ext >&5
18483 ac_cv_member_struct_sockaddr_un_sun_len
=no
18485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18489 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18490 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18491 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18493 cat >>confdefs.h
<<_ACEOF
18494 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18501 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18502 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18503 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18504 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 cat >conftest.
$ac_ext <<_ACEOF
18509 cat confdefs.h
>>conftest.
$ac_ext
18510 cat >>conftest.
$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 #include <signal.h>
18517 static siginfo_t ac_aggr;
18524 rm -f conftest.
$ac_objext
18525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18526 (eval $ac_compile) 2>conftest.er1
18528 grep -v '^ *+' conftest.er1
>conftest.err
18530 cat conftest.err
>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; } &&
18539 { ac_try
='test -s conftest.$ac_objext'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; }; then
18545 ac_cv_member_siginfo_t_si_fd
=yes
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.
$ac_ext >&5
18550 cat >conftest.
$ac_ext <<_ACEOF
18553 cat confdefs.h
>>conftest.
$ac_ext
18554 cat >>conftest.
$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <signal.h>
18561 static siginfo_t ac_aggr;
18562 if (sizeof ac_aggr.si_fd)
18568 rm -f conftest.
$ac_objext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18570 (eval $ac_compile) 2>conftest.er1
18572 grep -v '^ *+' conftest.er1
>conftest.err
18574 cat conftest.err
>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try
='test -s conftest.$ac_objext'
18584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18585 (eval $ac_try) 2>&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; }; then
18589 ac_cv_member_siginfo_t_si_fd
=yes
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.
$ac_ext >&5
18594 ac_cv_member_siginfo_t_si_fd
=no
18596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18600 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18601 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18602 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18604 cat >>confdefs.h
<<_ACEOF
18605 #define HAVE_SIGINFO_T_SI_FD 1
18612 echo "$as_me:$LINENO: checking for struct option.name" >&5
18613 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
18614 if test "${ac_cv_member_struct_option_name+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18617 cat >conftest.
$ac_ext <<_ACEOF
18620 cat confdefs.h
>>conftest.
$ac_ext
18621 cat >>conftest.
$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 #ifdef HAVE_GETOPT_H
18624 #include <getopt.h>
18630 static struct option ac_aggr;
18637 rm -f conftest.
$ac_objext
18638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18639 (eval $ac_compile) 2>conftest.er1
18641 grep -v '^ *+' conftest.er1
>conftest.err
18643 cat conftest.err
>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } &&
18646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18648 (eval $ac_try) 2>&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; } &&
18652 { ac_try
='test -s conftest.$ac_objext'
18653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18654 (eval $ac_try) 2>&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); }; }; then
18658 ac_cv_member_struct_option_name
=yes
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.
$ac_ext >&5
18663 cat >conftest.
$ac_ext <<_ACEOF
18666 cat confdefs.h
>>conftest.
$ac_ext
18667 cat >>conftest.
$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18669 #ifdef HAVE_GETOPT_H
18670 #include <getopt.h>
18676 static struct option ac_aggr;
18677 if (sizeof ac_aggr.name)
18683 rm -f conftest.
$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18687 grep -v '^ *+' conftest.er1
>conftest.err
18689 cat conftest.err
>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try
='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_cv_member_struct_option_name
=yes
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 ac_cv_member_struct_option_name
=no
18711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18715 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
18716 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
18717 if test $ac_cv_member_struct_option_name = yes; then
18719 cat >>confdefs.h
<<_ACEOF
18720 #define HAVE_STRUCT_OPTION_NAME 1
18727 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18728 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18729 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 cat >conftest.
$ac_ext <<_ACEOF
18735 cat confdefs.h
>>conftest.
$ac_ext
18736 cat >>conftest.
$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 $ac_includes_default
18742 static struct stat ac_aggr;
18743 if (ac_aggr.st_blocks)
18749 rm -f conftest.
$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18753 grep -v '^ *+' conftest.er1
>conftest.err
18755 cat conftest.err
>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try
='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 ac_cv_member_struct_stat_st_blocks
=yes
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 cat >conftest.
$ac_ext <<_ACEOF
18778 cat confdefs.h
>>conftest.
$ac_ext
18779 cat >>conftest.
$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18785 static struct stat ac_aggr;
18786 if (sizeof ac_aggr.st_blocks)
18792 rm -f conftest.
$ac_objext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18794 (eval $ac_compile) 2>conftest.er1
18796 grep -v '^ *+' conftest.er1
>conftest.err
18798 cat conftest.err
>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try
='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_cv_member_struct_stat_st_blocks
=yes
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.
$ac_ext >&5
18818 ac_cv_member_struct_stat_st_blocks
=no
18820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18824 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18825 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18826 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18828 cat >>confdefs.h
<<_ACEOF
18829 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18838 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
18839 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
18840 if test "${ac_cv_cpp_def___i386__+set}" = set; then
18841 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 cat >conftest.
$ac_ext <<_ACEOF
18846 cat confdefs.h
>>conftest.
$ac_ext
18847 cat >>conftest.
$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18854 $EGREP "yes" >/dev
/null
2>&1; then
18855 ac_cv_cpp_def___i386__
=yes
18857 ac_cv_cpp_def___i386__
=no
18862 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
18863 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
18864 if test $ac_cv_cpp_def___i386__ = yes; then
18865 CFLAGS
="$CFLAGS -D__i386__"
18866 LINTFLAGS
="$LINTFLAGS -D__i386__"
18869 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
18870 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
18871 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 cat >conftest.
$ac_ext <<_ACEOF
18877 cat confdefs.h
>>conftest.
$ac_ext
18878 cat >>conftest.
$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18885 $EGREP "yes" >/dev
/null
2>&1; then
18886 ac_cv_cpp_def___ALPHA__
=yes
18888 ac_cv_cpp_def___ALPHA__
=no
18893 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
18894 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
18895 if test $ac_cv_cpp_def___ALPHA__ = yes; then
18896 CFLAGS
="$CFLAGS -D__ALPHA__"
18897 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
18900 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
18901 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
18902 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 cat >conftest.
$ac_ext <<_ACEOF
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18916 $EGREP "yes" >/dev
/null
2>&1; then
18917 ac_cv_cpp_def___sparc__
=yes
18919 ac_cv_cpp_def___sparc__
=no
18924 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
18925 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
18926 if test $ac_cv_cpp_def___sparc__ = yes; then
18927 CFLAGS
="$CFLAGS -D__sparc__"
18928 LINTFLAGS
="$LINTFLAGS -D__sparc__"
18931 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
18932 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
18933 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 cat >conftest.
$ac_ext <<_ACEOF
18939 cat confdefs.h
>>conftest.
$ac_ext
18940 cat >>conftest.
$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942 #ifndef __powerpc__
18946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18947 $EGREP "yes" >/dev
/null
2>&1; then
18948 ac_cv_cpp_def___powerpc__
=yes
18950 ac_cv_cpp_def___powerpc__
=no
18955 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
18956 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
18957 if test $ac_cv_cpp_def___powerpc__ = yes; then
18958 CFLAGS
="$CFLAGS -D__powerpc__"
18959 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
18964 case $host_vendor in
18965 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
18966 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
18967 if test "${ac_cv_cpp_def___sun__+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18981 $EGREP "yes" >/dev
/null
2>&1; then
18982 ac_cv_cpp_def___sun__
=yes
18984 ac_cv_cpp_def___sun__
=no
18989 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
18990 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
18991 if test $ac_cv_cpp_def___sun__ = yes; then
18992 CFLAGS
="$CFLAGS -D__sun__"
18993 LINTFLAGS
="$LINTFLAGS -D__sun__"
19002 ac_config_commands
="$ac_config_commands controls"
19004 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
19006 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
19008 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
19010 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
19012 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
19014 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
19016 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
19018 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
19020 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
19022 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19024 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19026 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19028 ac_config_commands
="$ac_config_commands dlls/user/dde"
19030 ac_config_commands
="$ac_config_commands dlls/user/resources"
19032 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19034 ac_config_commands
="$ac_config_commands files"
19036 ac_config_commands
="$ac_config_commands graphics"
19038 ac_config_commands
="$ac_config_commands include/wine"
19040 ac_config_commands
="$ac_config_commands misc"
19042 ac_config_commands
="$ac_config_commands objects"
19044 ac_config_commands
="$ac_config_commands programs/regedit/tests"
19046 ac_config_commands
="$ac_config_commands windows"
19049 MAKE_RULES
=Make.rules
19052 MAKE_DLL_RULES
=dlls
/Makedll.rules
19055 MAKE_TEST_RULES
=dlls
/Maketest.rules
19058 MAKE_LIB_RULES
=libs
/Makelib.rules
19061 MAKE_PROG_RULES
=programs
/Makeprog.rules
19064 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
19067 cat >confcache
<<\_ACEOF
19068 # This file is a shell script that caches the results of configure
19069 # tests run on this system so they can be shared between configure
19070 # scripts and configure runs, see configure's option --config-cache.
19071 # It is not useful on other systems. If it contains results you don't
19072 # want to keep, you may remove or edit it.
19074 # config.status only pays attention to the cache file if you give it
19075 # the --recheck option to rerun configure.
19077 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19078 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19079 # following values.
19083 # The following way of writing the cache mishandles newlines in values,
19084 # but we know of no workaround that is simple, portable, and efficient.
19085 # So, don't put newlines in cache variables' values.
19086 # Ultrix sh set writes to stderr and can't be redirected directly,
19087 # and sets the high bit in the cache file unless we assign to the vars.
19090 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19092 # `set' does not quote correctly, so add quotes (double-quote
19093 # substitution turns \\\\ into \\, and sed turns \\ into \).
19096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19099 # `set' quotes correctly as required by POSIX, so do not add quotes.
19101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19110 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19112 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19113 if test -w $cache_file; then
19114 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19115 cat confcache
>$cache_file
19117 echo "not updating unwritable cache $cache_file"
19122 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19123 # Let make expand exec_prefix.
19124 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19126 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19127 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19128 # trailing colons and then remove the whole line if VPATH becomes empty
19129 # (actually we leave an empty line to preserve line numbers).
19130 if test "x$srcdir" = x.
; then
19131 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19132 s/:*\$(srcdir):*/:/;
19133 s/:*\${srcdir}:*/:/;
19135 s/^\([^=]*=[ ]*\):*/\1/;
19141 DEFS
=-DHAVE_CONFIG_H
19145 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19146 # 1. Remove the extension, and $U if already installed.
19147 ac_i
=`echo "$ac_i" |
19148 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19150 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19151 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19153 LIBOBJS
=$ac_libobjs
19155 LTLIBOBJS
=$ac_ltlibobjs
19159 : ${CONFIG_STATUS=./config.status}
19160 ac_clean_files_save
=$ac_clean_files
19161 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19162 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19163 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19164 cat >$CONFIG_STATUS <<_ACEOF
19166 # Generated by $as_me.
19167 # Run this file to recreate the current configuration.
19168 # Compiler output produced by configure, useful for debugging
19169 # configure, is in config.log if it exists.
19172 ac_cs_recheck=false
19174 SHELL=\${CONFIG_SHELL-$SHELL}
19177 cat >>$CONFIG_STATUS <<\_ACEOF
19178 ## --------------------- ##
19179 ## M4sh Initialization. ##
19180 ## --------------------- ##
19182 # Be Bourne compatible
19183 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19186 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19187 # is contrary to our usage. Disable this feature.
19188 alias -g '${1+"$@"}'='"$@"'
19189 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19192 DUALCASE
=1; export DUALCASE
# for MKS sh
19194 # Support unset when possible.
19195 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19202 # Work around bugs in pre-3.0 UWIN ksh.
19203 $as_unset ENV MAIL MAILPATH
19210 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19211 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19212 LC_TELEPHONE LC_TIME
19214 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19215 eval $as_var=C
; export $as_var
19221 # Required to use basename.
19222 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19228 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19229 as_basename
=basename
19235 # Name of the executable.
19236 as_me
=`$as_basename "$0" ||
19237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19238 X"$0" : 'X\(//\)$' \| \
19239 X"$0" : 'X\(/\)$' \| \
19240 . : '\(.\)' 2>/dev/null ||
19242 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19243 /^X\/\(\/\/\)$/{ s//\1/; q; }
19244 /^X\/\(\/\).*/{ s//\1/; q; }
19248 # PATH needs CR, and LINENO needs CR and PATH.
19249 # Avoid depending upon Character Ranges.
19250 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19251 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19252 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19253 as_cr_digits
='0123456789'
19254 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19256 # The user is always right.
19257 if test "${PATH_SEPARATOR+set}" != set; then
19258 echo "#! /bin/sh" >conf$$.sh
19259 echo "exit 0" >>conf$$.sh
19261 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19270 as_lineno_1
=$LINENO
19271 as_lineno_2
=$LINENO
19272 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19273 test "x$as_lineno_1" != "x$as_lineno_2" &&
19274 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19275 # Find who we are. Look in the path if we contain no path at all
19278 *[\\/]* ) as_myself
=$0 ;;
19279 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19280 for as_dir
in $PATH
19283 test -z "$as_dir" && as_dir
=.
19284 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19289 # We did not find ourselves, most probably we were run as `sh COMMAND'
19290 # in which case we are not to be found in the path.
19291 if test "x$as_myself" = x
; then
19294 if test ! -f "$as_myself"; then
19295 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19296 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19297 { (exit 1); exit 1; }; }
19299 case $CONFIG_SHELL in
19301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19302 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19305 test -z "$as_dir" && as_dir
=.
19306 for as_base
in sh bash ksh sh5
; do
19309 if ("$as_dir/$as_base" -c '
19310 as_lineno_1=$LINENO
19311 as_lineno_2=$LINENO
19312 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19313 test "x$as_lineno_1" != "x$as_lineno_2" &&
19314 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19315 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19316 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19317 CONFIG_SHELL
=$as_dir/$as_base
19318 export CONFIG_SHELL
19319 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19327 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19328 # uniformly replaced by the line number. The first 'sed' inserts a
19329 # line-number line before each line; the second 'sed' does the real
19330 # work. The second script uses 'N' to pair each line-number line
19331 # with the numbered line, and appends trailing '-' during
19332 # substitution so that $LINENO is not a special case at line end.
19333 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19334 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19335 sed '=' <$as_myself |
19340 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19343 s,^['$as_cr_digits']*\n,,
19344 ' >$as_me.lineno
&&
19345 chmod +x
$as_me.lineno ||
19346 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19347 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19348 { (exit 1); exit 1; }; }
19350 # Don't try to exec as it changes $[0], causing all sort of problems
19351 # (the dirname of $[0] is not the place where we might find the
19352 # original and so on. Autoconf is especially sensible to this).
19354 # Exit status is that of the last command.
19359 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19360 *c
*,-n*) ECHO_N
= ECHO_C
='
19362 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19363 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19366 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19372 rm -f conf$$ conf$$.exe conf$$.
file
19374 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19375 # We could just check for DJGPP; but this test a) works b) is more generic
19376 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19377 if test -f conf$$.exe
; then
19378 # Don't use ln at all; we don't have any links
19383 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19388 rm -f conf$$ conf$$.exe conf$$.
file
19390 if mkdir
-p .
2>/dev
/null
; then
19393 test -d .
/-p && rmdir .
/-p
19397 as_executable_p
="test -f"
19399 # Sed expression to map a string onto a valid CPP name.
19400 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19402 # Sed expression to map a string onto a valid variable name.
19403 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19407 # We need space, tab and new line, in precisely that order.
19417 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19418 # report actual input values of CONFIG_FILES etc. instead of their
19419 # values after options handling. Logging --version etc. is OK.
19423 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19424 ## Running $as_me. ##
19429 This file was extended by Wine $as_me 20040121, which was
19430 generated by GNU Autoconf 2.59. Invocation command line was
19432 CONFIG_FILES = $CONFIG_FILES
19433 CONFIG_HEADERS = $CONFIG_HEADERS
19434 CONFIG_LINKS = $CONFIG_LINKS
19435 CONFIG_COMMANDS = $CONFIG_COMMANDS
19439 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19443 # Files that config.status was made for.
19444 if test -n "$ac_config_files"; then
19445 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19448 if test -n "$ac_config_headers"; then
19449 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19452 if test -n "$ac_config_links"; then
19453 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19456 if test -n "$ac_config_commands"; then
19457 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19460 cat >>$CONFIG_STATUS <<\_ACEOF
19463 \`$as_me' instantiates files from templates according to the
19464 current configuration.
19466 Usage: $0 [OPTIONS] [FILE]...
19468 -h, --help print this help, then exit
19469 -V, --version print version number, then exit
19470 -q, --quiet do not print progress messages
19471 -d, --debug don't remove temporary files
19472 --recheck update $as_me by reconfiguring in the same conditions
19473 --file=FILE[:TEMPLATE]
19474 instantiate the configuration file FILE
19475 --header=FILE[:TEMPLATE]
19476 instantiate the configuration header FILE
19478 Configuration files:
19481 Configuration headers:
19484 Configuration commands:
19487 Report bugs to <bug-autoconf@gnu.org>."
19490 cat >>$CONFIG_STATUS <<_ACEOF
19492 Wine config.status 20040121
19493 configured by $0, generated by GNU Autoconf 2.59,
19494 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19496 Copyright (C) 2003 Free Software Foundation, Inc.
19497 This config.status script is free software; the Free Software Foundation
19498 gives unlimited permission to copy, distribute and modify it."
19503 cat >>$CONFIG_STATUS <<\_ACEOF
19504 # If no file are specified by the user, then we need to provide default
19505 # value. By we need to know if files were specified by the user.
19511 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19512 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19520 *) # This is not an option, so the user has probably given explicit
19523 ac_need_defaults
=false
;;
19527 # Handling of the options.
19529 cat >>$CONFIG_STATUS <<\_ACEOF
19530 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19532 --version |
--vers* |
-V )
19533 echo "$ac_cs_version"; exit 0 ;;
19535 # Conflict between --help and --header
19536 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19537 Try \`$0 --help' for more information." >&5
19538 echo "$as_me: error: ambiguous option: $1
19539 Try \`$0 --help' for more information." >&2;}
19540 { (exit 1); exit 1; }; };;
19541 --help |
--hel |
-h )
19542 echo "$ac_cs_usage"; exit 0 ;;
19543 --debug |
--d* |
-d )
19545 --file |
--fil |
--fi |
--f )
19547 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19548 ac_need_defaults
=false
;;
19549 --header |
--heade |
--head |
--hea )
19551 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19552 ac_need_defaults
=false
;;
19553 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19554 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19557 # This is an error.
19558 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19559 Try \`$0 --help' for more information." >&5
19560 echo "$as_me: error: unrecognized option: $1
19561 Try \`$0 --help' for more information." >&2;}
19562 { (exit 1); exit 1; }; } ;;
19564 *) ac_config_targets
="$ac_config_targets $1" ;;
19570 ac_configure_extra_args
=
19572 if $ac_cs_silent; then
19574 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19578 cat >>$CONFIG_STATUS <<_ACEOF
19579 if \$ac_cs_recheck; then
19580 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19581 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19590 cat >>$CONFIG_STATUS <<\_ACEOF
19591 for ac_config_target
in $ac_config_targets
19593 case "$ac_config_target" in
19594 # Handling of arguments.
19595 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
19596 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
19597 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
19598 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
19599 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
19600 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19601 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
19602 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
19603 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
19604 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
19605 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
19606 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
19607 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
19608 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
19609 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
19610 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
19611 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
19612 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
19613 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
19614 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
19615 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
19616 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
19617 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
19618 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
19619 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
19620 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
19621 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
19622 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
19623 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
19624 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
19625 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
19626 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
19627 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
19628 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
19629 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
19630 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
19631 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
19632 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
19633 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
19634 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
19635 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
19636 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
19637 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
19638 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
19639 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
19640 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
19641 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
19642 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
19643 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
19644 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
19645 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
19646 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
19647 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
19648 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
19649 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
19650 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
19651 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
19652 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
19653 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
19654 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
19655 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
19656 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
19657 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
19658 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
19659 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
19660 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
19661 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
19662 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
19663 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
19664 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
19665 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
19666 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
19667 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
19668 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
19669 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
19670 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
19671 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
19672 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
19673 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
19674 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
19675 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
19676 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
19677 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
19678 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
19679 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
19680 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
19681 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
19682 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
19683 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
19684 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
19685 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
19686 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
19687 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
19688 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
19689 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
19690 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
19691 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
19692 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
19693 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
19694 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
19695 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
19696 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
19697 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
19698 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
19699 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
19700 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
19701 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
19702 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
19703 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
19704 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
19705 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
19706 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
19707 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
19708 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
19709 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
19710 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
19711 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
19712 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
19713 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
19714 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
19715 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
19716 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
19717 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
19718 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
19719 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
19720 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
19721 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
19722 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
19723 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
19724 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
19725 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
19726 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
19727 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
19728 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
19729 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
19730 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
19731 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
19732 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
19733 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
19734 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
19735 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
19736 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
19737 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
19738 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
19739 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
19740 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
19741 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
19742 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
19743 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
19744 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
19745 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
19746 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
19747 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
19748 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
19749 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
19750 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
19751 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
19752 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
19753 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
19754 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
19755 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19756 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
19757 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
19758 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
19759 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
19760 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
19761 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
19762 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
19763 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
19764 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
19765 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
19766 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
19767 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
19768 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
19769 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
19770 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
19771 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
19772 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
19773 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
19774 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
19775 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
19776 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
19777 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
19778 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
19779 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
19780 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
19781 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
19782 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
19783 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
19784 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
19785 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
19786 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
19787 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
19788 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
19789 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
19790 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
19791 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
19792 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19793 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
19794 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
19795 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
19796 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
19797 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
19798 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
19799 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
19800 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
19801 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
19802 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
19803 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
19804 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
19805 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
19806 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
19807 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
19808 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
19809 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
19810 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
19811 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
19812 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
19813 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
19814 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
19815 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
19816 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
19817 "graphics" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics" ;;
19818 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
19819 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
19820 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
19821 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
19822 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
19823 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19824 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19825 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19826 { (exit 1); exit 1; }; };;
19830 # If the user did not use the arguments to specify the items to instantiate,
19831 # then the envvar interface is used. Set only those that are not.
19832 # We use the long form for the default assignment because of an extremely
19833 # bizarre bug on SunOS 4.1.3.
19834 if $ac_need_defaults; then
19835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19836 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19837 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19840 # Have a temporary directory for convenience. Make it in the build tree
19841 # simply because there is no reason to put it here, and in addition,
19842 # creating and moving files from /tmp can sometimes cause problems.
19843 # Create a temporary directory, and hook for its removal unless debugging.
19846 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19847 trap '{ (exit 1); exit 1; }' 1 2 13 15
19850 # Create a (secure) tmp directory for tmp files.
19853 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19854 test -n "$tmp" && test -d "$tmp"
19857 tmp
=.
/confstat$$
-$RANDOM
19858 (umask 077 && mkdir
$tmp)
19861 echo "$me: cannot create a temporary directory in ." >&2
19862 { (exit 1); exit 1; }
19867 cat >>$CONFIG_STATUS <<_ACEOF
19870 # CONFIG_FILES section.
19873 # No need to generate the scripts if there are no CONFIG_FILES.
19874 # This happens for instance when ./config.status config.h
19875 if test -n "\$CONFIG_FILES"; then
19876 # Protect against being on the right side of a sed subst in config.status.
19877 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19878 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19879 s,@SHELL@,$SHELL,;t t
19880 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19881 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19882 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19883 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19884 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19885 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19886 s,@exec_prefix@,$exec_prefix,;t t
19887 s,@prefix@,$prefix,;t t
19888 s,@program_transform_name@,$program_transform_name,;t t
19889 s,@bindir@,$bindir,;t t
19890 s,@sbindir@,$sbindir,;t t
19891 s,@libexecdir@,$libexecdir,;t t
19892 s,@datadir@,$datadir,;t t
19893 s,@sysconfdir@,$sysconfdir,;t t
19894 s,@sharedstatedir@,$sharedstatedir,;t t
19895 s,@localstatedir@,$localstatedir,;t t
19896 s,@libdir@,$libdir,;t t
19897 s,@includedir@,$includedir,;t t
19898 s,@oldincludedir@,$oldincludedir,;t t
19899 s,@infodir@,$infodir,;t t
19900 s,@mandir@,$mandir,;t t
19901 s,@build_alias@,$build_alias,;t t
19902 s,@host_alias@,$host_alias,;t t
19903 s,@target_alias@,$target_alias,;t t
19904 s,@DEFS@,$DEFS,;t t
19905 s,@ECHO_C@,$ECHO_C,;t t
19906 s,@ECHO_N@,$ECHO_N,;t t
19907 s,@ECHO_T@,$ECHO_T,;t t
19908 s,@LIBS@,$LIBS,;t t
19909 s,@WIN16_FILES@,$WIN16_FILES,;t t
19910 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
19911 s,@build@,$build,;t t
19912 s,@build_cpu@,$build_cpu,;t t
19913 s,@build_vendor@,$build_vendor,;t t
19914 s,@build_os@,$build_os,;t t
19915 s,@host@,$host,;t t
19916 s,@host_cpu@,$host_cpu,;t t
19917 s,@host_vendor@,$host_vendor,;t t
19918 s,@host_os@,$host_os,;t t
19919 s,@SET_MAKE@,$SET_MAKE,;t t
19921 s,@CFLAGS@,$CFLAGS,;t t
19922 s,@LDFLAGS@,$LDFLAGS,;t t
19923 s,@CPPFLAGS@,$CPPFLAGS,;t t
19924 s,@ac_ct_CC@,$ac_ct_CC,;t t
19925 s,@EXEEXT@,$EXEEXT,;t t
19926 s,@OBJEXT@,$OBJEXT,;t t
19928 s,@TOOLSDIR@,$TOOLSDIR,;t t
19929 s,@X_CFLAGS@,$X_CFLAGS,;t t
19930 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19931 s,@X_LIBS@,$X_LIBS,;t t
19932 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19933 s,@YACC@,$YACC,;t t
19935 s,@LEXLIB@,$LEXLIB,;t t
19936 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
19937 s,@XYACC@,$XYACC,;t t
19938 s,@XLEX@,$XLEX,;t t
19940 s,@ac_ct_AS@,$ac_ct_AS,;t t
19942 s,@ac_ct_LD@,$ac_ct_LD,;t t
19944 s,@ac_ct_AR@,$ac_ct_AR,;t t
19945 s,@RANLIB@,$RANLIB,;t t
19946 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19947 s,@STRIP@,$STRIP,;t t
19948 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19949 s,@WINDRES@,$WINDRES,;t t
19950 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
19951 s,@LN_S@,$LN_S,;t t
19953 s,@LDCONFIG@,$LDCONFIG,;t t
19954 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19955 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19956 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19957 s,@LINT@,$LINT,;t t
19958 s,@LINTFLAGS@,$LINTFLAGS,;t t
19959 s,@DB2HTML@,$DB2HTML,;t t
19960 s,@DB2PDF@,$DB2PDF,;t t
19961 s,@DB2PS@,$DB2PS,;t t
19962 s,@DB2TXT@,$DB2TXT,;t t
19963 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
19964 s,@JPEGLIB@,$JPEGLIB,;t t
19965 s,@EGREP@,$EGREP,;t t
19966 s,@GIFLIB@,$GIFLIB,;t t
19967 s,@XLIB@,$XLIB,;t t
19968 s,@XFILES@,$XFILES,;t t
19969 s,@OPENGLFILES@,$OPENGLFILES,;t t
19970 s,@GLU32FILES@,$GLU32FILES,;t t
19971 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
19972 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
19973 s,@GLUT32FILES@,$GLUT32FILES,;t t
19974 s,@NASLIBS@,$NASLIBS,;t t
19975 s,@CURSESLIBS@,$CURSESLIBS,;t t
19976 s,@sane_devel@,$sane_devel,;t t
19977 s,@SANELIBS@,$SANELIBS,;t t
19978 s,@SANEINCL@,$SANEINCL,;t t
19979 s,@ICULIBS@,$ICULIBS,;t t
19980 s,@ft_devel@,$ft_devel,;t t
19981 s,@ft_devel2@,$ft_devel2,;t t
19982 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
19983 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
19984 s,@ARTSLIBS@,$ARTSLIBS,;t t
19985 s,@ARTSINCL@,$ARTSINCL,;t t
19986 s,@ALSALIBS@,$ALSALIBS,;t t
19987 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
19988 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
19989 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
19990 s,@DLLEXT@,$DLLEXT,;t t
19991 s,@DLLFLAGS@,$DLLFLAGS,;t t
19992 s,@DLLIBS@,$DLLIBS,;t t
19993 s,@LDSHARED@,$LDSHARED,;t t
19994 s,@LDDLL@,$LDDLL,;t t
19995 s,@LIBEXT@,$LIBEXT,;t t
19996 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
19997 s,@DLLTOOL@,$DLLTOOL,;t t
19998 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
19999 s,@DLLWRAP@,$DLLWRAP,;t t
20000 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20001 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20002 s,@CROSSTEST@,$CROSSTEST,;t t
20003 s,@CROSSCC@,$CROSSCC,;t t
20004 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20005 s,@LDPATH@,$LDPATH,;t t
20006 s,@CRTLIBS@,$CRTLIBS,;t t
20007 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20008 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20010 s,@ALLOCA@,$ALLOCA,;t t
20011 s,@LIBOBJS@,$LIBOBJS,;t t
20012 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20013 /@MAKE_RULES@/r $MAKE_RULES
20014 s,@MAKE_RULES@,,;t t
20015 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20016 s,@MAKE_DLL_RULES@,,;t t
20017 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20018 s,@MAKE_TEST_RULES@,,;t t
20019 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20020 s,@MAKE_LIB_RULES@,,;t t
20021 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20022 s,@MAKE_PROG_RULES@,,;t t
20027 cat >>$CONFIG_STATUS <<\_ACEOF
20028 # Split the substitutions into bite-sized pieces for seds with
20029 # small command number limits, like on Digital OSF/1 and HP-UX.
20030 ac_max_sed_lines
=48
20031 ac_sed_frag
=1 # Number of current file.
20032 ac_beg
=1 # First line for current file.
20033 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20036 while $ac_more_lines; do
20037 if test $ac_beg -gt 1; then
20038 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20040 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20042 if test ! -s $tmp/subs.frag
; then
20043 ac_more_lines
=false
20045 # The purpose of the label and of the branching condition is to
20046 # speed up the sed processing (if there are no `@' at all, there
20047 # is no need to browse any of the substitutions).
20048 # These are the two extra sed commands mentioned above.
20050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20051 if test -z "$ac_sed_cmds"; then
20052 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20054 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20056 ac_sed_frag
=`expr $ac_sed_frag + 1`
20058 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20061 if test -z "$ac_sed_cmds"; then
20064 fi # test -n "$CONFIG_FILES"
20067 cat >>$CONFIG_STATUS <<\_ACEOF
20068 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20069 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20071 - |
*:- |
*:-:* ) # input from stdin
20073 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20074 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20075 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20076 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20077 * ) ac_file_in
=$ac_file.
in ;;
20080 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20081 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20082 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20083 X"$ac_file" : 'X\(//\)[^/]' \| \
20084 X"$ac_file" : 'X\(//\)$' \| \
20085 X"$ac_file" : 'X\(/\)' \| \
20086 . : '\(.\)' 2>/dev/null ||
20088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20089 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20090 /^X\(\/\/\)$/{ s//\1/; q; }
20091 /^X\(\/\).*/{ s//\1/; q; }
20093 { if $as_mkdir_p; then
20098 while test ! -d "$as_dir"; do
20099 as_dirs
="$as_dir $as_dirs"
20100 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20101 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20102 X"$as_dir" : 'X\(//\)[^/]' \| \
20103 X"$as_dir" : 'X\(//\)$' \| \
20104 X"$as_dir" : 'X\(/\)' \| \
20105 . : '\(.\)' 2>/dev/null ||
20107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20109 /^X\(\/\/\)$/{ s//\1/; q; }
20110 /^X\(\/\).*/{ s//\1/; q; }
20113 test ! -n "$as_dirs" || mkdir
$as_dirs
20114 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20115 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20116 { (exit 1); exit 1; }; }; }
20120 if test "$ac_dir" != .
; then
20121 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20122 # A "../" for each directory in $ac_dir_suffix.
20123 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20125 ac_dir_suffix
= ac_top_builddir
=
20129 .
) # No --srcdir option. We are building in place.
20131 if test -z "$ac_top_builddir"; then
20134 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20136 [\\/]* | ?
:[\\/]* ) # Absolute path.
20137 ac_srcdir
=$srcdir$ac_dir_suffix;
20138 ac_top_srcdir
=$srcdir ;;
20139 *) # Relative path.
20140 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20141 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20144 # Do not use `cd foo && pwd` to compute absolute paths, because
20145 # the directories may not exist.
20147 .
) ac_abs_builddir
="$ac_dir";;
20150 .
) ac_abs_builddir
=`pwd`;;
20151 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20152 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20155 case $ac_abs_builddir in
20156 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20158 case ${ac_top_builddir}.
in
20159 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20160 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20161 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20164 case $ac_abs_builddir in
20165 .
) ac_abs_srcdir
=$ac_srcdir;;
20168 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20169 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20170 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20173 case $ac_abs_builddir in
20174 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20176 case $ac_top_srcdir in
20177 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20178 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20179 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20185 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20186 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20189 # Let's still pretend it is `configure' which instantiates (i.e., don't
20190 # use $as_me), people would be surprised to read:
20191 # /* config.h. Generated by config.status. */
20192 if test x
"$ac_file" = x-
; then
20195 configure_input
="$ac_file. "
20197 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20198 sed 's,.*/,,'` by configure."
20200 # First look for the input files in the build tree, otherwise in the
20202 ac_file_inputs
=`IFS=:
20203 for f in $ac_file_in; do
20205 -) echo $tmp/stdin ;;
20207 # Absolute (can't be DOS-style, as IFS=:)
20208 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20209 echo "$as_me: error: cannot find input file: $f" >&2;}
20210 { (exit 1); exit 1; }; }
20213 if test -f "$f"; then
20216 elif test -f "$srcdir/$f"; then
20221 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20222 echo "$as_me: error: cannot find input file: $f" >&2;}
20223 { (exit 1); exit 1; }; }
20226 done` ||
{ (exit 1); exit 1; }
20228 if test x
"$ac_file" != x-
; then
20229 { echo "$as_me:$LINENO: creating $ac_file" >&5
20230 echo "$as_me: creating $ac_file" >&6;}
20234 cat >>$CONFIG_STATUS <<_ACEOF
20238 cat >>$CONFIG_STATUS <<\_ACEOF
20240 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20241 s
,@configure_input@
,$configure_input,;t t
20242 s
,@srcdir@
,$ac_srcdir,;t t
20243 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20244 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20245 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20246 s
,@builddir@
,$ac_builddir,;t t
20247 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20248 s
,@top_builddir@
,$ac_top_builddir,;t t
20249 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20250 s
,@INSTALL@
,$ac_INSTALL,;t t
20251 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20253 if test x"$ac_file" != x-; then
20254 mv $tmp/out $ac_file
20262 cat >>$CONFIG_STATUS <<\_ACEOF
20265 # CONFIG_HEADER section.
20268 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20269 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20271 # ac_d sets the value in "#define NAME VALUE" lines.
20272 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20273 ac_dB
='[ ].*$,\1#\2'
20276 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20277 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20278 ac_uB
='$,\1#\2define\3'
20282 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20283 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20285 - |
*:- |
*:-:* ) # input from stdin
20287 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20288 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20289 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20290 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20291 * ) ac_file_in
=$ac_file.
in ;;
20294 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20295 echo "$as_me: creating $ac_file" >&6;}
20297 # First look for the input files in the build tree, otherwise in the
20299 ac_file_inputs
=`IFS=:
20300 for f in $ac_file_in; do
20302 -) echo $tmp/stdin ;;
20304 # Absolute (can't be DOS-style, as IFS=:)
20305 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20306 echo "$as_me: error: cannot find input file: $f" >&2;}
20307 { (exit 1); exit 1; }; }
20308 # Do quote $f, to prevent DOS paths from being IFS'd.
20311 if test -f "$f"; then
20314 elif test -f "$srcdir/$f"; then
20319 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20320 echo "$as_me: error: cannot find input file: $f" >&2;}
20321 { (exit 1); exit 1; }; }
20324 done` ||
{ (exit 1); exit 1; }
20325 # Remove the trailing spaces.
20326 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20330 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20331 # `conftest.undefs', that substitutes the proper values into
20332 # config.h.in to produce config.h. The first handles `#define'
20333 # templates, and the second `#undef' templates.
20334 # And first: Protect against being on the right side of a sed subst in
20335 # config.status. Protect against being in an unquoted here document
20336 # in config.status.
20337 rm -f conftest.defines conftest.undefs
20338 # Using a here document instead of a string reduces the quoting nightmare.
20339 # Putting comments in sed scripts is not portable.
20341 # `end' is used to avoid that the second main sed command (meant for
20342 # 0-ary CPP macros) applies to n-ary macro definitions.
20343 # See the Autoconf documentation for `clear'.
20344 cat >confdef2sed.
sed <<\_ACEOF
20349 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20351 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20354 # If some macros were called several times there might be several times
20355 # the same #defines, which is useless. Nevertheless, we may not want to
20356 # sort them, since we want the *last* AC-DEFINE to be honored.
20357 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20358 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20359 rm -f confdef2sed.sed
20361 # This sed command replaces #undef with comments. This is necessary, for
20362 # example, in the case of _POSIX_SOURCE, which is predefined and required
20363 # on some systems where configure will not decide to define it.
20364 cat >>conftest.undefs <<\_ACEOF
20365 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20368 # Break up conftest.defines because some shells have a limit on the size
20369 # of here documents, and old seds have small limits too (100 cmds).
20370 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20371 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20372 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20373 echo ' :' >>$CONFIG_STATUS
20374 rm -f conftest.tail
20375 while grep . conftest.defines >/dev/null
20377 # Write a limited-size here document to $tmp/defines.sed.
20378 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20379 # Speed up: don't consider the non `#define' lines.
20380 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20381 # Work around the forget-to-reset-the-flag bug.
20382 echo 't clr' >>$CONFIG_STATUS
20383 echo ': clr' >>$CONFIG_STATUS
20384 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20386 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20388 mv $tmp/out $tmp/in
20390 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20391 rm -f conftest.defines
20392 mv conftest.
tail conftest.defines
20394 rm -f conftest.defines
20395 echo ' fi # grep' >>$CONFIG_STATUS
20396 echo >>$CONFIG_STATUS
20398 # Break up conftest.undefs because some shells have a limit on the size
20399 # of here documents, and old seds have small limits too (100 cmds).
20400 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20401 rm -f conftest.
tail
20402 while grep . conftest.undefs
>/dev
/null
20404 # Write a limited-size here document to $tmp/undefs.sed.
20405 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20406 # Speed up: don't consider the non
`#undef'
20407 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20408 # Work around the forget-to-reset-the-flag bug.
20409 echo 't clr' >>$CONFIG_STATUS
20410 echo ': clr' >>$CONFIG_STATUS
20411 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20413 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20415 mv $tmp/out $tmp/in
20417 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20418 rm -f conftest.undefs
20419 mv conftest.tail conftest.undefs
20421 rm -f conftest.undefs
20423 cat >>$CONFIG_STATUS <<\_ACEOF
20424 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20425 # use $as_me), people would be surprised to read:
20426 # /* config.h. Generated by config.status. */
20427 if test x
"$ac_file" = x-
; then
20428 echo "/* Generated by configure. */" >$tmp/config.h
20430 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20432 cat $tmp/in >>$tmp/config.h
20434 if test x
"$ac_file" != x-
; then
20435 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20436 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20437 echo "$as_me: $ac_file is unchanged" >&6;}
20439 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20440 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20441 X"$ac_file" : 'X\(//\)[^/]' \| \
20442 X"$ac_file" : 'X\(//\)$' \| \
20443 X"$ac_file" : 'X\(/\)' \| \
20444 . : '\(.\)' 2>/dev/null ||
20446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20448 /^X\(\/\/\)$/{ s//\1/; q; }
20449 /^X\(\/\).*/{ s//\1/; q; }
20451 { if $as_mkdir_p; then
20456 while test ! -d "$as_dir"; do
20457 as_dirs
="$as_dir $as_dirs"
20458 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20459 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20460 X"$as_dir" : 'X\(//\)[^/]' \| \
20461 X"$as_dir" : 'X\(//\)$' \| \
20462 X"$as_dir" : 'X\(/\)' \| \
20463 . : '\(.\)' 2>/dev/null ||
20465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20467 /^X\(\/\/\)$/{ s//\1/; q; }
20468 /^X\(\/\).*/{ s//\1/; q; }
20471 test ! -n "$as_dirs" || mkdir
$as_dirs
20472 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20473 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20474 { (exit 1); exit 1; }; }; }
20477 mv $tmp/config.h
$ac_file
20481 rm -f $tmp/config.h
20485 cat >>$CONFIG_STATUS <<\_ACEOF
20488 # CONFIG_COMMANDS section.
20490 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20491 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20492 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20493 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20494 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20495 X"$ac_dest" : 'X\(//\)[^/]' \| \
20496 X"$ac_dest" : 'X\(//\)$' \| \
20497 X"$ac_dest" : 'X\(/\)' \| \
20498 . : '\(.\)' 2>/dev/null ||
20500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20501 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20502 /^X\(\/\/\)$/{ s//\1/; q; }
20503 /^X\(\/\).*/{ s//\1/; q; }
20505 { if $as_mkdir_p; then
20510 while test ! -d "$as_dir"; do
20511 as_dirs
="$as_dir $as_dirs"
20512 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20514 X"$as_dir" : 'X\(//\)[^/]' \| \
20515 X"$as_dir" : 'X\(//\)$' \| \
20516 X"$as_dir" : 'X\(/\)' \| \
20517 . : '\(.\)' 2>/dev/null ||
20519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20521 /^X\(\/\/\)$/{ s//\1/; q; }
20522 /^X\(\/\).*/{ s//\1/; q; }
20525 test ! -n "$as_dirs" || mkdir
$as_dirs
20526 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20527 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20528 { (exit 1); exit 1; }; }; }
20532 if test "$ac_dir" != .
; then
20533 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20534 # A "../" for each directory in $ac_dir_suffix.
20535 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20537 ac_dir_suffix
= ac_top_builddir
=
20541 .
) # No --srcdir option. We are building in place.
20543 if test -z "$ac_top_builddir"; then
20546 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20548 [\\/]* | ?
:[\\/]* ) # Absolute path.
20549 ac_srcdir
=$srcdir$ac_dir_suffix;
20550 ac_top_srcdir
=$srcdir ;;
20551 *) # Relative path.
20552 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20553 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20556 # Do not use `cd foo && pwd` to compute absolute paths, because
20557 # the directories may not exist.
20559 .
) ac_abs_builddir
="$ac_dir";;
20562 .
) ac_abs_builddir
=`pwd`;;
20563 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20564 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20567 case $ac_abs_builddir in
20568 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20570 case ${ac_top_builddir}.
in
20571 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20572 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20573 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20576 case $ac_abs_builddir in
20577 .
) ac_abs_srcdir
=$ac_srcdir;;
20580 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20581 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20582 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20585 case $ac_abs_builddir in
20586 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20588 case $ac_top_srcdir in
20589 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20590 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20591 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20596 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20597 echo "$as_me: executing $ac_dest commands" >&6;}
20599 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
20600 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
20601 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
20602 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
20603 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
20604 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
20605 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
20606 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
20607 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
20608 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
20609 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
20610 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
20611 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
20612 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
20613 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
20614 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
20615 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
20616 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
20617 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
20618 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
20619 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
20620 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
20621 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
20622 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
20623 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
20624 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
20625 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
20626 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
20627 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
20628 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
20629 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
20630 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
20631 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
20632 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
20633 graphics
) test -d "graphics" ||
({ echo "$as_me:$LINENO: creating graphics" >&5
20634 echo "$as_me: creating graphics" >&6;} && mkdir
"graphics") ;;
20635 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
20636 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
20637 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
20638 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
20639 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
20640 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
20641 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
20642 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
20643 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
20644 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
20649 cat >>$CONFIG_STATUS <<\_ACEOF
20651 { (exit 0); exit 0; }
20653 chmod +x
$CONFIG_STATUS
20654 ac_clean_files
=$ac_clean_files_save
20657 # configure is writing to config.log, and then calls config.status.
20658 # config.status does its own redirection, appending to config.log.
20659 # Unfortunately, on DOS this fails, as config.log is still kept open
20660 # by configure, so config.status won't be able to write to it; its
20661 # output is simply discarded. So we exec the FD to /dev/null,
20662 # effectively closing config.log, so it can be properly (re)opened and
20663 # appended to by config.status. When coming back to configure, we
20664 # need to make the FD available again.
20665 if test "$no_create" != yes; then
20667 ac_config_status_args
=
20668 test "$silent" = yes &&
20669 ac_config_status_args
="$ac_config_status_args --quiet"
20671 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20673 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20674 # would make configure fail if this is the last instruction.
20675 $ac_cs_success ||
{ (exit 1); exit 1; }
20679 if test "$have_x" = "no"
20682 echo "*** Warning: X development files not found. Wine will be built without"
20683 echo "*** X support, which currently does not work, and would probably not be"
20684 echo "*** what you want anyway. You will need to install devel packages of"
20685 echo "*** Xlib/Xfree86 at the very least."
20688 if test "$wine_cv_opengl_version_OK" = "no"
20691 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
20692 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
20695 if test "$wine_cv_msg_freetype" = "yes"
20698 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
20699 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
20700 echo "*** freetype-devel package (or its equivalent on your distribution) to"
20701 echo "*** enable Wine to use TrueType fonts."
20705 echo "Configure finished. Do 'make depend && make' to compile Wine."