2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050211.
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
='20050211'
273 PACKAGE_STRING
='Wine 20050211'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20050211 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive
) echo "Configuration of Wine 20050211:";;
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
866 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
877 Some influential environment variables:
878 CC C compiler command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
881 nonstandard directory <lib dir>
882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
883 headers in a nonstandard directory <include dir>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
888 Use these variables to override the choices made by `configure' or to
help
889 it to
find libraries and programs with nonstandard names
/locations.
891 Report bugs to
<wine-devel@winehq.org
>.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
899 test -d $ac_dir ||
continue
902 if test "$ac_dir" != .
; then
903 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix
= ac_top_builddir
=
911 .
) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?
:[\\/]* ) # Absolute path.
919 ac_srcdir
=$srcdir$ac_dir_suffix;
920 ac_top_srcdir
=$srcdir ;;
922 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .
) ac_abs_builddir
="$ac_dir";;
932 .
) ac_abs_builddir
=`pwd`;;
933 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
934 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
940 case ${ac_top_builddir}.
in
941 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
942 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
943 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
946 case $ac_abs_builddir in
947 .
) ac_abs_srcdir
=$ac_srcdir;;
950 .
) ac_abs_srcdir
=$ac_abs_builddir;;
951 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
952 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
960 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu
; then
969 $SHELL $ac_srcdir/configure.gnu
--help=recursive
970 elif test -f $ac_srcdir/configure
; then
972 $SHELL $ac_srcdir/configure
--help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.
in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
987 Wine configure
20050211
988 generated by GNU Autoconf
2.59
990 Copyright
(C
) 2003 Free Software Foundation
, Inc.
991 This configure
script is free software
; the Free Software Foundation
992 gives unlimited permission to copy
, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20050211, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir
=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next
=false
1067 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true
; then
1079 ac_must_keep_next
=false
# Got value, back to normal.
1082 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1083 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1084 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1085 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next
=true
;;
1093 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1101 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal
in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest
* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h
<<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h
<<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h
<<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h
<<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h
<<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE
; then
1223 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file
in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1245 *) . .
/$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted
=false
1257 for ac_var
in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1260 eval ac_new_set
=\
$ac_env_${ac_var}_set
1261 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val
="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted
=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted
=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted
=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg
=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp
='$CPP $CPPFLAGS'
1307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1338 ac_config_headers
="$ac_config_headers include/config.h"
1341 for ac_dir
in tools
$srcdir/tools
; do
1342 if test -f $ac_dir/install-sh
; then
1344 ac_install_sh
="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh
; then
1348 ac_install_sh
="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool
; then
1352 ac_install_sh
="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval
="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval
="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval
="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval
="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval
="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval
="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval
="$with_wine_tools"
1407 WIN16_FILES
="\$(WIN16_FILES)"
1409 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1419 if test "x$enable_debug" = "xno"
1421 DLLDEFS
="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1425 DLLDEFS
="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 ac_cv_build_alias
=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias
=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1456 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_host_alias
=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias
=$ac_cv_build_alias
1469 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1478 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 if test "x$enable_win64" != "xyes"
1487 test -n "$CC" || CC
="gcc -m32"
1488 test -n "$LD" || LD
="ld -m elf_i386"
1489 test -n "$AS" || AS
="as --32"
1495 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1496 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1497 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1498 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 cat >conftest.
make <<\_ACEOF
1503 @
echo 'ac_maketemp="$(MAKE)"'
1505 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1506 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1507 if test -n "$ac_maketemp"; then
1508 eval ac_cv_prog_make_
${ac_make}_set
=yes
1510 eval ac_cv_prog_make_
${ac_make}_set
=no
1514 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1515 echo "$as_me:$LINENO: result: yes" >&5
1516 echo "${ECHO_T}yes" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1521 SET_MAKE
="MAKE=${MAKE-make}"
1525 ac_cpp
='$CPP $CPPFLAGS'
1526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1529 if test -n "$ac_tool_prefix"; then
1530 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1531 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1532 echo "$as_me:$LINENO: checking for $ac_word" >&5
1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534 if test "${ac_cv_prog_CC+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 if test -n "$CC"; then
1538 ac_cv_prog_CC
="$CC" # Let the user override the test.
1540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1544 test -z "$as_dir" && as_dir
=.
1545 for ac_exec_ext
in '' $ac_executable_extensions; do
1546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1557 if test -n "$CC"; then
1558 echo "$as_me:$LINENO: result: $CC" >&5
1559 echo "${ECHO_T}$CC" >&6
1561 echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1566 if test -z "$ac_cv_prog_CC"; then
1568 # Extract the first word of "gcc", so it can be a program name with args.
1569 set dummy gcc
; ac_word
=$2
1570 echo "$as_me:$LINENO: checking for $ac_word" >&5
1571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 if test -n "$ac_ct_CC"; then
1576 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1582 test -z "$as_dir" && as_dir
=.
1583 for ac_exec_ext
in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585 ac_cv_prog_ac_ct_CC
="gcc"
1586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1595 if test -n "$ac_ct_CC"; then
1596 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1597 echo "${ECHO_T}$ac_ct_CC" >&6
1599 echo "$as_me:$LINENO: result: no" >&5
1600 echo "${ECHO_T}no" >&6
1608 if test -z "$CC"; then
1609 if test -n "$ac_tool_prefix"; then
1610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1611 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1612 echo "$as_me:$LINENO: checking for $ac_word" >&5
1613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1614 if test "${ac_cv_prog_CC+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 if test -n "$CC"; then
1618 ac_cv_prog_CC
="$CC" # Let the user override the test.
1620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1624 test -z "$as_dir" && as_dir
=.
1625 for ac_exec_ext
in '' $ac_executable_extensions; do
1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1627 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1637 if test -n "$CC"; then
1638 echo "$as_me:$LINENO: result: $CC" >&5
1639 echo "${ECHO_T}$CC" >&6
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1646 if test -z "$ac_cv_prog_CC"; then
1648 # Extract the first word of "cc", so it can be a program name with args.
1649 set dummy cc
; ac_word
=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$ac_ct_CC"; then
1656 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir
=.
1663 for ac_exec_ext
in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_ac_ct_CC
="cc"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1675 if test -n "$ac_ct_CC"; then
1676 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1677 echo "${ECHO_T}$ac_ct_CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1689 if test -z "$CC"; then
1690 # Extract the first word of "cc", so it can be a program name with args.
1691 set dummy cc
; ac_word
=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$CC"; then
1698 ac_cv_prog_CC
="$CC" # Let the user override the test.
1701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir
=.
1706 for ac_exec_ext
in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1709 ac_prog_rejected
=yes
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 if test $ac_prog_rejected = yes; then
1720 # We found a bogon in the path, so make sure we never use it.
1721 set dummy
$ac_cv_prog_CC
1723 if test $# != 0; then
1724 # We chose a different compiler from the bogus one.
1725 # However, it has the same basename, so the bogon will be chosen
1726 # first if we set CC to just the basename; use the full file name.
1728 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1734 if test -n "$CC"; then
1735 echo "$as_me:$LINENO: result: $CC" >&5
1736 echo "${ECHO_T}$CC" >&6
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1743 if test -z "$CC"; then
1744 if test -n "$ac_tool_prefix"; then
1747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1748 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_CC+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 if test -n "$CC"; then
1755 ac_cv_prog_CC
="$CC" # Let the user override the test.
1757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir
=.
1762 for ac_exec_ext
in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 if test -n "$CC"; then
1775 echo "$as_me:$LINENO: result: $CC" >&5
1776 echo "${ECHO_T}$CC" >&6
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$CC" && break
1785 if test -z "$CC"; then
1789 # Extract the first word of "$ac_prog", so it can be a program name with args.
1790 set dummy
$ac_prog; ac_word
=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 if test -n "$ac_ct_CC"; then
1797 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir
=.
1804 for ac_exec_ext
in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806 ac_cv_prog_ac_ct_CC
="$ac_prog"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1824 test -n "$ac_ct_CC" && break
1833 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1834 See \`config.log' for more details." >&5
1835 echo "$as_me: error: no acceptable C compiler found in \$PATH
1836 See \`config.log' for more details." >&2;}
1837 { (exit 1); exit 1; }; }
1839 # Provide some information about the compiler.
1840 echo "$as_me:$LINENO:" \
1841 "checking for C compiler version" >&5
1842 ac_compiler
=`set X $ac_compile; echo $2`
1843 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1844 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }
1848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1849 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }
1853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1854 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857 (exit $ac_status); }
1859 cat >conftest.
$ac_ext <<_ACEOF
1862 cat confdefs.h
>>conftest.
$ac_ext
1863 cat >>conftest.
$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1874 ac_clean_files_save
=$ac_clean_files
1875 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1876 # Try to create an executable without -o first, disregard a.out.
1877 # It will help us diagnose broken compilers, and finding out an intuition
1879 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1880 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1881 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1883 (eval $ac_link_default) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # Find the output, starting from the most likely. This scheme is
1888 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1891 # Be careful to initialize this variable, since it used to be cached.
1892 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1894 # b.out is created by i960 compilers.
1895 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1897 test -f "$ac_file" ||
continue
1899 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1902 # This is the source file.
1905 # We found the default executable, but exeext='' is most
1909 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1910 # FIXME: I believe we export ac_cv_exeext for Libtool,
1911 # but it would be cool to find out if it's true. Does anybody
1912 # maintain Libtool? --akim.
1920 echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.
$ac_ext >&5
1923 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1924 See \`config.log' for more details." >&5
1925 echo "$as_me: error: C compiler cannot create executables
1926 See \`config.log' for more details." >&2;}
1927 { (exit 77); exit 77; }; }
1930 ac_exeext
=$ac_cv_exeext
1931 echo "$as_me:$LINENO: result: $ac_file" >&5
1932 echo "${ECHO_T}$ac_file" >&6
1934 # Check the compiler produces executables we can run. If not, either
1935 # the compiler is broken, or we cross compile.
1936 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1939 # If not cross compiling, check that we can run a simple program.
1940 if test "$cross_compiling" != yes; then
1941 if { ac_try
='./$ac_file'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; }; then
1949 if test "$cross_compiling" = maybe
; then
1952 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1953 If you meant to cross compile, use \`--host'.
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot run C compiled programs.
1956 If you meant to cross compile, use \`--host'.
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1962 echo "$as_me:$LINENO: result: yes" >&5
1963 echo "${ECHO_T}yes" >&6
1965 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1966 ac_clean_files
=$ac_clean_files_save
1967 # Check the compiler produces executables we can run. If not, either
1968 # the compiler is broken, or we cross compile.
1969 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1970 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1971 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1972 echo "${ECHO_T}$cross_compiling" >&6
1974 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1975 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1977 (eval $ac_link) 2>&5
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); }; then
1981 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1982 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1983 # work properly (i.e., refer to `conftest.exe'), while it won't with
1985 for ac_file
in conftest.exe conftest conftest.
*; do
1986 test -f "$ac_file" ||
continue
1988 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1989 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1996 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1997 See \`config.log' for more details." >&5
1998 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1999 See \`config.log' for more details." >&2;}
2000 { (exit 1); exit 1; }; }
2003 rm -f conftest
$ac_cv_exeext
2004 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2005 echo "${ECHO_T}$ac_cv_exeext" >&6
2007 rm -f conftest.
$ac_ext
2008 EXEEXT
=$ac_cv_exeext
2010 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2011 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2012 if test "${ac_cv_objext+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.
$ac_ext <<_ACEOF
2018 cat confdefs.h
>>conftest.
$ac_ext
2019 cat >>conftest.
$ac_ext <<_ACEOF
2020 /* end confdefs.h. */
2030 rm -f conftest.o conftest.obj
2031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2032 (eval $ac_compile) 2>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; then
2036 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2038 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2039 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2044 echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.
$ac_ext >&5
2047 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2048 See \`config.log' for more details." >&5
2049 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2050 See \`config.log' for more details." >&2;}
2051 { (exit 1); exit 1; }; }
2054 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2056 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2057 echo "${ECHO_T}$ac_cv_objext" >&6
2058 OBJEXT
=$ac_cv_objext
2060 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2061 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2062 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 cat >conftest.
$ac_ext <<_ACEOF
2068 cat confdefs.h
>>conftest.
$ac_ext
2069 cat >>conftest.
$ac_ext <<_ACEOF
2070 /* end confdefs.h. */
2083 rm -f conftest.
$ac_objext
2084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2085 (eval $ac_compile) 2>conftest.er1
2087 grep -v '^ *+' conftest.er1
>conftest.err
2089 cat conftest.err
>&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); } &&
2092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; } &&
2098 { ac_try
='test -s conftest.$ac_objext'
2099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }; }; then
2106 echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.
$ac_ext >&5
2111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2112 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2115 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2116 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2117 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2118 ac_test_CFLAGS
=${CFLAGS+set}
2119 ac_save_CFLAGS
=$CFLAGS
2121 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2122 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2123 if test "${ac_cv_prog_cc_g+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 cat >conftest.
$ac_ext <<_ACEOF
2129 cat confdefs.h
>>conftest.
$ac_ext
2130 cat >>conftest.
$ac_ext <<_ACEOF
2131 /* end confdefs.h. */
2141 rm -f conftest.
$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2145 grep -v '^ *+' conftest.er1
>conftest.err
2147 cat conftest.err
>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; } &&
2156 { ac_try
='test -s conftest.$ac_objext'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.
$ac_ext >&5
2169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2171 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2172 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2173 if test "$ac_test_CFLAGS" = set; then
2174 CFLAGS
=$ac_save_CFLAGS
2175 elif test $ac_cv_prog_cc_g = yes; then
2176 if test "$GCC" = yes; then
2182 if test "$GCC" = yes; then
2188 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2189 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2190 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 ac_cv_prog_cc_stdc
=no
2195 cat >conftest.
$ac_ext <<_ACEOF
2198 cat confdefs.h
>>conftest.
$ac_ext
2199 cat >>conftest.
$ac_ext <<_ACEOF
2200 /* end confdefs.h. */
2203 #include <sys/types.h>
2204 #include <sys/stat.h>
2205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2206 struct buf { int x; };
2207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2208 static char *e (p, i)
2214 static char *f (char * (*g) (char **, int), char **p, ...)
2219 s = g (p, va_arg (v,int));
2224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2225 function prototypes and stuff, but not '\xHH' hex character constants.
2226 These don't provoke an error unfortunately, instead are silently treated
2227 as 'x'. The following induces an error, until -std1 is added to get
2228 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2229 array size at least. It's necessary to write '\x00'==0 to get something
2230 that's true only with -std1. */
2231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2233 int test (int i, double x);
2234 struct s1 {int (*f) (int a);};
2235 struct s2 {int (*f) (double a);};
2236 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2242 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2247 # Don't try gcc -ansi; that turns off useful extensions and
2248 # breaks some systems' header files.
2249 # AIX -qlanglvl=ansi
2250 # Ultrix and OSF/1 -std1
2251 # HP-UX 10.20 and later -Ae
2252 # HP-UX older versions -Aa -D_HPUX_SOURCE
2253 # SVR4 -Xc -D__EXTENSIONS__
2254 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2256 CC
="$ac_save_CC $ac_arg"
2257 rm -f conftest.
$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>conftest.er1
2261 grep -v '^ *+' conftest.er1
>conftest.err
2263 cat conftest.err
>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } &&
2266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; } &&
2272 { ac_try
='test -s conftest.$ac_objext'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; }; then
2278 ac_cv_prog_cc_stdc
=$ac_arg
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.
$ac_ext >&5
2285 rm -f conftest.err conftest.
$ac_objext
2287 rm -f conftest.
$ac_ext conftest.
$ac_objext
2292 case "x$ac_cv_prog_cc_stdc" in
2294 echo "$as_me:$LINENO: result: none needed" >&5
2295 echo "${ECHO_T}none needed" >&6 ;;
2297 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2298 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2299 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2302 # Some people use a C++ compiler to compile C. Since we use `exit',
2303 # in C++ we need to declare it. In case someone uses the same compiler
2304 # for both compiling C and C++ we need to have the C++ compiler decide
2305 # the declaration of exit, since it's the most demanding environment.
2306 cat >conftest.
$ac_ext <<_ACEOF
2311 rm -f conftest.
$ac_objext
2312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 (eval $ac_compile) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1
>conftest.err
2317 cat conftest.err
>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try
='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2332 for ac_declaration
in \
2334 'extern "C" void std::exit (int) throw (); using std::exit;' \
2335 'extern "C" void std::exit (int); using std::exit;' \
2336 'extern "C" void exit (int) throw ();' \
2337 'extern "C" void exit (int);' \
2340 cat >conftest.
$ac_ext <<_ACEOF
2343 cat confdefs.h
>>conftest.
$ac_ext
2344 cat >>conftest.
$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2356 rm -f conftest.
$ac_objext
2357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358 (eval $ac_compile) 2>conftest.er1
2360 grep -v '^ *+' conftest.er1
>conftest.err
2362 cat conftest.err
>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } &&
2365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; } &&
2371 { ac_try
='test -s conftest.$ac_objext'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2379 echo "$as_me: failed program was:" >&5
2380 sed 's/^/| /' conftest.
$ac_ext >&5
2384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2385 cat >conftest.
$ac_ext <<_ACEOF
2388 cat confdefs.h
>>conftest.
$ac_ext
2389 cat >>conftest.
$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 rm -f conftest.
$ac_objext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402 (eval $ac_compile) 2>conftest.er1
2404 grep -v '^ *+' conftest.er1
>conftest.err
2406 cat conftest.err
>&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try
='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2430 if test -n "$ac_declaration"; then
2431 echo '#ifdef __cplusplus' >>confdefs.h
2432 echo $ac_declaration >>confdefs.h
2433 echo '#endif' >>confdefs.h
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.
$ac_ext >&5
2441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2443 ac_cpp
='$CPP $CPPFLAGS'
2444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2449 ac_cpp
='$CXXCPP $CPPFLAGS'
2450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2453 if test -n "$ac_tool_prefix"; then
2454 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2457 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2458 echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2460 if test "${ac_cv_prog_CXX+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 if test -n "$CXX"; then
2464 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir
=.
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 if test -n "$CXX"; then
2484 echo "$as_me:$LINENO: result: $CXX" >&5
2485 echo "${ECHO_T}$CXX" >&6
2487 echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6
2491 test -n "$CXX" && break
2494 if test -z "$CXX"; then
2496 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy
$ac_prog; ac_word
=$2
2500 echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2502 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$ac_ct_CXX"; then
2506 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 for ac_exec_ext
in '' $ac_executable_extensions; do
2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2525 if test -n "$ac_ct_CXX"; then
2526 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2527 echo "${ECHO_T}$ac_ct_CXX" >&6
2529 echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6
2533 test -n "$ac_ct_CXX" && break
2535 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2541 # Provide some information about the compiler.
2542 echo "$as_me:$LINENO:" \
2543 "checking for C++ compiler version" >&5
2544 ac_compiler
=`set X $ac_compile; echo $2`
2545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2546 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }
2550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2551 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2556 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2561 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 cat >conftest.
$ac_ext <<_ACEOF
2569 cat confdefs.h
>>conftest.
$ac_ext
2570 cat >>conftest.
$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2584 rm -f conftest.
$ac_objext
2585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2588 grep -v '^ *+' conftest.er1
>conftest.err
2590 cat conftest.err
>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; } &&
2599 { ac_try
='test -s conftest.$ac_objext'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.
$ac_ext >&5
2612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2613 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2616 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2617 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2618 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2619 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2620 ac_save_CXXFLAGS
=$CXXFLAGS
2622 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2623 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2624 if test "${ac_cv_prog_cxx_g+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 cat >conftest.
$ac_ext <<_ACEOF
2630 cat confdefs.h
>>conftest.
$ac_ext
2631 cat >>conftest.
$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2642 rm -f conftest.
$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>conftest.er1
2646 grep -v '^ *+' conftest.er1
>conftest.err
2648 cat conftest.err
>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; } &&
2657 { ac_try
='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2663 ac_cv_prog_cxx_g
=yes
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.
$ac_ext >&5
2670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2674 if test "$ac_test_CXXFLAGS" = set; then
2675 CXXFLAGS
=$ac_save_CXXFLAGS
2676 elif test $ac_cv_prog_cxx_g = yes; then
2677 if test "$GXX" = yes; then
2683 if test "$GXX" = yes; then
2689 for ac_declaration
in \
2691 'extern "C" void std::exit (int) throw (); using std::exit;' \
2692 'extern "C" void std::exit (int); using std::exit;' \
2693 'extern "C" void exit (int) throw ();' \
2694 'extern "C" void exit (int);' \
2697 cat >conftest.
$ac_ext <<_ACEOF
2700 cat confdefs.h
>>conftest.
$ac_ext
2701 cat >>conftest.
$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2713 rm -f conftest.
$ac_objext
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715 (eval $ac_compile) 2>conftest.er1
2717 grep -v '^ *+' conftest.er1
>conftest.err
2719 cat conftest.err
>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try
='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2742 cat >conftest.
$ac_ext <<_ACEOF
2745 cat confdefs.h
>>conftest.
$ac_ext
2746 cat >>conftest.
$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.
$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1
>conftest.err
2763 cat conftest.err
>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try
='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.
$ac_ext >&5
2784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2787 if test -n "$ac_declaration"; then
2788 echo '#ifdef __cplusplus' >>confdefs.h
2789 echo $ac_declaration >>confdefs.h
2790 echo '#endif' >>confdefs.h
2794 ac_cpp
='$CPP $CPPFLAGS'
2795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2801 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2802 echo "$as_me:$LINENO: checking for $ac_word" >&5
2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2804 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 if test -n "$CPPBIN"; then
2808 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir
=.
2815 for ac_exec_ext
in '' $ac_executable_extensions; do
2816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 CPPBIN
=$ac_cv_prog_CPPBIN
2827 if test -n "$CPPBIN"; then
2828 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2829 echo "${ECHO_T}$CPPBIN" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2836 if test -z "$ac_cv_prog_CPPBIN"; then
2837 ac_ct_CPPBIN
=$CPPBIN
2838 # Extract the first word of "cpp", so it can be a program name with args.
2839 set dummy cpp
; ac_word
=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2842 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 if test -n "$ac_ct_CPPBIN"; then
2846 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2865 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2866 if test -n "$ac_ct_CPPBIN"; then
2867 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2868 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 CPPBIN
=$ac_ct_CPPBIN
2876 CPPBIN
="$ac_cv_prog_CPPBIN"
2880 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2881 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2882 if test "${wine_cv_toolsdir+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -z "$with_wine_tools"; then
2886 if test "$cross_compiling" = "yes"; then
2887 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2888 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2889 { (exit 1); exit 1; }; }
2891 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2893 elif test -d "$with_wine_tools/tools/winebuild"; then
2894 case $with_wine_tools in
2895 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2896 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2899 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2900 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2901 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2905 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2906 TOOLSDIR
=$wine_cv_toolsdir
2911 ac_cpp
='$CPP $CPPFLAGS'
2912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2915 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2916 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2917 # On Suns, sometimes $CPP names a directory.
2918 if test -n "$CPP" && test -d "$CPP"; then
2921 if test -z "$CPP"; then
2922 if test "${ac_cv_prog_CPP+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 # Double quotes because CPP needs to be expanded
2926 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2929 for ac_c_preproc_warn_flag
in '' yes
2931 # Use a header file that comes with gcc, so configuring glibc
2932 # with a fresh cross-compiler works.
2933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2934 # <limits.h> exists even on freestanding compilers.
2935 # On the NeXT, cc -E runs the code through the compiler's parser,
2936 # not just through cpp. "Syntax error" is here to catch this case.
2937 cat >conftest.
$ac_ext <<_ACEOF
2940 cat confdefs.h
>>conftest.
$ac_ext
2941 cat >>conftest.
$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2944 # include <limits.h>
2946 # include <assert.h>
2950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1
>conftest.err
2955 cat conftest.err
>&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } >/dev
/null
; then
2958 if test -s conftest.err
; then
2959 ac_cpp_err
=$ac_c_preproc_warn_flag
2960 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2967 if test -z "$ac_cpp_err"; then
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.
$ac_ext >&5
2973 # Broken: fails on valid input.
2976 rm -f conftest.err conftest.
$ac_ext
2978 # OK, works on sane cases. Now check whether non-existent headers
2979 # can be detected and how.
2980 cat >conftest.
$ac_ext <<_ACEOF
2983 cat confdefs.h
>>conftest.
$ac_ext
2984 cat >>conftest.
$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2986 #include <ac_nonexistent.h>
2988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1
>conftest.err
2993 cat conftest.err
>&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } >/dev
/null
; then
2996 if test -s conftest.err
; then
2997 ac_cpp_err
=$ac_c_preproc_warn_flag
2998 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3005 if test -z "$ac_cpp_err"; then
3006 # Broken: success on invalid input.
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.
$ac_ext >&5
3012 # Passes both tests.
3016 rm -f conftest.err conftest.
$ac_ext
3019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3020 rm -f conftest.err conftest.
$ac_ext
3021 if $ac_preproc_ok; then
3033 echo "$as_me:$LINENO: result: $CPP" >&5
3034 echo "${ECHO_T}$CPP" >&6
3036 for ac_c_preproc_warn_flag
in '' yes
3038 # Use a header file that comes with gcc, so configuring glibc
3039 # with a fresh cross-compiler works.
3040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3041 # <limits.h> exists even on freestanding compilers.
3042 # On the NeXT, cc -E runs the code through the compiler's parser,
3043 # not just through cpp. "Syntax error" is here to catch this case.
3044 cat >conftest.
$ac_ext <<_ACEOF
3047 cat confdefs.h
>>conftest.
$ac_ext
3048 cat >>conftest.
$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3051 # include <limits.h>
3053 # include <assert.h>
3057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3060 grep -v '^ *+' conftest.er1
>conftest.err
3062 cat conftest.err
>&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } >/dev
/null
; then
3065 if test -s conftest.err
; then
3066 ac_cpp_err
=$ac_c_preproc_warn_flag
3067 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3074 if test -z "$ac_cpp_err"; then
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.
$ac_ext >&5
3080 # Broken: fails on valid input.
3083 rm -f conftest.err conftest.
$ac_ext
3085 # OK, works on sane cases. Now check whether non-existent headers
3086 # can be detected and how.
3087 cat >conftest.
$ac_ext <<_ACEOF
3090 cat confdefs.h
>>conftest.
$ac_ext
3091 cat >>conftest.
$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3093 #include <ac_nonexistent.h>
3095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3096 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3098 grep -v '^ *+' conftest.er1
>conftest.err
3100 cat conftest.err
>&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } >/dev
/null
; then
3103 if test -s conftest.err
; then
3104 ac_cpp_err
=$ac_c_preproc_warn_flag
3105 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3112 if test -z "$ac_cpp_err"; then
3113 # Broken: success on invalid input.
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.
$ac_ext >&5
3119 # Passes both tests.
3123 rm -f conftest.err conftest.
$ac_ext
3126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3127 rm -f conftest.err conftest.
$ac_ext
3128 if $ac_preproc_ok; then
3131 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3132 See \`config.log' for more details." >&5
3133 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3134 See \`config.log' for more details." >&2;}
3135 { (exit 1); exit 1; }; }
3139 ac_cpp
='$CPP $CPPFLAGS'
3140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3146 if test "x$ac_path_x_has_been_run" != xyes
; then
3147 echo "$as_me:$LINENO: checking for X" >&5
3148 echo $ECHO_N "checking for X... $ECHO_C" >&6
3150 ac_path_x_has_been_run
=yes
3152 # Check whether --with-x or --without-x was given.
3153 if test "${with_x+set}" = set; then
3157 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3158 if test "x$with_x" = xno
; then
3159 # The user explicitly disabled X.
3162 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3163 # Both variables are already set.
3166 if test "${ac_cv_have_x+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 # One or both of the vars are not set, and there is no cached value.
3170 ac_x_includes
=no ac_x_libraries
=no
3172 if mkdir conftest.dir
; then
3174 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3175 cat >Imakefile
<<'_ACEOF'
3177 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3179 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3180 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3181 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3182 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3183 for ac_extension
in a so sl
; do
3184 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3185 test -f $ac_im_libdir/libX11.
$ac_extension; then
3186 ac_im_usrlibdir
=$ac_im_libdir; break
3189 # Screen out bogus values from the imake configuration. They are
3190 # bogus both because they are the default anyway, and because
3191 # using them would break gcc on systems where it needs fixed includes.
3192 case $ac_im_incroot in
3194 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3196 case $ac_im_usrlibdir in
3198 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3205 # Standard set of common directories for X headers.
3206 # Check X11 before X11Rn because it is often a symlink to the current release.
3218 /usr/local/X11/include
3219 /usr/local/X11R6/include
3220 /usr/local/X11R5/include
3221 /usr/local/X11R4/include
3223 /usr/local/include/X11
3224 /usr/local/include/X11R6
3225 /usr/local/include/X11R5
3226 /usr/local/include/X11R4
3230 /usr/XFree86/include/X11
3234 /usr/unsupported/include
3236 /usr/local/x11r5/include
3237 /usr/lpp/Xamples/include
3239 /usr/openwin/include
3240 /usr/openwin/share/include'
3242 if test "$ac_x_includes" = no
; then
3243 # Guess where to find include files, by looking for a specified header file.
3244 # First, try using that file with no special directory specified.
3245 cat >conftest.
$ac_ext <<_ACEOF
3248 cat confdefs.h
>>conftest.
$ac_ext
3249 cat >>conftest.
$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3251 #include <X11/Intrinsic.h>
3253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3254 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3256 grep -v '^ *+' conftest.er1
>conftest.err
3258 cat conftest.err
>&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev
/null
; then
3261 if test -s conftest.err
; then
3262 ac_cpp_err
=$ac_c_preproc_warn_flag
3263 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3270 if test -z "$ac_cpp_err"; then
3271 # We can compile using X headers with no special include directory.
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.
$ac_ext >&5
3277 for ac_dir
in $ac_x_header_dirs; do
3278 if test -r "$ac_dir/X11/Intrinsic.h"; then
3279 ac_x_includes
=$ac_dir
3284 rm -f conftest.err conftest.
$ac_ext
3285 fi # $ac_x_includes = no
3287 if test "$ac_x_libraries" = no
; then
3288 # Check for the libraries.
3289 # See if we find them without any special options.
3290 # Don't add to $LIBS permanently.
3293 cat >conftest.
$ac_ext <<_ACEOF
3296 cat confdefs.h
>>conftest.
$ac_ext
3297 cat >>conftest.
$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 #include <X11/Intrinsic.h>
3308 rm -f conftest.
$ac_objext conftest
$ac_exeext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3310 (eval $ac_link) 2>conftest.er1
3312 grep -v '^ *+' conftest.er1
>conftest.err
3314 cat conftest.err
>&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try
='test -s conftest$ac_exeext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3330 # We can link X programs with no special library path.
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.
$ac_ext >&5
3337 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3339 # Don't even attempt the hair of trying to link an X program!
3340 for ac_extension
in a so sl
; do
3341 if test -r $ac_dir/libXt.
$ac_extension; then
3342 ac_x_libraries
=$ac_dir
3348 rm -f conftest.err conftest.
$ac_objext \
3349 conftest
$ac_exeext conftest.
$ac_ext
3350 fi # $ac_x_libraries = no
3352 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3353 # Didn't find X anywhere. Cache the known absence of X.
3354 ac_cv_have_x
="have_x=no"
3356 # Record where we found X for the cache.
3357 ac_cv_have_x
="have_x=yes \
3358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3363 eval "$ac_cv_have_x"
3366 if test "$have_x" != yes; then
3367 echo "$as_me:$LINENO: result: $have_x" >&5
3368 echo "${ECHO_T}$have_x" >&6
3371 # If each of the values was on the command line, it overrides each guess.
3372 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3373 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3374 # Update the cache value to reflect the command line values.
3375 ac_cv_have_x
="have_x=yes \
3376 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3377 # It might be that x_includes is empty (headers are found in the
3378 # standard search path. Then output the corresponding message
3379 ac_out_x_includes
=$x_includes
3380 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3381 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3382 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3386 if test "$no_x" = yes; then
3387 # Not all programs may use this symbol, but it does not hurt to define it.
3389 cat >>confdefs.h
<<\_ACEOF
3390 #define X_DISPLAY_MISSING 1
3393 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3395 if test -n "$x_includes"; then
3396 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3399 # It would also be nice to do this for all -L options, not just this one.
3400 if test -n "$x_libraries"; then
3401 X_LIBS
="$X_LIBS -L$x_libraries"
3402 # For Solaris; some versions of Sun CC require a space after -R and
3403 # others require no space. Words are not sufficient . . . .
3404 case `(uname -sr) 2>/dev/null` in
3406 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3407 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3408 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3409 cat >conftest.
$ac_ext <<_ACEOF
3412 cat confdefs.h
>>conftest.
$ac_ext
3413 cat >>conftest.
$ac_ext <<_ACEOF
3414 /* end confdefs.h. */
3424 rm -f conftest.
$ac_objext conftest
$ac_exeext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3426 (eval $ac_link) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; } &&
3439 { ac_try
='test -s conftest$ac_exeext'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; }; then
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.
$ac_ext >&5
3452 rm -f conftest.err conftest.
$ac_objext \
3453 conftest
$ac_exeext conftest.
$ac_ext
3454 if test $ac_R_nospace = yes; then
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3457 X_LIBS
="$X_LIBS -R$x_libraries"
3459 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3460 cat >conftest.
$ac_ext <<_ACEOF
3463 cat confdefs.h
>>conftest.
$ac_ext
3464 cat >>conftest.
$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3475 rm -f conftest.
$ac_objext conftest
$ac_exeext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3477 (eval $ac_link) 2>conftest.er1
3479 grep -v '^ *+' conftest.er1
>conftest.err
3481 cat conftest.err
>&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); }; } &&
3490 { ac_try
='test -s conftest$ac_exeext'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.
$ac_ext >&5
3503 rm -f conftest.err conftest.
$ac_objext \
3504 conftest
$ac_exeext conftest.
$ac_ext
3505 if test $ac_R_space = yes; then
3506 echo "$as_me:$LINENO: result: yes" >&5
3507 echo "${ECHO_T}yes" >&6
3508 X_LIBS
="$X_LIBS -R $x_libraries"
3510 echo "$as_me:$LINENO: result: neither works" >&5
3511 echo "${ECHO_T}neither works" >&6
3518 # Check for system-dependent libraries X programs must link with.
3519 # Do this before checking for the system-independent R6 libraries
3520 # (-lICE), since we may need -lsocket or whatever for X linking.
3522 if test "$ISC" = yes; then
3523 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3525 # Martyn Johnson says this is needed for Ultrix, if the X
3526 # libraries were built with DECnet support. And Karl Berry says
3527 # the Alpha needs dnet_stub (dnet does not exist).
3528 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3529 cat >conftest.
$ac_ext <<_ACEOF
3532 cat confdefs.h
>>conftest.
$ac_ext
3533 cat >>conftest.
$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3536 /* Override any gcc2 internal prototype to avoid an error. */
3540 /* We use char because int might match the return type of a gcc2
3541 builtin and then its argument prototype would still apply. */
3542 char XOpenDisplay ();
3551 rm -f conftest.
$ac_objext conftest
$ac_exeext
3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3553 (eval $ac_link) 2>conftest.er1
3555 grep -v '^ *+' conftest.er1
>conftest.err
3557 cat conftest.err
>&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } &&
3560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; } &&
3566 { ac_try
='test -s conftest$ac_exeext'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.
$ac_ext >&5
3577 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3578 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3579 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 ac_check_lib_save_LIBS
=$LIBS
3584 cat >conftest.
$ac_ext <<_ACEOF
3587 cat confdefs.h
>>conftest.
$ac_ext
3588 cat >>conftest.
$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 /* Override any gcc2 internal prototype to avoid an error. */
3595 /* We use char because int might match the return type of a gcc2
3596 builtin and then its argument prototype would still apply. */
3606 rm -f conftest.
$ac_objext conftest
$ac_exeext
3607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3608 (eval $ac_link) 2>conftest.er1
3610 grep -v '^ *+' conftest.er1
>conftest.err
3612 cat conftest.err
>&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } &&
3615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; } &&
3621 { ac_try
='test -s conftest$ac_exeext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_cv_lib_dnet_dnet_ntoa
=yes
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.
$ac_ext >&5
3632 ac_cv_lib_dnet_dnet_ntoa
=no
3634 rm -f conftest.err conftest.
$ac_objext \
3635 conftest
$ac_exeext conftest.
$ac_ext
3636 LIBS
=$ac_check_lib_save_LIBS
3638 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3639 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3640 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3641 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3644 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3645 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3646 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3647 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 ac_check_lib_save_LIBS
=$LIBS
3651 LIBS
="-ldnet_stub $LIBS"
3652 cat >conftest.
$ac_ext <<_ACEOF
3655 cat confdefs.h
>>conftest.
$ac_ext
3656 cat >>conftest.
$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3659 /* Override any gcc2 internal prototype to avoid an error. */
3663 /* We use char because int might match the return type of a gcc2
3664 builtin and then its argument prototype would still apply. */
3674 rm -f conftest.
$ac_objext conftest
$ac_exeext
3675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3676 (eval $ac_link) 2>conftest.er1
3678 grep -v '^ *+' conftest.er1
>conftest.err
3680 cat conftest.err
>&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } &&
3683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } &&
3689 { ac_try
='test -s conftest$ac_exeext'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; }; then
3695 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.
$ac_ext >&5
3700 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3702 rm -f conftest.err conftest.
$ac_objext \
3703 conftest
$ac_exeext conftest.
$ac_ext
3704 LIBS
=$ac_check_lib_save_LIBS
3706 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3707 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3708 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3709 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3714 rm -f conftest.err conftest.
$ac_objext \
3715 conftest
$ac_exeext conftest.
$ac_ext
3716 LIBS
="$ac_xsave_LIBS"
3718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3719 # to get the SysV transport functions.
3720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3722 # The nsl library prevents programs from opening the X display
3723 # on Irix 5.2, according to T.E. Dickey.
3724 # The functions gethostbyname, getservbyname, and inet_addr are
3725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3726 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3727 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3728 if test "${ac_cv_func_gethostbyname+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 cat >conftest.
$ac_ext <<_ACEOF
3734 cat confdefs.h
>>conftest.
$ac_ext
3735 cat >>conftest.
$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3739 #define gethostbyname innocuous_gethostbyname
3741 /* System header to define __stub macros and hopefully few prototypes,
3742 which can conflict with char gethostbyname (); below.
3743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3744 <limits.h> exists even on freestanding compilers. */
3747 # include <limits.h>
3749 # include <assert.h>
3752 #undef gethostbyname
3754 /* Override any gcc2 internal prototype to avoid an error. */
3759 /* We use char because int might match the return type of a gcc2
3760 builtin and then its argument prototype would still apply. */
3761 char gethostbyname ();
3762 /* The GNU C library defines this for functions which it implements
3763 to always fail with ENOSYS. Some functions are actually named
3764 something starting with __ and the normal name is an alias. */
3765 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3768 char (*f) () = gethostbyname;
3777 return f != gethostbyname;
3782 rm -f conftest.
$ac_objext conftest
$ac_exeext
3783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3784 (eval $ac_link) 2>conftest.er1
3786 grep -v '^ *+' conftest.er1
>conftest.err
3788 cat conftest.err
>&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; } &&
3797 { ac_try
='test -s conftest$ac_exeext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 ac_cv_func_gethostbyname
=yes
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.
$ac_ext >&5
3808 ac_cv_func_gethostbyname
=no
3810 rm -f conftest.err conftest.
$ac_objext \
3811 conftest
$ac_exeext conftest.
$ac_ext
3813 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3814 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3816 if test $ac_cv_func_gethostbyname = no
; then
3817 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3818 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3819 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 ac_check_lib_save_LIBS
=$LIBS
3824 cat >conftest.
$ac_ext <<_ACEOF
3827 cat confdefs.h
>>conftest.
$ac_ext
3828 cat >>conftest.
$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3831 /* Override any gcc2 internal prototype to avoid an error. */
3835 /* We use char because int might match the return type of a gcc2
3836 builtin and then its argument prototype would still apply. */
3837 char gethostbyname ();
3846 rm -f conftest.
$ac_objext conftest
$ac_exeext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3848 (eval $ac_link) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1
>conftest.err
3852 cat conftest.err
>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try
='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 ac_cv_lib_nsl_gethostbyname
=yes
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.
$ac_ext >&5
3872 ac_cv_lib_nsl_gethostbyname
=no
3874 rm -f conftest.err conftest.
$ac_objext \
3875 conftest
$ac_exeext conftest.
$ac_ext
3876 LIBS
=$ac_check_lib_save_LIBS
3878 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3879 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3880 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3881 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3884 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3885 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3886 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3887 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 ac_check_lib_save_LIBS
=$LIBS
3892 cat >conftest.
$ac_ext <<_ACEOF
3895 cat confdefs.h
>>conftest.
$ac_ext
3896 cat >>conftest.
$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3899 /* Override any gcc2 internal prototype to avoid an error. */
3903 /* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905 char gethostbyname ();
3914 rm -f conftest.
$ac_objext conftest
$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>conftest.er1
3918 grep -v '^ *+' conftest.er1
>conftest.err
3920 cat conftest.err
>&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; } &&
3929 { ac_try
='test -s conftest$ac_exeext'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; }; then
3935 ac_cv_lib_bsd_gethostbyname
=yes
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.
$ac_ext >&5
3940 ac_cv_lib_bsd_gethostbyname
=no
3942 rm -f conftest.err conftest.
$ac_objext \
3943 conftest
$ac_exeext conftest.
$ac_ext
3944 LIBS
=$ac_check_lib_save_LIBS
3946 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3947 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3948 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3949 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3955 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3956 # socket/setsockopt and other routines are undefined under SCO ODT
3957 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3958 # on later versions), says Simon Leinen: it contains gethostby*
3959 # variants that don't use the name server (or something). -lsocket
3960 # must be given before -lnsl if both are needed. We assume that
3961 # if connect needs -lnsl, so does gethostbyname.
3962 echo "$as_me:$LINENO: checking for connect" >&5
3963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3964 if test "${ac_cv_func_connect+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 cat >conftest.
$ac_ext <<_ACEOF
3970 cat confdefs.h
>>conftest.
$ac_ext
3971 cat >>conftest.
$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3975 #define connect innocuous_connect
3977 /* System header to define __stub macros and hopefully few prototypes,
3978 which can conflict with char connect (); below.
3979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3980 <limits.h> exists even on freestanding compilers. */
3983 # include <limits.h>
3985 # include <assert.h>
3990 /* Override any gcc2 internal prototype to avoid an error. */
3995 /* We use char because int might match the return type of a gcc2
3996 builtin and then its argument prototype would still apply. */
3998 /* The GNU C library defines this for functions which it implements
3999 to always fail with ENOSYS. Some functions are actually named
4000 something starting with __ and the normal name is an alias. */
4001 #if defined (__stub_connect) || defined (__stub___connect)
4004 char (*f) () = connect;
4013 return f != connect;
4018 rm -f conftest.
$ac_objext conftest
$ac_exeext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4020 (eval $ac_link) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1
>conftest.err
4024 cat conftest.err
>&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try
='test -s conftest$ac_exeext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4039 ac_cv_func_connect
=yes
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.
$ac_ext >&5
4044 ac_cv_func_connect
=no
4046 rm -f conftest.err conftest.
$ac_objext \
4047 conftest
$ac_exeext conftest.
$ac_ext
4049 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4050 echo "${ECHO_T}$ac_cv_func_connect" >&6
4052 if test $ac_cv_func_connect = no
; then
4053 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4054 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4055 if test "${ac_cv_lib_socket_connect+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 ac_check_lib_save_LIBS
=$LIBS
4059 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4060 cat >conftest.
$ac_ext <<_ACEOF
4063 cat confdefs.h
>>conftest.
$ac_ext
4064 cat >>conftest.
$ac_ext <<_ACEOF
4065 /* end confdefs.h. */
4067 /* Override any gcc2 internal prototype to avoid an error. */
4071 /* We use char because int might match the return type of a gcc2
4072 builtin and then its argument prototype would still apply. */
4082 rm -f conftest.
$ac_objext conftest
$ac_exeext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4084 (eval $ac_link) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1
>conftest.err
4088 cat conftest.err
>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try
='test -s conftest$ac_exeext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 ac_cv_lib_socket_connect
=yes
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.
$ac_ext >&5
4108 ac_cv_lib_socket_connect
=no
4110 rm -f conftest.err conftest.
$ac_objext \
4111 conftest
$ac_exeext conftest.
$ac_ext
4112 LIBS
=$ac_check_lib_save_LIBS
4114 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4115 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4116 if test $ac_cv_lib_socket_connect = yes; then
4117 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4122 # Guillermo Gomez says -lposix is necessary on A/UX.
4123 echo "$as_me:$LINENO: checking for remove" >&5
4124 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4125 if test "${ac_cv_func_remove+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 cat >conftest.
$ac_ext <<_ACEOF
4131 cat confdefs.h
>>conftest.
$ac_ext
4132 cat >>conftest.
$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4134 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4136 #define remove innocuous_remove
4138 /* System header to define __stub macros and hopefully few prototypes,
4139 which can conflict with char remove (); below.
4140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 <limits.h> exists even on freestanding compilers. */
4144 # include <limits.h>
4146 # include <assert.h>
4151 /* Override any gcc2 internal prototype to avoid an error. */
4156 /* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */
4159 /* The GNU C library defines this for functions which it implements
4160 to always fail with ENOSYS. Some functions are actually named
4161 something starting with __ and the normal name is an alias. */
4162 #if defined (__stub_remove) || defined (__stub___remove)
4165 char (*f) () = remove;
4179 rm -f conftest.
$ac_objext conftest
$ac_exeext
4180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4181 (eval $ac_link) 2>conftest.er1
4183 grep -v '^ *+' conftest.er1
>conftest.err
4185 cat conftest.err
>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try
='test -s conftest$ac_exeext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_func_remove
=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.
$ac_ext >&5
4205 ac_cv_func_remove
=no
4207 rm -f conftest.err conftest.
$ac_objext \
4208 conftest
$ac_exeext conftest.
$ac_ext
4210 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4211 echo "${ECHO_T}$ac_cv_func_remove" >&6
4213 if test $ac_cv_func_remove = no
; then
4214 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4215 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4216 if test "${ac_cv_lib_posix_remove+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 ac_check_lib_save_LIBS
=$LIBS
4220 LIBS
="-lposix $LIBS"
4221 cat >conftest.
$ac_ext <<_ACEOF
4224 cat confdefs.h
>>conftest.
$ac_ext
4225 cat >>conftest.
$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4228 /* Override any gcc2 internal prototype to avoid an error. */
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4243 rm -f conftest.
$ac_objext conftest
$ac_exeext
4244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4245 (eval $ac_link) 2>conftest.er1
4247 grep -v '^ *+' conftest.er1
>conftest.err
4249 cat conftest.err
>&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; } &&
4258 { ac_try
='test -s conftest$ac_exeext'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; }; then
4264 ac_cv_lib_posix_remove
=yes
4266 echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.
$ac_ext >&5
4269 ac_cv_lib_posix_remove
=no
4271 rm -f conftest.err conftest.
$ac_objext \
4272 conftest
$ac_exeext conftest.
$ac_ext
4273 LIBS
=$ac_check_lib_save_LIBS
4275 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4276 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4277 if test $ac_cv_lib_posix_remove = yes; then
4278 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4283 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4284 echo "$as_me:$LINENO: checking for shmat" >&5
4285 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4286 if test "${ac_cv_func_shmat+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4297 #define shmat innocuous_shmat
4299 /* System header to define __stub macros and hopefully few prototypes,
4300 which can conflict with char shmat (); below.
4301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4302 <limits.h> exists even on freestanding compilers. */
4305 # include <limits.h>
4307 # include <assert.h>
4312 /* Override any gcc2 internal prototype to avoid an error. */
4317 /* We use char because int might match the return type of a gcc2
4318 builtin and then its argument prototype would still apply. */
4320 /* The GNU C library defines this for functions which it implements
4321 to always fail with ENOSYS. Some functions are actually named
4322 something starting with __ and the normal name is an alias. */
4323 #if defined (__stub_shmat) || defined (__stub___shmat)
4326 char (*f) () = shmat;
4340 rm -f conftest.
$ac_objext conftest
$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>conftest.er1
4344 grep -v '^ *+' conftest.er1
>conftest.err
4346 cat conftest.err
>&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; } &&
4355 { ac_try
='test -s conftest$ac_exeext'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; }; then
4361 ac_cv_func_shmat
=yes
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.
$ac_ext >&5
4368 rm -f conftest.err conftest.
$ac_objext \
4369 conftest
$ac_exeext conftest.
$ac_ext
4371 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4372 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4374 if test $ac_cv_func_shmat = no
; then
4375 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4376 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4377 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 ac_check_lib_save_LIBS
=$LIBS
4382 cat >conftest.
$ac_ext <<_ACEOF
4385 cat confdefs.h
>>conftest.
$ac_ext
4386 cat >>conftest.
$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4389 /* Override any gcc2 internal prototype to avoid an error. */
4393 /* We use char because int might match the return type of a gcc2
4394 builtin and then its argument prototype would still apply. */
4404 rm -f conftest.
$ac_objext conftest
$ac_exeext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4406 (eval $ac_link) 2>conftest.er1
4408 grep -v '^ *+' conftest.er1
>conftest.err
4410 cat conftest.err
>&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; } &&
4419 { ac_try
='test -s conftest$ac_exeext'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; }; then
4425 ac_cv_lib_ipc_shmat
=yes
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.
$ac_ext >&5
4430 ac_cv_lib_ipc_shmat
=no
4432 rm -f conftest.err conftest.
$ac_objext \
4433 conftest
$ac_exeext conftest.
$ac_ext
4434 LIBS
=$ac_check_lib_save_LIBS
4436 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4437 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4438 if test $ac_cv_lib_ipc_shmat = yes; then
4439 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4445 # Check for libraries that X11R6 Xt/Xaw programs need.
4446 ac_save_LDFLAGS
=$LDFLAGS
4447 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4448 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4449 # check for ICE first), but we must link in the order -lSM -lICE or
4450 # we get undefined symbols. So assume we have SM if we have ICE.
4451 # These have to be linked with before -lX11, unlike the other
4452 # libraries we check for below, so use a different variable.
4453 # John Interrante, Karl Berry
4454 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4455 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4456 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 ac_check_lib_save_LIBS
=$LIBS
4460 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4461 cat >conftest.
$ac_ext <<_ACEOF
4464 cat confdefs.h
>>conftest.
$ac_ext
4465 cat >>conftest.
$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4468 /* Override any gcc2 internal prototype to avoid an error. */
4472 /* We use char because int might match the return type of a gcc2
4473 builtin and then its argument prototype would still apply. */
4474 char IceConnectionNumber ();
4478 IceConnectionNumber ();
4483 rm -f conftest.
$ac_objext conftest
$ac_exeext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4485 (eval $ac_link) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1
>conftest.err
4489 cat conftest.err
>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; } &&
4498 { ac_try
='test -s conftest$ac_exeext'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; }; then
4504 ac_cv_lib_ICE_IceConnectionNumber
=yes
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.
$ac_ext >&5
4509 ac_cv_lib_ICE_IceConnectionNumber
=no
4511 rm -f conftest.err conftest.
$ac_objext \
4512 conftest
$ac_exeext conftest.
$ac_ext
4513 LIBS
=$ac_check_lib_save_LIBS
4515 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4516 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4517 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4518 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4521 LDFLAGS
=$ac_save_LDFLAGS
4525 for ac_prog
in flex
lex
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy
$ac_prog; ac_word
=$2
4529 echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4531 if test "${ac_cv_prog_LEX+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if test -n "$LEX"; then
4535 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir
=.
4542 for ac_exec_ext
in '' $ac_executable_extensions; do
4543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_LEX
="$ac_prog"
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test -n "$LEX"; then
4555 echo "$as_me:$LINENO: result: $LEX" >&5
4556 echo "${ECHO_T}$LEX" >&6
4558 echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6
4562 test -n "$LEX" && break
4564 test -n "$LEX" || LEX
=":"
4566 if test -z "$LEXLIB"
4568 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4569 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4570 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 ac_check_lib_save_LIBS
=$LIBS
4575 cat >conftest.
$ac_ext <<_ACEOF
4578 cat confdefs.h
>>conftest.
$ac_ext
4579 cat >>conftest.
$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Override any gcc2 internal prototype to avoid an error. */
4586 /* We use char because int might match the return type of a gcc2
4587 builtin and then its argument prototype would still apply. */
4597 rm -f conftest.
$ac_objext conftest
$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>conftest.er1
4601 grep -v '^ *+' conftest.er1
>conftest.err
4603 cat conftest.err
>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; } &&
4612 { ac_try
='test -s conftest$ac_exeext'
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; }; then
4618 ac_cv_lib_fl_yywrap
=yes
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.
$ac_ext >&5
4623 ac_cv_lib_fl_yywrap
=no
4625 rm -f conftest.err conftest.
$ac_objext \
4626 conftest
$ac_exeext conftest.
$ac_ext
4627 LIBS
=$ac_check_lib_save_LIBS
4629 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4630 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4631 if test $ac_cv_lib_fl_yywrap = yes; then
4634 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4635 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4636 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 ac_check_lib_save_LIBS
=$LIBS
4641 cat >conftest.
$ac_ext <<_ACEOF
4644 cat confdefs.h
>>conftest.
$ac_ext
4645 cat >>conftest.
$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4648 /* Override any gcc2 internal prototype to avoid an error. */
4652 /* We use char because int might match the return type of a gcc2
4653 builtin and then its argument prototype would still apply. */
4663 rm -f conftest.
$ac_objext conftest
$ac_exeext
4664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4665 (eval $ac_link) 2>conftest.er1
4667 grep -v '^ *+' conftest.er1
>conftest.err
4669 cat conftest.err
>&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } &&
4672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; } &&
4678 { ac_try
='test -s conftest$ac_exeext'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4684 ac_cv_lib_l_yywrap
=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.
$ac_ext >&5
4689 ac_cv_lib_l_yywrap
=no
4691 rm -f conftest.err conftest.
$ac_objext \
4692 conftest
$ac_exeext conftest.
$ac_ext
4693 LIBS
=$ac_check_lib_save_LIBS
4695 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4696 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4697 if test $ac_cv_lib_l_yywrap = yes; then
4705 if test "x$LEX" != "x:"; then
4706 echo "$as_me:$LINENO: checking lex output file root" >&5
4707 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4708 if test "${ac_cv_prog_lex_root+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 # The minimal lex program is just a single line: %%. But some broken lexes
4712 # (Solaris, I think it was) want two %% lines, so accommodate them.
4713 cat >conftest.l
<<_ACEOF
4717 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4718 (eval $LEX conftest.l
) 2>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }
4722 if test -f lex.yy.c
; then
4723 ac_cv_prog_lex_root
=lex.yy
4724 elif test -f lexyy.c
; then
4725 ac_cv_prog_lex_root
=lexyy
4727 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4728 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4729 { (exit 1); exit 1; }; }
4732 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4733 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4735 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4737 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4738 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4739 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 # POSIX says lex can declare yytext either as a pointer or an array; the
4743 # default is implementation-dependent. Figure out which it is, since
4744 # not all implementations provide the %pointer and %array declarations.
4745 ac_cv_prog_lex_yytext_pointer
=no
4746 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4748 LIBS
="$LIBS $LEXLIB"
4749 cat >conftest.
$ac_ext <<_ACEOF
4750 `cat $LEX_OUTPUT_ROOT.c`
4752 rm -f conftest.
$ac_objext conftest
$ac_exeext
4753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4754 (eval $ac_link) 2>conftest.er1
4756 grep -v '^ *+' conftest.er1
>conftest.err
4758 cat conftest.err
>&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } &&
4761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; } &&
4767 { ac_try
='test -s conftest$ac_exeext'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; }; then
4773 ac_cv_prog_lex_yytext_pointer
=yes
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.
$ac_ext >&5
4779 rm -f conftest.err conftest.
$ac_objext \
4780 conftest
$ac_exeext conftest.
$ac_ext
4782 rm -f "${LEX_OUTPUT_ROOT}.c"
4785 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4786 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4787 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4789 cat >>confdefs.h
<<\_ACEOF
4790 #define YYTEXT_POINTER 1
4797 for ac_prog
in $LEX flex
lex
4799 # Extract the first word of "$ac_prog", so it can be a program name with args.
4800 set dummy
$ac_prog; ac_word
=$2
4801 echo "$as_me:$LINENO: checking for $ac_word" >&5
4802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4803 if test "${ac_cv_prog_XLEX+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 if test -n "$XLEX"; then
4807 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4813 test -z "$as_dir" && as_dir
=.
4814 for ac_exec_ext
in '' $ac_executable_extensions; do
4815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4816 ac_cv_prog_XLEX
="$ac_prog"
4817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 XLEX
=$ac_cv_prog_XLEX
4826 if test -n "$XLEX"; then
4827 echo "$as_me:$LINENO: result: $XLEX" >&5
4828 echo "${ECHO_T}$XLEX" >&6
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4834 test -n "$XLEX" && break
4836 test -n "$XLEX" || XLEX
="none"
4838 if test "$XLEX" = "none"
4840 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4841 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4842 { (exit 1); exit 1; }; }
4845 for ac_prog
in bison
4847 # Extract the first word of "$ac_prog", so it can be a program name with args.
4848 set dummy
$ac_prog; 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_BISON+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 if test -n "$BISON"; then
4855 ac_cv_prog_BISON
="$BISON" # 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_BISON
="$ac_prog"
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 BISON
=$ac_cv_prog_BISON
4874 if test -n "$BISON"; then
4875 echo "$as_me:$LINENO: result: $BISON" >&5
4876 echo "${ECHO_T}$BISON" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4882 test -n "$BISON" && break
4884 test -n "$BISON" || BISON
="none"
4886 if test "$BISON" = "none"
4888 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4889 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4890 { (exit 1); exit 1; }; }
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog
in gas as
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4898 echo "$as_me:$LINENO: checking for $ac_word" >&5
4899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4900 if test "${ac_cv_prog_AS+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 if test -n "$AS"; then
4904 ac_cv_prog_AS
="$AS" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 if test -n "$AS"; then
4924 echo "$as_me:$LINENO: result: $AS" >&5
4925 echo "${ECHO_T}$AS" >&6
4927 echo "$as_me:$LINENO: result: no" >&5
4928 echo "${ECHO_T}no" >&6
4931 test -n "$AS" && break
4934 if test -z "$AS"; then
4936 for ac_prog
in gas as
4938 # Extract the first word of "$ac_prog", so it can be a program name with args.
4939 set dummy
$ac_prog; ac_word
=$2
4940 echo "$as_me:$LINENO: checking for $ac_word" >&5
4941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4942 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 if test -n "$ac_ct_AS"; then
4946 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir
=.
4953 for ac_exec_ext
in '' $ac_executable_extensions; do
4954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_AS
="$ac_prog"
4956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4965 if test -n "$ac_ct_AS"; then
4966 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4967 echo "${ECHO_T}$ac_ct_AS" >&6
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4973 test -n "$ac_ct_AS" && break
4975 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4982 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4983 echo "$as_me:$LINENO: checking for $ac_word" >&5
4984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4985 if test "${ac_cv_prog_LD+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4988 if test -n "$LD"; then
4989 ac_cv_prog_LD
="$LD" # Let the user override the test.
4991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir
=.
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 if test -n "$LD"; then
5009 echo "$as_me:$LINENO: result: $LD" >&5
5010 echo "${ECHO_T}$LD" >&6
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5017 if test -z "$ac_cv_prog_LD"; then
5019 # Extract the first word of "ld", so it can be a program name with args.
5020 set dummy ld
; ac_word
=$2
5021 echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5023 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 if test -n "$ac_ct_LD"; then
5027 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir
=.
5034 for ac_exec_ext
in '' $ac_executable_extensions; do
5035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_LD
="ld"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5046 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5047 if test -n "$ac_ct_LD"; then
5048 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5049 echo "${ECHO_T}$ac_ct_LD" >&6
5051 echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5060 if test -n "$ac_tool_prefix"; then
5061 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5062 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5063 echo "$as_me:$LINENO: checking for $ac_word" >&5
5064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5065 if test "${ac_cv_prog_AR+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 if test -n "$AR"; then
5069 ac_cv_prog_AR
="$AR" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 if test -n "$AR"; then
5089 echo "$as_me:$LINENO: result: $AR" >&5
5090 echo "${ECHO_T}$AR" >&6
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5097 if test -z "$ac_cv_prog_AR"; then
5099 # Extract the first word of "ar", so it can be a program name with args.
5100 set dummy
ar; ac_word
=$2
5101 echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5103 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 if test -n "$ac_ct_AR"; then
5107 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir
=.
5114 for ac_exec_ext
in '' $ac_executable_extensions; do
5115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5116 ac_cv_prog_ac_ct_AR
="ar"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5126 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5127 if test -n "$ac_ct_AR"; then
5128 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5129 echo "${ECHO_T}$ac_ct_AR" >&6
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5140 if test -n "$ac_tool_prefix"; then
5141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5142 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5143 echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145 if test "${ac_cv_prog_RANLIB+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 if test -n "$RANLIB"; then
5149 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir
=.
5156 for ac_exec_ext
in '' $ac_executable_extensions; do
5157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 RANLIB
=$ac_cv_prog_RANLIB
5168 if test -n "$RANLIB"; then
5169 echo "$as_me:$LINENO: result: $RANLIB" >&5
5170 echo "${ECHO_T}$RANLIB" >&6
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5177 if test -z "$ac_cv_prog_RANLIB"; then
5178 ac_ct_RANLIB
=$RANLIB
5179 # Extract the first word of "ranlib", so it can be a program name with args.
5180 set dummy ranlib
; ac_word
=$2
5181 echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 if test -n "$ac_ct_RANLIB"; then
5187 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir
=.
5194 for ac_exec_ext
in '' $ac_executable_extensions; do
5195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5206 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5207 if test -n "$ac_ct_RANLIB"; then
5208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5215 RANLIB
=$ac_ct_RANLIB
5217 RANLIB
="$ac_cv_prog_RANLIB"
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_STRIP+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$STRIP"; then
5229 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 STRIP
=$ac_cv_prog_STRIP
5248 if test -n "$STRIP"; then
5249 echo "$as_me:$LINENO: result: $STRIP" >&5
5250 echo "${ECHO_T}$STRIP" >&6
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5257 if test -z "$ac_cv_prog_STRIP"; then
5259 # Extract the first word of "strip", so it can be a program name with args.
5260 set dummy strip
; ac_word
=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 if test -n "$ac_ct_STRIP"; then
5267 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir
=.
5274 for ac_exec_ext
in '' $ac_executable_extensions; do
5275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_STRIP
="strip"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5286 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5287 if test -n "$ac_ct_STRIP"; then
5288 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5289 echo "${ECHO_T}$ac_ct_STRIP" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5297 STRIP
="$ac_cv_prog_STRIP"
5300 if test -n "$ac_tool_prefix"; then
5301 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5302 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_prog_WINDRES+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 if test -n "$WINDRES"; then
5309 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_exec_ext
in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 WINDRES
=$ac_cv_prog_WINDRES
5328 if test -n "$WINDRES"; then
5329 echo "$as_me:$LINENO: result: $WINDRES" >&5
5330 echo "${ECHO_T}$WINDRES" >&6
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5337 if test -z "$ac_cv_prog_WINDRES"; then
5338 ac_ct_WINDRES
=$WINDRES
5339 # Extract the first word of "windres", so it can be a program name with args.
5340 set dummy windres
; ac_word
=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if test -n "$ac_ct_WINDRES"; then
5347 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_WINDRES
="windres"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5366 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5367 if test -n "$ac_ct_WINDRES"; then
5368 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5369 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5375 WINDRES
=$ac_ct_WINDRES
5377 WINDRES
="$ac_cv_prog_WINDRES"
5380 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5381 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5383 if test "$LN_S" = "ln -s"; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5388 echo "${ECHO_T}no, using $LN_S" >&6
5391 echo "$as_me:$LINENO: checking whether ln works" >&5
5392 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5393 rm -f conf$$ conf$$.
file
5395 if ln conf$$.
file conf$$
2>/dev
/null
; then
5398 echo "$as_me:$LINENO: result: yes" >&5
5399 echo "${ECHO_T}yes" >&6
5403 echo "$as_me:$LINENO: result: no, using $LN" >&5
5404 echo "${ECHO_T}no, using $LN" >&6
5406 rm -f conf$$ conf$$.
file
5407 echo "$as_me:$LINENO: checking for egrep" >&5
5408 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5409 if test "${ac_cv_prog_egrep+set}" = set; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
5412 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5413 then ac_cv_prog_egrep
='grep -E'
5414 else ac_cv_prog_egrep
='egrep'
5417 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5418 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5419 EGREP
=$ac_cv_prog_egrep
5422 # Extract the first word of "ldconfig", so it can be a program name with args.
5423 set dummy ldconfig
; ac_word
=$2
5424 echo "$as_me:$LINENO: checking for $ac_word" >&5
5425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5426 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 for as_dir
in /sbin
/usr
/sbin
$PATH
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5452 LDCONFIG
=$ac_cv_path_LDCONFIG
5454 if test -n "$LDCONFIG"; then
5455 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5456 echo "${ECHO_T}$LDCONFIG" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5462 # Find a good install program. We prefer a C program (faster),
5463 # so one script is as good as another. But avoid the broken or
5464 # incompatible versions:
5465 # SysV /etc/install, /usr/sbin/install
5466 # SunOS /usr/etc/install
5467 # IRIX /sbin/install
5469 # AmigaOS /C/install, which installs bootblocks on floppy discs
5470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5473 # OS/2's system install, which has a completely different semantic
5474 # ./install, which can be erroneously created by make from ./install.sh.
5475 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5476 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5477 if test -z "$INSTALL"; then
5478 if test "${ac_cv_path_install+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir
=.
5486 # Account for people who put trailing slashes in PATH elements.
5488 .
/ | .
// |
/cC
/* | \
5489 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5490 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5493 # OSF1 and SCO ODT 3.0 have their own names for install.
5494 # Don't use installbsd from OSF since it installs stuff as root
5496 for ac_prog
in ginstall scoinst
install; do
5497 for ac_exec_ext
in '' $ac_executable_extensions; do
5498 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5499 if test $ac_prog = install &&
5500 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5501 # AIX install. It has an incompatible calling convention.
5503 elif test $ac_prog = install &&
5504 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5505 # program-specific install script used by HP pwplus--don't use.
5508 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5520 if test "${ac_cv_path_install+set}" = set; then
5521 INSTALL
=$ac_cv_path_install
5523 # As a last resort, use the slow shell script. We don't cache a
5524 # path for INSTALL within a source directory, because that will
5525 # break other packages using the cache if that directory is
5526 # removed, or if the path is relative.
5527 INSTALL
=$ac_install_sh
5530 echo "$as_me:$LINENO: result: $INSTALL" >&5
5531 echo "${ECHO_T}$INSTALL" >&6
5533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5534 # It thinks the first close brace ends the variable substitution.
5535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5539 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5542 [\\/$
]* | ?
:[\\/]* ) ;;
5543 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5546 for ac_prog
in lclint lint
5548 # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy
$ac_prog; ac_word
=$2
5550 echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5552 if test "${ac_cv_prog_LINT+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 if test -n "$LINT"; then
5556 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_exec_ext
in '' $ac_executable_extensions; do
5564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_LINT
="$ac_prog"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 LINT
=$ac_cv_prog_LINT
5575 if test -n "$LINT"; then
5576 echo "$as_me:$LINENO: result: $LINT" >&5
5577 echo "${ECHO_T}$LINT" >&6
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5583 test -n "$LINT" && break
5586 if test "$LINT" = "lint"
5588 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5593 for ac_prog
in docbook2html db2html
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy
$ac_prog; ac_word
=$2
5597 echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5599 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 if test -n "$DB2HTML"; then
5603 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir
=.
5610 for ac_exec_ext
in '' $ac_executable_extensions; do
5611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_DB2HTML
="$ac_prog"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 DB2HTML
=$ac_cv_prog_DB2HTML
5622 if test -n "$DB2HTML"; then
5623 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5624 echo "${ECHO_T}$DB2HTML" >&6
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5630 test -n "$DB2HTML" && break
5632 test -n "$DB2HTML" || DB2HTML
="false"
5634 for ac_prog
in docbook2pdf db2pdf
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy
$ac_prog; ac_word
=$2
5638 echo "$as_me:$LINENO: checking for $ac_word" >&5
5639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5640 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 if test -n "$DB2PDF"; then
5644 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_DB2PDF
="$ac_prog"
5654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 DB2PDF
=$ac_cv_prog_DB2PDF
5663 if test -n "$DB2PDF"; then
5664 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5665 echo "${ECHO_T}$DB2PDF" >&6
5667 echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6
5671 test -n "$DB2PDF" && break
5673 test -n "$DB2PDF" || DB2PDF
="false"
5675 for ac_prog
in docbook2ps db2ps
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy
$ac_prog; ac_word
=$2
5679 echo "$as_me:$LINENO: checking for $ac_word" >&5
5680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5681 if test "${ac_cv_prog_DB2PS+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 if test -n "$DB2PS"; then
5685 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir
=.
5692 for ac_exec_ext
in '' $ac_executable_extensions; do
5693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_DB2PS
="$ac_prog"
5695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 DB2PS
=$ac_cv_prog_DB2PS
5704 if test -n "$DB2PS"; then
5705 echo "$as_me:$LINENO: result: $DB2PS" >&5
5706 echo "${ECHO_T}$DB2PS" >&6
5708 echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6
5712 test -n "$DB2PS" && break
5714 test -n "$DB2PS" || DB2PS
="false"
5716 for ac_prog
in docbook2txt db2txt
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy
$ac_prog; ac_word
=$2
5720 echo "$as_me:$LINENO: checking for $ac_word" >&5
5721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5722 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 if test -n "$DB2TXT"; then
5726 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir
=.
5733 for ac_exec_ext
in '' $ac_executable_extensions; do
5734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_DB2TXT
="$ac_prog"
5736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 DB2TXT
=$ac_cv_prog_DB2TXT
5745 if test -n "$DB2TXT"; then
5746 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5747 echo "${ECHO_T}$DB2TXT" >&6
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5753 test -n "$DB2TXT" && break
5755 test -n "$DB2TXT" || DB2TXT
="false"
5757 for ac_prog
in fontforge
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy
$ac_prog; ac_word
=$2
5761 echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5763 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$FONTFORGE"; then
5767 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_FONTFORGE
="$ac_prog"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 FONTFORGE
=$ac_cv_prog_FONTFORGE
5786 if test -n "$FONTFORGE"; then
5787 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5788 echo "${ECHO_T}$FONTFORGE" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5794 test -n "$FONTFORGE" && break
5796 test -n "$FONTFORGE" || FONTFORGE
="false"
5801 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5802 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5803 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 ac_check_lib_save_LIBS
=$LIBS
5808 cat >conftest.
$ac_ext <<_ACEOF
5811 cat confdefs.h
>>conftest.
$ac_ext
5812 cat >>conftest.
$ac_ext <<_ACEOF
5813 /* end confdefs.h. */
5815 /* Override any gcc2 internal prototype to avoid an error. */
5819 /* We use char because int might match the return type of a gcc2
5820 builtin and then its argument prototype would still apply. */
5821 char i386_set_ldt ();
5830 rm -f conftest.
$ac_objext conftest
$ac_exeext
5831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5832 (eval $ac_link) 2>conftest.er1
5834 grep -v '^ *+' conftest.er1
>conftest.err
5836 cat conftest.err
>&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); } &&
5839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; } &&
5845 { ac_try
='test -s conftest$ac_exeext'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; }; then
5851 ac_cv_lib_i386_i386_set_ldt
=yes
5853 echo "$as_me: failed program was:" >&5
5854 sed 's/^/| /' conftest.
$ac_ext >&5
5856 ac_cv_lib_i386_i386_set_ldt
=no
5858 rm -f conftest.err conftest.
$ac_objext \
5859 conftest
$ac_exeext conftest.
$ac_ext
5860 LIBS
=$ac_check_lib_save_LIBS
5862 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5863 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5864 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5865 cat >>confdefs.h
<<_ACEOF
5866 #define HAVE_LIBI386 1
5874 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5875 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5876 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 ac_check_lib_save_LIBS
=$LIBS
5880 LIBS
="-lossaudio $LIBS"
5881 cat >conftest.
$ac_ext <<_ACEOF
5884 cat confdefs.h
>>conftest.
$ac_ext
5885 cat >>conftest.
$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5888 /* Override any gcc2 internal prototype to avoid an error. */
5892 /* We use char because int might match the return type of a gcc2
5893 builtin and then its argument prototype would still apply. */
5903 rm -f conftest.
$ac_objext conftest
$ac_exeext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5905 (eval $ac_link) 2>conftest.er1
5907 grep -v '^ *+' conftest.er1
>conftest.err
5909 cat conftest.err
>&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); } &&
5912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; } &&
5918 { ac_try
='test -s conftest$ac_exeext'
5919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); }; }; then
5924 ac_cv_lib_ossaudio__oss_ioctl
=yes
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.
$ac_ext >&5
5929 ac_cv_lib_ossaudio__oss_ioctl
=no
5931 rm -f conftest.err conftest.
$ac_objext \
5932 conftest
$ac_exeext conftest.
$ac_ext
5933 LIBS
=$ac_check_lib_save_LIBS
5935 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5936 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5937 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5938 cat >>confdefs.h
<<_ACEOF
5939 #define HAVE_LIBOSSAUDIO 1
5942 LIBS
="-lossaudio $LIBS"
5947 for ac_func
in iswalnum
5949 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5950 echo "$as_me:$LINENO: checking for $ac_func" >&5
5951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5952 if eval "test \"\${$as_ac_var+set}\" = set"; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5955 cat >conftest.
$ac_ext <<_ACEOF
5958 cat confdefs.h
>>conftest.
$ac_ext
5959 cat >>conftest.
$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5963 #define $ac_func innocuous_$ac_func
5965 /* System header to define __stub macros and hopefully few prototypes,
5966 which can conflict with char $ac_func (); below.
5967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5968 <limits.h> exists even on freestanding compilers. */
5971 # include <limits.h>
5973 # include <assert.h>
5978 /* Override any gcc2 internal prototype to avoid an error. */
5983 /* We use char because int might match the return type of a gcc2
5984 builtin and then its argument prototype would still apply. */
5986 /* The GNU C library defines this for functions which it implements
5987 to always fail with ENOSYS. Some functions are actually named
5988 something starting with __ and the normal name is an alias. */
5989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5992 char (*f) () = $ac_func;
6001 return f != $ac_func;
6006 rm -f conftest.
$ac_objext conftest
$ac_exeext
6007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6008 (eval $ac_link) 2>conftest.er1
6010 grep -v '^ *+' conftest.er1
>conftest.err
6012 cat conftest.err
>&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } &&
6015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; } &&
6021 { ac_try
='test -s conftest$ac_exeext'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; }; then
6027 eval "$as_ac_var=yes"
6029 echo "$as_me: failed program was:" >&5
6030 sed 's/^/| /' conftest.
$ac_ext >&5
6032 eval "$as_ac_var=no"
6034 rm -f conftest.err conftest.
$ac_objext \
6035 conftest
$ac_exeext conftest.
$ac_ext
6037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6039 if test `eval echo '${'$as_ac_var'}'` = yes; then
6040 cat >>confdefs.h
<<_ACEOF
6041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6046 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6047 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6048 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 ac_check_lib_save_LIBS
=$LIBS
6053 cat >conftest.
$ac_ext <<_ACEOF
6056 cat confdefs.h
>>conftest.
$ac_ext
6057 cat >>conftest.
$ac_ext <<_ACEOF
6058 /* end confdefs.h. */
6060 /* Override any gcc2 internal prototype to avoid an error. */
6064 /* We use char because int might match the return type of a gcc2
6065 builtin and then its argument prototype would still apply. */
6075 rm -f conftest.
$ac_objext conftest
$ac_exeext
6076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6077 (eval $ac_link) 2>conftest.er1
6079 grep -v '^ *+' conftest.er1
>conftest.err
6081 cat conftest.err
>&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); } &&
6084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); }; } &&
6090 { ac_try
='test -s conftest$ac_exeext'
6091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); }; }; then
6096 ac_cv_lib_w_iswalnum
=yes
6098 echo "$as_me: failed program was:" >&5
6099 sed 's/^/| /' conftest.
$ac_ext >&5
6101 ac_cv_lib_w_iswalnum
=no
6103 rm -f conftest.err conftest.
$ac_objext \
6104 conftest
$ac_exeext conftest.
$ac_ext
6105 LIBS
=$ac_check_lib_save_LIBS
6107 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6108 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6109 if test $ac_cv_lib_w_iswalnum = yes; then
6110 cat >>confdefs.h
<<_ACEOF
6122 for ac_func
in gethostbyname
6124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6125 echo "$as_me:$LINENO: checking for $ac_func" >&5
6126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6127 if eval "test \"\${$as_ac_var+set}\" = set"; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 cat >conftest.
$ac_ext <<_ACEOF
6133 cat confdefs.h
>>conftest.
$ac_ext
6134 cat >>conftest.
$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6138 #define $ac_func innocuous_$ac_func
6140 /* System header to define __stub macros and hopefully few prototypes,
6141 which can conflict with char $ac_func (); below.
6142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6143 <limits.h> exists even on freestanding compilers. */
6146 # include <limits.h>
6148 # include <assert.h>
6153 /* Override any gcc2 internal prototype to avoid an error. */
6158 /* We use char because int might match the return type of a gcc2
6159 builtin and then its argument prototype would still apply. */
6161 /* The GNU C library defines this for functions which it implements
6162 to always fail with ENOSYS. Some functions are actually named
6163 something starting with __ and the normal name is an alias. */
6164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6167 char (*f) () = $ac_func;
6176 return f != $ac_func;
6181 rm -f conftest.
$ac_objext conftest
$ac_exeext
6182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6183 (eval $ac_link) 2>conftest.er1
6185 grep -v '^ *+' conftest.er1
>conftest.err
6187 cat conftest.err
>&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } &&
6190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; } &&
6196 { ac_try
='test -s conftest$ac_exeext'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; }; then
6202 eval "$as_ac_var=yes"
6204 echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.
$ac_ext >&5
6207 eval "$as_ac_var=no"
6209 rm -f conftest.err conftest.
$ac_objext \
6210 conftest
$ac_exeext conftest.
$ac_ext
6212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6214 if test `eval echo '${'$as_ac_var'}'` = yes; then
6215 cat >>confdefs.h
<<_ACEOF
6216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6221 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6222 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6223 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 ac_check_lib_save_LIBS
=$LIBS
6228 cat >conftest.
$ac_ext <<_ACEOF
6231 cat confdefs.h
>>conftest.
$ac_ext
6232 cat >>conftest.
$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6235 /* Override any gcc2 internal prototype to avoid an error. */
6239 /* We use char because int might match the return type of a gcc2
6240 builtin and then its argument prototype would still apply. */
6241 char gethostbyname ();
6250 rm -f conftest.
$ac_objext conftest
$ac_exeext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6252 (eval $ac_link) 2>conftest.er1
6254 grep -v '^ *+' conftest.er1
>conftest.err
6256 cat conftest.err
>&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } &&
6259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); }; } &&
6265 { ac_try
='test -s conftest$ac_exeext'
6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); }; }; then
6271 ac_cv_lib_nsl_gethostbyname
=yes
6273 echo "$as_me: failed program was:" >&5
6274 sed 's/^/| /' conftest.
$ac_ext >&5
6276 ac_cv_lib_nsl_gethostbyname
=no
6278 rm -f conftest.err conftest.
$ac_objext \
6279 conftest
$ac_exeext conftest.
$ac_ext
6280 LIBS
=$ac_check_lib_save_LIBS
6282 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6283 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6284 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6285 cat >>confdefs.h
<<_ACEOF
6286 #define HAVE_LIBNSL 1
6297 for ac_func
in connect
6299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6300 echo "$as_me:$LINENO: checking for $ac_func" >&5
6301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6302 if eval "test \"\${$as_ac_var+set}\" = set"; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 cat >conftest.
$ac_ext <<_ACEOF
6308 cat confdefs.h
>>conftest.
$ac_ext
6309 cat >>conftest.
$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6313 #define $ac_func innocuous_$ac_func
6315 /* System header to define __stub macros and hopefully few prototypes,
6316 which can conflict with char $ac_func (); below.
6317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6318 <limits.h> exists even on freestanding compilers. */
6321 # include <limits.h>
6323 # include <assert.h>
6328 /* Override any gcc2 internal prototype to avoid an error. */
6333 /* We use char because int might match the return type of a gcc2
6334 builtin and then its argument prototype would still apply. */
6336 /* The GNU C library defines this for functions which it implements
6337 to always fail with ENOSYS. Some functions are actually named
6338 something starting with __ and the normal name is an alias. */
6339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6342 char (*f) () = $ac_func;
6351 return f != $ac_func;
6356 rm -f conftest.
$ac_objext conftest
$ac_exeext
6357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6358 (eval $ac_link) 2>conftest.er1
6360 grep -v '^ *+' conftest.er1
>conftest.err
6362 cat conftest.err
>&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } &&
6365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; } &&
6371 { ac_try
='test -s conftest$ac_exeext'
6372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); }; }; then
6377 eval "$as_ac_var=yes"
6379 echo "$as_me: failed program was:" >&5
6380 sed 's/^/| /' conftest.
$ac_ext >&5
6382 eval "$as_ac_var=no"
6384 rm -f conftest.err conftest.
$ac_objext \
6385 conftest
$ac_exeext conftest.
$ac_ext
6387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6389 if test `eval echo '${'$as_ac_var'}'` = yes; then
6390 cat >>confdefs.h
<<_ACEOF
6391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6396 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6397 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6398 if test "${ac_cv_lib_socket_connect+set}" = set; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6401 ac_check_lib_save_LIBS
=$LIBS
6402 LIBS
="-lsocket $LIBS"
6403 cat >conftest.
$ac_ext <<_ACEOF
6406 cat confdefs.h
>>conftest.
$ac_ext
6407 cat >>conftest.
$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6410 /* Override any gcc2 internal prototype to avoid an error. */
6414 /* We use char because int might match the return type of a gcc2
6415 builtin and then its argument prototype would still apply. */
6425 rm -f conftest.
$ac_objext conftest
$ac_exeext
6426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6427 (eval $ac_link) 2>conftest.er1
6429 grep -v '^ *+' conftest.er1
>conftest.err
6431 cat conftest.err
>&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } &&
6434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); }; } &&
6440 { ac_try
='test -s conftest$ac_exeext'
6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); }; }; then
6446 ac_cv_lib_socket_connect
=yes
6448 echo "$as_me: failed program was:" >&5
6449 sed 's/^/| /' conftest.
$ac_ext >&5
6451 ac_cv_lib_socket_connect
=no
6453 rm -f conftest.err conftest.
$ac_objext \
6454 conftest
$ac_exeext conftest.
$ac_ext
6455 LIBS
=$ac_check_lib_save_LIBS
6457 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6458 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6459 if test $ac_cv_lib_socket_connect = yes; then
6460 cat >>confdefs.h
<<_ACEOF
6461 #define HAVE_LIBSOCKET 1
6464 LIBS
="-lsocket $LIBS"
6472 for ac_func
in inet_aton
6474 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6475 echo "$as_me:$LINENO: checking for $ac_func" >&5
6476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6477 if eval "test \"\${$as_ac_var+set}\" = set"; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 cat >conftest.
$ac_ext <<_ACEOF
6483 cat confdefs.h
>>conftest.
$ac_ext
6484 cat >>conftest.
$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6488 #define $ac_func innocuous_$ac_func
6490 /* System header to define __stub macros and hopefully few prototypes,
6491 which can conflict with char $ac_func (); below.
6492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6493 <limits.h> exists even on freestanding compilers. */
6496 # include <limits.h>
6498 # include <assert.h>
6503 /* Override any gcc2 internal prototype to avoid an error. */
6508 /* We use char because int might match the return type of a gcc2
6509 builtin and then its argument prototype would still apply. */
6511 /* The GNU C library defines this for functions which it implements
6512 to always fail with ENOSYS. Some functions are actually named
6513 something starting with __ and the normal name is an alias. */
6514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6517 char (*f) () = $ac_func;
6526 return f != $ac_func;
6531 rm -f conftest.
$ac_objext conftest
$ac_exeext
6532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6533 (eval $ac_link) 2>conftest.er1
6535 grep -v '^ *+' conftest.er1
>conftest.err
6537 cat conftest.err
>&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } &&
6540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; } &&
6546 { ac_try
='test -s conftest$ac_exeext'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; }; then
6552 eval "$as_ac_var=yes"
6554 echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.
$ac_ext >&5
6557 eval "$as_ac_var=no"
6559 rm -f conftest.err conftest.
$ac_objext \
6560 conftest
$ac_exeext conftest.
$ac_ext
6562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6564 if test `eval echo '${'$as_ac_var'}'` = yes; then
6565 cat >>confdefs.h
<<_ACEOF
6566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6571 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6572 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6573 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6574 echo $ECHO_N "(cached) $ECHO_C" >&6
6576 ac_check_lib_save_LIBS
=$LIBS
6577 LIBS
="-lresolv $LIBS"
6578 cat >conftest.
$ac_ext <<_ACEOF
6581 cat confdefs.h
>>conftest.
$ac_ext
6582 cat >>conftest.
$ac_ext <<_ACEOF
6583 /* end confdefs.h. */
6585 /* Override any gcc2 internal prototype to avoid an error. */
6589 /* We use char because int might match the return type of a gcc2
6590 builtin and then its argument prototype would still apply. */
6600 rm -f conftest.
$ac_objext conftest
$ac_exeext
6601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6602 (eval $ac_link) 2>conftest.er1
6604 grep -v '^ *+' conftest.er1
>conftest.err
6606 cat conftest.err
>&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } &&
6609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; } &&
6615 { ac_try
='test -s conftest$ac_exeext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6621 ac_cv_lib_resolv_inet_aton
=yes
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.
$ac_ext >&5
6626 ac_cv_lib_resolv_inet_aton
=no
6628 rm -f conftest.err conftest.
$ac_objext \
6629 conftest
$ac_exeext conftest.
$ac_ext
6630 LIBS
=$ac_check_lib_save_LIBS
6632 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6633 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6634 if test $ac_cv_lib_resolv_inet_aton = yes; then
6635 cat >>confdefs.h
<<_ACEOF
6636 #define HAVE_LIBRESOLV 1
6639 LIBS
="-lresolv $LIBS"
6647 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6648 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6649 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6652 ac_check_lib_save_LIBS
=$LIBS
6654 cat >conftest.
$ac_ext <<_ACEOF
6657 cat confdefs.h
>>conftest.
$ac_ext
6658 cat >>conftest.
$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6661 /* Override any gcc2 internal prototype to avoid an error. */
6665 /* We use char because int might match the return type of a gcc2
6666 builtin and then its argument prototype would still apply. */
6667 char _xpg4_setrunelocale ();
6671 _xpg4_setrunelocale ();
6676 rm -f conftest.
$ac_objext conftest
$ac_exeext
6677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6678 (eval $ac_link) 2>conftest.er1
6680 grep -v '^ *+' conftest.er1
>conftest.err
6682 cat conftest.err
>&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); } &&
6685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try
='test -s conftest$ac_exeext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6697 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.
$ac_ext >&5
6702 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6704 rm -f conftest.err conftest.
$ac_objext \
6705 conftest
$ac_exeext conftest.
$ac_ext
6706 LIBS
=$ac_check_lib_save_LIBS
6708 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6709 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6710 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6711 cat >>confdefs.h
<<_ACEOF
6712 #define HAVE_LIBXPG4 1
6720 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6721 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6722 if test "${ac_cv_lib_poll_poll+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 ac_check_lib_save_LIBS
=$LIBS
6727 cat >conftest.
$ac_ext <<_ACEOF
6730 cat confdefs.h
>>conftest.
$ac_ext
6731 cat >>conftest.
$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6734 /* Override any gcc2 internal prototype to avoid an error. */
6738 /* We use char because int might match the return type of a gcc2
6739 builtin and then its argument prototype would still apply. */
6749 rm -f conftest.
$ac_objext conftest
$ac_exeext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6751 (eval $ac_link) 2>conftest.er1
6753 grep -v '^ *+' conftest.er1
>conftest.err
6755 cat conftest.err
>&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } &&
6758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; } &&
6764 { ac_try
='test -s conftest$ac_exeext'
6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; }; then
6770 ac_cv_lib_poll_poll
=yes
6772 echo "$as_me: failed program was:" >&5
6773 sed 's/^/| /' conftest.
$ac_ext >&5
6775 ac_cv_lib_poll_poll
=no
6777 rm -f conftest.err conftest.
$ac_objext \
6778 conftest
$ac_exeext conftest.
$ac_ext
6779 LIBS
=$ac_check_lib_save_LIBS
6781 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6782 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6783 if test $ac_cv_lib_poll_poll = yes; then
6784 cat >>confdefs.h
<<_ACEOF
6785 #define HAVE_LIBPOLL 1
6793 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6794 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6795 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 ac_check_lib_save_LIBS
=$LIBS
6799 LIBS
="-lresolv $LIBS"
6800 cat >conftest.
$ac_ext <<_ACEOF
6803 cat confdefs.h
>>conftest.
$ac_ext
6804 cat >>conftest.
$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6807 /* Override any gcc2 internal prototype to avoid an error. */
6811 /* We use char because int might match the return type of a gcc2
6812 builtin and then its argument prototype would still apply. */
6822 rm -f conftest.
$ac_objext conftest
$ac_exeext
6823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6824 (eval $ac_link) 2>conftest.er1
6826 grep -v '^ *+' conftest.er1
>conftest.err
6828 cat conftest.err
>&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } &&
6831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; } &&
6837 { ac_try
='test -s conftest$ac_exeext'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; }; then
6843 ac_cv_lib_resolv_res_9_init
=yes
6845 echo "$as_me: failed program was:" >&5
6846 sed 's/^/| /' conftest.
$ac_ext >&5
6848 ac_cv_lib_resolv_res_9_init
=no
6850 rm -f conftest.err conftest.
$ac_objext \
6851 conftest
$ac_exeext conftest.
$ac_ext
6852 LIBS
=$ac_check_lib_save_LIBS
6854 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6855 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6856 if test $ac_cv_lib_resolv_res_9_init = yes; then
6857 cat >>confdefs.h
<<_ACEOF
6858 #define HAVE_LIBRESOLV 1
6861 LIBS
="-lresolv $LIBS"
6865 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6866 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6867 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 ac_check_lib_save_LIBS
=$LIBS
6871 LIBS
="-lpthread $LIBS"
6872 cat >conftest.
$ac_ext <<_ACEOF
6875 cat confdefs.h
>>conftest.
$ac_ext
6876 cat >>conftest.
$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6879 /* Override any gcc2 internal prototype to avoid an error. */
6883 /* We use char because int might match the return type of a gcc2
6884 builtin and then its argument prototype would still apply. */
6885 char pthread_create ();
6894 rm -f conftest.
$ac_objext conftest
$ac_exeext
6895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6896 (eval $ac_link) 2>conftest.er1
6898 grep -v '^ *+' conftest.er1
>conftest.err
6900 cat conftest.err
>&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } &&
6903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; } &&
6909 { ac_try
='test -s conftest$ac_exeext'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then
6915 ac_cv_lib_pthread_pthread_create
=yes
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.
$ac_ext >&5
6920 ac_cv_lib_pthread_pthread_create
=no
6922 rm -f conftest.err conftest.
$ac_objext \
6923 conftest
$ac_exeext conftest.
$ac_ext
6924 LIBS
=$ac_check_lib_save_LIBS
6926 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6927 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6928 if test $ac_cv_lib_pthread_pthread_create = yes; then
6929 LIBPTHREAD
="-lpthread"
6945 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6946 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6947 if test "${ac_cv_header_stdc+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 cat >conftest.
$ac_ext <<_ACEOF
6953 cat confdefs.h
>>conftest.
$ac_ext
6954 cat >>conftest.
$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6969 rm -f conftest.
$ac_objext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>conftest.er1
6973 grep -v '^ *+' conftest.er1
>conftest.err
6975 cat conftest.err
>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; } &&
6984 { ac_try
='test -s conftest.$ac_objext'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6990 ac_cv_header_stdc
=yes
6992 echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.
$ac_ext >&5
6995 ac_cv_header_stdc
=no
6997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6999 if test $ac_cv_header_stdc = yes; then
7000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7001 cat >conftest.
$ac_ext <<_ACEOF
7004 cat confdefs.h
>>conftest.
$ac_ext
7005 cat >>conftest.
$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7011 $EGREP "memchr" >/dev
/null
2>&1; then
7014 ac_cv_header_stdc
=no
7020 if test $ac_cv_header_stdc = yes; then
7021 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7022 cat >conftest.
$ac_ext <<_ACEOF
7025 cat confdefs.h
>>conftest.
$ac_ext
7026 cat >>conftest.
$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7032 $EGREP "free" >/dev
/null
2>&1; then
7035 ac_cv_header_stdc
=no
7041 if test $ac_cv_header_stdc = yes; then
7042 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7043 if test "$cross_compiling" = yes; then
7046 cat >conftest.
$ac_ext <<_ACEOF
7049 cat confdefs.h
>>conftest.
$ac_ext
7050 cat >>conftest.
$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7053 #if ((' ' & 0x0FF) == 0x020)
7054 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7055 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7057 # define ISLOWER(c) \
7058 (('a' <= (c) && (c) <= 'i') \
7059 || ('j' <= (c) && (c) <= 'r') \
7060 || ('s' <= (c) && (c) <= 'z'))
7061 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7064 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7069 for (i = 0; i < 256; i++)
7070 if (XOR (islower (i), ISLOWER (i))
7071 || toupper (i) != TOUPPER (i))
7076 rm -f conftest
$ac_exeext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7078 (eval $ac_link) 2>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; }; then
7089 echo "$as_me: program exited with status $ac_status" >&5
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.
$ac_ext >&5
7094 ac_cv_header_stdc
=no
7096 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7100 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7101 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7102 if test $ac_cv_header_stdc = yes; then
7104 cat >>confdefs.h
<<\_ACEOF
7105 #define STDC_HEADERS 1
7110 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7120 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7121 inttypes.h stdint.h unistd.h
7123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7124 echo "$as_me:$LINENO: checking for $ac_header" >&5
7125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 cat >conftest.
$ac_ext <<_ACEOF
7132 cat confdefs.h
>>conftest.
$ac_ext
7133 cat >>conftest.
$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7135 $ac_includes_default
7137 #include <$ac_header>
7139 rm -f conftest.
$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try
='test -s conftest.$ac_objext'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; }; then
7160 eval "$as_ac_Header=yes"
7162 echo "$as_me: failed program was:" >&5
7163 sed 's/^/| /' conftest.
$ac_ext >&5
7165 eval "$as_ac_Header=no"
7167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7172 cat >>confdefs.h
<<_ACEOF
7173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7271 fontconfig
/fontconfig.h \
7295 netinet
/in_systm.h \
7350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7352 echo "$as_me:$LINENO: checking for $ac_header" >&5
7353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7355 echo $ECHO_N "(cached) $ECHO_C" >&6
7357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7360 # Is the header compilable?
7361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7363 cat >conftest.
$ac_ext <<_ACEOF
7366 cat confdefs.h
>>conftest.
$ac_ext
7367 cat >>conftest.
$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7369 $ac_includes_default
7370 #include <$ac_header>
7372 rm -f conftest.
$ac_objext
7373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7374 (eval $ac_compile) 2>conftest.er1
7376 grep -v '^ *+' conftest.er1
>conftest.err
7378 cat conftest.err
>&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); } &&
7381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); }; } &&
7387 { ac_try
='test -s conftest.$ac_objext'
7388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); }; }; then
7393 ac_header_compiler
=yes
7395 echo "$as_me: failed program was:" >&5
7396 sed 's/^/| /' conftest.
$ac_ext >&5
7398 ac_header_compiler
=no
7400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7402 echo "${ECHO_T}$ac_header_compiler" >&6
7404 # Is the header present?
7405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7407 cat >conftest.
$ac_ext <<_ACEOF
7410 cat confdefs.h
>>conftest.
$ac_ext
7411 cat >>conftest.
$ac_ext <<_ACEOF
7412 /* end confdefs.h. */
7413 #include <$ac_header>
7415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7418 grep -v '^ *+' conftest.er1
>conftest.err
7420 cat conftest.err
>&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } >/dev
/null
; then
7423 if test -s conftest.err
; then
7424 ac_cpp_err
=$ac_c_preproc_warn_flag
7425 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7432 if test -z "$ac_cpp_err"; then
7433 ac_header_preproc
=yes
7435 echo "$as_me: failed program was:" >&5
7436 sed 's/^/| /' conftest.
$ac_ext >&5
7438 ac_header_preproc
=no
7440 rm -f conftest.err conftest.
$ac_ext
7441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7442 echo "${ECHO_T}$ac_header_preproc" >&6
7444 # So? What about this header?
7445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7451 ac_header_preproc
=yes
7454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7468 ## ------------------------------------ ##
7469 ## Report this to wine-devel@winehq.org ##
7470 ## ------------------------------------ ##
7473 sed "s/^/$as_me: WARNING: /" >&2
7476 echo "$as_me:$LINENO: checking for $ac_header" >&5
7477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 eval "$as_ac_Header=\$ac_header_preproc"
7483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7488 cat >>confdefs.h
<<_ACEOF
7489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7497 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7498 if test "${ac_cv_header_stat_broken+set}" = set; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 cat >conftest.
$ac_ext <<_ACEOF
7504 cat confdefs.h
>>conftest.
$ac_ext
7505 cat >>conftest.
$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <sys/types.h>
7508 #include <sys/stat.h>
7510 #if defined(S_ISBLK) && defined(S_IFDIR)
7511 # if S_ISBLK (S_IFDIR)
7516 #if defined(S_ISBLK) && defined(S_IFCHR)
7517 # if S_ISBLK (S_IFCHR)
7522 #if defined(S_ISLNK) && defined(S_IFREG)
7523 # if S_ISLNK (S_IFREG)
7528 #if defined(S_ISSOCK) && defined(S_IFREG)
7529 # if S_ISSOCK (S_IFREG)
7535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7536 $EGREP "You lose" >/dev
/null
2>&1; then
7537 ac_cv_header_stat_broken
=yes
7539 ac_cv_header_stat_broken
=no
7544 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7545 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7546 if test $ac_cv_header_stat_broken = yes; then
7548 cat >>confdefs.h
<<\_ACEOF
7549 #define STAT_MACROS_BROKEN 1
7556 if test "$have_x" = "yes"
7559 ac_save_CPPFLAGS
="$CPPFLAGS"
7560 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7563 for ac_header
in X11
/Xlib.h
7565 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7567 echo "$as_me:$LINENO: checking for $ac_header" >&5
7568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7575 # Is the header compilable?
7576 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7577 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7578 cat >conftest.
$ac_ext <<_ACEOF
7581 cat confdefs.h
>>conftest.
$ac_ext
7582 cat >>conftest.
$ac_ext <<_ACEOF
7583 /* end confdefs.h. */
7584 $ac_includes_default
7585 #include <$ac_header>
7587 rm -f conftest.
$ac_objext
7588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7589 (eval $ac_compile) 2>conftest.er1
7591 grep -v '^ *+' conftest.er1
>conftest.err
7593 cat conftest.err
>&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } &&
7596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; } &&
7602 { ac_try
='test -s conftest.$ac_objext'
7603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); }; }; then
7608 ac_header_compiler
=yes
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.
$ac_ext >&5
7613 ac_header_compiler
=no
7615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7617 echo "${ECHO_T}$ac_header_compiler" >&6
7619 # Is the header present?
7620 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7621 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7622 cat >conftest.
$ac_ext <<_ACEOF
7625 cat confdefs.h
>>conftest.
$ac_ext
7626 cat >>conftest.
$ac_ext <<_ACEOF
7627 /* end confdefs.h. */
7628 #include <$ac_header>
7630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7633 grep -v '^ *+' conftest.er1
>conftest.err
7635 cat conftest.err
>&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } >/dev
/null
; then
7638 if test -s conftest.err
; then
7639 ac_cpp_err
=$ac_c_preproc_warn_flag
7640 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7647 if test -z "$ac_cpp_err"; then
7648 ac_header_preproc
=yes
7650 echo "$as_me: failed program was:" >&5
7651 sed 's/^/| /' conftest.
$ac_ext >&5
7653 ac_header_preproc
=no
7655 rm -f conftest.err conftest.
$ac_ext
7656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7657 echo "${ECHO_T}$ac_header_preproc" >&6
7659 # So? What about this header?
7660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7662 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7663 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7664 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7665 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7666 ac_header_preproc
=yes
7669 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7670 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7671 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7672 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7673 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7674 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7675 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7676 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7678 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7679 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7680 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7683 ## ------------------------------------ ##
7684 ## Report this to wine-devel@winehq.org ##
7685 ## ------------------------------------ ##
7688 sed "s/^/$as_me: WARNING: /" >&2
7691 echo "$as_me:$LINENO: checking for $ac_header" >&5
7692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 eval "$as_ac_Header=\$ac_header_preproc"
7698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7703 cat >>confdefs.h
<<_ACEOF
7704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7716 for ac_header
in X11
/XKBlib.h \
7718 X11
/extensions
/shape.h \
7719 X11
/extensions
/XInput.h \
7720 X11
/extensions
/XShm.h \
7721 X11
/extensions
/Xrandr.h \
7722 X11
/extensions
/Xrender.h \
7723 X11
/extensions
/xf86dga.h \
7724 X11
/extensions
/xf86vmode.h
7726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7727 echo "$as_me:$LINENO: checking for $ac_header" >&5
7728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 cat >conftest.
$ac_ext <<_ACEOF
7735 cat confdefs.h
>>conftest.
$ac_ext
7736 cat >>conftest.
$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7738 #include <X11/Xlib.h>
7739 #ifdef HAVE_X11_XUTIL_H
7740 # include <X11/Xutil.h>
7743 #include <$ac_header>
7745 rm -f conftest.
$ac_objext
7746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7747 (eval $ac_compile) 2>conftest.er1
7749 grep -v '^ *+' conftest.er1
>conftest.err
7751 cat conftest.err
>&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } &&
7754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; } &&
7760 { ac_try
='test -s conftest.$ac_objext'
7761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); }; }; then
7766 eval "$as_ac_Header=yes"
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.
$ac_ext >&5
7771 eval "$as_ac_Header=no"
7773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7778 cat >>confdefs.h
<<_ACEOF
7779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7787 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7789 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7790 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7791 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7792 echo $ECHO_N "(cached) $ECHO_C" >&6
7794 ac_check_lib_save_LIBS
=$LIBS
7795 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7796 cat >conftest.
$ac_ext <<_ACEOF
7799 cat confdefs.h
>>conftest.
$ac_ext
7800 cat >>conftest.
$ac_ext <<_ACEOF
7801 /* end confdefs.h. */
7803 /* Override any gcc2 internal prototype to avoid an error. */
7807 /* We use char because int might match the return type of a gcc2
7808 builtin and then its argument prototype would still apply. */
7809 char XkbQueryExtension ();
7813 XkbQueryExtension ();
7818 rm -f conftest.
$ac_objext conftest
$ac_exeext
7819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7820 (eval $ac_link) 2>conftest.er1
7822 grep -v '^ *+' conftest.er1
>conftest.err
7824 cat conftest.err
>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } &&
7827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; } &&
7833 { ac_try
='test -s conftest$ac_exeext'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; }; then
7839 ac_cv_lib_X11_XkbQueryExtension
=yes
7841 echo "$as_me: failed program was:" >&5
7842 sed 's/^/| /' conftest.
$ac_ext >&5
7844 ac_cv_lib_X11_XkbQueryExtension
=no
7846 rm -f conftest.err conftest.
$ac_objext \
7847 conftest
$ac_exeext conftest.
$ac_ext
7848 LIBS
=$ac_check_lib_save_LIBS
7850 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7851 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7852 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7854 cat >>confdefs.h
<<\_ACEOF
7862 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7864 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7865 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7866 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 ac_check_lib_save_LIBS
=$LIBS
7870 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7871 cat >conftest.
$ac_ext <<_ACEOF
7874 cat confdefs.h
>>conftest.
$ac_ext
7875 cat >>conftest.
$ac_ext <<_ACEOF
7876 /* end confdefs.h. */
7878 /* Override any gcc2 internal prototype to avoid an error. */
7882 /* We use char because int might match the return type of a gcc2
7883 builtin and then its argument prototype would still apply. */
7884 char XShmQueryExtension ();
7888 XShmQueryExtension ();
7893 rm -f conftest.
$ac_objext conftest
$ac_exeext
7894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7895 (eval $ac_link) 2>conftest.er1
7897 grep -v '^ *+' conftest.er1
>conftest.err
7899 cat conftest.err
>&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } &&
7902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; } &&
7908 { ac_try
='test -s conftest$ac_exeext'
7909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; }; then
7914 ac_cv_lib_Xext_XShmQueryExtension
=yes
7916 echo "$as_me: failed program was:" >&5
7917 sed 's/^/| /' conftest.
$ac_ext >&5
7919 ac_cv_lib_Xext_XShmQueryExtension
=no
7921 rm -f conftest.err conftest.
$ac_objext \
7922 conftest
$ac_exeext conftest.
$ac_ext
7923 LIBS
=$ac_check_lib_save_LIBS
7925 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7926 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7927 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7929 cat >>confdefs.h
<<\_ACEOF
7930 #define HAVE_LIBXXSHM 1
7937 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7939 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7940 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7941 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7944 ac_check_lib_save_LIBS
=$LIBS
7945 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7946 cat >conftest.
$ac_ext <<_ACEOF
7949 cat confdefs.h
>>conftest.
$ac_ext
7950 cat >>conftest.
$ac_ext <<_ACEOF
7951 /* end confdefs.h. */
7953 /* Override any gcc2 internal prototype to avoid an error. */
7957 /* We use char because int might match the return type of a gcc2
7958 builtin and then its argument prototype would still apply. */
7959 char XShapeQueryExtension ();
7963 XShapeQueryExtension ();
7968 rm -f conftest.
$ac_objext conftest
$ac_exeext
7969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7970 (eval $ac_link) 2>conftest.er1
7972 grep -v '^ *+' conftest.er1
>conftest.err
7974 cat conftest.err
>&5
7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976 (exit $ac_status); } &&
7977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 (exit $ac_status); }; } &&
7983 { ac_try
='test -s conftest$ac_exeext'
7984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); }; }; then
7989 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7991 echo "$as_me: failed program was:" >&5
7992 sed 's/^/| /' conftest.
$ac_ext >&5
7994 ac_cv_lib_Xext_XShapeQueryExtension
=no
7996 rm -f conftest.err conftest.
$ac_objext \
7997 conftest
$ac_exeext conftest.
$ac_ext
7998 LIBS
=$ac_check_lib_save_LIBS
8000 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8001 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8002 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8004 cat >>confdefs.h
<<\_ACEOF
8005 #define HAVE_LIBXSHAPE 1
8012 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8014 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8015 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8016 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 ac_check_lib_save_LIBS
=$LIBS
8020 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8021 cat >conftest.
$ac_ext <<_ACEOF
8024 cat confdefs.h
>>conftest.
$ac_ext
8025 cat >>conftest.
$ac_ext <<_ACEOF
8026 /* end confdefs.h. */
8028 /* Override any gcc2 internal prototype to avoid an error. */
8032 /* We use char because int might match the return type of a gcc2
8033 builtin and then its argument prototype would still apply. */
8034 char XDGAQueryExtension ();
8038 XDGAQueryExtension ();
8043 rm -f conftest.
$ac_objext conftest
$ac_exeext
8044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8045 (eval $ac_link) 2>conftest.er1
8047 grep -v '^ *+' conftest.er1
>conftest.err
8049 cat conftest.err
>&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); } &&
8052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); }; } &&
8058 { ac_try
='test -s conftest$ac_exeext'
8059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); }; }; then
8064 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8066 echo "$as_me: failed program was:" >&5
8067 sed 's/^/| /' conftest.
$ac_ext >&5
8069 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8071 rm -f conftest.err conftest.
$ac_objext \
8072 conftest
$ac_exeext conftest.
$ac_ext
8073 LIBS
=$ac_check_lib_save_LIBS
8075 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8076 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8077 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8079 cat >>confdefs.h
<<\_ACEOF
8080 #define HAVE_LIBXXF86DGA2 1
8083 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8089 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8091 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8092 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8093 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8094 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 ac_check_lib_save_LIBS
=$LIBS
8097 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8098 cat >conftest.
$ac_ext <<_ACEOF
8101 cat confdefs.h
>>conftest.
$ac_ext
8102 cat >>conftest.
$ac_ext <<_ACEOF
8103 /* end confdefs.h. */
8105 /* Override any gcc2 internal prototype to avoid an error. */
8109 /* We use char because int might match the return type of a gcc2
8110 builtin and then its argument prototype would still apply. */
8111 char XF86VidModeQueryExtension ();
8115 XF86VidModeQueryExtension ();
8120 rm -f conftest.
$ac_objext conftest
$ac_exeext
8121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8122 (eval $ac_link) 2>conftest.er1
8124 grep -v '^ *+' conftest.er1
>conftest.err
8126 cat conftest.err
>&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); } &&
8129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); }; } &&
8135 { ac_try
='test -s conftest$ac_exeext'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; }; then
8141 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.
$ac_ext >&5
8146 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8148 rm -f conftest.err conftest.
$ac_objext \
8149 conftest
$ac_exeext conftest.
$ac_ext
8150 LIBS
=$ac_check_lib_save_LIBS
8152 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8153 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8154 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8156 cat >>confdefs.h
<<\_ACEOF
8157 #define HAVE_LIBXXF86VM 1
8160 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8166 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8168 cat >conftest.
$ac_ext <<_ACEOF
8171 cat confdefs.h
>>conftest.
$ac_ext
8172 cat >>conftest.
$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 #include <X11/Xlib.h>
8175 #include <X11/extensions/Xrandr.h>
8179 static typeof(XRRSetScreenConfigAndRate) * func;
8184 rm -f conftest.
$ac_objext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8186 (eval $ac_compile) 2>conftest.er1
8188 grep -v '^ *+' conftest.er1
>conftest.err
8190 cat conftest.err
>&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); }; } &&
8199 { ac_try
='test -s conftest.$ac_objext'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; }; then
8206 cat >>confdefs.h
<<\_ACEOF
8207 #define HAVE_LIBXRANDR 1
8211 echo "$as_me: failed program was:" >&5
8212 sed 's/^/| /' conftest.
$ac_ext >&5
8215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8218 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8220 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8221 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8222 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8225 ac_check_lib_save_LIBS
=$LIBS
8226 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8227 cat >conftest.
$ac_ext <<_ACEOF
8230 cat confdefs.h
>>conftest.
$ac_ext
8231 cat >>conftest.
$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8234 /* Override any gcc2 internal prototype to avoid an error. */
8238 /* We use char because int might match the return type of a gcc2
8239 builtin and then its argument prototype would still apply. */
8240 char XRenderSetPictureTransform ();
8244 XRenderSetPictureTransform ();
8249 rm -f conftest.
$ac_objext conftest
$ac_exeext
8250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8251 (eval $ac_link) 2>conftest.er1
8253 grep -v '^ *+' conftest.er1
>conftest.err
8255 cat conftest.err
>&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); } &&
8258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); }; } &&
8264 { ac_try
='test -s conftest$ac_exeext'
8265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); }; }; then
8270 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8272 echo "$as_me: failed program was:" >&5
8273 sed 's/^/| /' conftest.
$ac_ext >&5
8275 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8277 rm -f conftest.err conftest.
$ac_objext \
8278 conftest
$ac_exeext conftest.
$ac_ext
8279 LIBS
=$ac_check_lib_save_LIBS
8281 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8282 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8283 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8285 cat >>confdefs.h
<<\_ACEOF
8286 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8298 if test "x$with_opengl" != "xno"
8300 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8302 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8303 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8304 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8305 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8306 { (exit 1); exit 1; }; }
8311 for ac_header
in GL
/gl.h GL
/glx.h
8313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8315 echo "$as_me:$LINENO: checking for $ac_header" >&5
8316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8318 echo $ECHO_N "(cached) $ECHO_C" >&6
8320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8323 # Is the header compilable?
8324 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8326 cat >conftest.
$ac_ext <<_ACEOF
8329 cat confdefs.h
>>conftest.
$ac_ext
8330 cat >>conftest.
$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8332 $ac_includes_default
8333 #include <$ac_header>
8335 rm -f conftest.
$ac_objext
8336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8337 (eval $ac_compile) 2>conftest.er1
8339 grep -v '^ *+' conftest.er1
>conftest.err
8341 cat conftest.err
>&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); } &&
8344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; } &&
8350 { ac_try
='test -s conftest.$ac_objext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8356 ac_header_compiler
=yes
8358 echo "$as_me: failed program was:" >&5
8359 sed 's/^/| /' conftest.
$ac_ext >&5
8361 ac_header_compiler
=no
8363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8365 echo "${ECHO_T}$ac_header_compiler" >&6
8367 # Is the header present?
8368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8370 cat >conftest.
$ac_ext <<_ACEOF
8373 cat confdefs.h
>>conftest.
$ac_ext
8374 cat >>conftest.
$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8376 #include <$ac_header>
8378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8381 grep -v '^ *+' conftest.er1
>conftest.err
8383 cat conftest.err
>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); } >/dev
/null
; then
8386 if test -s conftest.err
; then
8387 ac_cpp_err
=$ac_c_preproc_warn_flag
8388 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8395 if test -z "$ac_cpp_err"; then
8396 ac_header_preproc
=yes
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.
$ac_ext >&5
8401 ac_header_preproc
=no
8403 rm -f conftest.err conftest.
$ac_ext
8404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8405 echo "${ECHO_T}$ac_header_preproc" >&6
8407 # So? What about this header?
8408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8414 ac_header_preproc
=yes
8417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8431 ## ------------------------------------ ##
8432 ## Report this to wine-devel@winehq.org ##
8433 ## ------------------------------------ ##
8436 sed "s/^/$as_me: WARNING: /" >&2
8439 echo "$as_me:$LINENO: checking for $ac_header" >&5
8440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8444 eval "$as_ac_Header=\$ac_header_preproc"
8446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8451 cat >>confdefs.h
<<_ACEOF
8452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8459 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8462 for ac_header
in GL
/glext.h
8464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8465 echo "$as_me:$LINENO: checking for $ac_header" >&5
8466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8470 cat >conftest.
$ac_ext <<_ACEOF
8473 cat confdefs.h
>>conftest.
$ac_ext
8474 cat >>conftest.
$ac_ext <<_ACEOF
8475 /* end confdefs.h. */
8478 #include <$ac_header>
8480 rm -f conftest.
$ac_objext
8481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8482 (eval $ac_compile) 2>conftest.er1
8484 grep -v '^ *+' conftest.er1
>conftest.err
8486 cat conftest.err
>&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); }; } &&
8495 { ac_try
='test -s conftest.$ac_objext'
8496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; }; then
8501 eval "$as_ac_Header=yes"
8503 echo "$as_me: failed program was:" >&5
8504 sed 's/^/| /' conftest.
$ac_ext >&5
8506 eval "$as_ac_Header=no"
8508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8513 cat >>confdefs.h
<<_ACEOF
8514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8521 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8522 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8523 if test "${wine_cv_opengl_version_OK+set}" = set; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 cat >conftest.
$ac_ext <<_ACEOF
8529 cat confdefs.h
>>conftest.
$ac_ext
8530 cat >>conftest.
$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8536 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8541 rm -f conftest.
$ac_objext
8542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8543 (eval $ac_compile) 2>conftest.er1
8545 grep -v '^ *+' conftest.er1
>conftest.err
8547 cat conftest.err
>&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; } &&
8556 { ac_try
='test -s conftest.$ac_objext'
8557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 wine_cv_opengl_version_OK
="yes"
8564 echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.
$ac_ext >&5
8567 wine_cv_opengl_version_OK
="no"
8570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8573 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8574 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8576 if test "$wine_cv_opengl_version_OK" = "yes"
8578 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8579 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8580 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 ac_check_lib_save_LIBS
=$LIBS
8584 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8585 cat >conftest.
$ac_ext <<_ACEOF
8588 cat confdefs.h
>>conftest.
$ac_ext
8589 cat >>conftest.
$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8592 /* Override any gcc2 internal prototype to avoid an error. */
8596 /* We use char because int might match the return type of a gcc2
8597 builtin and then its argument prototype would still apply. */
8598 char glXCreateContext ();
8602 glXCreateContext ();
8607 rm -f conftest.
$ac_objext conftest
$ac_exeext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>conftest.er1
8611 grep -v '^ *+' conftest.er1
>conftest.err
8613 cat conftest.err
>&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; } &&
8622 { ac_try
='test -s conftest$ac_exeext'
8623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; }; then
8628 ac_cv_lib_GL_glXCreateContext
=yes
8630 echo "$as_me: failed program was:" >&5
8631 sed 's/^/| /' conftest.
$ac_ext >&5
8633 ac_cv_lib_GL_glXCreateContext
=no
8635 rm -f conftest.err conftest.
$ac_objext \
8636 conftest
$ac_exeext conftest.
$ac_ext
8637 LIBS
=$ac_check_lib_save_LIBS
8639 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8640 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8641 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8647 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8649 OPENGLFILES
='$(OPENGLFILES)'
8651 cat >>confdefs.h
<<\_ACEOF
8652 #define HAVE_OPENGL 1
8656 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8657 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8658 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 ac_check_lib_save_LIBS
=$LIBS
8662 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8664 cat >conftest.
$ac_ext <<_ACEOF
8667 cat confdefs.h
>>conftest.
$ac_ext
8668 cat >>conftest.
$ac_ext <<_ACEOF
8669 /* end confdefs.h. */
8671 /* Override any gcc2 internal prototype to avoid an error. */
8675 /* We use char because int might match the return type of a gcc2
8676 builtin and then its argument prototype would still apply. */
8686 rm -f conftest.
$ac_objext conftest
$ac_exeext
8687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8688 (eval $ac_link) 2>conftest.er1
8690 grep -v '^ *+' conftest.er1
>conftest.err
8692 cat conftest.err
>&5
8693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694 (exit $ac_status); } &&
8695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); }; } &&
8701 { ac_try
='test -s conftest$ac_exeext'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; }; then
8707 ac_cv_lib_GLU_gluLookAt
=yes
8709 echo "$as_me: failed program was:" >&5
8710 sed 's/^/| /' conftest.
$ac_ext >&5
8712 ac_cv_lib_GLU_gluLookAt
=no
8714 rm -f conftest.err conftest.
$ac_objext \
8715 conftest
$ac_exeext conftest.
$ac_ext
8716 LIBS
=$ac_check_lib_save_LIBS
8718 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8719 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8720 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8721 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8722 GLU32FILES
='$(GLU32FILES)'
8728 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8729 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8730 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8731 echo $ECHO_N "(cached) $ECHO_C" >&6
8733 ac_check_lib_save_LIBS
=$LIBS
8734 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8735 cat >conftest.
$ac_ext <<_ACEOF
8738 cat confdefs.h
>>conftest.
$ac_ext
8739 cat >>conftest.
$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8742 /* Override any gcc2 internal prototype to avoid an error. */
8746 /* We use char because int might match the return type of a gcc2
8747 builtin and then its argument prototype would still apply. */
8748 char glutMainLoop ();
8757 rm -f conftest.
$ac_objext conftest
$ac_exeext
8758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8759 (eval $ac_link) 2>conftest.er1
8761 grep -v '^ *+' conftest.er1
>conftest.err
8763 cat conftest.err
>&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } &&
8766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); }; } &&
8772 { ac_try
='test -s conftest$ac_exeext'
8773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); }; }; then
8778 ac_cv_lib_glut_glutMainLoop
=yes
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.
$ac_ext >&5
8783 ac_cv_lib_glut_glutMainLoop
=no
8785 rm -f conftest.err conftest.
$ac_objext \
8786 conftest
$ac_exeext conftest.
$ac_ext
8787 LIBS
=$ac_check_lib_save_LIBS
8789 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8790 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8791 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8792 GLUT_LIBS
="-lglut -lXmu -lXi"
8794 GLUT32FILES
='$(GLUT32FILES)'
8804 for ac_header
in audio
/audiolib.h
8806 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8808 echo "$as_me:$LINENO: checking for $ac_header" >&5
8809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8811 echo $ECHO_N "(cached) $ECHO_C" >&6
8813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8816 # Is the header compilable?
8817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8819 cat >conftest.
$ac_ext <<_ACEOF
8822 cat confdefs.h
>>conftest.
$ac_ext
8823 cat >>conftest.
$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8825 $ac_includes_default
8826 #include <$ac_header>
8828 rm -f conftest.
$ac_objext
8829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8830 (eval $ac_compile) 2>conftest.er1
8832 grep -v '^ *+' conftest.er1
>conftest.err
8834 cat conftest.err
>&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); } &&
8837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }; } &&
8843 { ac_try
='test -s conftest.$ac_objext'
8844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); }; }; then
8849 ac_header_compiler
=yes
8851 echo "$as_me: failed program was:" >&5
8852 sed 's/^/| /' conftest.
$ac_ext >&5
8854 ac_header_compiler
=no
8856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8858 echo "${ECHO_T}$ac_header_compiler" >&6
8860 # Is the header present?
8861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8863 cat >conftest.
$ac_ext <<_ACEOF
8866 cat confdefs.h
>>conftest.
$ac_ext
8867 cat >>conftest.
$ac_ext <<_ACEOF
8868 /* end confdefs.h. */
8869 #include <$ac_header>
8871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8874 grep -v '^ *+' conftest.er1
>conftest.err
8876 cat conftest.err
>&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); } >/dev
/null
; then
8879 if test -s conftest.err
; then
8880 ac_cpp_err
=$ac_c_preproc_warn_flag
8881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8888 if test -z "$ac_cpp_err"; then
8889 ac_header_preproc
=yes
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.
$ac_ext >&5
8894 ac_header_preproc
=no
8896 rm -f conftest.err conftest.
$ac_ext
8897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8898 echo "${ECHO_T}$ac_header_preproc" >&6
8900 # So? What about this header?
8901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8907 ac_header_preproc
=yes
8910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8924 ## ------------------------------------ ##
8925 ## Report this to wine-devel@winehq.org ##
8926 ## ------------------------------------ ##
8929 sed "s/^/$as_me: WARNING: /" >&2
8932 echo "$as_me:$LINENO: checking for $ac_header" >&5
8933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 eval "$as_ac_Header=\$ac_header_preproc"
8939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8940 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
8948 for ac_header
in audio
/soundlib.h
8950 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8951 echo "$as_me:$LINENO: checking for $ac_header" >&5
8952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8954 echo $ECHO_N "(cached) $ECHO_C" >&6
8956 cat >conftest.
$ac_ext <<_ACEOF
8959 cat confdefs.h
>>conftest.
$ac_ext
8960 cat >>conftest.
$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8962 #include <audio/audiolib.h>
8964 #include <$ac_header>
8966 rm -f conftest.
$ac_objext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8968 (eval $ac_compile) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; } &&
8981 { ac_try
='test -s conftest.$ac_objext'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; }; then
8987 eval "$as_ac_Header=yes"
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.
$ac_ext >&5
8992 eval "$as_ac_Header=no"
8994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8999 cat >>confdefs.h
<<_ACEOF
9000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9007 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9008 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9009 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9010 echo $ECHO_N "(cached) $ECHO_C" >&6
9012 ac_check_lib_save_LIBS
=$LIBS
9013 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9014 cat >conftest.
$ac_ext <<_ACEOF
9017 cat confdefs.h
>>conftest.
$ac_ext
9018 cat >>conftest.
$ac_ext <<_ACEOF
9019 /* end confdefs.h. */
9021 /* Override any gcc2 internal prototype to avoid an error. */
9025 /* We use char because int might match the return type of a gcc2
9026 builtin and then its argument prototype would still apply. */
9027 char AuCreateFlow ();
9036 rm -f conftest.
$ac_objext conftest
$ac_exeext
9037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9038 (eval $ac_link) 2>conftest.er1
9040 grep -v '^ *+' conftest.er1
>conftest.err
9042 cat conftest.err
>&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } &&
9045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; } &&
9051 { ac_try
='test -s conftest$ac_exeext'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; }; then
9057 ac_cv_lib_audio_AuCreateFlow
=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.
$ac_ext >&5
9062 ac_cv_lib_audio_AuCreateFlow
=no
9064 rm -f conftest.err conftest.
$ac_objext \
9065 conftest
$ac_exeext conftest.
$ac_ext
9066 LIBS
=$ac_check_lib_save_LIBS
9068 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9069 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9070 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9072 cat >>confdefs.h
<<\_ACEOF
9076 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9084 CPPFLAGS
="$ac_save_CPPFLAGS"
9093 if test "x$with_curses" != "xno"
9096 for ac_header
in ncurses.h
9098 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9100 echo "$as_me:$LINENO: checking for $ac_header" >&5
9101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9108 # Is the header compilable?
9109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9111 cat >conftest.
$ac_ext <<_ACEOF
9114 cat confdefs.h
>>conftest.
$ac_ext
9115 cat >>conftest.
$ac_ext <<_ACEOF
9116 /* end confdefs.h. */
9117 $ac_includes_default
9118 #include <$ac_header>
9120 rm -f conftest.
$ac_objext
9121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9122 (eval $ac_compile) 2>conftest.er1
9124 grep -v '^ *+' conftest.er1
>conftest.err
9126 cat conftest.err
>&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); } &&
9129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; } &&
9135 { ac_try
='test -s conftest.$ac_objext'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then
9141 ac_header_compiler
=yes
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.
$ac_ext >&5
9146 ac_header_compiler
=no
9148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9150 echo "${ECHO_T}$ac_header_compiler" >&6
9152 # Is the header present?
9153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9155 cat >conftest.
$ac_ext <<_ACEOF
9158 cat confdefs.h
>>conftest.
$ac_ext
9159 cat >>conftest.
$ac_ext <<_ACEOF
9160 /* end confdefs.h. */
9161 #include <$ac_header>
9163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9166 grep -v '^ *+' conftest.er1
>conftest.err
9168 cat conftest.err
>&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); } >/dev
/null
; then
9171 if test -s conftest.err
; then
9172 ac_cpp_err
=$ac_c_preproc_warn_flag
9173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9180 if test -z "$ac_cpp_err"; then
9181 ac_header_preproc
=yes
9183 echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.
$ac_ext >&5
9186 ac_header_preproc
=no
9188 rm -f conftest.err conftest.
$ac_ext
9189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9190 echo "${ECHO_T}$ac_header_preproc" >&6
9192 # So? What about this header?
9193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9199 ac_header_preproc
=yes
9202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9216 ## ------------------------------------ ##
9217 ## Report this to wine-devel@winehq.org ##
9218 ## ------------------------------------ ##
9221 sed "s/^/$as_me: WARNING: /" >&2
9224 echo "$as_me:$LINENO: checking for $ac_header" >&5
9225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9227 echo $ECHO_N "(cached) $ECHO_C" >&6
9229 eval "$as_ac_Header=\$ac_header_preproc"
9231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9236 cat >>confdefs.h
<<_ACEOF
9237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9239 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9240 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9241 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9244 ac_check_lib_save_LIBS
=$LIBS
9245 LIBS
="-lncurses $LIBS"
9246 cat >conftest.
$ac_ext <<_ACEOF
9249 cat confdefs.h
>>conftest.
$ac_ext
9250 cat >>conftest.
$ac_ext <<_ACEOF
9251 /* end confdefs.h. */
9253 /* Override any gcc2 internal prototype to avoid an error. */
9257 /* We use char because int might match the return type of a gcc2
9258 builtin and then its argument prototype would still apply. */
9268 rm -f conftest.
$ac_objext conftest
$ac_exeext
9269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9270 (eval $ac_link) 2>conftest.er1
9272 grep -v '^ *+' conftest.er1
>conftest.err
9274 cat conftest.err
>&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); } &&
9277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; } &&
9283 { ac_try
='test -s conftest$ac_exeext'
9284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; }; then
9289 ac_cv_lib_ncurses_waddch
=yes
9291 echo "$as_me: failed program was:" >&5
9292 sed 's/^/| /' conftest.
$ac_ext >&5
9294 ac_cv_lib_ncurses_waddch
=no
9296 rm -f conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 LIBS
=$ac_check_lib_save_LIBS
9300 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9301 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9302 if test $ac_cv_lib_ncurses_waddch = yes; then
9304 cat >>confdefs.h
<<\_ACEOF
9305 #define HAVE_LIBNCURSES 1
9308 CURSESLIBS
="-lncurses"
9311 for ac_header
in curses.h
9313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9315 echo "$as_me:$LINENO: checking for $ac_header" >&5
9316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9318 echo $ECHO_N "(cached) $ECHO_C" >&6
9320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9323 # Is the header compilable?
9324 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9326 cat >conftest.
$ac_ext <<_ACEOF
9329 cat confdefs.h
>>conftest.
$ac_ext
9330 cat >>conftest.
$ac_ext <<_ACEOF
9331 /* end confdefs.h. */
9332 $ac_includes_default
9333 #include <$ac_header>
9335 rm -f conftest.
$ac_objext
9336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9337 (eval $ac_compile) 2>conftest.er1
9339 grep -v '^ *+' conftest.er1
>conftest.err
9341 cat conftest.err
>&5
9342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9343 (exit $ac_status); } &&
9344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); }; } &&
9350 { ac_try
='test -s conftest.$ac_objext'
9351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); }; }; then
9356 ac_header_compiler
=yes
9358 echo "$as_me: failed program was:" >&5
9359 sed 's/^/| /' conftest.
$ac_ext >&5
9361 ac_header_compiler
=no
9363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9365 echo "${ECHO_T}$ac_header_compiler" >&6
9367 # Is the header present?
9368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9370 cat >conftest.
$ac_ext <<_ACEOF
9373 cat confdefs.h
>>conftest.
$ac_ext
9374 cat >>conftest.
$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9376 #include <$ac_header>
9378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9381 grep -v '^ *+' conftest.er1
>conftest.err
9383 cat conftest.err
>&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); } >/dev
/null
; then
9386 if test -s conftest.err
; then
9387 ac_cpp_err
=$ac_c_preproc_warn_flag
9388 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9395 if test -z "$ac_cpp_err"; then
9396 ac_header_preproc
=yes
9398 echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.
$ac_ext >&5
9401 ac_header_preproc
=no
9403 rm -f conftest.err conftest.
$ac_ext
9404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9405 echo "${ECHO_T}$ac_header_preproc" >&6
9407 # So? What about this header?
9408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9414 ac_header_preproc
=yes
9417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9431 ## ------------------------------------ ##
9432 ## Report this to wine-devel@winehq.org ##
9433 ## ------------------------------------ ##
9436 sed "s/^/$as_me: WARNING: /" >&2
9439 echo "$as_me:$LINENO: checking for $ac_header" >&5
9440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9442 echo $ECHO_N "(cached) $ECHO_C" >&6
9444 eval "$as_ac_Header=\$ac_header_preproc"
9446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9451 cat >>confdefs.h
<<_ACEOF
9452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9454 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9455 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9456 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9457 echo $ECHO_N "(cached) $ECHO_C" >&6
9459 ac_check_lib_save_LIBS
=$LIBS
9460 LIBS
="-lcurses $LIBS"
9461 cat >conftest.
$ac_ext <<_ACEOF
9464 cat confdefs.h
>>conftest.
$ac_ext
9465 cat >>conftest.
$ac_ext <<_ACEOF
9466 /* end confdefs.h. */
9468 /* Override any gcc2 internal prototype to avoid an error. */
9472 /* We use char because int might match the return type of a gcc2
9473 builtin and then its argument prototype would still apply. */
9483 rm -f conftest.
$ac_objext conftest
$ac_exeext
9484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9485 (eval $ac_link) 2>conftest.er1
9487 grep -v '^ *+' conftest.er1
>conftest.err
9489 cat conftest.err
>&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } &&
9492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); }; } &&
9498 { ac_try
='test -s conftest$ac_exeext'
9499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); }; }; then
9504 ac_cv_lib_curses_waddch
=yes
9506 echo "$as_me: failed program was:" >&5
9507 sed 's/^/| /' conftest.
$ac_ext >&5
9509 ac_cv_lib_curses_waddch
=no
9511 rm -f conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 LIBS
=$ac_check_lib_save_LIBS
9515 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9516 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9517 if test $ac_cv_lib_curses_waddch = yes; then
9519 cat >>confdefs.h
<<\_ACEOF
9520 #define HAVE_LIBCURSES 1
9523 CURSESLIBS
="-lcurses"
9539 # Extract the first word of "sane-config", so it can be a program name with args.
9540 set dummy sane-config
; ac_word
=$2
9541 echo "$as_me:$LINENO: checking for $ac_word" >&5
9542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9543 if test "${ac_cv_prog_sane_devel+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 if test -n "$sane_devel"; then
9547 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir
=.
9554 for ac_exec_ext
in '' $ac_executable_extensions; do
9555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9556 ac_cv_prog_sane_devel
="sane-config"
9557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9563 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9566 sane_devel
=$ac_cv_prog_sane_devel
9567 if test -n "$sane_devel"; then
9568 echo "$as_me:$LINENO: result: $sane_devel" >&5
9569 echo "${ECHO_T}$sane_devel" >&6
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9575 if test "$sane_devel" = "no"
9580 SANELIBS
="`$sane_devel --libs`"
9581 SANEINCL
="`$sane_devel --cflags`"
9582 ac_save_CPPFLAGS
="$CPPFLAGS"
9583 ac_save_LIBS
="$LIBS"
9584 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9585 LIBS
="$LIBS $SANELIBS"
9586 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9587 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9588 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9589 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9593 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9595 # Is the header compilable?
9596 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9597 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9598 cat >conftest.
$ac_ext <<_ACEOF
9601 cat confdefs.h
>>conftest.
$ac_ext
9602 cat >>conftest.
$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9604 $ac_includes_default
9605 #include <sane/sane.h>
9607 rm -f conftest.
$ac_objext
9608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9609 (eval $ac_compile) 2>conftest.er1
9611 grep -v '^ *+' conftest.er1
>conftest.err
9613 cat conftest.err
>&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } &&
9616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); }; } &&
9622 { ac_try
='test -s conftest.$ac_objext'
9623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); }; }; then
9628 ac_header_compiler
=yes
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9633 ac_header_compiler
=no
9635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9637 echo "${ECHO_T}$ac_header_compiler" >&6
9639 # Is the header present?
9640 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9641 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9642 cat >conftest.
$ac_ext <<_ACEOF
9645 cat confdefs.h
>>conftest.
$ac_ext
9646 cat >>conftest.
$ac_ext <<_ACEOF
9647 /* end confdefs.h. */
9648 #include <sane/sane.h>
9650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9651 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9653 grep -v '^ *+' conftest.er1
>conftest.err
9655 cat conftest.err
>&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); } >/dev
/null
; then
9658 if test -s conftest.err
; then
9659 ac_cpp_err
=$ac_c_preproc_warn_flag
9660 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9667 if test -z "$ac_cpp_err"; then
9668 ac_header_preproc
=yes
9670 echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.
$ac_ext >&5
9673 ac_header_preproc
=no
9675 rm -f conftest.err conftest.
$ac_ext
9676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9677 echo "${ECHO_T}$ac_header_preproc" >&6
9679 # So? What about this header?
9680 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9682 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9683 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9684 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9685 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9686 ac_header_preproc
=yes
9689 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9690 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9691 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9692 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9693 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9694 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9695 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9696 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9697 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9698 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9699 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9700 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9703 ## ------------------------------------ ##
9704 ## Report this to wine-devel@winehq.org ##
9705 ## ------------------------------------ ##
9708 sed "s/^/$as_me: WARNING: /" >&2
9711 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9712 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9713 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9714 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 ac_cv_header_sane_sane_h
=$ac_header_preproc
9718 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9719 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9722 if test $ac_cv_header_sane_sane_h = yes; then
9723 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9724 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9725 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 ac_check_lib_save_LIBS
=$LIBS
9730 cat >conftest.
$ac_ext <<_ACEOF
9733 cat confdefs.h
>>conftest.
$ac_ext
9734 cat >>conftest.
$ac_ext <<_ACEOF
9735 /* end confdefs.h. */
9737 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9752 rm -f conftest.
$ac_objext conftest
$ac_exeext
9753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9754 (eval $ac_link) 2>conftest.er1
9756 grep -v '^ *+' conftest.er1
>conftest.err
9758 cat conftest.err
>&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } &&
9761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; } &&
9767 { ac_try
='test -s conftest$ac_exeext'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; }; then
9773 ac_cv_lib_sane_sane_open
=yes
9775 echo "$as_me: failed program was:" >&5
9776 sed 's/^/| /' conftest.
$ac_ext >&5
9778 ac_cv_lib_sane_sane_open
=no
9780 rm -f conftest.err conftest.
$ac_objext \
9781 conftest
$ac_exeext conftest.
$ac_ext
9782 LIBS
=$ac_check_lib_save_LIBS
9784 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9785 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9786 if test $ac_cv_lib_sane_sane_open = yes; then
9788 cat >>confdefs.h
<<\_ACEOF
9803 LIBS
="$ac_save_LIBS"
9804 CPPFLAGS
="$ac_save_CPPFLAGS"
9810 for ac_header
in unicode
/ubidi.h
9812 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9814 echo "$as_me:$LINENO: checking for $ac_header" >&5
9815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9822 # Is the header compilable?
9823 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9825 cat >conftest.
$ac_ext <<_ACEOF
9828 cat confdefs.h
>>conftest.
$ac_ext
9829 cat >>conftest.
$ac_ext <<_ACEOF
9830 /* end confdefs.h. */
9831 $ac_includes_default
9832 #include <$ac_header>
9834 rm -f conftest.
$ac_objext
9835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9836 (eval $ac_compile) 2>conftest.er1
9838 grep -v '^ *+' conftest.er1
>conftest.err
9840 cat conftest.err
>&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); } &&
9843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); }; } &&
9849 { ac_try
='test -s conftest.$ac_objext'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; }; then
9855 ac_header_compiler
=yes
9857 echo "$as_me: failed program was:" >&5
9858 sed 's/^/| /' conftest.
$ac_ext >&5
9860 ac_header_compiler
=no
9862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9864 echo "${ECHO_T}$ac_header_compiler" >&6
9866 # Is the header present?
9867 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9868 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9869 cat >conftest.
$ac_ext <<_ACEOF
9872 cat confdefs.h
>>conftest.
$ac_ext
9873 cat >>conftest.
$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9875 #include <$ac_header>
9877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9878 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9880 grep -v '^ *+' conftest.er1
>conftest.err
9882 cat conftest.err
>&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } >/dev
/null
; then
9885 if test -s conftest.err
; then
9886 ac_cpp_err
=$ac_c_preproc_warn_flag
9887 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9894 if test -z "$ac_cpp_err"; then
9895 ac_header_preproc
=yes
9897 echo "$as_me: failed program was:" >&5
9898 sed 's/^/| /' conftest.
$ac_ext >&5
9900 ac_header_preproc
=no
9902 rm -f conftest.err conftest.
$ac_ext
9903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9904 echo "${ECHO_T}$ac_header_preproc" >&6
9906 # So? What about this header?
9907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9912 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9913 ac_header_preproc
=yes
9916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9920 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9921 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9922 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9923 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9926 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9927 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9930 ## ------------------------------------ ##
9931 ## Report this to wine-devel@winehq.org ##
9932 ## ------------------------------------ ##
9935 sed "s/^/$as_me: WARNING: /" >&2
9938 echo "$as_me:$LINENO: checking for $ac_header" >&5
9939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 eval "$as_ac_Header=\$ac_header_preproc"
9945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9950 cat >>confdefs.h
<<_ACEOF
9951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9958 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9961 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9962 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9963 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9964 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9965 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9966 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9967 cat >conftest.
$ac_ext <<_ACEOF
9970 cat confdefs.h
>>conftest.
$ac_ext
9971 cat >>conftest.
$ac_ext <<_ACEOF
9972 /* end confdefs.h. */
9973 #include <unicode/ubidi.h>
9982 rm -f conftest.
$ac_objext conftest
$ac_exeext
9983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9984 (eval $ac_link) 2>conftest.er1
9986 grep -v '^ *+' conftest.er1
>conftest.err
9988 cat conftest.err
>&5
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); } &&
9991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); }; } &&
9997 { ac_try
='test -s conftest$ac_exeext'
9998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); }; }; then
10004 cat >>confdefs.h
<<\_ACEOF
10008 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10010 echo "$as_me:$LINENO: result: yes" >&5
10011 echo "${ECHO_T}yes" >&6
10013 echo "$as_me: failed program was:" >&5
10014 sed 's/^/| /' conftest.
$ac_ext >&5
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10019 rm -f conftest.err conftest.
$ac_objext \
10020 conftest
$ac_exeext conftest.
$ac_ext
10024 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10025 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10026 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10029 ac_check_lib_save_LIBS
=$LIBS
10030 LIBS
="-lfreetype $X_LIBS $LIBS"
10031 cat >conftest.
$ac_ext <<_ACEOF
10034 cat confdefs.h
>>conftest.
$ac_ext
10035 cat >>conftest.
$ac_ext <<_ACEOF
10036 /* end confdefs.h. */
10038 /* Override any gcc2 internal prototype to avoid an error. */
10042 /* We use char because int might match the return type of a gcc2
10043 builtin and then its argument prototype would still apply. */
10044 char FT_Init_FreeType ();
10048 FT_Init_FreeType ();
10053 rm -f conftest.
$ac_objext conftest
$ac_exeext
10054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10055 (eval $ac_link) 2>conftest.er1
10057 grep -v '^ *+' conftest.er1
>conftest.err
10059 cat conftest.err
>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); } &&
10062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; } &&
10068 { ac_try
='test -s conftest$ac_exeext'
10069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10070 (eval $ac_try) 2>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); }; }; then
10074 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10076 echo "$as_me: failed program was:" >&5
10077 sed 's/^/| /' conftest.
$ac_ext >&5
10079 ac_cv_lib_freetype_FT_Init_FreeType
=no
10081 rm -f conftest.err conftest.
$ac_objext \
10082 conftest
$ac_exeext conftest.
$ac_ext
10083 LIBS
=$ac_check_lib_save_LIBS
10085 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10086 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10087 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10093 if test "$ft_lib" = "no"
10097 wine_cv_msg_freetype
=no
10099 # Extract the first word of "freetype-config", so it can be a program name with args.
10100 set dummy freetype-config
; ac_word
=$2
10101 echo "$as_me:$LINENO: checking for $ac_word" >&5
10102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10103 if test "${ac_cv_prog_ft_devel+set}" = set; then
10104 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 if test -n "$ft_devel"; then
10107 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10110 for as_dir
in $PATH
10113 test -z "$as_dir" && as_dir
=.
10114 for ac_exec_ext
in '' $ac_executable_extensions; do
10115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10116 ac_cv_prog_ft_devel
="freetype-config"
10117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10123 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10126 ft_devel
=$ac_cv_prog_ft_devel
10127 if test -n "$ft_devel"; then
10128 echo "$as_me:$LINENO: result: $ft_devel" >&5
10129 echo "${ECHO_T}$ft_devel" >&6
10131 echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6
10135 if test "$ft_devel" = "no"
10137 # Extract the first word of "freetype2-config", so it can be a program name with args.
10138 set dummy freetype2-config
; ac_word
=$2
10139 echo "$as_me:$LINENO: checking for $ac_word" >&5
10140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10141 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10142 echo $ECHO_N "(cached) $ECHO_C" >&6
10144 if test -n "$ft_devel2"; then
10145 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10148 for as_dir
in $PATH
10151 test -z "$as_dir" && as_dir
=.
10152 for ac_exec_ext
in '' $ac_executable_extensions; do
10153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10154 ac_cv_prog_ft_devel2
="freetype2-config"
10155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10161 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10164 ft_devel2
=$ac_cv_prog_ft_devel2
10165 if test -n "$ft_devel2"; then
10166 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10167 echo "${ECHO_T}$ft_devel2" >&6
10169 echo "$as_me:$LINENO: result: no" >&5
10170 echo "${ECHO_T}no" >&6
10173 if test "$ft_devel2" = "freetype2-config"
10175 ft_devel
=$ft_devel2
10178 if test "$ft_devel" = "no"
10182 wine_cv_msg_freetype
=yes
10184 FREETYPELIBS
=`$ft_devel --libs`
10185 FREETYPEINCL
=`$ft_devel --cflags`
10186 ac_save_CPPFLAGS
="$CPPFLAGS"
10187 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10198 for ac_header
in ft2build.h \
10199 freetype
/freetype.h \
10200 freetype
/ftglyph.h \
10201 freetype
/tttables.h \
10202 freetype
/ftnames.h \
10203 freetype
/ftsnames.h \
10204 freetype
/ttnameid.h \
10205 freetype
/ftoutln.h \
10206 freetype
/ftwinfnt.h \
10207 freetype
/internal
/sfnt.h
10209 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10210 echo "$as_me:$LINENO: checking for $ac_header" >&5
10211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10213 echo $ECHO_N "(cached) $ECHO_C" >&6
10215 cat >conftest.
$ac_ext <<_ACEOF
10218 cat confdefs.h
>>conftest.
$ac_ext
10219 cat >>conftest.
$ac_ext <<_ACEOF
10220 /* end confdefs.h. */
10221 #if HAVE_FT2BUILD_H
10222 #include <ft2build.h>
10225 #include <$ac_header>
10227 rm -f conftest.
$ac_objext
10228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10229 (eval $ac_compile) 2>conftest.er1
10231 grep -v '^ *+' conftest.er1
>conftest.err
10233 cat conftest.err
>&5
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); } &&
10236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 (eval $ac_try) 2>&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); }; } &&
10242 { ac_try
='test -s conftest.$ac_objext'
10243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10244 (eval $ac_try) 2>&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); }; }; then
10248 eval "$as_ac_Header=yes"
10250 echo "$as_me: failed program was:" >&5
10251 sed 's/^/| /' conftest.
$ac_ext >&5
10253 eval "$as_ac_Header=no"
10255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10260 cat >>confdefs.h
<<_ACEOF
10261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10268 cat >conftest.
$ac_ext <<_ACEOF
10271 cat confdefs.h
>>conftest.
$ac_ext
10272 cat >>conftest.
$ac_ext <<_ACEOF
10273 /* end confdefs.h. */
10274 #include <ft2build.h>
10275 #include <freetype/fttrigon.h>
10277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10280 grep -v '^ *+' conftest.er1
>conftest.err
10282 cat conftest.err
>&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); } >/dev
/null
; then
10285 if test -s conftest.err
; then
10286 ac_cpp_err
=$ac_c_preproc_warn_flag
10287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10294 if test -z "$ac_cpp_err"; then
10296 cat >>confdefs.h
<<\_ACEOF
10297 #define HAVE_FREETYPE_FTTRIGON_H 1
10300 wine_cv_fttrigon
=yes
10302 echo "$as_me: failed program was:" >&5
10303 sed 's/^/| /' conftest.
$ac_ext >&5
10305 wine_cv_fttrigon
=no
10307 rm -f conftest.err conftest.
$ac_ext
10308 CPPFLAGS
="$ac_save_CPPFLAGS"
10309 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10312 cat >>confdefs.h
<<\_ACEOF
10313 #define HAVE_FREETYPE 1
10316 wine_cv_msg_freetype
=no
10320 wine_cv_msg_freetype
=yes
10327 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10329 FONTSSUBDIRS
="fonts"
10333 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10334 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10335 if test "${ac_cv_c_ppdev+set}" = set; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 cat >conftest.
$ac_ext <<_ACEOF
10341 cat confdefs.h
>>conftest.
$ac_ext
10342 cat >>conftest.
$ac_ext <<_ACEOF
10343 /* end confdefs.h. */
10344 #include <linux/ppdev.h>
10348 ioctl (1,PPCLAIM,0)
10353 rm -f conftest.
$ac_objext
10354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10355 (eval $ac_compile) 2>conftest.er1
10357 grep -v '^ *+' conftest.er1
>conftest.err
10359 cat conftest.err
>&5
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); } &&
10362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; } &&
10368 { ac_try
='test -s conftest.$ac_objext'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 ac_cv_c_ppdev
="yes"
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.
$ac_ext >&5
10381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10384 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10385 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10386 if test "$ac_cv_c_ppdev" = "yes"
10389 cat >>confdefs.h
<<\_ACEOF
10390 #define HAVE_PPDEV 1
10395 echo "$as_me:$LINENO: checking for va_copy" >&5
10396 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10397 if test "${ac_cv_c_va_copy+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10400 cat >conftest.
$ac_ext <<_ACEOF
10403 cat confdefs.h
>>conftest.
$ac_ext
10404 cat >>conftest.
$ac_ext <<_ACEOF
10405 /* end confdefs.h. */
10406 #include <stdarg.h>
10417 rm -f conftest.
$ac_objext conftest
$ac_exeext
10418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10419 (eval $ac_link) 2>conftest.er1
10421 grep -v '^ *+' conftest.er1
>conftest.err
10423 cat conftest.err
>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } &&
10426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10428 (eval $ac_try) 2>&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); }; } &&
10432 { ac_try
='test -s conftest$ac_exeext'
10433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10434 (eval $ac_try) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then
10438 ac_cv_c_va_copy
="yes"
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.
$ac_ext >&5
10443 ac_cv_c_va_copy
="no"
10445 rm -f conftest.err conftest.
$ac_objext \
10446 conftest
$ac_exeext conftest.
$ac_ext
10449 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10450 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10451 if test "$ac_cv_c_va_copy" = "yes"
10454 cat >>confdefs.h
<<\_ACEOF
10455 #define HAVE_VA_COPY 1
10459 echo "$as_me:$LINENO: checking for __va_copy" >&5
10460 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10461 if test "${ac_cv_c___va_copy+set}" = set; then
10462 echo $ECHO_N "(cached) $ECHO_C" >&6
10464 cat >conftest.
$ac_ext <<_ACEOF
10467 cat confdefs.h
>>conftest.
$ac_ext
10468 cat >>conftest.
$ac_ext <<_ACEOF
10469 /* end confdefs.h. */
10470 #include <stdarg.h>
10475 __va_copy(ap1,ap2);
10481 rm -f conftest.
$ac_objext conftest
$ac_exeext
10482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10483 (eval $ac_link) 2>conftest.er1
10485 grep -v '^ *+' conftest.er1
>conftest.err
10487 cat conftest.err
>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); } &&
10490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10492 (eval $ac_try) 2>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); }; } &&
10496 { ac_try
='test -s conftest$ac_exeext'
10497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10498 (eval $ac_try) 2>&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); }; }; then
10502 ac_cv_c___va_copy
="yes"
10504 echo "$as_me: failed program was:" >&5
10505 sed 's/^/| /' conftest.
$ac_ext >&5
10507 ac_cv_c___va_copy
="no"
10509 rm -f conftest.err conftest.
$ac_objext \
10510 conftest
$ac_exeext conftest.
$ac_ext
10513 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10514 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10515 if test "$ac_cv_c___va_copy" = "yes"
10518 cat >>confdefs.h
<<\_ACEOF
10519 #define HAVE___VA_COPY 1
10524 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10525 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10526 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10535 #include <setjmp.h>
10540 sigsetjmp( buf, 1 );
10541 siglongjmp( buf, 1 );
10546 rm -f conftest.
$ac_objext conftest
$ac_exeext
10547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10548 (eval $ac_link) 2>conftest.er1
10550 grep -v '^ *+' conftest.er1
>conftest.err
10552 cat conftest.err
>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } &&
10555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; } &&
10561 { ac_try
='test -s conftest$ac_exeext'
10562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10563 (eval $ac_try) 2>&5
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); }; }; then
10567 ac_cv_c_sigsetjmp
="yes"
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.
$ac_ext >&5
10572 ac_cv_c_sigsetjmp
="no"
10574 rm -f conftest.err conftest.
$ac_objext \
10575 conftest
$ac_exeext conftest.
$ac_ext
10578 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10579 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10580 if test "$ac_cv_c_sigsetjmp" = "yes"
10583 cat >>confdefs.h
<<\_ACEOF
10584 #define HAVE_SIGSETJMP 1
10589 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10590 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10591 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6
10594 cat >conftest.
$ac_ext <<_ACEOF
10597 cat confdefs.h
>>conftest.
$ac_ext
10598 cat >>conftest.
$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10600 #define _GNU_SOURCE
10601 #include <pthread.h>
10606 if ((pthread_rwlock_t *) 0)
10608 if (sizeof (pthread_rwlock_t))
10614 rm -f conftest.
$ac_objext
10615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10616 (eval $ac_compile) 2>conftest.er1
10618 grep -v '^ *+' conftest.er1
>conftest.err
10620 cat conftest.err
>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); } &&
10623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10625 (eval $ac_try) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }; } &&
10629 { ac_try
='test -s conftest.$ac_objext'
10630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10631 (eval $ac_try) 2>&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); }; }; then
10635 ac_cv_type_pthread_rwlock_t
=yes
10637 echo "$as_me: failed program was:" >&5
10638 sed 's/^/| /' conftest.
$ac_ext >&5
10640 ac_cv_type_pthread_rwlock_t
=no
10642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10644 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10645 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10646 if test $ac_cv_type_pthread_rwlock_t = yes; then
10648 cat >>confdefs.h
<<_ACEOF
10649 #define HAVE_PTHREAD_RWLOCK_T 1
10654 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10655 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10656 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10657 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 cat >conftest.
$ac_ext <<_ACEOF
10662 cat confdefs.h
>>conftest.
$ac_ext
10663 cat >>conftest.
$ac_ext <<_ACEOF
10664 /* end confdefs.h. */
10665 #define _GNU_SOURCE
10666 #include <pthread.h>
10671 if ((pthread_rwlockattr_t *) 0)
10673 if (sizeof (pthread_rwlockattr_t))
10679 rm -f conftest.
$ac_objext
10680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10681 (eval $ac_compile) 2>conftest.er1
10683 grep -v '^ *+' conftest.er1
>conftest.err
10685 cat conftest.err
>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); } &&
10688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 (eval $ac_try) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; } &&
10694 { ac_try
='test -s conftest.$ac_objext'
10695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10696 (eval $ac_try) 2>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); }; }; then
10700 ac_cv_type_pthread_rwlockattr_t
=yes
10702 echo "$as_me: failed program was:" >&5
10703 sed 's/^/| /' conftest.
$ac_ext >&5
10705 ac_cv_type_pthread_rwlockattr_t
=no
10707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10709 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10710 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10711 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10713 cat >>confdefs.h
<<_ACEOF
10714 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10721 ac_save_LIBS
="$LIBS"
10722 LIBS
="$LIBS $LIBPTHREAD"
10727 pthread_getattr_np \
10728 pthread_get_stackaddr_np \
10729 pthread_get_stacksize_np \
10732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10733 echo "$as_me:$LINENO: checking for $ac_func" >&5
10734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10735 if eval "test \"\${$as_ac_var+set}\" = set"; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 cat >conftest.
$ac_ext <<_ACEOF
10741 cat confdefs.h
>>conftest.
$ac_ext
10742 cat >>conftest.
$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10746 #define $ac_func innocuous_$ac_func
10748 /* System header to define __stub macros and hopefully few prototypes,
10749 which can conflict with char $ac_func (); below.
10750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10751 <limits.h> exists even on freestanding compilers. */
10754 # include <limits.h>
10756 # include <assert.h>
10761 /* Override any gcc2 internal prototype to avoid an error. */
10766 /* We use char because int might match the return type of a gcc2
10767 builtin and then its argument prototype would still apply. */
10769 /* The GNU C library defines this for functions which it implements
10770 to always fail with ENOSYS. Some functions are actually named
10771 something starting with __ and the normal name is an alias. */
10772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10775 char (*f) () = $ac_func;
10784 return f != $ac_func;
10789 rm -f conftest.
$ac_objext conftest
$ac_exeext
10790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10791 (eval $ac_link) 2>conftest.er1
10793 grep -v '^ *+' conftest.er1
>conftest.err
10795 cat conftest.err
>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } &&
10798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10800 (eval $ac_try) 2>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); }; } &&
10804 { ac_try
='test -s conftest$ac_exeext'
10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806 (eval $ac_try) 2>&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; }; then
10810 eval "$as_ac_var=yes"
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.
$ac_ext >&5
10815 eval "$as_ac_var=no"
10817 rm -f conftest.err conftest.
$ac_objext \
10818 conftest
$ac_exeext conftest.
$ac_ext
10820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10822 if test `eval echo '${'$as_ac_var'}'` = yes; then
10823 cat >>confdefs.h
<<_ACEOF
10824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10830 LIBS
="$ac_save_LIBS"
10835 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10837 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10839 echo "$as_me:$LINENO: checking for $ac_header" >&5
10840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10842 echo $ECHO_N "(cached) $ECHO_C" >&6
10844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10847 # Is the header compilable?
10848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10850 cat >conftest.
$ac_ext <<_ACEOF
10853 cat confdefs.h
>>conftest.
$ac_ext
10854 cat >>conftest.
$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10856 $ac_includes_default
10857 #include <$ac_header>
10859 rm -f conftest.
$ac_objext
10860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10861 (eval $ac_compile) 2>conftest.er1
10863 grep -v '^ *+' conftest.er1
>conftest.err
10865 cat conftest.err
>&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); } &&
10868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; } &&
10874 { ac_try
='test -s conftest.$ac_objext'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 ac_header_compiler
=yes
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.
$ac_ext >&5
10885 ac_header_compiler
=no
10887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10889 echo "${ECHO_T}$ac_header_compiler" >&6
10891 # Is the header present?
10892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10894 cat >conftest.
$ac_ext <<_ACEOF
10897 cat confdefs.h
>>conftest.
$ac_ext
10898 cat >>conftest.
$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10900 #include <$ac_header>
10902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10905 grep -v '^ *+' conftest.er1
>conftest.err
10907 cat conftest.err
>&5
10908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10909 (exit $ac_status); } >/dev
/null
; then
10910 if test -s conftest.err
; then
10911 ac_cpp_err
=$ac_c_preproc_warn_flag
10912 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10919 if test -z "$ac_cpp_err"; then
10920 ac_header_preproc
=yes
10922 echo "$as_me: failed program was:" >&5
10923 sed 's/^/| /' conftest.
$ac_ext >&5
10925 ac_header_preproc
=no
10927 rm -f conftest.err conftest.
$ac_ext
10928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10929 echo "${ECHO_T}$ac_header_preproc" >&6
10931 # So? What about this header?
10932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10938 ac_header_preproc
=yes
10941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10955 ## ------------------------------------ ##
10956 ## Report this to wine-devel@winehq.org ##
10957 ## ------------------------------------ ##
10960 sed "s/^/$as_me: WARNING: /" >&2
10963 echo "$as_me:$LINENO: checking for $ac_header" >&5
10964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10966 echo $ECHO_N "(cached) $ECHO_C" >&6
10968 eval "$as_ac_Header=\$ac_header_preproc"
10970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10975 cat >>confdefs.h
<<_ACEOF
10976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10984 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10985 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10986 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 cat >conftest.
$ac_ext <<_ACEOF
10992 cat confdefs.h
>>conftest.
$ac_ext
10993 cat >>conftest.
$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
10996 #if defined(HAVE_SYS_SOUNDCARD_H)
10997 #include <sys/soundcard.h>
10998 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10999 #include <machine/soundcard.h>
11000 #elif defined(HAVE_SOUNDCARD_H)
11001 #include <soundcard.h>
11009 /* check for one of the Open Sound System specific SNDCTL_ defines */
11010 #if !defined(SNDCTL_DSP_STEREO)
11011 #error No open sound system
11018 rm -f conftest.
$ac_objext
11019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11020 (eval $ac_compile) 2>conftest.er1
11022 grep -v '^ *+' conftest.er1
>conftest.err
11024 cat conftest.err
>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); } &&
11027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; } &&
11033 { ac_try
='test -s conftest.$ac_objext'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; }; then
11039 ac_cv_c_opensoundsystem
="yes"
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.
$ac_ext >&5
11044 ac_cv_c_opensoundsystem
="no"
11046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11048 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11049 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11051 if test "$ac_cv_c_opensoundsystem" = "yes"
11054 cat >>confdefs.h
<<\_ACEOF
11060 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11061 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11062 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11063 echo $ECHO_N "(cached) $ECHO_C" >&6
11065 cat >conftest.
$ac_ext <<_ACEOF
11068 cat confdefs.h
>>conftest.
$ac_ext
11069 cat >>conftest.
$ac_ext <<_ACEOF
11070 /* end confdefs.h. */
11072 #if defined(HAVE_SYS_SOUNDCARD_H)
11073 #include <sys/soundcard.h>
11074 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11075 #include <machine/soundcard.h>
11076 #elif defined(HAVE_SOUNDCARD_H)
11077 #include <soundcard.h>
11085 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11086 #if !defined(SNDCTL_SEQ_SYNC)
11087 #error No open sound system MIDI interface
11094 rm -f conftest.
$ac_objext
11095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11096 (eval $ac_compile) 2>conftest.er1
11098 grep -v '^ *+' conftest.er1
>conftest.err
11100 cat conftest.err
>&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); } &&
11103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 (eval $ac_try) 2>&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); }; } &&
11109 { ac_try
='test -s conftest.$ac_objext'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; }; then
11115 ac_cv_c_opensoundsystem_midi
="yes"
11117 echo "$as_me: failed program was:" >&5
11118 sed 's/^/| /' conftest.
$ac_ext >&5
11120 ac_cv_c_opensoundsystem_midi
="no"
11122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11124 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11125 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11127 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11130 cat >>confdefs.h
<<\_ACEOF
11131 #define HAVE_OSS_MIDI 1
11136 # Extract the first word of "artsc-config", so it can be a program name with args.
11137 set dummy artsc-config
; ac_word
=$2
11138 echo "$as_me:$LINENO: checking for $ac_word" >&5
11139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11140 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11141 echo $ECHO_N "(cached) $ECHO_C" >&6
11143 case $ARTSCCONFIG in
11145 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11149 for as_dir
in $PATH
11152 test -z "$as_dir" && as_dir
=.
11153 for ac_exec_ext
in '' $ac_executable_extensions; do
11154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11155 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11165 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11167 if test -n "$ARTSCCONFIG"; then
11168 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11169 echo "${ECHO_T}$ARTSCCONFIG" >&6
11171 echo "$as_me:$LINENO: result: no" >&5
11172 echo "${ECHO_T}no" >&6
11175 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11178 for i
in `$ARTSCCONFIG --cflags`
11181 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11184 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11185 save_CFLAGS
="$CFLAGS"
11186 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11187 cat >conftest.
$ac_ext <<_ACEOF
11190 cat confdefs.h
>>conftest.
$ac_ext
11191 cat >>conftest.
$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11197 arts_stream_t stream;
11202 rm -f conftest.
$ac_objext
11203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11204 (eval $ac_compile) 2>conftest.er1
11206 grep -v '^ *+' conftest.er1
>conftest.err
11208 cat conftest.err
>&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } &&
11211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11213 (eval $ac_try) 2>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); }; } &&
11217 { ac_try
='test -s conftest.$ac_objext'
11218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11219 (eval $ac_try) 2>&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); }; }; then
11223 ARTSLIBS
=$ARTSC_LIBS
11225 ARTSINCL
=$ARTSC_CFLAGS
11228 cat >>confdefs.h
<<\_ACEOF
11229 #define HAVE_ARTS 1
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.
$ac_ext >&5
11237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11238 CFLAGS
="$save_CFLAGS"
11245 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11249 echo "$as_me:$LINENO: checking for $ac_header" >&5
11250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11257 # Is the header compilable?
11258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11260 cat >conftest.
$ac_ext <<_ACEOF
11263 cat confdefs.h
>>conftest.
$ac_ext
11264 cat >>conftest.
$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11266 $ac_includes_default
11267 #include <$ac_header>
11269 rm -f conftest.
$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11273 grep -v '^ *+' conftest.er1
>conftest.err
11275 cat conftest.err
>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try
='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 ac_header_compiler
=yes
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.
$ac_ext >&5
11295 ac_header_compiler
=no
11297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11299 echo "${ECHO_T}$ac_header_compiler" >&6
11301 # Is the header present?
11302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11304 cat >conftest.
$ac_ext <<_ACEOF
11307 cat confdefs.h
>>conftest.
$ac_ext
11308 cat >>conftest.
$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 #include <$ac_header>
11312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11315 grep -v '^ *+' conftest.er1
>conftest.err
11317 cat conftest.err
>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } >/dev
/null
; then
11320 if test -s conftest.err
; then
11321 ac_cpp_err
=$ac_c_preproc_warn_flag
11322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11329 if test -z "$ac_cpp_err"; then
11330 ac_header_preproc
=yes
11332 echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.
$ac_ext >&5
11335 ac_header_preproc
=no
11337 rm -f conftest.err conftest.
$ac_ext
11338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11339 echo "${ECHO_T}$ac_header_preproc" >&6
11341 # So? What about this header?
11342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11348 ac_header_preproc
=yes
11351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11365 ## ------------------------------------ ##
11366 ## Report this to wine-devel@winehq.org ##
11367 ## ------------------------------------ ##
11370 sed "s/^/$as_me: WARNING: /" >&2
11373 echo "$as_me:$LINENO: checking for $ac_header" >&5
11374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 eval "$as_ac_Header=\$ac_header_preproc"
11380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11385 cat >>confdefs.h
<<_ACEOF
11386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11393 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11395 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11396 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11397 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 ac_check_lib_save_LIBS
=$LIBS
11401 LIBS
="-lasound $LIBS"
11402 cat >conftest.
$ac_ext <<_ACEOF
11405 cat confdefs.h
>>conftest.
$ac_ext
11406 cat >>conftest.
$ac_ext <<_ACEOF
11407 /* end confdefs.h. */
11409 /* Override any gcc2 internal prototype to avoid an error. */
11413 /* We use char because int might match the return type of a gcc2
11414 builtin and then its argument prototype would still apply. */
11415 char snd_pcm_hw_params_get_access ();
11419 snd_pcm_hw_params_get_access ();
11424 rm -f conftest.
$ac_objext conftest
$ac_exeext
11425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11426 (eval $ac_link) 2>conftest.er1
11428 grep -v '^ *+' conftest.er1
>conftest.err
11430 cat conftest.err
>&5
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); } &&
11433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11435 (eval $ac_try) 2>&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); }; } &&
11439 { ac_try
='test -s conftest$ac_exeext'
11440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11441 (eval $ac_try) 2>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; }; then
11445 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
11447 echo "$as_me: failed program was:" >&5
11448 sed 's/^/| /' conftest.
$ac_ext >&5
11450 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
11452 rm -f conftest.err conftest.
$ac_objext \
11453 conftest
$ac_exeext conftest.
$ac_ext
11454 LIBS
=$ac_check_lib_save_LIBS
11456 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11457 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11458 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11459 cat >conftest.
$ac_ext <<_ACEOF
11462 cat confdefs.h
>>conftest.
$ac_ext
11463 cat >>conftest.
$ac_ext <<_ACEOF
11464 /* end confdefs.h. */
11465 #ifdef HAVE_ALSA_ASOUNDLIB_H
11466 #include <alsa/asoundlib.h>
11467 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11468 #include <sys/asoundlib.h>
11473 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11478 rm -f conftest.
$ac_objext
11479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11480 (eval $ac_compile) 2>conftest.er1
11482 grep -v '^ *+' conftest.er1
>conftest.err
11484 cat conftest.err
>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); } &&
11487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11489 (eval $ac_try) 2>&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); }; } &&
11493 { ac_try
='test -s conftest.$ac_objext'
11494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11495 (eval $ac_try) 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; }; then
11500 cat >>confdefs.h
<<\_ACEOF
11501 #define HAVE_ALSA 1
11504 ALSALIBS
="-lasound"
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.
$ac_ext >&5
11510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11519 for ac_header
in libaudioio.h
11521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11523 echo "$as_me:$LINENO: checking for $ac_header" >&5
11524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11526 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11531 # Is the header compilable?
11532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11534 cat >conftest.
$ac_ext <<_ACEOF
11537 cat confdefs.h
>>conftest.
$ac_ext
11538 cat >>conftest.
$ac_ext <<_ACEOF
11539 /* end confdefs.h. */
11540 $ac_includes_default
11541 #include <$ac_header>
11543 rm -f conftest.
$ac_objext
11544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11545 (eval $ac_compile) 2>conftest.er1
11547 grep -v '^ *+' conftest.er1
>conftest.err
11549 cat conftest.err
>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); } &&
11552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; } &&
11558 { ac_try
='test -s conftest.$ac_objext'
11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11560 (eval $ac_try) 2>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); }; }; then
11564 ac_header_compiler
=yes
11566 echo "$as_me: failed program was:" >&5
11567 sed 's/^/| /' conftest.
$ac_ext >&5
11569 ac_header_compiler
=no
11571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11573 echo "${ECHO_T}$ac_header_compiler" >&6
11575 # Is the header present?
11576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11578 cat >conftest.
$ac_ext <<_ACEOF
11581 cat confdefs.h
>>conftest.
$ac_ext
11582 cat >>conftest.
$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11584 #include <$ac_header>
11586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11589 grep -v '^ *+' conftest.er1
>conftest.err
11591 cat conftest.err
>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); } >/dev
/null
; then
11594 if test -s conftest.err
; then
11595 ac_cpp_err
=$ac_c_preproc_warn_flag
11596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11603 if test -z "$ac_cpp_err"; then
11604 ac_header_preproc
=yes
11606 echo "$as_me: failed program was:" >&5
11607 sed 's/^/| /' conftest.
$ac_ext >&5
11609 ac_header_preproc
=no
11611 rm -f conftest.err conftest.
$ac_ext
11612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11613 echo "${ECHO_T}$ac_header_preproc" >&6
11615 # So? What about this header?
11616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11622 ac_header_preproc
=yes
11625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11639 ## ------------------------------------ ##
11640 ## Report this to wine-devel@winehq.org ##
11641 ## ------------------------------------ ##
11644 sed "s/^/$as_me: WARNING: /" >&2
11647 echo "$as_me:$LINENO: checking for $ac_header" >&5
11648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11650 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 eval "$as_ac_Header=\$ac_header_preproc"
11654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11659 cat >>confdefs.h
<<_ACEOF
11660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11662 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11663 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11664 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11665 echo $ECHO_N "(cached) $ECHO_C" >&6
11667 ac_check_lib_save_LIBS
=$LIBS
11668 LIBS
="-laudioio $LIBS"
11669 cat >conftest.
$ac_ext <<_ACEOF
11672 cat confdefs.h
>>conftest.
$ac_ext
11673 cat >>conftest.
$ac_ext <<_ACEOF
11674 /* end confdefs.h. */
11676 /* Override any gcc2 internal prototype to avoid an error. */
11680 /* We use char because int might match the return type of a gcc2
11681 builtin and then its argument prototype would still apply. */
11682 char AudioIOGetVersion ();
11686 AudioIOGetVersion ();
11691 rm -f conftest.
$ac_objext conftest
$ac_exeext
11692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11693 (eval $ac_link) 2>conftest.er1
11695 grep -v '^ *+' conftest.er1
>conftest.err
11697 cat conftest.err
>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); } &&
11700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702 (eval $ac_try) 2>&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); }; } &&
11706 { ac_try
='test -s conftest$ac_exeext'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; }; then
11712 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11714 echo "$as_me: failed program was:" >&5
11715 sed 's/^/| /' conftest.
$ac_ext >&5
11717 ac_cv_lib_audioio_AudioIOGetVersion
=no
11719 rm -f conftest.err conftest.
$ac_objext \
11720 conftest
$ac_exeext conftest.
$ac_ext
11721 LIBS
=$ac_check_lib_save_LIBS
11723 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11724 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11725 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11726 AUDIOIOLIBS
="-laudioio"
11728 cat >>confdefs.h
<<\_ACEOF
11729 #define HAVE_LIBAUDIOIO 1
11741 for ac_header
in capi20.h
11743 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11745 echo "$as_me:$LINENO: checking for $ac_header" >&5
11746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11753 # Is the header compilable?
11754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11756 cat >conftest.
$ac_ext <<_ACEOF
11759 cat confdefs.h
>>conftest.
$ac_ext
11760 cat >>conftest.
$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11762 $ac_includes_default
11763 #include <$ac_header>
11765 rm -f conftest.
$ac_objext
11766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11767 (eval $ac_compile) 2>conftest.er1
11769 grep -v '^ *+' conftest.er1
>conftest.err
11771 cat conftest.err
>&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); } &&
11774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; } &&
11780 { ac_try
='test -s conftest.$ac_objext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_header_compiler
=yes
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.
$ac_ext >&5
11791 ac_header_compiler
=no
11793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11795 echo "${ECHO_T}$ac_header_compiler" >&6
11797 # Is the header present?
11798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11800 cat >conftest.
$ac_ext <<_ACEOF
11803 cat confdefs.h
>>conftest.
$ac_ext
11804 cat >>conftest.
$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11806 #include <$ac_header>
11808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11811 grep -v '^ *+' conftest.er1
>conftest.err
11813 cat conftest.err
>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } >/dev
/null
; then
11816 if test -s conftest.err
; then
11817 ac_cpp_err
=$ac_c_preproc_warn_flag
11818 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11825 if test -z "$ac_cpp_err"; then
11826 ac_header_preproc
=yes
11828 echo "$as_me: failed program was:" >&5
11829 sed 's/^/| /' conftest.
$ac_ext >&5
11831 ac_header_preproc
=no
11833 rm -f conftest.err conftest.
$ac_ext
11834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11835 echo "${ECHO_T}$ac_header_preproc" >&6
11837 # So? What about this header?
11838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11843 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11844 ac_header_preproc
=yes
11847 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11849 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11851 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11852 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11853 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11854 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11857 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11861 ## ------------------------------------ ##
11862 ## Report this to wine-devel@winehq.org ##
11863 ## ------------------------------------ ##
11866 sed "s/^/$as_me: WARNING: /" >&2
11869 echo "$as_me:$LINENO: checking for $ac_header" >&5
11870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 eval "$as_ac_Header=\$ac_header_preproc"
11876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11881 cat >>confdefs.h
<<_ACEOF
11882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11886 for ac_header
in linux
/capi.h
11888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11890 echo "$as_me:$LINENO: checking for $ac_header" >&5
11891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11893 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11898 # Is the header compilable?
11899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11901 cat >conftest.
$ac_ext <<_ACEOF
11904 cat confdefs.h
>>conftest.
$ac_ext
11905 cat >>conftest.
$ac_ext <<_ACEOF
11906 /* end confdefs.h. */
11907 $ac_includes_default
11908 #include <$ac_header>
11910 rm -f conftest.
$ac_objext
11911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11912 (eval $ac_compile) 2>conftest.er1
11914 grep -v '^ *+' conftest.er1
>conftest.err
11916 cat conftest.err
>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; } &&
11925 { ac_try
='test -s conftest.$ac_objext'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11931 ac_header_compiler
=yes
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.
$ac_ext >&5
11936 ac_header_compiler
=no
11938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11940 echo "${ECHO_T}$ac_header_compiler" >&6
11942 # Is the header present?
11943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11945 cat >conftest.
$ac_ext <<_ACEOF
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 #include <$ac_header>
11953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } >/dev
/null
; then
11961 if test -s conftest.err
; then
11962 ac_cpp_err
=$ac_c_preproc_warn_flag
11963 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11970 if test -z "$ac_cpp_err"; then
11971 ac_header_preproc
=yes
11973 echo "$as_me: failed program was:" >&5
11974 sed 's/^/| /' conftest.
$ac_ext >&5
11976 ac_header_preproc
=no
11978 rm -f conftest.err conftest.
$ac_ext
11979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11980 echo "${ECHO_T}$ac_header_preproc" >&6
11982 # So? What about this header?
11983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11989 ac_header_preproc
=yes
11992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12006 ## ------------------------------------ ##
12007 ## Report this to wine-devel@winehq.org ##
12008 ## ------------------------------------ ##
12011 sed "s/^/$as_me: WARNING: /" >&2
12014 echo "$as_me:$LINENO: checking for $ac_header" >&5
12015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12017 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 eval "$as_ac_Header=\$ac_header_preproc"
12021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12026 cat >>confdefs.h
<<_ACEOF
12027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12030 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12031 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12032 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 ac_check_lib_save_LIBS
=$LIBS
12036 LIBS
="-lcapi20 $LIBS"
12037 cat >conftest.
$ac_ext <<_ACEOF
12040 cat confdefs.h
>>conftest.
$ac_ext
12041 cat >>conftest.
$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12044 /* Override any gcc2 internal prototype to avoid an error. */
12048 /* We use char because int might match the return type of a gcc2
12049 builtin and then its argument prototype would still apply. */
12050 char capi20_register ();
12054 capi20_register ();
12059 rm -f conftest.
$ac_objext conftest
$ac_exeext
12060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12061 (eval $ac_link) 2>conftest.er1
12063 grep -v '^ *+' conftest.er1
>conftest.err
12065 cat conftest.err
>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } &&
12068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; } &&
12074 { ac_try
='test -s conftest$ac_exeext'
12075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12076 (eval $ac_try) 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; }; then
12080 ac_cv_lib_capi20_capi20_register
=yes
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.
$ac_ext >&5
12085 ac_cv_lib_capi20_capi20_register
=no
12087 rm -f conftest.err conftest.
$ac_objext \
12088 conftest
$ac_exeext conftest.
$ac_ext
12089 LIBS
=$ac_check_lib_save_LIBS
12091 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12092 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12093 if test $ac_cv_lib_capi20_capi20_register = yes; then
12096 cat >>confdefs.h
<<\_ACEOF
12097 #define HAVE_CAPI4LINUX 1
12115 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12116 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12117 if test "${ac_cv_mmap64_works+set}" = set; then
12118 echo $ECHO_N "(cached) $ECHO_C" >&6
12120 if test "$cross_compiling" = yes; then
12121 ac_cv_mmap64_works
="no"
12123 cat >conftest.
$ac_ext <<_ACEOF
12126 cat confdefs.h
>>conftest.
$ac_ext
12127 cat >>conftest.
$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12130 #define _FILE_OFFSET_BITS 64
12132 #include <unistd.h>
12134 #include <sys/mman.h>
12137 int main(int argc,char **argv) {
12138 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12139 if (fd == -1) exit(1);
12141 unlink("conftest.map");
12143 write(fd,"test",4);
12145 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12151 fprintf(stderr,"success!\n");
12157 rm -f conftest
$ac_exeext
12158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12159 (eval $ac_link) 2>&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12164 (eval $ac_try) 2>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); }; }; then
12168 ac_cv_mmap64_works
="yes"
12170 echo "$as_me: program exited with status $ac_status" >&5
12171 echo "$as_me: failed program was:" >&5
12172 sed 's/^/| /' conftest.
$ac_ext >&5
12174 ( exit $ac_status )
12175 ac_cv_mmap64_works
="no"
12177 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12180 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12181 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12183 if test "$ac_cv_mmap64_works" = "yes"
12186 cat >>confdefs.h
<<\_ACEOF
12187 #define _FILE_OFFSET_BITS 64
12195 if test "x${GCC}" = "xyes"
12197 EXTRACFLAGS
="-Wall -pipe"
12199 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12200 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12201 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 if test "$cross_compiling" = yes; then
12205 ac_cv_c_gcc_strength_bug
="yes"
12207 cat >conftest.
$ac_ext <<_ACEOF
12210 cat confdefs.h
>>conftest.
$ac_ext
12211 cat >>conftest.
$ac_ext <<_ACEOF
12212 /* end confdefs.h. */
12214 int L[4] = {0,1,2,3};
12216 static int Array[3];
12217 unsigned int B = 3;
12219 for(i=0; i<B; i++) Array[i] = i - 3;
12220 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12223 exit( Array[1] != -2 || L[2] != 3);
12226 rm -f conftest
$ac_exeext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12228 (eval $ac_link) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12233 (eval $ac_try) 2>&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); }; }; then
12237 ac_cv_c_gcc_strength_bug
="no"
12239 echo "$as_me: program exited with status $ac_status" >&5
12240 echo "$as_me: failed program was:" >&5
12241 sed 's/^/| /' conftest.
$ac_ext >&5
12243 ( exit $ac_status )
12244 ac_cv_c_gcc_strength_bug
="yes"
12246 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12249 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12250 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12251 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12253 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12256 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12257 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12258 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 ac_wine_try_cflags_saved
=$CFLAGS
12262 CFLAGS
="$CFLAGS -fshort-wchar"
12263 cat >conftest.
$ac_ext <<_ACEOF
12266 cat confdefs.h
>>conftest.
$ac_ext
12267 cat >>conftest.
$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12278 rm -f conftest.
$ac_objext conftest
$ac_exeext
12279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12280 (eval $ac_link) 2>conftest.er1
12282 grep -v '^ *+' conftest.er1
>conftest.err
12284 cat conftest.err
>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } &&
12287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12289 (eval $ac_try) 2>&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }; } &&
12293 { ac_try
='test -s conftest$ac_exeext'
12294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12295 (eval $ac_try) 2>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); }; }; then
12299 ac_cv_c_gcc_fshort_wchar
="yes"
12301 echo "$as_me: failed program was:" >&5
12302 sed 's/^/| /' conftest.
$ac_ext >&5
12304 ac_cv_c_gcc_fshort_wchar
="no"
12306 rm -f conftest.err conftest.
$ac_objext \
12307 conftest
$ac_exeext conftest.
$ac_ext
12308 CFLAGS
=$ac_wine_try_cflags_saved
12310 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12311 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12312 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12315 cat >>confdefs.h
<<\_ACEOF
12316 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12321 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12322 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12323 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 ac_wine_try_cflags_saved
=$CFLAGS
12327 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12328 cat >conftest.
$ac_ext <<_ACEOF
12331 cat confdefs.h
>>conftest.
$ac_ext
12332 cat >>conftest.
$ac_ext <<_ACEOF
12333 /* end confdefs.h. */
12343 rm -f conftest.
$ac_objext conftest
$ac_exeext
12344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12345 (eval $ac_link) 2>conftest.er1
12347 grep -v '^ *+' conftest.er1
>conftest.err
12349 cat conftest.err
>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); } &&
12352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try
='test -s conftest$ac_exeext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12364 ac_cv_c_gcc_stack_boundary
="yes"
12366 echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.
$ac_ext >&5
12369 ac_cv_c_gcc_stack_boundary
="no"
12371 rm -f conftest.err conftest.
$ac_objext \
12372 conftest
$ac_exeext conftest.
$ac_ext
12373 CFLAGS
=$ac_wine_try_cflags_saved
12375 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12376 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12377 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12379 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12382 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12383 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12384 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12385 echo $ECHO_N "(cached) $ECHO_C" >&6
12387 ac_wine_try_cflags_saved
=$CFLAGS
12388 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12389 cat >conftest.
$ac_ext <<_ACEOF
12392 cat confdefs.h
>>conftest.
$ac_ext
12393 cat >>conftest.
$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12404 rm -f conftest.
$ac_objext conftest
$ac_exeext
12405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12406 (eval $ac_link) 2>conftest.er1
12408 grep -v '^ *+' conftest.er1
>conftest.err
12410 cat conftest.err
>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } &&
12413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 (eval $ac_try) 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; } &&
12419 { ac_try
='test -s conftest$ac_exeext'
12420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12421 (eval $ac_try) 2>&5
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); }; }; then
12425 ac_cv_c_gcc_no_strict_aliasing
="yes"
12427 echo "$as_me: failed program was:" >&5
12428 sed 's/^/| /' conftest.
$ac_ext >&5
12430 ac_cv_c_gcc_no_strict_aliasing
="no"
12432 rm -f conftest.err conftest.
$ac_objext \
12433 conftest
$ac_exeext conftest.
$ac_ext
12434 CFLAGS
=$ac_wine_try_cflags_saved
12436 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12437 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12438 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12440 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12443 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12444 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12445 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 ac_wine_try_cflags_saved
=$CFLAGS
12449 CFLAGS
="$CFLAGS -gstabs+"
12450 cat >conftest.
$ac_ext <<_ACEOF
12453 cat confdefs.h
>>conftest.
$ac_ext
12454 cat >>conftest.
$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12465 rm -f conftest.
$ac_objext conftest
$ac_exeext
12466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12467 (eval $ac_link) 2>conftest.er1
12469 grep -v '^ *+' conftest.er1
>conftest.err
12471 cat conftest.err
>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); } &&
12474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; } &&
12480 { ac_try
='test -s conftest$ac_exeext'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; }; then
12486 ac_cv_c_gcc_gstabs
="yes"
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.
$ac_ext >&5
12491 ac_cv_c_gcc_gstabs
="no"
12493 rm -f conftest.err conftest.
$ac_objext \
12494 conftest
$ac_exeext conftest.
$ac_ext
12495 CFLAGS
=$ac_wine_try_cflags_saved
12497 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12498 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12499 if test "$ac_cv_c_gcc_gstabs" = "yes"
12501 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12504 saved_CFLAGS
="$CFLAGS"
12505 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12506 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12507 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12508 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 cat >conftest.
$ac_ext <<_ACEOF
12514 cat confdefs.h
>>conftest.
$ac_ext
12515 cat >>conftest.
$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12517 #include <string.h>
12526 rm -f conftest.
$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12530 grep -v '^ *+' conftest.er1
>conftest.err
12532 cat conftest.err
>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try
='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_cv_c_string_h_warnings
=no
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.
$ac_ext >&5
12552 ac_cv_c_string_h_warnings
=yes
12554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12557 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12558 CFLAGS
="$saved_CFLAGS"
12559 if test "$ac_cv_c_string_h_warnings" = "no"
12561 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12566 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12567 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12568 if test "${ac_cv_asm_func_def+set}" = set; then
12569 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 cat >conftest.
$ac_ext <<_ACEOF
12574 cat confdefs.h
>>conftest.
$ac_ext
12575 cat >>conftest.
$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12577 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"); }
12587 rm -f conftest.
$ac_objext conftest
$ac_exeext
12588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12589 (eval $ac_link) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1
>conftest.err
12593 cat conftest.err
>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } &&
12596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12602 { ac_try
='test -s conftest$ac_exeext'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; }; then
12608 ac_cv_asm_func_def
=".def"
12610 echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.
$ac_ext >&5
12613 cat >conftest.
$ac_ext <<_ACEOF
12616 cat confdefs.h
>>conftest.
$ac_ext
12617 cat >>conftest.
$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12619 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12629 rm -f conftest.
$ac_objext conftest
$ac_exeext
12630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12631 (eval $ac_link) 2>conftest.er1
12633 grep -v '^ *+' conftest.er1
>conftest.err
12635 cat conftest.err
>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } &&
12638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; } &&
12644 { ac_try
='test -s conftest$ac_exeext'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; }; then
12650 ac_cv_asm_func_def
=".type @function"
12652 echo "$as_me: failed program was:" >&5
12653 sed 's/^/| /' conftest.
$ac_ext >&5
12655 cat >conftest.
$ac_ext <<_ACEOF
12658 cat confdefs.h
>>conftest.
$ac_ext
12659 cat >>conftest.
$ac_ext <<_ACEOF
12660 /* end confdefs.h. */
12661 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12671 rm -f conftest.
$ac_objext conftest
$ac_exeext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12673 (eval $ac_link) 2>conftest.er1
12675 grep -v '^ *+' conftest.er1
>conftest.err
12677 cat conftest.err
>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try
='test -s conftest$ac_exeext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12692 ac_cv_asm_func_def
=".type 2"
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.
$ac_ext >&5
12697 ac_cv_asm_func_def
="unknown"
12699 rm -f conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12702 rm -f conftest.err conftest.
$ac_objext \
12703 conftest
$ac_exeext conftest.
$ac_ext
12705 rm -f conftest.err conftest.
$ac_objext \
12706 conftest
$ac_exeext conftest.
$ac_ext
12708 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12709 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12713 case "$ac_cv_asm_func_def" in
12715 cat >>confdefs.h
<<\_ACEOF
12716 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12720 cat >>confdefs.h
<<\_ACEOF
12721 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12725 cat >>confdefs.h
<<\_ACEOF
12726 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12730 cat >>confdefs.h
<<\_ACEOF
12731 #define __ASM_FUNC(name) ""
12737 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12738 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12739 if test "${ac_cv_c_extern_prefix+set}" = set; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 cat >conftest.
$ac_ext <<_ACEOF
12745 cat confdefs.h
>>conftest.
$ac_ext
12746 cat >>conftest.
$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12748 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12749 extern int ac_test;
12753 if (ac_test) return 1
12758 rm -f conftest.
$ac_objext conftest
$ac_exeext
12759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12760 (eval $ac_link) 2>conftest.er1
12762 grep -v '^ *+' conftest.er1
>conftest.err
12764 cat conftest.err
>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); } &&
12767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; } &&
12773 { ac_try
='test -s conftest$ac_exeext'
12774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12775 (eval $ac_try) 2>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); }; }; then
12779 ac_cv_c_extern_prefix
="yes"
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.
$ac_ext >&5
12784 ac_cv_c_extern_prefix
="no"
12786 rm -f conftest.err conftest.
$ac_objext \
12787 conftest
$ac_exeext conftest.
$ac_ext
12789 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12790 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12794 if test "$ac_cv_c_extern_prefix" = "yes"
12796 cat >>confdefs.h
<<\_ACEOF
12797 #define __ASM_NAME(name) "_" name
12801 cat >>confdefs.h
<<\_ACEOF
12802 #define __ASM_NAME(name) name
12808 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12809 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12810 if test "${ac_cv_c_asm_string+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 cat >conftest.
$ac_ext <<_ACEOF
12816 cat confdefs.h
>>conftest.
$ac_ext
12817 cat >>conftest.
$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12829 rm -f conftest.
$ac_objext conftest
$ac_exeext
12830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12831 (eval $ac_link) 2>conftest.er1
12833 grep -v '^ *+' conftest.er1
>conftest.err
12835 cat conftest.err
>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12844 { ac_try
='test -s conftest$ac_exeext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_cv_c_asm_string
=".string"
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 cat >conftest.
$ac_ext <<_ACEOF
12858 cat confdefs.h
>>conftest.
$ac_ext
12859 cat >>conftest.
$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12861 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12871 rm -f conftest.
$ac_objext conftest
$ac_exeext
12872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12873 (eval $ac_link) 2>conftest.er1
12875 grep -v '^ *+' conftest.er1
>conftest.err
12877 cat conftest.err
>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); } &&
12880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12882 (eval $ac_try) 2>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); }; } &&
12886 { ac_try
='test -s conftest$ac_exeext'
12887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12888 (eval $ac_try) 2>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; }; then
12892 ac_cv_c_asm_string
=".asciz"
12894 echo "$as_me: failed program was:" >&5
12895 sed 's/^/| /' conftest.
$ac_ext >&5
12897 cat >conftest.
$ac_ext <<_ACEOF
12900 cat confdefs.h
>>conftest.
$ac_ext
12901 cat >>conftest.
$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12913 rm -f conftest.
$ac_objext conftest
$ac_exeext
12914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12915 (eval $ac_link) 2>conftest.er1
12917 grep -v '^ *+' conftest.er1
>conftest.err
12919 cat conftest.err
>&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } &&
12922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; } &&
12928 { ac_try
='test -s conftest$ac_exeext'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 ac_cv_c_asm_string
=".ascii"
12936 echo "$as_me: failed program was:" >&5
12937 sed 's/^/| /' conftest.
$ac_ext >&5
12939 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12940 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12941 { (exit 1); exit 1; }; }
12943 rm -f conftest.err conftest.
$ac_objext \
12944 conftest
$ac_exeext conftest.
$ac_ext
12946 rm -f conftest.err conftest.
$ac_objext \
12947 conftest
$ac_exeext conftest.
$ac_ext
12949 rm -f conftest.err conftest.
$ac_objext \
12950 conftest
$ac_exeext conftest.
$ac_ext
12952 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12953 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12956 cat >>confdefs.h
<<_ACEOF
12957 #define __ASM_STRING "$ac_cv_c_asm_string"
12962 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12963 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12964 if test "${ac_cv_c_asm_short+set}" = set; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 cat >conftest.
$ac_ext <<_ACEOF
12970 cat confdefs.h
>>conftest.
$ac_ext
12971 cat >>conftest.
$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12983 rm -f conftest.
$ac_objext conftest
$ac_exeext
12984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12985 (eval $ac_link) 2>conftest.er1
12987 grep -v '^ *+' conftest.er1
>conftest.err
12989 cat conftest.err
>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } &&
12992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; } &&
12998 { ac_try
='test -s conftest$ac_exeext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_cv_c_asm_short
=".short"
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.
$ac_ext >&5
13009 cat >conftest.
$ac_ext <<_ACEOF
13012 cat confdefs.h
>>conftest.
$ac_ext
13013 cat >>conftest.
$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13025 rm -f conftest.
$ac_objext conftest
$ac_exeext
13026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13027 (eval $ac_link) 2>conftest.er1
13029 grep -v '^ *+' conftest.er1
>conftest.err
13031 cat conftest.err
>&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } &&
13034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; } &&
13040 { ac_try
='test -s conftest$ac_exeext'
13041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042 (eval $ac_try) 2>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); }; }; then
13046 ac_cv_c_asm_short
=".half"
13048 echo "$as_me: failed program was:" >&5
13049 sed 's/^/| /' conftest.
$ac_ext >&5
13051 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13052 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13053 { (exit 1); exit 1; }; }
13055 rm -f conftest.err conftest.
$ac_objext \
13056 conftest
$ac_exeext conftest.
$ac_ext
13058 rm -f conftest.err conftest.
$ac_objext \
13059 conftest
$ac_exeext conftest.
$ac_ext
13061 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13062 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13065 cat >>confdefs.h
<<_ACEOF
13066 #define __ASM_SHORT "$ac_cv_c_asm_short"
13071 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13072 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13073 if test "${ac_cv_c_asm_size+set}" = set; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 cat >conftest.
$ac_ext <<_ACEOF
13079 cat confdefs.h
>>conftest.
$ac_ext
13080 cat >>conftest.
$ac_ext <<_ACEOF
13081 /* end confdefs.h. */
13082 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13092 rm -f conftest.
$ac_objext conftest
$ac_exeext
13093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13094 (eval $ac_link) 2>conftest.er1
13096 grep -v '^ *+' conftest.er1
>conftest.err
13098 cat conftest.err
>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } &&
13101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; } &&
13107 { ac_try
='test -s conftest$ac_exeext'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; }; then
13113 ac_cv_c_asm_size
="yes"
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.
$ac_ext >&5
13118 ac_cv_c_asm_size
="no"
13120 rm -f conftest.err conftest.
$ac_objext \
13121 conftest
$ac_exeext conftest.
$ac_ext
13123 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13124 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13126 if test "$ac_cv_c_asm_size" = "yes"
13129 cat >>confdefs.h
<<\_ACEOF
13130 #define HAVE_ASM_DOT_SIZE 1
13138 DLLFLAGS
="-D_REENTRANT"
13153 if test -n "$ac_tool_prefix"; then
13154 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13155 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13156 echo "$as_me:$LINENO: checking for $ac_word" >&5
13157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13158 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13159 echo $ECHO_N "(cached) $ECHO_C" >&6
13161 if test -n "$DLLTOOL"; then
13162 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13165 for as_dir
in $PATH
13168 test -z "$as_dir" && as_dir
=.
13169 for ac_exec_ext
in '' $ac_executable_extensions; do
13170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13171 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13180 DLLTOOL
=$ac_cv_prog_DLLTOOL
13181 if test -n "$DLLTOOL"; then
13182 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13183 echo "${ECHO_T}$DLLTOOL" >&6
13185 echo "$as_me:$LINENO: result: no" >&5
13186 echo "${ECHO_T}no" >&6
13190 if test -z "$ac_cv_prog_DLLTOOL"; then
13191 ac_ct_DLLTOOL
=$DLLTOOL
13192 # Extract the first word of "dlltool", so it can be a program name with args.
13193 set dummy dlltool
; ac_word
=$2
13194 echo "$as_me:$LINENO: checking for $ac_word" >&5
13195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13196 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 if test -n "$ac_ct_DLLTOOL"; then
13200 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13203 for as_dir
in $PATH
13206 test -z "$as_dir" && as_dir
=.
13207 for ac_exec_ext
in '' $ac_executable_extensions; do
13208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13209 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13216 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13219 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13220 if test -n "$ac_ct_DLLTOOL"; then
13221 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13222 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13224 echo "$as_me:$LINENO: result: no" >&5
13225 echo "${ECHO_T}no" >&6
13228 DLLTOOL
=$ac_ct_DLLTOOL
13230 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13233 if test -n "$ac_tool_prefix"; then
13234 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13235 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13236 echo "$as_me:$LINENO: checking for $ac_word" >&5
13237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13238 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13239 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 if test -n "$DLLWRAP"; then
13242 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13245 for as_dir
in $PATH
13248 test -z "$as_dir" && as_dir
=.
13249 for ac_exec_ext
in '' $ac_executable_extensions; do
13250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13251 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13260 DLLWRAP
=$ac_cv_prog_DLLWRAP
13261 if test -n "$DLLWRAP"; then
13262 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13263 echo "${ECHO_T}$DLLWRAP" >&6
13265 echo "$as_me:$LINENO: result: no" >&5
13266 echo "${ECHO_T}no" >&6
13270 if test -z "$ac_cv_prog_DLLWRAP"; then
13271 ac_ct_DLLWRAP
=$DLLWRAP
13272 # Extract the first word of "dllwrap", so it can be a program name with args.
13273 set dummy dllwrap
; ac_word
=$2
13274 echo "$as_me:$LINENO: checking for $ac_word" >&5
13275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13276 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13277 echo $ECHO_N "(cached) $ECHO_C" >&6
13279 if test -n "$ac_ct_DLLWRAP"; then
13280 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13283 for as_dir
in $PATH
13286 test -z "$as_dir" && as_dir
=.
13287 for ac_exec_ext
in '' $ac_executable_extensions; do
13288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13289 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13296 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13299 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13300 if test -n "$ac_ct_DLLWRAP"; then
13301 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13302 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13304 echo "$as_me:$LINENO: result: no" >&5
13305 echo "${ECHO_T}no" >&6
13308 DLLWRAP
=$ac_ct_DLLWRAP
13310 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13313 if test "$DLLWRAP" = "false"; then
13324 for ac_header
in dlfcn.h
13326 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13328 echo "$as_me:$LINENO: checking for $ac_header" >&5
13329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13336 # Is the header compilable?
13337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13339 cat >conftest.
$ac_ext <<_ACEOF
13342 cat confdefs.h
>>conftest.
$ac_ext
13343 cat >>conftest.
$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 $ac_includes_default
13346 #include <$ac_header>
13348 rm -f conftest.
$ac_objext
13349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13350 (eval $ac_compile) 2>conftest.er1
13352 grep -v '^ *+' conftest.er1
>conftest.err
13354 cat conftest.err
>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); } &&
13357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; } &&
13363 { ac_try
='test -s conftest.$ac_objext'
13364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13365 (eval $ac_try) 2>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }; }; then
13369 ac_header_compiler
=yes
13371 echo "$as_me: failed program was:" >&5
13372 sed 's/^/| /' conftest.
$ac_ext >&5
13374 ac_header_compiler
=no
13376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13378 echo "${ECHO_T}$ac_header_compiler" >&6
13380 # Is the header present?
13381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13383 cat >conftest.
$ac_ext <<_ACEOF
13386 cat confdefs.h
>>conftest.
$ac_ext
13387 cat >>conftest.
$ac_ext <<_ACEOF
13388 /* end confdefs.h. */
13389 #include <$ac_header>
13391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13394 grep -v '^ *+' conftest.er1
>conftest.err
13396 cat conftest.err
>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); } >/dev
/null
; then
13399 if test -s conftest.err
; then
13400 ac_cpp_err
=$ac_c_preproc_warn_flag
13401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13408 if test -z "$ac_cpp_err"; then
13409 ac_header_preproc
=yes
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.
$ac_ext >&5
13414 ac_header_preproc
=no
13416 rm -f conftest.err conftest.
$ac_ext
13417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13418 echo "${ECHO_T}$ac_header_preproc" >&6
13420 # So? What about this header?
13421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13427 ac_header_preproc
=yes
13430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13444 ## ------------------------------------ ##
13445 ## Report this to wine-devel@winehq.org ##
13446 ## ------------------------------------ ##
13449 sed "s/^/$as_me: WARNING: /" >&2
13452 echo "$as_me:$LINENO: checking for $ac_header" >&5
13453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 eval "$as_ac_Header=\$ac_header_preproc"
13459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13464 cat >>confdefs.h
<<_ACEOF
13465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13468 for ac_func
in dlopen
13470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13471 echo "$as_me:$LINENO: checking for $ac_func" >&5
13472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13473 if eval "test \"\${$as_ac_var+set}\" = set"; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 cat >conftest.
$ac_ext <<_ACEOF
13479 cat confdefs.h
>>conftest.
$ac_ext
13480 cat >>conftest.
$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13484 #define $ac_func innocuous_$ac_func
13486 /* System header to define __stub macros and hopefully few prototypes,
13487 which can conflict with char $ac_func (); below.
13488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13489 <limits.h> exists even on freestanding compilers. */
13492 # include <limits.h>
13494 # include <assert.h>
13499 /* Override any gcc2 internal prototype to avoid an error. */
13504 /* We use char because int might match the return type of a gcc2
13505 builtin and then its argument prototype would still apply. */
13507 /* The GNU C library defines this for functions which it implements
13508 to always fail with ENOSYS. Some functions are actually named
13509 something starting with __ and the normal name is an alias. */
13510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13513 char (*f) () = $ac_func;
13522 return f != $ac_func;
13527 rm -f conftest.
$ac_objext conftest
$ac_exeext
13528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13529 (eval $ac_link) 2>conftest.er1
13531 grep -v '^ *+' conftest.er1
>conftest.err
13533 cat conftest.err
>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); } &&
13536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538 (eval $ac_try) 2>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); }; } &&
13542 { ac_try
='test -s conftest$ac_exeext'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; }; then
13548 eval "$as_ac_var=yes"
13550 echo "$as_me: failed program was:" >&5
13551 sed 's/^/| /' conftest.
$ac_ext >&5
13553 eval "$as_ac_var=no"
13555 rm -f conftest.err conftest.
$ac_objext \
13556 conftest
$ac_exeext conftest.
$ac_ext
13558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13560 if test `eval echo '${'$as_ac_var'}'` = yes; then
13561 cat >>confdefs.h
<<_ACEOF
13562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13566 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 ac_check_lib_save_LIBS
=$LIBS
13573 cat >conftest.
$ac_ext <<_ACEOF
13576 cat confdefs.h
>>conftest.
$ac_ext
13577 cat >>conftest.
$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13580 /* Override any gcc2 internal prototype to avoid an error. */
13584 /* We use char because int might match the return type of a gcc2
13585 builtin and then its argument prototype would still apply. */
13595 rm -f conftest.
$ac_objext conftest
$ac_exeext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13597 (eval $ac_link) 2>conftest.er1
13599 grep -v '^ *+' conftest.er1
>conftest.err
13601 cat conftest.err
>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try
='test -s conftest$ac_exeext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 ac_cv_lib_dl_dlopen
=yes
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.
$ac_ext >&5
13621 ac_cv_lib_dl_dlopen
=no
13623 rm -f conftest.err conftest.
$ac_objext \
13624 conftest
$ac_exeext conftest.
$ac_ext
13625 LIBS
=$ac_check_lib_save_LIBS
13627 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13628 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13629 if test $ac_cv_lib_dl_dlopen = yes; then
13631 cat >>confdefs.h
<<\_ACEOF
13632 #define HAVE_DLOPEN 1
13650 if test "$LIBEXT" = "so"
13652 DLLFLAGS
="$DLLFLAGS -fPIC"
13654 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13655 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13656 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 ac_wine_try_cflags_saved
=$CFLAGS
13660 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13661 cat >conftest.
$ac_ext <<_ACEOF
13664 rm -f conftest.
$ac_objext conftest
$ac_exeext
13665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13666 (eval $ac_link) 2>conftest.er1
13668 grep -v '^ *+' conftest.er1
>conftest.err
13670 cat conftest.err
>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } &&
13673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13675 (eval $ac_try) 2>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; } &&
13679 { ac_try
='test -s conftest$ac_exeext'
13680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13681 (eval $ac_try) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); }; }; then
13685 ac_cv_c_dll_gnuelf
="yes"
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.
$ac_ext >&5
13690 ac_cv_c_dll_gnuelf
="no"
13692 rm -f conftest.err conftest.
$ac_objext \
13693 conftest
$ac_exeext conftest.
$ac_ext
13694 CFLAGS
=$ac_wine_try_cflags_saved
13696 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13697 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13698 if test "$ac_cv_c_dll_gnuelf" = "yes"
13700 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13701 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13702 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13703 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13704 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13707 ac_wine_try_cflags_saved
=$CFLAGS
13708 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13709 cat >conftest.
$ac_ext <<_ACEOF
13712 cat confdefs.h
>>conftest.
$ac_ext
13713 cat >>conftest.
$ac_ext <<_ACEOF
13714 /* end confdefs.h. */
13724 rm -f conftest.
$ac_objext conftest
$ac_exeext
13725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13726 (eval $ac_link) 2>conftest.er1
13728 grep -v '^ *+' conftest.er1
>conftest.err
13730 cat conftest.err
>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } &&
13733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; } &&
13739 { ac_try
='test -s conftest$ac_exeext'
13740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); }; }; then
13745 ac_cv_c_dll_zdefs
="yes"
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.
$ac_ext >&5
13750 ac_cv_c_dll_zdefs
="no"
13752 rm -f conftest.err conftest.
$ac_objext \
13753 conftest
$ac_exeext conftest.
$ac_ext
13754 CFLAGS
=$ac_wine_try_cflags_saved
13756 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13757 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13758 if test "$ac_cv_c_dll_zdefs" = "yes"
13760 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13763 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13764 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13765 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13768 ac_wine_try_cflags_saved
=$CFLAGS
13769 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13770 cat >conftest.
$ac_ext <<_ACEOF
13773 cat confdefs.h
>>conftest.
$ac_ext
13774 cat >>conftest.
$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13785 rm -f conftest.
$ac_objext conftest
$ac_exeext
13786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13787 (eval $ac_link) 2>conftest.er1
13789 grep -v '^ *+' conftest.er1
>conftest.err
13791 cat conftest.err
>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); } &&
13794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796 (eval $ac_try) 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; } &&
13800 { ac_try
='test -s conftest$ac_exeext'
13801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13802 (eval $ac_try) 2>&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); }; }; then
13806 ac_cv_c_dll_init_fini
="yes"
13808 echo "$as_me: failed program was:" >&5
13809 sed 's/^/| /' conftest.
$ac_ext >&5
13811 ac_cv_c_dll_init_fini
="no"
13813 rm -f conftest.err conftest.
$ac_objext \
13814 conftest
$ac_exeext conftest.
$ac_ext
13815 CFLAGS
=$ac_wine_try_cflags_saved
13817 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13818 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13819 if test "$ac_cv_c_dll_init_fini" = "yes"
13821 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13824 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13825 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13826 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13827 echo $ECHO_N "(cached) $ECHO_C" >&6
13829 echo '{ global: *; };' >conftest.map
13830 ac_wine_try_cflags_saved
=$CFLAGS
13831 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13832 cat >conftest.
$ac_ext <<_ACEOF
13835 cat confdefs.h
>>conftest.
$ac_ext
13836 cat >>conftest.
$ac_ext <<_ACEOF
13837 /* end confdefs.h. */
13847 rm -f conftest.
$ac_objext conftest
$ac_exeext
13848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13849 (eval $ac_link) 2>conftest.er1
13851 grep -v '^ *+' conftest.er1
>conftest.err
13853 cat conftest.err
>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); } &&
13856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; } &&
13862 { ac_try
='test -s conftest$ac_exeext'
13863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13864 (eval $ac_try) 2>&5
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); }; }; then
13868 ac_cv_c_ld_version_scripts
="yes"
13870 echo "$as_me: failed program was:" >&5
13871 sed 's/^/| /' conftest.
$ac_ext >&5
13873 ac_cv_c_ld_version_scripts
="no"
13875 rm -f conftest.err conftest.
$ac_objext \
13876 conftest
$ac_exeext conftest.
$ac_ext
13877 CFLAGS
=$ac_wine_try_cflags_saved
13880 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13881 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13882 if test "$ac_cv_c_ld_version_scripts" = "yes"
13884 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13887 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13888 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13889 if test "${ac_cv_c_export_dynamic+set}" = set; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 ac_wine_try_cflags_saved
=$CFLAGS
13893 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13894 cat >conftest.
$ac_ext <<_ACEOF
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13909 rm -f conftest.
$ac_objext conftest
$ac_exeext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13911 (eval $ac_link) 2>conftest.er1
13913 grep -v '^ *+' conftest.er1
>conftest.err
13915 cat conftest.err
>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; } &&
13924 { ac_try
='test -s conftest$ac_exeext'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; }; then
13930 ac_cv_c_export_dynamic
="yes"
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.
$ac_ext >&5
13935 ac_cv_c_export_dynamic
="no"
13937 rm -f conftest.err conftest.
$ac_objext \
13938 conftest
$ac_exeext conftest.
$ac_ext
13939 CFLAGS
=$ac_wine_try_cflags_saved
13941 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13942 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13943 if test "$ac_cv_c_export_dynamic" = "yes"
13945 LDEXECFLAGS
="-Wl,--export-dynamic"
13951 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13952 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13953 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 ac_wine_try_cflags_saved
=$CFLAGS
13957 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13958 cat >conftest.
$ac_ext <<_ACEOF
13961 cat confdefs.h
>>conftest.
$ac_ext
13962 cat >>conftest.
$ac_ext <<_ACEOF
13963 /* end confdefs.h. */
13973 rm -f conftest.
$ac_objext conftest
$ac_exeext
13974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13975 (eval $ac_link) 2>conftest.er1
13977 grep -v '^ *+' conftest.er1
>conftest.err
13979 cat conftest.err
>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } &&
13982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; } &&
13988 { ac_try
='test -s conftest$ac_exeext'
13989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13990 (eval $ac_try) 2>&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); }; }; then
13994 ac_cv_ld_reloc_exec
="yes"
13996 echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.
$ac_ext >&5
13999 ac_cv_ld_reloc_exec
="no"
14001 rm -f conftest.err conftest.
$ac_objext \
14002 conftest
$ac_exeext conftest.
$ac_ext
14003 CFLAGS
=$ac_wine_try_cflags_saved
14005 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14006 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14007 if test "$ac_cv_ld_reloc_exec" = "yes"
14009 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
14015 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14016 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14017 if test "${ac_cv_c_dll_unixware+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 ac_wine_try_cflags_saved
=$CFLAGS
14021 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14022 cat >conftest.
$ac_ext <<_ACEOF
14025 rm -f conftest.
$ac_objext conftest
$ac_exeext
14026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14027 (eval $ac_link) 2>conftest.er1
14029 grep -v '^ *+' conftest.er1
>conftest.err
14031 cat conftest.err
>&5
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); } &&
14034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; } &&
14040 { ac_try
='test -s conftest$ac_exeext'
14041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14042 (eval $ac_try) 2>&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); }; }; then
14046 ac_cv_c_dll_unixware
="yes"
14048 echo "$as_me: failed program was:" >&5
14049 sed 's/^/| /' conftest.
$ac_ext >&5
14051 ac_cv_c_dll_unixware
="no"
14053 rm -f conftest.err conftest.
$ac_objext \
14054 conftest
$ac_exeext conftest.
$ac_ext
14055 CFLAGS
=$ac_wine_try_cflags_saved
14057 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14058 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14059 if test "$ac_cv_c_dll_unixware" = "yes"
14061 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14062 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14065 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14066 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14067 if test "${ac_cv_c_dll_macho+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 ac_wine_try_cflags_saved
=$CFLAGS
14071 CFLAGS
="$CFLAGS -bundle"
14072 cat >conftest.
$ac_ext <<_ACEOF
14075 rm -f conftest.
$ac_objext conftest
$ac_exeext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14077 (eval $ac_link) 2>conftest.er1
14079 grep -v '^ *+' conftest.er1
>conftest.err
14081 cat conftest.err
>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; } &&
14090 { ac_try
='test -s conftest$ac_exeext'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_c_dll_macho
="yes"
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.
$ac_ext >&5
14101 ac_cv_c_dll_macho
="no"
14103 rm -f conftest.err conftest.
$ac_objext \
14104 conftest
$ac_exeext conftest.
$ac_ext
14105 CFLAGS
=$ac_wine_try_cflags_saved
14107 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14108 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14109 if test "$ac_cv_c_dll_macho" = "yes"
14112 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14113 LDSHARED
="\$(CC) -dynamiclib"
14114 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14115 STRIP
="$STRIP -u -r"
14116 LDEXECFLAGS
="-seg1addr 0x120000"
14118 LDLIBWINEFLAGS
="-seg1addr 0x140000"
14120 COREFOUNDATIONLIB
="-framework CoreFoundation"
14122 IOKITLIB
="-framework IOKit"
14124 IOKITLIB
= "$IOKITLIB $COREFOUNDATIONLIB"
14126 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14127 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14128 if test "${ac_cv_c_dll_hpux+set}" = set; then
14129 echo $ECHO_N "(cached) $ECHO_C" >&6
14131 ac_wine_try_cflags_saved
=$CFLAGS
14132 CFLAGS
="$CFLAGS -shared"
14133 cat >conftest.
$ac_ext <<_ACEOF
14136 rm -f conftest.
$ac_objext conftest
$ac_exeext
14137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14138 (eval $ac_link) 2>conftest.er1
14140 grep -v '^ *+' conftest.er1
>conftest.err
14142 cat conftest.err
>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } &&
14145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14147 (eval $ac_try) 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; } &&
14151 { ac_try
='test -s conftest$ac_exeext'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; }; then
14157 ac_cv_c_dll_hpux
="yes"
14159 echo "$as_me: failed program was:" >&5
14160 sed 's/^/| /' conftest.
$ac_ext >&5
14162 ac_cv_c_dll_hpux
="no"
14164 rm -f conftest.err conftest.
$ac_objext \
14165 conftest
$ac_exeext conftest.
$ac_ext
14166 CFLAGS
=$ac_wine_try_cflags_saved
14168 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14169 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14170 if test "$ac_cv_c_dll_hpux" = "yes"
14174 LDDLLFLAGS
="-shared -fPIC"
14175 LDSHARED
="\$(CC) -shared"
14184 if test "$cross_compiling" = "no"
14186 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14188 # Extract the first word of "$ac_prog", so it can be a program name with args.
14189 set dummy
$ac_prog; ac_word
=$2
14190 echo "$as_me:$LINENO: checking for $ac_word" >&5
14191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14192 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14195 if test -n "$CROSSCC"; then
14196 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14199 for as_dir
in $PATH
14202 test -z "$as_dir" && as_dir
=.
14203 for ac_exec_ext
in '' $ac_executable_extensions; do
14204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14205 ac_cv_prog_CROSSCC
="$ac_prog"
14206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14214 CROSSCC
=$ac_cv_prog_CROSSCC
14215 if test -n "$CROSSCC"; then
14216 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14217 echo "${ECHO_T}$CROSSCC" >&6
14219 echo "$as_me:$LINENO: result: no" >&5
14220 echo "${ECHO_T}no" >&6
14223 test -n "$CROSSCC" && break
14225 test -n "$CROSSCC" || CROSSCC
="false"
14227 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14229 # Extract the first word of "$ac_prog", so it can be a program name with args.
14230 set dummy
$ac_prog; ac_word
=$2
14231 echo "$as_me:$LINENO: checking for $ac_word" >&5
14232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14233 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 if test -n "$DLLTOOL"; then
14237 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14240 for as_dir
in $PATH
14243 test -z "$as_dir" && as_dir
=.
14244 for ac_exec_ext
in '' $ac_executable_extensions; do
14245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14246 ac_cv_prog_DLLTOOL
="$ac_prog"
14247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14255 DLLTOOL
=$ac_cv_prog_DLLTOOL
14256 if test -n "$DLLTOOL"; then
14257 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14258 echo "${ECHO_T}$DLLTOOL" >&6
14260 echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6
14264 test -n "$DLLTOOL" && break
14266 test -n "$DLLTOOL" || DLLTOOL
="false"
14268 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14270 # Extract the first word of "$ac_prog", so it can be a program name with args.
14271 set dummy
$ac_prog; ac_word
=$2
14272 echo "$as_me:$LINENO: checking for $ac_word" >&5
14273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14274 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 if test -n "$CROSSWINDRES"; then
14278 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14281 for as_dir
in $PATH
14284 test -z "$as_dir" && as_dir
=.
14285 for ac_exec_ext
in '' $ac_executable_extensions; do
14286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14287 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14296 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14297 if test -n "$CROSSWINDRES"; then
14298 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14299 echo "${ECHO_T}$CROSSWINDRES" >&6
14301 echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6
14305 test -n "$CROSSWINDRES" && break
14307 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14309 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14314 if test "$LIBEXT" = "a"; then
14315 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14316 It is currently not possible to build Wine without shared library
14317 (.so) support to allow transparent switch between .so and .dll files.
14318 If you are using Linux, you will need a newer binutils.
14320 echo "$as_me: error: could not find a way to build shared libraries.
14321 It is currently not possible to build Wine without shared library
14322 (.so) support to allow transparent switch between .so and .dll files.
14323 If you are using Linux, you will need a newer binutils.
14325 { (exit 1); exit 1; }; }
14330 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14333 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14336 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14344 SOCKETLIBS
="-lws2_32"
14352 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
14354 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14357 MAIN_BINARY
="wine-glibc"
14361 WINE_BINARIES
="wine-pthread"
14363 MAIN_BINARY
="wine-pthread"
14367 WINE_BINARIES
="wine-kthread"
14369 MAIN_BINARY
="wine-kthread"
14375 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14377 # Extract the first word of "ldd", so it can be a program name with args.
14378 set dummy ldd
; ac_word
=$2
14379 echo "$as_me:$LINENO: checking for $ac_word" >&5
14380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14381 if test "${ac_cv_path_LDD+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14390 as_dummy
="/sbin:/usr/sbin:$PATH"
14391 for as_dir
in $as_dummy
14394 test -z "$as_dir" && as_dir
=.
14395 for ac_exec_ext
in '' $ac_executable_extensions; do
14396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14397 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14404 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14408 LDD
=$ac_cv_path_LDD
14410 if test -n "$LDD"; then
14411 echo "$as_me:$LINENO: result: $LDD" >&5
14412 echo "${ECHO_T}$LDD" >&6
14414 echo "$as_me:$LINENO: result: no" >&5
14415 echo "${ECHO_T}no" >&6
14419 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14420 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14421 if test "${ac_cv_lib_soname_X11+set}" = set; then
14422 echo $ECHO_N "(cached) $ECHO_C" >&6
14424 ac_get_soname_save_LIBS
=$LIBS
14425 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14426 cat >conftest.
$ac_ext <<_ACEOF
14429 cat confdefs.h
>>conftest.
$ac_ext
14430 cat >>conftest.
$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14433 /* Override any gcc2 internal prototype to avoid an error. */
14437 /* We use char because int might match the return type of a gcc2
14438 builtin and then its argument prototype would still apply. */
14439 char XCreateWindow ();
14448 rm -f conftest.
$ac_objext conftest
$ac_exeext
14449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14450 (eval $ac_link) 2>conftest.er1
14452 grep -v '^ *+' conftest.er1
>conftest.err
14454 cat conftest.err
>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); } &&
14457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14459 (eval $ac_try) 2>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); }; } &&
14463 { ac_try
='test -s conftest$ac_exeext'
14464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 (eval $ac_try) 2>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; }; then
14469 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14470 if test "x$ac_cv_lib_soname_X11" = "x"
14472 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.
$ac_ext >&5
14478 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14480 rm -f conftest.err conftest.
$ac_objext \
14481 conftest
$ac_exeext conftest.
$ac_ext
14482 LIBS
=$ac_get_soname_save_LIBS
14484 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14485 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14486 if test "x$ac_cv_lib_soname_X11" != xNONE
14488 cat >>confdefs.h
<<_ACEOF
14489 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14493 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14494 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14495 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14496 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 ac_get_soname_save_LIBS
=$LIBS
14499 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14500 cat >conftest.
$ac_ext <<_ACEOF
14503 cat confdefs.h
>>conftest.
$ac_ext
14504 cat >>conftest.
$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14507 /* Override any gcc2 internal prototype to avoid an error. */
14511 /* We use char because int might match the return type of a gcc2
14512 builtin and then its argument prototype would still apply. */
14513 char XextCreateExtension ();
14517 XextCreateExtension ();
14522 rm -f conftest.
$ac_objext conftest
$ac_exeext
14523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14524 (eval $ac_link) 2>conftest.er1
14526 grep -v '^ *+' conftest.er1
>conftest.err
14528 cat conftest.err
>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); } &&
14531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; } &&
14537 { ac_try
='test -s conftest$ac_exeext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14544 if test "x$ac_cv_lib_soname_Xext" = "x"
14546 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14549 echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.
$ac_ext >&5
14552 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14554 rm -f conftest.err conftest.
$ac_objext \
14555 conftest
$ac_exeext conftest.
$ac_ext
14556 LIBS
=$ac_get_soname_save_LIBS
14558 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14559 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14560 if test "x$ac_cv_lib_soname_Xext" != xNONE
14562 cat >>confdefs.h
<<_ACEOF
14563 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14567 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14568 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14569 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 ac_get_soname_save_LIBS
=$LIBS
14573 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14574 cat >conftest.
$ac_ext <<_ACEOF
14577 cat confdefs.h
>>conftest.
$ac_ext
14578 cat >>conftest.
$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14581 /* Override any gcc2 internal prototype to avoid an error. */
14585 /* We use char because int might match the return type of a gcc2
14586 builtin and then its argument prototype would still apply. */
14587 char XOpenDevice ();
14596 rm -f conftest.
$ac_objext conftest
$ac_exeext
14597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14598 (eval $ac_link) 2>conftest.er1
14600 grep -v '^ *+' conftest.er1
>conftest.err
14602 cat conftest.err
>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } &&
14605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; } &&
14611 { ac_try
='test -s conftest$ac_exeext'
14612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14613 (eval $ac_try) 2>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); }; }; then
14617 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14618 if test "x$ac_cv_lib_soname_Xi" = "x"
14620 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.
$ac_ext >&5
14626 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14628 rm -f conftest.err conftest.
$ac_objext \
14629 conftest
$ac_exeext conftest.
$ac_ext
14630 LIBS
=$ac_get_soname_save_LIBS
14632 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14633 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14634 if test "x$ac_cv_lib_soname_Xi" != xNONE
14636 cat >>confdefs.h
<<_ACEOF
14637 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14641 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14642 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14643 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14644 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 ac_get_soname_save_LIBS
=$LIBS
14647 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14648 cat >conftest.
$ac_ext <<_ACEOF
14651 cat confdefs.h
>>conftest.
$ac_ext
14652 cat >>conftest.
$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14655 /* Override any gcc2 internal prototype to avoid an error. */
14659 /* We use char because int might match the return type of a gcc2
14660 builtin and then its argument prototype would still apply. */
14661 char XRenderQueryExtension ();
14665 XRenderQueryExtension ();
14670 rm -f conftest.
$ac_objext conftest
$ac_exeext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>conftest.er1
14674 grep -v '^ *+' conftest.er1
>conftest.err
14676 cat conftest.err
>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; } &&
14685 { ac_try
='test -s conftest$ac_exeext'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; }; then
14691 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14692 if test "x$ac_cv_lib_soname_Xrender" = "x"
14694 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14697 echo "$as_me: failed program was:" >&5
14698 sed 's/^/| /' conftest.
$ac_ext >&5
14700 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14702 rm -f conftest.err conftest.
$ac_objext \
14703 conftest
$ac_exeext conftest.
$ac_ext
14704 LIBS
=$ac_get_soname_save_LIBS
14706 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14707 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14708 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14710 cat >>confdefs.h
<<_ACEOF
14711 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14715 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14716 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14717 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 ac_get_soname_save_LIBS
=$LIBS
14721 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14722 cat >conftest.
$ac_ext <<_ACEOF
14725 cat confdefs.h
>>conftest.
$ac_ext
14726 cat >>conftest.
$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14729 /* Override any gcc2 internal prototype to avoid an error. */
14733 /* We use char because int might match the return type of a gcc2
14734 builtin and then its argument prototype would still apply. */
14735 char XRRQueryExtension ();
14739 XRRQueryExtension ();
14744 rm -f conftest.
$ac_objext conftest
$ac_exeext
14745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14746 (eval $ac_link) 2>conftest.er1
14748 grep -v '^ *+' conftest.er1
>conftest.err
14750 cat conftest.err
>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } &&
14753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; } &&
14759 { ac_try
='test -s conftest$ac_exeext'
14760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14761 (eval $ac_try) 2>&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); }; }; then
14765 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14766 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14768 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14771 echo "$as_me: failed program was:" >&5
14772 sed 's/^/| /' conftest.
$ac_ext >&5
14774 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14776 rm -f conftest.err conftest.
$ac_objext \
14777 conftest
$ac_exeext conftest.
$ac_ext
14778 LIBS
=$ac_get_soname_save_LIBS
14780 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14781 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14782 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14784 cat >>confdefs.h
<<_ACEOF
14785 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14789 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14790 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14791 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 ac_get_soname_save_LIBS
=$LIBS
14795 LIBS
="-lfreetype $X_LIBS $LIBS"
14796 cat >conftest.
$ac_ext <<_ACEOF
14799 cat confdefs.h
>>conftest.
$ac_ext
14800 cat >>conftest.
$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14803 /* Override any gcc2 internal prototype to avoid an error. */
14807 /* We use char because int might match the return type of a gcc2
14808 builtin and then its argument prototype would still apply. */
14809 char FT_Init_FreeType ();
14813 FT_Init_FreeType ();
14818 rm -f conftest.
$ac_objext conftest
$ac_exeext
14819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14820 (eval $ac_link) 2>conftest.er1
14822 grep -v '^ *+' conftest.er1
>conftest.err
14824 cat conftest.err
>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); } &&
14827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; } &&
14833 { ac_try
='test -s conftest$ac_exeext'
14834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14835 (eval $ac_try) 2>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); }; }; then
14839 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14840 if test "x$ac_cv_lib_soname_freetype" = "x"
14842 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14845 echo "$as_me: failed program was:" >&5
14846 sed 's/^/| /' conftest.
$ac_ext >&5
14848 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14850 rm -f conftest.err conftest.
$ac_objext \
14851 conftest
$ac_exeext conftest.
$ac_ext
14852 LIBS
=$ac_get_soname_save_LIBS
14854 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14855 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14856 if test "x$ac_cv_lib_soname_freetype" != xNONE
14858 cat >>confdefs.h
<<_ACEOF
14859 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14863 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14864 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14865 if test "${ac_cv_lib_soname_GL+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14868 ac_get_soname_save_LIBS
=$LIBS
14869 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14870 cat >conftest.
$ac_ext <<_ACEOF
14873 cat confdefs.h
>>conftest.
$ac_ext
14874 cat >>conftest.
$ac_ext <<_ACEOF
14875 /* end confdefs.h. */
14877 /* Override any gcc2 internal prototype to avoid an error. */
14881 /* We use char because int might match the return type of a gcc2
14882 builtin and then its argument prototype would still apply. */
14883 char glXQueryExtension ();
14887 glXQueryExtension ();
14892 rm -f conftest.
$ac_objext conftest
$ac_exeext
14893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14894 (eval $ac_link) 2>conftest.er1
14896 grep -v '^ *+' conftest.er1
>conftest.err
14898 cat conftest.err
>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; } &&
14907 { ac_try
='test -s conftest$ac_exeext'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; }; then
14913 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14914 if test "x$ac_cv_lib_soname_GL" = "x"
14916 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.
$ac_ext >&5
14922 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14924 rm -f conftest.err conftest.
$ac_objext \
14925 conftest
$ac_exeext conftest.
$ac_ext
14926 LIBS
=$ac_get_soname_save_LIBS
14928 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14929 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14930 if test "x$ac_cv_lib_soname_GL" != xNONE
14932 cat >>confdefs.h
<<_ACEOF
14933 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14937 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14938 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14939 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14940 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 ac_get_soname_save_LIBS
=$LIBS
14943 LIBS
="-ltxc_dxtn $LIBS"
14944 cat >conftest.
$ac_ext <<_ACEOF
14947 cat confdefs.h
>>conftest.
$ac_ext
14948 cat >>conftest.
$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14951 /* Override any gcc2 internal prototype to avoid an error. */
14955 /* We use char because int might match the return type of a gcc2
14956 builtin and then its argument prototype would still apply. */
14957 char fetch_2d_texel_rgba_dxt1 ();
14961 fetch_2d_texel_rgba_dxt1 ();
14966 rm -f conftest.
$ac_objext conftest
$ac_exeext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14968 (eval $ac_link) 2>conftest.er1
14970 grep -v '^ *+' conftest.er1
>conftest.err
14972 cat conftest.err
>&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } &&
14975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 (eval $ac_try) 2>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); }; } &&
14981 { ac_try
='test -s conftest$ac_exeext'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; }; then
14987 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14988 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14990 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14993 echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.
$ac_ext >&5
14996 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14998 rm -f conftest.err conftest.
$ac_objext \
14999 conftest
$ac_exeext conftest.
$ac_ext
15000 LIBS
=$ac_get_soname_save_LIBS
15002 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15003 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15004 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
15006 cat >>confdefs.h
<<_ACEOF
15007 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15011 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15012 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15013 if test "${ac_cv_lib_soname_cups+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 ac_get_soname_save_LIBS
=$LIBS
15017 LIBS
="-lcups $LIBS"
15018 cat >conftest.
$ac_ext <<_ACEOF
15021 cat confdefs.h
>>conftest.
$ac_ext
15022 cat >>conftest.
$ac_ext <<_ACEOF
15023 /* end confdefs.h. */
15025 /* Override any gcc2 internal prototype to avoid an error. */
15029 /* We use char because int might match the return type of a gcc2
15030 builtin and then its argument prototype would still apply. */
15031 char cupsGetDefault ();
15040 rm -f conftest.
$ac_objext conftest
$ac_exeext
15041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15042 (eval $ac_link) 2>conftest.er1
15044 grep -v '^ *+' conftest.er1
>conftest.err
15046 cat conftest.err
>&5
15047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15048 (exit $ac_status); } &&
15049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; } &&
15055 { ac_try
='test -s conftest$ac_exeext'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; }; then
15061 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15062 if test "x$ac_cv_lib_soname_cups" = "x"
15064 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.
$ac_ext >&5
15070 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15072 rm -f conftest.err conftest.
$ac_objext \
15073 conftest
$ac_exeext conftest.
$ac_ext
15074 LIBS
=$ac_get_soname_save_LIBS
15076 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15077 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15078 if test "x$ac_cv_lib_soname_cups" != xNONE
15080 cat >>confdefs.h
<<_ACEOF
15081 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15085 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15086 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15087 if test "${ac_cv_lib_soname_jack+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 ac_get_soname_save_LIBS
=$LIBS
15091 LIBS
="-ljack $LIBS"
15092 cat >conftest.
$ac_ext <<_ACEOF
15095 cat confdefs.h
>>conftest.
$ac_ext
15096 cat >>conftest.
$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15099 /* Override any gcc2 internal prototype to avoid an error. */
15103 /* We use char because int might match the return type of a gcc2
15104 builtin and then its argument prototype would still apply. */
15105 char jack_client_new ();
15109 jack_client_new ();
15114 rm -f conftest.
$ac_objext conftest
$ac_exeext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15116 (eval $ac_link) 2>conftest.er1
15118 grep -v '^ *+' conftest.er1
>conftest.err
15120 cat conftest.err
>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try
='test -s conftest$ac_exeext'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; }; then
15135 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15136 if test "x$ac_cv_lib_soname_jack" = "x"
15138 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.
$ac_ext >&5
15144 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15146 rm -f conftest.err conftest.
$ac_objext \
15147 conftest
$ac_exeext conftest.
$ac_ext
15148 LIBS
=$ac_get_soname_save_LIBS
15150 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15151 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15152 if test "x$ac_cv_lib_soname_jack" != xNONE
15154 cat >>confdefs.h
<<_ACEOF
15155 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15159 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15160 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15161 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 ac_get_soname_save_LIBS
=$LIBS
15165 LIBS
="-lfontconfig $LIBS"
15166 cat >conftest.
$ac_ext <<_ACEOF
15169 cat confdefs.h
>>conftest.
$ac_ext
15170 cat >>conftest.
$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15173 /* Override any gcc2 internal prototype to avoid an error. */
15177 /* We use char because int might match the return type of a gcc2
15178 builtin and then its argument prototype would still apply. */
15188 rm -f conftest.
$ac_objext conftest
$ac_exeext
15189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15190 (eval $ac_link) 2>conftest.er1
15192 grep -v '^ *+' conftest.er1
>conftest.err
15194 cat conftest.err
>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } &&
15197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15199 (eval $ac_try) 2>&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); }; } &&
15203 { ac_try
='test -s conftest$ac_exeext'
15204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15205 (eval $ac_try) 2>&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); }; }; then
15209 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15210 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15212 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.
$ac_ext >&5
15218 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15220 rm -f conftest.err conftest.
$ac_objext \
15221 conftest
$ac_exeext conftest.
$ac_ext
15222 LIBS
=$ac_get_soname_save_LIBS
15224 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15225 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15226 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15228 cat >>confdefs.h
<<_ACEOF
15229 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15233 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15234 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15235 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15236 echo $ECHO_N "(cached) $ECHO_C" >&6
15238 ac_get_soname_save_LIBS
=$LIBS
15240 cat >conftest.
$ac_ext <<_ACEOF
15243 cat confdefs.h
>>conftest.
$ac_ext
15244 cat >>conftest.
$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15247 /* Override any gcc2 internal prototype to avoid an error. */
15251 /* We use char because int might match the return type of a gcc2
15252 builtin and then its argument prototype would still apply. */
15253 char SSL_library_init ();
15257 SSL_library_init ();
15262 rm -f conftest.
$ac_objext conftest
$ac_exeext
15263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15264 (eval $ac_link) 2>conftest.er1
15266 grep -v '^ *+' conftest.er1
>conftest.err
15268 cat conftest.err
>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } &&
15271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; } &&
15277 { ac_try
='test -s conftest$ac_exeext'
15278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15279 (eval $ac_try) 2>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; }; then
15283 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15284 if test "x$ac_cv_lib_soname_ssl" = "x"
15286 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.
$ac_ext >&5
15292 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15294 rm -f conftest.err conftest.
$ac_objext \
15295 conftest
$ac_exeext conftest.
$ac_ext
15296 LIBS
=$ac_get_soname_save_LIBS
15298 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15299 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15300 if test "x$ac_cv_lib_soname_ssl" != xNONE
15302 cat >>confdefs.h
<<_ACEOF
15303 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15307 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15308 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15309 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 ac_get_soname_save_LIBS
=$LIBS
15313 LIBS
="-lcrypto $LIBS"
15314 cat >conftest.
$ac_ext <<_ACEOF
15317 cat confdefs.h
>>conftest.
$ac_ext
15318 cat >>conftest.
$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15321 /* Override any gcc2 internal prototype to avoid an error. */
15325 /* We use char because int might match the return type of a gcc2
15326 builtin and then its argument prototype would still apply. */
15327 char BIO_new_socket ();
15336 rm -f conftest.
$ac_objext conftest
$ac_exeext
15337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15338 (eval $ac_link) 2>conftest.er1
15340 grep -v '^ *+' conftest.er1
>conftest.err
15342 cat conftest.err
>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } &&
15345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; } &&
15351 { ac_try
='test -s conftest$ac_exeext'
15352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15353 (eval $ac_try) 2>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }; }; then
15357 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15358 if test "x$ac_cv_lib_soname_crypto" = "x"
15360 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15366 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15368 rm -f conftest.err conftest.
$ac_objext \
15369 conftest
$ac_exeext conftest.
$ac_ext
15370 LIBS
=$ac_get_soname_save_LIBS
15372 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15373 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15374 if test "x$ac_cv_lib_soname_crypto" != xNONE
15376 cat >>confdefs.h
<<_ACEOF
15377 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15381 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15382 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15383 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 ac_get_soname_save_LIBS
=$LIBS
15387 LIBS
="-lncurses $LIBS"
15388 cat >conftest.
$ac_ext <<_ACEOF
15391 cat confdefs.h
>>conftest.
$ac_ext
15392 cat >>conftest.
$ac_ext <<_ACEOF
15393 /* end confdefs.h. */
15395 /* Override any gcc2 internal prototype to avoid an error. */
15399 /* We use char because int might match the return type of a gcc2
15400 builtin and then its argument prototype would still apply. */
15410 rm -f conftest.
$ac_objext conftest
$ac_exeext
15411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15412 (eval $ac_link) 2>conftest.er1
15414 grep -v '^ *+' conftest.er1
>conftest.err
15416 cat conftest.err
>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } &&
15419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try
='test -s conftest$ac_exeext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15431 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15432 if test "x$ac_cv_lib_soname_ncurses" = "x"
15434 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.
$ac_ext >&5
15440 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15442 rm -f conftest.err conftest.
$ac_objext \
15443 conftest
$ac_exeext conftest.
$ac_ext
15444 LIBS
=$ac_get_soname_save_LIBS
15446 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15447 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15448 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15450 cat >>confdefs.h
<<_ACEOF
15451 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15455 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15456 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15457 if test "${ac_cv_lib_soname_curses+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 ac_get_soname_save_LIBS
=$LIBS
15461 LIBS
="-lcurses $LIBS"
15462 cat >conftest.
$ac_ext <<_ACEOF
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15469 /* Override any gcc2 internal prototype to avoid an error. */
15473 /* We use char because int might match the return type of a gcc2
15474 builtin and then its argument prototype would still apply. */
15484 rm -f conftest.
$ac_objext conftest
$ac_exeext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15486 (eval $ac_link) 2>conftest.er1
15488 grep -v '^ *+' conftest.er1
>conftest.err
15490 cat conftest.err
>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; } &&
15499 { ac_try
='test -s conftest$ac_exeext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15505 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15506 if test "x$ac_cv_lib_soname_curses" = "x"
15508 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.
$ac_ext >&5
15514 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15516 rm -f conftest.err conftest.
$ac_objext \
15517 conftest
$ac_exeext conftest.
$ac_ext
15518 LIBS
=$ac_get_soname_save_LIBS
15520 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15521 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15522 if test "x$ac_cv_lib_soname_curses" != xNONE
15524 cat >>confdefs.h
<<_ACEOF
15525 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15529 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15530 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15531 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 ac_get_soname_save_LIBS
=$LIBS
15535 LIBS
="-ljpeg $LIBS"
15536 cat >conftest.
$ac_ext <<_ACEOF
15539 cat confdefs.h
>>conftest.
$ac_ext
15540 cat >>conftest.
$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15543 /* Override any gcc2 internal prototype to avoid an error. */
15547 /* We use char because int might match the return type of a gcc2
15548 builtin and then its argument prototype would still apply. */
15549 char jpeg_start_decompress ();
15553 jpeg_start_decompress ();
15558 rm -f conftest.
$ac_objext conftest
$ac_exeext
15559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15560 (eval $ac_link) 2>conftest.er1
15562 grep -v '^ *+' conftest.er1
>conftest.err
15564 cat conftest.err
>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } &&
15567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; } &&
15573 { ac_try
='test -s conftest$ac_exeext'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; }; then
15579 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15580 if test "x$ac_cv_lib_soname_jpeg" = "x"
15582 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.
$ac_ext >&5
15588 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15590 rm -f conftest.err conftest.
$ac_objext \
15591 conftest
$ac_exeext conftest.
$ac_ext
15592 LIBS
=$ac_get_soname_save_LIBS
15594 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15595 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15596 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15598 cat >>confdefs.h
<<_ACEOF
15599 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15603 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15604 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15605 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 ac_get_soname_save_LIBS
=$LIBS
15609 LIBS
="-lungif $LIBS"
15610 cat >conftest.
$ac_ext <<_ACEOF
15613 cat confdefs.h
>>conftest.
$ac_ext
15614 cat >>conftest.
$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15617 /* Override any gcc2 internal prototype to avoid an error. */
15621 /* We use char because int might match the return type of a gcc2
15622 builtin and then its argument prototype would still apply. */
15632 rm -f conftest.
$ac_objext conftest
$ac_exeext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15634 (eval $ac_link) 2>conftest.er1
15636 grep -v '^ *+' conftest.er1
>conftest.err
15638 cat conftest.err
>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15643 (eval $ac_try) 2>&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); }; } &&
15647 { ac_try
='test -s conftest$ac_exeext'
15648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15649 (eval $ac_try) 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; }; then
15653 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15654 if test "x$ac_cv_lib_soname_ungif" = "x"
15656 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.
$ac_ext >&5
15662 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15664 rm -f conftest.err conftest.
$ac_objext \
15665 conftest
$ac_exeext conftest.
$ac_ext
15666 LIBS
=$ac_get_soname_save_LIBS
15668 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15669 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15670 if test "x$ac_cv_lib_soname_ungif" != xNONE
15672 cat >>confdefs.h
<<_ACEOF
15673 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15677 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15678 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15679 if test "${ac_cv_lib_soname_gif+set}" = set; then
15680 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 ac_get_soname_save_LIBS
=$LIBS
15684 cat >conftest.
$ac_ext <<_ACEOF
15687 cat confdefs.h
>>conftest.
$ac_ext
15688 cat >>conftest.
$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15691 /* Override any gcc2 internal prototype to avoid an error. */
15695 /* We use char because int might match the return type of a gcc2
15696 builtin and then its argument prototype would still apply. */
15706 rm -f conftest.
$ac_objext conftest
$ac_exeext
15707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15708 (eval $ac_link) 2>conftest.er1
15710 grep -v '^ *+' conftest.er1
>conftest.err
15712 cat conftest.err
>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); } &&
15715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; } &&
15721 { ac_try
='test -s conftest$ac_exeext'
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723 (eval $ac_try) 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15728 if test "x$ac_cv_lib_soname_gif" = "x"
15730 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.
$ac_ext >&5
15736 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15738 rm -f conftest.err conftest.
$ac_objext \
15739 conftest
$ac_exeext conftest.
$ac_ext
15740 LIBS
=$ac_get_soname_save_LIBS
15742 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15743 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15744 if test "x$ac_cv_lib_soname_gif" != xNONE
15746 cat >>confdefs.h
<<_ACEOF
15747 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15751 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15752 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15753 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15756 ac_get_soname_save_LIBS
=$LIBS
15757 LIBS
="-llcms $LIBS"
15758 cat >conftest.
$ac_ext <<_ACEOF
15761 cat confdefs.h
>>conftest.
$ac_ext
15762 cat >>conftest.
$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15765 /* Override any gcc2 internal prototype to avoid an error. */
15769 /* We use char because int might match the return type of a gcc2
15770 builtin and then its argument prototype would still apply. */
15771 char cmsOpenProfileFromFile ();
15775 cmsOpenProfileFromFile ();
15780 rm -f conftest.
$ac_objext conftest
$ac_exeext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15782 (eval $ac_link) 2>conftest.er1
15784 grep -v '^ *+' conftest.er1
>conftest.err
15786 cat conftest.err
>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; } &&
15795 { ac_try
='test -s conftest$ac_exeext'
15796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15797 (eval $ac_try) 2>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); }; }; then
15801 ac_cv_lib_soname_lcms
=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15802 if test "x$ac_cv_lib_soname_lcms" = "x"
15804 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.
$ac_ext >&5
15810 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15812 rm -f conftest.err conftest.
$ac_objext \
15813 conftest
$ac_exeext conftest.
$ac_ext
15814 LIBS
=$ac_get_soname_save_LIBS
15816 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15817 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15818 if test "x$ac_cv_lib_soname_lcms" != xNONE
15820 cat >>confdefs.h
<<_ACEOF
15821 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15825 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15826 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15827 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15828 echo $ECHO_N "(cached) $ECHO_C" >&6
15830 ac_get_soname_save_LIBS
=$LIBS
15831 LIBS
="-lcapi20 $LIBS"
15832 cat >conftest.
$ac_ext <<_ACEOF
15835 cat confdefs.h
>>conftest.
$ac_ext
15836 cat >>conftest.
$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15839 /* Override any gcc2 internal prototype to avoid an error. */
15843 /* We use char because int might match the return type of a gcc2
15844 builtin and then its argument prototype would still apply. */
15845 char capi20_isinstalled ();
15849 capi20_isinstalled ();
15854 rm -f conftest.
$ac_objext conftest
$ac_exeext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15856 (eval $ac_link) 2>conftest.er1
15858 grep -v '^ *+' conftest.er1
>conftest.err
15860 cat conftest.err
>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } &&
15863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; } &&
15869 { ac_try
='test -s conftest$ac_exeext'
15870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871 (eval $ac_try) 2>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; }; then
15875 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
15876 if test "x$ac_cv_lib_soname_capi20" = "x"
15878 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15886 rm -f conftest.err conftest.
$ac_objext \
15887 conftest
$ac_exeext conftest.
$ac_ext
15888 LIBS
=$ac_get_soname_save_LIBS
15890 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15891 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15892 if test "x$ac_cv_lib_soname_capi20" != xNONE
15894 cat >>confdefs.h
<<_ACEOF
15895 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15902 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15903 # for constant arguments. Useless!
15904 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15905 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15906 if test "${ac_cv_working_alloca_h+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15909 cat >conftest.
$ac_ext <<_ACEOF
15912 cat confdefs.h
>>conftest.
$ac_ext
15913 cat >>conftest.
$ac_ext <<_ACEOF
15914 /* end confdefs.h. */
15915 #include <alloca.h>
15919 char *p = (char *) alloca (2 * sizeof (int));
15924 rm -f conftest.
$ac_objext conftest
$ac_exeext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15926 (eval $ac_link) 2>conftest.er1
15928 grep -v '^ *+' conftest.er1
>conftest.err
15930 cat conftest.err
>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; } &&
15939 { ac_try
='test -s conftest$ac_exeext'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15945 ac_cv_working_alloca_h
=yes
15947 echo "$as_me: failed program was:" >&5
15948 sed 's/^/| /' conftest.
$ac_ext >&5
15950 ac_cv_working_alloca_h
=no
15952 rm -f conftest.err conftest.
$ac_objext \
15953 conftest
$ac_exeext conftest.
$ac_ext
15955 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15956 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15957 if test $ac_cv_working_alloca_h = yes; then
15959 cat >>confdefs.h
<<\_ACEOF
15960 #define HAVE_ALLOCA_H 1
15965 echo "$as_me:$LINENO: checking for alloca" >&5
15966 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15967 if test "${ac_cv_func_alloca_works+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 cat >conftest.
$ac_ext <<_ACEOF
15973 cat confdefs.h
>>conftest.
$ac_ext
15974 cat >>conftest.
$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15977 # define alloca __builtin_alloca
15980 # include <malloc.h>
15981 # define alloca _alloca
15984 # include <alloca.h>
15989 # ifndef alloca /* predefined by HP cc +Olibcalls */
16000 char *p = (char *) alloca (1);
16005 rm -f conftest.
$ac_objext conftest
$ac_exeext
16006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16007 (eval $ac_link) 2>conftest.er1
16009 grep -v '^ *+' conftest.er1
>conftest.err
16011 cat conftest.err
>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try
='test -s conftest$ac_exeext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_cv_func_alloca_works
=yes
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16031 ac_cv_func_alloca_works
=no
16033 rm -f conftest.err conftest.
$ac_objext \
16034 conftest
$ac_exeext conftest.
$ac_ext
16036 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16037 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16039 if test $ac_cv_func_alloca_works = yes; then
16041 cat >>confdefs.h
<<\_ACEOF
16042 #define HAVE_ALLOCA 1
16046 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16047 # that cause trouble. Some versions do not even contain alloca or
16048 # contain a buggy version. If you still want to use their alloca,
16049 # use ar to extract alloca.o from them instead of compiling alloca.c.
16051 ALLOCA
=alloca.
$ac_objext
16053 cat >>confdefs.h
<<\_ACEOF
16058 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16059 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16060 if test "${ac_cv_os_cray+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 #if defined(CRAY) && ! defined(CRAY2)
16076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16077 $EGREP "webecray" >/dev
/null
2>&1; then
16085 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16086 echo "${ECHO_T}$ac_cv_os_cray" >&6
16087 if test $ac_cv_os_cray = yes; then
16088 for ac_func
in _getb67 GETB67 getb67
; do
16089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16090 echo "$as_me:$LINENO: checking for $ac_func" >&5
16091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16092 if eval "test \"\${$as_ac_var+set}\" = set"; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 cat >conftest.
$ac_ext <<_ACEOF
16098 cat confdefs.h
>>conftest.
$ac_ext
16099 cat >>conftest.
$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16103 #define $ac_func innocuous_$ac_func
16105 /* System header to define __stub macros and hopefully few prototypes,
16106 which can conflict with char $ac_func (); below.
16107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16108 <limits.h> exists even on freestanding compilers. */
16111 # include <limits.h>
16113 # include <assert.h>
16118 /* Override any gcc2 internal prototype to avoid an error. */
16123 /* We use char because int might match the return type of a gcc2
16124 builtin and then its argument prototype would still apply. */
16126 /* The GNU C library defines this for functions which it implements
16127 to always fail with ENOSYS. Some functions are actually named
16128 something starting with __ and the normal name is an alias. */
16129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16132 char (*f) () = $ac_func;
16141 return f != $ac_func;
16146 rm -f conftest.
$ac_objext conftest
$ac_exeext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16148 (eval $ac_link) 2>conftest.er1
16150 grep -v '^ *+' conftest.er1
>conftest.err
16152 cat conftest.err
>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; } &&
16161 { ac_try
='test -s conftest$ac_exeext'
16162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16163 (eval $ac_try) 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); }; }; then
16167 eval "$as_ac_var=yes"
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.
$ac_ext >&5
16172 eval "$as_ac_var=no"
16174 rm -f conftest.err conftest.
$ac_objext \
16175 conftest
$ac_exeext conftest.
$ac_ext
16177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16179 if test `eval echo '${'$as_ac_var'}'` = yes; then
16181 cat >>confdefs.h
<<_ACEOF
16182 #define CRAY_STACKSEG_END $ac_func
16191 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16192 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16193 if test "${ac_cv_c_stack_direction+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 if test "$cross_compiling" = yes; then
16197 ac_cv_c_stack_direction
=0
16199 cat >conftest.
$ac_ext <<_ACEOF
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16206 find_stack_direction ()
16208 static char *addr = 0;
16213 return find_stack_direction ();
16216 return (&dummy > addr) ? 1 : -1;
16222 exit (find_stack_direction () < 0);
16225 rm -f conftest
$ac_exeext
16226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16227 (eval $ac_link) 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_cv_c_stack_direction
=1
16238 echo "$as_me: program exited with status $ac_status" >&5
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.
$ac_ext >&5
16242 ( exit $ac_status )
16243 ac_cv_c_stack_direction
=-1
16245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16248 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16249 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16251 cat >>confdefs.h
<<_ACEOF
16252 #define STACK_DIRECTION $ac_cv_c_stack_direction
16379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16380 echo "$as_me:$LINENO: checking for $ac_func" >&5
16381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16382 if eval "test \"\${$as_ac_var+set}\" = set"; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16393 #define $ac_func innocuous_$ac_func
16395 /* System header to define __stub macros and hopefully few prototypes,
16396 which can conflict with char $ac_func (); below.
16397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16398 <limits.h> exists even on freestanding compilers. */
16401 # include <limits.h>
16403 # include <assert.h>
16408 /* Override any gcc2 internal prototype to avoid an error. */
16413 /* We use char because int might match the return type of a gcc2
16414 builtin and then its argument prototype would still apply. */
16416 /* The GNU C library defines this for functions which it implements
16417 to always fail with ENOSYS. Some functions are actually named
16418 something starting with __ and the normal name is an alias. */
16419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16422 char (*f) () = $ac_func;
16431 return f != $ac_func;
16436 rm -f conftest.
$ac_objext conftest
$ac_exeext
16437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16438 (eval $ac_link) 2>conftest.er1
16440 grep -v '^ *+' conftest.er1
>conftest.err
16442 cat conftest.err
>&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 (eval $ac_try) 2>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; } &&
16451 { ac_try
='test -s conftest$ac_exeext'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16457 eval "$as_ac_var=yes"
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.
$ac_ext >&5
16462 eval "$as_ac_var=no"
16464 rm -f conftest.err conftest.
$ac_objext \
16465 conftest
$ac_exeext conftest.
$ac_ext
16467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16469 if test `eval echo '${'$as_ac_var'}'` = yes; then
16470 cat >>confdefs.h
<<_ACEOF
16471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16481 for ac_header
in sys
/mount.h sys
/user.h
16483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16484 echo "$as_me:$LINENO: checking for $ac_header" >&5
16485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <sys/types.h>
16496 #if HAVE_SYS_PARAM_H
16497 # include <sys/param.h>
16500 #include <$ac_header>
16502 rm -f conftest.
$ac_objext
16503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16504 (eval $ac_compile) 2>conftest.er1
16506 grep -v '^ *+' conftest.er1
>conftest.err
16508 cat conftest.err
>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } &&
16511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; } &&
16517 { ac_try
='test -s conftest.$ac_objext'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; }; then
16523 eval "$as_ac_Header=yes"
16525 echo "$as_me: failed program was:" >&5
16526 sed 's/^/| /' conftest.
$ac_ext >&5
16528 eval "$as_ac_Header=no"
16530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16535 cat >>confdefs.h
<<_ACEOF
16536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16549 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16551 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16552 echo "$as_me:$LINENO: checking for $ac_header" >&5
16553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 cat >conftest.
$ac_ext <<_ACEOF
16560 cat confdefs.h
>>conftest.
$ac_ext
16561 cat >>conftest.
$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 #include <sys/types.h>
16564 #if HAVE_SYS_SOCKET_H
16565 # include <sys/socket.h>
16568 #include <$ac_header>
16570 rm -f conftest.
$ac_objext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16572 (eval $ac_compile) 2>conftest.er1
16574 grep -v '^ *+' conftest.er1
>conftest.err
16576 cat conftest.err
>&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } &&
16579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16581 (eval $ac_try) 2>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); }; } &&
16585 { ac_try
='test -s conftest.$ac_objext'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 eval "$as_ac_Header=yes"
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.
$ac_ext >&5
16596 eval "$as_ac_Header=no"
16598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16603 cat >>confdefs.h
<<_ACEOF
16604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16613 for ac_header
in resolv.h
16615 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16616 echo "$as_me:$LINENO: checking for $ac_header" >&5
16617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 cat >conftest.
$ac_ext <<_ACEOF
16624 cat confdefs.h
>>conftest.
$ac_ext
16625 cat >>conftest.
$ac_ext <<_ACEOF
16626 /* end confdefs.h. */
16627 #include <sys/types.h>
16628 #if HAVE_SYS_SOCKET_H
16629 # include <sys/socket.h>
16631 #if HAVE_NETINET_IN_H
16632 # include <netinet/in.h>
16634 #if HAVE_ARPA_NAMESER_H
16635 # include <arpa/nameser.h>
16638 #include <$ac_header>
16640 rm -f conftest.
$ac_objext
16641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16642 (eval $ac_compile) 2>conftest.er1
16644 grep -v '^ *+' conftest.er1
>conftest.err
16646 cat conftest.err
>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); } &&
16649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651 (eval $ac_try) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); }; } &&
16655 { ac_try
='test -s conftest.$ac_objext'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; }; then
16661 eval "$as_ac_Header=yes"
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16666 eval "$as_ac_Header=no"
16668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16673 cat >>confdefs.h
<<_ACEOF
16674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16683 for ac_header
in ucontext.h
16685 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16686 echo "$as_me:$LINENO: checking for $ac_header" >&5
16687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 cat >conftest.
$ac_ext <<_ACEOF
16694 cat confdefs.h
>>conftest.
$ac_ext
16695 cat >>conftest.
$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #include <signal.h>
16699 #include <$ac_header>
16701 rm -f conftest.
$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try
='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 eval "$as_ac_Header=yes"
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.
$ac_ext >&5
16727 eval "$as_ac_Header=no"
16729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16734 cat >>confdefs.h
<<_ACEOF
16735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16744 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16745 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16746 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 cat >conftest.
$ac_ext <<_ACEOF
16752 cat confdefs.h
>>conftest.
$ac_ext
16753 cat >>conftest.
$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 #include <sys/types.h>
16756 #ifdef HAVE_SYS_SOCKET_H
16757 # include <sys/socket.h>
16759 #include <netipx/ipx.h>
16763 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16768 rm -f conftest.
$ac_objext
16769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16770 (eval $ac_compile) 2>conftest.er1
16772 grep -v '^ *+' conftest.er1
>conftest.err
16774 cat conftest.err
>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } &&
16777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16779 (eval $ac_try) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); }; } &&
16783 { ac_try
='test -s conftest.$ac_objext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_c_ipx_gnu
="yes"
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.
$ac_ext >&5
16794 ac_cv_c_ipx_gnu
="no"
16796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16799 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16800 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16801 if test "$ac_cv_c_ipx_gnu" = "yes"
16804 cat >>confdefs.h
<<\_ACEOF
16805 #define HAVE_IPX_GNU 1
16810 if test "$ac_cv_c_ipx_gnu" = "no"
16812 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16813 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16814 if test "${ac_cv_c_ipx_linux+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 #include <sys/types.h>
16824 #ifdef HAVE_SYS_SOCKET_H
16825 # include <sys/socket.h>
16827 #include <asm/types.h>
16828 #include <linux/ipx.h>
16832 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; } &&
16852 { ac_try
='test -s conftest.$ac_objext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_cv_c_ipx_linux
="yes"
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.
$ac_ext >&5
16863 ac_cv_c_ipx_linux
="no"
16865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16868 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16869 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16870 if test "$ac_cv_c_ipx_linux" = "yes"
16873 cat >>confdefs.h
<<\_ACEOF
16874 #define HAVE_IPX_LINUX 1
16881 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16882 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16883 if test "${ac_cv_c_const+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 cat >conftest.
$ac_ext <<_ACEOF
16889 cat confdefs.h
>>conftest.
$ac_ext
16890 cat >>conftest.
$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16896 /* FIXME: Include the comments suggested by Paul. */
16897 #ifndef __cplusplus
16898 /* Ultrix mips cc rejects this. */
16899 typedef int charset[2];
16901 /* SunOS 4.1.1 cc rejects this. */
16902 char const *const *ccp;
16904 /* NEC SVR4.0.2 mips cc rejects this. */
16905 struct point {int x, y;};
16906 static struct point const zero = {0,0};
16907 /* AIX XL C 1.02.0.0 rejects this.
16908 It does not let you subtract one const X* pointer from another in
16909 an arm of an if-expression whose if-part is not a constant
16911 const char *g = "string";
16912 ccp = &g + (g ? g-g : 0);
16913 /* HPUX 7.0 cc rejects these. */
16916 ccp = (char const *const *) p;
16917 { /* SCO 3.2v4 cc rejects this. */
16919 char const *s = 0 ? (char *) 0 : (char const *) 0;
16923 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16924 int x[] = {25, 17};
16925 const int *foo = &x[0];
16928 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16929 typedef const int *iptr;
16933 { /* AIX XL C 1.02.0.0 rejects this saying
16934 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16935 struct s { int j; const int *ap[3]; };
16936 struct s *b; b->j = 5;
16938 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16939 const int foo = 10;
16947 rm -f conftest.
$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16951 grep -v '^ *+' conftest.er1
>conftest.err
16953 cat conftest.err
>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try
='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.
$ac_ext >&5
16975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16977 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16978 echo "${ECHO_T}$ac_cv_c_const" >&6
16979 if test $ac_cv_c_const = no
; then
16981 cat >>confdefs.h
<<\_ACEOF
16987 echo "$as_me:$LINENO: checking for inline" >&5
16988 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16989 if test "${ac_cv_c_inline+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 for ac_kw
in inline __inline__ __inline
; do
16994 cat >conftest.
$ac_ext <<_ACEOF
16997 cat confdefs.h
>>conftest.
$ac_ext
16998 cat >>conftest.
$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000 #ifndef __cplusplus
17002 static $ac_kw foo_t static_foo () {return 0; }
17003 $ac_kw foo_t foo () {return 0; }
17007 rm -f conftest.
$ac_objext
17008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17009 (eval $ac_compile) 2>conftest.er1
17011 grep -v '^ *+' conftest.er1
>conftest.err
17013 cat conftest.err
>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } &&
17016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; } &&
17022 { ac_try
='test -s conftest.$ac_objext'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; }; then
17028 ac_cv_c_inline
=$ac_kw; break
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.
$ac_ext >&5
17034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17038 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17039 echo "${ECHO_T}$ac_cv_c_inline" >&6
17042 case $ac_cv_c_inline in
17045 case $ac_cv_c_inline in
17047 *) ac_val
=$ac_cv_c_inline;;
17049 cat >>confdefs.h
<<_ACEOF
17050 #ifndef __cplusplus
17051 #define inline $ac_val
17057 echo "$as_me:$LINENO: checking for mode_t" >&5
17058 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17059 if test "${ac_cv_type_mode_t+set}" = set; then
17060 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 cat >conftest.
$ac_ext <<_ACEOF
17065 cat confdefs.h
>>conftest.
$ac_ext
17066 cat >>conftest.
$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 $ac_includes_default
17074 if (sizeof (mode_t))
17080 rm -f conftest.
$ac_objext
17081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17082 (eval $ac_compile) 2>conftest.er1
17084 grep -v '^ *+' conftest.er1
>conftest.err
17086 cat conftest.err
>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } &&
17089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; } &&
17095 { ac_try
='test -s conftest.$ac_objext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 ac_cv_type_mode_t
=yes
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.
$ac_ext >&5
17106 ac_cv_type_mode_t
=no
17108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17110 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17111 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17112 if test $ac_cv_type_mode_t = yes; then
17114 cat >>confdefs.h
<<_ACEOF
17115 #define HAVE_MODE_T 1
17120 echo "$as_me:$LINENO: checking for off_t" >&5
17121 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17122 if test "${ac_cv_type_off_t+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 cat >conftest.
$ac_ext <<_ACEOF
17128 cat confdefs.h
>>conftest.
$ac_ext
17129 cat >>conftest.
$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131 $ac_includes_default
17137 if (sizeof (off_t))
17143 rm -f conftest.
$ac_objext
17144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17145 (eval $ac_compile) 2>conftest.er1
17147 grep -v '^ *+' conftest.er1
>conftest.err
17149 cat conftest.err
>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } &&
17152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; } &&
17158 { ac_try
='test -s conftest.$ac_objext'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17164 ac_cv_type_off_t
=yes
17166 echo "$as_me: failed program was:" >&5
17167 sed 's/^/| /' conftest.
$ac_ext >&5
17169 ac_cv_type_off_t
=no
17171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17173 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17174 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17175 if test $ac_cv_type_off_t = yes; then
17177 cat >>confdefs.h
<<_ACEOF
17178 #define HAVE_OFF_T 1
17183 echo "$as_me:$LINENO: checking for pid_t" >&5
17184 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17185 if test "${ac_cv_type_pid_t+set}" = set; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 cat >conftest.
$ac_ext <<_ACEOF
17191 cat confdefs.h
>>conftest.
$ac_ext
17192 cat >>conftest.
$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17200 if (sizeof (pid_t))
17206 rm -f conftest.
$ac_objext
17207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17208 (eval $ac_compile) 2>conftest.er1
17210 grep -v '^ *+' conftest.er1
>conftest.err
17212 cat conftest.err
>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); } &&
17215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; } &&
17221 { ac_try
='test -s conftest.$ac_objext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_cv_type_pid_t
=yes
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.
$ac_ext >&5
17232 ac_cv_type_pid_t
=no
17234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17236 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17237 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17238 if test $ac_cv_type_pid_t = yes; then
17240 cat >>confdefs.h
<<_ACEOF
17241 #define HAVE_PID_T 1
17246 echo "$as_me:$LINENO: checking for size_t" >&5
17247 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17248 if test "${ac_cv_type_size_t+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 cat >conftest.
$ac_ext <<_ACEOF
17254 cat confdefs.h
>>conftest.
$ac_ext
17255 cat >>conftest.
$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 $ac_includes_default
17263 if (sizeof (size_t))
17269 rm -f conftest.
$ac_objext
17270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17271 (eval $ac_compile) 2>conftest.er1
17273 grep -v '^ *+' conftest.er1
>conftest.err
17275 cat conftest.err
>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } &&
17278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; } &&
17284 { ac_try
='test -s conftest.$ac_objext'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; }; then
17290 ac_cv_type_size_t
=yes
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.
$ac_ext >&5
17295 ac_cv_type_size_t
=no
17297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17299 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17300 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17301 if test $ac_cv_type_size_t = yes; then
17303 cat >>confdefs.h
<<_ACEOF
17304 #define HAVE_SIZE_T 1
17309 echo "$as_me:$LINENO: checking for ssize_t" >&5
17310 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17311 if test "${ac_cv_type_ssize_t+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 cat >conftest.
$ac_ext <<_ACEOF
17317 cat confdefs.h
>>conftest.
$ac_ext
17318 cat >>conftest.
$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17320 $ac_includes_default
17326 if (sizeof (ssize_t))
17332 rm -f conftest.
$ac_objext
17333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17334 (eval $ac_compile) 2>conftest.er1
17336 grep -v '^ *+' conftest.er1
>conftest.err
17338 cat conftest.err
>&5
17339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17340 (exit $ac_status); } &&
17341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; } &&
17347 { ac_try
='test -s conftest.$ac_objext'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; }; then
17353 ac_cv_type_ssize_t
=yes
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.
$ac_ext >&5
17358 ac_cv_type_ssize_t
=no
17360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17362 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17363 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17364 if test $ac_cv_type_ssize_t = yes; then
17366 cat >>confdefs.h
<<_ACEOF
17367 #define HAVE_SSIZE_T 1
17372 echo "$as_me:$LINENO: checking for long long" >&5
17373 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17374 if test "${ac_cv_type_long_long+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 cat >conftest.
$ac_ext <<_ACEOF
17380 cat confdefs.h
>>conftest.
$ac_ext
17381 cat >>conftest.
$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 $ac_includes_default
17387 if ((long long *) 0)
17389 if (sizeof (long long))
17395 rm -f conftest.
$ac_objext
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>conftest.er1
17399 grep -v '^ *+' conftest.er1
>conftest.err
17401 cat conftest.err
>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } &&
17404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try
='test -s conftest.$ac_objext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_cv_type_long_long
=yes
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.
$ac_ext >&5
17421 ac_cv_type_long_long
=no
17423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17425 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17426 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17427 if test $ac_cv_type_long_long = yes; then
17429 cat >>confdefs.h
<<_ACEOF
17430 #define HAVE_LONG_LONG 1
17435 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17436 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17437 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17438 echo $ECHO_N "(cached) $ECHO_C" >&6
17440 cat >conftest.
$ac_ext <<_ACEOF
17443 cat confdefs.h
>>conftest.
$ac_ext
17444 cat >>conftest.
$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 $ac_includes_default
17450 if ((fsblkcnt_t *) 0)
17452 if (sizeof (fsblkcnt_t))
17458 rm -f conftest.
$ac_objext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460 (eval $ac_compile) 2>conftest.er1
17462 grep -v '^ *+' conftest.er1
>conftest.err
17464 cat conftest.err
>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } &&
17467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17469 (eval $ac_try) 2>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); }; } &&
17473 { ac_try
='test -s conftest.$ac_objext'
17474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475 (eval $ac_try) 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; }; then
17479 ac_cv_type_fsblkcnt_t
=yes
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.
$ac_ext >&5
17484 ac_cv_type_fsblkcnt_t
=no
17486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17488 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17489 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17490 if test $ac_cv_type_fsblkcnt_t = yes; then
17492 cat >>confdefs.h
<<_ACEOF
17493 #define HAVE_FSBLKCNT_T 1
17498 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17499 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17500 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17501 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 cat >conftest.
$ac_ext <<_ACEOF
17506 cat confdefs.h
>>conftest.
$ac_ext
17507 cat >>conftest.
$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17509 $ac_includes_default
17513 if ((fsfilcnt_t *) 0)
17515 if (sizeof (fsfilcnt_t))
17521 rm -f conftest.
$ac_objext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17523 (eval $ac_compile) 2>conftest.er1
17525 grep -v '^ *+' conftest.er1
>conftest.err
17527 cat conftest.err
>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } &&
17530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; } &&
17536 { ac_try
='test -s conftest.$ac_objext'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; }; then
17542 ac_cv_type_fsfilcnt_t
=yes
17544 echo "$as_me: failed program was:" >&5
17545 sed 's/^/| /' conftest.
$ac_ext >&5
17547 ac_cv_type_fsfilcnt_t
=no
17549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17551 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17552 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17553 if test $ac_cv_type_fsfilcnt_t = yes; then
17555 cat >>confdefs.h
<<_ACEOF
17556 #define HAVE_FSFILCNT_T 1
17562 echo "$as_me:$LINENO: checking for sigset_t" >&5
17563 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
17564 if test "${ac_cv_type_sigset_t+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17567 cat >conftest.
$ac_ext <<_ACEOF
17570 cat confdefs.h
>>conftest.
$ac_ext
17571 cat >>conftest.
$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17573 #include <signal.h>
17578 if ((sigset_t *) 0)
17580 if (sizeof (sigset_t))
17586 rm -f conftest.
$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>conftest.er1
17590 grep -v '^ *+' conftest.er1
>conftest.err
17592 cat conftest.err
>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } &&
17595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; } &&
17601 { ac_try
='test -s conftest.$ac_objext'
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; }; then
17607 ac_cv_type_sigset_t
=yes
17609 echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.
$ac_ext >&5
17612 ac_cv_type_sigset_t
=no
17614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17616 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17617 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17618 if test $ac_cv_type_sigset_t = yes; then
17620 cat >>confdefs.h
<<_ACEOF
17621 #define HAVE_SIGSET_T 1
17628 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17629 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17630 if test "${wine_cv_linux_input_h+set}" = set; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 cat >conftest.
$ac_ext <<_ACEOF
17636 cat confdefs.h
>>conftest.
$ac_ext
17637 cat >>conftest.
$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17640 #include <linux/input.h>
17646 int foo = EVIOCGBIT(EV_ABS,42);
17647 int bar = BTN_PINKIE;
17654 rm -f conftest.
$ac_objext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17656 (eval $ac_compile) 2>conftest.er1
17658 grep -v '^ *+' conftest.er1
>conftest.err
17660 cat conftest.err
>&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } &&
17663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try
='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 wine_cv_linux_input_h
=yes
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.
$ac_ext >&5
17680 wine_cv_linux_input_h
=no
17682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17686 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17687 if test "$wine_cv_linux_input_h" = "yes"
17690 cat >>confdefs.h
<<\_ACEOF
17691 #define HAVE_CORRECT_LINUXINPUT_H 1
17696 echo "$as_me:$LINENO: checking for sigaddset" >&5
17697 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17698 if test "${wine_cv_have_sigaddset+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 cat >conftest.
$ac_ext <<_ACEOF
17704 cat confdefs.h
>>conftest.
$ac_ext
17705 cat >>conftest.
$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 #include <signal.h>
17711 sigset_t set; sigaddset(&set,SIGTERM);
17716 rm -f conftest.
$ac_objext conftest
$ac_exeext
17717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17718 (eval $ac_link) 2>conftest.er1
17720 grep -v '^ *+' conftest.er1
>conftest.err
17722 cat conftest.err
>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } &&
17725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; } &&
17731 { ac_try
='test -s conftest$ac_exeext'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; }; then
17737 wine_cv_have_sigaddset
=yes
17739 echo "$as_me: failed program was:" >&5
17740 sed 's/^/| /' conftest.
$ac_ext >&5
17742 wine_cv_have_sigaddset
=no
17744 rm -f conftest.err conftest.
$ac_objext \
17745 conftest
$ac_exeext conftest.
$ac_ext
17747 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17748 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17749 if test "$wine_cv_have_sigaddset" = "yes"
17752 cat >>confdefs.h
<<\_ACEOF
17753 #define HAVE_SIGADDSET 1
17759 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17760 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17761 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17762 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 cat >conftest.
$ac_ext <<_ACEOF
17767 cat confdefs.h
>>conftest.
$ac_ext
17768 cat >>conftest.
$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17779 struct hostent *result;
17786 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17787 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17793 rm -f conftest.
$ac_objext conftest
$ac_exeext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17795 (eval $ac_link) 2>conftest.er1
17797 grep -v '^ *+' conftest.er1
>conftest.err
17799 cat conftest.err
>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } &&
17802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; } &&
17808 { ac_try
='test -s conftest$ac_exeext'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; }; then
17814 wine_cv_linux_gethostbyname_r_6
=yes
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.
$ac_ext >&5
17819 wine_cv_linux_gethostbyname_r_6
=no
17822 rm -f conftest.err conftest.
$ac_objext \
17823 conftest
$ac_exeext conftest.
$ac_ext
17826 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17827 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17828 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17831 cat >>confdefs.h
<<\_ACEOF
17832 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17837 if test "$ac_cv_header_linux_joystick_h" = "yes"
17839 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17840 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17841 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17851 #include <sys/ioctl.h>
17852 #include <linux/joystick.h>
17854 struct js_event blub;
17855 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17856 #error "no 2.2 header"
17867 rm -f conftest.
$ac_objext
17868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17869 (eval $ac_compile) 2>conftest.er1
17871 grep -v '^ *+' conftest.er1
>conftest.err
17873 cat conftest.err
>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } &&
17876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; } &&
17882 { ac_try
='test -s conftest.$ac_objext'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; }; then
17888 wine_cv_linux_joystick_22_api
=yes
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.
$ac_ext >&5
17893 wine_cv_linux_joystick_22_api
=no
17895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17898 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17899 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17900 if test "$wine_cv_linux_joystick_22_api" = "yes"
17903 cat >>confdefs.h
<<\_ACEOF
17904 #define HAVE_LINUX_22_JOYSTICK_API 1
17911 if test "$ac_cv_header_sys_vfs_h" = "yes"
17913 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17914 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17915 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 cat >conftest.
$ac_ext <<_ACEOF
17921 cat confdefs.h
>>conftest.
$ac_ext
17922 cat >>conftest.
$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17925 #include <sys/types.h>
17926 #ifdef HAVE_SYS_PARAM_H
17927 # include <sys/param.h>
17929 #include <sys/vfs.h>
17935 struct statfs stfs;
17937 memset(&stfs,0,sizeof(stfs));
17943 rm -f conftest.
$ac_objext
17944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17945 (eval $ac_compile) 2>conftest.er1
17947 grep -v '^ *+' conftest.er1
>conftest.err
17949 cat conftest.err
>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } &&
17952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; } &&
17958 { ac_try
='test -s conftest.$ac_objext'
17959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960 (eval $ac_try) 2>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }; }; then
17964 wine_cv_sys_vfs_has_statfs
=yes
17966 echo "$as_me: failed program was:" >&5
17967 sed 's/^/| /' conftest.
$ac_ext >&5
17969 wine_cv_sys_vfs_has_statfs
=no
17972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17975 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17976 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17977 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17980 cat >>confdefs.h
<<\_ACEOF
17981 #define STATFS_DEFINED_BY_SYS_VFS 1
17987 if test "$ac_cv_header_sys_statfs_h" = "yes"
17989 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17990 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17991 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 cat >conftest.
$ac_ext <<_ACEOF
17997 cat confdefs.h
>>conftest.
$ac_ext
17998 cat >>conftest.
$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18001 #include <sys/types.h>
18002 #ifdef HAVE_SYS_PARAM_H
18003 # include <sys/param.h>
18005 #include <sys/statfs.h>
18011 struct statfs stfs;
18017 rm -f conftest.
$ac_objext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18019 (eval $ac_compile) 2>conftest.er1
18021 grep -v '^ *+' conftest.er1
>conftest.err
18023 cat conftest.err
>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; } &&
18032 { ac_try
='test -s conftest.$ac_objext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18038 wine_cv_sys_statfs_has_statfs
=yes
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.
$ac_ext >&5
18043 wine_cv_sys_statfs_has_statfs
=no
18046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18049 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18050 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18051 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18054 cat >>confdefs.h
<<\_ACEOF
18055 #define STATFS_DEFINED_BY_SYS_STATFS 1
18061 if test "$ac_cv_header_sys_mount_h" = "yes"
18063 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18064 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18065 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 cat >conftest.
$ac_ext <<_ACEOF
18071 cat confdefs.h
>>conftest.
$ac_ext
18072 cat >>conftest.
$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18075 #include <sys/types.h>
18076 #ifdef HAVE_SYS_PARAM_H
18077 # include <sys/param.h>
18079 #include <sys/mount.h>
18085 struct statfs stfs;
18091 rm -f conftest.
$ac_objext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18093 (eval $ac_compile) 2>conftest.er1
18095 grep -v '^ *+' conftest.er1
>conftest.err
18097 cat conftest.err
>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } &&
18100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; } &&
18106 { ac_try
='test -s conftest.$ac_objext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 wine_cv_sys_mount_has_statfs
=yes
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.
$ac_ext >&5
18117 wine_cv_sys_mount_has_statfs
=no
18120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18123 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18124 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18125 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18128 cat >>confdefs.h
<<\_ACEOF
18129 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18136 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18137 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18138 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18139 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 cat >conftest.
$ac_ext <<_ACEOF
18144 cat confdefs.h
>>conftest.
$ac_ext
18145 cat >>conftest.
$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 #include <sys/types.h>
18148 #ifdef HAVE_SYS_PARAM_H
18149 # include <sys/param.h>
18151 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18152 # include <sys/mount.h>
18154 # ifdef STATFS_DEFINED_BY_SYS_VFS
18155 # include <sys/vfs.h>
18157 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18158 # include <sys/statfs.h>
18166 static struct statfs ac_aggr;
18167 if (ac_aggr.f_bfree)
18173 rm -f conftest.
$ac_objext
18174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18175 (eval $ac_compile) 2>conftest.er1
18177 grep -v '^ *+' conftest.er1
>conftest.err
18179 cat conftest.err
>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); } &&
18182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; } &&
18188 { ac_try
='test -s conftest.$ac_objext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18194 ac_cv_member_struct_statfs_f_bfree
=yes
18196 echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.
$ac_ext >&5
18199 cat >conftest.
$ac_ext <<_ACEOF
18202 cat confdefs.h
>>conftest.
$ac_ext
18203 cat >>conftest.
$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 #include <sys/types.h>
18206 #ifdef HAVE_SYS_PARAM_H
18207 # include <sys/param.h>
18209 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18210 # include <sys/mount.h>
18212 # ifdef STATFS_DEFINED_BY_SYS_VFS
18213 # include <sys/vfs.h>
18215 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18216 # include <sys/statfs.h>
18224 static struct statfs ac_aggr;
18225 if (sizeof ac_aggr.f_bfree)
18231 rm -f conftest.
$ac_objext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18233 (eval $ac_compile) 2>conftest.er1
18235 grep -v '^ *+' conftest.er1
>conftest.err
18237 cat conftest.err
>&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try
='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18252 ac_cv_member_struct_statfs_f_bfree
=yes
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.
$ac_ext >&5
18257 ac_cv_member_struct_statfs_f_bfree
=no
18259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18263 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18264 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18265 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18267 cat >>confdefs.h
<<_ACEOF
18268 #define HAVE_STRUCT_STATFS_F_BFREE 1
18273 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18274 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18275 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18276 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 cat >conftest.
$ac_ext <<_ACEOF
18281 cat confdefs.h
>>conftest.
$ac_ext
18282 cat >>conftest.
$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18284 #include <sys/types.h>
18285 #ifdef HAVE_SYS_PARAM_H
18286 # include <sys/param.h>
18288 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18289 # include <sys/mount.h>
18291 # ifdef STATFS_DEFINED_BY_SYS_VFS
18292 # include <sys/vfs.h>
18294 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18295 # include <sys/statfs.h>
18303 static struct statfs ac_aggr;
18304 if (ac_aggr.f_bavail)
18310 rm -f conftest.
$ac_objext
18311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18312 (eval $ac_compile) 2>conftest.er1
18314 grep -v '^ *+' conftest.er1
>conftest.err
18316 cat conftest.err
>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } &&
18319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; } &&
18325 { ac_try
='test -s conftest.$ac_objext'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; }; then
18331 ac_cv_member_struct_statfs_f_bavail
=yes
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.
$ac_ext >&5
18336 cat >conftest.
$ac_ext <<_ACEOF
18339 cat confdefs.h
>>conftest.
$ac_ext
18340 cat >>conftest.
$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 #include <sys/types.h>
18343 #ifdef HAVE_SYS_PARAM_H
18344 # include <sys/param.h>
18346 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18347 # include <sys/mount.h>
18349 # ifdef STATFS_DEFINED_BY_SYS_VFS
18350 # include <sys/vfs.h>
18352 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18353 # include <sys/statfs.h>
18361 static struct statfs ac_aggr;
18362 if (sizeof ac_aggr.f_bavail)
18368 rm -f conftest.
$ac_objext
18369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18370 (eval $ac_compile) 2>conftest.er1
18372 grep -v '^ *+' conftest.er1
>conftest.err
18374 cat conftest.err
>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } &&
18377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 (eval $ac_try) 2>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; } &&
18383 { ac_try
='test -s conftest.$ac_objext'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_cv_member_struct_statfs_f_bavail
=yes
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.
$ac_ext >&5
18394 ac_cv_member_struct_statfs_f_bavail
=no
18396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18400 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18401 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18402 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18404 cat >>confdefs.h
<<_ACEOF
18405 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18410 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18411 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18412 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18413 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 cat >conftest.
$ac_ext <<_ACEOF
18418 cat confdefs.h
>>conftest.
$ac_ext
18419 cat >>conftest.
$ac_ext <<_ACEOF
18420 /* end confdefs.h. */
18421 #include <sys/types.h>
18422 #ifdef HAVE_SYS_PARAM_H
18423 # include <sys/param.h>
18425 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18426 # include <sys/mount.h>
18428 # ifdef STATFS_DEFINED_BY_SYS_VFS
18429 # include <sys/vfs.h>
18431 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18432 # include <sys/statfs.h>
18440 static struct statfs ac_aggr;
18441 if (ac_aggr.f_frsize)
18447 rm -f conftest.
$ac_objext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18449 (eval $ac_compile) 2>conftest.er1
18451 grep -v '^ *+' conftest.er1
>conftest.err
18453 cat conftest.err
>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; } &&
18462 { ac_try
='test -s conftest.$ac_objext'
18463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18464 (eval $ac_try) 2>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); }; }; then
18468 ac_cv_member_struct_statfs_f_frsize
=yes
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.
$ac_ext >&5
18473 cat >conftest.
$ac_ext <<_ACEOF
18476 cat confdefs.h
>>conftest.
$ac_ext
18477 cat >>conftest.
$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18479 #include <sys/types.h>
18480 #ifdef HAVE_SYS_PARAM_H
18481 # include <sys/param.h>
18483 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18484 # include <sys/mount.h>
18486 # ifdef STATFS_DEFINED_BY_SYS_VFS
18487 # include <sys/vfs.h>
18489 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18490 # include <sys/statfs.h>
18498 static struct statfs ac_aggr;
18499 if (sizeof ac_aggr.f_frsize)
18505 rm -f conftest.
$ac_objext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18507 (eval $ac_compile) 2>conftest.er1
18509 grep -v '^ *+' conftest.er1
>conftest.err
18511 cat conftest.err
>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try
='test -s conftest.$ac_objext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 ac_cv_member_struct_statfs_f_frsize
=yes
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.
$ac_ext >&5
18531 ac_cv_member_struct_statfs_f_frsize
=no
18533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18537 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18538 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18539 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18541 cat >>confdefs.h
<<_ACEOF
18542 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18547 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18548 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18549 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 #include <sys/types.h>
18559 #ifdef HAVE_SYS_PARAM_H
18560 # include <sys/param.h>
18562 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18563 # include <sys/mount.h>
18565 # ifdef STATFS_DEFINED_BY_SYS_VFS
18566 # include <sys/vfs.h>
18568 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18569 # include <sys/statfs.h>
18577 static struct statfs ac_aggr;
18578 if (ac_aggr.f_ffree)
18584 rm -f conftest.
$ac_objext
18585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18586 (eval $ac_compile) 2>conftest.er1
18588 grep -v '^ *+' conftest.er1
>conftest.err
18590 cat conftest.err
>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } &&
18593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try
='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 ac_cv_member_struct_statfs_f_ffree
=yes
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.
$ac_ext >&5
18610 cat >conftest.
$ac_ext <<_ACEOF
18613 cat confdefs.h
>>conftest.
$ac_ext
18614 cat >>conftest.
$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <sys/types.h>
18617 #ifdef HAVE_SYS_PARAM_H
18618 # include <sys/param.h>
18620 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18621 # include <sys/mount.h>
18623 # ifdef STATFS_DEFINED_BY_SYS_VFS
18624 # include <sys/vfs.h>
18626 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18627 # include <sys/statfs.h>
18635 static struct statfs ac_aggr;
18636 if (sizeof ac_aggr.f_ffree)
18642 rm -f conftest.
$ac_objext
18643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18644 (eval $ac_compile) 2>conftest.er1
18646 grep -v '^ *+' conftest.er1
>conftest.err
18648 cat conftest.err
>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } &&
18651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; } &&
18657 { ac_try
='test -s conftest.$ac_objext'
18658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18659 (eval $ac_try) 2>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); }; }; then
18663 ac_cv_member_struct_statfs_f_ffree
=yes
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.
$ac_ext >&5
18668 ac_cv_member_struct_statfs_f_ffree
=no
18670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18674 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18675 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18676 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18678 cat >>confdefs.h
<<_ACEOF
18679 #define HAVE_STRUCT_STATFS_F_FFREE 1
18684 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18685 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18686 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18687 echo $ECHO_N "(cached) $ECHO_C" >&6
18689 cat >conftest.
$ac_ext <<_ACEOF
18692 cat confdefs.h
>>conftest.
$ac_ext
18693 cat >>conftest.
$ac_ext <<_ACEOF
18694 /* end confdefs.h. */
18695 #include <sys/types.h>
18696 #ifdef HAVE_SYS_PARAM_H
18697 # include <sys/param.h>
18699 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18700 # include <sys/mount.h>
18702 # ifdef STATFS_DEFINED_BY_SYS_VFS
18703 # include <sys/vfs.h>
18705 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18706 # include <sys/statfs.h>
18714 static struct statfs ac_aggr;
18715 if (ac_aggr.f_favail)
18721 rm -f conftest.
$ac_objext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>conftest.er1
18725 grep -v '^ *+' conftest.er1
>conftest.err
18727 cat conftest.err
>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); } &&
18730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; } &&
18736 { ac_try
='test -s conftest.$ac_objext'
18737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 (eval $ac_try) 2>&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); }; }; then
18742 ac_cv_member_struct_statfs_f_favail
=yes
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.
$ac_ext >&5
18747 cat >conftest.
$ac_ext <<_ACEOF
18750 cat confdefs.h
>>conftest.
$ac_ext
18751 cat >>conftest.
$ac_ext <<_ACEOF
18752 /* end confdefs.h. */
18753 #include <sys/types.h>
18754 #ifdef HAVE_SYS_PARAM_H
18755 # include <sys/param.h>
18757 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18758 # include <sys/mount.h>
18760 # ifdef STATFS_DEFINED_BY_SYS_VFS
18761 # include <sys/vfs.h>
18763 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18764 # include <sys/statfs.h>
18772 static struct statfs ac_aggr;
18773 if (sizeof ac_aggr.f_favail)
18779 rm -f conftest.
$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; } &&
18794 { ac_try
='test -s conftest.$ac_objext'
18795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 (eval $ac_try) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); }; }; then
18800 ac_cv_member_struct_statfs_f_favail
=yes
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.
$ac_ext >&5
18805 ac_cv_member_struct_statfs_f_favail
=no
18807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18811 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18812 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18813 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18815 cat >>confdefs.h
<<_ACEOF
18816 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18821 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18822 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18823 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 cat >conftest.
$ac_ext <<_ACEOF
18829 cat confdefs.h
>>conftest.
$ac_ext
18830 cat >>conftest.
$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18832 #include <sys/types.h>
18833 #ifdef HAVE_SYS_PARAM_H
18834 # include <sys/param.h>
18836 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18837 # include <sys/mount.h>
18839 # ifdef STATFS_DEFINED_BY_SYS_VFS
18840 # include <sys/vfs.h>
18842 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18843 # include <sys/statfs.h>
18851 static struct statfs ac_aggr;
18852 if (ac_aggr.f_namelen)
18858 rm -f conftest.
$ac_objext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18860 (eval $ac_compile) 2>conftest.er1
18862 grep -v '^ *+' conftest.er1
>conftest.err
18864 cat conftest.err
>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } &&
18867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; } &&
18873 { ac_try
='test -s conftest.$ac_objext'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; }; then
18879 ac_cv_member_struct_statfs_f_namelen
=yes
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.
$ac_ext >&5
18884 cat >conftest.
$ac_ext <<_ACEOF
18887 cat confdefs.h
>>conftest.
$ac_ext
18888 cat >>conftest.
$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #include <sys/types.h>
18891 #ifdef HAVE_SYS_PARAM_H
18892 # include <sys/param.h>
18894 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18895 # include <sys/mount.h>
18897 # ifdef STATFS_DEFINED_BY_SYS_VFS
18898 # include <sys/vfs.h>
18900 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18901 # include <sys/statfs.h>
18909 static struct statfs ac_aggr;
18910 if (sizeof ac_aggr.f_namelen)
18916 rm -f conftest.
$ac_objext
18917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18918 (eval $ac_compile) 2>conftest.er1
18920 grep -v '^ *+' conftest.er1
>conftest.err
18922 cat conftest.err
>&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } &&
18925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18927 (eval $ac_try) 2>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); }; } &&
18931 { ac_try
='test -s conftest.$ac_objext'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_cv_member_struct_statfs_f_namelen
=yes
18939 echo "$as_me: failed program was:" >&5
18940 sed 's/^/| /' conftest.
$ac_ext >&5
18942 ac_cv_member_struct_statfs_f_namelen
=no
18944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18948 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18949 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18950 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18952 cat >>confdefs.h
<<_ACEOF
18953 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18960 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18961 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18962 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 cat >conftest.
$ac_ext <<_ACEOF
18968 cat confdefs.h
>>conftest.
$ac_ext
18969 cat >>conftest.
$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 #ifdef HAVE_SYS_STATVFS_H
18972 #include <sys/statvfs.h>
18978 static struct statvfs ac_aggr;
18979 if (ac_aggr.f_blocks)
18985 rm -f conftest.
$ac_objext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18987 (eval $ac_compile) 2>conftest.er1
18989 grep -v '^ *+' conftest.er1
>conftest.err
18991 cat conftest.err
>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; } &&
19000 { ac_try
='test -s conftest.$ac_objext'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19006 ac_cv_member_struct_statvfs_f_blocks
=yes
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 #ifdef HAVE_SYS_STATVFS_H
19018 #include <sys/statvfs.h>
19024 static struct statvfs ac_aggr;
19025 if (sizeof ac_aggr.f_blocks)
19031 rm -f conftest.
$ac_objext
19032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19033 (eval $ac_compile) 2>conftest.er1
19035 grep -v '^ *+' conftest.er1
>conftest.err
19037 cat conftest.err
>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } &&
19040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try
='test -s conftest.$ac_objext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19052 ac_cv_member_struct_statvfs_f_blocks
=yes
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.
$ac_ext >&5
19057 ac_cv_member_struct_statvfs_f_blocks
=no
19059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19063 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19064 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19065 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19067 cat >>confdefs.h
<<_ACEOF
19068 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19075 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19076 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19077 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19078 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 cat >conftest.
$ac_ext <<_ACEOF
19083 cat confdefs.h
>>conftest.
$ac_ext
19084 cat >>conftest.
$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086 #include <sys/types.h>
19087 #ifdef HAVE_SYS_SOCKET_H
19088 # include <sys/socket.h>
19090 #ifdef HAVE_SYS_UN_H
19091 # include <sys/un.h>
19097 static struct msghdr ac_aggr;
19098 if (ac_aggr.msg_accrights)
19104 rm -f conftest.
$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>conftest.er1
19108 grep -v '^ *+' conftest.er1
>conftest.err
19110 cat conftest.err
>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try
='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 ac_cv_member_struct_msghdr_msg_accrights
=yes
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.
$ac_ext >&5
19130 cat >conftest.
$ac_ext <<_ACEOF
19133 cat confdefs.h
>>conftest.
$ac_ext
19134 cat >>conftest.
$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 #include <sys/types.h>
19137 #ifdef HAVE_SYS_SOCKET_H
19138 # include <sys/socket.h>
19140 #ifdef HAVE_SYS_UN_H
19141 # include <sys/un.h>
19147 static struct msghdr ac_aggr;
19148 if (sizeof ac_aggr.msg_accrights)
19154 rm -f conftest.
$ac_objext
19155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19156 (eval $ac_compile) 2>conftest.er1
19158 grep -v '^ *+' conftest.er1
>conftest.err
19160 cat conftest.err
>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } &&
19163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165 (eval $ac_try) 2>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); }; } &&
19169 { ac_try
='test -s conftest.$ac_objext'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; }; then
19175 ac_cv_member_struct_msghdr_msg_accrights
=yes
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.
$ac_ext >&5
19180 ac_cv_member_struct_msghdr_msg_accrights
=no
19182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19186 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19187 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19188 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19190 cat >>confdefs.h
<<_ACEOF
19191 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19196 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19197 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19198 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19199 echo $ECHO_N "(cached) $ECHO_C" >&6
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 #include <sys/types.h>
19208 #ifdef HAVE_SYS_SOCKET_H
19209 # include <sys/socket.h>
19211 #ifdef HAVE_SYS_UN_H
19212 # include <sys/un.h>
19218 static struct sockaddr ac_aggr;
19219 if (ac_aggr.sa_len)
19225 rm -f conftest.
$ac_objext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19227 (eval $ac_compile) 2>conftest.er1
19229 grep -v '^ *+' conftest.er1
>conftest.err
19231 cat conftest.err
>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; } &&
19240 { ac_try
='test -s conftest.$ac_objext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19246 ac_cv_member_struct_sockaddr_sa_len
=yes
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.
$ac_ext >&5
19251 cat >conftest.
$ac_ext <<_ACEOF
19254 cat confdefs.h
>>conftest.
$ac_ext
19255 cat >>conftest.
$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <sys/types.h>
19258 #ifdef HAVE_SYS_SOCKET_H
19259 # include <sys/socket.h>
19261 #ifdef HAVE_SYS_UN_H
19262 # include <sys/un.h>
19268 static struct sockaddr ac_aggr;
19269 if (sizeof ac_aggr.sa_len)
19275 rm -f conftest.
$ac_objext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19277 (eval $ac_compile) 2>conftest.er1
19279 grep -v '^ *+' conftest.er1
>conftest.err
19281 cat conftest.err
>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; } &&
19290 { ac_try
='test -s conftest.$ac_objext'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; }; then
19296 ac_cv_member_struct_sockaddr_sa_len
=yes
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.
$ac_ext >&5
19301 ac_cv_member_struct_sockaddr_sa_len
=no
19303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19307 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19308 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19309 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19311 cat >>confdefs.h
<<_ACEOF
19312 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19317 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19318 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19319 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 cat >conftest.
$ac_ext <<_ACEOF
19325 cat confdefs.h
>>conftest.
$ac_ext
19326 cat >>conftest.
$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 #include <sys/types.h>
19329 #ifdef HAVE_SYS_SOCKET_H
19330 # include <sys/socket.h>
19332 #ifdef HAVE_SYS_UN_H
19333 # include <sys/un.h>
19339 static struct sockaddr_un ac_aggr;
19340 if (ac_aggr.sun_len)
19346 rm -f conftest.
$ac_objext
19347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19348 (eval $ac_compile) 2>conftest.er1
19350 grep -v '^ *+' conftest.er1
>conftest.err
19352 cat conftest.err
>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; } &&
19361 { ac_try
='test -s conftest.$ac_objext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.
$ac_ext >&5
19372 cat >conftest.
$ac_ext <<_ACEOF
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <sys/types.h>
19379 #ifdef HAVE_SYS_SOCKET_H
19380 # include <sys/socket.h>
19382 #ifdef HAVE_SYS_UN_H
19383 # include <sys/un.h>
19389 static struct sockaddr_un ac_aggr;
19390 if (sizeof ac_aggr.sun_len)
19396 rm -f conftest.
$ac_objext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19398 (eval $ac_compile) 2>conftest.er1
19400 grep -v '^ *+' conftest.er1
>conftest.err
19402 cat conftest.err
>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; } &&
19411 { ac_try
='test -s conftest.$ac_objext'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; }; then
19417 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.
$ac_ext >&5
19422 ac_cv_member_struct_sockaddr_un_sun_len
=no
19424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19428 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19429 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19430 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19432 cat >>confdefs.h
<<_ACEOF
19433 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19440 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19441 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19442 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19443 echo $ECHO_N "(cached) $ECHO_C" >&6
19445 cat >conftest.
$ac_ext <<_ACEOF
19448 cat confdefs.h
>>conftest.
$ac_ext
19449 cat >>conftest.
$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19451 #include <signal.h>
19456 static siginfo_t ac_aggr;
19463 rm -f conftest.
$ac_objext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19465 (eval $ac_compile) 2>conftest.er1
19467 grep -v '^ *+' conftest.er1
>conftest.err
19469 cat conftest.err
>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try
='test -s conftest.$ac_objext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 ac_cv_member_siginfo_t_si_fd
=yes
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.
$ac_ext >&5
19489 cat >conftest.
$ac_ext <<_ACEOF
19492 cat confdefs.h
>>conftest.
$ac_ext
19493 cat >>conftest.
$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <signal.h>
19500 static siginfo_t ac_aggr;
19501 if (sizeof ac_aggr.si_fd)
19507 rm -f conftest.
$ac_objext
19508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19509 (eval $ac_compile) 2>conftest.er1
19511 grep -v '^ *+' conftest.er1
>conftest.err
19513 cat conftest.err
>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); } &&
19516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try
='test -s conftest.$ac_objext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 ac_cv_member_siginfo_t_si_fd
=yes
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 ac_cv_member_siginfo_t_si_fd
=no
19535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19539 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19540 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19541 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19543 cat >>confdefs.h
<<_ACEOF
19544 #define HAVE_SIGINFO_T_SI_FD 1
19551 echo "$as_me:$LINENO: checking for struct option.name" >&5
19552 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19553 if test "${ac_cv_member_struct_option_name+set}" = set; then
19554 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 cat >conftest.
$ac_ext <<_ACEOF
19559 cat confdefs.h
>>conftest.
$ac_ext
19560 cat >>conftest.
$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19562 #ifdef HAVE_GETOPT_H
19563 #include <getopt.h>
19569 static struct option ac_aggr;
19576 rm -f conftest.
$ac_objext
19577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19578 (eval $ac_compile) 2>conftest.er1
19580 grep -v '^ *+' conftest.er1
>conftest.err
19582 cat conftest.err
>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } &&
19585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; } &&
19591 { ac_try
='test -s conftest.$ac_objext'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; }; then
19597 ac_cv_member_struct_option_name
=yes
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.
$ac_ext >&5
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #ifdef HAVE_GETOPT_H
19609 #include <getopt.h>
19615 static struct option ac_aggr;
19616 if (sizeof ac_aggr.name)
19622 rm -f conftest.
$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19626 grep -v '^ *+' conftest.er1
>conftest.err
19628 cat conftest.err
>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; } &&
19637 { ac_try
='test -s conftest.$ac_objext'
19638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19639 (eval $ac_try) 2>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; }; then
19643 ac_cv_member_struct_option_name
=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.
$ac_ext >&5
19648 ac_cv_member_struct_option_name
=no
19650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19654 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19655 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19656 if test $ac_cv_member_struct_option_name = yes; then
19658 cat >>confdefs.h
<<_ACEOF
19659 #define HAVE_STRUCT_OPTION_NAME 1
19666 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19667 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19668 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 cat >conftest.
$ac_ext <<_ACEOF
19674 cat confdefs.h
>>conftest.
$ac_ext
19675 cat >>conftest.
$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19681 static struct stat ac_aggr;
19682 if (ac_aggr.st_blocks)
19688 rm -f conftest.
$ac_objext
19689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19690 (eval $ac_compile) 2>conftest.er1
19692 grep -v '^ *+' conftest.er1
>conftest.err
19694 cat conftest.err
>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } &&
19697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; } &&
19703 { ac_try
='test -s conftest.$ac_objext'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; }; then
19709 ac_cv_member_struct_stat_st_blocks
=yes
19711 echo "$as_me: failed program was:" >&5
19712 sed 's/^/| /' conftest.
$ac_ext >&5
19714 cat >conftest.
$ac_ext <<_ACEOF
19717 cat confdefs.h
>>conftest.
$ac_ext
19718 cat >>conftest.
$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19724 static struct stat ac_aggr;
19725 if (sizeof ac_aggr.st_blocks)
19731 rm -f conftest.
$ac_objext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733 (eval $ac_compile) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1
>conftest.err
19737 cat conftest.err
>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try
='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 ac_cv_member_struct_stat_st_blocks
=yes
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.
$ac_ext >&5
19757 ac_cv_member_struct_stat_st_blocks
=no
19759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19763 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19764 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19765 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19767 cat >>confdefs.h
<<_ACEOF
19768 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19777 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19778 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19779 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19780 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 cat >conftest.
$ac_ext <<_ACEOF
19785 cat confdefs.h
>>conftest.
$ac_ext
19786 cat >>conftest.
$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19793 $EGREP "yes" >/dev
/null
2>&1; then
19794 ac_cv_cpp_def___i386__
=yes
19796 ac_cv_cpp_def___i386__
=no
19801 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19802 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19803 if test $ac_cv_cpp_def___i386__ = yes; then
19804 CFLAGS
="$CFLAGS -D__i386__"
19805 LINTFLAGS
="$LINTFLAGS -D__i386__"
19808 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19809 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19810 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 cat >conftest.
$ac_ext <<_ACEOF
19816 cat confdefs.h
>>conftest.
$ac_ext
19817 cat >>conftest.
$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19824 $EGREP "yes" >/dev
/null
2>&1; then
19825 ac_cv_cpp_def___ALPHA__
=yes
19827 ac_cv_cpp_def___ALPHA__
=no
19832 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19833 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19834 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19835 CFLAGS
="$CFLAGS -D__ALPHA__"
19836 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19839 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19840 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19841 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19842 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 cat >conftest.
$ac_ext <<_ACEOF
19847 cat confdefs.h
>>conftest.
$ac_ext
19848 cat >>conftest.
$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19855 $EGREP "yes" >/dev
/null
2>&1; then
19856 ac_cv_cpp_def___sparc__
=yes
19858 ac_cv_cpp_def___sparc__
=no
19863 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19864 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19865 if test $ac_cv_cpp_def___sparc__ = yes; then
19866 CFLAGS
="$CFLAGS -D__sparc__"
19867 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19870 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19871 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19872 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 #ifndef __powerpc__
19885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19886 $EGREP "yes" >/dev
/null
2>&1; then
19887 ac_cv_cpp_def___powerpc__
=yes
19889 ac_cv_cpp_def___powerpc__
=no
19894 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19895 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19896 if test $ac_cv_cpp_def___powerpc__ = yes; then
19897 CFLAGS
="$CFLAGS -D__powerpc__"
19898 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19903 case $host_vendor in
19904 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19905 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19906 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19907 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 cat >conftest.
$ac_ext <<_ACEOF
19912 cat confdefs.h
>>conftest.
$ac_ext
19913 cat >>conftest.
$ac_ext <<_ACEOF
19914 /* end confdefs.h. */
19919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19920 $EGREP "yes" >/dev
/null
2>&1; then
19921 ac_cv_cpp_def___sun__
=yes
19923 ac_cv_cpp_def___sun__
=no
19928 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19929 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19930 if test $ac_cv_cpp_def___sun__ = yes; then
19931 CFLAGS
="$CFLAGS -D__sun__"
19932 LINTFLAGS
="$LINTFLAGS -D__sun__"
19941 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
19943 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
19945 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
19947 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
19949 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
19951 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
19953 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19955 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19957 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19959 ac_config_commands
="$ac_config_commands dlls/user/dde"
19961 ac_config_commands
="$ac_config_commands dlls/user/resources"
19963 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19965 ac_config_commands
="$ac_config_commands include/wine"
19967 ac_config_commands
="$ac_config_commands misc"
19969 ac_config_commands
="$ac_config_commands programs/regedit/tests"
19971 ac_config_commands
="$ac_config_commands windows"
19974 MAKE_RULES
=Make.rules
19977 MAKE_DLL_RULES
=dlls
/Makedll.rules
19980 MAKE_TEST_RULES
=dlls
/Maketest.rules
19983 MAKE_LIB_RULES
=libs
/Makelib.rules
19986 MAKE_PROG_RULES
=programs
/Makeprog.rules
19989 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/cryptdll/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/lzexpand/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/sensapi/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/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
19992 cat >confcache
<<\_ACEOF
19993 # This file is a shell script that caches the results of configure
19994 # tests run on this system so they can be shared between configure
19995 # scripts and configure runs, see configure's option --config-cache.
19996 # It is not useful on other systems. If it contains results you don't
19997 # want to keep, you may remove or edit it.
19999 # config.status only pays attention to the cache file if you give it
20000 # the --recheck option to rerun configure.
20002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20004 # following values.
20008 # The following way of writing the cache mishandles newlines in values,
20009 # but we know of no workaround that is simple, portable, and efficient.
20010 # So, don't put newlines in cache variables' values.
20011 # Ultrix sh set writes to stderr and can't be redirected directly,
20012 # and sets the high bit in the cache file unless we assign to the vars.
20015 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20017 # `set' does not quote correctly, so add quotes (double-quote
20018 # substitution turns \\\\ into \\, and sed turns \\ into \).
20021 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20024 # `set' quotes correctly as required by POSIX, so do not add quotes.
20026 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20035 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20037 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20038 if test -w $cache_file; then
20039 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20040 cat confcache
>$cache_file
20042 echo "not updating unwritable cache $cache_file"
20047 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20048 # Let make expand exec_prefix.
20049 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20051 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20052 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20053 # trailing colons and then remove the whole line if VPATH becomes empty
20054 # (actually we leave an empty line to preserve line numbers).
20055 if test "x$srcdir" = x.
; then
20056 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20057 s/:*\$(srcdir):*/:/;
20058 s/:*\${srcdir}:*/:/;
20060 s/^\([^=]*=[ ]*\):*/\1/;
20066 DEFS
=-DHAVE_CONFIG_H
20070 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20071 # 1. Remove the extension, and $U if already installed.
20072 ac_i
=`echo "$ac_i" |
20073 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20075 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20076 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20078 LIBOBJS
=$ac_libobjs
20080 LTLIBOBJS
=$ac_ltlibobjs
20084 : ${CONFIG_STATUS=./config.status}
20085 ac_clean_files_save
=$ac_clean_files
20086 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20087 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20088 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20089 cat >$CONFIG_STATUS <<_ACEOF
20091 # Generated by $as_me.
20092 # Run this file to recreate the current configuration.
20093 # Compiler output produced by configure, useful for debugging
20094 # configure, is in config.log if it exists.
20097 ac_cs_recheck=false
20099 SHELL=\${CONFIG_SHELL-$SHELL}
20102 cat >>$CONFIG_STATUS <<\_ACEOF
20103 ## --------------------- ##
20104 ## M4sh Initialization. ##
20105 ## --------------------- ##
20107 # Be Bourne compatible
20108 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20111 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20112 # is contrary to our usage. Disable this feature.
20113 alias -g '${1+"$@"}'='"$@"'
20114 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20117 DUALCASE
=1; export DUALCASE
# for MKS sh
20119 # Support unset when possible.
20120 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20127 # Work around bugs in pre-3.0 UWIN ksh.
20128 $as_unset ENV MAIL MAILPATH
20135 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20136 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20137 LC_TELEPHONE LC_TIME
20139 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20140 eval $as_var=C
; export $as_var
20146 # Required to use basename.
20147 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20153 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20154 as_basename
=basename
20160 # Name of the executable.
20161 as_me
=`$as_basename "$0" ||
20162 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20163 X"$0" : 'X\(//\)$' \| \
20164 X"$0" : 'X\(/\)$' \| \
20165 . : '\(.\)' 2>/dev/null ||
20167 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20168 /^X\/\(\/\/\)$/{ s//\1/; q; }
20169 /^X\/\(\/\).*/{ s//\1/; q; }
20173 # PATH needs CR, and LINENO needs CR and PATH.
20174 # Avoid depending upon Character Ranges.
20175 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20176 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20177 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20178 as_cr_digits
='0123456789'
20179 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20181 # The user is always right.
20182 if test "${PATH_SEPARATOR+set}" != set; then
20183 echo "#! /bin/sh" >conf$$.sh
20184 echo "exit 0" >>conf$$.sh
20186 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20195 as_lineno_1
=$LINENO
20196 as_lineno_2
=$LINENO
20197 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20198 test "x$as_lineno_1" != "x$as_lineno_2" &&
20199 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20200 # Find who we are. Look in the path if we contain no path at all
20203 *[\\/]* ) as_myself
=$0 ;;
20204 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20205 for as_dir
in $PATH
20208 test -z "$as_dir" && as_dir
=.
20209 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20214 # We did not find ourselves, most probably we were run as `sh COMMAND'
20215 # in which case we are not to be found in the path.
20216 if test "x$as_myself" = x
; then
20219 if test ! -f "$as_myself"; then
20220 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20221 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20222 { (exit 1); exit 1; }; }
20224 case $CONFIG_SHELL in
20226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20227 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20230 test -z "$as_dir" && as_dir
=.
20231 for as_base
in sh bash ksh sh5
; do
20234 if ("$as_dir/$as_base" -c '
20235 as_lineno_1=$LINENO
20236 as_lineno_2=$LINENO
20237 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20238 test "x$as_lineno_1" != "x$as_lineno_2" &&
20239 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20240 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20241 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20242 CONFIG_SHELL
=$as_dir/$as_base
20243 export CONFIG_SHELL
20244 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20252 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20253 # uniformly replaced by the line number. The first 'sed' inserts a
20254 # line-number line before each line; the second 'sed' does the real
20255 # work. The second script uses 'N' to pair each line-number line
20256 # with the numbered line, and appends trailing '-' during
20257 # substitution so that $LINENO is not a special case at line end.
20258 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20259 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20260 sed '=' <$as_myself |
20265 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20268 s,^['$as_cr_digits']*\n,,
20269 ' >$as_me.lineno
&&
20270 chmod +x
$as_me.lineno ||
20271 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20272 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20273 { (exit 1); exit 1; }; }
20275 # Don't try to exec as it changes $[0], causing all sort of problems
20276 # (the dirname of $[0] is not the place where we might find the
20277 # original and so on. Autoconf is especially sensible to this).
20279 # Exit status is that of the last command.
20284 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20285 *c
*,-n*) ECHO_N
= ECHO_C
='
20287 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20288 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20291 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20297 rm -f conf$$ conf$$.exe conf$$.
file
20299 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20300 # We could just check for DJGPP; but this test a) works b) is more generic
20301 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20302 if test -f conf$$.exe
; then
20303 # Don't use ln at all; we don't have any links
20308 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20313 rm -f conf$$ conf$$.exe conf$$.
file
20315 if mkdir
-p .
2>/dev
/null
; then
20318 test -d .
/-p && rmdir .
/-p
20322 as_executable_p
="test -f"
20324 # Sed expression to map a string onto a valid CPP name.
20325 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20327 # Sed expression to map a string onto a valid variable name.
20328 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20332 # We need space, tab and new line, in precisely that order.
20342 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20343 # report actual input values of CONFIG_FILES etc. instead of their
20344 # values after options handling. Logging --version etc. is OK.
20348 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20349 ## Running $as_me. ##
20354 This file was extended by Wine $as_me 20050211, which was
20355 generated by GNU Autoconf 2.59. Invocation command line was
20357 CONFIG_FILES = $CONFIG_FILES
20358 CONFIG_HEADERS = $CONFIG_HEADERS
20359 CONFIG_LINKS = $CONFIG_LINKS
20360 CONFIG_COMMANDS = $CONFIG_COMMANDS
20364 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20368 # Files that config.status was made for.
20369 if test -n "$ac_config_files"; then
20370 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20373 if test -n "$ac_config_headers"; then
20374 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20377 if test -n "$ac_config_links"; then
20378 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20381 if test -n "$ac_config_commands"; then
20382 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20385 cat >>$CONFIG_STATUS <<\_ACEOF
20388 \`$as_me' instantiates files from templates according to the
20389 current configuration.
20391 Usage: $0 [OPTIONS] [FILE]...
20393 -h, --help print this help, then exit
20394 -V, --version print version number, then exit
20395 -q, --quiet do not print progress messages
20396 -d, --debug don't remove temporary files
20397 --recheck update $as_me by reconfiguring in the same conditions
20398 --file=FILE[:TEMPLATE]
20399 instantiate the configuration file FILE
20400 --header=FILE[:TEMPLATE]
20401 instantiate the configuration header FILE
20403 Configuration files:
20406 Configuration headers:
20409 Configuration commands:
20412 Report bugs to <bug-autoconf@gnu.org>."
20415 cat >>$CONFIG_STATUS <<_ACEOF
20417 Wine config.status 20050211
20418 configured by $0, generated by GNU Autoconf 2.59,
20419 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20421 Copyright (C) 2003 Free Software Foundation, Inc.
20422 This config.status script is free software; the Free Software Foundation
20423 gives unlimited permission to copy, distribute and modify it."
20428 cat >>$CONFIG_STATUS <<\_ACEOF
20429 # If no file are specified by the user, then we need to provide default
20430 # value. By we need to know if files were specified by the user.
20436 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20437 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20445 *) # This is not an option, so the user has probably given explicit
20448 ac_need_defaults
=false
;;
20452 # Handling of the options.
20454 cat >>$CONFIG_STATUS <<\_ACEOF
20455 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20457 --version |
--vers* |
-V )
20458 echo "$ac_cs_version"; exit 0 ;;
20460 # Conflict between --help and --header
20461 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20462 Try \`$0 --help' for more information." >&5
20463 echo "$as_me: error: ambiguous option: $1
20464 Try \`$0 --help' for more information." >&2;}
20465 { (exit 1); exit 1; }; };;
20466 --help |
--hel |
-h )
20467 echo "$ac_cs_usage"; exit 0 ;;
20468 --debug |
--d* |
-d )
20470 --file |
--fil |
--fi |
--f )
20472 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20473 ac_need_defaults
=false
;;
20474 --header |
--heade |
--head |
--hea )
20476 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20477 ac_need_defaults
=false
;;
20478 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20479 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20482 # This is an error.
20483 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20484 Try \`$0 --help' for more information." >&5
20485 echo "$as_me: error: unrecognized option: $1
20486 Try \`$0 --help' for more information." >&2;}
20487 { (exit 1); exit 1; }; } ;;
20489 *) ac_config_targets
="$ac_config_targets $1" ;;
20495 ac_configure_extra_args
=
20497 if $ac_cs_silent; then
20499 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20503 cat >>$CONFIG_STATUS <<_ACEOF
20504 if \$ac_cs_recheck; then
20505 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20506 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20515 cat >>$CONFIG_STATUS <<\_ACEOF
20516 for ac_config_target
in $ac_config_targets
20518 case "$ac_config_target" in
20519 # Handling of arguments.
20520 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20521 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20522 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20523 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20524 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20525 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20526 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20527 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20528 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20529 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20530 "dlls/advpack/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20531 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20532 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20533 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20534 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20535 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20536 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20537 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20538 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20539 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20540 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20541 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20542 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20543 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20544 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20545 "dlls/cryptdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20546 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20547 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20548 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20549 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20550 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20551 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20552 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20553 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20554 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20555 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20556 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20557 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20558 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20559 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20560 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20561 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20562 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20563 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20564 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20565 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20566 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20567 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20568 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20569 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20570 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20571 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20572 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20573 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20574 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20575 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20576 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20577 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20578 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20579 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20580 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20581 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20582 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20583 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20584 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20585 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20586 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20587 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20588 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20589 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20590 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20591 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20592 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20593 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20594 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20595 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20596 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20597 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20598 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20599 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20600 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20601 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20602 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20603 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20604 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20605 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20606 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20607 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20608 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20609 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20610 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20611 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20612 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20613 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20614 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20615 "dlls/msi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20616 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20617 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20618 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20619 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20620 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20621 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20622 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20623 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20624 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20625 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20626 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20627 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20628 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20629 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20630 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20631 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20632 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20633 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20634 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20635 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20636 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20637 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20638 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20639 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20640 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20641 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20642 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20643 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20644 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20645 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20646 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20647 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20648 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20649 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20650 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20651 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20652 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20653 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20654 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20655 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20656 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20657 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20658 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20659 "dlls/sensapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20660 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20661 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20662 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20663 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20664 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20665 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20666 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20667 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20668 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20669 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20670 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20671 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20672 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20673 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20674 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20675 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20676 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20677 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20678 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20679 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20680 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20681 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20682 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20683 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20684 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20685 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20686 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20687 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20688 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20689 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20690 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20691 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20692 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20693 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20694 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20695 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20696 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20697 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20698 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20699 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20700 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20701 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20702 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20703 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20704 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20705 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20706 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20707 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20708 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20709 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20710 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20711 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20712 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20713 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20714 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20715 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20716 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20717 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20718 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20719 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20720 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20721 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20722 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20723 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20724 "dlls/wtsapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20725 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20726 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20727 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20728 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20729 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20730 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20731 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20732 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20733 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20734 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20735 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20736 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20737 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20738 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20739 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20740 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20741 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20742 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20743 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20744 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20745 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20746 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20747 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20748 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20749 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20750 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20751 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20752 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20753 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20754 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20755 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20756 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20757 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20758 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20759 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20760 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20761 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20762 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20763 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20764 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20765 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20766 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20767 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20768 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20769 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20770 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20771 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20772 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20773 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20774 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20775 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20776 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20777 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20778 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20779 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20780 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20781 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20782 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20783 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20784 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20785 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20786 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20787 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20788 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20789 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20790 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20791 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20792 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20793 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20794 { (exit 1); exit 1; }; };;
20798 # If the user did not use the arguments to specify the items to instantiate,
20799 # then the envvar interface is used. Set only those that are not.
20800 # We use the long form for the default assignment because of an extremely
20801 # bizarre bug on SunOS 4.1.3.
20802 if $ac_need_defaults; then
20803 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20804 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20805 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20808 # Have a temporary directory for convenience. Make it in the build tree
20809 # simply because there is no reason to put it here, and in addition,
20810 # creating and moving files from /tmp can sometimes cause problems.
20811 # Create a temporary directory, and hook for its removal unless debugging.
20814 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20815 trap '{ (exit 1); exit 1; }' 1 2 13 15
20818 # Create a (secure) tmp directory for tmp files.
20821 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20822 test -n "$tmp" && test -d "$tmp"
20825 tmp
=.
/confstat$$
-$RANDOM
20826 (umask 077 && mkdir
$tmp)
20829 echo "$me: cannot create a temporary directory in ." >&2
20830 { (exit 1); exit 1; }
20835 cat >>$CONFIG_STATUS <<_ACEOF
20838 # CONFIG_FILES section.
20841 # No need to generate the scripts if there are no CONFIG_FILES.
20842 # This happens for instance when ./config.status config.h
20843 if test -n "\$CONFIG_FILES"; then
20844 # Protect against being on the right side of a sed subst in config.status.
20845 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20846 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20847 s,@SHELL@,$SHELL,;t t
20848 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20849 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20850 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20851 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20852 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20853 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20854 s,@exec_prefix@,$exec_prefix,;t t
20855 s,@prefix@,$prefix,;t t
20856 s,@program_transform_name@,$program_transform_name,;t t
20857 s,@bindir@,$bindir,;t t
20858 s,@sbindir@,$sbindir,;t t
20859 s,@libexecdir@,$libexecdir,;t t
20860 s,@datadir@,$datadir,;t t
20861 s,@sysconfdir@,$sysconfdir,;t t
20862 s,@sharedstatedir@,$sharedstatedir,;t t
20863 s,@localstatedir@,$localstatedir,;t t
20864 s,@libdir@,$libdir,;t t
20865 s,@includedir@,$includedir,;t t
20866 s,@oldincludedir@,$oldincludedir,;t t
20867 s,@infodir@,$infodir,;t t
20868 s,@mandir@,$mandir,;t t
20869 s,@build_alias@,$build_alias,;t t
20870 s,@host_alias@,$host_alias,;t t
20871 s,@target_alias@,$target_alias,;t t
20872 s,@DEFS@,$DEFS,;t t
20873 s,@ECHO_C@,$ECHO_C,;t t
20874 s,@ECHO_N@,$ECHO_N,;t t
20875 s,@ECHO_T@,$ECHO_T,;t t
20876 s,@LIBS@,$LIBS,;t t
20877 s,@WIN16_FILES@,$WIN16_FILES,;t t
20878 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20879 s,@DLLDEFS@,$DLLDEFS,;t t
20880 s,@build@,$build,;t t
20881 s,@build_cpu@,$build_cpu,;t t
20882 s,@build_vendor@,$build_vendor,;t t
20883 s,@build_os@,$build_os,;t t
20884 s,@host@,$host,;t t
20885 s,@host_cpu@,$host_cpu,;t t
20886 s,@host_vendor@,$host_vendor,;t t
20887 s,@host_os@,$host_os,;t t
20888 s,@SET_MAKE@,$SET_MAKE,;t t
20890 s,@CFLAGS@,$CFLAGS,;t t
20891 s,@LDFLAGS@,$LDFLAGS,;t t
20892 s,@CPPFLAGS@,$CPPFLAGS,;t t
20893 s,@ac_ct_CC@,$ac_ct_CC,;t t
20894 s,@EXEEXT@,$EXEEXT,;t t
20895 s,@OBJEXT@,$OBJEXT,;t t
20897 s,@CXXFLAGS@,$CXXFLAGS,;t t
20898 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20899 s,@CPPBIN@,$CPPBIN,;t t
20900 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20901 s,@TOOLSDIR@,$TOOLSDIR,;t t
20903 s,@X_CFLAGS@,$X_CFLAGS,;t t
20904 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20905 s,@X_LIBS@,$X_LIBS,;t t
20906 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20908 s,@LEXLIB@,$LEXLIB,;t t
20909 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20910 s,@XLEX@,$XLEX,;t t
20911 s,@BISON@,$BISON,;t t
20913 s,@ac_ct_AS@,$ac_ct_AS,;t t
20915 s,@ac_ct_LD@,$ac_ct_LD,;t t
20917 s,@ac_ct_AR@,$ac_ct_AR,;t t
20918 s,@RANLIB@,$RANLIB,;t t
20919 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20920 s,@STRIP@,$STRIP,;t t
20921 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20922 s,@WINDRES@,$WINDRES,;t t
20923 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20924 s,@LN_S@,$LN_S,;t t
20926 s,@EGREP@,$EGREP,;t t
20927 s,@LDCONFIG@,$LDCONFIG,;t t
20928 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20929 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20930 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20931 s,@LINT@,$LINT,;t t
20932 s,@LINTFLAGS@,$LINTFLAGS,;t t
20933 s,@DB2HTML@,$DB2HTML,;t t
20934 s,@DB2PDF@,$DB2PDF,;t t
20935 s,@DB2PS@,$DB2PS,;t t
20936 s,@DB2TXT@,$DB2TXT,;t t
20937 s,@FONTFORGE@,$FONTFORGE,;t t
20938 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20939 s,@XLIB@,$XLIB,;t t
20940 s,@XFILES@,$XFILES,;t t
20941 s,@OPENGLFILES@,$OPENGLFILES,;t t
20942 s,@GLU32FILES@,$GLU32FILES,;t t
20943 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20944 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20945 s,@GLUT32FILES@,$GLUT32FILES,;t t
20946 s,@NASLIBS@,$NASLIBS,;t t
20947 s,@CURSESLIBS@,$CURSESLIBS,;t t
20948 s,@sane_devel@,$sane_devel,;t t
20949 s,@SANELIBS@,$SANELIBS,;t t
20950 s,@SANEINCL@,$SANEINCL,;t t
20951 s,@ICULIBS@,$ICULIBS,;t t
20952 s,@ft_devel@,$ft_devel,;t t
20953 s,@ft_devel2@,$ft_devel2,;t t
20954 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20955 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20956 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20957 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20958 s,@ARTSLIBS@,$ARTSLIBS,;t t
20959 s,@ARTSINCL@,$ARTSINCL,;t t
20960 s,@ALSALIBS@,$ALSALIBS,;t t
20961 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20962 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20963 s,@DLLEXT@,$DLLEXT,;t t
20964 s,@DLLFLAGS@,$DLLFLAGS,;t t
20965 s,@DLLIBS@,$DLLIBS,;t t
20966 s,@LDSHARED@,$LDSHARED,;t t
20967 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20968 s,@LIBEXT@,$LIBEXT,;t t
20969 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20970 s,@DLLTOOL@,$DLLTOOL,;t t
20971 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20972 s,@DLLWRAP@,$DLLWRAP,;t t
20973 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20974 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20975 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
20976 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20977 s,@IOKITLIB@,$IOKITLIB,;t t
20978 s,@CROSSTEST@,$CROSSTEST,;t t
20979 s,@CROSSCC@,$CROSSCC,;t t
20980 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20981 s,@LDPATH@,$LDPATH,;t t
20982 s,@CRTLIBS@,$CRTLIBS,;t t
20983 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20984 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20985 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20987 s,@ALLOCA@,$ALLOCA,;t t
20988 s,@LIBOBJS@,$LIBOBJS,;t t
20989 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20990 /@MAKE_RULES@/r $MAKE_RULES
20991 s,@MAKE_RULES@,,;t t
20992 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20993 s,@MAKE_DLL_RULES@,,;t t
20994 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20995 s,@MAKE_TEST_RULES@,,;t t
20996 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20997 s,@MAKE_LIB_RULES@,,;t t
20998 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20999 s,@MAKE_PROG_RULES@,,;t t
21004 cat >>$CONFIG_STATUS <<\_ACEOF
21005 # Split the substitutions into bite-sized pieces for seds with
21006 # small command number limits, like on Digital OSF/1 and HP-UX.
21007 ac_max_sed_lines
=48
21008 ac_sed_frag
=1 # Number of current file.
21009 ac_beg
=1 # First line for current file.
21010 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21013 while $ac_more_lines; do
21014 if test $ac_beg -gt 1; then
21015 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21017 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21019 if test ! -s $tmp/subs.frag
; then
21020 ac_more_lines
=false
21022 # The purpose of the label and of the branching condition is to
21023 # speed up the sed processing (if there are no `@' at all, there
21024 # is no need to browse any of the substitutions).
21025 # These are the two extra sed commands mentioned above.
21027 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21028 if test -z "$ac_sed_cmds"; then
21029 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21031 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21033 ac_sed_frag
=`expr $ac_sed_frag + 1`
21035 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21038 if test -z "$ac_sed_cmds"; then
21041 fi # test -n "$CONFIG_FILES"
21044 cat >>$CONFIG_STATUS <<\_ACEOF
21045 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21046 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21048 - |
*:- |
*:-:* ) # input from stdin
21050 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21051 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21052 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21053 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21054 * ) ac_file_in
=$ac_file.
in ;;
21057 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21058 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21059 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21060 X"$ac_file" : 'X\(//\)[^/]' \| \
21061 X"$ac_file" : 'X\(//\)$' \| \
21062 X"$ac_file" : 'X\(/\)' \| \
21063 . : '\(.\)' 2>/dev/null ||
21065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21067 /^X\(\/\/\)$/{ s//\1/; q; }
21068 /^X\(\/\).*/{ s//\1/; q; }
21070 { if $as_mkdir_p; then
21075 while test ! -d "$as_dir"; do
21076 as_dirs
="$as_dir $as_dirs"
21077 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21079 X"$as_dir" : 'X\(//\)[^/]' \| \
21080 X"$as_dir" : 'X\(//\)$' \| \
21081 X"$as_dir" : 'X\(/\)' \| \
21082 . : '\(.\)' 2>/dev/null ||
21084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21086 /^X\(\/\/\)$/{ s//\1/; q; }
21087 /^X\(\/\).*/{ s//\1/; q; }
21090 test ! -n "$as_dirs" || mkdir
$as_dirs
21091 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21092 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21093 { (exit 1); exit 1; }; }; }
21097 if test "$ac_dir" != .
; then
21098 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21099 # A "../" for each directory in $ac_dir_suffix.
21100 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21102 ac_dir_suffix
= ac_top_builddir
=
21106 .
) # No --srcdir option. We are building in place.
21108 if test -z "$ac_top_builddir"; then
21111 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21113 [\\/]* | ?
:[\\/]* ) # Absolute path.
21114 ac_srcdir
=$srcdir$ac_dir_suffix;
21115 ac_top_srcdir
=$srcdir ;;
21116 *) # Relative path.
21117 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21118 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21121 # Do not use `cd foo && pwd` to compute absolute paths, because
21122 # the directories may not exist.
21124 .
) ac_abs_builddir
="$ac_dir";;
21127 .
) ac_abs_builddir
=`pwd`;;
21128 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21129 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21132 case $ac_abs_builddir in
21133 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21135 case ${ac_top_builddir}.
in
21136 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21137 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21138 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21141 case $ac_abs_builddir in
21142 .
) ac_abs_srcdir
=$ac_srcdir;;
21145 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21146 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21147 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21150 case $ac_abs_builddir in
21151 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21153 case $ac_top_srcdir in
21154 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21155 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21156 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21162 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21163 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21166 # Let's still pretend it is `configure' which instantiates (i.e., don't
21167 # use $as_me), people would be surprised to read:
21168 # /* config.h. Generated by config.status. */
21169 if test x
"$ac_file" = x-
; then
21172 configure_input
="$ac_file. "
21174 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21175 sed 's,.*/,,'` by configure."
21177 # First look for the input files in the build tree, otherwise in the
21179 ac_file_inputs
=`IFS=:
21180 for f in $ac_file_in; do
21182 -) echo $tmp/stdin ;;
21184 # Absolute (can't be DOS-style, as IFS=:)
21185 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21186 echo "$as_me: error: cannot find input file: $f" >&2;}
21187 { (exit 1); exit 1; }; }
21190 if test -f "$f"; then
21193 elif test -f "$srcdir/$f"; then
21198 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21199 echo "$as_me: error: cannot find input file: $f" >&2;}
21200 { (exit 1); exit 1; }; }
21203 done` ||
{ (exit 1); exit 1; }
21205 if test x
"$ac_file" != x-
; then
21206 { echo "$as_me:$LINENO: creating $ac_file" >&5
21207 echo "$as_me: creating $ac_file" >&6;}
21211 cat >>$CONFIG_STATUS <<_ACEOF
21215 cat >>$CONFIG_STATUS <<\_ACEOF
21217 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21218 s
,@configure_input@
,$configure_input,;t t
21219 s
,@srcdir@
,$ac_srcdir,;t t
21220 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21221 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21222 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21223 s
,@builddir@
,$ac_builddir,;t t
21224 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21225 s
,@top_builddir@
,$ac_top_builddir,;t t
21226 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21227 s
,@INSTALL@
,$ac_INSTALL,;t t
21228 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21230 if test x"$ac_file" != x-; then
21231 mv $tmp/out $ac_file
21239 cat >>$CONFIG_STATUS <<\_ACEOF
21242 # CONFIG_HEADER section.
21245 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21246 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21248 # ac_d sets the value in "#define NAME VALUE" lines.
21249 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21250 ac_dB
='[ ].*$,\1#\2'
21253 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21254 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21255 ac_uB
='$,\1#\2define\3'
21259 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21260 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21262 - |
*:- |
*:-:* ) # input from stdin
21264 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21265 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21266 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21267 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21268 * ) ac_file_in
=$ac_file.
in ;;
21271 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21272 echo "$as_me: creating $ac_file" >&6;}
21274 # First look for the input files in the build tree, otherwise in the
21276 ac_file_inputs
=`IFS=:
21277 for f in $ac_file_in; do
21279 -) echo $tmp/stdin ;;
21281 # Absolute (can't be DOS-style, as IFS=:)
21282 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21283 echo "$as_me: error: cannot find input file: $f" >&2;}
21284 { (exit 1); exit 1; }; }
21285 # Do quote $f, to prevent DOS paths from being IFS'd.
21288 if test -f "$f"; then
21291 elif test -f "$srcdir/$f"; then
21296 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21297 echo "$as_me: error: cannot find input file: $f" >&2;}
21298 { (exit 1); exit 1; }; }
21301 done` ||
{ (exit 1); exit 1; }
21302 # Remove the trailing spaces.
21303 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21307 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21308 # `conftest.undefs', that substitutes the proper values into
21309 # config.h.in to produce config.h. The first handles `#define'
21310 # templates, and the second `#undef' templates.
21311 # And first: Protect against being on the right side of a sed subst in
21312 # config.status. Protect against being in an unquoted here document
21313 # in config.status.
21314 rm -f conftest.defines conftest.undefs
21315 # Using a here document instead of a string reduces the quoting nightmare.
21316 # Putting comments in sed scripts is not portable.
21318 # `end' is used to avoid that the second main sed command (meant for
21319 # 0-ary CPP macros) applies to n-ary macro definitions.
21320 # See the Autoconf documentation for `clear'.
21321 cat >confdef2sed.
sed <<\_ACEOF
21326 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21328 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21331 # If some macros were called several times there might be several times
21332 # the same #defines, which is useless. Nevertheless, we may not want to
21333 # sort them, since we want the *last* AC-DEFINE to be honored.
21334 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21335 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21336 rm -f confdef2sed.sed
21338 # This sed command replaces #undef with comments. This is necessary, for
21339 # example, in the case of _POSIX_SOURCE, which is predefined and required
21340 # on some systems where configure will not decide to define it.
21341 cat >>conftest.undefs <<\_ACEOF
21342 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21345 # Break up conftest.defines because some shells have a limit on the size
21346 # of here documents, and old seds have small limits too (100 cmds).
21347 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21348 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21349 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21350 echo ' :' >>$CONFIG_STATUS
21351 rm -f conftest.tail
21352 while grep . conftest.defines >/dev/null
21354 # Write a limited-size here document to $tmp/defines.sed.
21355 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21356 # Speed up: don't consider the non `#define' lines.
21357 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21358 # Work around the forget-to-reset-the-flag bug.
21359 echo 't clr' >>$CONFIG_STATUS
21360 echo ': clr' >>$CONFIG_STATUS
21361 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21363 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21365 mv $tmp/out $tmp/in
21367 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21368 rm -f conftest.defines
21369 mv conftest.
tail conftest.defines
21371 rm -f conftest.defines
21372 echo ' fi # grep' >>$CONFIG_STATUS
21373 echo >>$CONFIG_STATUS
21375 # Break up conftest.undefs because some shells have a limit on the size
21376 # of here documents, and old seds have small limits too (100 cmds).
21377 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21378 rm -f conftest.
tail
21379 while grep . conftest.undefs
>/dev
/null
21381 # Write a limited-size here document to $tmp/undefs.sed.
21382 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21383 # Speed up: don't consider the non
`#undef'
21384 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21385 # Work around the forget-to-reset-the-flag bug.
21386 echo 't clr' >>$CONFIG_STATUS
21387 echo ': clr' >>$CONFIG_STATUS
21388 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21390 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21392 mv $tmp/out $tmp/in
21394 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21395 rm -f conftest.undefs
21396 mv conftest.tail conftest.undefs
21398 rm -f conftest.undefs
21400 cat >>$CONFIG_STATUS <<\_ACEOF
21401 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21402 # use $as_me), people would be surprised to read:
21403 # /* config.h. Generated by config.status. */
21404 if test x
"$ac_file" = x-
; then
21405 echo "/* Generated by configure. */" >$tmp/config.h
21407 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21409 cat $tmp/in >>$tmp/config.h
21411 if test x
"$ac_file" != x-
; then
21412 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21413 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21414 echo "$as_me: $ac_file is unchanged" >&6;}
21416 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21417 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21418 X"$ac_file" : 'X\(//\)[^/]' \| \
21419 X"$ac_file" : 'X\(//\)$' \| \
21420 X"$ac_file" : 'X\(/\)' \| \
21421 . : '\(.\)' 2>/dev/null ||
21423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21425 /^X\(\/\/\)$/{ s//\1/; q; }
21426 /^X\(\/\).*/{ s//\1/; q; }
21428 { if $as_mkdir_p; then
21433 while test ! -d "$as_dir"; do
21434 as_dirs
="$as_dir $as_dirs"
21435 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21437 X"$as_dir" : 'X\(//\)[^/]' \| \
21438 X"$as_dir" : 'X\(//\)$' \| \
21439 X"$as_dir" : 'X\(/\)' \| \
21440 . : '\(.\)' 2>/dev/null ||
21442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21444 /^X\(\/\/\)$/{ s//\1/; q; }
21445 /^X\(\/\).*/{ s//\1/; q; }
21448 test ! -n "$as_dirs" || mkdir
$as_dirs
21449 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21451 { (exit 1); exit 1; }; }; }
21454 mv $tmp/config.h
$ac_file
21458 rm -f $tmp/config.h
21462 cat >>$CONFIG_STATUS <<\_ACEOF
21465 # CONFIG_COMMANDS section.
21467 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21468 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21469 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21470 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21471 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21472 X"$ac_dest" : 'X\(//\)[^/]' \| \
21473 X"$ac_dest" : 'X\(//\)$' \| \
21474 X"$ac_dest" : 'X\(/\)' \| \
21475 . : '\(.\)' 2>/dev/null ||
21477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21479 /^X\(\/\/\)$/{ s//\1/; q; }
21480 /^X\(\/\).*/{ s//\1/; q; }
21482 { if $as_mkdir_p; then
21487 while test ! -d "$as_dir"; do
21488 as_dirs
="$as_dir $as_dirs"
21489 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21491 X"$as_dir" : 'X\(//\)[^/]' \| \
21492 X"$as_dir" : 'X\(//\)$' \| \
21493 X"$as_dir" : 'X\(/\)' \| \
21494 . : '\(.\)' 2>/dev/null ||
21496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21498 /^X\(\/\/\)$/{ s//\1/; q; }
21499 /^X\(\/\).*/{ s//\1/; q; }
21502 test ! -n "$as_dirs" || mkdir
$as_dirs
21503 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21504 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21505 { (exit 1); exit 1; }; }; }
21509 if test "$ac_dir" != .
; then
21510 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21511 # A "../" for each directory in $ac_dir_suffix.
21512 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21514 ac_dir_suffix
= ac_top_builddir
=
21518 .
) # No --srcdir option. We are building in place.
21520 if test -z "$ac_top_builddir"; then
21523 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21525 [\\/]* | ?
:[\\/]* ) # Absolute path.
21526 ac_srcdir
=$srcdir$ac_dir_suffix;
21527 ac_top_srcdir
=$srcdir ;;
21528 *) # Relative path.
21529 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21530 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21533 # Do not use `cd foo && pwd` to compute absolute paths, because
21534 # the directories may not exist.
21536 .
) ac_abs_builddir
="$ac_dir";;
21539 .
) ac_abs_builddir
=`pwd`;;
21540 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21541 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21544 case $ac_abs_builddir in
21545 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21547 case ${ac_top_builddir}.
in
21548 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21549 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21550 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21553 case $ac_abs_builddir in
21554 .
) ac_abs_srcdir
=$ac_srcdir;;
21557 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21558 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21559 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21562 case $ac_abs_builddir in
21563 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21565 case $ac_top_srcdir in
21566 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21567 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21568 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21573 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21574 echo "$as_me: executing $ac_dest commands" >&6;}
21576 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21577 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21578 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21579 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21580 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21581 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21582 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21583 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21584 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21585 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21586 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21587 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21588 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21589 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21590 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21591 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21592 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21593 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21594 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21595 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21596 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21597 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21598 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21599 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21600 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21601 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21602 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21603 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21604 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21605 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21606 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21607 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21612 cat >>$CONFIG_STATUS <<\_ACEOF
21614 { (exit 0); exit 0; }
21616 chmod +x
$CONFIG_STATUS
21617 ac_clean_files
=$ac_clean_files_save
21620 # configure is writing to config.log, and then calls config.status.
21621 # config.status does its own redirection, appending to config.log.
21622 # Unfortunately, on DOS this fails, as config.log is still kept open
21623 # by configure, so config.status won't be able to write to it; its
21624 # output is simply discarded. So we exec the FD to /dev/null,
21625 # effectively closing config.log, so it can be properly (re)opened and
21626 # appended to by config.status. When coming back to configure, we
21627 # need to make the FD available again.
21628 if test "$no_create" != yes; then
21630 ac_config_status_args
=
21631 test "$silent" = yes &&
21632 ac_config_status_args
="$ac_config_status_args --quiet"
21634 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21636 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21637 # would make configure fail if this is the last instruction.
21638 $ac_cs_success ||
{ (exit 1); exit 1; }
21642 if test "$have_x" = "no"
21645 echo "*** Warning: X development files not found. Wine will be built without"
21646 echo "*** X support, which currently does not work, and would probably not be"
21647 echo "*** what you want anyway. You will need to install devel packages of"
21648 echo "*** Xlib/Xfree86 at the very least."
21651 if test "$wine_cv_opengl_version_OK" = "no"
21654 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21655 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21658 if test "$wine_cv_msg_freetype" = "yes"
21661 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21662 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21663 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21664 echo "*** enable Wine to use TrueType fonts."
21668 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."