2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.58 for Wine 20031212.
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
='20031212'
273 PACKAGE_STRING
='Wine 20031212'
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 20031212 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 20031212:";;
853 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
854 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
856 do not include Win16 support
858 compile out all debugging messages
860 compile out TRACE messages
863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
869 --with-wine-tools=<dir
>
870 use Wine tools from directory
<dir
>
871 --with-x use the X Window System
873 Some influential environment variables
:
879 linker flags
, e.g.
-L<lib dir
> if you have
880 libraries
in a nonstandard directory
<lib dir
>
882 C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you
883 have headers
in a nonstandard directory
<include dir
>
887 Use these variables to override the choices made by
`configure' or to help
888 it to find libraries and programs with nonstandard names/locations.
890 Report bugs to <wine-devel@winehq.org>.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo
&& pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
986 Wine configure 20031212
987 generated by GNU Autoconf 2.58
989 Copyright (C) 2003 Free Software Foundation, Inc.
990 This configure script is free software; the Free Software Foundation
991 gives unlimited permission to copy, distribute and modify it.
997 This file contains any messages produced by compilers while
998 running configure, to aid debugging if configure makes a mistake.
1000 It was created by Wine $as_me 20031212, which was
1001 generated by GNU Autoconf 2.58. Invocation command line was
1012 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1013 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1014 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1015 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1016 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1019 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1021 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1023 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1024 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1025 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1026 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1027 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1035 test -z "$as_dir" && as_dir=.
1036 echo "PATH: $as_dir"
1051 # Keep a trace of the command line.
1052 # Strip out --no-create and --no-recursion so they do not pile up.
1053 # Strip out --silent because we don't want to record it for future runs.
1054 # Also quote any args containing shell meta-characters.
1055 # Make two passes to allow for proper duplicate-argument suppression.
1060 ac_must_keep_next=false
1066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1077 if test $ac_must_keep_next = true; then
1078 ac_must_keep_next=false # Got value, back to normal.
1081 *=* | --config-cache | -C | -disable-* | --disable-* \
1082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1084 | -with-* | --with-* | -without-* | --without-* | --x)
1085 case "$ac_configure_args0 " in
1086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 -* ) ac_must_keep_next=true ;;
1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093 # Get rid of the leading space.
1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1102 # When interrupted or exit'd, cleanup temporary files, and complete
1103 # config.log. We remove comments because anyway the quotes in there
1104 # would cause problems or look ugly.
1105 # WARNING: Be sure not to use single quotes in there, as some shells,
1106 # such as our DU 5.0 friend, will then `close
' the trap.
1107 trap 'exit_status
=$?
1108 # Save into config.log some information that might help in debugging.
1113 ## ---------------- ##
1114 ## Cache variables. ##
1115 ## ---------------- ##
1118 # The following way of writing the cache mishandles newlines in values,
1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136 ## ----------------- ##
1137 ## Output variables. ##
1138 ## ----------------- ##
1141 for ac_var
in $ac_subst_vars
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -n "$ac_subst_files"; then
1155 for ac_var
in $ac_subst_files
1157 eval ac_val
=$
`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -s confdefs.h
; then
1170 sed "/^$/d" confdefs.h |
sort
1173 test "$ac_signal" != 0 &&
1174 echo "$as_me: caught signal $ac_signal"
1175 echo "$as_me: exit $exit_status"
1177 rm -f core
*.core
&&
1178 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1181 for ac_signal in 1 2 13 15; do
1182 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1187 rm -rf conftest* confdefs.h
1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1191 # Predefined preprocessor variables.
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_NAME "$PACKAGE_NAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_STRING "$PACKAGE_STRING"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1218 # Let the site file select an alternate cache file if it wants to.
1219 # Prefer explicitly selected file to automatically selected ones.
1220 if test -z "$CONFIG_SITE"; then
1221 if test "x$prefix" != xNONE; then
1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1227 for ac_site_file in $CONFIG_SITE; do
1228 if test -r "$ac_site_file"; then
1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230 echo "$as_me: loading site script $ac_site_file" >&6;}
1231 sed 's
/^
/|
/' "$ac_site_file" >&5
1236 if test -r "$cache_file"; then
1237 # Some versions of bash will fail to source /dev/null (special
1238 # files actually), so we avoid doing that.
1239 if test -f "$cache_file"; then
1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241 echo "$as_me: loading cache $cache_file" >&6;}
1243 [\\/]* | ?:[\\/]* ) . $cache_file;;
1244 *) . ./$cache_file;;
1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249 echo "$as_me: creating cache $cache_file" >&6;}
1253 # Check that the precious variables saved in the cache have kept the same
1255 ac_cache_corrupted=false
1256 for ac_var in `(set) 2>&1 |
1257 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259 eval ac_new_set=\$ac_env_${ac_var}_set
1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261 eval ac_new_val="\$ac_env_${ac_var}_value"
1262 case $ac_old_set,$ac_new_set in
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1266 ac_cache_corrupted=: ;;
1268 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1273 if test "x$ac_old_val" != "x$ac_new_val"; then
1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1275 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1277 echo "$as_me: former value: $ac_old_val" >&2;}
1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1279 echo "$as_me: current value: $ac_new_val" >&2;}
1280 ac_cache_corrupted=:
1283 # Pass precious variables to config.status.
1284 if test "$ac_new_set" = set; then
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1288 *) ac_arg=$ac_var=$ac_new_val ;;
1290 case " $ac_configure_args " in
1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1296 if $ac_cache_corrupted; then
1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1300 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301 { (exit 1); exit 1; }; }
1305 ac_cpp='$CPP $CPPFLAGS'
1306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1307 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1337 ac_config_headers="$ac_config_headers include/config.h"
1340 for ac_dir in tools $srcdir/tools; do
1341 if test -f $ac_dir/install-sh; then
1343 ac_install_sh="$ac_aux_dir/install-sh -c"
1345 elif test -f $ac_dir/install.sh; then
1347 ac_install_sh="$ac_aux_dir/install.sh -c"
1349 elif test -f $ac_dir/shtool; then
1351 ac_install_sh="$ac_aux_dir/shtool install -c"
1355 if test -z "$ac_aux_dir"; then
1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1357 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1358 { (exit 1); exit 1; }; }
1360 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1361 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1362 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1366 # Check whether --enable-win16 or --disable-win16 was given.
1367 if test "${enable_win16+set}" = set; then
1368 enableval="$enable_win16"
1371 # Check whether --enable-debug or --disable-debug was given.
1372 if test "${enable_debug+set}" = set; then
1373 enableval="$enable_debug"
1376 # Check whether --enable-trace or --disable-trace was given.
1377 if test "${enable_trace+set}" = set; then
1378 enableval="$enable_trace"
1383 # Check whether --with-opengl or --without-opengl was given.
1384 if test "${with_opengl+set}" = set; then
1385 withval="$with_opengl"
1389 # Check whether --with-curses or --without-curses was given.
1390 if test "${with_curses+set}" = set; then
1391 withval="$with_curses"
1395 # Check whether --with-wine-tools or --without-wine-tools was given.
1396 if test "${with_wine_tools+set}" = set; then
1397 withval="$with_wine_tools"
1401 WIN16_FILES="\$(WIN16_FILES)"
1403 WIN16_INSTALL="\$(WIN16_INSTALL)"
1405 if test "x$enable_win16" = "xno"
1410 if test "x$enable_debug" = "xno"
1413 cat >>confdefs.h <<\_ACEOF
1414 #define NO_DEBUG_MSGS 1
1418 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1421 cat >>confdefs.h <<\_ACEOF
1422 #define NO_TRACE_MSGS 1
1428 # Make sure we can run config.sub.
1429 $ac_config_sub sun4 >/dev/null 2>&1 ||
1430 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1431 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1432 { (exit 1); exit 1; }; }
1434 echo "$as_me:$LINENO: checking build system type" >&5
1435 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1436 if test "${ac_cv_build+set}" = set; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 ac_cv_build_alias=$build_alias
1440 test -z "$ac_cv_build_alias" &&
1441 ac_cv_build_alias=`$ac_config_guess`
1442 test -z "$ac_cv_build_alias" &&
1443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1445 { (exit 1); exit 1; }; }
1446 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1447 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1448 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1449 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1453 echo "${ECHO_T}$ac_cv_build" >&6
1455 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1456 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1457 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1460 echo "$as_me:$LINENO: checking host system type" >&5
1461 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1462 if test "${ac_cv_host+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 ac_cv_host_alias=$host_alias
1466 test -z "$ac_cv_host_alias" &&
1467 ac_cv_host_alias=$ac_cv_build_alias
1468 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1470 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1471 { (exit 1); exit 1; }; }
1474 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1475 echo "${ECHO_T}$ac_cv_host" >&6
1477 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1478 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1479 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1482 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1483 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1484 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1485 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 cat >conftest.make <<\_ACEOF
1490 @echo 'ac_maketemp
="$(MAKE)"'
1492 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1493 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1494 if test -n "$ac_maketemp"; then
1495 eval ac_cv_prog_make_${ac_make}_set=yes
1497 eval ac_cv_prog_make_${ac_make}_set=no
1501 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1502 echo "$as_me:$LINENO: result: yes" >&5
1503 echo "${ECHO_T}yes" >&6
1506 echo "$as_me:$LINENO: result: no" >&5
1507 echo "${ECHO_T}no" >&6
1508 SET_MAKE="MAKE=${MAKE-make}"
1512 ac_cpp='$CPP $CPPFLAGS'
1513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1514 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516 if test -n "$ac_tool_prefix"; then
1517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1518 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1519 echo "$as_me:$LINENO: checking for $ac_word" >&5
1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1521 if test "${ac_cv_prog_CC+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 if test -n "$CC"; then
1525 ac_cv_prog_CC="$CC" # Let the user override the test.
1527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1531 test -z "$as_dir" && as_dir=.
1532 for ac_exec_ext in '' $ac_executable_extensions; do
1533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1534 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544 if test -n "$CC"; then
1545 echo "$as_me:$LINENO: result: $CC" >&5
1546 echo "${ECHO_T}$CC" >&6
1548 echo "$as_me:$LINENO: result: no" >&5
1549 echo "${ECHO_T}no" >&6
1553 if test -z "$ac_cv_prog_CC"; then
1555 # Extract the first word of "gcc", so it can be a program name with args.
1556 set dummy gcc; ac_word=$2
1557 echo "$as_me:$LINENO: checking for $ac_word" >&5
1558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 if test -n "$ac_ct_CC"; then
1563 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir=.
1570 for ac_exec_ext in '' $ac_executable_extensions; do
1571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572 ac_cv_prog_ac_ct_CC="gcc"
1573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1581 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1582 if test -n "$ac_ct_CC"; then
1583 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1584 echo "${ECHO_T}$ac_ct_CC" >&6
1586 echo "$as_me:$LINENO: result: no" >&5
1587 echo "${ECHO_T}no" >&6
1595 if test -z "$CC"; then
1596 if test -n "$ac_tool_prefix"; then
1597 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1598 set dummy ${ac_tool_prefix}cc; ac_word=$2
1599 echo "$as_me:$LINENO: checking for $ac_word" >&5
1600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1601 if test "${ac_cv_prog_CC+set}" = set; then
1602 echo $ECHO_N "(cached) $ECHO_C" >&6
1604 if test -n "$CC"; then
1605 ac_cv_prog_CC="$CC" # Let the user override the test.
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 for ac_exec_ext in '' $ac_executable_extensions; do
1613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614 ac_cv_prog_CC="${ac_tool_prefix}cc"
1615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 if test -n "$CC"; then
1625 echo "$as_me:$LINENO: result: $CC" >&5
1626 echo "${ECHO_T}$CC" >&6
1628 echo "$as_me:$LINENO: result: no" >&5
1629 echo "${ECHO_T}no" >&6
1633 if test -z "$ac_cv_prog_CC"; then
1635 # Extract the first word of "cc", so it can be a program name with args.
1636 set dummy cc; ac_word=$2
1637 echo "$as_me:$LINENO: checking for $ac_word" >&5
1638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 if test -n "$ac_ct_CC"; then
1643 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir=.
1650 for ac_exec_ext in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 ac_cv_prog_ac_ct_CC="cc"
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1662 if test -n "$ac_ct_CC"; then
1663 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1664 echo "${ECHO_T}$ac_ct_CC" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1676 if test -z "$CC"; then
1677 # Extract the first word of "cc", so it can be a program name with args.
1678 set dummy cc; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_CC+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$CC"; then
1685 ac_cv_prog_CC="$CC" # Let the user override the test.
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 for ac_exec_ext in '' $ac_executable_extensions; do
1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1696 ac_prog_rejected=yes
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 if test $ac_prog_rejected = yes; then
1707 # We found a bogon in the path, so make sure we never use it.
1708 set dummy $ac_cv_prog_CC
1710 if test $# != 0; then
1711 # We chose a different compiler from the bogus one.
1712 # However, it has the same basename, so the bogon will be chosen
1713 # first if we set CC to just the basename; use the full file name.
1715 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1721 if test -n "$CC"; then
1722 echo "$as_me:$LINENO: result: $CC" >&5
1723 echo "${ECHO_T}$CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1730 if test -z "$CC"; then
1731 if test -n "$ac_tool_prefix"; then
1734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1736 echo "$as_me:$LINENO: checking for $ac_word" >&5
1737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738 if test "${ac_cv_prog_CC+set}" = set; then
1739 echo $ECHO_N "(cached) $ECHO_C" >&6
1741 if test -n "$CC"; then
1742 ac_cv_prog_CC="$CC" # Let the user override the test.
1744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1748 test -z "$as_dir" && as_dir=.
1749 for ac_exec_ext in '' $ac_executable_extensions; do
1750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1751 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1761 if test -n "$CC"; then
1762 echo "$as_me:$LINENO: result: $CC" >&5
1763 echo "${ECHO_T}$CC" >&6
1765 echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1769 test -n "$CC" && break
1772 if test -z "$CC"; then
1776 # Extract the first word of "$ac_prog", so it can be a program name with args.
1777 set dummy $ac_prog; ac_word=$2
1778 echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1783 if test -n "$ac_ct_CC"; then
1784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 test -z "$as_dir" && as_dir=.
1791 for ac_exec_ext in '' $ac_executable_extensions; do
1792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793 ac_cv_prog_ac_ct_CC="$ac_prog"
1794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1803 if test -n "$ac_ct_CC"; then
1804 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1805 echo "${ECHO_T}$ac_ct_CC" >&6
1807 echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1811 test -n "$ac_ct_CC" && break
1820 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1821 See \`config.log' for more details.
" >&5
1822 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1823 See \
`config.log' for more details." >&2;}
1824 { (exit 1); exit 1; }; }
1826 # Provide some information about the compiler.
1827 echo "$as_me:$LINENO:" \
1828 "checking for C compiler version" >&5
1829 ac_compiler=`set X
$ac_compile; echo $2`
1830 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1831 (eval $ac_compiler --version </dev/null >&5) 2>&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }
1835 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1836 (eval $ac_compiler -v </dev/null >&5) 2>&5
1838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1839 (exit $ac_status); }
1840 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1841 (eval $ac_compiler -V </dev/null >&5) 2>&5
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); }
1846 cat >conftest.$ac_ext <<_ACEOF
1849 cat confdefs.h >>conftest.$ac_ext
1850 cat >>conftest.$ac_ext <<_ACEOF
1851 /* end confdefs.h. */
1861 ac_clean_files_save=$ac_clean_files
1862 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1863 # Try to create an executable without -o first, disregard a.out.
1864 # It will help us diagnose broken compilers, and finding out an intuition
1866 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1867 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1868 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1869 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1870 (eval $ac_link_default) 2>&5
1872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1873 (exit $ac_status); }; then
1874 # Find the output, starting from the most likely. This scheme is
1875 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1878 # Be careful to initialize this variable, since it used to be cached.
1879 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1881 # b.out is created by i960 compilers.
1882 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1884 test -f "$ac_file" || continue
1886 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1889 # This is the source file.
1892 # We found the default executable, but exeext='' is most
1896 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1897 # FIXME: I believe we export ac_cv_exeext for Libtool,
1898 # but it would be cool to find out if it's true. Does anybody
1899 # maintain Libtool? --akim.
1907 echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1910 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1911 See \`config.log
' for more details." >&5
1912 echo "$as_me: error: C compiler cannot create executables
1913 See \`config.log' for more details.
" >&2;}
1914 { (exit 77); exit 77; }; }
1917 ac_exeext=$ac_cv_exeext
1918 echo "$as_me:$LINENO: result
: $ac_file" >&5
1919 echo "${ECHO_T}$ac_file" >&6
1921 # Check the compiler produces executables we can run. If not, either
1922 # the compiler is broken, or we cross compile.
1923 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1924 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1925 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1926 # If not cross compiling, check that we can run a simple program.
1927 if test "$cross_compiling" != yes; then
1928 if { ac_try='./$ac_file'
1929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1933 (exit $ac_status); }; }; then
1936 if test "$cross_compiling" = maybe; then
1939 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1940 If you meant to cross compile
, use \
`--host'.
1941 See \`config.log
' for more details." >&5
1942 echo "$as_me: error: cannot run C compiled programs.
1943 If you meant to cross compile, use \`--host'.
1944 See \
`config.log' for more details." >&2;}
1945 { (exit 1); exit 1; }; }
1949 echo "$as_me:$LINENO: result: yes" >&5
1950 echo "${ECHO_T}yes" >&6
1952 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1953 ac_clean_files=$ac_clean_files_save
1954 # Check the compiler produces executables we can run. If not, either
1955 # the compiler is broken, or we cross compile.
1956 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1957 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1958 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1959 echo "${ECHO_T}$cross_compiling" >&6
1961 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1962 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1964 (eval $ac_link) 2>&5
1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1967 (exit $ac_status); }; then
1968 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1969 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1970 # work properly (i.e., refer to `conftest.exe'), while it won't with
1972 for ac_file
in conftest.exe conftest conftest.
*; do
1973 test -f "$ac_file" ||
continue
1975 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1976 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1983 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1984 See \`config.log' for more details." >&5
1985 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1986 See \`config.log' for more details." >&2;}
1987 { (exit 1); exit 1; }; }
1990 rm -f conftest
$ac_cv_exeext
1991 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1992 echo "${ECHO_T}$ac_cv_exeext" >&6
1994 rm -f conftest.
$ac_ext
1995 EXEEXT
=$ac_cv_exeext
1997 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1998 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1999 if test "${ac_cv_objext+set}" = set; then
2000 echo $ECHO_N "(cached) $ECHO_C" >&6
2002 cat >conftest.
$ac_ext <<_ACEOF
2005 cat confdefs.h
>>conftest.
$ac_ext
2006 cat >>conftest.
$ac_ext <<_ACEOF
2007 /* end confdefs.h. */
2017 rm -f conftest.o conftest.obj
2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019 (eval $ac_compile) 2>&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; then
2023 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2025 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2026 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2031 echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.
$ac_ext >&5
2034 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2035 See \`config.log' for more details." >&5
2036 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2037 See \`config.log' for more details." >&2;}
2038 { (exit 1); exit 1; }; }
2041 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2043 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2044 echo "${ECHO_T}$ac_cv_objext" >&6
2045 OBJEXT
=$ac_cv_objext
2047 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2048 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2049 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 cat >conftest.
$ac_ext <<_ACEOF
2055 cat confdefs.h
>>conftest.
$ac_ext
2056 cat >>conftest.
$ac_ext <<_ACEOF
2057 /* end confdefs.h. */
2070 rm -f conftest.
$ac_objext
2071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2072 (eval $ac_compile) 2>conftest.er1
2074 grep -v '^ *+' conftest.er1
>conftest.err
2076 cat conftest.err
>&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); } &&
2079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; } &&
2085 { ac_try
='test -s conftest.$ac_objext'
2086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }; }; then
2093 echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.
$ac_ext >&5
2098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2099 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2102 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2103 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2104 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2105 ac_test_CFLAGS
=${CFLAGS+set}
2106 ac_save_CFLAGS
=$CFLAGS
2108 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2109 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2110 if test "${ac_cv_prog_cc_g+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 cat >conftest.
$ac_ext <<_ACEOF
2116 cat confdefs.h
>>conftest.
$ac_ext
2117 cat >>conftest.
$ac_ext <<_ACEOF
2118 /* end confdefs.h. */
2128 rm -f conftest.
$ac_objext
2129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2130 (eval $ac_compile) 2>conftest.er1
2132 grep -v '^ *+' conftest.er1
>conftest.err
2134 cat conftest.err
>&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); } &&
2137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 (exit $ac_status); }; } &&
2143 { ac_try
='test -s conftest.$ac_objext'
2144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; }; then
2151 echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.
$ac_ext >&5
2156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2158 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2159 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2160 if test "$ac_test_CFLAGS" = set; then
2161 CFLAGS
=$ac_save_CFLAGS
2162 elif test $ac_cv_prog_cc_g = yes; then
2163 if test "$GCC" = yes; then
2169 if test "$GCC" = yes; then
2175 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2176 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2177 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 ac_cv_prog_cc_stdc
=no
2182 cat >conftest.
$ac_ext <<_ACEOF
2185 cat confdefs.h
>>conftest.
$ac_ext
2186 cat >>conftest.
$ac_ext <<_ACEOF
2187 /* end confdefs.h. */
2190 #include <sys/types.h>
2191 #include <sys/stat.h>
2192 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2193 struct buf { int x; };
2194 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2195 static char *e (p, i)
2201 static char *f (char * (*g) (char **, int), char **p, ...)
2206 s = g (p, va_arg (v,int));
2211 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2212 function prototypes and stuff, but not '\xHH' hex character constants.
2213 These don't provoke an error unfortunately, instead are silently treated
2214 as 'x'. The following induces an error, until -std1 is added to get
2215 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2216 array size at least. It's necessary to write '\x00'==0 to get something
2217 that's true only with -std1. */
2218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2220 int test (int i, double x);
2221 struct s1 {int (*f) (int a);};
2222 struct s2 {int (*f) (double a);};
2223 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2229 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2234 # Don't try gcc -ansi; that turns off useful extensions and
2235 # breaks some systems' header files.
2236 # AIX -qlanglvl=ansi
2237 # Ultrix and OSF/1 -std1
2238 # HP-UX 10.20 and later -Ae
2239 # HP-UX older versions -Aa -D_HPUX_SOURCE
2240 # SVR4 -Xc -D__EXTENSIONS__
2241 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2243 CC
="$ac_save_CC $ac_arg"
2244 rm -f conftest.
$ac_objext
2245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2246 (eval $ac_compile) 2>conftest.er1
2248 grep -v '^ *+' conftest.er1
>conftest.err
2250 cat conftest.err
>&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } &&
2253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; } &&
2259 { ac_try
='test -s conftest.$ac_objext'
2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; }; then
2265 ac_cv_prog_cc_stdc
=$ac_arg
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.
$ac_ext >&5
2272 rm -f conftest.err conftest.
$ac_objext
2274 rm -f conftest.
$ac_ext conftest.
$ac_objext
2279 case "x$ac_cv_prog_cc_stdc" in
2281 echo "$as_me:$LINENO: result: none needed" >&5
2282 echo "${ECHO_T}none needed" >&6 ;;
2284 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2285 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2286 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2289 # Some people use a C++ compiler to compile C. Since we use `exit',
2290 # in C++ we need to declare it. In case someone uses the same compiler
2291 # for both compiling C and C++ we need to have the C++ compiler decide
2292 # the declaration of exit, since it's the most demanding environment.
2293 cat >conftest.
$ac_ext <<_ACEOF
2298 rm -f conftest.
$ac_objext
2299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2300 (eval $ac_compile) 2>conftest.er1
2302 grep -v '^ *+' conftest.er1
>conftest.err
2304 cat conftest.err
>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); } &&
2307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; } &&
2313 { ac_try
='test -s conftest.$ac_objext'
2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; }; then
2319 for ac_declaration
in \
2321 'extern "C" void std::exit (int) throw (); using std::exit;' \
2322 'extern "C" void std::exit (int); using std::exit;' \
2323 'extern "C" void exit (int) throw ();' \
2324 'extern "C" void exit (int);' \
2327 cat >conftest.
$ac_ext <<_ACEOF
2330 cat confdefs.h
>>conftest.
$ac_ext
2331 cat >>conftest.
$ac_ext <<_ACEOF
2332 /* end confdefs.h. */
2343 rm -f conftest.
$ac_objext
2344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2345 (eval $ac_compile) 2>conftest.er1
2347 grep -v '^ *+' conftest.er1
>conftest.err
2349 cat conftest.err
>&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); } &&
2352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } &&
2358 { ac_try
='test -s conftest.$ac_objext'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; }; then
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.
$ac_ext >&5
2371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2372 cat >conftest.
$ac_ext <<_ACEOF
2375 cat confdefs.h
>>conftest.
$ac_ext
2376 cat >>conftest.
$ac_ext <<_ACEOF
2377 /* end confdefs.h. */
2387 rm -f conftest.
$ac_objext
2388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2389 (eval $ac_compile) 2>conftest.er1
2391 grep -v '^ *+' conftest.er1
>conftest.err
2393 cat conftest.err
>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); } &&
2396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; } &&
2402 { ac_try
='test -s conftest.$ac_objext'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; }; then
2410 echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.
$ac_ext >&5
2414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2417 if test -n "$ac_declaration"; then
2418 echo '#ifdef __cplusplus' >>confdefs.h
2419 echo $ac_declaration >>confdefs.h
2420 echo '#endif' >>confdefs.h
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2430 ac_cpp
='$CPP $CPPFLAGS'
2431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2436 ac_cpp
='$CPP $CPPFLAGS'
2437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2440 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2441 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2442 # On Suns, sometimes $CPP names a directory.
2443 if test -n "$CPP" && test -d "$CPP"; then
2446 if test -z "$CPP"; then
2447 if test "${ac_cv_prog_CPP+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 # Double quotes because CPP needs to be expanded
2451 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2454 for ac_c_preproc_warn_flag
in '' yes
2456 # Use a header file that comes with gcc, so configuring glibc
2457 # with a fresh cross-compiler works.
2458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2459 # <limits.h> exists even on freestanding compilers.
2460 # On the NeXT, cc -E runs the code through the compiler's parser,
2461 # not just through cpp. "Syntax error" is here to catch this case.
2462 cat >conftest.
$ac_ext <<_ACEOF
2465 cat confdefs.h
>>conftest.
$ac_ext
2466 cat >>conftest.
$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2469 # include <limits.h>
2471 # include <assert.h>
2475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2478 grep -v '^ *+' conftest.er1
>conftest.err
2480 cat conftest.err
>&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); } >/dev
/null
; then
2483 if test -s conftest.err
; then
2484 ac_cpp_err
=$ac_c_preproc_warn_flag
2485 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2492 if test -z "$ac_cpp_err"; then
2495 echo "$as_me: failed program was:" >&5
2496 sed 's/^/| /' conftest.
$ac_ext >&5
2498 # Broken: fails on valid input.
2501 rm -f conftest.err conftest.
$ac_ext
2503 # OK, works on sane cases. Now check whether non-existent headers
2504 # can be detected and how.
2505 cat >conftest.
$ac_ext <<_ACEOF
2508 cat confdefs.h
>>conftest.
$ac_ext
2509 cat >>conftest.
$ac_ext <<_ACEOF
2510 /* end confdefs.h. */
2511 #include <ac_nonexistent.h>
2513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2516 grep -v '^ *+' conftest.er1
>conftest.err
2518 cat conftest.err
>&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); } >/dev
/null
; then
2521 if test -s conftest.err
; then
2522 ac_cpp_err
=$ac_c_preproc_warn_flag
2523 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2530 if test -z "$ac_cpp_err"; then
2531 # Broken: success on invalid input.
2534 echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.
$ac_ext >&5
2537 # Passes both tests.
2541 rm -f conftest.err conftest.
$ac_ext
2544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2545 rm -f conftest.err conftest.
$ac_ext
2546 if $ac_preproc_ok; then
2558 echo "$as_me:$LINENO: result: $CPP" >&5
2559 echo "${ECHO_T}$CPP" >&6
2561 for ac_c_preproc_warn_flag
in '' yes
2563 # Use a header file that comes with gcc, so configuring glibc
2564 # with a fresh cross-compiler works.
2565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2566 # <limits.h> exists even on freestanding compilers.
2567 # On the NeXT, cc -E runs the code through the compiler's parser,
2568 # not just through cpp. "Syntax error" is here to catch this case.
2569 cat >conftest.
$ac_ext <<_ACEOF
2572 cat confdefs.h
>>conftest.
$ac_ext
2573 cat >>conftest.
$ac_ext <<_ACEOF
2574 /* end confdefs.h. */
2576 # include <limits.h>
2578 # include <assert.h>
2582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2585 grep -v '^ *+' conftest.er1
>conftest.err
2587 cat conftest.err
>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } >/dev
/null
; then
2590 if test -s conftest.err
; then
2591 ac_cpp_err
=$ac_c_preproc_warn_flag
2592 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2599 if test -z "$ac_cpp_err"; then
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2605 # Broken: fails on valid input.
2608 rm -f conftest.err conftest.
$ac_ext
2610 # OK, works on sane cases. Now check whether non-existent headers
2611 # can be detected and how.
2612 cat >conftest.
$ac_ext <<_ACEOF
2615 cat confdefs.h
>>conftest.
$ac_ext
2616 cat >>conftest.
$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2618 #include <ac_nonexistent.h>
2620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2621 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2623 grep -v '^ *+' conftest.er1
>conftest.err
2625 cat conftest.err
>&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); } >/dev
/null
; then
2628 if test -s conftest.err
; then
2629 ac_cpp_err
=$ac_c_preproc_warn_flag
2630 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2637 if test -z "$ac_cpp_err"; then
2638 # Broken: success on invalid input.
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2644 # Passes both tests.
2648 rm -f conftest.err conftest.
$ac_ext
2651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2652 rm -f conftest.err conftest.
$ac_ext
2653 if $ac_preproc_ok; then
2656 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2657 See \`config.log' for more details." >&5
2658 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2659 See \`config.log' for more details." >&2;}
2660 { (exit 1); exit 1; }; }
2664 ac_cpp
='$CPP $CPPFLAGS'
2665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2670 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2671 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2672 if test "${wine_cv_toolsdir+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 if test -z "$with_wine_tools"; then
2676 if test "$cross_compiling" = "yes"; then
2677 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2678 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2679 { (exit 1); exit 1; }; }
2681 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2683 elif test -d "$with_wine_tools/tools/winebuild"; then
2684 case $with_wine_tools in
2685 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2686 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2689 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2690 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2691 { (exit 1); exit 1; }; }
2694 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2695 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2696 TOOLSDIR
=$wine_cv_toolsdir
2701 echo "$as_me:$LINENO: checking for X" >&5
2702 echo $ECHO_N "checking for X... $ECHO_C" >&6
2705 # Check whether --with-x or --without-x was given.
2706 if test "${with_x+set}" = set; then
2710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2711 if test "x$with_x" = xno
; then
2712 # The user explicitly disabled X.
2715 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2716 # Both variables are already set.
2719 if test "${ac_cv_have_x+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 # One or both of the vars are not set, and there is no cached value.
2723 ac_x_includes
=no ac_x_libraries
=no
2725 if mkdir conftest.dir
; then
2727 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2728 cat >Imakefile
<<'_ACEOF'
2730 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2732 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2733 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2734 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2735 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2736 for ac_extension
in a so sl
; do
2737 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2738 test -f $ac_im_libdir/libX11.
$ac_extension; then
2739 ac_im_usrlibdir
=$ac_im_libdir; break
2742 # Screen out bogus values from the imake configuration. They are
2743 # bogus both because they are the default anyway, and because
2744 # using them would break gcc on systems where it needs fixed includes.
2745 case $ac_im_incroot in
2747 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2749 case $ac_im_usrlibdir in
2751 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2758 # Standard set of common directories for X headers.
2759 # Check X11 before X11Rn because it is often a symlink to the current release.
2771 /usr/local/X11/include
2772 /usr/local/X11R6/include
2773 /usr/local/X11R5/include
2774 /usr/local/X11R4/include
2776 /usr/local/include/X11
2777 /usr/local/include/X11R6
2778 /usr/local/include/X11R5
2779 /usr/local/include/X11R4
2783 /usr/XFree86/include/X11
2787 /usr/unsupported/include
2789 /usr/local/x11r5/include
2790 /usr/lpp/Xamples/include
2792 /usr/openwin/include
2793 /usr/openwin/share/include'
2795 if test "$ac_x_includes" = no
; then
2796 # Guess where to find include files, by looking for Intrinsic.h.
2797 # First, try using that file with no special directory specified.
2798 cat >conftest.
$ac_ext <<_ACEOF
2801 cat confdefs.h
>>conftest.
$ac_ext
2802 cat >>conftest.
$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2804 #include <X11/Intrinsic.h>
2806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2807 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2809 grep -v '^ *+' conftest.er1
>conftest.err
2811 cat conftest.err
>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } >/dev
/null
; then
2814 if test -s conftest.err
; then
2815 ac_cpp_err
=$ac_c_preproc_warn_flag
2816 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2823 if test -z "$ac_cpp_err"; then
2824 # We can compile using X headers with no special include directory.
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.
$ac_ext >&5
2830 for ac_dir
in $ac_x_header_dirs; do
2831 if test -r "$ac_dir/X11/Intrinsic.h"; then
2832 ac_x_includes
=$ac_dir
2837 rm -f conftest.err conftest.
$ac_ext
2838 fi # $ac_x_includes = no
2840 if test "$ac_x_libraries" = no
; then
2841 # Check for the libraries.
2842 # See if we find them without any special options.
2843 # Don't add to $LIBS permanently.
2846 cat >conftest.
$ac_ext <<_ACEOF
2849 cat confdefs.h
>>conftest.
$ac_ext
2850 cat >>conftest.
$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2852 #include <X11/Intrinsic.h>
2861 rm -f conftest.
$ac_objext conftest
$ac_exeext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2863 (eval $ac_link) 2>conftest.er1
2865 grep -v '^ *+' conftest.er1
>conftest.err
2867 cat conftest.err
>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; } &&
2876 { ac_try
='test -s conftest$ac_exeext'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2883 # We can link X programs with no special library path.
2886 echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.
$ac_ext >&5
2890 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2892 # Don't even attempt the hair of trying to link an X program!
2893 for ac_extension
in a so sl
; do
2894 if test -r $ac_dir/libXt.
$ac_extension; then
2895 ac_x_libraries
=$ac_dir
2901 rm -f conftest.err conftest.
$ac_objext \
2902 conftest
$ac_exeext conftest.
$ac_ext
2903 fi # $ac_x_libraries = no
2905 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2906 # Didn't find X anywhere. Cache the known absence of X.
2907 ac_cv_have_x
="have_x=no"
2909 # Record where we found X for the cache.
2910 ac_cv_have_x
="have_x=yes \
2911 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2916 eval "$ac_cv_have_x"
2919 if test "$have_x" != yes; then
2920 echo "$as_me:$LINENO: result: $have_x" >&5
2921 echo "${ECHO_T}$have_x" >&6
2924 # If each of the values was on the command line, it overrides each guess.
2925 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2926 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2927 # Update the cache value to reflect the command line values.
2928 ac_cv_have_x
="have_x=yes \
2929 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2930 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2931 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2934 if test "$no_x" = yes; then
2935 # Not all programs may use this symbol, but it does not hurt to define it.
2937 cat >>confdefs.h
<<\_ACEOF
2938 #define X_DISPLAY_MISSING 1
2941 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2943 if test -n "$x_includes"; then
2944 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2947 # It would also be nice to do this for all -L options, not just this one.
2948 if test -n "$x_libraries"; then
2949 X_LIBS
="$X_LIBS -L$x_libraries"
2950 # For Solaris; some versions of Sun CC require a space after -R and
2951 # others require no space. Words are not sufficient . . . .
2952 case `(uname -sr) 2>/dev/null` in
2954 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2955 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2956 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2957 cat >conftest.
$ac_ext <<_ACEOF
2960 cat confdefs.h
>>conftest.
$ac_ext
2961 cat >>conftest.
$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2972 rm -f conftest.
$ac_objext conftest
$ac_exeext
2973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2974 (eval $ac_link) 2>conftest.er1
2976 grep -v '^ *+' conftest.er1
>conftest.err
2978 cat conftest.err
>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); } &&
2981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; } &&
2987 { ac_try
='test -s conftest$ac_exeext'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.
$ac_ext >&5
3000 rm -f conftest.err conftest.
$ac_objext \
3001 conftest
$ac_exeext conftest.
$ac_ext
3002 if test $ac_R_nospace = yes; then
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3005 X_LIBS
="$X_LIBS -R$x_libraries"
3007 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3008 cat >conftest.
$ac_ext <<_ACEOF
3011 cat confdefs.h
>>conftest.
$ac_ext
3012 cat >>conftest.
$ac_ext <<_ACEOF
3013 /* end confdefs.h. */
3023 rm -f conftest.
$ac_objext conftest
$ac_exeext
3024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3025 (eval $ac_link) 2>conftest.er1
3027 grep -v '^ *+' conftest.er1
>conftest.err
3029 cat conftest.err
>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } &&
3032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; } &&
3038 { ac_try
='test -s conftest$ac_exeext'
3039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); }; }; then
3046 echo "$as_me: failed program was:" >&5
3047 sed 's/^/| /' conftest.
$ac_ext >&5
3051 rm -f conftest.err conftest.
$ac_objext \
3052 conftest
$ac_exeext conftest.
$ac_ext
3053 if test $ac_R_space = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3056 X_LIBS
="$X_LIBS -R $x_libraries"
3058 echo "$as_me:$LINENO: result: neither works" >&5
3059 echo "${ECHO_T}neither works" >&6
3066 # Check for system-dependent libraries X programs must link with.
3067 # Do this before checking for the system-independent R6 libraries
3068 # (-lICE), since we may need -lsocket or whatever for X linking.
3070 if test "$ISC" = yes; then
3071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3073 # Martyn Johnson says this is needed for Ultrix, if the X
3074 # libraries were built with DECnet support. And Karl Berry says
3075 # the Alpha needs dnet_stub (dnet does not exist).
3076 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3077 cat >conftest.
$ac_ext <<_ACEOF
3080 cat confdefs.h
>>conftest.
$ac_ext
3081 cat >>conftest.
$ac_ext <<_ACEOF
3082 /* end confdefs.h. */
3084 /* Override any gcc2 internal prototype to avoid an error. */
3088 /* We use char because int might match the return type of a gcc2
3089 builtin and then its argument prototype would still apply. */
3090 char XOpenDisplay ();
3099 rm -f conftest.
$ac_objext conftest
$ac_exeext
3100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3101 (eval $ac_link) 2>conftest.er1
3103 grep -v '^ *+' conftest.er1
>conftest.err
3105 cat conftest.err
>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; } &&
3114 { ac_try
='test -s conftest$ac_exeext'
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3122 echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.
$ac_ext >&5
3125 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3126 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3127 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3128 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 ac_check_lib_save_LIBS
=$LIBS
3132 cat >conftest.
$ac_ext <<_ACEOF
3135 cat confdefs.h
>>conftest.
$ac_ext
3136 cat >>conftest.
$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3139 /* Override any gcc2 internal prototype to avoid an error. */
3143 /* We use char because int might match the return type of a gcc2
3144 builtin and then its argument prototype would still apply. */
3154 rm -f conftest.
$ac_objext conftest
$ac_exeext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3156 (eval $ac_link) 2>conftest.er1
3158 grep -v '^ *+' conftest.er1
>conftest.err
3160 cat conftest.err
>&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } &&
3163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); }; } &&
3169 { ac_try
='test -s conftest$ac_exeext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3175 ac_cv_lib_dnet_dnet_ntoa
=yes
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.
$ac_ext >&5
3180 ac_cv_lib_dnet_dnet_ntoa
=no
3182 rm -f conftest.err conftest.
$ac_objext \
3183 conftest
$ac_exeext conftest.
$ac_ext
3184 LIBS
=$ac_check_lib_save_LIBS
3186 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3187 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3188 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3189 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3192 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3193 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3194 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3195 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 ac_check_lib_save_LIBS
=$LIBS
3199 LIBS
="-ldnet_stub $LIBS"
3200 cat >conftest.
$ac_ext <<_ACEOF
3203 cat confdefs.h
>>conftest.
$ac_ext
3204 cat >>conftest.
$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3207 /* Override any gcc2 internal prototype to avoid an error. */
3211 /* We use char because int might match the return type of a gcc2
3212 builtin and then its argument prototype would still apply. */
3222 rm -f conftest.
$ac_objext conftest
$ac_exeext
3223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3224 (eval $ac_link) 2>conftest.er1
3226 grep -v '^ *+' conftest.er1
>conftest.err
3228 cat conftest.err
>&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } &&
3231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; } &&
3237 { ac_try
='test -s conftest$ac_exeext'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; }; then
3243 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.
$ac_ext >&5
3248 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3250 rm -f conftest.err conftest.
$ac_objext \
3251 conftest
$ac_exeext conftest.
$ac_ext
3252 LIBS
=$ac_check_lib_save_LIBS
3254 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3255 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3256 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3257 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3262 rm -f conftest.err conftest.
$ac_objext \
3263 conftest
$ac_exeext conftest.
$ac_ext
3264 LIBS
="$ac_xsave_LIBS"
3266 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3267 # to get the SysV transport functions.
3268 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3270 # The nsl library prevents programs from opening the X display
3271 # on Irix 5.2, according to T.E. Dickey.
3272 # The functions gethostbyname, getservbyname, and inet_addr are
3273 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3274 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3275 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3276 if test "${ac_cv_func_gethostbyname+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 cat >conftest.
$ac_ext <<_ACEOF
3282 cat confdefs.h
>>conftest.
$ac_ext
3283 cat >>conftest.
$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3287 #define gethostbyname innocuous_gethostbyname
3289 /* System header to define __stub macros and hopefully few prototypes,
3290 which can conflict with char gethostbyname (); below.
3291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3292 <limits.h> exists even on freestanding compilers. */
3295 # include <limits.h>
3297 # include <assert.h>
3300 #undef gethostbyname
3302 /* Override any gcc2 internal prototype to avoid an error. */
3307 /* We use char because int might match the return type of a gcc2
3308 builtin and then its argument prototype would still apply. */
3309 char gethostbyname ();
3310 /* The GNU C library defines this for functions which it implements
3311 to always fail with ENOSYS. Some functions are actually named
3312 something starting with __ and the normal name is an alias. */
3313 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3316 char (*f) () = gethostbyname;
3325 return f != gethostbyname;
3330 rm -f conftest.
$ac_objext conftest
$ac_exeext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3332 (eval $ac_link) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1
>conftest.err
3336 cat conftest.err
>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try
='test -s conftest$ac_exeext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3351 ac_cv_func_gethostbyname
=yes
3353 echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.
$ac_ext >&5
3356 ac_cv_func_gethostbyname
=no
3358 rm -f conftest.err conftest.
$ac_objext \
3359 conftest
$ac_exeext conftest.
$ac_ext
3361 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3362 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3364 if test $ac_cv_func_gethostbyname = no
; then
3365 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3366 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3367 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 ac_check_lib_save_LIBS
=$LIBS
3372 cat >conftest.
$ac_ext <<_ACEOF
3375 cat confdefs.h
>>conftest.
$ac_ext
3376 cat >>conftest.
$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3379 /* Override any gcc2 internal prototype to avoid an error. */
3383 /* We use char because int might match the return type of a gcc2
3384 builtin and then its argument prototype would still apply. */
3385 char gethostbyname ();
3394 rm -f conftest.
$ac_objext conftest
$ac_exeext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3396 (eval $ac_link) 2>conftest.er1
3398 grep -v '^ *+' conftest.er1
>conftest.err
3400 cat conftest.err
>&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try
='test -s conftest$ac_exeext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 ac_cv_lib_nsl_gethostbyname
=yes
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.
$ac_ext >&5
3420 ac_cv_lib_nsl_gethostbyname
=no
3422 rm -f conftest.err conftest.
$ac_objext \
3423 conftest
$ac_exeext conftest.
$ac_ext
3424 LIBS
=$ac_check_lib_save_LIBS
3426 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3427 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3428 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3429 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3432 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3433 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3434 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3435 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 ac_check_lib_save_LIBS
=$LIBS
3440 cat >conftest.
$ac_ext <<_ACEOF
3443 cat confdefs.h
>>conftest.
$ac_ext
3444 cat >>conftest.
$ac_ext <<_ACEOF
3445 /* end confdefs.h. */
3447 /* Override any gcc2 internal prototype to avoid an error. */
3451 /* We use char because int might match the return type of a gcc2
3452 builtin and then its argument prototype would still apply. */
3453 char gethostbyname ();
3462 rm -f conftest.
$ac_objext conftest
$ac_exeext
3463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3464 (eval $ac_link) 2>conftest.er1
3466 grep -v '^ *+' conftest.er1
>conftest.err
3468 cat conftest.err
>&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); } &&
3471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }; } &&
3477 { ac_try
='test -s conftest$ac_exeext'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3483 ac_cv_lib_bsd_gethostbyname
=yes
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.
$ac_ext >&5
3488 ac_cv_lib_bsd_gethostbyname
=no
3490 rm -f conftest.err conftest.
$ac_objext \
3491 conftest
$ac_exeext conftest.
$ac_ext
3492 LIBS
=$ac_check_lib_save_LIBS
3494 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3495 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3496 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3497 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3503 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3504 # socket/setsockopt and other routines are undefined under SCO ODT
3505 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3506 # on later versions), says Simon Leinen: it contains gethostby*
3507 # variants that don't use the name server (or something). -lsocket
3508 # must be given before -lnsl if both are needed. We assume that
3509 # if connect needs -lnsl, so does gethostbyname.
3510 echo "$as_me:$LINENO: checking for connect" >&5
3511 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3512 if test "${ac_cv_func_connect+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3521 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3523 #define connect innocuous_connect
3525 /* System header to define __stub macros and hopefully few prototypes,
3526 which can conflict with char connect (); below.
3527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3528 <limits.h> exists even on freestanding compilers. */
3531 # include <limits.h>
3533 # include <assert.h>
3538 /* Override any gcc2 internal prototype to avoid an error. */
3543 /* We use char because int might match the return type of a gcc2
3544 builtin and then its argument prototype would still apply. */
3546 /* The GNU C library defines this for functions which it implements
3547 to always fail with ENOSYS. Some functions are actually named
3548 something starting with __ and the normal name is an alias. */
3549 #if defined (__stub_connect) || defined (__stub___connect)
3552 char (*f) () = connect;
3561 return f != connect;
3566 rm -f conftest.
$ac_objext conftest
$ac_exeext
3567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3568 (eval $ac_link) 2>conftest.er1
3570 grep -v '^ *+' conftest.er1
>conftest.err
3572 cat conftest.err
>&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } &&
3575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; } &&
3581 { ac_try
='test -s conftest$ac_exeext'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; }; then
3587 ac_cv_func_connect
=yes
3589 echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.
$ac_ext >&5
3592 ac_cv_func_connect
=no
3594 rm -f conftest.err conftest.
$ac_objext \
3595 conftest
$ac_exeext conftest.
$ac_ext
3597 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3598 echo "${ECHO_T}$ac_cv_func_connect" >&6
3600 if test $ac_cv_func_connect = no
; then
3601 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3602 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3603 if test "${ac_cv_lib_socket_connect+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 ac_check_lib_save_LIBS
=$LIBS
3607 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3608 cat >conftest.
$ac_ext <<_ACEOF
3611 cat confdefs.h
>>conftest.
$ac_ext
3612 cat >>conftest.
$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3615 /* Override any gcc2 internal prototype to avoid an error. */
3619 /* We use char because int might match the return type of a gcc2
3620 builtin and then its argument prototype would still apply. */
3630 rm -f conftest.
$ac_objext conftest
$ac_exeext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3632 (eval $ac_link) 2>conftest.er1
3634 grep -v '^ *+' conftest.er1
>conftest.err
3636 cat conftest.err
>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } &&
3639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; } &&
3645 { ac_try
='test -s conftest$ac_exeext'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3651 ac_cv_lib_socket_connect
=yes
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.
$ac_ext >&5
3656 ac_cv_lib_socket_connect
=no
3658 rm -f conftest.err conftest.
$ac_objext \
3659 conftest
$ac_exeext conftest.
$ac_ext
3660 LIBS
=$ac_check_lib_save_LIBS
3662 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3663 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3664 if test $ac_cv_lib_socket_connect = yes; then
3665 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3670 # Guillermo Gomez says -lposix is necessary on A/UX.
3671 echo "$as_me:$LINENO: checking for remove" >&5
3672 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3673 if test "${ac_cv_func_remove+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 cat >conftest.
$ac_ext <<_ACEOF
3679 cat confdefs.h
>>conftest.
$ac_ext
3680 cat >>conftest.
$ac_ext <<_ACEOF
3681 /* end confdefs.h. */
3682 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
3683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3684 #define remove innocuous_remove
3686 /* System header to define __stub macros and hopefully few prototypes,
3687 which can conflict with char remove (); below.
3688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3689 <limits.h> exists even on freestanding compilers. */
3692 # include <limits.h>
3694 # include <assert.h>
3699 /* Override any gcc2 internal prototype to avoid an error. */
3704 /* We use char because int might match the return type of a gcc2
3705 builtin and then its argument prototype would still apply. */
3707 /* The GNU C library defines this for functions which it implements
3708 to always fail with ENOSYS. Some functions are actually named
3709 something starting with __ and the normal name is an alias. */
3710 #if defined (__stub_remove) || defined (__stub___remove)
3713 char (*f) () = remove;
3727 rm -f conftest.
$ac_objext conftest
$ac_exeext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729 (eval $ac_link) 2>conftest.er1
3731 grep -v '^ *+' conftest.er1
>conftest.err
3733 cat conftest.err
>&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; } &&
3742 { ac_try
='test -s conftest$ac_exeext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3748 ac_cv_func_remove
=yes
3750 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.
$ac_ext >&5
3753 ac_cv_func_remove
=no
3755 rm -f conftest.err conftest.
$ac_objext \
3756 conftest
$ac_exeext conftest.
$ac_ext
3758 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3759 echo "${ECHO_T}$ac_cv_func_remove" >&6
3761 if test $ac_cv_func_remove = no
; then
3762 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3763 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3764 if test "${ac_cv_lib_posix_remove+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 ac_check_lib_save_LIBS
=$LIBS
3768 LIBS
="-lposix $LIBS"
3769 cat >conftest.
$ac_ext <<_ACEOF
3772 cat confdefs.h
>>conftest.
$ac_ext
3773 cat >>conftest.
$ac_ext <<_ACEOF
3774 /* end confdefs.h. */
3776 /* Override any gcc2 internal prototype to avoid an error. */
3780 /* We use char because int might match the return type of a gcc2
3781 builtin and then its argument prototype would still apply. */
3791 rm -f conftest.
$ac_objext conftest
$ac_exeext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>conftest.er1
3795 grep -v '^ *+' conftest.er1
>conftest.err
3797 cat conftest.err
>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try
='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_lib_posix_remove
=yes
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.
$ac_ext >&5
3817 ac_cv_lib_posix_remove
=no
3819 rm -f conftest.err conftest.
$ac_objext \
3820 conftest
$ac_exeext conftest.
$ac_ext
3821 LIBS
=$ac_check_lib_save_LIBS
3823 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3824 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3825 if test $ac_cv_lib_posix_remove = yes; then
3826 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3831 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3832 echo "$as_me:$LINENO: checking for shmat" >&5
3833 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3834 if test "${ac_cv_func_shmat+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 cat >conftest.
$ac_ext <<_ACEOF
3840 cat confdefs.h
>>conftest.
$ac_ext
3841 cat >>conftest.
$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3843 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
3844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3845 #define shmat innocuous_shmat
3847 /* System header to define __stub macros and hopefully few prototypes,
3848 which can conflict with char shmat (); below.
3849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3850 <limits.h> exists even on freestanding compilers. */
3853 # include <limits.h>
3855 # include <assert.h>
3860 /* Override any gcc2 internal prototype to avoid an error. */
3865 /* We use char because int might match the return type of a gcc2
3866 builtin and then its argument prototype would still apply. */
3868 /* The GNU C library defines this for functions which it implements
3869 to always fail with ENOSYS. Some functions are actually named
3870 something starting with __ and the normal name is an alias. */
3871 #if defined (__stub_shmat) || defined (__stub___shmat)
3874 char (*f) () = shmat;
3888 rm -f conftest.
$ac_objext conftest
$ac_exeext
3889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3890 (eval $ac_link) 2>conftest.er1
3892 grep -v '^ *+' conftest.er1
>conftest.err
3894 cat conftest.err
>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } &&
3897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); }; } &&
3903 { ac_try
='test -s conftest$ac_exeext'
3904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); }; }; then
3909 ac_cv_func_shmat
=yes
3911 echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.
$ac_ext >&5
3916 rm -f conftest.err conftest.
$ac_objext \
3917 conftest
$ac_exeext conftest.
$ac_ext
3919 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3920 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3922 if test $ac_cv_func_shmat = no
; then
3923 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3924 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3925 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 ac_check_lib_save_LIBS
=$LIBS
3930 cat >conftest.
$ac_ext <<_ACEOF
3933 cat confdefs.h
>>conftest.
$ac_ext
3934 cat >>conftest.
$ac_ext <<_ACEOF
3935 /* end confdefs.h. */
3937 /* Override any gcc2 internal prototype to avoid an error. */
3941 /* We use char because int might match the return type of a gcc2
3942 builtin and then its argument prototype would still apply. */
3952 rm -f conftest.
$ac_objext conftest
$ac_exeext
3953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3954 (eval $ac_link) 2>conftest.er1
3956 grep -v '^ *+' conftest.er1
>conftest.err
3958 cat conftest.err
>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } &&
3961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); }; } &&
3967 { ac_try
='test -s conftest$ac_exeext'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; }; then
3973 ac_cv_lib_ipc_shmat
=yes
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3978 ac_cv_lib_ipc_shmat
=no
3980 rm -f conftest.err conftest.
$ac_objext \
3981 conftest
$ac_exeext conftest.
$ac_ext
3982 LIBS
=$ac_check_lib_save_LIBS
3984 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3985 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3986 if test $ac_cv_lib_ipc_shmat = yes; then
3987 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3993 # Check for libraries that X11R6 Xt/Xaw programs need.
3994 ac_save_LDFLAGS
=$LDFLAGS
3995 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3996 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3997 # check for ICE first), but we must link in the order -lSM -lICE or
3998 # we get undefined symbols. So assume we have SM if we have ICE.
3999 # These have to be linked with before -lX11, unlike the other
4000 # libraries we check for below, so use a different variable.
4001 # John Interrante, Karl Berry
4002 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4003 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4004 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 ac_check_lib_save_LIBS
=$LIBS
4008 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4009 cat >conftest.
$ac_ext <<_ACEOF
4012 cat confdefs.h
>>conftest.
$ac_ext
4013 cat >>conftest.
$ac_ext <<_ACEOF
4014 /* end confdefs.h. */
4016 /* Override any gcc2 internal prototype to avoid an error. */
4020 /* We use char because int might match the return type of a gcc2
4021 builtin and then its argument prototype would still apply. */
4022 char IceConnectionNumber ();
4026 IceConnectionNumber ();
4031 rm -f conftest.
$ac_objext conftest
$ac_exeext
4032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4033 (eval $ac_link) 2>conftest.er1
4035 grep -v '^ *+' conftest.er1
>conftest.err
4037 cat conftest.err
>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } &&
4040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; } &&
4046 { ac_try
='test -s conftest$ac_exeext'
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4052 ac_cv_lib_ICE_IceConnectionNumber
=yes
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.
$ac_ext >&5
4057 ac_cv_lib_ICE_IceConnectionNumber
=no
4059 rm -f conftest.err conftest.
$ac_objext \
4060 conftest
$ac_exeext conftest.
$ac_ext
4061 LIBS
=$ac_check_lib_save_LIBS
4063 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4064 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4065 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4066 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4069 LDFLAGS
=$ac_save_LDFLAGS
4073 for ac_prog
in 'bison -y' byacc
4075 # Extract the first word of "$ac_prog", so it can be a program name with args.
4076 set dummy
$ac_prog; ac_word
=$2
4077 echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4079 if test "${ac_cv_prog_YACC+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test -n "$YACC"; then
4083 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4092 ac_cv_prog_YACC
="$ac_prog"
4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 YACC
=$ac_cv_prog_YACC
4102 if test -n "$YACC"; then
4103 echo "$as_me:$LINENO: result: $YACC" >&5
4104 echo "${ECHO_T}$YACC" >&6
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4110 test -n "$YACC" && break
4112 test -n "$YACC" || YACC
="yacc"
4114 for ac_prog
in flex
lex
4116 # Extract the first word of "$ac_prog", so it can be a program name with args.
4117 set dummy
$ac_prog; ac_word
=$2
4118 echo "$as_me:$LINENO: checking for $ac_word" >&5
4119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4120 if test "${ac_cv_prog_LEX+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 if test -n "$LEX"; then
4124 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir
=.
4131 for ac_exec_ext
in '' $ac_executable_extensions; do
4132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4133 ac_cv_prog_LEX
="$ac_prog"
4134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 if test -n "$LEX"; then
4144 echo "$as_me:$LINENO: result: $LEX" >&5
4145 echo "${ECHO_T}$LEX" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4151 test -n "$LEX" && break
4153 test -n "$LEX" || LEX
=":"
4155 if test -z "$LEXLIB"
4157 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4158 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4159 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 ac_check_lib_save_LIBS
=$LIBS
4164 cat >conftest.
$ac_ext <<_ACEOF
4167 cat confdefs.h
>>conftest.
$ac_ext
4168 cat >>conftest.
$ac_ext <<_ACEOF
4169 /* end confdefs.h. */
4171 /* Override any gcc2 internal prototype to avoid an error. */
4175 /* We use char because int might match the return type of a gcc2
4176 builtin and then its argument prototype would still apply. */
4186 rm -f conftest.
$ac_objext conftest
$ac_exeext
4187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4188 (eval $ac_link) 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } &&
4195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); }; } &&
4201 { ac_try
='test -s conftest$ac_exeext'
4202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); }; }; then
4207 ac_cv_lib_fl_yywrap
=yes
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.
$ac_ext >&5
4212 ac_cv_lib_fl_yywrap
=no
4214 rm -f conftest.err conftest.
$ac_objext \
4215 conftest
$ac_exeext conftest.
$ac_ext
4216 LIBS
=$ac_check_lib_save_LIBS
4218 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4219 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4220 if test $ac_cv_lib_fl_yywrap = yes; then
4223 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4224 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4225 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 ac_check_lib_save_LIBS
=$LIBS
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4237 /* Override any gcc2 internal prototype to avoid an error. */
4241 /* We use char because int might match the return type of a gcc2
4242 builtin and then its argument prototype would still apply. */
4252 rm -f conftest.
$ac_objext conftest
$ac_exeext
4253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4254 (eval $ac_link) 2>conftest.er1
4256 grep -v '^ *+' conftest.er1
>conftest.err
4258 cat conftest.err
>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; } &&
4267 { ac_try
='test -s conftest$ac_exeext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 ac_cv_lib_l_yywrap
=yes
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.
$ac_ext >&5
4278 ac_cv_lib_l_yywrap
=no
4280 rm -f conftest.err conftest.
$ac_objext \
4281 conftest
$ac_exeext conftest.
$ac_ext
4282 LIBS
=$ac_check_lib_save_LIBS
4284 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4285 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4286 if test $ac_cv_lib_l_yywrap = yes; then
4294 if test "x$LEX" != "x:"; then
4295 echo "$as_me:$LINENO: checking lex output file root" >&5
4296 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4297 if test "${ac_cv_prog_lex_root+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 # The minimal lex program is just a single line: %%. But some broken lexes
4301 # (Solaris, I think it was) want two %% lines, so accommodate them.
4302 cat >conftest.l
<<_ACEOF
4306 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4307 (eval $LEX conftest.l
) 2>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }
4311 if test -f lex.yy.c
; then
4312 ac_cv_prog_lex_root
=lex.yy
4313 elif test -f lexyy.c
; then
4314 ac_cv_prog_lex_root
=lexyy
4316 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4317 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4318 { (exit 1); exit 1; }; }
4321 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4322 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4324 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4326 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4327 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4328 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 # POSIX says lex can declare yytext either as a pointer or an array; the
4332 # default is implementation-dependent. Figure out which it is, since
4333 # not all implementations provide the %pointer and %array declarations.
4334 ac_cv_prog_lex_yytext_pointer
=no
4335 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4337 LIBS
="$LIBS $LEXLIB"
4338 cat >conftest.
$ac_ext <<_ACEOF
4339 `cat $LEX_OUTPUT_ROOT.c`
4341 rm -f conftest.
$ac_objext conftest
$ac_exeext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4343 (eval $ac_link) 2>conftest.er1
4345 grep -v '^ *+' conftest.er1
>conftest.err
4347 cat conftest.err
>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } &&
4350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4355 (exit $ac_status); }; } &&
4356 { ac_try
='test -s conftest$ac_exeext'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; }; then
4362 ac_cv_prog_lex_yytext_pointer
=yes
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.
$ac_ext >&5
4368 rm -f conftest.err conftest.
$ac_objext \
4369 conftest
$ac_exeext conftest.
$ac_ext
4371 rm -f "${LEX_OUTPUT_ROOT}.c"
4374 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4375 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4376 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4378 cat >>confdefs.h
<<\_ACEOF
4379 #define YYTEXT_POINTER 1
4386 for ac_prog
in $YACC bison
yacc
4388 # Extract the first word of "$ac_prog", so it can be a program name with args.
4389 set dummy
$ac_prog; ac_word
=$2
4390 echo "$as_me:$LINENO: checking for $ac_word" >&5
4391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4392 if test "${ac_cv_prog_XYACC+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 if test -n "$XYACC"; then
4396 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
4398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir
=.
4403 for ac_exec_ext
in '' $ac_executable_extensions; do
4404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405 ac_cv_prog_XYACC
="$ac_prog"
4406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 XYACC
=$ac_cv_prog_XYACC
4415 if test -n "$XYACC"; then
4416 echo "$as_me:$LINENO: result: $XYACC" >&5
4417 echo "${ECHO_T}$XYACC" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4423 test -n "$XYACC" && break
4425 test -n "$XYACC" || XYACC
="none"
4427 if test "$XYACC" = "none"
4429 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4430 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4431 { (exit 1); exit 1; }; }
4433 for ac_prog
in $LEX flex
lex
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436 set dummy
$ac_prog; ac_word
=$2
4437 echo "$as_me:$LINENO: checking for $ac_word" >&5
4438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4439 if test "${ac_cv_prog_XLEX+set}" = set; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 if test -n "$XLEX"; then
4443 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir
=.
4450 for ac_exec_ext
in '' $ac_executable_extensions; do
4451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_XLEX
="$ac_prog"
4453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 XLEX
=$ac_cv_prog_XLEX
4462 if test -n "$XLEX"; then
4463 echo "$as_me:$LINENO: result: $XLEX" >&5
4464 echo "${ECHO_T}$XLEX" >&6
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4470 test -n "$XLEX" && break
4472 test -n "$XLEX" || XLEX
="none"
4474 if test "$XLEX" = "none"
4476 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4477 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4478 { (exit 1); exit 1; }; }
4481 if test -n "$ac_tool_prefix"; then
4482 for ac_prog
in gas as
4484 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4485 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4486 echo "$as_me:$LINENO: checking for $ac_word" >&5
4487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4488 if test "${ac_cv_prog_AS+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 if test -n "$AS"; then
4492 ac_cv_prog_AS
="$AS" # Let the user override the test.
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4501 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 if test -n "$AS"; then
4512 echo "$as_me:$LINENO: result: $AS" >&5
4513 echo "${ECHO_T}$AS" >&6
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4519 test -n "$AS" && break
4522 if test -z "$AS"; then
4524 for ac_prog
in gas as
4526 # Extract the first word of "$ac_prog", so it can be a program name with args.
4527 set dummy
$ac_prog; ac_word
=$2
4528 echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4530 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$ac_ct_AS"; then
4534 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_ac_ct_AS
="$ac_prog"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4553 if test -n "$ac_ct_AS"; then
4554 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4555 echo "${ECHO_T}$ac_ct_AS" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 test -n "$ac_ct_AS" && break
4563 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4568 if test -n "$ac_tool_prefix"; then
4569 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4570 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4571 echo "$as_me:$LINENO: checking for $ac_word" >&5
4572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4573 if test "${ac_cv_prog_LD+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 if test -n "$LD"; then
4577 ac_cv_prog_LD
="$LD" # Let the user override the test.
4579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4583 test -z "$as_dir" && as_dir
=.
4584 for ac_exec_ext
in '' $ac_executable_extensions; do
4585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 if test -n "$LD"; then
4597 echo "$as_me:$LINENO: result: $LD" >&5
4598 echo "${ECHO_T}$LD" >&6
4600 echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6
4605 if test -z "$ac_cv_prog_LD"; then
4607 # Extract the first word of "ld", so it can be a program name with args.
4608 set dummy ld
; ac_word
=$2
4609 echo "$as_me:$LINENO: checking for $ac_word" >&5
4610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4611 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 if test -n "$ac_ct_LD"; then
4615 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_ac_ct_LD
="ld"
4625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
4634 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4635 if test -n "$ac_ct_LD"; then
4636 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4637 echo "${ECHO_T}$ac_ct_LD" >&6
4639 echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6
4648 if test -n "$ac_tool_prefix"; then
4649 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4650 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_AR+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$AR"; then
4657 ac_cv_prog_AR
="$AR" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 if test -n "$AR"; then
4677 echo "$as_me:$LINENO: result: $AR" >&5
4678 echo "${ECHO_T}$AR" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4685 if test -z "$ac_cv_prog_AR"; then
4687 # Extract the first word of "ar", so it can be a program name with args.
4688 set dummy
ar; ac_word
=$2
4689 echo "$as_me:$LINENO: checking for $ac_word" >&5
4690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4691 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 if test -n "$ac_ct_AR"; then
4695 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir
=.
4702 for ac_exec_ext
in '' $ac_executable_extensions; do
4703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4704 ac_cv_prog_ac_ct_AR
="ar"
4705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
4714 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4715 if test -n "$ac_ct_AR"; then
4716 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4717 echo "${ECHO_T}$ac_ct_AR" >&6
4719 echo "$as_me:$LINENO: result: no" >&5
4720 echo "${ECHO_T}no" >&6
4728 if test -n "$ac_tool_prefix"; then
4729 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4730 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4731 echo "$as_me:$LINENO: checking for $ac_word" >&5
4732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4733 if test "${ac_cv_prog_RANLIB+set}" = set; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 if test -n "$RANLIB"; then
4737 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir
=.
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4746 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 RANLIB
=$ac_cv_prog_RANLIB
4756 if test -n "$RANLIB"; then
4757 echo "$as_me:$LINENO: result: $RANLIB" >&5
4758 echo "${ECHO_T}$RANLIB" >&6
4760 echo "$as_me:$LINENO: result: no" >&5
4761 echo "${ECHO_T}no" >&6
4765 if test -z "$ac_cv_prog_RANLIB"; then
4766 ac_ct_RANLIB
=$RANLIB
4767 # Extract the first word of "ranlib", so it can be a program name with args.
4768 set dummy ranlib
; ac_word
=$2
4769 echo "$as_me:$LINENO: checking for $ac_word" >&5
4770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4771 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 if test -n "$ac_ct_RANLIB"; then
4775 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir
=.
4782 for ac_exec_ext
in '' $ac_executable_extensions; do
4783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4784 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4794 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4795 if test -n "$ac_ct_RANLIB"; then
4796 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4797 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4803 RANLIB
=$ac_ct_RANLIB
4805 RANLIB
="$ac_cv_prog_RANLIB"
4808 if test -n "$ac_tool_prefix"; then
4809 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4810 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4811 echo "$as_me:$LINENO: checking for $ac_word" >&5
4812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4813 if test "${ac_cv_prog_STRIP+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 if test -n "$STRIP"; then
4817 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4826 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 STRIP
=$ac_cv_prog_STRIP
4836 if test -n "$STRIP"; then
4837 echo "$as_me:$LINENO: result: $STRIP" >&5
4838 echo "${ECHO_T}$STRIP" >&6
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4845 if test -z "$ac_cv_prog_STRIP"; then
4847 # Extract the first word of "strip", so it can be a program name with args.
4848 set dummy strip
; ac_word
=$2
4849 echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4851 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 if test -n "$ac_ct_STRIP"; then
4855 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir
=.
4862 for ac_exec_ext
in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_ac_ct_STRIP
="strip"
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
4874 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4875 if test -n "$ac_ct_STRIP"; then
4876 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4877 echo "${ECHO_T}$ac_ct_STRIP" >&6
4879 echo "$as_me:$LINENO: result: no" >&5
4880 echo "${ECHO_T}no" >&6
4885 STRIP
="$ac_cv_prog_STRIP"
4888 if test -n "$ac_tool_prefix"; then
4889 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4890 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4891 echo "$as_me:$LINENO: checking for $ac_word" >&5
4892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4893 if test "${ac_cv_prog_WINDRES+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 if test -n "$WINDRES"; then
4897 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir
=.
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 WINDRES
=$ac_cv_prog_WINDRES
4916 if test -n "$WINDRES"; then
4917 echo "$as_me:$LINENO: result: $WINDRES" >&5
4918 echo "${ECHO_T}$WINDRES" >&6
4920 echo "$as_me:$LINENO: result: no" >&5
4921 echo "${ECHO_T}no" >&6
4925 if test -z "$ac_cv_prog_WINDRES"; then
4926 ac_ct_WINDRES
=$WINDRES
4927 # Extract the first word of "windres", so it can be a program name with args.
4928 set dummy windres
; ac_word
=$2
4929 echo "$as_me:$LINENO: checking for $ac_word" >&5
4930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4931 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 if test -n "$ac_ct_WINDRES"; then
4935 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_ac_ct_WINDRES
="windres"
4945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
4954 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4955 if test -n "$ac_ct_WINDRES"; then
4956 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4957 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4963 WINDRES
=$ac_ct_WINDRES
4965 WINDRES
="$ac_cv_prog_WINDRES"
4968 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4969 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4971 if test "$LN_S" = "ln -s"; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4976 echo "${ECHO_T}no, using $LN_S" >&6
4979 echo "$as_me:$LINENO: checking whether ln works" >&5
4980 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4981 rm -f conf$$ conf$$.
file
4983 if ln conf$$.
file conf$$
2>/dev
/null
; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987 echo "${ECHO_T}yes" >&6
4991 echo "$as_me:$LINENO: result: no, using $LN" >&5
4992 echo "${ECHO_T}no, using $LN" >&6
4994 rm -f conf$$ conf$$.
file
4995 # Extract the first word of "ldconfig", so it can be a program name with args.
4996 set dummy ldconfig
; ac_word
=$2
4997 echo "$as_me:$LINENO: checking for $ac_word" >&5
4998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4999 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5000 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5008 for as_dir
in /sbin
/usr
/sbin
$PATH
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5025 LDCONFIG
=$ac_cv_path_LDCONFIG
5027 if test -n "$LDCONFIG"; then
5028 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5029 echo "${ECHO_T}$LDCONFIG" >&6
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5035 # Find a good install program. We prefer a C program (faster),
5036 # so one script is as good as another. But avoid the broken or
5037 # incompatible versions:
5038 # SysV /etc/install, /usr/sbin/install
5039 # SunOS /usr/etc/install
5040 # IRIX /sbin/install
5042 # AmigaOS /C/install, which installs bootblocks on floppy discs
5043 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5044 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5045 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5046 # OS/2's system install, which has a completely different semantic
5047 # ./install, which can be erroneously created by make from ./install.sh.
5048 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5049 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5050 if test -z "$INSTALL"; then
5051 if test "${ac_cv_path_install+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 # Account for people who put trailing slashes in PATH elements.
5061 .
/ | .
// |
/cC
/* | \
5062 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5063 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5066 # OSF1 and SCO ODT 3.0 have their own names for install.
5067 # Don't use installbsd from OSF since it installs stuff as root
5069 for ac_prog
in ginstall scoinst
install; do
5070 for ac_exec_ext
in '' $ac_executable_extensions; do
5071 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5072 if test $ac_prog = install &&
5073 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5074 # AIX install. It has an incompatible calling convention.
5076 elif test $ac_prog = install &&
5077 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5078 # program-specific install script used by HP pwplus--don't use.
5081 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5093 if test "${ac_cv_path_install+set}" = set; then
5094 INSTALL
=$ac_cv_path_install
5096 # As a last resort, use the slow shell script. We don't cache a
5097 # path for INSTALL within a source directory, because that will
5098 # break other packages using the cache if that directory is
5099 # removed, or if the path is relative.
5100 INSTALL
=$ac_install_sh
5103 echo "$as_me:$LINENO: result: $INSTALL" >&5
5104 echo "${ECHO_T}$INSTALL" >&6
5106 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5107 # It thinks the first close brace ends the variable substitution.
5108 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5110 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5112 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5115 [\\/$
]* | ?
:[\\/]* ) ;;
5116 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5119 for ac_prog
in lclint lint
5121 # Extract the first word of "$ac_prog", so it can be a program name with args.
5122 set dummy
$ac_prog; ac_word
=$2
5123 echo "$as_me:$LINENO: checking for $ac_word" >&5
5124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5125 if test "${ac_cv_prog_LINT+set}" = set; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 if test -n "$LINT"; then
5129 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir
=.
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138 ac_cv_prog_LINT
="$ac_prog"
5139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 LINT
=$ac_cv_prog_LINT
5148 if test -n "$LINT"; then
5149 echo "$as_me:$LINENO: result: $LINT" >&5
5150 echo "${ECHO_T}$LINT" >&6
5152 echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6
5156 test -n "$LINT" && break
5159 if test "$LINT" = "lint"
5161 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5166 for ac_prog
in docbook2html db2html
5168 # Extract the first word of "$ac_prog", so it can be a program name with args.
5169 set dummy
$ac_prog; ac_word
=$2
5170 echo "$as_me:$LINENO: checking for $ac_word" >&5
5171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5172 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 if test -n "$DB2HTML"; then
5176 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir
=.
5183 for ac_exec_ext
in '' $ac_executable_extensions; do
5184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_DB2HTML
="$ac_prog"
5186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 DB2HTML
=$ac_cv_prog_DB2HTML
5195 if test -n "$DB2HTML"; then
5196 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5197 echo "${ECHO_T}$DB2HTML" >&6
5199 echo "$as_me:$LINENO: result: no" >&5
5200 echo "${ECHO_T}no" >&6
5203 test -n "$DB2HTML" && break
5205 test -n "$DB2HTML" || DB2HTML
="false"
5209 for ac_prog
in docbook2pdf db2pdf
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy
$ac_prog; ac_word
=$2
5213 echo "$as_me:$LINENO: checking for $ac_word" >&5
5214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5215 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 if test -n "$DB2PDF"; then
5219 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_DB2PDF
="$ac_prog"
5229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 DB2PDF
=$ac_cv_prog_DB2PDF
5238 if test -n "$DB2PDF"; then
5239 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5240 echo "${ECHO_T}$DB2PDF" >&6
5242 echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6
5246 test -n "$DB2PDF" && break
5248 test -n "$DB2PDF" || DB2PDF
="false"
5252 for ac_prog
in docbook2ps db2ps
5254 # Extract the first word of "$ac_prog", so it can be a program name with args.
5255 set dummy
$ac_prog; ac_word
=$2
5256 echo "$as_me:$LINENO: checking for $ac_word" >&5
5257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5258 if test "${ac_cv_prog_DB2PS+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 if test -n "$DB2PS"; then
5262 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir
=.
5269 for ac_exec_ext
in '' $ac_executable_extensions; do
5270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_DB2PS
="$ac_prog"
5272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 DB2PS
=$ac_cv_prog_DB2PS
5281 if test -n "$DB2PS"; then
5282 echo "$as_me:$LINENO: result: $DB2PS" >&5
5283 echo "${ECHO_T}$DB2PS" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5289 test -n "$DB2PS" && break
5291 test -n "$DB2PS" || DB2PS
="false"
5295 for ac_prog
in docbook2txt db2txt
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy
$ac_prog; ac_word
=$2
5299 echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5301 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 if test -n "$DB2TXT"; then
5305 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_DB2TXT
="$ac_prog"
5315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 DB2TXT
=$ac_cv_prog_DB2TXT
5324 if test -n "$DB2TXT"; then
5325 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5326 echo "${ECHO_T}$DB2TXT" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5332 test -n "$DB2TXT" && break
5334 test -n "$DB2TXT" || DB2TXT
="false"
5340 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5341 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5342 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 ac_check_lib_save_LIBS
=$LIBS
5347 cat >conftest.
$ac_ext <<_ACEOF
5350 cat confdefs.h
>>conftest.
$ac_ext
5351 cat >>conftest.
$ac_ext <<_ACEOF
5352 /* end confdefs.h. */
5354 /* Override any gcc2 internal prototype to avoid an error. */
5358 /* We use char because int might match the return type of a gcc2
5359 builtin and then its argument prototype would still apply. */
5369 rm -f conftest.
$ac_objext conftest
$ac_exeext
5370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5371 (eval $ac_link) 2>conftest.er1
5373 grep -v '^ *+' conftest.er1
>conftest.err
5375 cat conftest.err
>&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); } &&
5378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; } &&
5384 { ac_try
='test -s conftest$ac_exeext'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; }; then
5390 ac_cv_lib_m_sqrt
=yes
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.
$ac_ext >&5
5397 rm -f conftest.err conftest.
$ac_objext \
5398 conftest
$ac_exeext conftest.
$ac_ext
5399 LIBS
=$ac_check_lib_save_LIBS
5401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5402 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5403 if test $ac_cv_lib_m_sqrt = yes; then
5404 cat >>confdefs.h
<<_ACEOF
5413 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5414 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5415 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 ac_check_lib_save_LIBS
=$LIBS
5420 cat >conftest.
$ac_ext <<_ACEOF
5423 cat confdefs.h
>>conftest.
$ac_ext
5424 cat >>conftest.
$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5427 /* Override any gcc2 internal prototype to avoid an error. */
5431 /* We use char because int might match the return type of a gcc2
5432 builtin and then its argument prototype would still apply. */
5433 char i386_set_ldt ();
5442 rm -f conftest.
$ac_objext conftest
$ac_exeext
5443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5444 (eval $ac_link) 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } &&
5451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; } &&
5457 { ac_try
='test -s conftest$ac_exeext'
5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); }; }; then
5463 ac_cv_lib_i386_i386_set_ldt
=yes
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.
$ac_ext >&5
5468 ac_cv_lib_i386_i386_set_ldt
=no
5470 rm -f conftest.err conftest.
$ac_objext \
5471 conftest
$ac_exeext conftest.
$ac_ext
5472 LIBS
=$ac_check_lib_save_LIBS
5474 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5475 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5476 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5477 cat >>confdefs.h
<<_ACEOF
5478 #define HAVE_LIBI386 1
5486 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5487 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5488 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 ac_check_lib_save_LIBS
=$LIBS
5492 LIBS
="-lossaudio $LIBS"
5493 cat >conftest.
$ac_ext <<_ACEOF
5496 cat confdefs.h
>>conftest.
$ac_ext
5497 cat >>conftest.
$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5500 /* Override any gcc2 internal prototype to avoid an error. */
5504 /* We use char because int might match the return type of a gcc2
5505 builtin and then its argument prototype would still apply. */
5515 rm -f conftest.
$ac_objext conftest
$ac_exeext
5516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5517 (eval $ac_link) 2>conftest.er1
5519 grep -v '^ *+' conftest.er1
>conftest.err
5521 cat conftest.err
>&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); } &&
5524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); }; } &&
5530 { ac_try
='test -s conftest$ac_exeext'
5531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); }; }; then
5536 ac_cv_lib_ossaudio__oss_ioctl
=yes
5538 echo "$as_me: failed program was:" >&5
5539 sed 's/^/| /' conftest.
$ac_ext >&5
5541 ac_cv_lib_ossaudio__oss_ioctl
=no
5543 rm -f conftest.err conftest.
$ac_objext \
5544 conftest
$ac_exeext conftest.
$ac_ext
5545 LIBS
=$ac_check_lib_save_LIBS
5547 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5548 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5549 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5550 cat >>confdefs.h
<<_ACEOF
5551 #define HAVE_LIBOSSAUDIO 1
5554 LIBS
="-lossaudio $LIBS"
5559 for ac_func
in iswalnum
5561 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5562 echo "$as_me:$LINENO: checking for $ac_func" >&5
5563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5564 if eval "test \"\${$as_ac_var+set}\" = set"; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 cat >conftest.
$ac_ext <<_ACEOF
5570 cat confdefs.h
>>conftest.
$ac_ext
5571 cat >>conftest.
$ac_ext <<_ACEOF
5572 /* end confdefs.h. */
5573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5575 #define $ac_func innocuous_$ac_func
5577 /* System header to define __stub macros and hopefully few prototypes,
5578 which can conflict with char $ac_func (); below.
5579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5580 <limits.h> exists even on freestanding compilers. */
5583 # include <limits.h>
5585 # include <assert.h>
5590 /* Override any gcc2 internal prototype to avoid an error. */
5595 /* We use char because int might match the return type of a gcc2
5596 builtin and then its argument prototype would still apply. */
5598 /* The GNU C library defines this for functions which it implements
5599 to always fail with ENOSYS. Some functions are actually named
5600 something starting with __ and the normal name is an alias. */
5601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5604 char (*f) () = $ac_func;
5613 return f != $ac_func;
5618 rm -f conftest.
$ac_objext conftest
$ac_exeext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5620 (eval $ac_link) 2>conftest.er1
5622 grep -v '^ *+' conftest.er1
>conftest.err
5624 cat conftest.err
>&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } &&
5627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); }; } &&
5633 { ac_try
='test -s conftest$ac_exeext'
5634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); }; }; then
5639 eval "$as_ac_var=yes"
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.
$ac_ext >&5
5644 eval "$as_ac_var=no"
5646 rm -f conftest.err conftest.
$ac_objext \
5647 conftest
$ac_exeext conftest.
$ac_ext
5649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5651 if test `eval echo '${'$as_ac_var'}'` = yes; then
5652 cat >>confdefs.h
<<_ACEOF
5653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5658 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5659 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5660 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 ac_check_lib_save_LIBS
=$LIBS
5665 cat >conftest.
$ac_ext <<_ACEOF
5668 cat confdefs.h
>>conftest.
$ac_ext
5669 cat >>conftest.
$ac_ext <<_ACEOF
5670 /* end confdefs.h. */
5672 /* Override any gcc2 internal prototype to avoid an error. */
5676 /* We use char because int might match the return type of a gcc2
5677 builtin and then its argument prototype would still apply. */
5687 rm -f conftest.
$ac_objext conftest
$ac_exeext
5688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5689 (eval $ac_link) 2>conftest.er1
5691 grep -v '^ *+' conftest.er1
>conftest.err
5693 cat conftest.err
>&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); } &&
5696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; } &&
5702 { ac_try
='test -s conftest$ac_exeext'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; }; then
5708 ac_cv_lib_w_iswalnum
=yes
5710 echo "$as_me: failed program was:" >&5
5711 sed 's/^/| /' conftest.
$ac_ext >&5
5713 ac_cv_lib_w_iswalnum
=no
5715 rm -f conftest.err conftest.
$ac_objext \
5716 conftest
$ac_exeext conftest.
$ac_ext
5717 LIBS
=$ac_check_lib_save_LIBS
5719 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5720 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5721 if test $ac_cv_lib_w_iswalnum = yes; then
5722 cat >>confdefs.h
<<_ACEOF
5734 for ac_func
in gethostbyname
5736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5737 echo "$as_me:$LINENO: checking for $ac_func" >&5
5738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5739 if eval "test \"\${$as_ac_var+set}\" = set"; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 cat >conftest.
$ac_ext <<_ACEOF
5745 cat confdefs.h
>>conftest.
$ac_ext
5746 cat >>conftest.
$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5750 #define $ac_func innocuous_$ac_func
5752 /* System header to define __stub macros and hopefully few prototypes,
5753 which can conflict with char $ac_func (); below.
5754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5755 <limits.h> exists even on freestanding compilers. */
5758 # include <limits.h>
5760 # include <assert.h>
5765 /* Override any gcc2 internal prototype to avoid an error. */
5770 /* We use char because int might match the return type of a gcc2
5771 builtin and then its argument prototype would still apply. */
5773 /* The GNU C library defines this for functions which it implements
5774 to always fail with ENOSYS. Some functions are actually named
5775 something starting with __ and the normal name is an alias. */
5776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5779 char (*f) () = $ac_func;
5788 return f != $ac_func;
5793 rm -f conftest.
$ac_objext conftest
$ac_exeext
5794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5795 (eval $ac_link) 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } &&
5802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); }; } &&
5808 { ac_try
='test -s conftest$ac_exeext'
5809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }; }; then
5814 eval "$as_ac_var=yes"
5816 echo "$as_me: failed program was:" >&5
5817 sed 's/^/| /' conftest.
$ac_ext >&5
5819 eval "$as_ac_var=no"
5821 rm -f conftest.err conftest.
$ac_objext \
5822 conftest
$ac_exeext conftest.
$ac_ext
5824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5826 if test `eval echo '${'$as_ac_var'}'` = yes; then
5827 cat >>confdefs.h
<<_ACEOF
5828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5833 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5834 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5835 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 ac_check_lib_save_LIBS
=$LIBS
5840 cat >conftest.
$ac_ext <<_ACEOF
5843 cat confdefs.h
>>conftest.
$ac_ext
5844 cat >>conftest.
$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5847 /* Override any gcc2 internal prototype to avoid an error. */
5851 /* We use char because int might match the return type of a gcc2
5852 builtin and then its argument prototype would still apply. */
5853 char gethostbyname ();
5862 rm -f conftest.
$ac_objext conftest
$ac_exeext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5864 (eval $ac_link) 2>conftest.er1
5866 grep -v '^ *+' conftest.er1
>conftest.err
5868 cat conftest.err
>&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } &&
5871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; } &&
5877 { ac_try
='test -s conftest$ac_exeext'
5878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); }; }; then
5883 ac_cv_lib_nsl_gethostbyname
=yes
5885 echo "$as_me: failed program was:" >&5
5886 sed 's/^/| /' conftest.
$ac_ext >&5
5888 ac_cv_lib_nsl_gethostbyname
=no
5890 rm -f conftest.err conftest.
$ac_objext \
5891 conftest
$ac_exeext conftest.
$ac_ext
5892 LIBS
=$ac_check_lib_save_LIBS
5894 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5895 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5896 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5897 cat >>confdefs.h
<<_ACEOF
5898 #define HAVE_LIBNSL 1
5909 for ac_func
in connect
5911 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5912 echo "$as_me:$LINENO: checking for $ac_func" >&5
5913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5914 if eval "test \"\${$as_ac_var+set}\" = set"; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 cat >conftest.
$ac_ext <<_ACEOF
5920 cat confdefs.h
>>conftest.
$ac_ext
5921 cat >>conftest.
$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5925 #define $ac_func innocuous_$ac_func
5927 /* System header to define __stub macros and hopefully few prototypes,
5928 which can conflict with char $ac_func (); below.
5929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5930 <limits.h> exists even on freestanding compilers. */
5933 # include <limits.h>
5935 # include <assert.h>
5940 /* Override any gcc2 internal prototype to avoid an error. */
5945 /* We use char because int might match the return type of a gcc2
5946 builtin and then its argument prototype would still apply. */
5948 /* The GNU C library defines this for functions which it implements
5949 to always fail with ENOSYS. Some functions are actually named
5950 something starting with __ and the normal name is an alias. */
5951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5954 char (*f) () = $ac_func;
5963 return f != $ac_func;
5968 rm -f conftest.
$ac_objext conftest
$ac_exeext
5969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5970 (eval $ac_link) 2>conftest.er1
5972 grep -v '^ *+' conftest.er1
>conftest.err
5974 cat conftest.err
>&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); } &&
5977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; } &&
5983 { ac_try
='test -s conftest$ac_exeext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 eval "$as_ac_var=yes"
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.
$ac_ext >&5
5994 eval "$as_ac_var=no"
5996 rm -f conftest.err conftest.
$ac_objext \
5997 conftest
$ac_exeext conftest.
$ac_ext
5999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6001 if test `eval echo '${'$as_ac_var'}'` = yes; then
6002 cat >>confdefs.h
<<_ACEOF
6003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6008 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6009 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6010 if test "${ac_cv_lib_socket_connect+set}" = set; then
6011 echo $ECHO_N "(cached) $ECHO_C" >&6
6013 ac_check_lib_save_LIBS
=$LIBS
6014 LIBS
="-lsocket $LIBS"
6015 cat >conftest.
$ac_ext <<_ACEOF
6018 cat confdefs.h
>>conftest.
$ac_ext
6019 cat >>conftest.
$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6022 /* Override any gcc2 internal prototype to avoid an error. */
6026 /* We use char because int might match the return type of a gcc2
6027 builtin and then its argument prototype would still apply. */
6037 rm -f conftest.
$ac_objext conftest
$ac_exeext
6038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6039 (eval $ac_link) 2>conftest.er1
6041 grep -v '^ *+' conftest.er1
>conftest.err
6043 cat conftest.err
>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } &&
6046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; } &&
6052 { ac_try
='test -s conftest$ac_exeext'
6053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; }; then
6058 ac_cv_lib_socket_connect
=yes
6060 echo "$as_me: failed program was:" >&5
6061 sed 's/^/| /' conftest.
$ac_ext >&5
6063 ac_cv_lib_socket_connect
=no
6065 rm -f conftest.err conftest.
$ac_objext \
6066 conftest
$ac_exeext conftest.
$ac_ext
6067 LIBS
=$ac_check_lib_save_LIBS
6069 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6070 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6071 if test $ac_cv_lib_socket_connect = yes; then
6072 cat >>confdefs.h
<<_ACEOF
6073 #define HAVE_LIBSOCKET 1
6076 LIBS
="-lsocket $LIBS"
6084 for ac_func
in inet_aton
6086 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6087 echo "$as_me:$LINENO: checking for $ac_func" >&5
6088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6089 if eval "test \"\${$as_ac_var+set}\" = set"; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 cat >conftest.
$ac_ext <<_ACEOF
6095 cat confdefs.h
>>conftest.
$ac_ext
6096 cat >>conftest.
$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6100 #define $ac_func innocuous_$ac_func
6102 /* System header to define __stub macros and hopefully few prototypes,
6103 which can conflict with char $ac_func (); below.
6104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6105 <limits.h> exists even on freestanding compilers. */
6108 # include <limits.h>
6110 # include <assert.h>
6115 /* Override any gcc2 internal prototype to avoid an error. */
6120 /* We use char because int might match the return type of a gcc2
6121 builtin and then its argument prototype would still apply. */
6123 /* The GNU C library defines this for functions which it implements
6124 to always fail with ENOSYS. Some functions are actually named
6125 something starting with __ and the normal name is an alias. */
6126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6129 char (*f) () = $ac_func;
6138 return f != $ac_func;
6143 rm -f conftest.
$ac_objext conftest
$ac_exeext
6144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6145 (eval $ac_link) 2>conftest.er1
6147 grep -v '^ *+' conftest.er1
>conftest.err
6149 cat conftest.err
>&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } &&
6152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; } &&
6158 { ac_try
='test -s conftest$ac_exeext'
6159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; }; then
6164 eval "$as_ac_var=yes"
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.
$ac_ext >&5
6169 eval "$as_ac_var=no"
6171 rm -f conftest.err conftest.
$ac_objext \
6172 conftest
$ac_exeext conftest.
$ac_ext
6174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6176 if test `eval echo '${'$as_ac_var'}'` = yes; then
6177 cat >>confdefs.h
<<_ACEOF
6178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6183 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6184 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6185 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 ac_check_lib_save_LIBS
=$LIBS
6189 LIBS
="-lresolv $LIBS"
6190 cat >conftest.
$ac_ext <<_ACEOF
6193 cat confdefs.h
>>conftest.
$ac_ext
6194 cat >>conftest.
$ac_ext <<_ACEOF
6195 /* end confdefs.h. */
6197 /* Override any gcc2 internal prototype to avoid an error. */
6201 /* We use char because int might match the return type of a gcc2
6202 builtin and then its argument prototype would still apply. */
6212 rm -f conftest.
$ac_objext conftest
$ac_exeext
6213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6214 (eval $ac_link) 2>conftest.er1
6216 grep -v '^ *+' conftest.er1
>conftest.err
6218 cat conftest.err
>&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } &&
6221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); }; } &&
6227 { ac_try
='test -s conftest$ac_exeext'
6228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); }; }; then
6233 ac_cv_lib_resolv_inet_aton
=yes
6235 echo "$as_me: failed program was:" >&5
6236 sed 's/^/| /' conftest.
$ac_ext >&5
6238 ac_cv_lib_resolv_inet_aton
=no
6240 rm -f conftest.err conftest.
$ac_objext \
6241 conftest
$ac_exeext conftest.
$ac_ext
6242 LIBS
=$ac_check_lib_save_LIBS
6244 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6245 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6246 if test $ac_cv_lib_resolv_inet_aton = yes; then
6247 cat >>confdefs.h
<<_ACEOF
6248 #define HAVE_LIBRESOLV 1
6251 LIBS
="-lresolv $LIBS"
6259 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6260 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6261 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6262 echo $ECHO_N "(cached) $ECHO_C" >&6
6264 ac_check_lib_save_LIBS
=$LIBS
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6273 /* Override any gcc2 internal prototype to avoid an error. */
6277 /* We use char because int might match the return type of a gcc2
6278 builtin and then its argument prototype would still apply. */
6279 char _xpg4_setrunelocale ();
6283 _xpg4_setrunelocale ();
6288 rm -f conftest.
$ac_objext conftest
$ac_exeext
6289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6290 (eval $ac_link) 2>conftest.er1
6292 grep -v '^ *+' conftest.er1
>conftest.err
6294 cat conftest.err
>&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); } &&
6297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } &&
6303 { ac_try
='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6309 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6311 echo "$as_me: failed program was:" >&5
6312 sed 's/^/| /' conftest.
$ac_ext >&5
6314 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6316 rm -f conftest.err conftest.
$ac_objext \
6317 conftest
$ac_exeext conftest.
$ac_ext
6318 LIBS
=$ac_check_lib_save_LIBS
6320 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6321 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6322 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6323 cat >>confdefs.h
<<_ACEOF
6324 #define HAVE_LIBXPG4 1
6332 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6333 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6334 if test "${ac_cv_lib_poll_poll+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6337 ac_check_lib_save_LIBS
=$LIBS
6339 cat >conftest.
$ac_ext <<_ACEOF
6342 cat confdefs.h
>>conftest.
$ac_ext
6343 cat >>conftest.
$ac_ext <<_ACEOF
6344 /* end confdefs.h. */
6346 /* Override any gcc2 internal prototype to avoid an error. */
6350 /* We use char because int might match the return type of a gcc2
6351 builtin and then its argument prototype would still apply. */
6361 rm -f conftest.
$ac_objext conftest
$ac_exeext
6362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6363 (eval $ac_link) 2>conftest.er1
6365 grep -v '^ *+' conftest.er1
>conftest.err
6367 cat conftest.err
>&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); } &&
6370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; } &&
6376 { ac_try
='test -s conftest$ac_exeext'
6377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }; }; then
6382 ac_cv_lib_poll_poll
=yes
6384 echo "$as_me: failed program was:" >&5
6385 sed 's/^/| /' conftest.
$ac_ext >&5
6387 ac_cv_lib_poll_poll
=no
6389 rm -f conftest.err conftest.
$ac_objext \
6390 conftest
$ac_exeext conftest.
$ac_ext
6391 LIBS
=$ac_check_lib_save_LIBS
6393 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6394 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6395 if test $ac_cv_lib_poll_poll = yes; then
6396 cat >>confdefs.h
<<_ACEOF
6397 #define HAVE_LIBPOLL 1
6404 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6405 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6406 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 ac_check_lib_save_LIBS
=$LIBS
6410 LIBS
="-lpthread $LIBS"
6411 cat >conftest.
$ac_ext <<_ACEOF
6414 cat confdefs.h
>>conftest.
$ac_ext
6415 cat >>conftest.
$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6418 /* Override any gcc2 internal prototype to avoid an error. */
6422 /* We use char because int might match the return type of a gcc2
6423 builtin and then its argument prototype would still apply. */
6424 char pthread_create ();
6433 rm -f conftest.
$ac_objext conftest
$ac_exeext
6434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6435 (eval $ac_link) 2>conftest.er1
6437 grep -v '^ *+' conftest.er1
>conftest.err
6439 cat conftest.err
>&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); } &&
6442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; } &&
6448 { ac_try
='test -s conftest$ac_exeext'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then
6454 ac_cv_lib_pthread_pthread_create
=yes
6456 echo "$as_me: failed program was:" >&5
6457 sed 's/^/| /' conftest.
$ac_ext >&5
6459 ac_cv_lib_pthread_pthread_create
=no
6461 rm -f conftest.err conftest.
$ac_objext \
6462 conftest
$ac_exeext conftest.
$ac_ext
6463 LIBS
=$ac_check_lib_save_LIBS
6465 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6466 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6467 if test $ac_cv_lib_pthread_pthread_create = yes; then
6468 LIBPTHREAD
="-lpthread"
6475 echo "$as_me:$LINENO: checking for egrep" >&5
6476 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6477 if test "${ac_cv_prog_egrep+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6481 then ac_cv_prog_egrep
='grep -E'
6482 else ac_cv_prog_egrep
='egrep'
6485 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6486 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6487 EGREP
=$ac_cv_prog_egrep
6490 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6491 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6492 if test "${ac_cv_header_stdc+set}" = set; then
6493 echo $ECHO_N "(cached) $ECHO_C" >&6
6495 cat >conftest.
$ac_ext <<_ACEOF
6498 cat confdefs.h
>>conftest.
$ac_ext
6499 cat >>conftest.
$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6514 rm -f conftest.
$ac_objext
6515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6516 (eval $ac_compile) 2>conftest.er1
6518 grep -v '^ *+' conftest.er1
>conftest.err
6520 cat conftest.err
>&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } &&
6523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); }; } &&
6529 { ac_try
='test -s conftest.$ac_objext'
6530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); }; }; then
6535 ac_cv_header_stdc
=yes
6537 echo "$as_me: failed program was:" >&5
6538 sed 's/^/| /' conftest.
$ac_ext >&5
6540 ac_cv_header_stdc
=no
6542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6544 if test $ac_cv_header_stdc = yes; then
6545 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6546 cat >conftest.
$ac_ext <<_ACEOF
6549 cat confdefs.h
>>conftest.
$ac_ext
6550 cat >>conftest.
$ac_ext <<_ACEOF
6551 /* end confdefs.h. */
6555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6556 $EGREP "memchr" >/dev
/null
2>&1; then
6559 ac_cv_header_stdc
=no
6565 if test $ac_cv_header_stdc = yes; then
6566 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6567 cat >conftest.
$ac_ext <<_ACEOF
6570 cat confdefs.h
>>conftest.
$ac_ext
6571 cat >>conftest.
$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6577 $EGREP "free" >/dev
/null
2>&1; then
6580 ac_cv_header_stdc
=no
6586 if test $ac_cv_header_stdc = yes; then
6587 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6588 if test "$cross_compiling" = yes; then
6591 cat >conftest.
$ac_ext <<_ACEOF
6594 cat confdefs.h
>>conftest.
$ac_ext
6595 cat >>conftest.
$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 #if ((' ' & 0x0FF) == 0x020)
6599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6602 # define ISLOWER(c) \
6603 (('a' <= (c) && (c) <= 'i') \
6604 || ('j' <= (c) && (c) <= 'r') \
6605 || ('s' <= (c) && (c) <= 'z'))
6606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6614 for (i = 0; i < 256; i++)
6615 if (XOR (islower (i), ISLOWER (i))
6616 || toupper (i) != TOUPPER (i))
6621 rm -f conftest
$ac_exeext
6622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6623 (eval $ac_link) 2>&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6634 echo "$as_me: program exited with status $ac_status" >&5
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.
$ac_ext >&5
6639 ac_cv_header_stdc
=no
6641 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6645 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6646 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6647 if test $ac_cv_header_stdc = yes; then
6649 cat >>confdefs.h
<<\_ACEOF
6650 #define STDC_HEADERS 1
6655 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6665 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6666 inttypes.h stdint.h unistd.h
6668 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6669 echo "$as_me:$LINENO: checking for $ac_header" >&5
6670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6672 echo $ECHO_N "(cached) $ECHO_C" >&6
6674 cat >conftest.
$ac_ext <<_ACEOF
6677 cat confdefs.h
>>conftest.
$ac_ext
6678 cat >>conftest.
$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6680 $ac_includes_default
6682 #include <$ac_header>
6684 rm -f conftest.
$ac_objext
6685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6686 (eval $ac_compile) 2>conftest.er1
6688 grep -v '^ *+' conftest.er1
>conftest.err
6690 cat conftest.err
>&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } &&
6693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; } &&
6699 { ac_try
='test -s conftest.$ac_objext'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then
6705 eval "$as_ac_Header=yes"
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.
$ac_ext >&5
6710 eval "$as_ac_Header=no"
6712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6717 cat >>confdefs.h
<<_ACEOF
6718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 for ac_header
in jpeglib.h
6729 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo "$as_me:$LINENO: checking for $ac_header" >&5
6732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6734 echo $ECHO_N "(cached) $ECHO_C" >&6
6736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6739 # Is the header compilable?
6740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6742 cat >conftest.
$ac_ext <<_ACEOF
6745 cat confdefs.h
>>conftest.
$ac_ext
6746 cat >>conftest.
$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 $ac_includes_default
6749 #include <$ac_header>
6751 rm -f conftest.
$ac_objext
6752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6753 (eval $ac_compile) 2>conftest.er1
6755 grep -v '^ *+' conftest.er1
>conftest.err
6757 cat conftest.err
>&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } &&
6760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; } &&
6766 { ac_try
='test -s conftest.$ac_objext'
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; }; then
6772 ac_header_compiler
=yes
6774 echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.
$ac_ext >&5
6777 ac_header_compiler
=no
6779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6781 echo "${ECHO_T}$ac_header_compiler" >&6
6783 # Is the header present?
6784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6786 cat >conftest.
$ac_ext <<_ACEOF
6789 cat confdefs.h
>>conftest.
$ac_ext
6790 cat >>conftest.
$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6792 #include <$ac_header>
6794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6795 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6797 grep -v '^ *+' conftest.er1
>conftest.err
6799 cat conftest.err
>&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } >/dev
/null
; then
6802 if test -s conftest.err
; then
6803 ac_cpp_err
=$ac_c_preproc_warn_flag
6804 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6811 if test -z "$ac_cpp_err"; then
6812 ac_header_preproc
=yes
6814 echo "$as_me: failed program was:" >&5
6815 sed 's/^/| /' conftest.
$ac_ext >&5
6817 ac_header_preproc
=no
6819 rm -f conftest.err conftest.
$ac_ext
6820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6821 echo "${ECHO_T}$ac_header_preproc" >&6
6823 # So? What about this header?
6824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6829 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6830 ac_header_preproc
=yes
6833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6847 ## ------------------------------------ ##
6848 ## Report this to wine-devel@winehq.org ##
6849 ## ------------------------------------ ##
6852 sed "s/^/$as_me: WARNING: /" >&2
6855 echo "$as_me:$LINENO: checking for $ac_header" >&5
6856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6858 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 eval "$as_ac_Header=\$ac_header_preproc"
6862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6867 cat >>confdefs.h
<<_ACEOF
6868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6871 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6872 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6873 echo $ECHO_N "(cached) $ECHO_C" >&6
6875 ac_check_lib_save_LIBS
=$LIBS
6877 cat >conftest.
$ac_ext <<_ACEOF
6880 cat confdefs.h
>>conftest.
$ac_ext
6881 cat >>conftest.
$ac_ext <<_ACEOF
6882 /* end confdefs.h. */
6884 /* Override any gcc2 internal prototype to avoid an error. */
6888 /* We use char because int might match the return type of a gcc2
6889 builtin and then its argument prototype would still apply. */
6890 char jpeg_start_decompress ();
6894 jpeg_start_decompress ();
6899 rm -f conftest.
$ac_objext conftest
$ac_exeext
6900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6901 (eval $ac_link) 2>conftest.er1
6903 grep -v '^ *+' conftest.er1
>conftest.err
6905 cat conftest.err
>&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); } &&
6908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; } &&
6914 { ac_try
='test -s conftest$ac_exeext'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; }; then
6920 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.
$ac_ext >&5
6925 ac_cv_lib_jpeg_jpeg_start_decompress
=no
6927 rm -f conftest.err conftest.
$ac_objext \
6928 conftest
$ac_exeext conftest.
$ac_ext
6929 LIBS
=$ac_check_lib_save_LIBS
6931 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6932 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6933 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6935 cat >>confdefs.h
<<\_ACEOF
6936 #define HAVE_LIBJPEG 1
6952 for ac_header
in gif_lib.h
6954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6956 echo "$as_me:$LINENO: checking for $ac_header" >&5
6957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6959 echo $ECHO_N "(cached) $ECHO_C" >&6
6961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6964 # Is the header compilable?
6965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6967 cat >conftest.
$ac_ext <<_ACEOF
6970 cat confdefs.h
>>conftest.
$ac_ext
6971 cat >>conftest.
$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6973 $ac_includes_default
6974 #include <$ac_header>
6976 rm -f conftest.
$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>conftest.er1
6980 grep -v '^ *+' conftest.er1
>conftest.err
6982 cat conftest.err
>&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; } &&
6991 { ac_try
='test -s conftest.$ac_objext'
6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); }; }; then
6997 ac_header_compiler
=yes
6999 echo "$as_me: failed program was:" >&5
7000 sed 's/^/| /' conftest.
$ac_ext >&5
7002 ac_header_compiler
=no
7004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7006 echo "${ECHO_T}$ac_header_compiler" >&6
7008 # Is the header present?
7009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7011 cat >conftest.
$ac_ext <<_ACEOF
7014 cat confdefs.h
>>conftest.
$ac_ext
7015 cat >>conftest.
$ac_ext <<_ACEOF
7016 /* end confdefs.h. */
7017 #include <$ac_header>
7019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7022 grep -v '^ *+' conftest.er1
>conftest.err
7024 cat conftest.err
>&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } >/dev
/null
; then
7027 if test -s conftest.err
; then
7028 ac_cpp_err
=$ac_c_preproc_warn_flag
7029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7036 if test -z "$ac_cpp_err"; then
7037 ac_header_preproc
=yes
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.
$ac_ext >&5
7042 ac_header_preproc
=no
7044 rm -f conftest.err conftest.
$ac_ext
7045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7046 echo "${ECHO_T}$ac_header_preproc" >&6
7048 # So? What about this header?
7049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7055 ac_header_preproc
=yes
7058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7072 ## ------------------------------------ ##
7073 ## Report this to wine-devel@winehq.org ##
7074 ## ------------------------------------ ##
7077 sed "s/^/$as_me: WARNING: /" >&2
7080 echo "$as_me:$LINENO: checking for $ac_header" >&5
7081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 eval "$as_ac_Header=\$ac_header_preproc"
7087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7092 cat >>confdefs.h
<<_ACEOF
7093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7096 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7097 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7098 echo $ECHO_N "(cached) $ECHO_C" >&6
7100 ac_check_lib_save_LIBS
=$LIBS
7101 LIBS
="-lungif $LIBS"
7102 cat >conftest.
$ac_ext <<_ACEOF
7105 cat confdefs.h
>>conftest.
$ac_ext
7106 cat >>conftest.
$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7109 /* Override any gcc2 internal prototype to avoid an error. */
7113 /* We use char because int might match the return type of a gcc2
7114 builtin and then its argument prototype would still apply. */
7124 rm -f conftest.
$ac_objext conftest
$ac_exeext
7125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7126 (eval $ac_link) 2>conftest.er1
7128 grep -v '^ *+' conftest.er1
>conftest.err
7130 cat conftest.err
>&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); } &&
7133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; } &&
7139 { ac_try
='test -s conftest$ac_exeext'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; }; then
7145 ac_cv_lib_ungif_DGifOpen
=yes
7147 echo "$as_me: failed program was:" >&5
7148 sed 's/^/| /' conftest.
$ac_ext >&5
7150 ac_cv_lib_ungif_DGifOpen
=no
7152 rm -f conftest.err conftest.
$ac_objext \
7153 conftest
$ac_exeext conftest.
$ac_ext
7154 LIBS
=$ac_check_lib_save_LIBS
7156 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7157 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7158 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7160 cat >>confdefs.h
<<\_ACEOF
7161 #define HAVE_LIBGIF 1
7166 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7167 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7168 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 ac_check_lib_save_LIBS
=$LIBS
7173 cat >conftest.
$ac_ext <<_ACEOF
7176 cat confdefs.h
>>conftest.
$ac_ext
7177 cat >>conftest.
$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7180 /* Override any gcc2 internal prototype to avoid an error. */
7184 /* We use char because int might match the return type of a gcc2
7185 builtin and then its argument prototype would still apply. */
7195 rm -f conftest.
$ac_objext conftest
$ac_exeext
7196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7197 (eval $ac_link) 2>conftest.er1
7199 grep -v '^ *+' conftest.er1
>conftest.err
7201 cat conftest.err
>&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); } &&
7204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); }; } &&
7210 { ac_try
='test -s conftest$ac_exeext'
7211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); }; }; then
7216 ac_cv_lib_gif_DGifOpen
=yes
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.
$ac_ext >&5
7221 ac_cv_lib_gif_DGifOpen
=no
7223 rm -f conftest.err conftest.
$ac_objext \
7224 conftest
$ac_exeext conftest.
$ac_ext
7225 LIBS
=$ac_check_lib_save_LIBS
7227 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7228 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7229 if test $ac_cv_lib_gif_DGifOpen = yes; then
7230 cat >>confdefs.h
<<\_ACEOF
7231 #define HAVE_LIBGIF 1
7253 if test "$have_x" = "yes"
7256 ac_save_CPPFLAGS
="$CPPFLAGS"
7257 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7260 for ac_header
in X11
/Xlib.h
7262 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7264 echo "$as_me:$LINENO: checking for $ac_header" >&5
7265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7267 echo $ECHO_N "(cached) $ECHO_C" >&6
7269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7272 # Is the header compilable?
7273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7275 cat >conftest.
$ac_ext <<_ACEOF
7278 cat confdefs.h
>>conftest.
$ac_ext
7279 cat >>conftest.
$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 $ac_includes_default
7282 #include <$ac_header>
7284 rm -f conftest.
$ac_objext
7285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7286 (eval $ac_compile) 2>conftest.er1
7288 grep -v '^ *+' conftest.er1
>conftest.err
7290 cat conftest.err
>&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } &&
7293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; } &&
7299 { ac_try
='test -s conftest.$ac_objext'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7305 ac_header_compiler
=yes
7307 echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.
$ac_ext >&5
7310 ac_header_compiler
=no
7312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7313 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7314 echo "${ECHO_T}$ac_header_compiler" >&6
7316 # Is the header present?
7317 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7318 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7319 cat >conftest.
$ac_ext <<_ACEOF
7322 cat confdefs.h
>>conftest.
$ac_ext
7323 cat >>conftest.
$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7325 #include <$ac_header>
7327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7328 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7330 grep -v '^ *+' conftest.er1
>conftest.err
7332 cat conftest.err
>&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); } >/dev
/null
; then
7335 if test -s conftest.err
; then
7336 ac_cpp_err
=$ac_c_preproc_warn_flag
7337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7344 if test -z "$ac_cpp_err"; then
7345 ac_header_preproc
=yes
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.
$ac_ext >&5
7350 ac_header_preproc
=no
7352 rm -f conftest.err conftest.
$ac_ext
7353 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7354 echo "${ECHO_T}$ac_header_preproc" >&6
7356 # So? What about this header?
7357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7362 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7363 ac_header_preproc
=yes
7366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7370 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7371 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7372 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7373 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7376 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7377 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7380 ## ------------------------------------ ##
7381 ## Report this to wine-devel@winehq.org ##
7382 ## ------------------------------------ ##
7385 sed "s/^/$as_me: WARNING: /" >&2
7388 echo "$as_me:$LINENO: checking for $ac_header" >&5
7389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7393 eval "$as_ac_Header=\$ac_header_preproc"
7395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7400 cat >>confdefs.h
<<_ACEOF
7401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7414 for ac_header
in X11
/XKBlib.h \
7416 X11
/extensions
/shape.h \
7417 X11
/extensions
/XInput.h \
7418 X11
/extensions
/XShm.h \
7419 X11
/extensions
/Xrandr.h \
7420 X11
/extensions
/Xrender.h \
7421 X11
/extensions
/Xvlib.h \
7422 X11
/extensions
/xf86dga.h \
7423 X11
/extensions
/xf86vmode.h
7425 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 echo "$as_me:$LINENO: checking for $ac_header" >&5
7427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 cat >conftest.
$ac_ext <<_ACEOF
7434 cat confdefs.h
>>conftest.
$ac_ext
7435 cat >>conftest.
$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7437 #include <X11/Xlib.h>
7438 #ifdef HAVE_X11_XUTIL_H
7439 # include <X11/Xutil.h>
7442 #include <$ac_header>
7444 rm -f conftest.
$ac_objext
7445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7446 (eval $ac_compile) 2>conftest.er1
7448 grep -v '^ *+' conftest.er1
>conftest.err
7450 cat conftest.err
>&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try
='test -s conftest.$ac_objext'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 eval "$as_ac_Header=yes"
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.
$ac_ext >&5
7470 eval "$as_ac_Header=no"
7472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7477 cat >>confdefs.h
<<_ACEOF
7478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7486 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7488 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7489 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7490 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 ac_check_lib_save_LIBS
=$LIBS
7494 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7495 cat >conftest.
$ac_ext <<_ACEOF
7498 cat confdefs.h
>>conftest.
$ac_ext
7499 cat >>conftest.
$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7502 /* Override any gcc2 internal prototype to avoid an error. */
7506 /* We use char because int might match the return type of a gcc2
7507 builtin and then its argument prototype would still apply. */
7508 char XkbQueryExtension ();
7512 XkbQueryExtension ();
7517 rm -f conftest.
$ac_objext conftest
$ac_exeext
7518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7519 (eval $ac_link) 2>conftest.er1
7521 grep -v '^ *+' conftest.er1
>conftest.err
7523 cat conftest.err
>&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } &&
7526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); }; } &&
7532 { ac_try
='test -s conftest$ac_exeext'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; }; then
7538 ac_cv_lib_X11_XkbQueryExtension
=yes
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.
$ac_ext >&5
7543 ac_cv_lib_X11_XkbQueryExtension
=no
7545 rm -f conftest.err conftest.
$ac_objext \
7546 conftest
$ac_exeext conftest.
$ac_ext
7547 LIBS
=$ac_check_lib_save_LIBS
7549 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7550 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7551 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7553 cat >>confdefs.h
<<\_ACEOF
7561 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7563 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7564 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7565 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 ac_check_lib_save_LIBS
=$LIBS
7569 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7570 cat >conftest.
$ac_ext <<_ACEOF
7573 cat confdefs.h
>>conftest.
$ac_ext
7574 cat >>conftest.
$ac_ext <<_ACEOF
7575 /* end confdefs.h. */
7577 /* Override any gcc2 internal prototype to avoid an error. */
7581 /* We use char because int might match the return type of a gcc2
7582 builtin and then its argument prototype would still apply. */
7583 char XShmQueryExtension ();
7587 XShmQueryExtension ();
7592 rm -f conftest.
$ac_objext conftest
$ac_exeext
7593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7594 (eval $ac_link) 2>conftest.er1
7596 grep -v '^ *+' conftest.er1
>conftest.err
7598 cat conftest.err
>&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); }; } &&
7607 { ac_try
='test -s conftest$ac_exeext'
7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); }; }; then
7613 ac_cv_lib_Xext_XShmQueryExtension
=yes
7615 echo "$as_me: failed program was:" >&5
7616 sed 's/^/| /' conftest.
$ac_ext >&5
7618 ac_cv_lib_Xext_XShmQueryExtension
=no
7620 rm -f conftest.err conftest.
$ac_objext \
7621 conftest
$ac_exeext conftest.
$ac_ext
7622 LIBS
=$ac_check_lib_save_LIBS
7624 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7625 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7626 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7628 cat >>confdefs.h
<<\_ACEOF
7629 #define HAVE_LIBXXSHM 1
7636 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7638 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7639 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7640 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 ac_check_lib_save_LIBS
=$LIBS
7644 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7645 cat >conftest.
$ac_ext <<_ACEOF
7648 cat confdefs.h
>>conftest.
$ac_ext
7649 cat >>conftest.
$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7652 /* Override any gcc2 internal prototype to avoid an error. */
7656 /* We use char because int might match the return type of a gcc2
7657 builtin and then its argument prototype would still apply. */
7658 char XShapeQueryExtension ();
7662 XShapeQueryExtension ();
7667 rm -f conftest.
$ac_objext conftest
$ac_exeext
7668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7669 (eval $ac_link) 2>conftest.er1
7671 grep -v '^ *+' conftest.er1
>conftest.err
7673 cat conftest.err
>&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } &&
7676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); }; } &&
7682 { ac_try
='test -s conftest$ac_exeext'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7688 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7690 echo "$as_me: failed program was:" >&5
7691 sed 's/^/| /' conftest.
$ac_ext >&5
7693 ac_cv_lib_Xext_XShapeQueryExtension
=no
7695 rm -f conftest.err conftest.
$ac_objext \
7696 conftest
$ac_exeext conftest.
$ac_ext
7697 LIBS
=$ac_check_lib_save_LIBS
7699 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7700 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7701 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7703 cat >>confdefs.h
<<\_ACEOF
7704 #define HAVE_LIBXSHAPE 1
7711 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7713 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7714 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7715 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 ac_check_lib_save_LIBS
=$LIBS
7719 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7720 cat >conftest.
$ac_ext <<_ACEOF
7723 cat confdefs.h
>>conftest.
$ac_ext
7724 cat >>conftest.
$ac_ext <<_ACEOF
7725 /* end confdefs.h. */
7727 /* Override any gcc2 internal prototype to avoid an error. */
7731 /* We use char because int might match the return type of a gcc2
7732 builtin and then its argument prototype would still apply. */
7733 char XDGAQueryExtension ();
7737 XDGAQueryExtension ();
7742 rm -f conftest.
$ac_objext conftest
$ac_exeext
7743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7744 (eval $ac_link) 2>conftest.er1
7746 grep -v '^ *+' conftest.er1
>conftest.err
7748 cat conftest.err
>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); } &&
7751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; } &&
7757 { ac_try
='test -s conftest$ac_exeext'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; }; then
7763 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7765 echo "$as_me: failed program was:" >&5
7766 sed 's/^/| /' conftest.
$ac_ext >&5
7768 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7770 rm -f conftest.err conftest.
$ac_objext \
7771 conftest
$ac_exeext conftest.
$ac_ext
7772 LIBS
=$ac_check_lib_save_LIBS
7774 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7775 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7776 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7778 cat >>confdefs.h
<<\_ACEOF
7779 #define HAVE_LIBXXF86DGA2 1
7782 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7785 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7786 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7787 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7788 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 ac_check_lib_save_LIBS
=$LIBS
7791 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7793 cat >conftest.
$ac_ext <<_ACEOF
7796 cat confdefs.h
>>conftest.
$ac_ext
7797 cat >>conftest.
$ac_ext <<_ACEOF
7798 /* end confdefs.h. */
7800 /* Override any gcc2 internal prototype to avoid an error. */
7804 /* We use char because int might match the return type of a gcc2
7805 builtin and then its argument prototype would still apply. */
7806 char XF86DGAQueryExtension ();
7810 XF86DGAQueryExtension ();
7815 rm -f conftest.
$ac_objext conftest
$ac_exeext
7816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7817 (eval $ac_link) 2>conftest.er1
7819 grep -v '^ *+' conftest.er1
>conftest.err
7821 cat conftest.err
>&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try
='test -s conftest$ac_exeext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
7838 echo "$as_me: failed program was:" >&5
7839 sed 's/^/| /' conftest.
$ac_ext >&5
7841 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
7843 rm -f conftest.err conftest.
$ac_objext \
7844 conftest
$ac_exeext conftest.
$ac_ext
7845 LIBS
=$ac_check_lib_save_LIBS
7847 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7848 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7849 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7851 cat >>confdefs.h
<<\_ACEOF
7852 #define HAVE_LIBXXF86DGA 1
7855 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7864 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7866 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7867 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7868 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7869 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 ac_check_lib_save_LIBS
=$LIBS
7872 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7873 cat >conftest.
$ac_ext <<_ACEOF
7876 cat confdefs.h
>>conftest.
$ac_ext
7877 cat >>conftest.
$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7880 /* Override any gcc2 internal prototype to avoid an error. */
7884 /* We use char because int might match the return type of a gcc2
7885 builtin and then its argument prototype would still apply. */
7886 char XF86VidModeQueryExtension ();
7890 XF86VidModeQueryExtension ();
7895 rm -f conftest.
$ac_objext conftest
$ac_exeext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7897 (eval $ac_link) 2>conftest.er1
7899 grep -v '^ *+' conftest.er1
>conftest.err
7901 cat conftest.err
>&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; } &&
7910 { ac_try
='test -s conftest$ac_exeext'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; }; then
7916 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7918 echo "$as_me: failed program was:" >&5
7919 sed 's/^/| /' conftest.
$ac_ext >&5
7921 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7923 rm -f conftest.err conftest.
$ac_objext \
7924 conftest
$ac_exeext conftest.
$ac_ext
7925 LIBS
=$ac_check_lib_save_LIBS
7927 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7928 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7929 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7931 cat >>confdefs.h
<<\_ACEOF
7932 #define HAVE_LIBXXF86VM 1
7935 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7941 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7943 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
7944 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
7945 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 ac_check_lib_save_LIBS
=$LIBS
7949 LIBS
="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7950 cat >conftest.
$ac_ext <<_ACEOF
7953 cat confdefs.h
>>conftest.
$ac_ext
7954 cat >>conftest.
$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7957 /* Override any gcc2 internal prototype to avoid an error. */
7961 /* We use char because int might match the return type of a gcc2
7962 builtin and then its argument prototype would still apply. */
7963 char XRRSetScreenConfigAndRate ();
7967 XRRSetScreenConfigAndRate ();
7972 rm -f conftest.
$ac_objext conftest
$ac_exeext
7973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7974 (eval $ac_link) 2>conftest.er1
7976 grep -v '^ *+' conftest.er1
>conftest.err
7978 cat conftest.err
>&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); } &&
7981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); }; } &&
7987 { ac_try
='test -s conftest$ac_exeext'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; }; then
7993 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=yes
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.
$ac_ext >&5
7998 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=no
8000 rm -f conftest.err conftest.
$ac_objext \
8001 conftest
$ac_exeext conftest.
$ac_ext
8002 LIBS
=$ac_check_lib_save_LIBS
8004 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
8005 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
8006 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
8008 cat >>confdefs.h
<<\_ACEOF
8009 #define HAVE_LIBXRANDR 1
8012 X_PRE_LIBS
="$X_PRE_LIBS -lXrandr -lXrender"
8018 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8020 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8021 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8022 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8023 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 ac_check_lib_save_LIBS
=$LIBS
8026 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8027 cat >conftest.
$ac_ext <<_ACEOF
8030 cat confdefs.h
>>conftest.
$ac_ext
8031 cat >>conftest.
$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8034 /* Override any gcc2 internal prototype to avoid an error. */
8038 /* We use char because int might match the return type of a gcc2
8039 builtin and then its argument prototype would still apply. */
8040 char XvShmCreateImage ();
8044 XvShmCreateImage ();
8049 rm -f conftest.
$ac_objext conftest
$ac_exeext
8050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8051 (eval $ac_link) 2>conftest.er1
8053 grep -v '^ *+' conftest.er1
>conftest.err
8055 cat conftest.err
>&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } &&
8058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; } &&
8064 { ac_try
='test -s conftest$ac_exeext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8070 ac_cv_lib_Xv_XvShmCreateImage
=yes
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.
$ac_ext >&5
8075 ac_cv_lib_Xv_XvShmCreateImage
=no
8077 rm -f conftest.err conftest.
$ac_objext \
8078 conftest
$ac_exeext conftest.
$ac_ext
8079 LIBS
=$ac_check_lib_save_LIBS
8081 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8082 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8083 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8085 cat >>confdefs.h
<<\_ACEOF
8086 #define HAVE_XVIDEO 1
8089 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8100 if test "x$with_opengl" != "xno"
8102 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8104 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8105 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8106 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8107 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8108 { (exit 1); exit 1; }; }
8113 for ac_header
in GL
/gl.h GL
/glx.h
8115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8117 echo "$as_me:$LINENO: checking for $ac_header" >&5
8118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8120 echo $ECHO_N "(cached) $ECHO_C" >&6
8122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8125 # Is the header compilable?
8126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8128 cat >conftest.
$ac_ext <<_ACEOF
8131 cat confdefs.h
>>conftest.
$ac_ext
8132 cat >>conftest.
$ac_ext <<_ACEOF
8133 /* end confdefs.h. */
8134 $ac_includes_default
8135 #include <$ac_header>
8137 rm -f conftest.
$ac_objext
8138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8139 (eval $ac_compile) 2>conftest.er1
8141 grep -v '^ *+' conftest.er1
>conftest.err
8143 cat conftest.err
>&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } &&
8146 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); }; } &&
8152 { ac_try
='test -s conftest.$ac_objext'
8153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; }; then
8158 ac_header_compiler
=yes
8160 echo "$as_me: failed program was:" >&5
8161 sed 's/^/| /' conftest.
$ac_ext >&5
8163 ac_header_compiler
=no
8165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8167 echo "${ECHO_T}$ac_header_compiler" >&6
8169 # Is the header present?
8170 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8171 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8172 cat >conftest.
$ac_ext <<_ACEOF
8175 cat confdefs.h
>>conftest.
$ac_ext
8176 cat >>conftest.
$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 #include <$ac_header>
8180 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8181 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8183 grep -v '^ *+' conftest.er1
>conftest.err
8185 cat conftest.err
>&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } >/dev
/null
; then
8188 if test -s conftest.err
; then
8189 ac_cpp_err
=$ac_c_preproc_warn_flag
8190 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8197 if test -z "$ac_cpp_err"; then
8198 ac_header_preproc
=yes
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.
$ac_ext >&5
8203 ac_header_preproc
=no
8205 rm -f conftest.err conftest.
$ac_ext
8206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8207 echo "${ECHO_T}$ac_header_preproc" >&6
8209 # So? What about this header?
8210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8216 ac_header_preproc
=yes
8219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8233 ## ------------------------------------ ##
8234 ## Report this to wine-devel@winehq.org ##
8235 ## ------------------------------------ ##
8238 sed "s/^/$as_me: WARNING: /" >&2
8241 echo "$as_me:$LINENO: checking for $ac_header" >&5
8242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8244 echo $ECHO_N "(cached) $ECHO_C" >&6
8246 eval "$as_ac_Header=\$ac_header_preproc"
8248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8253 cat >>confdefs.h
<<_ACEOF
8254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8261 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8264 for ac_header
in GL
/glext.h
8266 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8267 echo "$as_me:$LINENO: checking for $ac_header" >&5
8268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 cat >conftest.
$ac_ext <<_ACEOF
8275 cat confdefs.h
>>conftest.
$ac_ext
8276 cat >>conftest.
$ac_ext <<_ACEOF
8277 /* end confdefs.h. */
8280 #include <$ac_header>
8282 rm -f conftest.
$ac_objext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8284 (eval $ac_compile) 2>conftest.er1
8286 grep -v '^ *+' conftest.er1
>conftest.err
8288 cat conftest.err
>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try
='test -s conftest.$ac_objext'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 eval "$as_ac_Header=yes"
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.
$ac_ext >&5
8308 eval "$as_ac_Header=no"
8310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8315 cat >>confdefs.h
<<_ACEOF
8316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8323 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8324 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8325 if test "${wine_cv_opengl_version_OK+set}" = set; then
8326 echo $ECHO_N "(cached) $ECHO_C" >&6
8328 cat >conftest.
$ac_ext <<_ACEOF
8331 cat confdefs.h
>>conftest.
$ac_ext
8332 cat >>conftest.
$ac_ext <<_ACEOF
8333 /* end confdefs.h. */
8338 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8343 rm -f conftest.
$ac_objext
8344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8345 (eval $ac_compile) 2>conftest.er1
8347 grep -v '^ *+' conftest.er1
>conftest.err
8349 cat conftest.err
>&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); } &&
8352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; } &&
8358 { ac_try
='test -s conftest.$ac_objext'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then
8364 wine_cv_opengl_version_OK
="yes"
8366 echo "$as_me: failed program was:" >&5
8367 sed 's/^/| /' conftest.
$ac_ext >&5
8369 wine_cv_opengl_version_OK
="no"
8372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8375 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8376 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8378 if test "$wine_cv_opengl_version_OK" = "yes"
8380 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8381 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8382 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8383 echo $ECHO_N "(cached) $ECHO_C" >&6
8385 ac_check_lib_save_LIBS
=$LIBS
8386 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8387 cat >conftest.
$ac_ext <<_ACEOF
8390 cat confdefs.h
>>conftest.
$ac_ext
8391 cat >>conftest.
$ac_ext <<_ACEOF
8392 /* end confdefs.h. */
8394 /* Override any gcc2 internal prototype to avoid an error. */
8398 /* We use char because int might match the return type of a gcc2
8399 builtin and then its argument prototype would still apply. */
8400 char glXCreateContext ();
8404 glXCreateContext ();
8409 rm -f conftest.
$ac_objext conftest
$ac_exeext
8410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8411 (eval $ac_link) 2>conftest.er1
8413 grep -v '^ *+' conftest.er1
>conftest.err
8415 cat conftest.err
>&5
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); } &&
8418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); }; } &&
8424 { ac_try
='test -s conftest$ac_exeext'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; }; then
8430 ac_cv_lib_GL_glXCreateContext
=yes
8432 echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.
$ac_ext >&5
8435 ac_cv_lib_GL_glXCreateContext
=no
8437 rm -f conftest.err conftest.
$ac_objext \
8438 conftest
$ac_exeext conftest.
$ac_ext
8439 LIBS
=$ac_check_lib_save_LIBS
8441 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8442 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8443 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8449 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8451 OPENGLFILES
='$(OPENGLFILES)'
8453 cat >>confdefs.h
<<\_ACEOF
8454 #define HAVE_OPENGL 1
8458 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8459 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8460 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 ac_check_lib_save_LIBS
=$LIBS
8464 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8465 cat >conftest.
$ac_ext <<_ACEOF
8468 cat confdefs.h
>>conftest.
$ac_ext
8469 cat >>conftest.
$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8472 /* Override any gcc2 internal prototype to avoid an error. */
8476 /* We use char because int might match the return type of a gcc2
8477 builtin and then its argument prototype would still apply. */
8478 char glXGetProcAddressARB ();
8482 glXGetProcAddressARB ();
8487 rm -f conftest.
$ac_objext conftest
$ac_exeext
8488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8489 (eval $ac_link) 2>conftest.er1
8491 grep -v '^ *+' conftest.er1
>conftest.err
8493 cat conftest.err
>&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } &&
8496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; } &&
8502 { ac_try
='test -s conftest$ac_exeext'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; }; then
8508 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.
$ac_ext >&5
8513 ac_cv_lib_GL_glXGetProcAddressARB
=no
8515 rm -f conftest.err conftest.
$ac_objext \
8516 conftest
$ac_exeext conftest.
$ac_ext
8517 LIBS
=$ac_check_lib_save_LIBS
8519 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8520 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8521 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8523 cat >>confdefs.h
<<\_ACEOF
8524 #define HAVE_GLX_GETPROCADDRESS 1
8530 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8532 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8533 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8534 if test "${wine_cv_extension_prototypes+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 cat >conftest.
$ac_ext <<_ACEOF
8540 cat confdefs.h
>>conftest.
$ac_ext
8541 cat >>conftest.
$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8544 #ifdef HAVE_GL_GLEXT_H
8545 # include <GL/glext.h>
8551 PFNGLCOLORTABLEEXTPROC test_proc;
8556 rm -f conftest.
$ac_objext
8557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8558 (eval $ac_compile) 2>conftest.er1
8560 grep -v '^ *+' conftest.er1
>conftest.err
8562 cat conftest.err
>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } &&
8565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; } &&
8571 { ac_try
='test -s conftest.$ac_objext'
8572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); }; }; then
8577 wine_cv_extension_prototypes
="yes"
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.
$ac_ext >&5
8582 wine_cv_extension_prototypes
="no"
8585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8588 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8589 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8590 if test "$wine_cv_extension_prototypes" = "yes"
8593 cat >>confdefs.h
<<\_ACEOF
8594 #define HAVE_GLEXT_PROTOTYPES 1
8601 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8602 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8603 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8604 echo $ECHO_N "(cached) $ECHO_C" >&6
8606 ac_check_lib_save_LIBS
=$LIBS
8607 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8609 cat >conftest.
$ac_ext <<_ACEOF
8612 cat confdefs.h
>>conftest.
$ac_ext
8613 cat >>conftest.
$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8616 /* Override any gcc2 internal prototype to avoid an error. */
8620 /* We use char because int might match the return type of a gcc2
8621 builtin and then its argument prototype would still apply. */
8631 rm -f conftest.
$ac_objext conftest
$ac_exeext
8632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8633 (eval $ac_link) 2>conftest.er1
8635 grep -v '^ *+' conftest.er1
>conftest.err
8637 cat conftest.err
>&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); } &&
8640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); }; } &&
8646 { ac_try
='test -s conftest$ac_exeext'
8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 ac_cv_lib_GLU_gluLookAt
=yes
8654 echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.
$ac_ext >&5
8657 ac_cv_lib_GLU_gluLookAt
=no
8659 rm -f conftest.err conftest.
$ac_objext \
8660 conftest
$ac_exeext conftest.
$ac_ext
8661 LIBS
=$ac_check_lib_save_LIBS
8663 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8664 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8665 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8666 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8667 GLU32FILES
='$(GLU32FILES)'
8673 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8674 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8675 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 ac_check_lib_save_LIBS
=$LIBS
8679 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8680 cat >conftest.
$ac_ext <<_ACEOF
8683 cat confdefs.h
>>conftest.
$ac_ext
8684 cat >>conftest.
$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8687 /* Override any gcc2 internal prototype to avoid an error. */
8691 /* We use char because int might match the return type of a gcc2
8692 builtin and then its argument prototype would still apply. */
8693 char glutMainLoop ();
8702 rm -f conftest.
$ac_objext conftest
$ac_exeext
8703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8704 (eval $ac_link) 2>conftest.er1
8706 grep -v '^ *+' conftest.er1
>conftest.err
8708 cat conftest.err
>&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); } &&
8711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try
='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8723 ac_cv_lib_glut_glutMainLoop
=yes
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.
$ac_ext >&5
8728 ac_cv_lib_glut_glutMainLoop
=no
8730 rm -f conftest.err conftest.
$ac_objext \
8731 conftest
$ac_exeext conftest.
$ac_ext
8732 LIBS
=$ac_check_lib_save_LIBS
8734 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8735 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8736 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8737 GLUT_LIBS
="-lglut -lXmu -lXi"
8739 GLUT32FILES
='$(GLUT32FILES)'
8749 for ac_header
in audio
/audiolib.h
8751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8753 echo "$as_me:$LINENO: checking for $ac_header" >&5
8754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8761 # Is the header compilable?
8762 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8764 cat >conftest.
$ac_ext <<_ACEOF
8767 cat confdefs.h
>>conftest.
$ac_ext
8768 cat >>conftest.
$ac_ext <<_ACEOF
8769 /* end confdefs.h. */
8770 $ac_includes_default
8771 #include <$ac_header>
8773 rm -f conftest.
$ac_objext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8775 (eval $ac_compile) 2>conftest.er1
8777 grep -v '^ *+' conftest.er1
>conftest.err
8779 cat conftest.err
>&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } &&
8782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try
='test -s conftest.$ac_objext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 ac_header_compiler
=yes
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.
$ac_ext >&5
8799 ac_header_compiler
=no
8801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8803 echo "${ECHO_T}$ac_header_compiler" >&6
8805 # Is the header present?
8806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8808 cat >conftest.
$ac_ext <<_ACEOF
8811 cat confdefs.h
>>conftest.
$ac_ext
8812 cat >>conftest.
$ac_ext <<_ACEOF
8813 /* end confdefs.h. */
8814 #include <$ac_header>
8816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8819 grep -v '^ *+' conftest.er1
>conftest.err
8821 cat conftest.err
>&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); } >/dev
/null
; then
8824 if test -s conftest.err
; then
8825 ac_cpp_err
=$ac_c_preproc_warn_flag
8826 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8833 if test -z "$ac_cpp_err"; then
8834 ac_header_preproc
=yes
8836 echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.
$ac_ext >&5
8839 ac_header_preproc
=no
8841 rm -f conftest.err conftest.
$ac_ext
8842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8843 echo "${ECHO_T}$ac_header_preproc" >&6
8845 # So? What about this header?
8846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8852 ac_header_preproc
=yes
8855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8869 ## ------------------------------------ ##
8870 ## Report this to wine-devel@winehq.org ##
8871 ## ------------------------------------ ##
8874 sed "s/^/$as_me: WARNING: /" >&2
8877 echo "$as_me:$LINENO: checking for $ac_header" >&5
8878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8880 echo $ECHO_N "(cached) $ECHO_C" >&6
8882 eval "$as_ac_Header=\$ac_header_preproc"
8884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8889 cat >>confdefs.h
<<_ACEOF
8890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8893 for ac_header
in audio
/soundlib.h
8895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8896 echo "$as_me:$LINENO: checking for $ac_header" >&5
8897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8899 echo $ECHO_N "(cached) $ECHO_C" >&6
8901 cat >conftest.
$ac_ext <<_ACEOF
8904 cat confdefs.h
>>conftest.
$ac_ext
8905 cat >>conftest.
$ac_ext <<_ACEOF
8906 /* end confdefs.h. */
8907 #include <audio/audiolib.h>
8909 #include <$ac_header>
8911 rm -f conftest.
$ac_objext
8912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8913 (eval $ac_compile) 2>conftest.er1
8915 grep -v '^ *+' conftest.er1
>conftest.err
8917 cat conftest.err
>&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); } &&
8920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); }; } &&
8926 { ac_try
='test -s conftest.$ac_objext'
8927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }; }; then
8932 eval "$as_ac_Header=yes"
8934 echo "$as_me: failed program was:" >&5
8935 sed 's/^/| /' conftest.
$ac_ext >&5
8937 eval "$as_ac_Header=no"
8939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8944 cat >>confdefs.h
<<_ACEOF
8945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8952 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8953 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8954 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8955 echo $ECHO_N "(cached) $ECHO_C" >&6
8957 ac_check_lib_save_LIBS
=$LIBS
8958 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8959 cat >conftest.
$ac_ext <<_ACEOF
8962 cat confdefs.h
>>conftest.
$ac_ext
8963 cat >>conftest.
$ac_ext <<_ACEOF
8964 /* end confdefs.h. */
8966 /* Override any gcc2 internal prototype to avoid an error. */
8970 /* We use char because int might match the return type of a gcc2
8971 builtin and then its argument prototype would still apply. */
8972 char AuCreateFlow ();
8981 rm -f conftest.
$ac_objext conftest
$ac_exeext
8982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8983 (eval $ac_link) 2>conftest.er1
8985 grep -v '^ *+' conftest.er1
>conftest.err
8987 cat conftest.err
>&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); } &&
8990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; } &&
8996 { ac_try
='test -s conftest$ac_exeext'
8997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; }; then
9002 ac_cv_lib_audio_AuCreateFlow
=yes
9004 echo "$as_me: failed program was:" >&5
9005 sed 's/^/| /' conftest.
$ac_ext >&5
9007 ac_cv_lib_audio_AuCreateFlow
=no
9009 rm -f conftest.err conftest.
$ac_objext \
9010 conftest
$ac_exeext conftest.
$ac_ext
9011 LIBS
=$ac_check_lib_save_LIBS
9013 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9014 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9015 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9017 cat >>confdefs.h
<<\_ACEOF
9021 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9029 CPPFLAGS
="$ac_save_CPPFLAGS"
9038 if test "x$with_curses" != "xno"
9041 for ac_header
in ncurses.h
9043 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9045 echo "$as_me:$LINENO: checking for $ac_header" >&5
9046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9053 # Is the header compilable?
9054 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9055 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9056 cat >conftest.
$ac_ext <<_ACEOF
9059 cat confdefs.h
>>conftest.
$ac_ext
9060 cat >>conftest.
$ac_ext <<_ACEOF
9061 /* end confdefs.h. */
9062 $ac_includes_default
9063 #include <$ac_header>
9065 rm -f conftest.
$ac_objext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9067 (eval $ac_compile) 2>conftest.er1
9069 grep -v '^ *+' conftest.er1
>conftest.err
9071 cat conftest.err
>&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; } &&
9080 { ac_try
='test -s conftest.$ac_objext'
9081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); }; }; then
9086 ac_header_compiler
=yes
9088 echo "$as_me: failed program was:" >&5
9089 sed 's/^/| /' conftest.
$ac_ext >&5
9091 ac_header_compiler
=no
9093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9095 echo "${ECHO_T}$ac_header_compiler" >&6
9097 # Is the header present?
9098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9100 cat >conftest.
$ac_ext <<_ACEOF
9103 cat confdefs.h
>>conftest.
$ac_ext
9104 cat >>conftest.
$ac_ext <<_ACEOF
9105 /* end confdefs.h. */
9106 #include <$ac_header>
9108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9111 grep -v '^ *+' conftest.er1
>conftest.err
9113 cat conftest.err
>&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); } >/dev
/null
; then
9116 if test -s conftest.err
; then
9117 ac_cpp_err
=$ac_c_preproc_warn_flag
9118 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9125 if test -z "$ac_cpp_err"; then
9126 ac_header_preproc
=yes
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.
$ac_ext >&5
9131 ac_header_preproc
=no
9133 rm -f conftest.err conftest.
$ac_ext
9134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9135 echo "${ECHO_T}$ac_header_preproc" >&6
9137 # So? What about this header?
9138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9144 ac_header_preproc
=yes
9147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9161 ## ------------------------------------ ##
9162 ## Report this to wine-devel@winehq.org ##
9163 ## ------------------------------------ ##
9166 sed "s/^/$as_me: WARNING: /" >&2
9169 echo "$as_me:$LINENO: checking for $ac_header" >&5
9170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9172 echo $ECHO_N "(cached) $ECHO_C" >&6
9174 eval "$as_ac_Header=\$ac_header_preproc"
9176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9181 cat >>confdefs.h
<<_ACEOF
9182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9184 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9185 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9186 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 ac_check_lib_save_LIBS
=$LIBS
9190 LIBS
="-lncurses $LIBS"
9191 cat >conftest.
$ac_ext <<_ACEOF
9194 cat confdefs.h
>>conftest.
$ac_ext
9195 cat >>conftest.
$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any gcc2 internal prototype to avoid an error. */
9202 /* We use char because int might match the return type of a gcc2
9203 builtin and then its argument prototype would still apply. */
9213 rm -f conftest.
$ac_objext conftest
$ac_exeext
9214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9215 (eval $ac_link) 2>conftest.er1
9217 grep -v '^ *+' conftest.er1
>conftest.err
9219 cat conftest.err
>&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); } &&
9222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; } &&
9228 { ac_try
='test -s conftest$ac_exeext'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then
9234 ac_cv_lib_ncurses_waddch
=yes
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.
$ac_ext >&5
9239 ac_cv_lib_ncurses_waddch
=no
9241 rm -f conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9243 LIBS
=$ac_check_lib_save_LIBS
9245 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9246 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9247 if test $ac_cv_lib_ncurses_waddch = yes; then
9249 cat >>confdefs.h
<<\_ACEOF
9250 #define HAVE_LIBNCURSES 1
9253 CURSESLIBS
="-lncurses"
9256 for ac_header
in curses.h
9258 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9260 echo "$as_me:$LINENO: checking for $ac_header" >&5
9261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9268 # Is the header compilable?
9269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9271 cat >conftest.
$ac_ext <<_ACEOF
9274 cat confdefs.h
>>conftest.
$ac_ext
9275 cat >>conftest.
$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9277 $ac_includes_default
9278 #include <$ac_header>
9280 rm -f conftest.
$ac_objext
9281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9282 (eval $ac_compile) 2>conftest.er1
9284 grep -v '^ *+' conftest.er1
>conftest.err
9286 cat conftest.err
>&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } &&
9289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); }; } &&
9295 { ac_try
='test -s conftest.$ac_objext'
9296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); }; }; then
9301 ac_header_compiler
=yes
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.
$ac_ext >&5
9306 ac_header_compiler
=no
9308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9310 echo "${ECHO_T}$ac_header_compiler" >&6
9312 # Is the header present?
9313 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9315 cat >conftest.
$ac_ext <<_ACEOF
9318 cat confdefs.h
>>conftest.
$ac_ext
9319 cat >>conftest.
$ac_ext <<_ACEOF
9320 /* end confdefs.h. */
9321 #include <$ac_header>
9323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9324 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9326 grep -v '^ *+' conftest.er1
>conftest.err
9328 cat conftest.err
>&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); } >/dev
/null
; then
9331 if test -s conftest.err
; then
9332 ac_cpp_err
=$ac_c_preproc_warn_flag
9333 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9340 if test -z "$ac_cpp_err"; then
9341 ac_header_preproc
=yes
9343 echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.
$ac_ext >&5
9346 ac_header_preproc
=no
9348 rm -f conftest.err conftest.
$ac_ext
9349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9350 echo "${ECHO_T}$ac_header_preproc" >&6
9352 # So? What about this header?
9353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9355 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9356 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9358 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9359 ac_header_preproc
=yes
9362 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9363 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9364 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9365 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9366 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9367 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9368 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9369 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9372 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9373 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9376 ## ------------------------------------ ##
9377 ## Report this to wine-devel@winehq.org ##
9378 ## ------------------------------------ ##
9381 sed "s/^/$as_me: WARNING: /" >&2
9384 echo "$as_me:$LINENO: checking for $ac_header" >&5
9385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9389 eval "$as_ac_Header=\$ac_header_preproc"
9391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9396 cat >>confdefs.h
<<_ACEOF
9397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9399 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9400 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9401 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 ac_check_lib_save_LIBS
=$LIBS
9405 LIBS
="-lcurses $LIBS"
9406 cat >conftest.
$ac_ext <<_ACEOF
9409 cat confdefs.h
>>conftest.
$ac_ext
9410 cat >>conftest.
$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9413 /* Override any gcc2 internal prototype to avoid an error. */
9417 /* We use char because int might match the return type of a gcc2
9418 builtin and then its argument prototype would still apply. */
9428 rm -f conftest.
$ac_objext conftest
$ac_exeext
9429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9430 (eval $ac_link) 2>conftest.er1
9432 grep -v '^ *+' conftest.er1
>conftest.err
9434 cat conftest.err
>&5
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); } &&
9437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; } &&
9443 { ac_try
='test -s conftest$ac_exeext'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; }; then
9449 ac_cv_lib_curses_waddch
=yes
9451 echo "$as_me: failed program was:" >&5
9452 sed 's/^/| /' conftest.
$ac_ext >&5
9454 ac_cv_lib_curses_waddch
=no
9456 rm -f conftest.err conftest.
$ac_objext \
9457 conftest
$ac_exeext conftest.
$ac_ext
9458 LIBS
=$ac_check_lib_save_LIBS
9460 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9461 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9462 if test $ac_cv_lib_curses_waddch = yes; then
9464 cat >>confdefs.h
<<\_ACEOF
9465 #define HAVE_LIBCURSES 1
9468 CURSESLIBS
="-lcurses"
9482 LIBS
="$CURSESLIBS $LIBS"
9485 for ac_func
in getbkgd resizeterm
9487 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9488 echo "$as_me:$LINENO: checking for $ac_func" >&5
9489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9490 if eval "test \"\${$as_ac_var+set}\" = set"; then
9491 echo $ECHO_N "(cached) $ECHO_C" >&6
9493 cat >conftest.
$ac_ext <<_ACEOF
9496 cat confdefs.h
>>conftest.
$ac_ext
9497 cat >>conftest.
$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9501 #define $ac_func innocuous_$ac_func
9503 /* System header to define __stub macros and hopefully few prototypes,
9504 which can conflict with char $ac_func (); below.
9505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9506 <limits.h> exists even on freestanding compilers. */
9509 # include <limits.h>
9511 # include <assert.h>
9516 /* Override any gcc2 internal prototype to avoid an error. */
9521 /* We use char because int might match the return type of a gcc2
9522 builtin and then its argument prototype would still apply. */
9524 /* The GNU C library defines this for functions which it implements
9525 to always fail with ENOSYS. Some functions are actually named
9526 something starting with __ and the normal name is an alias. */
9527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9530 char (*f) () = $ac_func;
9539 return f != $ac_func;
9544 rm -f conftest.
$ac_objext conftest
$ac_exeext
9545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9546 (eval $ac_link) 2>conftest.er1
9548 grep -v '^ *+' conftest.er1
>conftest.err
9550 cat conftest.err
>&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); } &&
9553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; } &&
9559 { ac_try
='test -s conftest$ac_exeext'
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); }; }; then
9565 eval "$as_ac_var=yes"
9567 echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.
$ac_ext >&5
9570 eval "$as_ac_var=no"
9572 rm -f conftest.err conftest.
$ac_objext \
9573 conftest
$ac_exeext conftest.
$ac_ext
9575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9577 if test `eval echo '${'$as_ac_var'}'` = yes; then
9578 cat >>confdefs.h
<<_ACEOF
9579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9589 # Extract the first word of "sane-config", so it can be a program name with args.
9590 set dummy sane-config
; ac_word
=$2
9591 echo "$as_me:$LINENO: checking for $ac_word" >&5
9592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9593 if test "${ac_cv_prog_sane_devel+set}" = set; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 if test -n "$sane_devel"; then
9597 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9603 test -z "$as_dir" && as_dir
=.
9604 for ac_exec_ext
in '' $ac_executable_extensions; do
9605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9606 ac_cv_prog_sane_devel
="sane-config"
9607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9613 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9616 sane_devel
=$ac_cv_prog_sane_devel
9617 if test -n "$sane_devel"; then
9618 echo "$as_me:$LINENO: result: $sane_devel" >&5
9619 echo "${ECHO_T}$sane_devel" >&6
9621 echo "$as_me:$LINENO: result: no" >&5
9622 echo "${ECHO_T}no" >&6
9625 if test "$sane_devel" = "no"
9630 SANELIBS
="`$sane_devel --libs`"
9631 SANEINCL
="`$sane_devel --cflags`"
9632 ac_save_CPPFLAGS
="$CPPFLAGS"
9633 ac_save_LIBS
="$LIBS"
9634 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9635 LIBS
="$LIBS $SANELIBS"
9636 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9637 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9638 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9639 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9643 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9645 # Is the header compilable?
9646 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9647 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9648 cat >conftest.
$ac_ext <<_ACEOF
9651 cat confdefs.h
>>conftest.
$ac_ext
9652 cat >>conftest.
$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9654 $ac_includes_default
9655 #include <sane/sane.h>
9657 rm -f conftest.
$ac_objext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659 (eval $ac_compile) 2>conftest.er1
9661 grep -v '^ *+' conftest.er1
>conftest.err
9663 cat conftest.err
>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); } &&
9666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; } &&
9672 { ac_try
='test -s conftest.$ac_objext'
9673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; }; then
9678 ac_header_compiler
=yes
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.
$ac_ext >&5
9683 ac_header_compiler
=no
9685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9687 echo "${ECHO_T}$ac_header_compiler" >&6
9689 # Is the header present?
9690 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9691 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9692 cat >conftest.
$ac_ext <<_ACEOF
9695 cat confdefs.h
>>conftest.
$ac_ext
9696 cat >>conftest.
$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9698 #include <sane/sane.h>
9700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9703 grep -v '^ *+' conftest.er1
>conftest.err
9705 cat conftest.err
>&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } >/dev
/null
; then
9708 if test -s conftest.err
; then
9709 ac_cpp_err
=$ac_c_preproc_warn_flag
9710 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9717 if test -z "$ac_cpp_err"; then
9718 ac_header_preproc
=yes
9720 echo "$as_me: failed program was:" >&5
9721 sed 's/^/| /' conftest.
$ac_ext >&5
9723 ac_header_preproc
=no
9725 rm -f conftest.err conftest.
$ac_ext
9726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9727 echo "${ECHO_T}$ac_header_preproc" >&6
9729 # So? What about this header?
9730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9732 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9733 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9734 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9735 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9736 ac_header_preproc
=yes
9739 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9740 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9741 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9742 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9743 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9744 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9745 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9746 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9747 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9748 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9749 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9750 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9753 ## ------------------------------------ ##
9754 ## Report this to wine-devel@winehq.org ##
9755 ## ------------------------------------ ##
9758 sed "s/^/$as_me: WARNING: /" >&2
9761 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9762 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9763 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9764 echo $ECHO_N "(cached) $ECHO_C" >&6
9766 ac_cv_header_sane_sane_h
=$ac_header_preproc
9768 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9769 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9772 if test $ac_cv_header_sane_sane_h = yes; then
9773 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9774 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9775 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 ac_check_lib_save_LIBS
=$LIBS
9780 cat >conftest.
$ac_ext <<_ACEOF
9783 cat confdefs.h
>>conftest.
$ac_ext
9784 cat >>conftest.
$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9787 /* Override any gcc2 internal prototype to avoid an error. */
9791 /* We use char because int might match the return type of a gcc2
9792 builtin and then its argument prototype would still apply. */
9802 rm -f conftest.
$ac_objext conftest
$ac_exeext
9803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9804 (eval $ac_link) 2>conftest.er1
9806 grep -v '^ *+' conftest.er1
>conftest.err
9808 cat conftest.err
>&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); } &&
9811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); }; } &&
9817 { ac_try
='test -s conftest$ac_exeext'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; }; then
9823 ac_cv_lib_sane_sane_open
=yes
9825 echo "$as_me: failed program was:" >&5
9826 sed 's/^/| /' conftest.
$ac_ext >&5
9828 ac_cv_lib_sane_sane_open
=no
9830 rm -f conftest.err conftest.
$ac_objext \
9831 conftest
$ac_exeext conftest.
$ac_ext
9832 LIBS
=$ac_check_lib_save_LIBS
9834 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9835 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9836 if test $ac_cv_lib_sane_sane_open = yes; then
9838 cat >>confdefs.h
<<\_ACEOF
9853 LIBS
="$ac_save_LIBS"
9854 CPPFLAGS
="$ac_save_CPPFLAGS"
9860 for ac_header
in unicode
/ubidi.h
9862 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9864 echo "$as_me:$LINENO: checking for $ac_header" >&5
9865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9872 # Is the header compilable?
9873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9875 cat >conftest.
$ac_ext <<_ACEOF
9878 cat confdefs.h
>>conftest.
$ac_ext
9879 cat >>conftest.
$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9881 $ac_includes_default
9882 #include <$ac_header>
9884 rm -f conftest.
$ac_objext
9885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9886 (eval $ac_compile) 2>conftest.er1
9888 grep -v '^ *+' conftest.er1
>conftest.err
9890 cat conftest.err
>&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); } &&
9893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); }; } &&
9899 { ac_try
='test -s conftest.$ac_objext'
9900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); }; }; then
9905 ac_header_compiler
=yes
9907 echo "$as_me: failed program was:" >&5
9908 sed 's/^/| /' conftest.
$ac_ext >&5
9910 ac_header_compiler
=no
9912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9914 echo "${ECHO_T}$ac_header_compiler" >&6
9916 # Is the header present?
9917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9919 cat >conftest.
$ac_ext <<_ACEOF
9922 cat confdefs.h
>>conftest.
$ac_ext
9923 cat >>conftest.
$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9925 #include <$ac_header>
9927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9930 grep -v '^ *+' conftest.er1
>conftest.err
9932 cat conftest.err
>&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } >/dev
/null
; then
9935 if test -s conftest.err
; then
9936 ac_cpp_err
=$ac_c_preproc_warn_flag
9937 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9944 if test -z "$ac_cpp_err"; then
9945 ac_header_preproc
=yes
9947 echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.
$ac_ext >&5
9950 ac_header_preproc
=no
9952 rm -f conftest.err conftest.
$ac_ext
9953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9954 echo "${ECHO_T}$ac_header_preproc" >&6
9956 # So? What about this header?
9957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9963 ac_header_preproc
=yes
9966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9980 ## ------------------------------------ ##
9981 ## Report this to wine-devel@winehq.org ##
9982 ## ------------------------------------ ##
9985 sed "s/^/$as_me: WARNING: /" >&2
9988 echo "$as_me:$LINENO: checking for $ac_header" >&5
9989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 eval "$as_ac_Header=\$ac_header_preproc"
9995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10000 cat >>confdefs.h
<<_ACEOF
10001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10008 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10011 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10012 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10013 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10014 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10015 cat >conftest.
$ac_ext <<_ACEOF
10018 cat confdefs.h
>>conftest.
$ac_ext
10019 cat >>conftest.
$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10021 #include <unicode/ubidi.h>
10030 rm -f conftest.
$ac_objext conftest
$ac_exeext
10031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10032 (eval $ac_link) 2>conftest.er1
10034 grep -v '^ *+' conftest.er1
>conftest.err
10036 cat conftest.err
>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } &&
10039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; } &&
10045 { ac_try
='test -s conftest$ac_exeext'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10052 cat >>confdefs.h
<<\_ACEOF
10056 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.
$ac_ext >&5
10063 rm -f conftest.err conftest.
$ac_objext \
10064 conftest
$ac_exeext conftest.
$ac_ext
10068 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10069 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10070 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10071 echo $ECHO_N "(cached) $ECHO_C" >&6
10073 ac_check_lib_save_LIBS
=$LIBS
10074 LIBS
="-lfreetype $X_LIBS $LIBS"
10075 cat >conftest.
$ac_ext <<_ACEOF
10078 cat confdefs.h
>>conftest.
$ac_ext
10079 cat >>conftest.
$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10082 /* Override any gcc2 internal prototype to avoid an error. */
10086 /* We use char because int might match the return type of a gcc2
10087 builtin and then its argument prototype would still apply. */
10088 char FT_Init_FreeType ();
10092 FT_Init_FreeType ();
10097 rm -f conftest.
$ac_objext conftest
$ac_exeext
10098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10099 (eval $ac_link) 2>conftest.er1
10101 grep -v '^ *+' conftest.er1
>conftest.err
10103 cat conftest.err
>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } &&
10106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; } &&
10112 { ac_try
='test -s conftest$ac_exeext'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then
10118 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.
$ac_ext >&5
10123 ac_cv_lib_freetype_FT_Init_FreeType
=no
10125 rm -f conftest.err conftest.
$ac_objext \
10126 conftest
$ac_exeext conftest.
$ac_ext
10127 LIBS
=$ac_check_lib_save_LIBS
10129 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10130 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10131 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10137 if test "$ft_lib" = "no"
10140 wine_cv_msg_freetype
=no
10142 # Extract the first word of "freetype-config", so it can be a program name with args.
10143 set dummy freetype-config
; ac_word
=$2
10144 echo "$as_me:$LINENO: checking for $ac_word" >&5
10145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10146 if test "${ac_cv_prog_ft_devel+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 if test -n "$ft_devel"; then
10150 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10153 for as_dir
in $PATH
10156 test -z "$as_dir" && as_dir
=.
10157 for ac_exec_ext
in '' $ac_executable_extensions; do
10158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10159 ac_cv_prog_ft_devel
="freetype-config"
10160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10169 ft_devel
=$ac_cv_prog_ft_devel
10170 if test -n "$ft_devel"; then
10171 echo "$as_me:$LINENO: result: $ft_devel" >&5
10172 echo "${ECHO_T}$ft_devel" >&6
10174 echo "$as_me:$LINENO: result: no" >&5
10175 echo "${ECHO_T}no" >&6
10178 if test "$ft_devel" = "no"
10180 # Extract the first word of "freetype2-config", so it can be a program name with args.
10181 set dummy freetype2-config
; ac_word
=$2
10182 echo "$as_me:$LINENO: checking for $ac_word" >&5
10183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10184 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10187 if test -n "$ft_devel2"; then
10188 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10191 for as_dir
in $PATH
10194 test -z "$as_dir" && as_dir
=.
10195 for ac_exec_ext
in '' $ac_executable_extensions; do
10196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10197 ac_cv_prog_ft_devel2
="freetype2-config"
10198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10207 ft_devel2
=$ac_cv_prog_ft_devel2
10208 if test -n "$ft_devel2"; then
10209 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10210 echo "${ECHO_T}$ft_devel2" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10216 if test "$ft_devel2" = "freetype2-config"
10218 ft_devel
=$ft_devel2
10221 if test "$ft_devel" = "no"
10224 wine_cv_msg_freetype
=yes
10226 FREETYPEINCL
=`$ft_devel --cflags`
10227 ac_save_CPPFLAGS
="$CPPFLAGS"
10228 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10238 for ac_header
in ft2build.h \
10239 freetype
/freetype.h \
10240 freetype
/ftglyph.h \
10241 freetype
/tttables.h \
10242 freetype
/ftnames.h \
10243 freetype
/ftsnames.h \
10244 freetype
/ttnameid.h \
10245 freetype
/ftoutln.h \
10246 freetype
/internal
/sfnt.h
10248 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10249 echo "$as_me:$LINENO: checking for $ac_header" >&5
10250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10252 echo $ECHO_N "(cached) $ECHO_C" >&6
10254 cat >conftest.
$ac_ext <<_ACEOF
10257 cat confdefs.h
>>conftest.
$ac_ext
10258 cat >>conftest.
$ac_ext <<_ACEOF
10259 /* end confdefs.h. */
10260 #if HAVE_FT2BUILD_H
10261 #include <ft2build.h>
10264 #include <$ac_header>
10266 rm -f conftest.
$ac_objext
10267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10268 (eval $ac_compile) 2>conftest.er1
10270 grep -v '^ *+' conftest.er1
>conftest.err
10272 cat conftest.err
>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } &&
10275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; } &&
10281 { ac_try
='test -s conftest.$ac_objext'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then
10287 eval "$as_ac_Header=yes"
10289 echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.
$ac_ext >&5
10292 eval "$as_ac_Header=no"
10294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10299 cat >>confdefs.h
<<_ACEOF
10300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10307 cat >conftest.
$ac_ext <<_ACEOF
10310 cat confdefs.h
>>conftest.
$ac_ext
10311 cat >>conftest.
$ac_ext <<_ACEOF
10312 /* end confdefs.h. */
10313 #include <ft2build.h>
10314 #include <freetype/fttrigon.h>
10316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10319 grep -v '^ *+' conftest.er1
>conftest.err
10321 cat conftest.err
>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); } >/dev
/null
; then
10324 if test -s conftest.err
; then
10325 ac_cpp_err
=$ac_c_preproc_warn_flag
10326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10333 if test -z "$ac_cpp_err"; then
10335 cat >>confdefs.h
<<\_ACEOF
10336 #define HAVE_FREETYPE_FTTRIGON_H 1
10339 wine_cv_fttrigon
=yes
10341 echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.
$ac_ext >&5
10344 wine_cv_fttrigon
=no
10346 rm -f conftest.err conftest.
$ac_ext
10347 CPPFLAGS
="$ac_save_CPPFLAGS"
10348 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10351 cat >>confdefs.h
<<\_ACEOF
10352 #define HAVE_FREETYPE 1
10355 wine_cv_msg_freetype
=no
10358 wine_cv_msg_freetype
=yes
10364 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10365 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10366 if test "${ac_cv_c_ppdev+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 cat >conftest.
$ac_ext <<_ACEOF
10372 cat confdefs.h
>>conftest.
$ac_ext
10373 cat >>conftest.
$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10375 #include <linux/ppdev.h>
10379 ioctl (1,PPCLAIM,0)
10384 rm -f conftest.
$ac_objext
10385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10386 (eval $ac_compile) 2>conftest.er1
10388 grep -v '^ *+' conftest.er1
>conftest.err
10390 cat conftest.err
>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } &&
10393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395 (eval $ac_try) 2>&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); }; } &&
10399 { ac_try
='test -s conftest.$ac_objext'
10400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401 (eval $ac_try) 2>&5
10403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404 (exit $ac_status); }; }; then
10405 ac_cv_c_ppdev
="yes"
10407 echo "$as_me: failed program was:" >&5
10408 sed 's/^/| /' conftest.
$ac_ext >&5
10412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10415 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10416 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10417 if test "$ac_cv_c_ppdev" = "yes"
10420 cat >>confdefs.h
<<\_ACEOF
10421 #define HAVE_PPDEV 1
10426 echo "$as_me:$LINENO: checking for va_copy" >&5
10427 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10428 if test "${ac_cv_c_va_copy+set}" = set; then
10429 echo $ECHO_N "(cached) $ECHO_C" >&6
10431 cat >conftest.
$ac_ext <<_ACEOF
10434 cat confdefs.h
>>conftest.
$ac_ext
10435 cat >>conftest.
$ac_ext <<_ACEOF
10436 /* end confdefs.h. */
10437 #include <stdarg.h>
10448 rm -f conftest.
$ac_objext conftest
$ac_exeext
10449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10450 (eval $ac_link) 2>conftest.er1
10452 grep -v '^ *+' conftest.er1
>conftest.err
10454 cat conftest.err
>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); } &&
10457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; } &&
10463 { ac_try
='test -s conftest$ac_exeext'
10464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10465 (eval $ac_try) 2>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); }; }; then
10469 ac_cv_c_va_copy
="yes"
10471 echo "$as_me: failed program was:" >&5
10472 sed 's/^/| /' conftest.
$ac_ext >&5
10474 ac_cv_c_va_copy
="no"
10476 rm -f conftest.err conftest.
$ac_objext \
10477 conftest
$ac_exeext conftest.
$ac_ext
10480 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10481 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10482 if test "$ac_cv_c_va_copy" = "yes"
10485 cat >>confdefs.h
<<\_ACEOF
10486 #define HAVE_VA_COPY 1
10490 echo "$as_me:$LINENO: checking for __va_copy" >&5
10491 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10492 if test "${ac_cv_c___va_copy+set}" = set; then
10493 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 cat >conftest.
$ac_ext <<_ACEOF
10498 cat confdefs.h
>>conftest.
$ac_ext
10499 cat >>conftest.
$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10501 #include <stdarg.h>
10506 __va_copy(ap1,ap2);
10512 rm -f conftest.
$ac_objext conftest
$ac_exeext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10514 (eval $ac_link) 2>conftest.er1
10516 grep -v '^ *+' conftest.er1
>conftest.err
10518 cat conftest.err
>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; } &&
10527 { ac_try
='test -s conftest$ac_exeext'
10528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10529 (eval $ac_try) 2>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); }; }; then
10533 ac_cv_c___va_copy
="yes"
10535 echo "$as_me: failed program was:" >&5
10536 sed 's/^/| /' conftest.
$ac_ext >&5
10538 ac_cv_c___va_copy
="no"
10540 rm -f conftest.err conftest.
$ac_objext \
10541 conftest
$ac_exeext conftest.
$ac_ext
10544 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10545 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10546 if test "$ac_cv_c___va_copy" = "yes"
10549 cat >>confdefs.h
<<\_ACEOF
10550 #define HAVE___VA_COPY 1
10555 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10556 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10557 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10560 cat >conftest.
$ac_ext <<_ACEOF
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 #include <setjmp.h>
10571 sigsetjmp( buf, 1 );
10572 siglongjmp( buf, 1 );
10577 rm -f conftest.
$ac_objext conftest
$ac_exeext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10579 (eval $ac_link) 2>conftest.er1
10581 grep -v '^ *+' conftest.er1
>conftest.err
10583 cat conftest.err
>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); } &&
10586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; } &&
10592 { ac_try
='test -s conftest$ac_exeext'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; }; then
10598 ac_cv_c_sigsetjmp
="yes"
10600 echo "$as_me: failed program was:" >&5
10601 sed 's/^/| /' conftest.
$ac_ext >&5
10603 ac_cv_c_sigsetjmp
="no"
10605 rm -f conftest.err conftest.
$ac_objext \
10606 conftest
$ac_exeext conftest.
$ac_ext
10609 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10610 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10611 if test "$ac_cv_c_sigsetjmp" = "yes"
10614 cat >>confdefs.h
<<\_ACEOF
10615 #define HAVE_SIGSETJMP 1
10620 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10621 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10622 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10623 echo $ECHO_N "(cached) $ECHO_C" >&6
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10631 #define _GNU_SOURCE
10632 #include <pthread.h>
10637 if ((pthread_rwlock_t *) 0)
10639 if (sizeof (pthread_rwlock_t))
10645 rm -f conftest.
$ac_objext
10646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10647 (eval $ac_compile) 2>conftest.er1
10649 grep -v '^ *+' conftest.er1
>conftest.err
10651 cat conftest.err
>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } &&
10654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10656 (eval $ac_try) 2>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); }; } &&
10660 { ac_try
='test -s conftest.$ac_objext'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; }; then
10666 ac_cv_type_pthread_rwlock_t
=yes
10668 echo "$as_me: failed program was:" >&5
10669 sed 's/^/| /' conftest.
$ac_ext >&5
10671 ac_cv_type_pthread_rwlock_t
=no
10673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10675 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10676 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10677 if test $ac_cv_type_pthread_rwlock_t = yes; then
10679 cat >>confdefs.h
<<_ACEOF
10680 #define HAVE_PTHREAD_RWLOCK_T 1
10685 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10686 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10687 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10688 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 cat >conftest.
$ac_ext <<_ACEOF
10693 cat confdefs.h
>>conftest.
$ac_ext
10694 cat >>conftest.
$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 #define _GNU_SOURCE
10697 #include <pthread.h>
10702 if ((pthread_rwlockattr_t *) 0)
10704 if (sizeof (pthread_rwlockattr_t))
10710 rm -f conftest.
$ac_objext
10711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10712 (eval $ac_compile) 2>conftest.er1
10714 grep -v '^ *+' conftest.er1
>conftest.err
10716 cat conftest.err
>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } &&
10719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; } &&
10725 { ac_try
='test -s conftest.$ac_objext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 ac_cv_type_pthread_rwlockattr_t
=yes
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.
$ac_ext >&5
10736 ac_cv_type_pthread_rwlockattr_t
=no
10738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10740 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10741 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10742 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10744 cat >>confdefs.h
<<_ACEOF
10745 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10752 ac_save_LIBS
="$LIBS"
10753 LIBS
="$LIBS $LIBPTHREAD"
10755 for ac_func
in pthread_getattr_np
10757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10758 echo "$as_me:$LINENO: checking for $ac_func" >&5
10759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10760 if eval "test \"\${$as_ac_var+set}\" = set"; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 cat >conftest.
$ac_ext <<_ACEOF
10766 cat confdefs.h
>>conftest.
$ac_ext
10767 cat >>conftest.
$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10771 #define $ac_func innocuous_$ac_func
10773 /* System header to define __stub macros and hopefully few prototypes,
10774 which can conflict with char $ac_func (); below.
10775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10776 <limits.h> exists even on freestanding compilers. */
10779 # include <limits.h>
10781 # include <assert.h>
10786 /* Override any gcc2 internal prototype to avoid an error. */
10791 /* We use char because int might match the return type of a gcc2
10792 builtin and then its argument prototype would still apply. */
10794 /* The GNU C library defines this for functions which it implements
10795 to always fail with ENOSYS. Some functions are actually named
10796 something starting with __ and the normal name is an alias. */
10797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10800 char (*f) () = $ac_func;
10809 return f != $ac_func;
10814 rm -f conftest.
$ac_objext conftest
$ac_exeext
10815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10816 (eval $ac_link) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1
>conftest.err
10820 cat conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; } &&
10829 { ac_try
='test -s conftest$ac_exeext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 eval "$as_ac_var=yes"
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.
$ac_ext >&5
10840 eval "$as_ac_var=no"
10842 rm -f conftest.err conftest.
$ac_objext \
10843 conftest
$ac_exeext conftest.
$ac_ext
10845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10847 if test `eval echo '${'$as_ac_var'}'` = yes; then
10848 cat >>confdefs.h
<<_ACEOF
10849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10855 LIBS
="$ac_save_LIBS"
10860 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10862 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10864 echo "$as_me:$LINENO: checking for $ac_header" >&5
10865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10872 # Is the header compilable?
10873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10875 cat >conftest.
$ac_ext <<_ACEOF
10878 cat confdefs.h
>>conftest.
$ac_ext
10879 cat >>conftest.
$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10881 $ac_includes_default
10882 #include <$ac_header>
10884 rm -f conftest.
$ac_objext
10885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10886 (eval $ac_compile) 2>conftest.er1
10888 grep -v '^ *+' conftest.er1
>conftest.err
10890 cat conftest.err
>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } &&
10893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895 (eval $ac_try) 2>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); }; } &&
10899 { ac_try
='test -s conftest.$ac_objext'
10900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901 (eval $ac_try) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; }; then
10905 ac_header_compiler
=yes
10907 echo "$as_me: failed program was:" >&5
10908 sed 's/^/| /' conftest.
$ac_ext >&5
10910 ac_header_compiler
=no
10912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10914 echo "${ECHO_T}$ac_header_compiler" >&6
10916 # Is the header present?
10917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10919 cat >conftest.
$ac_ext <<_ACEOF
10922 cat confdefs.h
>>conftest.
$ac_ext
10923 cat >>conftest.
$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10925 #include <$ac_header>
10927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10930 grep -v '^ *+' conftest.er1
>conftest.err
10932 cat conftest.err
>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } >/dev
/null
; then
10935 if test -s conftest.err
; then
10936 ac_cpp_err
=$ac_c_preproc_warn_flag
10937 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10944 if test -z "$ac_cpp_err"; then
10945 ac_header_preproc
=yes
10947 echo "$as_me: failed program was:" >&5
10948 sed 's/^/| /' conftest.
$ac_ext >&5
10950 ac_header_preproc
=no
10952 rm -f conftest.err conftest.
$ac_ext
10953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10954 echo "${ECHO_T}$ac_header_preproc" >&6
10956 # So? What about this header?
10957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10963 ac_header_preproc
=yes
10966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10980 ## ------------------------------------ ##
10981 ## Report this to wine-devel@winehq.org ##
10982 ## ------------------------------------ ##
10985 sed "s/^/$as_me: WARNING: /" >&2
10988 echo "$as_me:$LINENO: checking for $ac_header" >&5
10989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10991 echo $ECHO_N "(cached) $ECHO_C" >&6
10993 eval "$as_ac_Header=\$ac_header_preproc"
10995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11000 cat >>confdefs.h
<<_ACEOF
11001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11009 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11010 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11011 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 cat >conftest.
$ac_ext <<_ACEOF
11017 cat confdefs.h
>>conftest.
$ac_ext
11018 cat >>conftest.
$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11021 #if defined(HAVE_SYS_SOUNDCARD_H)
11022 #include <sys/soundcard.h>
11023 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11024 #include <machine/soundcard.h>
11025 #elif defined(HAVE_SOUNDCARD_H)
11026 #include <soundcard.h>
11034 /* check for one of the Open Sound System specific SNDCTL_ defines */
11035 #if !defined(SNDCTL_DSP_STEREO)
11036 #error No open sound system
11043 rm -f conftest.
$ac_objext
11044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11045 (eval $ac_compile) 2>conftest.er1
11047 grep -v '^ *+' conftest.er1
>conftest.err
11049 cat conftest.err
>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } &&
11052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11054 (eval $ac_try) 2>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; } &&
11058 { ac_try
='test -s conftest.$ac_objext'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; }; then
11064 ac_cv_c_opensoundsystem
="yes"
11066 echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.
$ac_ext >&5
11069 ac_cv_c_opensoundsystem
="no"
11071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11073 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11074 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11076 if test "$ac_cv_c_opensoundsystem" = "yes"
11079 cat >>confdefs.h
<<\_ACEOF
11085 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11086 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11087 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11088 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 cat >conftest.
$ac_ext <<_ACEOF
11093 cat confdefs.h
>>conftest.
$ac_ext
11094 cat >>conftest.
$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11097 #if defined(HAVE_SYS_SOUNDCARD_H)
11098 #include <sys/soundcard.h>
11099 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11100 #include <machine/soundcard.h>
11101 #elif defined(HAVE_SOUNDCARD_H)
11102 #include <soundcard.h>
11110 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11111 #if !defined(SNDCTL_SEQ_SYNC)
11112 #error No open sound system MIDI interface
11119 rm -f conftest.
$ac_objext
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>conftest.er1
11123 grep -v '^ *+' conftest.er1
>conftest.err
11125 cat conftest.err
>&5
11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11127 (exit $ac_status); } &&
11128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11130 (eval $ac_try) 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; } &&
11134 { ac_try
='test -s conftest.$ac_objext'
11135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11136 (eval $ac_try) 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); }; }; then
11140 ac_cv_c_opensoundsystem_midi
="yes"
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.
$ac_ext >&5
11145 ac_cv_c_opensoundsystem_midi
="no"
11147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11149 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11150 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11152 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11155 cat >>confdefs.h
<<\_ACEOF
11156 #define HAVE_OSS_MIDI 1
11161 # Extract the first word of "artsc-config", so it can be a program name with args.
11162 set dummy artsc-config
; ac_word
=$2
11163 echo "$as_me:$LINENO: checking for $ac_word" >&5
11164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11165 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 case $ARTSCCONFIG in
11170 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11174 for as_dir
in $PATH
11177 test -z "$as_dir" && as_dir
=.
11178 for ac_exec_ext
in '' $ac_executable_extensions; do
11179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11180 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11190 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11192 if test -n "$ARTSCCONFIG"; then
11193 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11194 echo "${ECHO_T}$ARTSCCONFIG" >&6
11196 echo "$as_me:$LINENO: result: no" >&5
11197 echo "${ECHO_T}no" >&6
11200 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11202 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
11203 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11204 save_CFLAGS
="$CFLAGS"
11205 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11206 cat >conftest.
$ac_ext <<_ACEOF
11209 cat confdefs.h
>>conftest.
$ac_ext
11210 cat >>conftest.
$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11216 arts_stream_t stream;
11221 rm -f conftest.
$ac_objext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11223 (eval $ac_compile) 2>conftest.er1
11225 grep -v '^ *+' conftest.er1
>conftest.err
11227 cat conftest.err
>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); } &&
11230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; } &&
11236 { ac_try
='test -s conftest.$ac_objext'
11237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238 (eval $ac_try) 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); }; }; then
11242 ARTSLIBS
=$ARTSC_LIBS
11244 ARTSINCL
=$ARTSC_CFLAGS
11247 cat >>confdefs.h
<<\_ACEOF
11248 #define HAVE_ARTS 1
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.
$ac_ext >&5
11256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11257 CFLAGS
="$save_CFLAGS"
11264 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11266 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11268 echo "$as_me:$LINENO: checking for $ac_header" >&5
11269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11271 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11276 # Is the header compilable?
11277 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11278 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11279 cat >conftest.
$ac_ext <<_ACEOF
11282 cat confdefs.h
>>conftest.
$ac_ext
11283 cat >>conftest.
$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11285 $ac_includes_default
11286 #include <$ac_header>
11288 rm -f conftest.
$ac_objext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11290 (eval $ac_compile) 2>conftest.er1
11292 grep -v '^ *+' conftest.er1
>conftest.err
11294 cat conftest.err
>&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } &&
11297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; } &&
11303 { ac_try
='test -s conftest.$ac_objext'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; }; then
11309 ac_header_compiler
=yes
11311 echo "$as_me: failed program was:" >&5
11312 sed 's/^/| /' conftest.
$ac_ext >&5
11314 ac_header_compiler
=no
11316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11318 echo "${ECHO_T}$ac_header_compiler" >&6
11320 # Is the header present?
11321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11323 cat >conftest.
$ac_ext <<_ACEOF
11326 cat confdefs.h
>>conftest.
$ac_ext
11327 cat >>conftest.
$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11329 #include <$ac_header>
11331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11332 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11334 grep -v '^ *+' conftest.er1
>conftest.err
11336 cat conftest.err
>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); } >/dev
/null
; then
11339 if test -s conftest.err
; then
11340 ac_cpp_err
=$ac_c_preproc_warn_flag
11341 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11348 if test -z "$ac_cpp_err"; then
11349 ac_header_preproc
=yes
11351 echo "$as_me: failed program was:" >&5
11352 sed 's/^/| /' conftest.
$ac_ext >&5
11354 ac_header_preproc
=no
11356 rm -f conftest.err conftest.
$ac_ext
11357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11358 echo "${ECHO_T}$ac_header_preproc" >&6
11360 # So? What about this header?
11361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11367 ac_header_preproc
=yes
11370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11384 ## ------------------------------------ ##
11385 ## Report this to wine-devel@winehq.org ##
11386 ## ------------------------------------ ##
11389 sed "s/^/$as_me: WARNING: /" >&2
11392 echo "$as_me:$LINENO: checking for $ac_header" >&5
11393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11395 echo $ECHO_N "(cached) $ECHO_C" >&6
11397 eval "$as_ac_Header=\$ac_header_preproc"
11399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11404 cat >>confdefs.h
<<_ACEOF
11405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11412 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11414 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11415 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11416 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 ac_check_lib_save_LIBS
=$LIBS
11420 LIBS
="-lasound $LIBS"
11421 cat >conftest.
$ac_ext <<_ACEOF
11424 cat confdefs.h
>>conftest.
$ac_ext
11425 cat >>conftest.
$ac_ext <<_ACEOF
11426 /* end confdefs.h. */
11428 /* Override any gcc2 internal prototype to avoid an error. */
11432 /* We use char because int might match the return type of a gcc2
11433 builtin and then its argument prototype would still apply. */
11434 char snd_pcm_open ();
11443 rm -f conftest.
$ac_objext conftest
$ac_exeext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11445 (eval $ac_link) 2>conftest.er1
11447 grep -v '^ *+' conftest.er1
>conftest.err
11449 cat conftest.err
>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try
='test -s conftest$ac_exeext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 ac_cv_lib_asound_snd_pcm_open
=yes
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.
$ac_ext >&5
11469 ac_cv_lib_asound_snd_pcm_open
=no
11471 rm -f conftest.err conftest.
$ac_objext \
11472 conftest
$ac_exeext conftest.
$ac_ext
11473 LIBS
=$ac_check_lib_save_LIBS
11475 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11476 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11477 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11479 cat >>confdefs.h
<<\_ACEOF
11480 #define HAVE_ALSA 1
11483 ALSALIBS
="-lasound"
11492 for ac_header
in libaudioio.h
11494 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11496 echo "$as_me:$LINENO: checking for $ac_header" >&5
11497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11499 echo $ECHO_N "(cached) $ECHO_C" >&6
11501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11504 # Is the header compilable?
11505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11507 cat >conftest.
$ac_ext <<_ACEOF
11510 cat confdefs.h
>>conftest.
$ac_ext
11511 cat >>conftest.
$ac_ext <<_ACEOF
11512 /* end confdefs.h. */
11513 $ac_includes_default
11514 #include <$ac_header>
11516 rm -f conftest.
$ac_objext
11517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11518 (eval $ac_compile) 2>conftest.er1
11520 grep -v '^ *+' conftest.er1
>conftest.err
11522 cat conftest.err
>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); } &&
11525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; } &&
11531 { ac_try
='test -s conftest.$ac_objext'
11532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11533 (eval $ac_try) 2>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); }; }; then
11537 ac_header_compiler
=yes
11539 echo "$as_me: failed program was:" >&5
11540 sed 's/^/| /' conftest.
$ac_ext >&5
11542 ac_header_compiler
=no
11544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11546 echo "${ECHO_T}$ac_header_compiler" >&6
11548 # Is the header present?
11549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11551 cat >conftest.
$ac_ext <<_ACEOF
11554 cat confdefs.h
>>conftest.
$ac_ext
11555 cat >>conftest.
$ac_ext <<_ACEOF
11556 /* end confdefs.h. */
11557 #include <$ac_header>
11559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11562 grep -v '^ *+' conftest.er1
>conftest.err
11564 cat conftest.err
>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } >/dev
/null
; then
11567 if test -s conftest.err
; then
11568 ac_cpp_err
=$ac_c_preproc_warn_flag
11569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11576 if test -z "$ac_cpp_err"; then
11577 ac_header_preproc
=yes
11579 echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.
$ac_ext >&5
11582 ac_header_preproc
=no
11584 rm -f conftest.err conftest.
$ac_ext
11585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11586 echo "${ECHO_T}$ac_header_preproc" >&6
11588 # So? What about this header?
11589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11595 ac_header_preproc
=yes
11598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11612 ## ------------------------------------ ##
11613 ## Report this to wine-devel@winehq.org ##
11614 ## ------------------------------------ ##
11617 sed "s/^/$as_me: WARNING: /" >&2
11620 echo "$as_me:$LINENO: checking for $ac_header" >&5
11621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 eval "$as_ac_Header=\$ac_header_preproc"
11627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11632 cat >>confdefs.h
<<_ACEOF
11633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11635 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11636 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11637 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 ac_check_lib_save_LIBS
=$LIBS
11641 LIBS
="-laudioio $LIBS"
11642 cat >conftest.
$ac_ext <<_ACEOF
11645 cat confdefs.h
>>conftest.
$ac_ext
11646 cat >>conftest.
$ac_ext <<_ACEOF
11647 /* end confdefs.h. */
11649 /* Override any gcc2 internal prototype to avoid an error. */
11653 /* We use char because int might match the return type of a gcc2
11654 builtin and then its argument prototype would still apply. */
11655 char AudioIOGetVersion ();
11659 AudioIOGetVersion ();
11664 rm -f conftest.
$ac_objext conftest
$ac_exeext
11665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11666 (eval $ac_link) 2>conftest.er1
11668 grep -v '^ *+' conftest.er1
>conftest.err
11670 cat conftest.err
>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); } &&
11673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11675 (eval $ac_try) 2>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); }; } &&
11679 { ac_try
='test -s conftest$ac_exeext'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; }; then
11685 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.
$ac_ext >&5
11690 ac_cv_lib_audioio_AudioIOGetVersion
=no
11692 rm -f conftest.err conftest.
$ac_objext \
11693 conftest
$ac_exeext conftest.
$ac_ext
11694 LIBS
=$ac_check_lib_save_LIBS
11696 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11697 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11698 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11699 AUDIOIOLIBS
="-laudioio"
11701 cat >>confdefs.h
<<\_ACEOF
11702 #define HAVE_LIBAUDIOIO 1
11714 for ac_header
in capi20.h
11716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11718 echo "$as_me:$LINENO: checking for $ac_header" >&5
11719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11721 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11726 # Is the header compilable?
11727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11729 cat >conftest.
$ac_ext <<_ACEOF
11732 cat confdefs.h
>>conftest.
$ac_ext
11733 cat >>conftest.
$ac_ext <<_ACEOF
11734 /* end confdefs.h. */
11735 $ac_includes_default
11736 #include <$ac_header>
11738 rm -f conftest.
$ac_objext
11739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11740 (eval $ac_compile) 2>conftest.er1
11742 grep -v '^ *+' conftest.er1
>conftest.err
11744 cat conftest.err
>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } &&
11747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; } &&
11753 { ac_try
='test -s conftest.$ac_objext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 ac_header_compiler
=yes
11761 echo "$as_me: failed program was:" >&5
11762 sed 's/^/| /' conftest.
$ac_ext >&5
11764 ac_header_compiler
=no
11766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11768 echo "${ECHO_T}$ac_header_compiler" >&6
11770 # Is the header present?
11771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11773 cat >conftest.
$ac_ext <<_ACEOF
11776 cat confdefs.h
>>conftest.
$ac_ext
11777 cat >>conftest.
$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 #include <$ac_header>
11781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11784 grep -v '^ *+' conftest.er1
>conftest.err
11786 cat conftest.err
>&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } >/dev
/null
; then
11789 if test -s conftest.err
; then
11790 ac_cpp_err
=$ac_c_preproc_warn_flag
11791 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11798 if test -z "$ac_cpp_err"; then
11799 ac_header_preproc
=yes
11801 echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.
$ac_ext >&5
11804 ac_header_preproc
=no
11806 rm -f conftest.err conftest.
$ac_ext
11807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11808 echo "${ECHO_T}$ac_header_preproc" >&6
11810 # So? What about this header?
11811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11817 ac_header_preproc
=yes
11820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11834 ## ------------------------------------ ##
11835 ## Report this to wine-devel@winehq.org ##
11836 ## ------------------------------------ ##
11839 sed "s/^/$as_me: WARNING: /" >&2
11842 echo "$as_me:$LINENO: checking for $ac_header" >&5
11843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 eval "$as_ac_Header=\$ac_header_preproc"
11849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11854 cat >>confdefs.h
<<_ACEOF
11855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11859 for ac_header
in linux
/capi.h
11861 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11863 echo "$as_me:$LINENO: checking for $ac_header" >&5
11864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11866 echo $ECHO_N "(cached) $ECHO_C" >&6
11868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11871 # Is the header compilable?
11872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11874 cat >conftest.
$ac_ext <<_ACEOF
11877 cat confdefs.h
>>conftest.
$ac_ext
11878 cat >>conftest.
$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 $ac_includes_default
11881 #include <$ac_header>
11883 rm -f conftest.
$ac_objext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>conftest.er1
11887 grep -v '^ *+' conftest.er1
>conftest.err
11889 cat conftest.err
>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } &&
11892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); }; } &&
11898 { ac_try
='test -s conftest.$ac_objext'
11899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; }; then
11904 ac_header_compiler
=yes
11906 echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.
$ac_ext >&5
11909 ac_header_compiler
=no
11911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11913 echo "${ECHO_T}$ac_header_compiler" >&6
11915 # Is the header present?
11916 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11917 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11918 cat >conftest.
$ac_ext <<_ACEOF
11921 cat confdefs.h
>>conftest.
$ac_ext
11922 cat >>conftest.
$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11924 #include <$ac_header>
11926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11929 grep -v '^ *+' conftest.er1
>conftest.err
11931 cat conftest.err
>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } >/dev
/null
; then
11934 if test -s conftest.err
; then
11935 ac_cpp_err
=$ac_c_preproc_warn_flag
11936 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11943 if test -z "$ac_cpp_err"; then
11944 ac_header_preproc
=yes
11946 echo "$as_me: failed program was:" >&5
11947 sed 's/^/| /' conftest.
$ac_ext >&5
11949 ac_header_preproc
=no
11951 rm -f conftest.err conftest.
$ac_ext
11952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11953 echo "${ECHO_T}$ac_header_preproc" >&6
11955 # So? What about this header?
11956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11958 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11959 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11961 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11962 ac_header_preproc
=yes
11965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11966 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11968 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11969 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11970 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11971 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11972 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11975 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11976 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11979 ## ------------------------------------ ##
11980 ## Report this to wine-devel@winehq.org ##
11981 ## ------------------------------------ ##
11984 sed "s/^/$as_me: WARNING: /" >&2
11987 echo "$as_me:$LINENO: checking for $ac_header" >&5
11988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 eval "$as_ac_Header=\$ac_header_preproc"
11994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11999 cat >>confdefs.h
<<_ACEOF
12000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12003 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12004 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12005 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 ac_check_lib_save_LIBS
=$LIBS
12009 LIBS
="-lcapi20 $LIBS"
12010 cat >conftest.
$ac_ext <<_ACEOF
12013 cat confdefs.h
>>conftest.
$ac_ext
12014 cat >>conftest.
$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12017 /* Override any gcc2 internal prototype to avoid an error. */
12021 /* We use char because int might match the return type of a gcc2
12022 builtin and then its argument prototype would still apply. */
12023 char capi20_register ();
12027 capi20_register ();
12032 rm -f conftest.
$ac_objext conftest
$ac_exeext
12033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12034 (eval $ac_link) 2>conftest.er1
12036 grep -v '^ *+' conftest.er1
>conftest.err
12038 cat conftest.err
>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } &&
12041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; } &&
12047 { ac_try
='test -s conftest$ac_exeext'
12048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12049 (eval $ac_try) 2>&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); }; }; then
12053 ac_cv_lib_capi20_capi20_register
=yes
12055 echo "$as_me: failed program was:" >&5
12056 sed 's/^/| /' conftest.
$ac_ext >&5
12058 ac_cv_lib_capi20_capi20_register
=no
12060 rm -f conftest.err conftest.
$ac_objext \
12061 conftest
$ac_exeext conftest.
$ac_ext
12062 LIBS
=$ac_check_lib_save_LIBS
12064 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12065 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12066 if test $ac_cv_lib_capi20_capi20_register = yes; then
12069 cat >>confdefs.h
<<\_ACEOF
12070 #define HAVE_CAPI4LINUX 1
12073 CAPI4LINUXLIBS
="-lcapi20"
12090 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12091 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12092 if test "${ac_cv_mmap64_works+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 if test "$cross_compiling" = yes; then
12096 ac_cv_mmap64_works
="no"
12098 cat >conftest.
$ac_ext <<_ACEOF
12101 cat confdefs.h
>>conftest.
$ac_ext
12102 cat >>conftest.
$ac_ext <<_ACEOF
12103 /* end confdefs.h. */
12105 #define _FILE_OFFSET_BITS 64
12107 #include <unistd.h>
12109 #include <sys/mman.h>
12112 int main(int argc,char **argv) {
12113 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12114 if (fd == -1) exit(1);
12116 unlink("conftest.map");
12118 write(fd,"test",4);
12120 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12126 fprintf(stderr,"success!\n");
12132 rm -f conftest
$ac_exeext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12134 (eval $ac_link) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_cv_mmap64_works
="yes"
12145 echo "$as_me: program exited with status $ac_status" >&5
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.
$ac_ext >&5
12149 ( exit $ac_status )
12150 ac_cv_mmap64_works
="no"
12152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12155 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12156 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12158 if test "$ac_cv_mmap64_works" = "yes"
12161 cat >>confdefs.h
<<\_ACEOF
12162 #define _FILE_OFFSET_BITS 64
12170 if test "x${GCC}" = "xyes"
12172 EXTRACFLAGS
="-Wall -pipe"
12174 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12175 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12176 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12179 if test "$cross_compiling" = yes; then
12180 ac_cv_c_gcc_strength_bug
="yes"
12182 cat >conftest.
$ac_ext <<_ACEOF
12185 cat confdefs.h
>>conftest.
$ac_ext
12186 cat >>conftest.
$ac_ext <<_ACEOF
12187 /* end confdefs.h. */
12189 int L[4] = {0,1,2,3};
12191 static int Array[3];
12192 unsigned int B = 3;
12194 for(i=0; i<B; i++) Array[i] = i - 3;
12195 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12198 exit( Array[1] != -2 || L[2] != 3);
12201 rm -f conftest
$ac_exeext
12202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12203 (eval $ac_link) 2>&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 ac_cv_c_gcc_strength_bug
="no"
12214 echo "$as_me: program exited with status $ac_status" >&5
12215 echo "$as_me: failed program was:" >&5
12216 sed 's/^/| /' conftest.
$ac_ext >&5
12218 ( exit $ac_status )
12219 ac_cv_c_gcc_strength_bug
="yes"
12221 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12224 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12225 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12226 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12228 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12231 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12232 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12233 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 ac_wine_try_cflags_saved
=$CFLAGS
12237 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12238 cat >conftest.
$ac_ext <<_ACEOF
12241 cat confdefs.h
>>conftest.
$ac_ext
12242 cat >>conftest.
$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12253 rm -f conftest.
$ac_objext conftest
$ac_exeext
12254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12255 (eval $ac_link) 2>conftest.er1
12257 grep -v '^ *+' conftest.er1
>conftest.err
12259 cat conftest.err
>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } &&
12262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; } &&
12268 { ac_try
='test -s conftest$ac_exeext'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; }; then
12274 ac_cv_c_gcc_stack_boundary
="yes"
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.
$ac_ext >&5
12279 ac_cv_c_gcc_stack_boundary
="no"
12281 rm -f conftest.err conftest.
$ac_objext \
12282 conftest
$ac_exeext conftest.
$ac_ext
12283 CFLAGS
=$ac_wine_try_cflags_saved
12285 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12286 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12287 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12289 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12292 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12293 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12294 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 ac_wine_try_cflags_saved
=$CFLAGS
12298 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12299 cat >conftest.
$ac_ext <<_ACEOF
12302 cat confdefs.h
>>conftest.
$ac_ext
12303 cat >>conftest.
$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12314 rm -f conftest.
$ac_objext conftest
$ac_exeext
12315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12316 (eval $ac_link) 2>conftest.er1
12318 grep -v '^ *+' conftest.er1
>conftest.err
12320 cat conftest.err
>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } &&
12323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; } &&
12329 { ac_try
='test -s conftest$ac_exeext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 ac_cv_c_gcc_no_strict_aliasing
="yes"
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.
$ac_ext >&5
12340 ac_cv_c_gcc_no_strict_aliasing
="no"
12342 rm -f conftest.err conftest.
$ac_objext \
12343 conftest
$ac_exeext conftest.
$ac_ext
12344 CFLAGS
=$ac_wine_try_cflags_saved
12346 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12347 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12348 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12350 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12353 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12354 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12355 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12356 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 ac_wine_try_cflags_saved
=$CFLAGS
12359 CFLAGS
="$CFLAGS -gstabs+"
12360 cat >conftest.
$ac_ext <<_ACEOF
12363 cat confdefs.h
>>conftest.
$ac_ext
12364 cat >>conftest.
$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12375 rm -f conftest.
$ac_objext conftest
$ac_exeext
12376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12377 (eval $ac_link) 2>conftest.er1
12379 grep -v '^ *+' conftest.er1
>conftest.err
12381 cat conftest.err
>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); } &&
12384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; } &&
12390 { ac_try
='test -s conftest$ac_exeext'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_cv_c_gcc_gstabs
="yes"
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.
$ac_ext >&5
12401 ac_cv_c_gcc_gstabs
="no"
12403 rm -f conftest.err conftest.
$ac_objext \
12404 conftest
$ac_exeext conftest.
$ac_ext
12405 CFLAGS
=$ac_wine_try_cflags_saved
12407 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12408 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12409 if test "$ac_cv_c_gcc_gstabs" = "yes"
12411 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12414 saved_CFLAGS
="$CFLAGS"
12415 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12416 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12417 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12418 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 #include <string.h>
12436 rm -f conftest.
$ac_objext
12437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12438 (eval $ac_compile) 2>conftest.er1
12440 grep -v '^ *+' conftest.er1
>conftest.err
12442 cat conftest.err
>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); } &&
12445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; } &&
12451 { ac_try
='test -s conftest.$ac_objext'
12452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12453 (eval $ac_try) 2>&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); }; }; then
12457 ac_cv_c_string_h_warnings
=no
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.
$ac_ext >&5
12462 ac_cv_c_string_h_warnings
=yes
12464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12466 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12467 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12468 CFLAGS
="$saved_CFLAGS"
12469 if test "$ac_cv_c_string_h_warnings" = "no"
12471 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12476 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12477 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12478 if test "${ac_cv_asm_func_def+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 cat >conftest.
$ac_ext <<_ACEOF
12484 cat confdefs.h
>>conftest.
$ac_ext
12485 cat >>conftest.
$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12487 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"); }
12497 rm -f conftest.
$ac_objext conftest
$ac_exeext
12498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12499 (eval $ac_link) 2>conftest.er1
12501 grep -v '^ *+' conftest.er1
>conftest.err
12503 cat conftest.err
>&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12508 (eval $ac_try) 2>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); }; } &&
12512 { ac_try
='test -s conftest$ac_exeext'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514 (eval $ac_try) 2>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; }; then
12518 ac_cv_asm_func_def
=".def"
12520 echo "$as_me: failed program was:" >&5
12521 sed 's/^/| /' conftest.
$ac_ext >&5
12523 cat >conftest.
$ac_ext <<_ACEOF
12526 cat confdefs.h
>>conftest.
$ac_ext
12527 cat >>conftest.
$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12539 rm -f conftest.
$ac_objext conftest
$ac_exeext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541 (eval $ac_link) 2>conftest.er1
12543 grep -v '^ *+' conftest.er1
>conftest.err
12545 cat conftest.err
>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try
='test -s conftest$ac_exeext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_asm_func_def
=".type @function"
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.
$ac_ext >&5
12565 cat >conftest.
$ac_ext <<_ACEOF
12568 cat confdefs.h
>>conftest.
$ac_ext
12569 cat >>conftest.
$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12571 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12581 rm -f conftest.
$ac_objext conftest
$ac_exeext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12583 (eval $ac_link) 2>conftest.er1
12585 grep -v '^ *+' conftest.er1
>conftest.err
12587 cat conftest.err
>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try
='test -s conftest$ac_exeext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 ac_cv_asm_func_def
=".type 2"
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.
$ac_ext >&5
12607 ac_cv_asm_func_def
="unknown"
12609 rm -f conftest.err conftest.
$ac_objext \
12610 conftest
$ac_exeext conftest.
$ac_ext
12612 rm -f conftest.err conftest.
$ac_objext \
12613 conftest
$ac_exeext conftest.
$ac_ext
12615 rm -f conftest.err conftest.
$ac_objext \
12616 conftest
$ac_exeext conftest.
$ac_ext
12618 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12619 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12623 case "$ac_cv_asm_func_def" in
12625 cat >>confdefs.h
<<\_ACEOF
12626 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12630 cat >>confdefs.h
<<\_ACEOF
12631 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12635 cat >>confdefs.h
<<\_ACEOF
12636 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12640 cat >>confdefs.h
<<\_ACEOF
12641 #define __ASM_FUNC(name) ""
12647 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12648 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12649 if test "${ac_cv_c_extern_prefix+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 cat >conftest.
$ac_ext <<_ACEOF
12655 cat confdefs.h
>>conftest.
$ac_ext
12656 cat >>conftest.
$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12659 extern int ac_test;
12663 if (ac_test) return 1
12668 rm -f conftest.
$ac_objext conftest
$ac_exeext
12669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12670 (eval $ac_link) 2>conftest.er1
12672 grep -v '^ *+' conftest.er1
>conftest.err
12674 cat conftest.err
>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); } &&
12677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; } &&
12683 { ac_try
='test -s conftest$ac_exeext'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; }; then
12689 ac_cv_c_extern_prefix
="yes"
12691 echo "$as_me: failed program was:" >&5
12692 sed 's/^/| /' conftest.
$ac_ext >&5
12694 ac_cv_c_extern_prefix
="no"
12696 rm -f conftest.err conftest.
$ac_objext \
12697 conftest
$ac_exeext conftest.
$ac_ext
12699 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12700 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12704 if test "$ac_cv_c_extern_prefix" = "yes"
12706 cat >>confdefs.h
<<\_ACEOF
12707 #define __ASM_NAME(name) "_" name
12711 cat >>confdefs.h
<<\_ACEOF
12712 #define __ASM_NAME(name) name
12718 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12719 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12720 if test "${ac_cv_c_asm_string+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 cat >conftest.
$ac_ext <<_ACEOF
12726 cat confdefs.h
>>conftest.
$ac_ext
12727 cat >>conftest.
$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12739 rm -f conftest.
$ac_objext conftest
$ac_exeext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12741 (eval $ac_link) 2>conftest.er1
12743 grep -v '^ *+' conftest.er1
>conftest.err
12745 cat conftest.err
>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } &&
12748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try
='test -s conftest$ac_exeext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_cv_c_asm_string
=".string"
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 cat >conftest.
$ac_ext <<_ACEOF
12768 cat confdefs.h
>>conftest.
$ac_ext
12769 cat >>conftest.
$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12781 rm -f conftest.
$ac_objext conftest
$ac_exeext
12782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12783 (eval $ac_link) 2>conftest.er1
12785 grep -v '^ *+' conftest.er1
>conftest.err
12787 cat conftest.err
>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } &&
12790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try
='test -s conftest$ac_exeext'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; }; then
12802 ac_cv_c_asm_string
=".asciz"
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.
$ac_ext >&5
12807 cat >conftest.
$ac_ext <<_ACEOF
12810 cat confdefs.h
>>conftest.
$ac_ext
12811 cat >>conftest.
$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12813 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12823 rm -f conftest.
$ac_objext conftest
$ac_exeext
12824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12825 (eval $ac_link) 2>conftest.er1
12827 grep -v '^ *+' conftest.er1
>conftest.err
12829 cat conftest.err
>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try
='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 ac_cv_c_asm_string
=".ascii"
12846 echo "$as_me: failed program was:" >&5
12847 sed 's/^/| /' conftest.
$ac_ext >&5
12849 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12850 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12851 { (exit 1); exit 1; }; }
12853 rm -f conftest.err conftest.
$ac_objext \
12854 conftest
$ac_exeext conftest.
$ac_ext
12856 rm -f conftest.err conftest.
$ac_objext \
12857 conftest
$ac_exeext conftest.
$ac_ext
12859 rm -f conftest.err conftest.
$ac_objext \
12860 conftest
$ac_exeext conftest.
$ac_ext
12862 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12863 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12866 cat >>confdefs.h
<<_ACEOF
12867 #define __ASM_STRING "$ac_cv_c_asm_string"
12872 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12873 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12874 if test "${ac_cv_c_asm_short+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 cat >conftest.
$ac_ext <<_ACEOF
12880 cat confdefs.h
>>conftest.
$ac_ext
12881 cat >>conftest.
$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12893 rm -f conftest.
$ac_objext conftest
$ac_exeext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12895 (eval $ac_link) 2>conftest.er1
12897 grep -v '^ *+' conftest.er1
>conftest.err
12899 cat conftest.err
>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try
='test -s conftest$ac_exeext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_cv_c_asm_short
=".short"
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12919 cat >conftest.
$ac_ext <<_ACEOF
12922 cat confdefs.h
>>conftest.
$ac_ext
12923 cat >>conftest.
$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12925 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12935 rm -f conftest.
$ac_objext conftest
$ac_exeext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12937 (eval $ac_link) 2>conftest.er1
12939 grep -v '^ *+' conftest.er1
>conftest.err
12941 cat conftest.err
>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try
='test -s conftest$ac_exeext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12956 ac_cv_c_asm_short
=".half"
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.
$ac_ext >&5
12961 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12962 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12963 { (exit 1); exit 1; }; }
12965 rm -f conftest.err conftest.
$ac_objext \
12966 conftest
$ac_exeext conftest.
$ac_ext
12968 rm -f conftest.err conftest.
$ac_objext \
12969 conftest
$ac_exeext conftest.
$ac_ext
12971 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12972 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12975 cat >>confdefs.h
<<_ACEOF
12976 #define __ASM_SHORT "$ac_cv_c_asm_short"
12983 DLLFLAGS
="-D_REENTRANT"
12998 if test -n "$ac_tool_prefix"; then
12999 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13000 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13001 echo "$as_me:$LINENO: checking for $ac_word" >&5
13002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13003 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13004 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 if test -n "$DLLTOOL"; then
13007 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13010 for as_dir
in $PATH
13013 test -z "$as_dir" && as_dir
=.
13014 for ac_exec_ext
in '' $ac_executable_extensions; do
13015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13016 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13025 DLLTOOL
=$ac_cv_prog_DLLTOOL
13026 if test -n "$DLLTOOL"; then
13027 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13028 echo "${ECHO_T}$DLLTOOL" >&6
13030 echo "$as_me:$LINENO: result: no" >&5
13031 echo "${ECHO_T}no" >&6
13035 if test -z "$ac_cv_prog_DLLTOOL"; then
13036 ac_ct_DLLTOOL
=$DLLTOOL
13037 # Extract the first word of "dlltool", so it can be a program name with args.
13038 set dummy dlltool
; ac_word
=$2
13039 echo "$as_me:$LINENO: checking for $ac_word" >&5
13040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13041 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 if test -n "$ac_ct_DLLTOOL"; then
13045 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13048 for as_dir
in $PATH
13051 test -z "$as_dir" && as_dir
=.
13052 for ac_exec_ext
in '' $ac_executable_extensions; do
13053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13054 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13061 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13064 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13065 if test -n "$ac_ct_DLLTOOL"; then
13066 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13067 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13069 echo "$as_me:$LINENO: result: no" >&5
13070 echo "${ECHO_T}no" >&6
13073 DLLTOOL
=$ac_ct_DLLTOOL
13075 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13078 if test -n "$ac_tool_prefix"; then
13079 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13080 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13081 echo "$as_me:$LINENO: checking for $ac_word" >&5
13082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13083 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13084 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 if test -n "$DLLWRAP"; then
13087 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13090 for as_dir
in $PATH
13093 test -z "$as_dir" && as_dir
=.
13094 for ac_exec_ext
in '' $ac_executable_extensions; do
13095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13096 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13105 DLLWRAP
=$ac_cv_prog_DLLWRAP
13106 if test -n "$DLLWRAP"; then
13107 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13108 echo "${ECHO_T}$DLLWRAP" >&6
13110 echo "$as_me:$LINENO: result: no" >&5
13111 echo "${ECHO_T}no" >&6
13115 if test -z "$ac_cv_prog_DLLWRAP"; then
13116 ac_ct_DLLWRAP
=$DLLWRAP
13117 # Extract the first word of "dllwrap", so it can be a program name with args.
13118 set dummy dllwrap
; ac_word
=$2
13119 echo "$as_me:$LINENO: checking for $ac_word" >&5
13120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13121 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 if test -n "$ac_ct_DLLWRAP"; then
13125 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13128 for as_dir
in $PATH
13131 test -z "$as_dir" && as_dir
=.
13132 for ac_exec_ext
in '' $ac_executable_extensions; do
13133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13134 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13141 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13144 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13145 if test -n "$ac_ct_DLLWRAP"; then
13146 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13147 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13149 echo "$as_me:$LINENO: result: no" >&5
13150 echo "${ECHO_T}no" >&6
13153 DLLWRAP
=$ac_ct_DLLWRAP
13155 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13158 if test "$DLLWRAP" = "false"; then
13167 for ac_header
in dlfcn.h
13169 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13171 echo "$as_me:$LINENO: checking for $ac_header" >&5
13172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13174 echo $ECHO_N "(cached) $ECHO_C" >&6
13176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13179 # Is the header compilable?
13180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13182 cat >conftest.
$ac_ext <<_ACEOF
13185 cat confdefs.h
>>conftest.
$ac_ext
13186 cat >>conftest.
$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13188 $ac_includes_default
13189 #include <$ac_header>
13191 rm -f conftest.
$ac_objext
13192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13193 (eval $ac_compile) 2>conftest.er1
13195 grep -v '^ *+' conftest.er1
>conftest.err
13197 cat conftest.err
>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); } &&
13200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; } &&
13206 { ac_try
='test -s conftest.$ac_objext'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; }; then
13212 ac_header_compiler
=yes
13214 echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.
$ac_ext >&5
13217 ac_header_compiler
=no
13219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13221 echo "${ECHO_T}$ac_header_compiler" >&6
13223 # Is the header present?
13224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13226 cat >conftest.
$ac_ext <<_ACEOF
13229 cat confdefs.h
>>conftest.
$ac_ext
13230 cat >>conftest.
$ac_ext <<_ACEOF
13231 /* end confdefs.h. */
13232 #include <$ac_header>
13234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13237 grep -v '^ *+' conftest.er1
>conftest.err
13239 cat conftest.err
>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); } >/dev
/null
; then
13242 if test -s conftest.err
; then
13243 ac_cpp_err
=$ac_c_preproc_warn_flag
13244 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13251 if test -z "$ac_cpp_err"; then
13252 ac_header_preproc
=yes
13254 echo "$as_me: failed program was:" >&5
13255 sed 's/^/| /' conftest.
$ac_ext >&5
13257 ac_header_preproc
=no
13259 rm -f conftest.err conftest.
$ac_ext
13260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13261 echo "${ECHO_T}$ac_header_preproc" >&6
13263 # So? What about this header?
13264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13270 ac_header_preproc
=yes
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13287 ## ------------------------------------ ##
13288 ## Report this to wine-devel@winehq.org ##
13289 ## ------------------------------------ ##
13292 sed "s/^/$as_me: WARNING: /" >&2
13295 echo "$as_me:$LINENO: checking for $ac_header" >&5
13296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13298 echo $ECHO_N "(cached) $ECHO_C" >&6
13300 eval "$as_ac_Header=\$ac_header_preproc"
13302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13307 cat >>confdefs.h
<<_ACEOF
13308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13311 for ac_func
in dlopen
13313 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13314 echo "$as_me:$LINENO: checking for $ac_func" >&5
13315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_var+set}\" = set"; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 cat >conftest.
$ac_ext <<_ACEOF
13322 cat confdefs.h
>>conftest.
$ac_ext
13323 cat >>conftest.
$ac_ext <<_ACEOF
13324 /* end confdefs.h. */
13325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13327 #define $ac_func innocuous_$ac_func
13329 /* System header to define __stub macros and hopefully few prototypes,
13330 which can conflict with char $ac_func (); below.
13331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13332 <limits.h> exists even on freestanding compilers. */
13335 # include <limits.h>
13337 # include <assert.h>
13342 /* Override any gcc2 internal prototype to avoid an error. */
13347 /* We use char because int might match the return type of a gcc2
13348 builtin and then its argument prototype would still apply. */
13350 /* The GNU C library defines this for functions which it implements
13351 to always fail with ENOSYS. Some functions are actually named
13352 something starting with __ and the normal name is an alias. */
13353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13356 char (*f) () = $ac_func;
13365 return f != $ac_func;
13370 rm -f conftest.
$ac_objext conftest
$ac_exeext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13372 (eval $ac_link) 2>conftest.er1
13374 grep -v '^ *+' conftest.er1
>conftest.err
13376 cat conftest.err
>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try
='test -s conftest$ac_exeext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 eval "$as_ac_var=yes"
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13396 eval "$as_ac_var=no"
13398 rm -f conftest.err conftest.
$ac_objext \
13399 conftest
$ac_exeext conftest.
$ac_ext
13401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13403 if test `eval echo '${'$as_ac_var'}'` = yes; then
13404 cat >>confdefs.h
<<_ACEOF
13405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13409 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13410 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13411 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 ac_check_lib_save_LIBS
=$LIBS
13416 cat >conftest.
$ac_ext <<_ACEOF
13419 cat confdefs.h
>>conftest.
$ac_ext
13420 cat >>conftest.
$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13423 /* Override any gcc2 internal prototype to avoid an error. */
13427 /* We use char because int might match the return type of a gcc2
13428 builtin and then its argument prototype would still apply. */
13438 rm -f conftest.
$ac_objext conftest
$ac_exeext
13439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13440 (eval $ac_link) 2>conftest.er1
13442 grep -v '^ *+' conftest.er1
>conftest.err
13444 cat conftest.err
>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); } &&
13447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; } &&
13453 { ac_try
='test -s conftest$ac_exeext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13459 ac_cv_lib_dl_dlopen
=yes
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.
$ac_ext >&5
13464 ac_cv_lib_dl_dlopen
=no
13466 rm -f conftest.err conftest.
$ac_objext \
13467 conftest
$ac_exeext conftest.
$ac_ext
13468 LIBS
=$ac_check_lib_save_LIBS
13470 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13471 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13472 if test $ac_cv_lib_dl_dlopen = yes; then
13474 cat >>confdefs.h
<<\_ACEOF
13475 #define HAVE_DLOPEN 1
13493 if test "$LIBEXT" = "so"
13495 DLLFLAGS
="$DLLFLAGS -fPIC"
13497 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13498 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13499 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 ac_wine_try_cflags_saved
=$CFLAGS
13503 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13504 cat >conftest.
$ac_ext <<_ACEOF
13507 cat confdefs.h
>>conftest.
$ac_ext
13508 cat >>conftest.
$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13519 rm -f conftest.
$ac_objext conftest
$ac_exeext
13520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13521 (eval $ac_link) 2>conftest.er1
13523 grep -v '^ *+' conftest.er1
>conftest.err
13525 cat conftest.err
>&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } &&
13528 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13530 (eval $ac_try) 2>&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; } &&
13534 { ac_try
='test -s conftest$ac_exeext'
13535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13536 (eval $ac_try) 2>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); }; }; then
13540 ac_cv_c_dll_gnuelf
="yes"
13542 echo "$as_me: failed program was:" >&5
13543 sed 's/^/| /' conftest.
$ac_ext >&5
13545 ac_cv_c_dll_gnuelf
="no"
13547 rm -f conftest.err conftest.
$ac_objext \
13548 conftest
$ac_exeext conftest.
$ac_ext
13549 CFLAGS
=$ac_wine_try_cflags_saved
13551 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13552 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13553 if test "$ac_cv_c_dll_gnuelf" = "yes"
13555 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13556 LDDLL
="\$(CC) -shared -Wl,-Bsymbolic"
13557 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13558 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13559 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13560 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 ac_wine_try_cflags_saved
=$CFLAGS
13563 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13564 cat >conftest.
$ac_ext <<_ACEOF
13567 cat confdefs.h
>>conftest.
$ac_ext
13568 cat >>conftest.
$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13579 rm -f conftest.
$ac_objext conftest
$ac_exeext
13580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13581 (eval $ac_link) 2>conftest.er1
13583 grep -v '^ *+' conftest.er1
>conftest.err
13585 cat conftest.err
>&5
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); } &&
13588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; } &&
13594 { ac_try
='test -s conftest$ac_exeext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_cv_c_dll_zdefs
="yes"
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.
$ac_ext >&5
13605 ac_cv_c_dll_zdefs
="no"
13607 rm -f conftest.err conftest.
$ac_objext \
13608 conftest
$ac_exeext conftest.
$ac_ext
13609 CFLAGS
=$ac_wine_try_cflags_saved
13611 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13612 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13613 if test "$ac_cv_c_dll_zdefs" = "yes"
13615 LDDLL
="$LDDLL,-z,defs"
13618 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13619 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13620 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13621 echo $ECHO_N "(cached) $ECHO_C" >&6
13623 ac_wine_try_cflags_saved
=$CFLAGS
13624 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13625 cat >conftest.
$ac_ext <<_ACEOF
13628 cat confdefs.h
>>conftest.
$ac_ext
13629 cat >>conftest.
$ac_ext <<_ACEOF
13630 /* end confdefs.h. */
13640 rm -f conftest.
$ac_objext conftest
$ac_exeext
13641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13642 (eval $ac_link) 2>conftest.er1
13644 grep -v '^ *+' conftest.er1
>conftest.err
13646 cat conftest.err
>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); } &&
13649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13651 (eval $ac_try) 2>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; } &&
13655 { ac_try
='test -s conftest$ac_exeext'
13656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13657 (eval $ac_try) 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; }; then
13661 ac_cv_c_dll_init_fini
="yes"
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.
$ac_ext >&5
13666 ac_cv_c_dll_init_fini
="no"
13668 rm -f conftest.err conftest.
$ac_objext \
13669 conftest
$ac_exeext conftest.
$ac_ext
13670 CFLAGS
=$ac_wine_try_cflags_saved
13672 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13673 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13674 if test "$ac_cv_c_dll_init_fini" = "yes"
13677 cat >>confdefs.h
<<\_ACEOF
13678 #define HAVE_LINKER_INIT_FINI 1
13681 LDDLL
="$LDDLL,-init,__wine_spec_init,-fini,__wine_spec_fini"
13684 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13685 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13686 if test "${ac_cv_c_export_dynamic+set}" = set; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 ac_wine_try_cflags_saved
=$CFLAGS
13690 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13691 cat >conftest.
$ac_ext <<_ACEOF
13694 cat confdefs.h
>>conftest.
$ac_ext
13695 cat >>conftest.
$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13706 rm -f conftest.
$ac_objext conftest
$ac_exeext
13707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13708 (eval $ac_link) 2>conftest.er1
13710 grep -v '^ *+' conftest.er1
>conftest.err
13712 cat conftest.err
>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); } &&
13715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13717 (eval $ac_try) 2>&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); }; } &&
13721 { ac_try
='test -s conftest$ac_exeext'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; }; then
13727 ac_cv_c_export_dynamic
="yes"
13729 echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.
$ac_ext >&5
13732 ac_cv_c_export_dynamic
="no"
13734 rm -f conftest.err conftest.
$ac_objext \
13735 conftest
$ac_exeext conftest.
$ac_ext
13736 CFLAGS
=$ac_wine_try_cflags_saved
13738 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13739 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13740 if test "$ac_cv_c_export_dynamic" = "yes"
13742 LDEXECFLAGS
="-Wl,--export-dynamic"
13748 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
13749 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
13750 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 saved_CFLAGS
="$CFLAGS"
13754 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x00110400"
13755 if test "$cross_compiling" = yes; then
13756 ac_cv_ld_reloc_exec
="no"
13758 cat >conftest.
$ac_ext <<_ACEOF
13761 cat confdefs.h
>>conftest.
$ac_ext
13762 cat >>conftest.
$ac_ext <<_ACEOF
13763 /* end confdefs.h. */
13764 #include <unistd.h>
13765 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
13767 rm -f conftest
$ac_exeext
13768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13769 (eval $ac_link) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 ac_cv_ld_reloc_exec
="yes"
13780 echo "$as_me: program exited with status $ac_status" >&5
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.
$ac_ext >&5
13784 ( exit $ac_status )
13785 ac_cv_ld_reloc_exec
="no"
13787 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13789 CFLAGS
="$saved_CFLAGS"
13791 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13792 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13793 if test "$ac_cv_ld_reloc_exec" = "yes"
13795 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
13801 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13802 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13803 if test "${ac_cv_c_dll_unixware+set}" = set; then
13804 echo $ECHO_N "(cached) $ECHO_C" >&6
13806 ac_wine_try_cflags_saved
=$CFLAGS
13807 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13808 cat >conftest.
$ac_ext <<_ACEOF
13811 cat confdefs.h
>>conftest.
$ac_ext
13812 cat >>conftest.
$ac_ext <<_ACEOF
13813 /* end confdefs.h. */
13823 rm -f conftest.
$ac_objext conftest
$ac_exeext
13824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13825 (eval $ac_link) 2>conftest.er1
13827 grep -v '^ *+' conftest.er1
>conftest.err
13829 cat conftest.err
>&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } &&
13832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13834 (eval $ac_try) 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; } &&
13838 { ac_try
='test -s conftest$ac_exeext'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; }; then
13844 ac_cv_c_dll_unixware
="yes"
13846 echo "$as_me: failed program was:" >&5
13847 sed 's/^/| /' conftest.
$ac_ext >&5
13849 ac_cv_c_dll_unixware
="no"
13851 rm -f conftest.err conftest.
$ac_objext \
13852 conftest
$ac_exeext conftest.
$ac_ext
13853 CFLAGS
=$ac_wine_try_cflags_saved
13855 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13856 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13857 if test "$ac_cv_c_dll_unixware" = "yes"
13859 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13860 LDDLL
="\$(CC) -Wl,-G,-B,symbolic"
13863 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13864 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13865 if test "${ac_cv_c_dll_macho+set}" = set; then
13866 echo $ECHO_N "(cached) $ECHO_C" >&6
13868 ac_wine_try_cflags_saved
=$CFLAGS
13869 CFLAGS
="$CFLAGS -bundle"
13870 cat >conftest.
$ac_ext <<_ACEOF
13873 cat confdefs.h
>>conftest.
$ac_ext
13874 cat >>conftest.
$ac_ext <<_ACEOF
13875 /* end confdefs.h. */
13885 rm -f conftest.
$ac_objext conftest
$ac_exeext
13886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13887 (eval $ac_link) 2>conftest.er1
13889 grep -v '^ *+' conftest.er1
>conftest.err
13891 cat conftest.err
>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); } &&
13894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; } &&
13900 { ac_try
='test -s conftest$ac_exeext'
13901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13902 (eval $ac_try) 2>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); }; }; then
13906 ac_cv_c_dll_macho
="yes"
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.
$ac_ext >&5
13911 ac_cv_c_dll_macho
="no"
13913 rm -f conftest.err conftest.
$ac_objext \
13914 conftest
$ac_exeext conftest.
$ac_ext
13915 CFLAGS
=$ac_wine_try_cflags_saved
13917 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
13918 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
13919 if test "$ac_cv_c_dll_macho" = "yes"
13922 LDDLL
="\$(CC) -bundle -flat_namespace -undefined suppress"
13923 LDSHARED
="\$(CC) -dynamiclib"
13924 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
13932 if test "$cross_compiling" = "no"
13934 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
13936 # Extract the first word of "$ac_prog", so it can be a program name with args.
13937 set dummy
$ac_prog; ac_word
=$2
13938 echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13940 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 if test -n "$CROSSCC"; then
13944 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
13946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13947 for as_dir
in $PATH
13950 test -z "$as_dir" && as_dir
=.
13951 for ac_exec_ext
in '' $ac_executable_extensions; do
13952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13953 ac_cv_prog_CROSSCC
="$ac_prog"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13962 CROSSCC
=$ac_cv_prog_CROSSCC
13963 if test -n "$CROSSCC"; then
13964 echo "$as_me:$LINENO: result: $CROSSCC" >&5
13965 echo "${ECHO_T}$CROSSCC" >&6
13967 echo "$as_me:$LINENO: result: no" >&5
13968 echo "${ECHO_T}no" >&6
13971 test -n "$CROSSCC" && break
13973 test -n "$CROSSCC" || CROSSCC
="false"
13975 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
13977 # Extract the first word of "$ac_prog", so it can be a program name with args.
13978 set dummy
$ac_prog; ac_word
=$2
13979 echo "$as_me:$LINENO: checking for $ac_word" >&5
13980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13981 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 if test -n "$DLLTOOL"; then
13985 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13988 for as_dir
in $PATH
13991 test -z "$as_dir" && as_dir
=.
13992 for ac_exec_ext
in '' $ac_executable_extensions; do
13993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13994 ac_cv_prog_DLLTOOL
="$ac_prog"
13995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14003 DLLTOOL
=$ac_cv_prog_DLLTOOL
14004 if test -n "$DLLTOOL"; then
14005 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14006 echo "${ECHO_T}$DLLTOOL" >&6
14008 echo "$as_me:$LINENO: result: no" >&5
14009 echo "${ECHO_T}no" >&6
14012 test -n "$DLLTOOL" && break
14014 test -n "$DLLTOOL" || DLLTOOL
="false"
14016 for ac_prog
in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14018 # Extract the first word of "$ac_prog", so it can be a program name with args.
14019 set dummy
$ac_prog; ac_word
=$2
14020 echo "$as_me:$LINENO: checking for $ac_word" >&5
14021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14022 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14023 echo $ECHO_N "(cached) $ECHO_C" >&6
14025 if test -n "$CROSSWINDRES"; then
14026 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14029 for as_dir
in $PATH
14032 test -z "$as_dir" && as_dir
=.
14033 for ac_exec_ext
in '' $ac_executable_extensions; do
14034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14035 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14044 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14045 if test -n "$CROSSWINDRES"; then
14046 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14047 echo "${ECHO_T}$CROSSWINDRES" >&6
14049 echo "$as_me:$LINENO: result: no" >&5
14050 echo "${ECHO_T}no" >&6
14053 test -n "$CROSSWINDRES" && break
14055 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14057 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14062 if test "$LIBEXT" = "a"; then
14063 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14064 It is currently not possible to build Wine without shared library
14065 (.so) support to allow transparent switch between .so and .dll files.
14066 If you are using Linux, you will need a newer binutils.
14068 echo "$as_me: error: could not find a way to build shared libraries.
14069 It is currently not possible to build Wine without shared library
14070 (.so) support to allow transparent switch between .so and .dll files.
14071 If you are using Linux, you will need a newer binutils.
14073 { (exit 1); exit 1; }; }
14078 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14081 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14084 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14096 WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14098 MAIN_BINARY
="wine-glibc"
14102 WINE_BINARIES
="wine-kthread"
14104 MAIN_BINARY
="wine-kthread"
14110 if test "$LIBEXT" = "so"
14112 # Extract the first word of "ldd", so it can be a program name with args.
14113 set dummy ldd
; ac_word
=$2
14114 echo "$as_me:$LINENO: checking for $ac_word" >&5
14115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14116 if test "${ac_cv_path_LDD+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14125 as_dummy
="/sbin:/usr/sbin:$PATH"
14126 for as_dir
in $as_dummy
14129 test -z "$as_dir" && as_dir
=.
14130 for ac_exec_ext
in '' $ac_executable_extensions; do
14131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14132 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14139 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14143 LDD
=$ac_cv_path_LDD
14145 if test -n "$LDD"; then
14146 echo "$as_me:$LINENO: result: $LDD" >&5
14147 echo "${ECHO_T}$LDD" >&6
14149 echo "$as_me:$LINENO: result: no" >&5
14150 echo "${ECHO_T}no" >&6
14154 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14155 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14156 if test "${ac_cv_lib_soname_X11+set}" = set; then
14157 echo $ECHO_N "(cached) $ECHO_C" >&6
14159 ac_get_soname_save_LIBS
=$LIBS
14160 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14161 cat >conftest.
$ac_ext <<_ACEOF
14164 cat confdefs.h
>>conftest.
$ac_ext
14165 cat >>conftest.
$ac_ext <<_ACEOF
14166 /* end confdefs.h. */
14168 /* Override any gcc2 internal prototype to avoid an error. */
14172 /* We use char because int might match the return type of a gcc2
14173 builtin and then its argument prototype would still apply. */
14174 char XCreateWindow ();
14183 rm -f conftest.
$ac_objext conftest
$ac_exeext
14184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14185 (eval $ac_link) 2>conftest.er1
14187 grep -v '^ *+' conftest.er1
>conftest.err
14189 cat conftest.err
>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } &&
14192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try
='test -s conftest$ac_exeext'
14199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14200 (eval $ac_try) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); }; }; then
14204 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14205 if test "x$ac_cv_lib_soname_X11" = "x"
14207 ac_cv_lib_soname_X11
="libX11.so"
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.
$ac_ext >&5
14213 ac_cv_lib_soname_X11
="libX11.so"
14215 rm -f conftest.err conftest.
$ac_objext \
14216 conftest
$ac_exeext conftest.
$ac_ext
14217 LIBS
=$ac_get_soname_save_LIBS
14219 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14220 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14221 if test "x$ac_cv_lib_soname_X11" != xNONE
14223 cat >>confdefs.h
<<_ACEOF
14224 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14228 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14229 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14230 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6
14233 ac_get_soname_save_LIBS
=$LIBS
14234 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14235 cat >conftest.
$ac_ext <<_ACEOF
14238 cat confdefs.h
>>conftest.
$ac_ext
14239 cat >>conftest.
$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14242 /* Override any gcc2 internal prototype to avoid an error. */
14246 /* We use char because int might match the return type of a gcc2
14247 builtin and then its argument prototype would still apply. */
14248 char XextCreateExtension ();
14252 XextCreateExtension ();
14257 rm -f conftest.
$ac_objext conftest
$ac_exeext
14258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14259 (eval $ac_link) 2>conftest.er1
14261 grep -v '^ *+' conftest.er1
>conftest.err
14263 cat conftest.err
>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } &&
14266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; } &&
14272 { ac_try
='test -s conftest$ac_exeext'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; }; then
14278 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14279 if test "x$ac_cv_lib_soname_Xext" = "x"
14281 ac_cv_lib_soname_Xext
="libXext.so"
14284 echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.
$ac_ext >&5
14287 ac_cv_lib_soname_Xext
="libXext.so"
14289 rm -f conftest.err conftest.
$ac_objext \
14290 conftest
$ac_exeext conftest.
$ac_ext
14291 LIBS
=$ac_get_soname_save_LIBS
14293 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14294 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14295 if test "x$ac_cv_lib_soname_Xext" != xNONE
14297 cat >>confdefs.h
<<_ACEOF
14298 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14302 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14303 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14304 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 ac_get_soname_save_LIBS
=$LIBS
14308 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14309 cat >conftest.
$ac_ext <<_ACEOF
14312 cat confdefs.h
>>conftest.
$ac_ext
14313 cat >>conftest.
$ac_ext <<_ACEOF
14314 /* end confdefs.h. */
14316 /* Override any gcc2 internal prototype to avoid an error. */
14320 /* We use char because int might match the return type of a gcc2
14321 builtin and then its argument prototype would still apply. */
14322 char XOpenDevice ();
14331 rm -f conftest.
$ac_objext conftest
$ac_exeext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14333 (eval $ac_link) 2>conftest.er1
14335 grep -v '^ *+' conftest.er1
>conftest.err
14337 cat conftest.err
>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; } &&
14346 { ac_try
='test -s conftest$ac_exeext'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; }; then
14352 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14353 if test "x$ac_cv_lib_soname_Xi" = "x"
14355 ac_cv_lib_soname_Xi
="libXi.so"
14358 echo "$as_me: failed program was:" >&5
14359 sed 's/^/| /' conftest.
$ac_ext >&5
14361 ac_cv_lib_soname_Xi
="libXi.so"
14363 rm -f conftest.err conftest.
$ac_objext \
14364 conftest
$ac_exeext conftest.
$ac_ext
14365 LIBS
=$ac_get_soname_save_LIBS
14367 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14368 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14369 if test "x$ac_cv_lib_soname_Xi" != xNONE
14371 cat >>confdefs.h
<<_ACEOF
14372 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14376 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14377 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14378 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6
14381 ac_get_soname_save_LIBS
=$LIBS
14382 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14383 cat >conftest.
$ac_ext <<_ACEOF
14386 cat confdefs.h
>>conftest.
$ac_ext
14387 cat >>conftest.
$ac_ext <<_ACEOF
14388 /* end confdefs.h. */
14390 /* Override any gcc2 internal prototype to avoid an error. */
14394 /* We use char because int might match the return type of a gcc2
14395 builtin and then its argument prototype would still apply. */
14396 char XRenderQueryExtension ();
14400 XRenderQueryExtension ();
14405 rm -f conftest.
$ac_objext conftest
$ac_exeext
14406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14407 (eval $ac_link) 2>conftest.er1
14409 grep -v '^ *+' conftest.er1
>conftest.err
14411 cat conftest.err
>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; } &&
14420 { ac_try
='test -s conftest$ac_exeext'
14421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14422 (eval $ac_try) 2>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; }; then
14426 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14427 if test "x$ac_cv_lib_soname_Xrender" = "x"
14429 ac_cv_lib_soname_Xrender
="libXrender.so"
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.
$ac_ext >&5
14435 ac_cv_lib_soname_Xrender
="libXrender.so"
14437 rm -f conftest.err conftest.
$ac_objext \
14438 conftest
$ac_exeext conftest.
$ac_ext
14439 LIBS
=$ac_get_soname_save_LIBS
14441 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14442 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14443 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14445 cat >>confdefs.h
<<_ACEOF
14446 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14450 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14451 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14452 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 ac_get_soname_save_LIBS
=$LIBS
14456 LIBS
="-lfreetype $X_LIBS $LIBS"
14457 cat >conftest.
$ac_ext <<_ACEOF
14460 cat confdefs.h
>>conftest.
$ac_ext
14461 cat >>conftest.
$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14464 /* Override any gcc2 internal prototype to avoid an error. */
14468 /* We use char because int might match the return type of a gcc2
14469 builtin and then its argument prototype would still apply. */
14470 char FT_Init_FreeType ();
14474 FT_Init_FreeType ();
14479 rm -f conftest.
$ac_objext conftest
$ac_exeext
14480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14481 (eval $ac_link) 2>conftest.er1
14483 grep -v '^ *+' conftest.er1
>conftest.err
14485 cat conftest.err
>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); } &&
14488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14490 (eval $ac_try) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; } &&
14494 { ac_try
='test -s conftest$ac_exeext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
14501 if test "x$ac_cv_lib_soname_freetype" = "x"
14503 ac_cv_lib_soname_freetype
="libfreetype.so"
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.
$ac_ext >&5
14509 ac_cv_lib_soname_freetype
="libfreetype.so"
14511 rm -f conftest.err conftest.
$ac_objext \
14512 conftest
$ac_exeext conftest.
$ac_ext
14513 LIBS
=$ac_get_soname_save_LIBS
14515 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14516 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14517 if test "x$ac_cv_lib_soname_freetype" != xNONE
14519 cat >>confdefs.h
<<_ACEOF
14520 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14524 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14525 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14526 if test "${ac_cv_lib_soname_GL+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 ac_get_soname_save_LIBS
=$LIBS
14530 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14531 cat >conftest.
$ac_ext <<_ACEOF
14534 cat confdefs.h
>>conftest.
$ac_ext
14535 cat >>conftest.
$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14538 /* Override any gcc2 internal prototype to avoid an error. */
14542 /* We use char because int might match the return type of a gcc2
14543 builtin and then its argument prototype would still apply. */
14544 char glXQueryExtension ();
14548 glXQueryExtension ();
14553 rm -f conftest.
$ac_objext conftest
$ac_exeext
14554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14555 (eval $ac_link) 2>conftest.er1
14557 grep -v '^ *+' conftest.er1
>conftest.err
14559 cat conftest.err
>&5
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); } &&
14562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try
='test -s conftest$ac_exeext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
14575 if test "x$ac_cv_lib_soname_GL" = "x"
14577 ac_cv_lib_soname_GL
="libGL.so"
14580 echo "$as_me: failed program was:" >&5
14581 sed 's/^/| /' conftest.
$ac_ext >&5
14583 ac_cv_lib_soname_GL
="libGL.so"
14585 rm -f conftest.err conftest.
$ac_objext \
14586 conftest
$ac_exeext conftest.
$ac_ext
14587 LIBS
=$ac_get_soname_save_LIBS
14589 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14590 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14591 if test "x$ac_cv_lib_soname_GL" != xNONE
14593 cat >>confdefs.h
<<_ACEOF
14594 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14598 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14599 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14600 if test "${ac_cv_lib_soname_cups+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 ac_get_soname_save_LIBS
=$LIBS
14604 LIBS
="-lcups $LIBS"
14605 cat >conftest.
$ac_ext <<_ACEOF
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14612 /* Override any gcc2 internal prototype to avoid an error. */
14616 /* We use char because int might match the return type of a gcc2
14617 builtin and then its argument prototype would still apply. */
14618 char cupsGetDefault ();
14627 rm -f conftest.
$ac_objext conftest
$ac_exeext
14628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14629 (eval $ac_link) 2>conftest.er1
14631 grep -v '^ *+' conftest.er1
>conftest.err
14633 cat conftest.err
>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; } &&
14642 { ac_try
='test -s conftest$ac_exeext'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14648 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
14649 if test "x$ac_cv_lib_soname_cups" = "x"
14651 ac_cv_lib_soname_cups
="libcups.so"
14654 echo "$as_me: failed program was:" >&5
14655 sed 's/^/| /' conftest.
$ac_ext >&5
14657 ac_cv_lib_soname_cups
="libcups.so"
14659 rm -f conftest.err conftest.
$ac_objext \
14660 conftest
$ac_exeext conftest.
$ac_ext
14661 LIBS
=$ac_get_soname_save_LIBS
14663 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14664 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14665 if test "x$ac_cv_lib_soname_cups" != xNONE
14667 cat >>confdefs.h
<<_ACEOF
14668 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14672 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14673 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14674 if test "${ac_cv_lib_soname_jack+set}" = set; then
14675 echo $ECHO_N "(cached) $ECHO_C" >&6
14677 ac_get_soname_save_LIBS
=$LIBS
14678 LIBS
="-ljack $LIBS"
14679 cat >conftest.
$ac_ext <<_ACEOF
14682 cat confdefs.h
>>conftest.
$ac_ext
14683 cat >>conftest.
$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14686 /* Override any gcc2 internal prototype to avoid an error. */
14690 /* We use char because int might match the return type of a gcc2
14691 builtin and then its argument prototype would still apply. */
14692 char jack_client_new ();
14696 jack_client_new ();
14701 rm -f conftest.
$ac_objext conftest
$ac_exeext
14702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14703 (eval $ac_link) 2>conftest.er1
14705 grep -v '^ *+' conftest.er1
>conftest.err
14707 cat conftest.err
>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } &&
14710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; } &&
14716 { ac_try
='test -s conftest$ac_exeext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
14723 if test "x$ac_cv_lib_soname_jack" = "x"
14725 ac_cv_lib_soname_jack
="libjack.so"
14728 echo "$as_me: failed program was:" >&5
14729 sed 's/^/| /' conftest.
$ac_ext >&5
14731 ac_cv_lib_soname_jack
="libjack.so"
14733 rm -f conftest.err conftest.
$ac_objext \
14734 conftest
$ac_exeext conftest.
$ac_ext
14735 LIBS
=$ac_get_soname_save_LIBS
14737 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14738 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
14739 if test "x$ac_cv_lib_soname_jack" != xNONE
14741 cat >>confdefs.h
<<_ACEOF
14742 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14746 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
14747 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
14748 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 ac_get_soname_save_LIBS
=$LIBS
14752 LIBS
="-lfontconfig $LIBS"
14753 cat >conftest.
$ac_ext <<_ACEOF
14756 cat confdefs.h
>>conftest.
$ac_ext
14757 cat >>conftest.
$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14760 /* Override any gcc2 internal prototype to avoid an error. */
14764 /* We use char because int might match the return type of a gcc2
14765 builtin and then its argument prototype would still apply. */
14775 rm -f conftest.
$ac_objext conftest
$ac_exeext
14776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14777 (eval $ac_link) 2>conftest.er1
14779 grep -v '^ *+' conftest.er1
>conftest.err
14781 cat conftest.err
>&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); } &&
14784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14786 (eval $ac_try) 2>&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); }; } &&
14790 { ac_try
='test -s conftest$ac_exeext'
14791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14792 (eval $ac_try) 2>&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); }; }; then
14796 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
14797 if test "x$ac_cv_lib_soname_fontconfig" = "x"
14799 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
14802 echo "$as_me: failed program was:" >&5
14803 sed 's/^/| /' conftest.
$ac_ext >&5
14805 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
14807 rm -f conftest.err conftest.
$ac_objext \
14808 conftest
$ac_exeext conftest.
$ac_ext
14809 LIBS
=$ac_get_soname_save_LIBS
14811 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14812 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
14813 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
14815 cat >>confdefs.h
<<_ACEOF
14816 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14820 echo "$as_me:$LINENO: checking for -lssl soname" >&5
14821 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
14822 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14823 echo $ECHO_N "(cached) $ECHO_C" >&6
14825 ac_get_soname_save_LIBS
=$LIBS
14827 cat >conftest.
$ac_ext <<_ACEOF
14830 cat confdefs.h
>>conftest.
$ac_ext
14831 cat >>conftest.
$ac_ext <<_ACEOF
14832 /* end confdefs.h. */
14834 /* Override any gcc2 internal prototype to avoid an error. */
14838 /* We use char because int might match the return type of a gcc2
14839 builtin and then its argument prototype would still apply. */
14840 char SSL_library_init ();
14844 SSL_library_init ();
14849 rm -f conftest.
$ac_objext conftest
$ac_exeext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14851 (eval $ac_link) 2>conftest.er1
14853 grep -v '^ *+' conftest.er1
>conftest.err
14855 cat conftest.err
>&5
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); } &&
14858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14860 (eval $ac_try) 2>&5
14862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; } &&
14864 { ac_try
='test -s conftest$ac_exeext'
14865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 (eval $ac_try) 2>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); }; }; then
14870 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
14871 if test "x$ac_cv_lib_soname_ssl" = "x"
14873 ac_cv_lib_soname_ssl
="libssl.so"
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.
$ac_ext >&5
14879 ac_cv_lib_soname_ssl
="libssl.so"
14881 rm -f conftest.err conftest.
$ac_objext \
14882 conftest
$ac_exeext conftest.
$ac_ext
14883 LIBS
=$ac_get_soname_save_LIBS
14885 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14886 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
14887 if test "x$ac_cv_lib_soname_ssl" != xNONE
14889 cat >>confdefs.h
<<_ACEOF
14890 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14894 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
14895 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
14896 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14897 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 ac_get_soname_save_LIBS
=$LIBS
14900 LIBS
="-lcrypto $LIBS"
14901 cat >conftest.
$ac_ext <<_ACEOF
14904 cat confdefs.h
>>conftest.
$ac_ext
14905 cat >>conftest.
$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14908 /* Override any gcc2 internal prototype to avoid an error. */
14912 /* We use char because int might match the return type of a gcc2
14913 builtin and then its argument prototype would still apply. */
14914 char BIO_new_socket ();
14923 rm -f conftest.
$ac_objext conftest
$ac_exeext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14925 (eval $ac_link) 2>conftest.er1
14927 grep -v '^ *+' conftest.er1
>conftest.err
14929 cat conftest.err
>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } &&
14932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14934 (eval $ac_try) 2>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); }; } &&
14938 { ac_try
='test -s conftest$ac_exeext'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; }; then
14944 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
14945 if test "x$ac_cv_lib_soname_crypto" = "x"
14947 ac_cv_lib_soname_crypto
="libcrypto.so"
14950 echo "$as_me: failed program was:" >&5
14951 sed 's/^/| /' conftest.
$ac_ext >&5
14953 ac_cv_lib_soname_crypto
="libcrypto.so"
14955 rm -f conftest.err conftest.
$ac_objext \
14956 conftest
$ac_exeext conftest.
$ac_ext
14957 LIBS
=$ac_get_soname_save_LIBS
14959 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14960 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
14961 if test "x$ac_cv_lib_soname_crypto" != xNONE
14963 cat >>confdefs.h
<<_ACEOF
14964 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14968 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
14969 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
14970 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
14971 echo $ECHO_N "(cached) $ECHO_C" >&6
14973 ac_get_soname_save_LIBS
=$LIBS
14974 LIBS
="-lncurses $LIBS"
14975 cat >conftest.
$ac_ext <<_ACEOF
14978 cat confdefs.h
>>conftest.
$ac_ext
14979 cat >>conftest.
$ac_ext <<_ACEOF
14980 /* end confdefs.h. */
14982 /* Override any gcc2 internal prototype to avoid an error. */
14986 /* We use char because int might match the return type of a gcc2
14987 builtin and then its argument prototype would still apply. */
14997 rm -f conftest.
$ac_objext conftest
$ac_exeext
14998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14999 (eval $ac_link) 2>conftest.er1
15001 grep -v '^ *+' conftest.er1
>conftest.err
15003 cat conftest.err
>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } &&
15006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; } &&
15012 { ac_try
='test -s conftest$ac_exeext'
15013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15014 (eval $ac_try) 2>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); }; }; then
15018 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15019 if test "x$ac_cv_lib_soname_ncurses" = "x"
15021 ac_cv_lib_soname_ncurses
="libncurses.so"
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.
$ac_ext >&5
15027 ac_cv_lib_soname_ncurses
="libncurses.so"
15029 rm -f conftest.err conftest.
$ac_objext \
15030 conftest
$ac_exeext conftest.
$ac_ext
15031 LIBS
=$ac_get_soname_save_LIBS
15033 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15034 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15035 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15037 cat >>confdefs.h
<<_ACEOF
15038 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15042 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15043 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15044 if test "${ac_cv_lib_soname_curses+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 ac_get_soname_save_LIBS
=$LIBS
15048 LIBS
="-lcurses $LIBS"
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15056 /* Override any gcc2 internal prototype to avoid an error. */
15060 /* We use char because int might match the return type of a gcc2
15061 builtin and then its argument prototype would still apply. */
15071 rm -f conftest.
$ac_objext conftest
$ac_exeext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15073 (eval $ac_link) 2>conftest.er1
15075 grep -v '^ *+' conftest.er1
>conftest.err
15077 cat conftest.err
>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try
='test -s conftest$ac_exeext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15093 if test "x$ac_cv_lib_soname_curses" = "x"
15095 ac_cv_lib_soname_curses
="libcurses.so"
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.
$ac_ext >&5
15101 ac_cv_lib_soname_curses
="libcurses.so"
15103 rm -f conftest.err conftest.
$ac_objext \
15104 conftest
$ac_exeext conftest.
$ac_ext
15105 LIBS
=$ac_get_soname_save_LIBS
15107 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15108 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15109 if test "x$ac_cv_lib_soname_curses" != xNONE
15111 cat >>confdefs.h
<<_ACEOF
15112 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15119 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15120 # for constant arguments. Useless!
15121 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15122 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15123 if test "${ac_cv_working_alloca_h+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15126 cat >conftest.
$ac_ext <<_ACEOF
15129 cat confdefs.h
>>conftest.
$ac_ext
15130 cat >>conftest.
$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132 #include <alloca.h>
15136 char *p = (char *) alloca (2 * sizeof (int));
15141 rm -f conftest.
$ac_objext conftest
$ac_exeext
15142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15143 (eval $ac_link) 2>conftest.er1
15145 grep -v '^ *+' conftest.er1
>conftest.err
15147 cat conftest.err
>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } &&
15150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; } &&
15156 { ac_try
='test -s conftest$ac_exeext'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; }; then
15162 ac_cv_working_alloca_h
=yes
15164 echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.
$ac_ext >&5
15167 ac_cv_working_alloca_h
=no
15169 rm -f conftest.err conftest.
$ac_objext \
15170 conftest
$ac_exeext conftest.
$ac_ext
15172 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15173 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15174 if test $ac_cv_working_alloca_h = yes; then
15176 cat >>confdefs.h
<<\_ACEOF
15177 #define HAVE_ALLOCA_H 1
15182 echo "$as_me:$LINENO: checking for alloca" >&5
15183 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15184 if test "${ac_cv_func_alloca_works+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 cat >conftest.
$ac_ext <<_ACEOF
15190 cat confdefs.h
>>conftest.
$ac_ext
15191 cat >>conftest.
$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15194 # define alloca __builtin_alloca
15197 # include <malloc.h>
15198 # define alloca _alloca
15201 # include <alloca.h>
15206 # ifndef alloca /* predefined by HP cc +Olibcalls */
15217 char *p = (char *) alloca (1);
15222 rm -f conftest.
$ac_objext conftest
$ac_exeext
15223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15224 (eval $ac_link) 2>conftest.er1
15226 grep -v '^ *+' conftest.er1
>conftest.err
15228 cat conftest.err
>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } &&
15231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; } &&
15237 { ac_try
='test -s conftest$ac_exeext'
15238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15239 (eval $ac_try) 2>&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); }; }; then
15243 ac_cv_func_alloca_works
=yes
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.
$ac_ext >&5
15248 ac_cv_func_alloca_works
=no
15250 rm -f conftest.err conftest.
$ac_objext \
15251 conftest
$ac_exeext conftest.
$ac_ext
15253 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15254 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15256 if test $ac_cv_func_alloca_works = yes; then
15258 cat >>confdefs.h
<<\_ACEOF
15259 #define HAVE_ALLOCA 1
15263 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15264 # that cause trouble. Some versions do not even contain alloca or
15265 # contain a buggy version. If you still want to use their alloca,
15266 # use ar to extract alloca.o from them instead of compiling alloca.c.
15268 ALLOCA
=alloca.
$ac_objext
15270 cat >>confdefs.h
<<\_ACEOF
15275 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15276 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15277 if test "${ac_cv_os_cray+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15280 cat >conftest.
$ac_ext <<_ACEOF
15283 cat confdefs.h
>>conftest.
$ac_ext
15284 cat >>conftest.
$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 #if defined(CRAY) && ! defined(CRAY2)
15293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15294 $EGREP "webecray" >/dev
/null
2>&1; then
15302 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15303 echo "${ECHO_T}$ac_cv_os_cray" >&6
15304 if test $ac_cv_os_cray = yes; then
15305 for ac_func
in _getb67 GETB67 getb67
; do
15306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15307 echo "$as_me:$LINENO: checking for $ac_func" >&5
15308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15309 if eval "test \"\${$as_ac_var+set}\" = set"; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 cat >conftest.
$ac_ext <<_ACEOF
15315 cat confdefs.h
>>conftest.
$ac_ext
15316 cat >>conftest.
$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15320 #define $ac_func innocuous_$ac_func
15322 /* System header to define __stub macros and hopefully few prototypes,
15323 which can conflict with char $ac_func (); below.
15324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15325 <limits.h> exists even on freestanding compilers. */
15328 # include <limits.h>
15330 # include <assert.h>
15335 /* Override any gcc2 internal prototype to avoid an error. */
15340 /* We use char because int might match the return type of a gcc2
15341 builtin and then its argument prototype would still apply. */
15343 /* The GNU C library defines this for functions which it implements
15344 to always fail with ENOSYS. Some functions are actually named
15345 something starting with __ and the normal name is an alias. */
15346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15349 char (*f) () = $ac_func;
15358 return f != $ac_func;
15363 rm -f conftest.
$ac_objext conftest
$ac_exeext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15365 (eval $ac_link) 2>conftest.er1
15367 grep -v '^ *+' conftest.er1
>conftest.err
15369 cat conftest.err
>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try
='test -s conftest$ac_exeext'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; }; then
15384 eval "$as_ac_var=yes"
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.
$ac_ext >&5
15389 eval "$as_ac_var=no"
15391 rm -f conftest.err conftest.
$ac_objext \
15392 conftest
$ac_exeext conftest.
$ac_ext
15394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15396 if test `eval echo '${'$as_ac_var'}'` = yes; then
15398 cat >>confdefs.h
<<_ACEOF
15399 #define CRAY_STACKSEG_END $ac_func
15408 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15409 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15410 if test "${ac_cv_c_stack_direction+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 if test "$cross_compiling" = yes; then
15414 ac_cv_c_stack_direction
=0
15416 cat >conftest.
$ac_ext <<_ACEOF
15419 cat confdefs.h
>>conftest.
$ac_ext
15420 cat >>conftest.
$ac_ext <<_ACEOF
15421 /* end confdefs.h. */
15423 find_stack_direction ()
15425 static char *addr = 0;
15430 return find_stack_direction ();
15433 return (&dummy > addr) ? 1 : -1;
15439 exit (find_stack_direction () < 0);
15442 rm -f conftest
$ac_exeext
15443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15444 (eval $ac_link) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15453 ac_cv_c_stack_direction
=1
15455 echo "$as_me: program exited with status $ac_status" >&5
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.
$ac_ext >&5
15459 ( exit $ac_status )
15460 ac_cv_c_stack_direction
=-1
15462 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15465 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15466 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15468 cat >>confdefs.h
<<_ACEOF
15469 #define STACK_DIRECTION $ac_cv_c_stack_direction
15584 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15585 echo "$as_me:$LINENO: checking for $ac_func" >&5
15586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15587 if eval "test \"\${$as_ac_var+set}\" = set"; then
15588 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 cat >conftest.
$ac_ext <<_ACEOF
15593 cat confdefs.h
>>conftest.
$ac_ext
15594 cat >>conftest.
$ac_ext <<_ACEOF
15595 /* end confdefs.h. */
15596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15598 #define $ac_func innocuous_$ac_func
15600 /* System header to define __stub macros and hopefully few prototypes,
15601 which can conflict with char $ac_func (); below.
15602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15603 <limits.h> exists even on freestanding compilers. */
15606 # include <limits.h>
15608 # include <assert.h>
15613 /* Override any gcc2 internal prototype to avoid an error. */
15618 /* We use char because int might match the return type of a gcc2
15619 builtin and then its argument prototype would still apply. */
15621 /* The GNU C library defines this for functions which it implements
15622 to always fail with ENOSYS. Some functions are actually named
15623 something starting with __ and the normal name is an alias. */
15624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15627 char (*f) () = $ac_func;
15636 return f != $ac_func;
15641 rm -f conftest.
$ac_objext conftest
$ac_exeext
15642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15643 (eval $ac_link) 2>conftest.er1
15645 grep -v '^ *+' conftest.er1
>conftest.err
15647 cat conftest.err
>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } &&
15650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15652 (eval $ac_try) 2>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); }; } &&
15656 { ac_try
='test -s conftest$ac_exeext'
15657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658 (eval $ac_try) 2>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); }; }; then
15662 eval "$as_ac_var=yes"
15664 echo "$as_me: failed program was:" >&5
15665 sed 's/^/| /' conftest.
$ac_ext >&5
15667 eval "$as_ac_var=no"
15669 rm -f conftest.err conftest.
$ac_objext \
15670 conftest
$ac_exeext conftest.
$ac_ext
15672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15674 if test `eval echo '${'$as_ac_var'}'` = yes; then
15675 cat >>confdefs.h
<<_ACEOF
15676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15771 fontconfig
/fontconfig.h \
15790 netinet
/in_systm.h \
15792 netinet
/tcp_fsm.h \
15802 scsi
/scsi_ioctl.h \
15844 valgrind
/memcheck.h
15847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15849 echo "$as_me:$LINENO: checking for $ac_header" >&5
15850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15852 echo $ECHO_N "(cached) $ECHO_C" >&6
15854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15857 # Is the header compilable?
15858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15860 cat >conftest.
$ac_ext <<_ACEOF
15863 cat confdefs.h
>>conftest.
$ac_ext
15864 cat >>conftest.
$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 $ac_includes_default
15867 #include <$ac_header>
15869 rm -f conftest.
$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15873 grep -v '^ *+' conftest.er1
>conftest.err
15875 cat conftest.err
>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try
='test -s conftest.$ac_objext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 ac_header_compiler
=yes
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.
$ac_ext >&5
15895 ac_header_compiler
=no
15897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15899 echo "${ECHO_T}$ac_header_compiler" >&6
15901 # Is the header present?
15902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15904 cat >conftest.
$ac_ext <<_ACEOF
15907 cat confdefs.h
>>conftest.
$ac_ext
15908 cat >>conftest.
$ac_ext <<_ACEOF
15909 /* end confdefs.h. */
15910 #include <$ac_header>
15912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15915 grep -v '^ *+' conftest.er1
>conftest.err
15917 cat conftest.err
>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } >/dev
/null
; then
15920 if test -s conftest.err
; then
15921 ac_cpp_err
=$ac_c_preproc_warn_flag
15922 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15929 if test -z "$ac_cpp_err"; then
15930 ac_header_preproc
=yes
15932 echo "$as_me: failed program was:" >&5
15933 sed 's/^/| /' conftest.
$ac_ext >&5
15935 ac_header_preproc
=no
15937 rm -f conftest.err conftest.
$ac_ext
15938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15939 echo "${ECHO_T}$ac_header_preproc" >&6
15941 # So? What about this header?
15942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15948 ac_header_preproc
=yes
15951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15965 ## ------------------------------------ ##
15966 ## Report this to wine-devel@winehq.org ##
15967 ## ------------------------------------ ##
15970 sed "s/^/$as_me: WARNING: /" >&2
15973 echo "$as_me:$LINENO: checking for $ac_header" >&5
15974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 eval "$as_ac_Header=\$ac_header_preproc"
15980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15985 cat >>confdefs.h
<<_ACEOF
15986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15993 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
15994 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
15995 if test "${ac_cv_header_stat_broken+set}" = set; then
15996 echo $ECHO_N "(cached) $ECHO_C" >&6
15998 cat >conftest.
$ac_ext <<_ACEOF
16001 cat confdefs.h
>>conftest.
$ac_ext
16002 cat >>conftest.
$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004 #include <sys/types.h>
16005 #include <sys/stat.h>
16007 #if defined(S_ISBLK) && defined(S_IFDIR)
16008 # if S_ISBLK (S_IFDIR)
16013 #if defined(S_ISBLK) && defined(S_IFCHR)
16014 # if S_ISBLK (S_IFCHR)
16019 #if defined(S_ISLNK) && defined(S_IFREG)
16020 # if S_ISLNK (S_IFREG)
16025 #if defined(S_ISSOCK) && defined(S_IFREG)
16026 # if S_ISSOCK (S_IFREG)
16032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16033 $EGREP "You lose" >/dev
/null
2>&1; then
16034 ac_cv_header_stat_broken
=yes
16036 ac_cv_header_stat_broken
=no
16041 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16042 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16043 if test $ac_cv_header_stat_broken = yes; then
16045 cat >>confdefs.h
<<\_ACEOF
16046 #define STAT_MACROS_BROKEN 1
16055 for ac_header
in sys
/mount.h sys
/user.h
16057 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16058 echo "$as_me:$LINENO: checking for $ac_header" >&5
16059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16061 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 cat >conftest.
$ac_ext <<_ACEOF
16066 cat confdefs.h
>>conftest.
$ac_ext
16067 cat >>conftest.
$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069 #include <sys/types.h>
16070 #if HAVE_SYS_PARAM_H
16071 # include <sys/param.h>
16074 #include <$ac_header>
16076 rm -f conftest.
$ac_objext
16077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16078 (eval $ac_compile) 2>conftest.er1
16080 grep -v '^ *+' conftest.er1
>conftest.err
16082 cat conftest.err
>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try
='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 eval "$as_ac_Header=yes"
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.
$ac_ext >&5
16102 eval "$as_ac_Header=no"
16104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16109 cat >>confdefs.h
<<_ACEOF
16110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16123 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16126 echo "$as_me:$LINENO: checking for $ac_header" >&5
16127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16129 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 cat >conftest.
$ac_ext <<_ACEOF
16134 cat confdefs.h
>>conftest.
$ac_ext
16135 cat >>conftest.
$ac_ext <<_ACEOF
16136 /* end confdefs.h. */
16137 #include <sys/types.h>
16138 #if HAVE_SYS_SOCKET_H
16139 # include <sys/socket.h>
16142 #include <$ac_header>
16144 rm -f conftest.
$ac_objext
16145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16146 (eval $ac_compile) 2>conftest.er1
16148 grep -v '^ *+' conftest.er1
>conftest.err
16150 cat conftest.err
>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } &&
16153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; } &&
16159 { ac_try
='test -s conftest.$ac_objext'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; }; then
16165 eval "$as_ac_Header=yes"
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.
$ac_ext >&5
16170 eval "$as_ac_Header=no"
16172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16177 cat >>confdefs.h
<<_ACEOF
16178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16187 for ac_header
in resolv.h
16189 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16190 echo "$as_me:$LINENO: checking for $ac_header" >&5
16191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 cat >conftest.
$ac_ext <<_ACEOF
16198 cat confdefs.h
>>conftest.
$ac_ext
16199 cat >>conftest.
$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 #include <sys/types.h>
16202 #if HAVE_SYS_SOCKET_H
16203 # include <sys/socket.h>
16205 #if HAVE_NETINET_IN_H
16206 # include <netinet/in.h>
16208 #if HAVE_ARPA_NAMESER_H
16209 # include <arpa/nameser.h>
16212 #include <$ac_header>
16214 rm -f conftest.
$ac_objext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16216 (eval $ac_compile) 2>conftest.er1
16218 grep -v '^ *+' conftest.er1
>conftest.err
16220 cat conftest.err
>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; } &&
16229 { ac_try
='test -s conftest.$ac_objext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16235 eval "$as_ac_Header=yes"
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.
$ac_ext >&5
16240 eval "$as_ac_Header=no"
16242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16247 cat >>confdefs.h
<<_ACEOF
16248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16257 for ac_header
in netinet
/ip.h
16259 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16260 echo "$as_me:$LINENO: checking for $ac_header" >&5
16261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 cat >conftest.
$ac_ext <<_ACEOF
16268 cat confdefs.h
>>conftest.
$ac_ext
16269 cat >>conftest.
$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 #include <sys/types.h>
16272 #if HAVE_SYS_SOCKET_H
16273 # include <sys/socket.h>
16275 #if HAVE_NETINET_IN_SYSTM_H
16276 # include <netinet/in_systm.h>
16279 #include <$ac_header>
16281 rm -f conftest.
$ac_objext
16282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16283 (eval $ac_compile) 2>conftest.er1
16285 grep -v '^ *+' conftest.er1
>conftest.err
16287 cat conftest.err
>&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } &&
16290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try
='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 eval "$as_ac_Header=yes"
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.
$ac_ext >&5
16307 eval "$as_ac_Header=no"
16309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16314 cat >>confdefs.h
<<_ACEOF
16315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16324 for ac_header
in ucontext.h
16326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16327 echo "$as_me:$LINENO: checking for $ac_header" >&5
16328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 cat >conftest.
$ac_ext <<_ACEOF
16335 cat confdefs.h
>>conftest.
$ac_ext
16336 cat >>conftest.
$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 #include <signal.h>
16340 #include <$ac_header>
16342 rm -f conftest.
$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>conftest.er1
16346 grep -v '^ *+' conftest.er1
>conftest.err
16348 cat conftest.err
>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } &&
16351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; } &&
16357 { ac_try
='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 eval "$as_ac_Header=yes"
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.
$ac_ext >&5
16368 eval "$as_ac_Header=no"
16370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16375 cat >>confdefs.h
<<_ACEOF
16376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16385 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16386 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16387 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 cat >conftest.
$ac_ext <<_ACEOF
16393 cat confdefs.h
>>conftest.
$ac_ext
16394 cat >>conftest.
$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 #include <sys/types.h>
16397 #ifdef HAVE_SYS_SOCKET_H
16398 # include <sys/socket.h>
16400 #include <netipx/ipx.h>
16404 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16413 grep -v '^ *+' conftest.er1
>conftest.err
16415 cat conftest.err
>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16420 (eval $ac_try) 2>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); }; } &&
16424 { ac_try
='test -s conftest.$ac_objext'
16425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 (eval $ac_try) 2>&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); }; }; then
16430 ac_cv_c_ipx_gnu
="yes"
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.
$ac_ext >&5
16435 ac_cv_c_ipx_gnu
="no"
16437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16440 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16441 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16442 if test "$ac_cv_c_ipx_gnu" = "yes"
16445 cat >>confdefs.h
<<\_ACEOF
16446 #define HAVE_IPX_GNU 1
16451 if test "$ac_cv_c_ipx_gnu" = "no"
16453 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16454 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16455 if test "${ac_cv_c_ipx_linux+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 cat >conftest.
$ac_ext <<_ACEOF
16461 cat confdefs.h
>>conftest.
$ac_ext
16462 cat >>conftest.
$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464 #include <sys/types.h>
16465 #ifdef HAVE_SYS_SOCKET_H
16466 # include <sys/socket.h>
16468 #include <asm/types.h>
16469 #include <linux/ipx.h>
16473 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16478 rm -f conftest.
$ac_objext
16479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16480 (eval $ac_compile) 2>conftest.er1
16482 grep -v '^ *+' conftest.er1
>conftest.err
16484 cat conftest.err
>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; } &&
16493 { ac_try
='test -s conftest.$ac_objext'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 ac_cv_c_ipx_linux
="yes"
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.
$ac_ext >&5
16504 ac_cv_c_ipx_linux
="no"
16506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16509 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16510 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16511 if test "$ac_cv_c_ipx_linux" = "yes"
16514 cat >>confdefs.h
<<\_ACEOF
16515 #define HAVE_IPX_LINUX 1
16522 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16523 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16524 if test "${ac_cv_c_const+set}" = set; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 cat >conftest.
$ac_ext <<_ACEOF
16530 cat confdefs.h
>>conftest.
$ac_ext
16531 cat >>conftest.
$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16537 /* FIXME: Include the comments suggested by Paul. */
16538 #ifndef __cplusplus
16539 /* Ultrix mips cc rejects this. */
16540 typedef int charset[2];
16542 /* SunOS 4.1.1 cc rejects this. */
16543 char const *const *ccp;
16545 /* NEC SVR4.0.2 mips cc rejects this. */
16546 struct point {int x, y;};
16547 static struct point const zero = {0,0};
16548 /* AIX XL C 1.02.0.0 rejects this.
16549 It does not let you subtract one const X* pointer from another in
16550 an arm of an if-expression whose if-part is not a constant
16552 const char *g = "string";
16553 ccp = &g + (g ? g-g : 0);
16554 /* HPUX 7.0 cc rejects these. */
16557 ccp = (char const *const *) p;
16558 { /* SCO 3.2v4 cc rejects this. */
16560 char const *s = 0 ? (char *) 0 : (char const *) 0;
16564 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16565 int x[] = {25, 17};
16566 const int *foo = &x[0];
16569 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16570 typedef const int *iptr;
16574 { /* AIX XL C 1.02.0.0 rejects this saying
16575 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16576 struct s { int j; const int *ap[3]; };
16577 struct s *b; b->j = 5;
16579 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16580 const int foo = 10;
16588 rm -f conftest.
$ac_objext
16589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16590 (eval $ac_compile) 2>conftest.er1
16592 grep -v '^ *+' conftest.er1
>conftest.err
16594 cat conftest.err
>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } &&
16597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; } &&
16603 { ac_try
='test -s conftest.$ac_objext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16611 echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.
$ac_ext >&5
16616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16618 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16619 echo "${ECHO_T}$ac_cv_c_const" >&6
16620 if test $ac_cv_c_const = no
; then
16622 cat >>confdefs.h
<<\_ACEOF
16628 echo "$as_me:$LINENO: checking for inline" >&5
16629 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16630 if test "${ac_cv_c_inline+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 for ac_kw
in inline __inline__ __inline
; do
16635 cat >conftest.
$ac_ext <<_ACEOF
16638 cat confdefs.h
>>conftest.
$ac_ext
16639 cat >>conftest.
$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16641 #ifndef __cplusplus
16643 static $ac_kw foo_t static_foo () {return 0; }
16644 $ac_kw foo_t foo () {return 0; }
16648 rm -f conftest.
$ac_objext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16650 (eval $ac_compile) 2>conftest.er1
16652 grep -v '^ *+' conftest.er1
>conftest.err
16654 cat conftest.err
>&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); } &&
16657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; } &&
16663 { ac_try
='test -s conftest.$ac_objext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16669 ac_cv_c_inline
=$ac_kw; break
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.
$ac_ext >&5
16675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16679 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16680 echo "${ECHO_T}$ac_cv_c_inline" >&6
16683 case $ac_cv_c_inline in
16686 case $ac_cv_c_inline in
16688 *) ac_val
=$ac_cv_c_inline;;
16690 cat >>confdefs.h
<<_ACEOF
16691 #ifndef __cplusplus
16692 #define inline $ac_val
16698 echo "$as_me:$LINENO: checking for mode_t" >&5
16699 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16700 if test "${ac_cv_type_mode_t+set}" = set; then
16701 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 cat >conftest.
$ac_ext <<_ACEOF
16706 cat confdefs.h
>>conftest.
$ac_ext
16707 cat >>conftest.
$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709 $ac_includes_default
16715 if (sizeof (mode_t))
16721 rm -f conftest.
$ac_objext
16722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16723 (eval $ac_compile) 2>conftest.er1
16725 grep -v '^ *+' conftest.er1
>conftest.err
16727 cat conftest.err
>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; } &&
16736 { ac_try
='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 ac_cv_type_mode_t
=yes
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16747 ac_cv_type_mode_t
=no
16749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16751 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16752 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16753 if test $ac_cv_type_mode_t = yes; then
16755 cat >>confdefs.h
<<_ACEOF
16756 #define HAVE_MODE_T 1
16761 echo "$as_me:$LINENO: checking for off_t" >&5
16762 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
16763 if test "${ac_cv_type_off_t+set}" = set; then
16764 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 cat >conftest.
$ac_ext <<_ACEOF
16769 cat confdefs.h
>>conftest.
$ac_ext
16770 cat >>conftest.
$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16772 $ac_includes_default
16778 if (sizeof (off_t))
16784 rm -f conftest.
$ac_objext
16785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16786 (eval $ac_compile) 2>conftest.er1
16788 grep -v '^ *+' conftest.er1
>conftest.err
16790 cat conftest.err
>&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); } &&
16793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; } &&
16799 { ac_try
='test -s conftest.$ac_objext'
16800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801 (eval $ac_try) 2>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); }; }; then
16805 ac_cv_type_off_t
=yes
16807 echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.
$ac_ext >&5
16810 ac_cv_type_off_t
=no
16812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16814 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16815 echo "${ECHO_T}$ac_cv_type_off_t" >&6
16816 if test $ac_cv_type_off_t = yes; then
16818 cat >>confdefs.h
<<_ACEOF
16819 #define HAVE_OFF_T 1
16824 echo "$as_me:$LINENO: checking for pid_t" >&5
16825 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16826 if test "${ac_cv_type_pid_t+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 cat >conftest.
$ac_ext <<_ACEOF
16832 cat confdefs.h
>>conftest.
$ac_ext
16833 cat >>conftest.
$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835 $ac_includes_default
16841 if (sizeof (pid_t))
16847 rm -f conftest.
$ac_objext
16848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16849 (eval $ac_compile) 2>conftest.er1
16851 grep -v '^ *+' conftest.er1
>conftest.err
16853 cat conftest.err
>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } &&
16856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; } &&
16862 { ac_try
='test -s conftest.$ac_objext'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; }; then
16868 ac_cv_type_pid_t
=yes
16870 echo "$as_me: failed program was:" >&5
16871 sed 's/^/| /' conftest.
$ac_ext >&5
16873 ac_cv_type_pid_t
=no
16875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16877 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16878 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16879 if test $ac_cv_type_pid_t = yes; then
16881 cat >>confdefs.h
<<_ACEOF
16882 #define HAVE_PID_T 1
16887 echo "$as_me:$LINENO: checking for size_t" >&5
16888 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16889 if test "${ac_cv_type_size_t+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 cat >conftest.
$ac_ext <<_ACEOF
16895 cat confdefs.h
>>conftest.
$ac_ext
16896 cat >>conftest.
$ac_ext <<_ACEOF
16897 /* end confdefs.h. */
16898 $ac_includes_default
16904 if (sizeof (size_t))
16910 rm -f conftest.
$ac_objext
16911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16912 (eval $ac_compile) 2>conftest.er1
16914 grep -v '^ *+' conftest.er1
>conftest.err
16916 cat conftest.err
>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } &&
16919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; } &&
16925 { ac_try
='test -s conftest.$ac_objext'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16931 ac_cv_type_size_t
=yes
16933 echo "$as_me: failed program was:" >&5
16934 sed 's/^/| /' conftest.
$ac_ext >&5
16936 ac_cv_type_size_t
=no
16938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16940 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16941 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16942 if test $ac_cv_type_size_t = yes; then
16944 cat >>confdefs.h
<<_ACEOF
16945 #define HAVE_SIZE_T 1
16950 echo "$as_me:$LINENO: checking for ssize_t" >&5
16951 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
16952 if test "${ac_cv_type_ssize_t+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 cat >conftest.
$ac_ext <<_ACEOF
16958 cat confdefs.h
>>conftest.
$ac_ext
16959 cat >>conftest.
$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16961 $ac_includes_default
16967 if (sizeof (ssize_t))
16973 rm -f conftest.
$ac_objext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16975 (eval $ac_compile) 2>conftest.er1
16977 grep -v '^ *+' conftest.er1
>conftest.err
16979 cat conftest.err
>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16984 (eval $ac_try) 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }; } &&
16988 { ac_try
='test -s conftest.$ac_objext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_cv_type_ssize_t
=yes
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.
$ac_ext >&5
16999 ac_cv_type_ssize_t
=no
17001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17003 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17004 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17005 if test $ac_cv_type_ssize_t = yes; then
17007 cat >>confdefs.h
<<_ACEOF
17008 #define HAVE_SSIZE_T 1
17014 echo "$as_me:$LINENO: checking for long long" >&5
17015 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17016 if test "${ac_cv_type_long_long+set}" = set; then
17017 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 cat >conftest.
$ac_ext <<_ACEOF
17022 cat confdefs.h
>>conftest.
$ac_ext
17023 cat >>conftest.
$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025 $ac_includes_default
17029 if ((long long *) 0)
17031 if (sizeof (long long))
17037 rm -f conftest.
$ac_objext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17039 (eval $ac_compile) 2>conftest.er1
17041 grep -v '^ *+' conftest.er1
>conftest.err
17043 cat conftest.err
>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try
='test -s conftest.$ac_objext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 ac_cv_type_long_long
=yes
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.
$ac_ext >&5
17063 ac_cv_type_long_long
=no
17065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17067 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17068 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17070 echo "$as_me:$LINENO: checking size of long long" >&5
17071 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17072 if test "${ac_cv_sizeof_long_long+set}" = set; then
17073 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 if test "$ac_cv_type_long_long" = yes; then
17076 # The cast to unsigned long works around a bug in the HP C Compiler
17077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17079 # This bug is HP SR number 8606223364.
17080 if test "$cross_compiling" = yes; then
17081 # Depending upon the size, compute the lo and hi bounds.
17082 cat >conftest.
$ac_ext <<_ACEOF
17085 cat confdefs.h
>>conftest.
$ac_ext
17086 cat >>conftest.
$ac_ext <<_ACEOF
17087 /* end confdefs.h. */
17088 $ac_includes_default
17092 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17099 rm -f conftest.
$ac_objext
17100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17101 (eval $ac_compile) 2>conftest.er1
17103 grep -v '^ *+' conftest.er1
>conftest.err
17105 cat conftest.err
>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; } &&
17114 { ac_try
='test -s conftest.$ac_objext'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 $ac_includes_default
17132 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17139 rm -f conftest.
$ac_objext
17140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17141 (eval $ac_compile) 2>conftest.er1
17143 grep -v '^ *+' conftest.er1
>conftest.err
17145 cat conftest.err
>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } &&
17148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try
='test -s conftest.$ac_objext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_hi
=$ac_mid; break
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.
$ac_ext >&5
17165 ac_lo
=`expr $ac_mid + 1`
17166 if test $ac_lo -le $ac_mid; then
17170 ac_mid
=`expr 2 '*' $ac_mid + 1`
17172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.
$ac_ext >&5
17178 cat >conftest.
$ac_ext <<_ACEOF
17181 cat confdefs.h
>>conftest.
$ac_ext
17182 cat >>conftest.
$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184 $ac_includes_default
17188 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17195 rm -f conftest.
$ac_objext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17197 (eval $ac_compile) 2>conftest.er1
17199 grep -v '^ *+' conftest.er1
>conftest.err
17201 cat conftest.err
>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } &&
17204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; } &&
17210 { ac_try
='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17218 cat >conftest.
$ac_ext <<_ACEOF
17221 cat confdefs.h
>>conftest.
$ac_ext
17222 cat >>conftest.
$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224 $ac_includes_default
17228 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17235 rm -f conftest.
$ac_objext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17237 (eval $ac_compile) 2>conftest.er1
17239 grep -v '^ *+' conftest.er1
>conftest.err
17241 cat conftest.err
>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } &&
17244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } &&
17250 { ac_try
='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_lo
=$ac_mid; break
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.
$ac_ext >&5
17261 ac_hi
=`expr '(' $ac_mid ')' - 1`
17262 if test $ac_mid -le $ac_hi; then
17266 ac_mid
=`expr 2 '*' $ac_mid`
17268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.
$ac_ext >&5
17276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17279 # Binary search between lo and hi bounds.
17280 while test "x$ac_lo" != "x$ac_hi"; do
17281 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17282 cat >conftest.
$ac_ext <<_ACEOF
17285 cat confdefs.h
>>conftest.
$ac_ext
17286 cat >>conftest.
$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 $ac_includes_default
17292 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17299 rm -f conftest.
$ac_objext
17300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17301 (eval $ac_compile) 2>conftest.er1
17303 grep -v '^ *+' conftest.er1
>conftest.err
17305 cat conftest.err
>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); } &&
17308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try
='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 ac_lo
=`expr '(' $ac_mid ')' + 1`
17327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17330 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17331 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17332 See \`config.log' for more details." >&5
17333 echo "$as_me: error: cannot compute sizeof (long long), 77
17334 See \`config.log' for more details." >&2;}
17335 { (exit 1); exit 1; }; } ;;
17338 if test "$cross_compiling" = yes; then
17339 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot run test program while cross compiling
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; }
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17352 long longval () { return (long) (sizeof (long long)); }
17353 unsigned long ulongval () { return (long) (sizeof (long long)); }
17355 #include <stdlib.h>
17360 FILE *f = fopen ("conftest.val", "w");
17363 if (((long) (sizeof (long long))) < 0)
17365 long i = longval ();
17366 if (i != ((long) (sizeof (long long))))
17368 fprintf (f, "%ld\n", i);
17372 unsigned long i = ulongval ();
17373 if (i != ((long) (sizeof (long long))))
17375 fprintf (f, "%lu\n", i);
17377 exit (ferror (f) || fclose (f) != 0);
17383 rm -f conftest
$ac_exeext
17384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17385 (eval $ac_link) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17394 ac_cv_sizeof_long_long
=`cat conftest.val`
17396 echo "$as_me: program exited with status $ac_status" >&5
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ( exit $ac_status )
17401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17402 See \`config.log' for more details." >&5
17403 echo "$as_me: error: cannot compute sizeof (long long), 77
17404 See \`config.log' for more details." >&2;}
17405 { (exit 1); exit 1; }; }
17407 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17412 ac_cv_sizeof_long_long
=0
17415 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17416 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17417 cat >>confdefs.h
<<_ACEOF
17418 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17423 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17424 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17425 if test "${wine_cv_linux_input_h+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 cat >conftest.
$ac_ext <<_ACEOF
17431 cat confdefs.h
>>conftest.
$ac_ext
17432 cat >>conftest.
$ac_ext <<_ACEOF
17433 /* end confdefs.h. */
17435 #include <linux/input.h>
17441 int foo = EVIOCGBIT(EV_ABS,42);
17442 int bar = BTN_PINKIE;
17449 rm -f conftest.
$ac_objext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>conftest.er1
17453 grep -v '^ *+' conftest.er1
>conftest.err
17455 cat conftest.err
>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try
='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 wine_cv_linux_input_h
=yes
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.
$ac_ext >&5
17475 wine_cv_linux_input_h
=no
17477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17480 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17481 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17482 if test "$wine_cv_linux_input_h" = "yes"
17485 cat >>confdefs.h
<<\_ACEOF
17486 #define HAVE_CORRECT_LINUXINPUT_H 1
17492 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17493 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17494 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 cat >conftest.
$ac_ext <<_ACEOF
17500 cat confdefs.h
>>conftest.
$ac_ext
17501 cat >>conftest.
$ac_ext <<_ACEOF
17502 /* end confdefs.h. */
17512 struct hostent *result;
17519 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17520 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17526 rm -f conftest.
$ac_objext conftest
$ac_exeext
17527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17528 (eval $ac_link) 2>conftest.er1
17530 grep -v '^ *+' conftest.er1
>conftest.err
17532 cat conftest.err
>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } &&
17535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try
='test -s conftest$ac_exeext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 wine_cv_linux_gethostbyname_r_6
=yes
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.
$ac_ext >&5
17552 wine_cv_linux_gethostbyname_r_6
=no
17555 rm -f conftest.err conftest.
$ac_objext \
17556 conftest
$ac_exeext conftest.
$ac_ext
17559 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17560 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17561 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17564 cat >>confdefs.h
<<\_ACEOF
17565 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17570 if test "$ac_cv_header_linux_joystick_h" = "yes"
17572 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17573 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17574 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 cat >conftest.
$ac_ext <<_ACEOF
17580 cat confdefs.h
>>conftest.
$ac_ext
17581 cat >>conftest.
$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17584 #include <sys/ioctl.h>
17585 #include <linux/joystick.h>
17587 struct js_event blub;
17588 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17589 #error "no 2.2 header"
17600 rm -f conftest.
$ac_objext
17601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17602 (eval $ac_compile) 2>conftest.er1
17604 grep -v '^ *+' conftest.er1
>conftest.err
17606 cat conftest.err
>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; } &&
17615 { ac_try
='test -s conftest.$ac_objext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 wine_cv_linux_joystick_22_api
=yes
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.
$ac_ext >&5
17626 wine_cv_linux_joystick_22_api
=no
17628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17631 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17632 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17633 if test "$wine_cv_linux_joystick_22_api" = "yes"
17636 cat >>confdefs.h
<<\_ACEOF
17637 #define HAVE_LINUX_22_JOYSTICK_API 1
17644 if test "$ac_cv_header_sys_vfs_h" = "yes"
17646 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17647 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17648 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 cat >conftest.
$ac_ext <<_ACEOF
17654 cat confdefs.h
>>conftest.
$ac_ext
17655 cat >>conftest.
$ac_ext <<_ACEOF
17656 /* end confdefs.h. */
17658 #include <sys/types.h>
17659 #ifdef HAVE_SYS_PARAM_H
17660 # include <sys/param.h>
17662 #include <sys/vfs.h>
17668 struct statfs stfs;
17670 memset(&stfs,0,sizeof(stfs));
17676 rm -f conftest.
$ac_objext
17677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17678 (eval $ac_compile) 2>conftest.er1
17680 grep -v '^ *+' conftest.er1
>conftest.err
17682 cat conftest.err
>&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); } &&
17685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17687 (eval $ac_try) 2>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); }; } &&
17691 { ac_try
='test -s conftest.$ac_objext'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; }; then
17697 wine_cv_sys_vfs_has_statfs
=yes
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.
$ac_ext >&5
17702 wine_cv_sys_vfs_has_statfs
=no
17705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17708 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17709 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17710 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17713 cat >>confdefs.h
<<\_ACEOF
17714 #define STATFS_DEFINED_BY_SYS_VFS 1
17720 if test "$ac_cv_header_sys_statfs_h" = "yes"
17722 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17723 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17724 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17734 #include <sys/types.h>
17735 #ifdef HAVE_SYS_PARAM_H
17736 # include <sys/param.h>
17738 #include <sys/statfs.h>
17744 struct statfs stfs;
17750 rm -f conftest.
$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>conftest.er1
17754 grep -v '^ *+' conftest.er1
>conftest.err
17756 cat conftest.err
>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17761 (eval $ac_try) 2>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); }; } &&
17765 { ac_try
='test -s conftest.$ac_objext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 wine_cv_sys_statfs_has_statfs
=yes
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 wine_cv_sys_statfs_has_statfs
=no
17779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17782 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
17783 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
17784 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
17787 cat >>confdefs.h
<<\_ACEOF
17788 #define STATFS_DEFINED_BY_SYS_STATFS 1
17794 if test "$ac_cv_header_sys_mount_h" = "yes"
17796 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
17797 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
17798 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 cat >conftest.
$ac_ext <<_ACEOF
17804 cat confdefs.h
>>conftest.
$ac_ext
17805 cat >>conftest.
$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17808 #include <sys/types.h>
17809 #ifdef HAVE_SYS_PARAM_H
17810 # include <sys/param.h>
17812 #include <sys/mount.h>
17818 struct statfs stfs;
17824 rm -f conftest.
$ac_objext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17826 (eval $ac_compile) 2>conftest.er1
17828 grep -v '^ *+' conftest.er1
>conftest.err
17830 cat conftest.err
>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } &&
17833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; } &&
17839 { ac_try
='test -s conftest.$ac_objext'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; }; then
17845 wine_cv_sys_mount_has_statfs
=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17850 wine_cv_sys_mount_has_statfs
=no
17853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17856 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
17857 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
17858 if test "$wine_cv_sys_mount_has_statfs" = "yes"
17861 cat >>confdefs.h
<<\_ACEOF
17862 #define STATFS_DEFINED_BY_SYS_MOUNT 1
17869 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17870 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
17871 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17872 echo $ECHO_N "(cached) $ECHO_C" >&6
17874 cat >conftest.
$ac_ext <<_ACEOF
17877 cat confdefs.h
>>conftest.
$ac_ext
17878 cat >>conftest.
$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 #include <sys/types.h>
17881 #ifdef HAVE_SYS_PARAM_H
17882 # include <sys/param.h>
17884 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17885 # include <sys/mount.h>
17887 # ifdef STATFS_DEFINED_BY_SYS_VFS
17888 # include <sys/vfs.h>
17890 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17891 # include <sys/statfs.h>
17899 static struct statfs ac_aggr;
17900 if (ac_aggr.f_bfree)
17906 rm -f conftest.
$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17910 grep -v '^ *+' conftest.er1
>conftest.err
17912 cat conftest.err
>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try
='test -s conftest.$ac_objext'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; }; then
17927 ac_cv_member_struct_statfs_f_bfree
=yes
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.
$ac_ext >&5
17932 cat >conftest.
$ac_ext <<_ACEOF
17935 cat confdefs.h
>>conftest.
$ac_ext
17936 cat >>conftest.
$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938 #include <sys/types.h>
17939 #ifdef HAVE_SYS_PARAM_H
17940 # include <sys/param.h>
17942 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17943 # include <sys/mount.h>
17945 # ifdef STATFS_DEFINED_BY_SYS_VFS
17946 # include <sys/vfs.h>
17948 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17949 # include <sys/statfs.h>
17957 static struct statfs ac_aggr;
17958 if (sizeof ac_aggr.f_bfree)
17964 rm -f conftest.
$ac_objext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17966 (eval $ac_compile) 2>conftest.er1
17968 grep -v '^ *+' conftest.er1
>conftest.err
17970 cat conftest.err
>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try
='test -s conftest.$ac_objext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17985 ac_cv_member_struct_statfs_f_bfree
=yes
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.
$ac_ext >&5
17990 ac_cv_member_struct_statfs_f_bfree
=no
17992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17996 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17997 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
17998 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18000 cat >>confdefs.h
<<_ACEOF
18001 #define HAVE_STRUCT_STATFS_F_BFREE 1
18006 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18007 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18008 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 cat >conftest.
$ac_ext <<_ACEOF
18014 cat confdefs.h
>>conftest.
$ac_ext
18015 cat >>conftest.
$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 #include <sys/types.h>
18018 #ifdef HAVE_SYS_PARAM_H
18019 # include <sys/param.h>
18021 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18022 # include <sys/mount.h>
18024 # ifdef STATFS_DEFINED_BY_SYS_VFS
18025 # include <sys/vfs.h>
18027 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18028 # include <sys/statfs.h>
18036 static struct statfs ac_aggr;
18037 if (ac_aggr.f_bavail)
18043 rm -f conftest.
$ac_objext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18045 (eval $ac_compile) 2>conftest.er1
18047 grep -v '^ *+' conftest.er1
>conftest.err
18049 cat conftest.err
>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; } &&
18058 { ac_try
='test -s conftest.$ac_objext'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; }; then
18064 ac_cv_member_struct_statfs_f_bavail
=yes
18066 echo "$as_me: failed program was:" >&5
18067 sed 's/^/| /' conftest.
$ac_ext >&5
18069 cat >conftest.
$ac_ext <<_ACEOF
18072 cat confdefs.h
>>conftest.
$ac_ext
18073 cat >>conftest.
$ac_ext <<_ACEOF
18074 /* end confdefs.h. */
18075 #include <sys/types.h>
18076 #ifdef HAVE_SYS_PARAM_H
18077 # include <sys/param.h>
18079 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18080 # include <sys/mount.h>
18082 # ifdef STATFS_DEFINED_BY_SYS_VFS
18083 # include <sys/vfs.h>
18085 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18086 # include <sys/statfs.h>
18094 static struct statfs ac_aggr;
18095 if (sizeof ac_aggr.f_bavail)
18101 rm -f conftest.
$ac_objext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18103 (eval $ac_compile) 2>conftest.er1
18105 grep -v '^ *+' conftest.er1
>conftest.err
18107 cat conftest.err
>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } &&
18110 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18112 (eval $ac_try) 2>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); }; } &&
18116 { ac_try
='test -s conftest.$ac_objext'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; }; then
18122 ac_cv_member_struct_statfs_f_bavail
=yes
18124 echo "$as_me: failed program was:" >&5
18125 sed 's/^/| /' conftest.
$ac_ext >&5
18127 ac_cv_member_struct_statfs_f_bavail
=no
18129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18133 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18134 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18135 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18137 cat >>confdefs.h
<<_ACEOF
18138 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18145 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18146 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18147 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18150 cat >conftest.
$ac_ext <<_ACEOF
18153 cat confdefs.h
>>conftest.
$ac_ext
18154 cat >>conftest.
$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 #include <sys/types.h>
18157 #ifdef HAVE_SYS_SOCKET_H
18158 # include <sys/socket.h>
18160 #ifdef HAVE_SYS_UN_H
18161 # include <sys/un.h>
18167 static struct msghdr ac_aggr;
18168 if (ac_aggr.msg_accrights)
18174 rm -f conftest.
$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; } &&
18189 { ac_try
='test -s conftest.$ac_objext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18195 ac_cv_member_struct_msghdr_msg_accrights
=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.
$ac_ext >&5
18200 cat >conftest.
$ac_ext <<_ACEOF
18203 cat confdefs.h
>>conftest.
$ac_ext
18204 cat >>conftest.
$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 #include <sys/types.h>
18207 #ifdef HAVE_SYS_SOCKET_H
18208 # include <sys/socket.h>
18210 #ifdef HAVE_SYS_UN_H
18211 # include <sys/un.h>
18217 static struct msghdr ac_aggr;
18218 if (sizeof ac_aggr.msg_accrights)
18224 rm -f conftest.
$ac_objext
18225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18226 (eval $ac_compile) 2>conftest.er1
18228 grep -v '^ *+' conftest.er1
>conftest.err
18230 cat conftest.err
>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } &&
18233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; } &&
18239 { ac_try
='test -s conftest.$ac_objext'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
18245 ac_cv_member_struct_msghdr_msg_accrights
=yes
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.
$ac_ext >&5
18250 ac_cv_member_struct_msghdr_msg_accrights
=no
18252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18256 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18257 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18258 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18260 cat >>confdefs.h
<<_ACEOF
18261 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18266 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18267 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18268 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18269 echo $ECHO_N "(cached) $ECHO_C" >&6
18271 cat >conftest.
$ac_ext <<_ACEOF
18274 cat confdefs.h
>>conftest.
$ac_ext
18275 cat >>conftest.
$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277 #include <sys/types.h>
18278 #ifdef HAVE_SYS_SOCKET_H
18279 # include <sys/socket.h>
18281 #ifdef HAVE_SYS_UN_H
18282 # include <sys/un.h>
18288 static struct sockaddr ac_aggr;
18289 if (ac_aggr.sa_len)
18295 rm -f conftest.
$ac_objext
18296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18297 (eval $ac_compile) 2>conftest.er1
18299 grep -v '^ *+' conftest.er1
>conftest.err
18301 cat conftest.err
>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } &&
18304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; } &&
18310 { ac_try
='test -s conftest.$ac_objext'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18316 ac_cv_member_struct_sockaddr_sa_len
=yes
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.
$ac_ext >&5
18321 cat >conftest.
$ac_ext <<_ACEOF
18324 cat confdefs.h
>>conftest.
$ac_ext
18325 cat >>conftest.
$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 #include <sys/types.h>
18328 #ifdef HAVE_SYS_SOCKET_H
18329 # include <sys/socket.h>
18331 #ifdef HAVE_SYS_UN_H
18332 # include <sys/un.h>
18338 static struct sockaddr ac_aggr;
18339 if (sizeof ac_aggr.sa_len)
18345 rm -f conftest.
$ac_objext
18346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18347 (eval $ac_compile) 2>conftest.er1
18349 grep -v '^ *+' conftest.er1
>conftest.err
18351 cat conftest.err
>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); } &&
18354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356 (eval $ac_try) 2>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; } &&
18360 { ac_try
='test -s conftest.$ac_objext'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; }; then
18366 ac_cv_member_struct_sockaddr_sa_len
=yes
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.
$ac_ext >&5
18371 ac_cv_member_struct_sockaddr_sa_len
=no
18373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18377 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18378 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18379 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18381 cat >>confdefs.h
<<_ACEOF
18382 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18387 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18388 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18389 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18390 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 cat >conftest.
$ac_ext <<_ACEOF
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #include <sys/types.h>
18399 #ifdef HAVE_SYS_SOCKET_H
18400 # include <sys/socket.h>
18402 #ifdef HAVE_SYS_UN_H
18403 # include <sys/un.h>
18409 static struct sockaddr_un ac_aggr;
18410 if (ac_aggr.sun_len)
18416 rm -f conftest.
$ac_objext
18417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18418 (eval $ac_compile) 2>conftest.er1
18420 grep -v '^ *+' conftest.er1
>conftest.err
18422 cat conftest.err
>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } &&
18425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try
='test -s conftest.$ac_objext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.
$ac_ext >&5
18442 cat >conftest.
$ac_ext <<_ACEOF
18445 cat confdefs.h
>>conftest.
$ac_ext
18446 cat >>conftest.
$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 #include <sys/types.h>
18449 #ifdef HAVE_SYS_SOCKET_H
18450 # include <sys/socket.h>
18452 #ifdef HAVE_SYS_UN_H
18453 # include <sys/un.h>
18459 static struct sockaddr_un ac_aggr;
18460 if (sizeof ac_aggr.sun_len)
18466 rm -f conftest.
$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18470 grep -v '^ *+' conftest.er1
>conftest.err
18472 cat conftest.err
>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try
='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.
$ac_ext >&5
18492 ac_cv_member_struct_sockaddr_un_sun_len
=no
18494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18498 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18499 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18500 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18502 cat >>confdefs.h
<<_ACEOF
18503 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18510 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18511 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18512 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18513 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 cat >conftest.
$ac_ext <<_ACEOF
18518 cat confdefs.h
>>conftest.
$ac_ext
18519 cat >>conftest.
$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 #include <signal.h>
18526 static siginfo_t ac_aggr;
18533 rm -f conftest.
$ac_objext
18534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18535 (eval $ac_compile) 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; } &&
18548 { ac_try
='test -s conftest.$ac_objext'
18549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18550 (eval $ac_try) 2>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18554 ac_cv_member_siginfo_t_si_fd
=yes
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.
$ac_ext >&5
18559 cat >conftest.
$ac_ext <<_ACEOF
18562 cat confdefs.h
>>conftest.
$ac_ext
18563 cat >>conftest.
$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 #include <signal.h>
18570 static siginfo_t ac_aggr;
18571 if (sizeof ac_aggr.si_fd)
18577 rm -f conftest.
$ac_objext
18578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18579 (eval $ac_compile) 2>conftest.er1
18581 grep -v '^ *+' conftest.er1
>conftest.err
18583 cat conftest.err
>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18588 (eval $ac_try) 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); }; } &&
18592 { ac_try
='test -s conftest.$ac_objext'
18593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18594 (eval $ac_try) 2>&5
18596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18597 (exit $ac_status); }; }; then
18598 ac_cv_member_siginfo_t_si_fd
=yes
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.
$ac_ext >&5
18603 ac_cv_member_siginfo_t_si_fd
=no
18605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18609 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18610 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18611 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18613 cat >>confdefs.h
<<_ACEOF
18614 #define HAVE_SIGINFO_T_SI_FD 1
18621 echo "$as_me:$LINENO: checking for struct option.name" >&5
18622 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
18623 if test "${ac_cv_member_struct_option_name+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 cat >conftest.
$ac_ext <<_ACEOF
18629 cat confdefs.h
>>conftest.
$ac_ext
18630 cat >>conftest.
$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #ifdef HAVE_GETOPT_H
18633 #include <getopt.h>
18639 static struct option ac_aggr;
18646 rm -f conftest.
$ac_objext
18647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18648 (eval $ac_compile) 2>conftest.er1
18650 grep -v '^ *+' conftest.er1
>conftest.err
18652 cat conftest.err
>&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); } &&
18655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18657 (eval $ac_try) 2>&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); }; } &&
18661 { ac_try
='test -s conftest.$ac_objext'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; }; then
18667 ac_cv_member_struct_option_name
=yes
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.
$ac_ext >&5
18672 cat >conftest.
$ac_ext <<_ACEOF
18675 cat confdefs.h
>>conftest.
$ac_ext
18676 cat >>conftest.
$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 #ifdef HAVE_GETOPT_H
18679 #include <getopt.h>
18685 static struct option ac_aggr;
18686 if (sizeof ac_aggr.name)
18692 rm -f conftest.
$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694 (eval $ac_compile) 2>conftest.er1
18696 grep -v '^ *+' conftest.er1
>conftest.err
18698 cat conftest.err
>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try
='test -s conftest.$ac_objext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 ac_cv_member_struct_option_name
=yes
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.
$ac_ext >&5
18718 ac_cv_member_struct_option_name
=no
18720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18724 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
18725 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
18726 if test $ac_cv_member_struct_option_name = yes; then
18728 cat >>confdefs.h
<<_ACEOF
18729 #define HAVE_STRUCT_OPTION_NAME 1
18736 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18737 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18738 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 cat >conftest.
$ac_ext <<_ACEOF
18744 cat confdefs.h
>>conftest.
$ac_ext
18745 cat >>conftest.
$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 $ac_includes_default
18751 static struct stat ac_aggr;
18752 if (ac_aggr.st_blocks)
18758 rm -f conftest.
$ac_objext
18759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18760 (eval $ac_compile) 2>conftest.er1
18762 grep -v '^ *+' conftest.er1
>conftest.err
18764 cat conftest.err
>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } &&
18767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; } &&
18773 { ac_try
='test -s conftest.$ac_objext'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 ac_cv_member_struct_stat_st_blocks
=yes
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.
$ac_ext >&5
18784 cat >conftest.
$ac_ext <<_ACEOF
18787 cat confdefs.h
>>conftest.
$ac_ext
18788 cat >>conftest.
$ac_ext <<_ACEOF
18789 /* end confdefs.h. */
18790 $ac_includes_default
18794 static struct stat ac_aggr;
18795 if (sizeof ac_aggr.st_blocks)
18801 rm -f conftest.
$ac_objext
18802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18803 (eval $ac_compile) 2>conftest.er1
18805 grep -v '^ *+' conftest.er1
>conftest.err
18807 cat conftest.err
>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } &&
18810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; } &&
18816 { ac_try
='test -s conftest.$ac_objext'
18817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818 (eval $ac_try) 2>&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); }; }; then
18822 ac_cv_member_struct_stat_st_blocks
=yes
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.
$ac_ext >&5
18827 ac_cv_member_struct_stat_st_blocks
=no
18829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18833 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18834 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18835 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18837 cat >>confdefs.h
<<_ACEOF
18838 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18847 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
18848 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
18849 if test "${ac_cv_cpp_def___i386__+set}" = set; then
18850 echo $ECHO_N "(cached) $ECHO_C" >&6
18852 cat >conftest.
$ac_ext <<_ACEOF
18855 cat confdefs.h
>>conftest.
$ac_ext
18856 cat >>conftest.
$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18863 $EGREP "yes" >/dev
/null
2>&1; then
18864 ac_cv_cpp_def___i386__
=yes
18866 ac_cv_cpp_def___i386__
=no
18871 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
18872 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
18873 if test $ac_cv_cpp_def___i386__ = yes; then
18874 CFLAGS
="$CFLAGS -D__i386__"
18875 LINTFLAGS
="$LINTFLAGS -D__i386__"
18878 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
18879 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
18880 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
18881 echo $ECHO_N "(cached) $ECHO_C" >&6
18883 cat >conftest.
$ac_ext <<_ACEOF
18886 cat confdefs.h
>>conftest.
$ac_ext
18887 cat >>conftest.
$ac_ext <<_ACEOF
18888 /* end confdefs.h. */
18893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18894 $EGREP "yes" >/dev
/null
2>&1; then
18895 ac_cv_cpp_def___ALPHA__
=yes
18897 ac_cv_cpp_def___ALPHA__
=no
18902 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
18903 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
18904 if test $ac_cv_cpp_def___ALPHA__ = yes; then
18905 CFLAGS
="$CFLAGS -D__ALPHA__"
18906 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
18909 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
18910 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
18911 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
18912 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 cat >conftest.
$ac_ext <<_ACEOF
18917 cat confdefs.h
>>conftest.
$ac_ext
18918 cat >>conftest.
$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18925 $EGREP "yes" >/dev
/null
2>&1; then
18926 ac_cv_cpp_def___sparc__
=yes
18928 ac_cv_cpp_def___sparc__
=no
18933 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
18934 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
18935 if test $ac_cv_cpp_def___sparc__ = yes; then
18936 CFLAGS
="$CFLAGS -D__sparc__"
18937 LINTFLAGS
="$LINTFLAGS -D__sparc__"
18940 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
18941 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
18942 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 cat >conftest.
$ac_ext <<_ACEOF
18948 cat confdefs.h
>>conftest.
$ac_ext
18949 cat >>conftest.
$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 #ifndef __powerpc__
18955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18956 $EGREP "yes" >/dev
/null
2>&1; then
18957 ac_cv_cpp_def___powerpc__
=yes
18959 ac_cv_cpp_def___powerpc__
=no
18964 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
18965 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
18966 if test $ac_cv_cpp_def___powerpc__ = yes; then
18967 CFLAGS
="$CFLAGS -D__powerpc__"
18968 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
18973 case $host_vendor in
18974 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
18975 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
18976 if test "${ac_cv_cpp_def___sun__+set}" = set; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 cat >conftest.
$ac_ext <<_ACEOF
18982 cat confdefs.h
>>conftest.
$ac_ext
18983 cat >>conftest.
$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18990 $EGREP "yes" >/dev
/null
2>&1; then
18991 ac_cv_cpp_def___sun__
=yes
18993 ac_cv_cpp_def___sun__
=no
18998 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
18999 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19000 if test $ac_cv_cpp_def___sun__ = yes; then
19001 CFLAGS
="$CFLAGS -D__sun__"
19002 LINTFLAGS
="$LINTFLAGS -D__sun__"
19011 ac_config_commands
="$ac_config_commands controls"
19013 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
19015 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
19017 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
19019 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
19021 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
19023 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
19025 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
19027 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
19029 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
19031 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19033 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19035 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19037 ac_config_commands
="$ac_config_commands dlls/user/dde"
19039 ac_config_commands
="$ac_config_commands dlls/user/resources"
19041 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19043 ac_config_commands
="$ac_config_commands files"
19045 ac_config_commands
="$ac_config_commands graphics"
19047 ac_config_commands
="$ac_config_commands include/wine"
19049 ac_config_commands
="$ac_config_commands misc"
19051 ac_config_commands
="$ac_config_commands objects"
19053 ac_config_commands
="$ac_config_commands programs/regedit/tests"
19055 ac_config_commands
="$ac_config_commands windows"
19058 MAKE_RULES
=Make.rules
19061 MAKE_DLL_RULES
=dlls
/Makedll.rules
19064 MAKE_TEST_RULES
=dlls
/Maketest.rules
19067 MAKE_LIB_RULES
=libs
/Makelib.rules
19070 MAKE_PROG_RULES
=programs
/Makeprog.rules
19073 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/wined3d/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/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/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/uxtheme/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/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/winenas/Makefile dlls/winmm/winejack/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/uuid/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"
19076 cat >confcache
<<\_ACEOF
19077 # This file is a shell script that caches the results of configure
19078 # tests run on this system so they can be shared between configure
19079 # scripts and configure runs, see configure's option --config-cache.
19080 # It is not useful on other systems. If it contains results you don't
19081 # want to keep, you may remove or edit it.
19083 # config.status only pays attention to the cache file if you give it
19084 # the --recheck option to rerun configure.
19086 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19087 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19088 # following values.
19092 # The following way of writing the cache mishandles newlines in values,
19093 # but we know of no workaround that is simple, portable, and efficient.
19094 # So, don't put newlines in cache variables' values.
19095 # Ultrix sh set writes to stderr and can't be redirected directly,
19096 # and sets the high bit in the cache file unless we assign to the vars.
19099 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19101 # `set' does not quote correctly, so add quotes (double-quote
19102 # substitution turns \\\\ into \\, and sed turns \\ into \).
19105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19108 # `set' quotes correctly as required by POSIX, so do not add quotes.
19110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19117 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19119 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19121 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19122 if test -w $cache_file; then
19123 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19124 cat confcache
>$cache_file
19126 echo "not updating unwritable cache $cache_file"
19131 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19132 # Let make expand exec_prefix.
19133 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19135 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19136 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19137 # trailing colons and then remove the whole line if VPATH becomes empty
19138 # (actually we leave an empty line to preserve line numbers).
19139 if test "x$srcdir" = x.
; then
19140 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19141 s/:*\$(srcdir):*/:/;
19142 s/:*\${srcdir}:*/:/;
19144 s/^\([^=]*=[ ]*\):*/\1/;
19150 DEFS
=-DHAVE_CONFIG_H
19154 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19155 # 1. Remove the extension, and $U if already installed.
19156 ac_i
=`echo "$ac_i" |
19157 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19159 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19160 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19162 LIBOBJS
=$ac_libobjs
19164 LTLIBOBJS
=$ac_ltlibobjs
19168 : ${CONFIG_STATUS=./config.status}
19169 ac_clean_files_save
=$ac_clean_files
19170 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19171 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19172 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19173 cat >$CONFIG_STATUS <<_ACEOF
19175 # Generated by $as_me.
19176 # Run this file to recreate the current configuration.
19177 # Compiler output produced by configure, useful for debugging
19178 # configure, is in config.log if it exists.
19181 ac_cs_recheck=false
19183 SHELL=\${CONFIG_SHELL-$SHELL}
19186 cat >>$CONFIG_STATUS <<\_ACEOF
19187 ## --------------------- ##
19188 ## M4sh Initialization. ##
19189 ## --------------------- ##
19191 # Be Bourne compatible
19192 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19195 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19196 # is contrary to our usage. Disable this feature.
19197 alias -g '${1+"$@"}'='"$@"'
19198 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19201 DUALCASE
=1; export DUALCASE
# for MKS sh
19203 # Support unset when possible.
19204 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19211 # Work around bugs in pre-3.0 UWIN ksh.
19212 $as_unset ENV MAIL MAILPATH
19219 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19220 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19221 LC_TELEPHONE LC_TIME
19223 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19224 eval $as_var=C
; export $as_var
19230 # Required to use basename.
19231 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19237 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19238 as_basename
=basename
19244 # Name of the executable.
19245 as_me
=`$as_basename "$0" ||
19246 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19247 X"$0" : 'X\(//\)$' \| \
19248 X"$0" : 'X\(/\)$' \| \
19249 . : '\(.\)' 2>/dev/null ||
19251 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19252 /^X\/\(\/\/\)$/{ s//\1/; q; }
19253 /^X\/\(\/\).*/{ s//\1/; q; }
19257 # PATH needs CR, and LINENO needs CR and PATH.
19258 # Avoid depending upon Character Ranges.
19259 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19260 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19261 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19262 as_cr_digits
='0123456789'
19263 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19265 # The user is always right.
19266 if test "${PATH_SEPARATOR+set}" != set; then
19267 echo "#! /bin/sh" >conf$$.sh
19268 echo "exit 0" >>conf$$.sh
19270 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19279 as_lineno_1
=$LINENO
19280 as_lineno_2
=$LINENO
19281 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19282 test "x$as_lineno_1" != "x$as_lineno_2" &&
19283 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19284 # Find who we are. Look in the path if we contain no path at all
19287 *[\\/]* ) as_myself
=$0 ;;
19288 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19289 for as_dir
in $PATH
19292 test -z "$as_dir" && as_dir
=.
19293 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19298 # We did not find ourselves, most probably we were run as `sh COMMAND'
19299 # in which case we are not to be found in the path.
19300 if test "x$as_myself" = x
; then
19303 if test ! -f "$as_myself"; then
19304 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19305 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19306 { (exit 1); exit 1; }; }
19308 case $CONFIG_SHELL in
19310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19311 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19314 test -z "$as_dir" && as_dir
=.
19315 for as_base
in sh bash ksh sh5
; do
19318 if ("$as_dir/$as_base" -c '
19319 as_lineno_1=$LINENO
19320 as_lineno_2=$LINENO
19321 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19322 test "x$as_lineno_1" != "x$as_lineno_2" &&
19323 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19324 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19325 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19326 CONFIG_SHELL
=$as_dir/$as_base
19327 export CONFIG_SHELL
19328 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19336 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19337 # uniformly replaced by the line number. The first 'sed' inserts a
19338 # line-number line before each line; the second 'sed' does the real
19339 # work. The second script uses 'N' to pair each line-number line
19340 # with the numbered line, and appends trailing '-' during
19341 # substitution so that $LINENO is not a special case at line end.
19342 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19343 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19344 sed '=' <$as_myself |
19349 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19352 s,^['$as_cr_digits']*\n,,
19353 ' >$as_me.lineno
&&
19354 chmod +x
$as_me.lineno ||
19355 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19356 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19357 { (exit 1); exit 1; }; }
19359 # Don't try to exec as it changes $[0], causing all sort of problems
19360 # (the dirname of $[0] is not the place where we might find the
19361 # original and so on. Autoconf is especially sensible to this).
19363 # Exit status is that of the last command.
19368 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19369 *c
*,-n*) ECHO_N
= ECHO_C
='
19371 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19372 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19375 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19381 rm -f conf$$ conf$$.exe conf$$.
file
19383 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19384 # We could just check for DJGPP; but this test a) works b) is more generic
19385 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19386 if test -f conf$$.exe
; then
19387 # Don't use ln at all; we don't have any links
19392 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19397 rm -f conf$$ conf$$.exe conf$$.
file
19399 if mkdir
-p .
2>/dev
/null
; then
19402 test -d .
/-p && rmdir .
/-p
19406 as_executable_p
="test -f"
19408 # Sed expression to map a string onto a valid CPP name.
19409 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19411 # Sed expression to map a string onto a valid variable name.
19412 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19416 # We need space, tab and new line, in precisely that order.
19426 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19427 # report actual input values of CONFIG_FILES etc. instead of their
19428 # values after options handling. Logging --version etc. is OK.
19432 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19433 ## Running $as_me. ##
19438 This file was extended by Wine $as_me 20031212, which was
19439 generated by GNU Autoconf 2.58. Invocation command line was
19441 CONFIG_FILES = $CONFIG_FILES
19442 CONFIG_HEADERS = $CONFIG_HEADERS
19443 CONFIG_LINKS = $CONFIG_LINKS
19444 CONFIG_COMMANDS = $CONFIG_COMMANDS
19448 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19452 # Files that config.status was made for.
19453 if test -n "$ac_config_files"; then
19454 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19457 if test -n "$ac_config_headers"; then
19458 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19461 if test -n "$ac_config_links"; then
19462 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19465 if test -n "$ac_config_commands"; then
19466 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19469 cat >>$CONFIG_STATUS <<\_ACEOF
19472 \`$as_me' instantiates files from templates according to the
19473 current configuration.
19475 Usage: $0 [OPTIONS] [FILE]...
19477 -h, --help print this help, then exit
19478 -V, --version print version number, then exit
19479 -q, --quiet do not print progress messages
19480 -d, --debug don't remove temporary files
19481 --recheck update $as_me by reconfiguring in the same conditions
19482 --file=FILE[:TEMPLATE]
19483 instantiate the configuration file FILE
19484 --header=FILE[:TEMPLATE]
19485 instantiate the configuration header FILE
19487 Configuration files:
19490 Configuration headers:
19493 Configuration commands:
19496 Report bugs to <bug-autoconf@gnu.org>."
19499 cat >>$CONFIG_STATUS <<_ACEOF
19501 Wine config.status 20031212
19502 configured by $0, generated by GNU Autoconf 2.58,
19503 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19505 Copyright (C) 2003 Free Software Foundation, Inc.
19506 This config.status script is free software; the Free Software Foundation
19507 gives unlimited permission to copy, distribute and modify it."
19512 cat >>$CONFIG_STATUS <<\_ACEOF
19513 # If no file are specified by the user, then we need to provide default
19514 # value. By we need to know if files were specified by the user.
19520 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19521 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19529 *) # This is not an option, so the user has probably given explicit
19532 ac_need_defaults
=false
;;
19536 # Handling of the options.
19538 cat >>$CONFIG_STATUS <<\_ACEOF
19539 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19541 --version |
--vers* |
-V )
19542 echo "$ac_cs_version"; exit 0 ;;
19544 # Conflict between --help and --header
19545 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19546 Try \`$0 --help' for more information." >&5
19547 echo "$as_me: error: ambiguous option: $1
19548 Try \`$0 --help' for more information." >&2;}
19549 { (exit 1); exit 1; }; };;
19550 --help |
--hel |
-h )
19551 echo "$ac_cs_usage"; exit 0 ;;
19552 --debug |
--d* |
-d )
19554 --file |
--fil |
--fi |
--f )
19556 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19557 ac_need_defaults
=false
;;
19558 --header |
--heade |
--head |
--hea )
19560 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19561 ac_need_defaults
=false
;;
19562 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19563 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19566 # This is an error.
19567 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19568 Try \`$0 --help' for more information." >&5
19569 echo "$as_me: error: unrecognized option: $1
19570 Try \`$0 --help' for more information." >&2;}
19571 { (exit 1); exit 1; }; } ;;
19573 *) ac_config_targets
="$ac_config_targets $1" ;;
19579 ac_configure_extra_args
=
19581 if $ac_cs_silent; then
19583 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19587 cat >>$CONFIG_STATUS <<_ACEOF
19588 if \$ac_cs_recheck; then
19589 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19590 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19599 cat >>$CONFIG_STATUS <<\_ACEOF
19600 for ac_config_target
in $ac_config_targets
19602 case "$ac_config_target" in
19603 # Handling of arguments.
19604 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
19605 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
19606 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
19607 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
19608 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
19609 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19610 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
19611 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
19612 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
19613 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
19614 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
19615 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
19616 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
19617 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
19618 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
19619 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
19620 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
19621 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
19622 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
19623 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
19624 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
19625 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
19626 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
19627 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
19628 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
19629 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
19630 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
19631 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
19632 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
19633 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
19634 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
19635 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
19636 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
19637 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
19638 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
19639 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
19640 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
19641 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
19642 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
19643 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
19644 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
19645 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
19646 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
19647 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
19648 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
19649 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
19650 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
19651 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
19652 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
19653 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
19654 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
19655 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
19656 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
19657 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
19658 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
19659 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
19660 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
19661 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
19662 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
19663 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
19664 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
19665 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
19666 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
19667 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
19668 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
19669 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
19670 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
19671 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
19672 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
19673 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
19674 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
19675 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
19676 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
19677 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
19678 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
19679 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
19680 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
19681 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
19682 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
19683 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
19684 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
19685 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
19686 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
19687 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
19688 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
19689 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
19690 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
19691 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
19692 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
19693 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
19694 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
19695 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
19696 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
19697 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
19698 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
19699 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
19700 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
19701 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
19702 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
19703 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
19704 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
19705 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
19706 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
19707 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
19708 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
19709 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
19710 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
19711 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
19712 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
19713 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
19714 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
19715 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
19716 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
19717 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
19718 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
19719 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
19720 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
19721 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
19722 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
19723 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
19724 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
19725 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
19726 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
19727 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
19728 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
19729 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
19730 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
19731 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
19732 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
19733 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
19734 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
19735 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
19736 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
19737 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
19738 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
19739 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
19740 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
19741 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
19742 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
19743 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
19744 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
19745 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
19746 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
19747 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
19748 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
19749 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
19750 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
19751 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
19752 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
19753 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
19754 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
19755 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
19756 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
19757 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
19758 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
19759 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
19760 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
19761 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19762 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
19763 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
19764 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
19765 "libs/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/uuid/Makefile" ;;
19766 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
19767 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
19768 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
19769 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
19770 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
19771 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
19772 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
19773 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
19774 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
19775 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
19776 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
19777 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
19778 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
19779 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
19780 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
19781 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
19782 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
19783 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
19784 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
19785 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
19786 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
19787 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
19788 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
19789 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
19790 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
19791 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
19792 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
19793 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
19794 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
19795 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
19796 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
19797 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
19798 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
19799 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19800 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
19801 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
19802 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
19803 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
19804 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
19805 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
19806 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
19807 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
19808 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
19809 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
19810 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
19811 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
19812 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
19813 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
19814 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
19815 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
19816 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
19817 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
19818 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
19819 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
19820 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
19821 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
19822 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
19823 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
19824 "graphics" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics" ;;
19825 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
19826 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
19827 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
19828 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
19829 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
19830 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19831 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19832 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19833 { (exit 1); exit 1; }; };;
19837 # If the user did not use the arguments to specify the items to instantiate,
19838 # then the envvar interface is used. Set only those that are not.
19839 # We use the long form for the default assignment because of an extremely
19840 # bizarre bug on SunOS 4.1.3.
19841 if $ac_need_defaults; then
19842 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19843 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19844 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19847 # Have a temporary directory for convenience. Make it in the build tree
19848 # simply because there is no reason to put it here, and in addition,
19849 # creating and moving files from /tmp can sometimes cause problems.
19850 # Create a temporary directory, and hook for its removal unless debugging.
19853 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19854 trap '{ (exit 1); exit 1; }' 1 2 13 15
19857 # Create a (secure) tmp directory for tmp files.
19860 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19861 test -n "$tmp" && test -d "$tmp"
19864 tmp
=.
/confstat$$
-$RANDOM
19865 (umask 077 && mkdir
$tmp)
19868 echo "$me: cannot create a temporary directory in ." >&2
19869 { (exit 1); exit 1; }
19874 cat >>$CONFIG_STATUS <<_ACEOF
19877 # CONFIG_FILES section.
19880 # No need to generate the scripts if there are no CONFIG_FILES.
19881 # This happens for instance when ./config.status config.h
19882 if test -n "\$CONFIG_FILES"; then
19883 # Protect against being on the right side of a sed subst in config.status.
19884 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19885 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19886 s,@SHELL@,$SHELL,;t t
19887 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19888 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19889 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19890 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19891 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19892 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19893 s,@exec_prefix@,$exec_prefix,;t t
19894 s,@prefix@,$prefix,;t t
19895 s,@program_transform_name@,$program_transform_name,;t t
19896 s,@bindir@,$bindir,;t t
19897 s,@sbindir@,$sbindir,;t t
19898 s,@libexecdir@,$libexecdir,;t t
19899 s,@datadir@,$datadir,;t t
19900 s,@sysconfdir@,$sysconfdir,;t t
19901 s,@sharedstatedir@,$sharedstatedir,;t t
19902 s,@localstatedir@,$localstatedir,;t t
19903 s,@libdir@,$libdir,;t t
19904 s,@includedir@,$includedir,;t t
19905 s,@oldincludedir@,$oldincludedir,;t t
19906 s,@infodir@,$infodir,;t t
19907 s,@mandir@,$mandir,;t t
19908 s,@build_alias@,$build_alias,;t t
19909 s,@host_alias@,$host_alias,;t t
19910 s,@target_alias@,$target_alias,;t t
19911 s,@DEFS@,$DEFS,;t t
19912 s,@ECHO_C@,$ECHO_C,;t t
19913 s,@ECHO_N@,$ECHO_N,;t t
19914 s,@ECHO_T@,$ECHO_T,;t t
19915 s,@LIBS@,$LIBS,;t t
19916 s,@WIN16_FILES@,$WIN16_FILES,;t t
19917 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
19918 s,@build@,$build,;t t
19919 s,@build_cpu@,$build_cpu,;t t
19920 s,@build_vendor@,$build_vendor,;t t
19921 s,@build_os@,$build_os,;t t
19922 s,@host@,$host,;t t
19923 s,@host_cpu@,$host_cpu,;t t
19924 s,@host_vendor@,$host_vendor,;t t
19925 s,@host_os@,$host_os,;t t
19926 s,@SET_MAKE@,$SET_MAKE,;t t
19928 s,@CFLAGS@,$CFLAGS,;t t
19929 s,@LDFLAGS@,$LDFLAGS,;t t
19930 s,@CPPFLAGS@,$CPPFLAGS,;t t
19931 s,@ac_ct_CC@,$ac_ct_CC,;t t
19932 s,@EXEEXT@,$EXEEXT,;t t
19933 s,@OBJEXT@,$OBJEXT,;t t
19935 s,@TOOLSDIR@,$TOOLSDIR,;t t
19936 s,@X_CFLAGS@,$X_CFLAGS,;t t
19937 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19938 s,@X_LIBS@,$X_LIBS,;t t
19939 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19940 s,@YACC@,$YACC,;t t
19942 s,@LEXLIB@,$LEXLIB,;t t
19943 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
19944 s,@XYACC@,$XYACC,;t t
19945 s,@XLEX@,$XLEX,;t t
19947 s,@ac_ct_AS@,$ac_ct_AS,;t t
19949 s,@ac_ct_LD@,$ac_ct_LD,;t t
19951 s,@ac_ct_AR@,$ac_ct_AR,;t t
19952 s,@RANLIB@,$RANLIB,;t t
19953 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19954 s,@STRIP@,$STRIP,;t t
19955 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19956 s,@WINDRES@,$WINDRES,;t t
19957 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
19958 s,@LN_S@,$LN_S,;t t
19960 s,@LDCONFIG@,$LDCONFIG,;t t
19961 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19962 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19963 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19964 s,@LINT@,$LINT,;t t
19965 s,@LINTFLAGS@,$LINTFLAGS,;t t
19966 s,@DB2HTML@,$DB2HTML,;t t
19967 s,@DB2PDF@,$DB2PDF,;t t
19968 s,@DB2PS@,$DB2PS,;t t
19969 s,@DB2TXT@,$DB2TXT,;t t
19970 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
19971 s,@JPEGLIB@,$JPEGLIB,;t t
19972 s,@EGREP@,$EGREP,;t t
19973 s,@GIFLIB@,$GIFLIB,;t t
19974 s,@XLIB@,$XLIB,;t t
19975 s,@XFILES@,$XFILES,;t t
19976 s,@OPENGLFILES@,$OPENGLFILES,;t t
19977 s,@GLU32FILES@,$GLU32FILES,;t t
19978 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
19979 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
19980 s,@GLUT32FILES@,$GLUT32FILES,;t t
19981 s,@NASLIBS@,$NASLIBS,;t t
19982 s,@CURSESLIBS@,$CURSESLIBS,;t t
19983 s,@sane_devel@,$sane_devel,;t t
19984 s,@SANELIBS@,$SANELIBS,;t t
19985 s,@SANEINCL@,$SANEINCL,;t t
19986 s,@ICULIBS@,$ICULIBS,;t t
19987 s,@ft_devel@,$ft_devel,;t t
19988 s,@ft_devel2@,$ft_devel2,;t t
19989 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
19990 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
19991 s,@ARTSLIBS@,$ARTSLIBS,;t t
19992 s,@ARTSINCL@,$ARTSINCL,;t t
19993 s,@ALSALIBS@,$ALSALIBS,;t t
19994 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
19995 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
19996 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
19997 s,@DLLEXT@,$DLLEXT,;t t
19998 s,@DLLFLAGS@,$DLLFLAGS,;t t
19999 s,@DLLIBS@,$DLLIBS,;t t
20000 s,@LDSHARED@,$LDSHARED,;t t
20001 s,@LDDLL@,$LDDLL,;t t
20002 s,@LIBEXT@,$LIBEXT,;t t
20003 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20004 s,@DLLTOOL@,$DLLTOOL,;t t
20005 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20006 s,@DLLWRAP@,$DLLWRAP,;t t
20007 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20008 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20009 s,@CROSSTEST@,$CROSSTEST,;t t
20010 s,@CROSSCC@,$CROSSCC,;t t
20011 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20012 s,@LDPATH@,$LDPATH,;t t
20013 s,@CRTLIBS@,$CRTLIBS,;t t
20014 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20015 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20017 s,@ALLOCA@,$ALLOCA,;t t
20018 s,@LIBOBJS@,$LIBOBJS,;t t
20019 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20020 /@MAKE_RULES@/r $MAKE_RULES
20021 s,@MAKE_RULES@,,;t t
20022 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20023 s,@MAKE_DLL_RULES@,,;t t
20024 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20025 s,@MAKE_TEST_RULES@,,;t t
20026 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20027 s,@MAKE_LIB_RULES@,,;t t
20028 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20029 s,@MAKE_PROG_RULES@,,;t t
20034 cat >>$CONFIG_STATUS <<\_ACEOF
20035 # Split the substitutions into bite-sized pieces for seds with
20036 # small command number limits, like on Digital OSF/1 and HP-UX.
20037 ac_max_sed_lines
=48
20038 ac_sed_frag
=1 # Number of current file.
20039 ac_beg
=1 # First line for current file.
20040 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20043 while $ac_more_lines; do
20044 if test $ac_beg -gt 1; then
20045 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20047 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20049 if test ! -s $tmp/subs.frag
; then
20050 ac_more_lines
=false
20052 # The purpose of the label and of the branching condition is to
20053 # speed up the sed processing (if there are no `@' at all, there
20054 # is no need to browse any of the substitutions).
20055 # These are the two extra sed commands mentioned above.
20057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20058 if test -z "$ac_sed_cmds"; then
20059 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20061 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20063 ac_sed_frag
=`expr $ac_sed_frag + 1`
20065 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20068 if test -z "$ac_sed_cmds"; then
20071 fi # test -n "$CONFIG_FILES"
20074 cat >>$CONFIG_STATUS <<\_ACEOF
20075 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20076 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20078 - |
*:- |
*:-:* ) # input from stdin
20080 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20081 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20082 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20083 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20084 * ) ac_file_in
=$ac_file.
in ;;
20087 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20088 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20090 X"$ac_file" : 'X\(//\)[^/]' \| \
20091 X"$ac_file" : 'X\(//\)$' \| \
20092 X"$ac_file" : 'X\(/\)' \| \
20093 . : '\(.\)' 2>/dev/null ||
20095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20097 /^X\(\/\/\)$/{ s//\1/; q; }
20098 /^X\(\/\).*/{ s//\1/; q; }
20100 { if $as_mkdir_p; then
20105 while test ! -d "$as_dir"; do
20106 as_dirs
="$as_dir $as_dirs"
20107 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20108 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20109 X"$as_dir" : 'X\(//\)[^/]' \| \
20110 X"$as_dir" : 'X\(//\)$' \| \
20111 X"$as_dir" : 'X\(/\)' \| \
20112 . : '\(.\)' 2>/dev/null ||
20114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20115 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20116 /^X\(\/\/\)$/{ s//\1/; q; }
20117 /^X\(\/\).*/{ s//\1/; q; }
20120 test ! -n "$as_dirs" || mkdir
$as_dirs
20121 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20122 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20123 { (exit 1); exit 1; }; }; }
20127 if test "$ac_dir" != .
; then
20128 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20129 # A "../" for each directory in $ac_dir_suffix.
20130 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20132 ac_dir_suffix
= ac_top_builddir
=
20136 .
) # No --srcdir option. We are building in place.
20138 if test -z "$ac_top_builddir"; then
20141 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20143 [\\/]* | ?
:[\\/]* ) # Absolute path.
20144 ac_srcdir
=$srcdir$ac_dir_suffix;
20145 ac_top_srcdir
=$srcdir ;;
20146 *) # Relative path.
20147 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20148 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20151 # Do not use `cd foo && pwd` to compute absolute paths, because
20152 # the directories may not exist.
20154 .
) ac_abs_builddir
="$ac_dir";;
20157 .
) ac_abs_builddir
=`pwd`;;
20158 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20159 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20162 case $ac_abs_builddir in
20163 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20165 case ${ac_top_builddir}.
in
20166 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20167 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20168 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20171 case $ac_abs_builddir in
20172 .
) ac_abs_srcdir
=$ac_srcdir;;
20175 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20176 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20177 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20180 case $ac_abs_builddir in
20181 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20183 case $ac_top_srcdir in
20184 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20185 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20186 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20192 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20193 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20196 # Let's still pretend it is `configure' which instantiates (i.e., don't
20197 # use $as_me), people would be surprised to read:
20198 # /* config.h. Generated by config.status. */
20199 if test x
"$ac_file" = x-
; then
20202 configure_input
="$ac_file. "
20204 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20205 sed 's,.*/,,'` by configure."
20207 # First look for the input files in the build tree, otherwise in the
20209 ac_file_inputs
=`IFS=:
20210 for f in $ac_file_in; do
20212 -) echo $tmp/stdin ;;
20214 # Absolute (can't be DOS-style, as IFS=:)
20215 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20216 echo "$as_me: error: cannot find input file: $f" >&2;}
20217 { (exit 1); exit 1; }; }
20220 if test -f "$f"; then
20223 elif test -f "$srcdir/$f"; then
20228 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20229 echo "$as_me: error: cannot find input file: $f" >&2;}
20230 { (exit 1); exit 1; }; }
20233 done` ||
{ (exit 1); exit 1; }
20235 if test x
"$ac_file" != x-
; then
20236 { echo "$as_me:$LINENO: creating $ac_file" >&5
20237 echo "$as_me: creating $ac_file" >&6;}
20241 cat >>$CONFIG_STATUS <<_ACEOF
20245 cat >>$CONFIG_STATUS <<\_ACEOF
20247 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20248 s
,@configure_input@
,$configure_input,;t t
20249 s
,@srcdir@
,$ac_srcdir,;t t
20250 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20251 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20252 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20253 s
,@builddir@
,$ac_builddir,;t t
20254 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20255 s
,@top_builddir@
,$ac_top_builddir,;t t
20256 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20257 s
,@INSTALL@
,$ac_INSTALL,;t t
20258 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20260 if test x"$ac_file" != x-; then
20261 mv $tmp/out $ac_file
20269 cat >>$CONFIG_STATUS <<\_ACEOF
20272 # CONFIG_HEADER section.
20275 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20276 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20278 # ac_d sets the value in "#define NAME VALUE" lines.
20279 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20280 ac_dB
='[ ].*$,\1#\2'
20283 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20284 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20285 ac_uB
='$,\1#\2define\3'
20289 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20290 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20292 - |
*:- |
*:-:* ) # input from stdin
20294 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20295 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20296 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20297 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20298 * ) ac_file_in
=$ac_file.
in ;;
20301 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20302 echo "$as_me: creating $ac_file" >&6;}
20304 # First look for the input files in the build tree, otherwise in the
20306 ac_file_inputs
=`IFS=:
20307 for f in $ac_file_in; do
20309 -) echo $tmp/stdin ;;
20311 # Absolute (can't be DOS-style, as IFS=:)
20312 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20313 echo "$as_me: error: cannot find input file: $f" >&2;}
20314 { (exit 1); exit 1; }; }
20315 # Do quote $f, to prevent DOS paths from being IFS'd.
20318 if test -f "$f"; then
20321 elif test -f "$srcdir/$f"; then
20326 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20327 echo "$as_me: error: cannot find input file: $f" >&2;}
20328 { (exit 1); exit 1; }; }
20331 done` ||
{ (exit 1); exit 1; }
20332 # Remove the trailing spaces.
20333 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20337 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20338 # `conftest.undefs', that substitutes the proper values into
20339 # config.h.in to produce config.h. The first handles `#define'
20340 # templates, and the second `#undef' templates.
20341 # And first: Protect against being on the right side of a sed subst in
20342 # config.status. Protect against being in an unquoted here document
20343 # in config.status.
20344 rm -f conftest.defines conftest.undefs
20345 # Using a here document instead of a string reduces the quoting nightmare.
20346 # Putting comments in sed scripts is not portable.
20348 # `end' is used to avoid that the second main sed command (meant for
20349 # 0-ary CPP macros) applies to n-ary macro definitions.
20350 # See the Autoconf documentation for `clear'.
20351 cat >confdef2sed.
sed <<\_ACEOF
20356 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20358 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20361 # If some macros were called several times there might be several times
20362 # the same #defines, which is useless. Nevertheless, we may not want to
20363 # sort them, since we want the *last* AC-DEFINE to be honored.
20364 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20365 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20366 rm -f confdef2sed.sed
20368 # This sed command replaces #undef with comments. This is necessary, for
20369 # example, in the case of _POSIX_SOURCE, which is predefined and required
20370 # on some systems where configure will not decide to define it.
20371 cat >>conftest.undefs <<\_ACEOF
20372 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20375 # Break up conftest.defines because some shells have a limit on the size
20376 # of here documents, and old seds have small limits too (100 cmds).
20377 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20378 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20379 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20380 echo ' :' >>$CONFIG_STATUS
20381 rm -f conftest.tail
20382 while grep . conftest.defines >/dev/null
20384 # Write a limited-size here document to $tmp/defines.sed.
20385 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20386 # Speed up: don't consider the non `#define' lines.
20387 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20388 # Work around the forget-to-reset-the-flag bug.
20389 echo 't clr' >>$CONFIG_STATUS
20390 echo ': clr' >>$CONFIG_STATUS
20391 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20393 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20395 mv $tmp/out $tmp/in
20397 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20398 rm -f conftest.defines
20399 mv conftest.
tail conftest.defines
20401 rm -f conftest.defines
20402 echo ' fi # grep' >>$CONFIG_STATUS
20403 echo >>$CONFIG_STATUS
20405 # Break up conftest.undefs because some shells have a limit on the size
20406 # of here documents, and old seds have small limits too (100 cmds).
20407 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20408 rm -f conftest.
tail
20409 while grep . conftest.undefs
>/dev
/null
20411 # Write a limited-size here document to $tmp/undefs.sed.
20412 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20413 # Speed up: don't consider the non
`#undef'
20414 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20415 # Work around the forget-to-reset-the-flag bug.
20416 echo 't clr' >>$CONFIG_STATUS
20417 echo ': clr' >>$CONFIG_STATUS
20418 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20420 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20422 mv $tmp/out $tmp/in
20424 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20425 rm -f conftest.undefs
20426 mv conftest.tail conftest.undefs
20428 rm -f conftest.undefs
20430 cat >>$CONFIG_STATUS <<\_ACEOF
20431 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20432 # use $as_me), people would be surprised to read:
20433 # /* config.h. Generated by config.status. */
20434 if test x
"$ac_file" = x-
; then
20435 echo "/* Generated by configure. */" >$tmp/config.h
20437 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20439 cat $tmp/in >>$tmp/config.h
20441 if test x
"$ac_file" != x-
; then
20442 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20443 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20444 echo "$as_me: $ac_file is unchanged" >&6;}
20446 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20447 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20448 X"$ac_file" : 'X\(//\)[^/]' \| \
20449 X"$ac_file" : 'X\(//\)$' \| \
20450 X"$ac_file" : 'X\(/\)' \| \
20451 . : '\(.\)' 2>/dev/null ||
20453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20455 /^X\(\/\/\)$/{ s//\1/; q; }
20456 /^X\(\/\).*/{ s//\1/; q; }
20458 { if $as_mkdir_p; then
20463 while test ! -d "$as_dir"; do
20464 as_dirs
="$as_dir $as_dirs"
20465 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20466 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20467 X"$as_dir" : 'X\(//\)[^/]' \| \
20468 X"$as_dir" : 'X\(//\)$' \| \
20469 X"$as_dir" : 'X\(/\)' \| \
20470 . : '\(.\)' 2>/dev/null ||
20472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20474 /^X\(\/\/\)$/{ s//\1/; q; }
20475 /^X\(\/\).*/{ s//\1/; q; }
20478 test ! -n "$as_dirs" || mkdir
$as_dirs
20479 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20480 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20481 { (exit 1); exit 1; }; }; }
20484 mv $tmp/config.h
$ac_file
20488 rm -f $tmp/config.h
20492 cat >>$CONFIG_STATUS <<\_ACEOF
20495 # CONFIG_COMMANDS section.
20497 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20498 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20499 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20500 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20501 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20502 X"$ac_dest" : 'X\(//\)[^/]' \| \
20503 X"$ac_dest" : 'X\(//\)$' \| \
20504 X"$ac_dest" : 'X\(/\)' \| \
20505 . : '\(.\)' 2>/dev/null ||
20507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20509 /^X\(\/\/\)$/{ s//\1/; q; }
20510 /^X\(\/\).*/{ s//\1/; q; }
20512 { if $as_mkdir_p; then
20517 while test ! -d "$as_dir"; do
20518 as_dirs
="$as_dir $as_dirs"
20519 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20521 X"$as_dir" : 'X\(//\)[^/]' \| \
20522 X"$as_dir" : 'X\(//\)$' \| \
20523 X"$as_dir" : 'X\(/\)' \| \
20524 . : '\(.\)' 2>/dev/null ||
20526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20527 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20528 /^X\(\/\/\)$/{ s//\1/; q; }
20529 /^X\(\/\).*/{ s//\1/; q; }
20532 test ! -n "$as_dirs" || mkdir
$as_dirs
20533 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20534 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20535 { (exit 1); exit 1; }; }; }
20539 if test "$ac_dir" != .
; then
20540 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20541 # A "../" for each directory in $ac_dir_suffix.
20542 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20544 ac_dir_suffix
= ac_top_builddir
=
20548 .
) # No --srcdir option. We are building in place.
20550 if test -z "$ac_top_builddir"; then
20553 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20555 [\\/]* | ?
:[\\/]* ) # Absolute path.
20556 ac_srcdir
=$srcdir$ac_dir_suffix;
20557 ac_top_srcdir
=$srcdir ;;
20558 *) # Relative path.
20559 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20560 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20563 # Do not use `cd foo && pwd` to compute absolute paths, because
20564 # the directories may not exist.
20566 .
) ac_abs_builddir
="$ac_dir";;
20569 .
) ac_abs_builddir
=`pwd`;;
20570 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20571 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20574 case $ac_abs_builddir in
20575 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20577 case ${ac_top_builddir}.
in
20578 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20579 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20580 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20583 case $ac_abs_builddir in
20584 .
) ac_abs_srcdir
=$ac_srcdir;;
20587 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20588 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20589 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20592 case $ac_abs_builddir in
20593 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20595 case $ac_top_srcdir in
20596 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20597 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20598 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20603 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20604 echo "$as_me: executing $ac_dest commands" >&6;}
20606 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
20607 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
20608 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
20609 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
20610 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
20611 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
20612 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
20613 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
20614 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
20615 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
20616 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
20617 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
20618 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
20619 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
20620 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
20621 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
20622 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
20623 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
20624 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
20625 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
20626 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
20627 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
20628 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
20629 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
20630 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
20631 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
20632 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
20633 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
20634 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
20635 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
20636 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
20637 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
20638 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
20639 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
20640 graphics
) test -d "graphics" ||
({ echo "$as_me:$LINENO: creating graphics" >&5
20641 echo "$as_me: creating graphics" >&6;} && mkdir
"graphics") ;;
20642 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
20643 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
20644 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
20645 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
20646 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
20647 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
20648 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
20649 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
20650 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
20651 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
20656 cat >>$CONFIG_STATUS <<\_ACEOF
20658 { (exit 0); exit 0; }
20660 chmod +x
$CONFIG_STATUS
20661 ac_clean_files
=$ac_clean_files_save
20664 # configure is writing to config.log, and then calls config.status.
20665 # config.status does its own redirection, appending to config.log.
20666 # Unfortunately, on DOS this fails, as config.log is still kept open
20667 # by configure, so config.status won't be able to write to it; its
20668 # output is simply discarded. So we exec the FD to /dev/null,
20669 # effectively closing config.log, so it can be properly (re)opened and
20670 # appended to by config.status. When coming back to configure, we
20671 # need to make the FD available again.
20672 if test "$no_create" != yes; then
20674 ac_config_status_args
=
20675 test "$silent" = yes &&
20676 ac_config_status_args
="$ac_config_status_args --quiet"
20678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20681 # would make configure fail if this is the last instruction.
20682 $ac_cs_success ||
{ (exit 1); exit 1; }
20686 if test "$have_x" = "no"
20689 echo "*** Warning: X development files not found. Wine will be built without"
20690 echo "*** X support, which currently does not work, and would probably not be"
20691 echo "*** what you want anyway. You will need to install devel packages of"
20692 echo "*** Xlib/Xfree86 at the very least."
20695 if test "$wine_cv_opengl_version_OK" = "no"
20698 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
20699 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
20702 if test "$wine_cv_msg_freetype" = "yes"
20705 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
20706 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
20707 echo "*** freetype-devel package (or its equivalent on your distribution) to"
20708 echo "*** enable Wine to use TrueType fonts."
20712 echo "Configure finished. Do 'make depend && make' to compile Wine."