2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20041019.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='wine'
272 PACKAGE_VERSION
='20041019'
273 PACKAGE_STRING
='Wine 20041019'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20041019 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive
) echo "Configuration of Wine 20041019:";;
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
866 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
877 Some influential environment variables:
878 CC C compiler command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
881 nonstandard directory <lib dir>
882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
883 headers in a nonstandard directory <include dir>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
888 Use these variables to override the choices made by `configure' or to
help
889 it to
find libraries and programs with nonstandard names
/locations.
891 Report bugs to
<wine-devel@winehq.org
>.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
899 test -d $ac_dir ||
continue
902 if test "$ac_dir" != .
; then
903 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix
= ac_top_builddir
=
911 .
) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?
:[\\/]* ) # Absolute path.
919 ac_srcdir
=$srcdir$ac_dir_suffix;
920 ac_top_srcdir
=$srcdir ;;
922 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .
) ac_abs_builddir
="$ac_dir";;
932 .
) ac_abs_builddir
=`pwd`;;
933 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
934 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
940 case ${ac_top_builddir}.
in
941 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
942 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
943 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
946 case $ac_abs_builddir in
947 .
) ac_abs_srcdir
=$ac_srcdir;;
950 .
) ac_abs_srcdir
=$ac_abs_builddir;;
951 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
952 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
960 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu
; then
969 $SHELL $ac_srcdir/configure.gnu
--help=recursive
970 elif test -f $ac_srcdir/configure
; then
972 $SHELL $ac_srcdir/configure
--help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.
in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
987 Wine configure
20041019
988 generated by GNU Autoconf
2.59
990 Copyright
(C
) 2003 Free Software Foundation
, Inc.
991 This configure
script is free software
; the Free Software Foundation
992 gives unlimited permission to copy
, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20041019, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir
=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next
=false
1067 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true
; then
1079 ac_must_keep_next
=false
# Got value, back to normal.
1082 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1083 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1084 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1085 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next
=true
;;
1093 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1101 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal
in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest
* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h
<<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h
<<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h
<<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h
<<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h
<<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE
; then
1223 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file
in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1245 *) . .
/$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted
=false
1257 for ac_var
in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1260 eval ac_new_set
=\
$ac_env_${ac_var}_set
1261 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val
="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted
=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted
=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted
=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg
=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp
='$CPP $CPPFLAGS'
1307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1338 ac_config_headers
="$ac_config_headers include/config.h"
1341 for ac_dir
in tools
$srcdir/tools
; do
1342 if test -f $ac_dir/install-sh
; then
1344 ac_install_sh
="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh
; then
1348 ac_install_sh
="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool
; then
1352 ac_install_sh
="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval
="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval
="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval
="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval
="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval
="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval
="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval
="$with_wine_tools"
1407 WIN16_FILES
="\$(WIN16_FILES)"
1409 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1419 if test "x$enable_debug" = "xno"
1421 DLLDEFS
="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1425 DLLDEFS
="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 ac_cv_build_alias
=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias
=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1456 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_host_alias
=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias
=$ac_cv_build_alias
1469 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1478 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 if test "x$enable_win64" != "xyes"
1487 test -n "$CC" || CC
="gcc -m32"
1488 test -n "$LD" || LD
="ld -m elf_i386"
1489 test -n "$AS" || AS
="as --32"
1494 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1495 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1496 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1497 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 cat >conftest.
make <<\_ACEOF
1502 @
echo 'ac_maketemp="$(MAKE)"'
1504 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1505 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1506 if test -n "$ac_maketemp"; then
1507 eval ac_cv_prog_make_
${ac_make}_set
=yes
1509 eval ac_cv_prog_make_
${ac_make}_set
=no
1513 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1514 echo "$as_me:$LINENO: result: yes" >&5
1515 echo "${ECHO_T}yes" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1520 SET_MAKE
="MAKE=${MAKE-make}"
1524 ac_cpp
='$CPP $CPPFLAGS'
1525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1528 if test -n "$ac_tool_prefix"; then
1529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1530 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_CC+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$CC"; then
1537 ac_cv_prog_CC
="$CC" # Let the user override the test.
1539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir
=.
1544 for ac_exec_ext
in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 if test -n "$CC"; then
1557 echo "$as_me:$LINENO: result: $CC" >&5
1558 echo "${ECHO_T}$CC" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1565 if test -z "$ac_cv_prog_CC"; then
1567 # Extract the first word of "gcc", so it can be a program name with args.
1568 set dummy gcc
; ac_word
=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$ac_ct_CC"; then
1575 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir
=.
1582 for ac_exec_ext
in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_ac_ct_CC
="gcc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1594 if test -n "$ac_ct_CC"; then
1595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1596 echo "${ECHO_T}$ac_ct_CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1607 if test -z "$CC"; then
1608 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1610 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC
="$CC" # Let the user override the test.
1619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir
=.
1624 for ac_exec_ext
in '' $ac_executable_extensions; do
1625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636 if test -n "$CC"; then
1637 echo "$as_me:$LINENO: result: $CC" >&5
1638 echo "${ECHO_T}$CC" >&6
1640 echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1645 if test -z "$ac_cv_prog_CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc
; ac_word
=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir
=.
1662 for ac_exec_ext
in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC
="cc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1674 if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676 echo "${ECHO_T}$ac_ct_CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1688 if test -z "$CC"; then
1689 # Extract the first word of "cc", so it can be a program name with args.
1690 set dummy cc
; ac_word
=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC
="$CC" # Let the user override the test.
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir
=.
1705 for ac_exec_ext
in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1708 ac_prog_rejected
=yes
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test $ac_prog_rejected = yes; then
1719 # We found a bogon in the path, so make sure we never use it.
1720 set dummy
$ac_cv_prog_CC
1722 if test $# != 0; then
1723 # We chose a different compiler from the bogus one.
1724 # However, it has the same basename, so the bogon will be chosen
1725 # first if we set CC to just the basename; use the full file name.
1727 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1747 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC
="$CC" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$CC" && break
1784 if test -z "$CC"; then
1788 # Extract the first word of "$ac_prog", so it can be a program name with args.
1789 set dummy
$ac_prog; ac_word
=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_CC"; then
1796 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir
=.
1803 for ac_exec_ext
in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_ac_ct_CC
="$ac_prog"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1815 if test -n "$ac_ct_CC"; then
1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1817 echo "${ECHO_T}$ac_ct_CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1823 test -n "$ac_ct_CC" && break
1832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: no acceptable C compiler found in \$PATH
1835 See \`config.log' for more details." >&2;}
1836 { (exit 1); exit 1; }; }
1838 # Provide some information about the compiler.
1839 echo "$as_me:$LINENO:" \
1840 "checking for C compiler version" >&5
1841 ac_compiler
=`set X $ac_compile; echo $2`
1842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1843 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }
1847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1848 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1853 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1858 cat >conftest.
$ac_ext <<_ACEOF
1861 cat confdefs.h
>>conftest.
$ac_ext
1862 cat >>conftest.
$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1873 ac_clean_files_save
=$ac_clean_files
1874 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1875 # Try to create an executable without -o first, disregard a.out.
1876 # It will help us diagnose broken compilers, and finding out an intuition
1878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1880 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1882 (eval $ac_link_default) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # Find the output, starting from the most likely. This scheme is
1887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1890 # Be careful to initialize this variable, since it used to be cached.
1891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1893 # b.out is created by i960 compilers.
1894 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1896 test -f "$ac_file" ||
continue
1898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1901 # This is the source file.
1904 # We found the default executable, but exeext='' is most
1908 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1909 # FIXME: I believe we export ac_cv_exeext for Libtool,
1910 # but it would be cool to find out if it's true. Does anybody
1911 # maintain Libtool? --akim.
1919 echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.
$ac_ext >&5
1922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1923 See \`config.log' for more details." >&5
1924 echo "$as_me: error: C compiler cannot create executables
1925 See \`config.log' for more details." >&2;}
1926 { (exit 77); exit 77; }; }
1929 ac_exeext
=$ac_cv_exeext
1930 echo "$as_me:$LINENO: result: $ac_file" >&5
1931 echo "${ECHO_T}$ac_file" >&6
1933 # Check the compiler produces executables we can run. If not, either
1934 # the compiler is broken, or we cross compile.
1935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1938 # If not cross compiling, check that we can run a simple program.
1939 if test "$cross_compiling" != yes; then
1940 if { ac_try
='./$ac_file'
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; }; then
1948 if test "$cross_compiling" = maybe
; then
1951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1952 If you meant to cross compile, use \`--host'.
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot run C compiled programs.
1955 If you meant to cross compile, use \`--host'.
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1964 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1965 ac_clean_files
=$ac_clean_files_save
1966 # Check the compiler produces executables we can run. If not, either
1967 # the compiler is broken, or we cross compile.
1968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1971 echo "${ECHO_T}$cross_compiling" >&6
1973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1976 (eval $ac_link) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }; then
1980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1982 # work properly (i.e., refer to `conftest.exe'), while it won't with
1984 for ac_file
in conftest.exe conftest conftest.
*; do
1985 test -f "$ac_file" ||
continue
1987 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1988 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1996 See \`config.log' for more details." >&5
1997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1998 See \`config.log' for more details." >&2;}
1999 { (exit 1); exit 1; }; }
2002 rm -f conftest
$ac_cv_exeext
2003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2004 echo "${ECHO_T}$ac_cv_exeext" >&6
2006 rm -f conftest.
$ac_ext
2007 EXEEXT
=$ac_cv_exeext
2009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2011 if test "${ac_cv_objext+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 cat >conftest.
$ac_ext <<_ACEOF
2017 cat confdefs.h
>>conftest.
$ac_ext
2018 cat >>conftest.
$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 rm -f conftest.o conftest.obj
2030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2031 (eval $ac_compile) 2>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; then
2035 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2037 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2038 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2043 echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.
$ac_ext >&5
2046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2047 See \`config.log' for more details." >&5
2048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2049 See \`config.log' for more details." >&2;}
2050 { (exit 1); exit 1; }; }
2053 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2056 echo "${ECHO_T}$ac_cv_objext" >&6
2057 OBJEXT
=$ac_cv_objext
2059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.
$ac_ext <<_ACEOF
2067 cat confdefs.h
>>conftest.
$ac_ext
2068 cat >>conftest.
$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2082 rm -f conftest.
$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084 (eval $ac_compile) 2>conftest.er1
2086 grep -v '^ *+' conftest.er1
>conftest.err
2088 cat conftest.err
>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; } &&
2097 { ac_try
='test -s conftest.$ac_objext'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.
$ac_ext >&5
2110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2111 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2114 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2115 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2116 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2117 ac_test_CFLAGS
=${CFLAGS+set}
2118 ac_save_CFLAGS
=$CFLAGS
2120 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2121 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2122 if test "${ac_cv_prog_cc_g+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 cat >conftest.
$ac_ext <<_ACEOF
2128 cat confdefs.h
>>conftest.
$ac_ext
2129 cat >>conftest.
$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 rm -f conftest.
$ac_objext
2141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142 (eval $ac_compile) 2>conftest.er1
2144 grep -v '^ *+' conftest.er1
>conftest.err
2146 cat conftest.err
>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try
='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.
$ac_ext >&5
2168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2170 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2171 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2172 if test "$ac_test_CFLAGS" = set; then
2173 CFLAGS
=$ac_save_CFLAGS
2174 elif test $ac_cv_prog_cc_g = yes; then
2175 if test "$GCC" = yes; then
2181 if test "$GCC" = yes; then
2187 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2188 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2189 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 ac_cv_prog_cc_stdc
=no
2194 cat >conftest.
$ac_ext <<_ACEOF
2197 cat confdefs.h
>>conftest.
$ac_ext
2198 cat >>conftest.
$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2202 #include <sys/types.h>
2203 #include <sys/stat.h>
2204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2205 struct buf { int x; };
2206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2207 static char *e (p, i)
2213 static char *f (char * (*g) (char **, int), char **p, ...)
2218 s = g (p, va_arg (v,int));
2223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2224 function prototypes and stuff, but not '\xHH' hex character constants.
2225 These don't provoke an error unfortunately, instead are silently treated
2226 as 'x'. The following induces an error, until -std1 is added to get
2227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2228 array size at least. It's necessary to write '\x00'==0 to get something
2229 that's true only with -std1. */
2230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2232 int test (int i, double x);
2233 struct s1 {int (*f) (int a);};
2234 struct s2 {int (*f) (double a);};
2235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2246 # Don't try gcc -ansi; that turns off useful extensions and
2247 # breaks some systems' header files.
2248 # AIX -qlanglvl=ansi
2249 # Ultrix and OSF/1 -std1
2250 # HP-UX 10.20 and later -Ae
2251 # HP-UX older versions -Aa -D_HPUX_SOURCE
2252 # SVR4 -Xc -D__EXTENSIONS__
2253 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2255 CC
="$ac_save_CC $ac_arg"
2256 rm -f conftest.
$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1
>conftest.err
2262 cat conftest.err
>&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; } &&
2271 { ac_try
='test -s conftest.$ac_objext'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2277 ac_cv_prog_cc_stdc
=$ac_arg
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.
$ac_ext >&5
2284 rm -f conftest.err conftest.
$ac_objext
2286 rm -f conftest.
$ac_ext conftest.
$ac_objext
2291 case "x$ac_cv_prog_cc_stdc" in
2293 echo "$as_me:$LINENO: result: none needed" >&5
2294 echo "${ECHO_T}none needed" >&6 ;;
2296 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2297 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2298 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2301 # Some people use a C++ compiler to compile C. Since we use `exit',
2302 # in C++ we need to declare it. In case someone uses the same compiler
2303 # for both compiling C and C++ we need to have the C++ compiler decide
2304 # the declaration of exit, since it's the most demanding environment.
2305 cat >conftest.
$ac_ext <<_ACEOF
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try
='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2331 for ac_declaration
in \
2333 'extern "C" void std::exit (int) throw (); using std::exit;' \
2334 'extern "C" void std::exit (int); using std::exit;' \
2335 'extern "C" void exit (int) throw ();' \
2336 'extern "C" void exit (int);' \
2339 cat >conftest.
$ac_ext <<_ACEOF
2342 cat confdefs.h
>>conftest.
$ac_ext
2343 cat >>conftest.
$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2355 rm -f conftest.
$ac_objext
2356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357 (eval $ac_compile) 2>conftest.er1
2359 grep -v '^ *+' conftest.er1
>conftest.err
2361 cat conftest.err
>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } &&
2364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try
='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2384 cat >conftest.
$ac_ext <<_ACEOF
2387 cat confdefs.h
>>conftest.
$ac_ext
2388 cat >>conftest.
$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 rm -f conftest.
$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try
='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.
$ac_ext >&5
2426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2429 if test -n "$ac_declaration"; then
2430 echo '#ifdef __cplusplus' >>confdefs.h
2431 echo $ac_declaration >>confdefs.h
2432 echo '#endif' >>confdefs.h
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.
$ac_ext >&5
2440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2442 ac_cpp
='$CPP $CPPFLAGS'
2443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2448 ac_cpp
='$CXXCPP $CPPFLAGS'
2449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_CXX+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$CXX"; then
2463 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CXX"; then
2483 echo "$as_me:$LINENO: result: $CXX" >&5
2484 echo "${ECHO_T}$CXX" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2490 test -n "$CXX" && break
2493 if test -z "$CXX"; then
2495 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy
$ac_prog; ac_word
=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$ac_ct_CXX"; then
2505 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2524 if test -n "$ac_ct_CXX"; then
2525 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2526 echo "${ECHO_T}$ac_ct_CXX" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2532 test -n "$ac_ct_CXX" && break
2534 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO:" \
2542 "checking for C++ compiler version" >&5
2543 ac_compiler
=`set X $ac_compile; echo $2`
2544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2545 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }
2549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2550 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2555 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2560 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2561 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2562 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 cat >conftest.
$ac_ext <<_ACEOF
2568 cat confdefs.h
>>conftest.
$ac_ext
2569 cat >>conftest.
$ac_ext <<_ACEOF
2570 /* end confdefs.h. */
2583 rm -f conftest.
$ac_objext
2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 (eval $ac_compile) 2>conftest.er1
2587 grep -v '^ *+' conftest.er1
>conftest.err
2589 cat conftest.err
>&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); } &&
2592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; } &&
2598 { ac_try
='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.
$ac_ext >&5
2611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2612 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2617 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2618 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2619 ac_save_CXXFLAGS
=$CXXFLAGS
2621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2623 if test "${ac_cv_prog_cxx_g+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.
$ac_ext <<_ACEOF
2629 cat confdefs.h
>>conftest.
$ac_ext
2630 cat >>conftest.
$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.
$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2645 grep -v '^ *+' conftest.er1
>conftest.err
2647 cat conftest.err
>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try
='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cxx_g
=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2673 if test "$ac_test_CXXFLAGS" = set; then
2674 CXXFLAGS
=$ac_save_CXXFLAGS
2675 elif test $ac_cv_prog_cxx_g = yes; then
2676 if test "$GXX" = yes; then
2682 if test "$GXX" = yes; then
2688 for ac_declaration
in \
2690 'extern "C" void std::exit (int) throw (); using std::exit;' \
2691 'extern "C" void std::exit (int); using std::exit;' \
2692 'extern "C" void exit (int) throw ();' \
2693 'extern "C" void exit (int);' \
2696 cat >conftest.
$ac_ext <<_ACEOF
2699 cat confdefs.h
>>conftest.
$ac_ext
2700 cat >>conftest.
$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2712 rm -f conftest.
$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1
>conftest.err
2718 cat conftest.err
>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try
='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.
$ac_ext >&5
2740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; } &&
2771 { ac_try
='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.
$ac_ext >&5
2783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2786 if test -n "$ac_declaration"; then
2787 echo '#ifdef __cplusplus' >>confdefs.h
2788 echo $ac_declaration >>confdefs.h
2789 echo '#endif' >>confdefs.h
2793 ac_cpp
='$CPP $CPPFLAGS'
2794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2800 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$CPPBIN"; then
2807 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 CPPBIN
=$ac_cv_prog_CPPBIN
2826 if test -n "$CPPBIN"; then
2827 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2828 echo "${ECHO_T}$CPPBIN" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 if test -z "$ac_cv_prog_CPPBIN"; then
2836 ac_ct_CPPBIN
=$CPPBIN
2837 # Extract the first word of "cpp", so it can be a program name with args.
2838 set dummy cpp
; ac_word
=$2
2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2841 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$ac_ct_CPPBIN"; then
2845 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2864 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2865 if test -n "$ac_ct_CPPBIN"; then
2866 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2867 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2873 CPPBIN
=$ac_ct_CPPBIN
2875 CPPBIN
="$ac_cv_prog_CPPBIN"
2879 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2880 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2881 if test "${wine_cv_toolsdir+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -z "$with_wine_tools"; then
2885 if test "$cross_compiling" = "yes"; then
2886 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2887 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2888 { (exit 1); exit 1; }; }
2890 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2892 elif test -d "$with_wine_tools/tools/winebuild"; then
2893 case $with_wine_tools in
2894 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2895 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2898 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2899 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2900 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2904 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2905 TOOLSDIR
=$wine_cv_toolsdir
2910 ac_cpp
='$CPP $CPPFLAGS'
2911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2916 # On Suns, sometimes $CPP names a directory.
2917 if test -n "$CPP" && test -d "$CPP"; then
2920 if test -z "$CPP"; then
2921 if test "${ac_cv_prog_CPP+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 # Double quotes because CPP needs to be expanded
2925 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928 for ac_c_preproc_warn_flag
in '' yes
2930 # Use a header file that comes with gcc, so configuring glibc
2931 # with a fresh cross-compiler works.
2932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2933 # <limits.h> exists even on freestanding compilers.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.
$ac_ext <<_ACEOF
2939 cat confdefs.h
>>conftest.
$ac_ext
2940 cat >>conftest.
$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2943 # include <limits.h>
2945 # include <assert.h>
2949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1
>conftest.err
2954 cat conftest.err
>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } >/dev
/null
; then
2957 if test -s conftest.err
; then
2958 ac_cpp_err
=$ac_c_preproc_warn_flag
2959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2966 if test -z "$ac_cpp_err"; then
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.
$ac_ext >&5
2972 # Broken: fails on valid input.
2975 rm -f conftest.err conftest.
$ac_ext
2977 # OK, works on sane cases. Now check whether non-existent headers
2978 # can be detected and how.
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 #include <ac_nonexistent.h>
2987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1
>conftest.err
2992 cat conftest.err
>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } >/dev
/null
; then
2995 if test -s conftest.err
; then
2996 ac_cpp_err
=$ac_c_preproc_warn_flag
2997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3004 if test -z "$ac_cpp_err"; then
3005 # Broken: success on invalid input.
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.
$ac_ext >&5
3011 # Passes both tests.
3015 rm -f conftest.err conftest.
$ac_ext
3018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3019 rm -f conftest.err conftest.
$ac_ext
3020 if $ac_preproc_ok; then
3032 echo "$as_me:$LINENO: result: $CPP" >&5
3033 echo "${ECHO_T}$CPP" >&6
3035 for ac_c_preproc_warn_flag
in '' yes
3037 # Use a header file that comes with gcc, so configuring glibc
3038 # with a fresh cross-compiler works.
3039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3040 # <limits.h> exists even on freestanding compilers.
3041 # On the NeXT, cc -E runs the code through the compiler's parser,
3042 # not just through cpp. "Syntax error" is here to catch this case.
3043 cat >conftest.
$ac_ext <<_ACEOF
3046 cat confdefs.h
>>conftest.
$ac_ext
3047 cat >>conftest.
$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3050 # include <limits.h>
3052 # include <assert.h>
3056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3057 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1
>conftest.err
3061 cat conftest.err
>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } >/dev
/null
; then
3064 if test -s conftest.err
; then
3065 ac_cpp_err
=$ac_c_preproc_warn_flag
3066 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3073 if test -z "$ac_cpp_err"; then
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.
$ac_ext >&5
3079 # Broken: fails on valid input.
3082 rm -f conftest.err conftest.
$ac_ext
3084 # OK, works on sane cases. Now check whether non-existent headers
3085 # can be detected and how.
3086 cat >conftest.
$ac_ext <<_ACEOF
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1
>conftest.err
3099 cat conftest.err
>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev
/null
; then
3102 if test -s conftest.err
; then
3103 ac_cpp_err
=$ac_c_preproc_warn_flag
3104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3111 if test -z "$ac_cpp_err"; then
3112 # Broken: success on invalid input.
3115 echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.
$ac_ext >&5
3118 # Passes both tests.
3122 rm -f conftest.err conftest.
$ac_ext
3125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3126 rm -f conftest.err conftest.
$ac_ext
3127 if $ac_preproc_ok; then
3130 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3131 See \`config.log' for more details." >&5
3132 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3133 See \`config.log' for more details." >&2;}
3134 { (exit 1); exit 1; }; }
3138 ac_cpp
='$CPP $CPPFLAGS'
3139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3145 if test "x$ac_path_x_has_been_run" != xyes
; then
3146 echo "$as_me:$LINENO: checking for X" >&5
3147 echo $ECHO_N "checking for X... $ECHO_C" >&6
3149 ac_path_x_has_been_run
=yes
3151 # Check whether --with-x or --without-x was given.
3152 if test "${with_x+set}" = set; then
3156 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3157 if test "x$with_x" = xno
; then
3158 # The user explicitly disabled X.
3161 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3162 # Both variables are already set.
3165 if test "${ac_cv_have_x+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 # One or both of the vars are not set, and there is no cached value.
3169 ac_x_includes
=no ac_x_libraries
=no
3171 if mkdir conftest.dir
; then
3173 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3174 cat >Imakefile
<<'_ACEOF'
3176 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3178 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3180 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3181 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3182 for ac_extension
in a so sl
; do
3183 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3184 test -f $ac_im_libdir/libX11.
$ac_extension; then
3185 ac_im_usrlibdir
=$ac_im_libdir; break
3188 # Screen out bogus values from the imake configuration. They are
3189 # bogus both because they are the default anyway, and because
3190 # using them would break gcc on systems where it needs fixed includes.
3191 case $ac_im_incroot in
3193 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3195 case $ac_im_usrlibdir in
3197 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3204 # Standard set of common directories for X headers.
3205 # Check X11 before X11Rn because it is often a symlink to the current release.
3217 /usr/local/X11/include
3218 /usr/local/X11R6/include
3219 /usr/local/X11R5/include
3220 /usr/local/X11R4/include
3222 /usr/local/include/X11
3223 /usr/local/include/X11R6
3224 /usr/local/include/X11R5
3225 /usr/local/include/X11R4
3229 /usr/XFree86/include/X11
3233 /usr/unsupported/include
3235 /usr/local/x11r5/include
3236 /usr/lpp/Xamples/include
3238 /usr/openwin/include
3239 /usr/openwin/share/include'
3241 if test "$ac_x_includes" = no
; then
3242 # Guess where to find include files, by looking for a specified header file.
3243 # First, try using that file with no special directory specified.
3244 cat >conftest.
$ac_ext <<_ACEOF
3247 cat confdefs.h
>>conftest.
$ac_ext
3248 cat >>conftest.
$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 #include <X11/Intrinsic.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1
>conftest.err
3257 cat conftest.err
>&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev
/null
; then
3260 if test -s conftest.err
; then
3261 ac_cpp_err
=$ac_c_preproc_warn_flag
3262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3270 # We can compile using X headers with no special include directory.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 for ac_dir
in $ac_x_header_dirs; do
3277 if test -r "$ac_dir/X11/Intrinsic.h"; then
3278 ac_x_includes
=$ac_dir
3283 rm -f conftest.err conftest.
$ac_ext
3284 fi # $ac_x_includes = no
3286 if test "$ac_x_libraries" = no
; then
3287 # Check for the libraries.
3288 # See if we find them without any special options.
3289 # Don't add to $LIBS permanently.
3292 cat >conftest.
$ac_ext <<_ACEOF
3295 cat confdefs.h
>>conftest.
$ac_ext
3296 cat >>conftest.
$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 #include <X11/Intrinsic.h>
3307 rm -f conftest.
$ac_objext conftest
$ac_exeext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3309 (eval $ac_link) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1
>conftest.err
3313 cat conftest.err
>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try
='test -s conftest$ac_exeext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3329 # We can link X programs with no special library path.
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.
$ac_ext >&5
3336 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3338 # Don't even attempt the hair of trying to link an X program!
3339 for ac_extension
in a so sl
; do
3340 if test -r $ac_dir/libXt.
$ac_extension; then
3341 ac_x_libraries
=$ac_dir
3347 rm -f conftest.err conftest.
$ac_objext \
3348 conftest
$ac_exeext conftest.
$ac_ext
3349 fi # $ac_x_libraries = no
3351 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3352 # Didn't find X anywhere. Cache the known absence of X.
3353 ac_cv_have_x
="have_x=no"
3355 # Record where we found X for the cache.
3356 ac_cv_have_x
="have_x=yes \
3357 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3362 eval "$ac_cv_have_x"
3365 if test "$have_x" != yes; then
3366 echo "$as_me:$LINENO: result: $have_x" >&5
3367 echo "${ECHO_T}$have_x" >&6
3370 # If each of the values was on the command line, it overrides each guess.
3371 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3372 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3373 # Update the cache value to reflect the command line values.
3374 ac_cv_have_x
="have_x=yes \
3375 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3376 # It might be that x_includes is empty (headers are found in the
3377 # standard search path. Then output the corresponding message
3378 ac_out_x_includes
=$x_includes
3379 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3380 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3381 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3385 if test "$no_x" = yes; then
3386 # Not all programs may use this symbol, but it does not hurt to define it.
3388 cat >>confdefs.h
<<\_ACEOF
3389 #define X_DISPLAY_MISSING 1
3392 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3394 if test -n "$x_includes"; then
3395 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3398 # It would also be nice to do this for all -L options, not just this one.
3399 if test -n "$x_libraries"; then
3400 X_LIBS
="$X_LIBS -L$x_libraries"
3401 # For Solaris; some versions of Sun CC require a space after -R and
3402 # others require no space. Words are not sufficient . . . .
3403 case `(uname -sr) 2>/dev/null` in
3405 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3406 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3407 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3408 cat >conftest.
$ac_ext <<_ACEOF
3411 cat confdefs.h
>>conftest.
$ac_ext
3412 cat >>conftest.
$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3423 rm -f conftest.
$ac_objext conftest
$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1
>conftest.err
3429 cat conftest.err
>&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } &&
3432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; } &&
3438 { ac_try
='test -s conftest$ac_exeext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3451 rm -f conftest.err conftest.
$ac_objext \
3452 conftest
$ac_exeext conftest.
$ac_ext
3453 if test $ac_R_nospace = yes; then
3454 echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3456 X_LIBS
="$X_LIBS -R$x_libraries"
3458 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3459 cat >conftest.
$ac_ext <<_ACEOF
3462 cat confdefs.h
>>conftest.
$ac_ext
3463 cat >>conftest.
$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.
$ac_objext conftest
$ac_exeext
3475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3476 (eval $ac_link) 2>conftest.er1
3478 grep -v '^ *+' conftest.er1
>conftest.err
3480 cat conftest.err
>&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } &&
3483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try
='test -s conftest$ac_exeext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3502 rm -f conftest.err conftest.
$ac_objext \
3503 conftest
$ac_exeext conftest.
$ac_ext
3504 if test $ac_R_space = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3507 X_LIBS
="$X_LIBS -R $x_libraries"
3509 echo "$as_me:$LINENO: result: neither works" >&5
3510 echo "${ECHO_T}neither works" >&6
3517 # Check for system-dependent libraries X programs must link with.
3518 # Do this before checking for the system-independent R6 libraries
3519 # (-lICE), since we may need -lsocket or whatever for X linking.
3521 if test "$ISC" = yes; then
3522 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3524 # Martyn Johnson says this is needed for Ultrix, if the X
3525 # libraries were built with DECnet support. And Karl Berry says
3526 # the Alpha needs dnet_stub (dnet does not exist).
3527 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3528 cat >conftest.
$ac_ext <<_ACEOF
3531 cat confdefs.h
>>conftest.
$ac_ext
3532 cat >>conftest.
$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3535 /* Override any gcc2 internal prototype to avoid an error. */
3539 /* We use char because int might match the return type of a gcc2
3540 builtin and then its argument prototype would still apply. */
3541 char XOpenDisplay ();
3550 rm -f conftest.
$ac_objext conftest
$ac_exeext
3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3552 (eval $ac_link) 2>conftest.er1
3554 grep -v '^ *+' conftest.er1
>conftest.err
3556 cat conftest.err
>&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } &&
3559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try
='test -s conftest$ac_exeext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.
$ac_ext >&5
3576 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3577 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3578 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_check_lib_save_LIBS
=$LIBS
3583 cat >conftest.
$ac_ext <<_ACEOF
3586 cat confdefs.h
>>conftest.
$ac_ext
3587 cat >>conftest.
$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 /* Override any gcc2 internal prototype to avoid an error. */
3594 /* We use char because int might match the return type of a gcc2
3595 builtin and then its argument prototype would still apply. */
3605 rm -f conftest.
$ac_objext conftest
$ac_exeext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607 (eval $ac_link) 2>conftest.er1
3609 grep -v '^ *+' conftest.er1
>conftest.err
3611 cat conftest.err
>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try
='test -s conftest$ac_exeext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 ac_cv_lib_dnet_dnet_ntoa
=yes
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3631 ac_cv_lib_dnet_dnet_ntoa
=no
3633 rm -f conftest.err conftest.
$ac_objext \
3634 conftest
$ac_exeext conftest.
$ac_ext
3635 LIBS
=$ac_check_lib_save_LIBS
3637 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3638 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3639 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3643 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3644 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3645 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3646 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 ac_check_lib_save_LIBS
=$LIBS
3650 LIBS
="-ldnet_stub $LIBS"
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3658 /* Override any gcc2 internal prototype to avoid an error. */
3662 /* We use char because int might match the return type of a gcc2
3663 builtin and then its argument prototype would still apply. */
3673 rm -f conftest.
$ac_objext conftest
$ac_exeext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1
>conftest.err
3679 cat conftest.err
>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try
='test -s conftest$ac_exeext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3694 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.
$ac_ext >&5
3699 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3701 rm -f conftest.err conftest.
$ac_objext \
3702 conftest
$ac_exeext conftest.
$ac_ext
3703 LIBS
=$ac_check_lib_save_LIBS
3705 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3706 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3707 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3708 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3713 rm -f conftest.err conftest.
$ac_objext \
3714 conftest
$ac_exeext conftest.
$ac_ext
3715 LIBS
="$ac_xsave_LIBS"
3717 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3718 # to get the SysV transport functions.
3719 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3721 # The nsl library prevents programs from opening the X display
3722 # on Irix 5.2, according to T.E. Dickey.
3723 # The functions gethostbyname, getservbyname, and inet_addr are
3724 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3725 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3726 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3727 if test "${ac_cv_func_gethostbyname+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.
$ac_ext <<_ACEOF
3733 cat confdefs.h
>>conftest.
$ac_ext
3734 cat >>conftest.
$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3738 #define gethostbyname innocuous_gethostbyname
3740 /* System header to define __stub macros and hopefully few prototypes,
3741 which can conflict with char gethostbyname (); below.
3742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3743 <limits.h> exists even on freestanding compilers. */
3746 # include <limits.h>
3748 # include <assert.h>
3751 #undef gethostbyname
3753 /* Override any gcc2 internal prototype to avoid an error. */
3758 /* We use char because int might match the return type of a gcc2
3759 builtin and then its argument prototype would still apply. */
3760 char gethostbyname ();
3761 /* The GNU C library defines this for functions which it implements
3762 to always fail with ENOSYS. Some functions are actually named
3763 something starting with __ and the normal name is an alias. */
3764 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3767 char (*f) () = gethostbyname;
3776 return f != gethostbyname;
3781 rm -f conftest.
$ac_objext conftest
$ac_exeext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3783 (eval $ac_link) 2>conftest.er1
3785 grep -v '^ *+' conftest.er1
>conftest.err
3787 cat conftest.err
>&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; } &&
3796 { ac_try
='test -s conftest$ac_exeext'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 ac_cv_func_gethostbyname
=yes
3804 echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.
$ac_ext >&5
3807 ac_cv_func_gethostbyname
=no
3809 rm -f conftest.err conftest.
$ac_objext \
3810 conftest
$ac_exeext conftest.
$ac_ext
3812 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3813 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3815 if test $ac_cv_func_gethostbyname = no
; then
3816 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3817 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3818 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 ac_check_lib_save_LIBS
=$LIBS
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3830 /* Override any gcc2 internal prototype to avoid an error. */
3834 /* We use char because int might match the return type of a gcc2
3835 builtin and then its argument prototype would still apply. */
3836 char gethostbyname ();
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try
='test -s conftest$ac_exeext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 ac_cv_lib_nsl_gethostbyname
=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.
$ac_ext >&5
3871 ac_cv_lib_nsl_gethostbyname
=no
3873 rm -f conftest.err conftest.
$ac_objext \
3874 conftest
$ac_exeext conftest.
$ac_ext
3875 LIBS
=$ac_check_lib_save_LIBS
3877 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3878 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3879 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3880 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3883 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3884 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3885 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3886 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 ac_check_lib_save_LIBS
=$LIBS
3891 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3898 /* Override any gcc2 internal prototype to avoid an error. */
3902 /* We use char because int might match the return type of a gcc2
3903 builtin and then its argument prototype would still apply. */
3904 char gethostbyname ();
3913 rm -f conftest.
$ac_objext conftest
$ac_exeext
3914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3915 (eval $ac_link) 2>conftest.er1
3917 grep -v '^ *+' conftest.er1
>conftest.err
3919 cat conftest.err
>&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } &&
3922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3928 { ac_try
='test -s conftest$ac_exeext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_cv_lib_bsd_gethostbyname
=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.
$ac_ext >&5
3939 ac_cv_lib_bsd_gethostbyname
=no
3941 rm -f conftest.err conftest.
$ac_objext \
3942 conftest
$ac_exeext conftest.
$ac_ext
3943 LIBS
=$ac_check_lib_save_LIBS
3945 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3946 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3947 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3954 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3955 # socket/setsockopt and other routines are undefined under SCO ODT
3956 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3957 # on later versions), says Simon Leinen: it contains gethostby*
3958 # variants that don't use the name server (or something). -lsocket
3959 # must be given before -lnsl if both are needed. We assume that
3960 # if connect needs -lnsl, so does gethostbyname.
3961 echo "$as_me:$LINENO: checking for connect" >&5
3962 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3963 if test "${ac_cv_func_connect+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 cat >conftest.
$ac_ext <<_ACEOF
3969 cat confdefs.h
>>conftest.
$ac_ext
3970 cat >>conftest.
$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3974 #define connect innocuous_connect
3976 /* System header to define __stub macros and hopefully few prototypes,
3977 which can conflict with char connect (); below.
3978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3979 <limits.h> exists even on freestanding compilers. */
3982 # include <limits.h>
3984 # include <assert.h>
3989 /* Override any gcc2 internal prototype to avoid an error. */
3994 /* We use char because int might match the return type of a gcc2
3995 builtin and then its argument prototype would still apply. */
3997 /* The GNU C library defines this for functions which it implements
3998 to always fail with ENOSYS. Some functions are actually named
3999 something starting with __ and the normal name is an alias. */
4000 #if defined (__stub_connect) || defined (__stub___connect)
4003 char (*f) () = connect;
4012 return f != connect;
4017 rm -f conftest.
$ac_objext conftest
$ac_exeext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4019 (eval $ac_link) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try
='test -s conftest$ac_exeext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_cv_func_connect
=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.
$ac_ext >&5
4043 ac_cv_func_connect
=no
4045 rm -f conftest.err conftest.
$ac_objext \
4046 conftest
$ac_exeext conftest.
$ac_ext
4048 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4049 echo "${ECHO_T}$ac_cv_func_connect" >&6
4051 if test $ac_cv_func_connect = no
; then
4052 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4053 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4054 if test "${ac_cv_lib_socket_connect+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 ac_check_lib_save_LIBS
=$LIBS
4058 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4059 cat >conftest.
$ac_ext <<_ACEOF
4062 cat confdefs.h
>>conftest.
$ac_ext
4063 cat >>conftest.
$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4066 /* Override any gcc2 internal prototype to avoid an error. */
4070 /* We use char because int might match the return type of a gcc2
4071 builtin and then its argument prototype would still apply. */
4081 rm -f conftest.
$ac_objext conftest
$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083 (eval $ac_link) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1
>conftest.err
4087 cat conftest.err
>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try
='test -s conftest$ac_exeext'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; }; then
4102 ac_cv_lib_socket_connect
=yes
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.
$ac_ext >&5
4107 ac_cv_lib_socket_connect
=no
4109 rm -f conftest.err conftest.
$ac_objext \
4110 conftest
$ac_exeext conftest.
$ac_ext
4111 LIBS
=$ac_check_lib_save_LIBS
4113 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4115 if test $ac_cv_lib_socket_connect = yes; then
4116 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4121 # Guillermo Gomez says -lposix is necessary on A/UX.
4122 echo "$as_me:$LINENO: checking for remove" >&5
4123 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4124 if test "${ac_cv_func_remove+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 cat >conftest.
$ac_ext <<_ACEOF
4130 cat confdefs.h
>>conftest.
$ac_ext
4131 cat >>conftest.
$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4135 #define remove innocuous_remove
4137 /* System header to define __stub macros and hopefully few prototypes,
4138 which can conflict with char remove (); below.
4139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140 <limits.h> exists even on freestanding compilers. */
4143 # include <limits.h>
4145 # include <assert.h>
4150 /* Override any gcc2 internal prototype to avoid an error. */
4155 /* We use char because int might match the return type of a gcc2
4156 builtin and then its argument prototype would still apply. */
4158 /* The GNU C library defines this for functions which it implements
4159 to always fail with ENOSYS. Some functions are actually named
4160 something starting with __ and the normal name is an alias. */
4161 #if defined (__stub_remove) || defined (__stub___remove)
4164 char (*f) () = remove;
4178 rm -f conftest.
$ac_objext conftest
$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180 (eval $ac_link) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1
>conftest.err
4184 cat conftest.err
>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; } &&
4193 { ac_try
='test -s conftest$ac_exeext'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4199 ac_cv_func_remove
=yes
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.
$ac_ext >&5
4204 ac_cv_func_remove
=no
4206 rm -f conftest.err conftest.
$ac_objext \
4207 conftest
$ac_exeext conftest.
$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4210 echo "${ECHO_T}$ac_cv_func_remove" >&6
4212 if test $ac_cv_func_remove = no
; then
4213 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4214 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4215 if test "${ac_cv_lib_posix_remove+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 ac_check_lib_save_LIBS
=$LIBS
4219 LIBS
="-lposix $LIBS"
4220 cat >conftest.
$ac_ext <<_ACEOF
4223 cat confdefs.h
>>conftest.
$ac_ext
4224 cat >>conftest.
$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4227 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4242 rm -f conftest.
$ac_objext conftest
$ac_exeext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4244 (eval $ac_link) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1
>conftest.err
4248 cat conftest.err
>&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; } &&
4257 { ac_try
='test -s conftest$ac_exeext'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then
4263 ac_cv_lib_posix_remove
=yes
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.
$ac_ext >&5
4268 ac_cv_lib_posix_remove
=no
4270 rm -f conftest.err conftest.
$ac_objext \
4271 conftest
$ac_exeext conftest.
$ac_ext
4272 LIBS
=$ac_check_lib_save_LIBS
4274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4275 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4276 if test $ac_cv_lib_posix_remove = yes; then
4277 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4282 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4283 echo "$as_me:$LINENO: checking for shmat" >&5
4284 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4285 if test "${ac_cv_func_shmat+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 cat >conftest.
$ac_ext <<_ACEOF
4291 cat confdefs.h
>>conftest.
$ac_ext
4292 cat >>conftest.
$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4294 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4296 #define shmat innocuous_shmat
4298 /* System header to define __stub macros and hopefully few prototypes,
4299 which can conflict with char shmat (); below.
4300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4301 <limits.h> exists even on freestanding compilers. */
4304 # include <limits.h>
4306 # include <assert.h>
4311 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_shmat) || defined (__stub___shmat)
4325 char (*f) () = shmat;
4339 rm -f conftest.
$ac_objext conftest
$ac_exeext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4341 (eval $ac_link) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1
>conftest.err
4345 cat conftest.err
>&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try
='test -s conftest$ac_exeext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_cv_func_shmat
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4367 rm -f conftest.err conftest.
$ac_objext \
4368 conftest
$ac_exeext conftest.
$ac_ext
4370 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4371 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4373 if test $ac_cv_func_shmat = no
; then
4374 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4375 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4376 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 ac_check_lib_save_LIBS
=$LIBS
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4388 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4403 rm -f conftest.
$ac_objext conftest
$ac_exeext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4405 (eval $ac_link) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1
>conftest.err
4409 cat conftest.err
>&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try
='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 ac_cv_lib_ipc_shmat
=yes
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 ac_cv_lib_ipc_shmat
=no
4431 rm -f conftest.err conftest.
$ac_objext \
4432 conftest
$ac_exeext conftest.
$ac_ext
4433 LIBS
=$ac_check_lib_save_LIBS
4435 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4436 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4437 if test $ac_cv_lib_ipc_shmat = yes; then
4438 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4444 # Check for libraries that X11R6 Xt/Xaw programs need.
4445 ac_save_LDFLAGS
=$LDFLAGS
4446 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4447 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4448 # check for ICE first), but we must link in the order -lSM -lICE or
4449 # we get undefined symbols. So assume we have SM if we have ICE.
4450 # These have to be linked with before -lX11, unlike the other
4451 # libraries we check for below, so use a different variable.
4452 # John Interrante, Karl Berry
4453 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4454 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4455 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 ac_check_lib_save_LIBS
=$LIBS
4459 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4460 cat >conftest.
$ac_ext <<_ACEOF
4463 cat confdefs.h
>>conftest.
$ac_ext
4464 cat >>conftest.
$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4467 /* Override any gcc2 internal prototype to avoid an error. */
4471 /* We use char because int might match the return type of a gcc2
4472 builtin and then its argument prototype would still apply. */
4473 char IceConnectionNumber ();
4477 IceConnectionNumber ();
4482 rm -f conftest.
$ac_objext conftest
$ac_exeext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4484 (eval $ac_link) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1
>conftest.err
4488 cat conftest.err
>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try
='test -s conftest$ac_exeext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_cv_lib_ICE_IceConnectionNumber
=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 ac_cv_lib_ICE_IceConnectionNumber
=no
4510 rm -f conftest.err conftest.
$ac_objext \
4511 conftest
$ac_exeext conftest.
$ac_ext
4512 LIBS
=$ac_check_lib_save_LIBS
4514 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4515 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4516 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4517 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4520 LDFLAGS
=$ac_save_LDFLAGS
4524 for ac_prog
in flex
lex
4526 # Extract the first word of "$ac_prog", so it can be a program name with args.
4527 set dummy
$ac_prog; ac_word
=$2
4528 echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4530 if test "${ac_cv_prog_LEX+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$LEX"; then
4534 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_LEX
="$ac_prog"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$LEX"; then
4554 echo "$as_me:$LINENO: result: $LEX" >&5
4555 echo "${ECHO_T}$LEX" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 test -n "$LEX" && break
4563 test -n "$LEX" || LEX
=":"
4565 if test -z "$LEXLIB"
4567 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4568 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4569 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any gcc2 internal prototype to avoid an error. */
4585 /* We use char because int might match the return type of a gcc2
4586 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4598 (eval $ac_link) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1
>conftest.err
4602 cat conftest.err
>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try
='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_lib_fl_yywrap
=yes
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.
$ac_ext >&5
4622 ac_cv_lib_fl_yywrap
=no
4624 rm -f conftest.err conftest.
$ac_objext \
4625 conftest
$ac_exeext conftest.
$ac_ext
4626 LIBS
=$ac_check_lib_save_LIBS
4628 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4629 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4630 if test $ac_cv_lib_fl_yywrap = yes; then
4633 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4634 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4635 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS
=$LIBS
4640 cat >conftest.
$ac_ext <<_ACEOF
4643 cat confdefs.h
>>conftest.
$ac_ext
4644 cat >>conftest.
$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4662 rm -f conftest.
$ac_objext conftest
$ac_exeext
4663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664 (eval $ac_link) 2>conftest.er1
4666 grep -v '^ *+' conftest.er1
>conftest.err
4668 cat conftest.err
>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; } &&
4677 { ac_try
='test -s conftest$ac_exeext'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4683 ac_cv_lib_l_yywrap
=yes
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.
$ac_ext >&5
4688 ac_cv_lib_l_yywrap
=no
4690 rm -f conftest.err conftest.
$ac_objext \
4691 conftest
$ac_exeext conftest.
$ac_ext
4692 LIBS
=$ac_check_lib_save_LIBS
4694 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4695 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4696 if test $ac_cv_lib_l_yywrap = yes; then
4704 if test "x$LEX" != "x:"; then
4705 echo "$as_me:$LINENO: checking lex output file root" >&5
4706 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4707 if test "${ac_cv_prog_lex_root+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 # The minimal lex program is just a single line: %%. But some broken lexes
4711 # (Solaris, I think it was) want two %% lines, so accommodate them.
4712 cat >conftest.l
<<_ACEOF
4716 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4717 (eval $LEX conftest.l
) 2>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }
4721 if test -f lex.yy.c
; then
4722 ac_cv_prog_lex_root
=lex.yy
4723 elif test -f lexyy.c
; then
4724 ac_cv_prog_lex_root
=lexyy
4726 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4727 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4728 { (exit 1); exit 1; }; }
4731 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4732 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4734 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4736 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4737 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4738 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 # POSIX says lex can declare yytext either as a pointer or an array; the
4742 # default is implementation-dependent. Figure out which it is, since
4743 # not all implementations provide the %pointer and %array declarations.
4744 ac_cv_prog_lex_yytext_pointer
=no
4745 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4747 LIBS
="$LIBS $LEXLIB"
4748 cat >conftest.
$ac_ext <<_ACEOF
4749 `cat $LEX_OUTPUT_ROOT.c`
4751 rm -f conftest.
$ac_objext conftest
$ac_exeext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4753 (eval $ac_link) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1
>conftest.err
4757 cat conftest.err
>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; } &&
4766 { ac_try
='test -s conftest$ac_exeext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4772 ac_cv_prog_lex_yytext_pointer
=yes
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.
$ac_ext >&5
4778 rm -f conftest.err conftest.
$ac_objext \
4779 conftest
$ac_exeext conftest.
$ac_ext
4781 rm -f "${LEX_OUTPUT_ROOT}.c"
4784 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4785 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4786 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4788 cat >>confdefs.h
<<\_ACEOF
4789 #define YYTEXT_POINTER 1
4796 for ac_prog
in $LEX flex
lex
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy
$ac_prog; ac_word
=$2
4800 echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802 if test "${ac_cv_prog_XLEX+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -n "$XLEX"; then
4806 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir
=.
4813 for ac_exec_ext
in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_XLEX
="$ac_prog"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 XLEX
=$ac_cv_prog_XLEX
4825 if test -n "$XLEX"; then
4826 echo "$as_me:$LINENO: result: $XLEX" >&5
4827 echo "${ECHO_T}$XLEX" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4833 test -n "$XLEX" && break
4835 test -n "$XLEX" || XLEX
="none"
4837 if test "$XLEX" = "none"
4839 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4840 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4841 { (exit 1); exit 1; }; }
4844 for ac_prog
in bison
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy
$ac_prog; ac_word
=$2
4848 echo "$as_me:$LINENO: checking for $ac_word" >&5
4849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4850 if test "${ac_cv_prog_BISON+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 if test -n "$BISON"; then
4854 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir
=.
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_BISON
="$ac_prog"
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 BISON
=$ac_cv_prog_BISON
4873 if test -n "$BISON"; then
4874 echo "$as_me:$LINENO: result: $BISON" >&5
4875 echo "${ECHO_T}$BISON" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4881 test -n "$BISON" && break
4883 test -n "$BISON" || BISON
="none"
4885 if test "$BISON" = "none"
4887 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4888 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4889 { (exit 1); exit 1; }; }
4892 if test -n "$ac_tool_prefix"; then
4893 for ac_prog
in gas as
4895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4897 echo "$as_me:$LINENO: checking for $ac_word" >&5
4898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899 if test "${ac_cv_prog_AS+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 if test -n "$AS"; then
4903 ac_cv_prog_AS
="$AS" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 if test -n "$AS"; then
4923 echo "$as_me:$LINENO: result: $AS" >&5
4924 echo "${ECHO_T}$AS" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4930 test -n "$AS" && break
4933 if test -z "$AS"; then
4935 for ac_prog
in gas as
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy
$ac_prog; ac_word
=$2
4939 echo "$as_me:$LINENO: checking for $ac_word" >&5
4940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4941 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 if test -n "$ac_ct_AS"; then
4945 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_AS
="$ac_prog"
4955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4966 echo "${ECHO_T}$ac_ct_AS" >&6
4968 echo "$as_me:$LINENO: result: no" >&5
4969 echo "${ECHO_T}no" >&6
4972 test -n "$ac_ct_AS" && break
4974 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4981 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_LD+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$LD"; then
4988 ac_cv_prog_LD
="$LD" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 if test -n "$LD"; then
5008 echo "$as_me:$LINENO: result: $LD" >&5
5009 echo "${ECHO_T}$LD" >&6
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5016 if test -z "$ac_cv_prog_LD"; then
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld
; ac_word
=$2
5020 echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5022 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD
="ld"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5045 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5048 echo "${ECHO_T}$ac_ct_LD" >&6
5050 echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6
5059 if test -n "$ac_tool_prefix"; then
5060 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5061 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5062 echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 if test "${ac_cv_prog_AR+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -n "$AR"; then
5068 ac_cv_prog_AR
="$AR" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 if test -n "$AR"; then
5088 echo "$as_me:$LINENO: result: $AR" >&5
5089 echo "${ECHO_T}$AR" >&6
5091 echo "$as_me:$LINENO: result: no" >&5
5092 echo "${ECHO_T}no" >&6
5096 if test -z "$ac_cv_prog_AR"; then
5098 # Extract the first word of "ar", so it can be a program name with args.
5099 set dummy
ar; ac_word
=$2
5100 echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5102 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$ac_ct_AR"; then
5106 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_exec_ext
in '' $ac_executable_extensions; do
5114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_ac_ct_AR
="ar"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5125 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5126 if test -n "$ac_ct_AR"; then
5127 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5128 echo "${ECHO_T}$ac_ct_AR" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5142 echo "$as_me:$LINENO: checking for $ac_word" >&5
5143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 RANLIB
=$ac_cv_prog_RANLIB
5167 if test -n "$RANLIB"; then
5168 echo "$as_me:$LINENO: result: $RANLIB" >&5
5169 echo "${ECHO_T}$RANLIB" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5176 if test -z "$ac_cv_prog_RANLIB"; then
5177 ac_ct_RANLIB
=$RANLIB
5178 # Extract the first word of "ranlib", so it can be a program name with args.
5179 set dummy ranlib
; ac_word
=$2
5180 echo "$as_me:$LINENO: checking for $ac_word" >&5
5181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 if test -n "$ac_ct_RANLIB"; then
5186 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5205 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5206 if test -n "$ac_ct_RANLIB"; then
5207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5214 RANLIB
=$ac_ct_RANLIB
5216 RANLIB
="$ac_cv_prog_RANLIB"
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 STRIP
=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip
; ac_word
=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir
=.
5273 for ac_exec_ext
in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP
="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5285 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 STRIP
="$ac_cv_prog_STRIP"
5299 if test -n "$ac_tool_prefix"; then
5300 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5301 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5302 echo "$as_me:$LINENO: checking for $ac_word" >&5
5303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5304 if test "${ac_cv_prog_WINDRES+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 if test -n "$WINDRES"; then
5308 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 WINDRES
=$ac_cv_prog_WINDRES
5327 if test -n "$WINDRES"; then
5328 echo "$as_me:$LINENO: result: $WINDRES" >&5
5329 echo "${ECHO_T}$WINDRES" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5336 if test -z "$ac_cv_prog_WINDRES"; then
5337 ac_ct_WINDRES
=$WINDRES
5338 # Extract the first word of "windres", so it can be a program name with args.
5339 set dummy windres
; ac_word
=$2
5340 echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5342 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_WINDRES"; then
5346 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_ac_ct_WINDRES
="windres"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5365 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5366 if test -n "$ac_ct_WINDRES"; then
5367 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5368 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5374 WINDRES
=$ac_ct_WINDRES
5376 WINDRES
="$ac_cv_prog_WINDRES"
5379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5382 if test "$LN_S" = "ln -s"; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5387 echo "${ECHO_T}no, using $LN_S" >&6
5390 echo "$as_me:$LINENO: checking whether ln works" >&5
5391 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5392 rm -f conf$$ conf$$.
file
5394 if ln conf$$.
file conf$$
2>/dev
/null
; then
5397 echo "$as_me:$LINENO: result: yes" >&5
5398 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no, using $LN" >&5
5403 echo "${ECHO_T}no, using $LN" >&6
5405 rm -f conf$$ conf$$.
file
5406 echo "$as_me:$LINENO: checking for egrep" >&5
5407 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5408 if test "${ac_cv_prog_egrep+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5412 then ac_cv_prog_egrep
='grep -E'
5413 else ac_cv_prog_egrep
='egrep'
5416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5418 EGREP
=$ac_cv_prog_egrep
5421 # Extract the first word of "ldconfig", so it can be a program name with args.
5422 set dummy ldconfig
; ac_word
=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5434 for as_dir
in /sbin
/usr
/sbin
$PATH
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5451 LDCONFIG
=$ac_cv_path_LDCONFIG
5453 if test -n "$LDCONFIG"; then
5454 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5455 echo "${ECHO_T}$LDCONFIG" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5461 # Find a good install program. We prefer a C program (faster),
5462 # so one script is as good as another. But avoid the broken or
5463 # incompatible versions:
5464 # SysV /etc/install, /usr/sbin/install
5465 # SunOS /usr/etc/install
5466 # IRIX /sbin/install
5468 # AmigaOS /C/install, which installs bootblocks on floppy discs
5469 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5470 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5471 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5472 # OS/2's system install, which has a completely different semantic
5473 # ./install, which can be erroneously created by make from ./install.sh.
5474 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5475 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5476 if test -z "$INSTALL"; then
5477 if test "${ac_cv_path_install+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir
=.
5485 # Account for people who put trailing slashes in PATH elements.
5487 .
/ | .
// |
/cC
/* | \
5488 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5489 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5492 # OSF1 and SCO ODT 3.0 have their own names for install.
5493 # Don't use installbsd from OSF since it installs stuff as root
5495 for ac_prog
in ginstall scoinst
install; do
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5498 if test $ac_prog = install &&
5499 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5500 # AIX install. It has an incompatible calling convention.
5502 elif test $ac_prog = install &&
5503 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5504 # program-specific install script used by HP pwplus--don't use.
5507 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5519 if test "${ac_cv_path_install+set}" = set; then
5520 INSTALL
=$ac_cv_path_install
5522 # As a last resort, use the slow shell script. We don't cache a
5523 # path for INSTALL within a source directory, because that will
5524 # break other packages using the cache if that directory is
5525 # removed, or if the path is relative.
5526 INSTALL
=$ac_install_sh
5529 echo "$as_me:$LINENO: result: $INSTALL" >&5
5530 echo "${ECHO_T}$INSTALL" >&6
5532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5533 # It thinks the first close brace ends the variable substitution.
5534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5541 [\\/$
]* | ?
:[\\/]* ) ;;
5542 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5545 for ac_prog
in lclint lint
5547 # Extract the first word of "$ac_prog", so it can be a program name with args.
5548 set dummy
$ac_prog; ac_word
=$2
5549 echo "$as_me:$LINENO: checking for $ac_word" >&5
5550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5551 if test "${ac_cv_prog_LINT+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 if test -n "$LINT"; then
5555 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_LINT
="$ac_prog"
5565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 LINT
=$ac_cv_prog_LINT
5574 if test -n "$LINT"; then
5575 echo "$as_me:$LINENO: result: $LINT" >&5
5576 echo "${ECHO_T}$LINT" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5582 test -n "$LINT" && break
5585 if test "$LINT" = "lint"
5587 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5592 for ac_prog
in docbook2html db2html
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy
$ac_prog; ac_word
=$2
5596 echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5598 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$DB2HTML"; then
5602 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_DB2HTML
="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 DB2HTML
=$ac_cv_prog_DB2HTML
5621 if test -n "$DB2HTML"; then
5622 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5623 echo "${ECHO_T}$DB2HTML" >&6
5625 echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6
5629 test -n "$DB2HTML" && break
5631 test -n "$DB2HTML" || DB2HTML
="false"
5633 for ac_prog
in docbook2pdf db2pdf
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy
$ac_prog; ac_word
=$2
5637 echo "$as_me:$LINENO: checking for $ac_word" >&5
5638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5639 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 if test -n "$DB2PDF"; then
5643 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir
=.
5650 for ac_exec_ext
in '' $ac_executable_extensions; do
5651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_DB2PDF
="$ac_prog"
5653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 DB2PDF
=$ac_cv_prog_DB2PDF
5662 if test -n "$DB2PDF"; then
5663 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5664 echo "${ECHO_T}$DB2PDF" >&6
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5670 test -n "$DB2PDF" && break
5672 test -n "$DB2PDF" || DB2PDF
="false"
5674 for ac_prog
in docbook2ps db2ps
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy
$ac_prog; ac_word
=$2
5678 echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5680 if test "${ac_cv_prog_DB2PS+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$DB2PS"; then
5684 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_DB2PS
="$ac_prog"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 DB2PS
=$ac_cv_prog_DB2PS
5703 if test -n "$DB2PS"; then
5704 echo "$as_me:$LINENO: result: $DB2PS" >&5
5705 echo "${ECHO_T}$DB2PS" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5711 test -n "$DB2PS" && break
5713 test -n "$DB2PS" || DB2PS
="false"
5715 for ac_prog
in docbook2txt db2txt
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy
$ac_prog; ac_word
=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$DB2TXT"; then
5725 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir
=.
5732 for ac_exec_ext
in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_DB2TXT
="$ac_prog"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 DB2TXT
=$ac_cv_prog_DB2TXT
5744 if test -n "$DB2TXT"; then
5745 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5746 echo "${ECHO_T}$DB2TXT" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5752 test -n "$DB2TXT" && break
5754 test -n "$DB2TXT" || DB2TXT
="false"
5756 for ac_prog
in fontforge
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy
$ac_prog; ac_word
=$2
5760 echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5762 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$FONTFORGE"; then
5766 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_FONTFORGE
="$ac_prog"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 FONTFORGE
=$ac_cv_prog_FONTFORGE
5785 if test -n "$FONTFORGE"; then
5786 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5787 echo "${ECHO_T}$FONTFORGE" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 test -n "$FONTFORGE" && break
5795 test -n "$FONTFORGE" || FONTFORGE
="false"
5800 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5801 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5802 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_check_lib_save_LIBS
=$LIBS
5807 cat >conftest.
$ac_ext <<_ACEOF
5810 cat confdefs.h
>>conftest.
$ac_ext
5811 cat >>conftest.
$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 /* Override any gcc2 internal prototype to avoid an error. */
5818 /* We use char because int might match the return type of a gcc2
5819 builtin and then its argument prototype would still apply. */
5820 char i386_set_ldt ();
5829 rm -f conftest.
$ac_objext conftest
$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; } &&
5844 { ac_try
='test -s conftest$ac_exeext'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; }; then
5850 ac_cv_lib_i386_i386_set_ldt
=yes
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.
$ac_ext >&5
5855 ac_cv_lib_i386_i386_set_ldt
=no
5857 rm -f conftest.err conftest.
$ac_objext \
5858 conftest
$ac_exeext conftest.
$ac_ext
5859 LIBS
=$ac_check_lib_save_LIBS
5861 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5862 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5863 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5864 cat >>confdefs.h
<<_ACEOF
5865 #define HAVE_LIBI386 1
5873 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5874 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5875 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_check_lib_save_LIBS
=$LIBS
5879 LIBS
="-lossaudio $LIBS"
5880 cat >conftest.
$ac_ext <<_ACEOF
5883 cat confdefs.h
>>conftest.
$ac_ext
5884 cat >>conftest.
$ac_ext <<_ACEOF
5885 /* end confdefs.h. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5891 /* We use char because int might match the return type of a gcc2
5892 builtin and then its argument prototype would still apply. */
5902 rm -f conftest.
$ac_objext conftest
$ac_exeext
5903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904 (eval $ac_link) 2>conftest.er1
5906 grep -v '^ *+' conftest.er1
>conftest.err
5908 cat conftest.err
>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } &&
5911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try
='test -s conftest$ac_exeext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; }; then
5923 ac_cv_lib_ossaudio__oss_ioctl
=yes
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.
$ac_ext >&5
5928 ac_cv_lib_ossaudio__oss_ioctl
=no
5930 rm -f conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5932 LIBS
=$ac_check_lib_save_LIBS
5934 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5935 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5936 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5937 cat >>confdefs.h
<<_ACEOF
5938 #define HAVE_LIBOSSAUDIO 1
5941 LIBS
="-lossaudio $LIBS"
5946 for ac_func
in iswalnum
5948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5949 echo "$as_me:$LINENO: checking for $ac_func" >&5
5950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5951 if eval "test \"\${$as_ac_var+set}\" = set"; then
5952 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 cat >conftest.
$ac_ext <<_ACEOF
5957 cat confdefs.h
>>conftest.
$ac_ext
5958 cat >>conftest.
$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5962 #define $ac_func innocuous_$ac_func
5964 /* System header to define __stub macros and hopefully few prototypes,
5965 which can conflict with char $ac_func (); below.
5966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5967 <limits.h> exists even on freestanding compilers. */
5970 # include <limits.h>
5972 # include <assert.h>
5977 /* Override any gcc2 internal prototype to avoid an error. */
5982 /* We use char because int might match the return type of a gcc2
5983 builtin and then its argument prototype would still apply. */
5985 /* The GNU C library defines this for functions which it implements
5986 to always fail with ENOSYS. Some functions are actually named
5987 something starting with __ and the normal name is an alias. */
5988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5991 char (*f) () = $ac_func;
6000 return f != $ac_func;
6005 rm -f conftest.
$ac_objext conftest
$ac_exeext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6007 (eval $ac_link) 2>conftest.er1
6009 grep -v '^ *+' conftest.er1
>conftest.err
6011 cat conftest.err
>&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } &&
6014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try
='test -s conftest$ac_exeext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 eval "$as_ac_var=yes"
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 eval "$as_ac_var=no"
6033 rm -f conftest.err conftest.
$ac_objext \
6034 conftest
$ac_exeext conftest.
$ac_ext
6036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6038 if test `eval echo '${'$as_ac_var'}'` = yes; then
6039 cat >>confdefs.h
<<_ACEOF
6040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6045 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6046 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6047 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 ac_check_lib_save_LIBS
=$LIBS
6052 cat >conftest.
$ac_ext <<_ACEOF
6055 cat confdefs.h
>>conftest.
$ac_ext
6056 cat >>conftest.
$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6059 /* Override any gcc2 internal prototype to avoid an error. */
6063 /* We use char because int might match the return type of a gcc2
6064 builtin and then its argument prototype would still apply. */
6074 rm -f conftest.
$ac_objext conftest
$ac_exeext
6075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6076 (eval $ac_link) 2>conftest.er1
6078 grep -v '^ *+' conftest.er1
>conftest.err
6080 cat conftest.err
>&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try
='test -s conftest$ac_exeext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 ac_cv_lib_w_iswalnum
=yes
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.
$ac_ext >&5
6100 ac_cv_lib_w_iswalnum
=no
6102 rm -f conftest.err conftest.
$ac_objext \
6103 conftest
$ac_exeext conftest.
$ac_ext
6104 LIBS
=$ac_check_lib_save_LIBS
6106 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6107 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6108 if test $ac_cv_lib_w_iswalnum = yes; then
6109 cat >>confdefs.h
<<_ACEOF
6121 for ac_func
in gethostbyname
6123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6124 echo "$as_me:$LINENO: checking for $ac_func" >&5
6125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6126 if eval "test \"\${$as_ac_var+set}\" = set"; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 cat >conftest.
$ac_ext <<_ACEOF
6132 cat confdefs.h
>>conftest.
$ac_ext
6133 cat >>conftest.
$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6137 #define $ac_func innocuous_$ac_func
6139 /* System header to define __stub macros and hopefully few prototypes,
6140 which can conflict with char $ac_func (); below.
6141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6142 <limits.h> exists even on freestanding compilers. */
6145 # include <limits.h>
6147 # include <assert.h>
6152 /* Override any gcc2 internal prototype to avoid an error. */
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6160 /* The GNU C library defines this for functions which it implements
6161 to always fail with ENOSYS. Some functions are actually named
6162 something starting with __ and the normal name is an alias. */
6163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6166 char (*f) () = $ac_func;
6175 return f != $ac_func;
6180 rm -f conftest.
$ac_objext conftest
$ac_exeext
6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6182 (eval $ac_link) 2>conftest.er1
6184 grep -v '^ *+' conftest.er1
>conftest.err
6186 cat conftest.err
>&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } &&
6189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); }; } &&
6195 { ac_try
='test -s conftest$ac_exeext'
6196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); }; }; then
6201 eval "$as_ac_var=yes"
6203 echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.
$ac_ext >&5
6206 eval "$as_ac_var=no"
6208 rm -f conftest.err conftest.
$ac_objext \
6209 conftest
$ac_exeext conftest.
$ac_ext
6211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6213 if test `eval echo '${'$as_ac_var'}'` = yes; then
6214 cat >>confdefs.h
<<_ACEOF
6215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6220 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6221 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6222 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 ac_check_lib_save_LIBS
=$LIBS
6227 cat >conftest.
$ac_ext <<_ACEOF
6230 cat confdefs.h
>>conftest.
$ac_ext
6231 cat >>conftest.
$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6234 /* Override any gcc2 internal prototype to avoid an error. */
6238 /* We use char because int might match the return type of a gcc2
6239 builtin and then its argument prototype would still apply. */
6240 char gethostbyname ();
6249 rm -f conftest.
$ac_objext conftest
$ac_exeext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6251 (eval $ac_link) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1
>conftest.err
6255 cat conftest.err
>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try
='test -s conftest$ac_exeext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 ac_cv_lib_nsl_gethostbyname
=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.
$ac_ext >&5
6275 ac_cv_lib_nsl_gethostbyname
=no
6277 rm -f conftest.err conftest.
$ac_objext \
6278 conftest
$ac_exeext conftest.
$ac_ext
6279 LIBS
=$ac_check_lib_save_LIBS
6281 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6284 cat >>confdefs.h
<<_ACEOF
6285 #define HAVE_LIBNSL 1
6296 for ac_func
in connect
6298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6299 echo "$as_me:$LINENO: checking for $ac_func" >&5
6300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6301 if eval "test \"\${$as_ac_var+set}\" = set"; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.
$ac_ext <<_ACEOF
6307 cat confdefs.h
>>conftest.
$ac_ext
6308 cat >>conftest.
$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6312 #define $ac_func innocuous_$ac_func
6314 /* System header to define __stub macros and hopefully few prototypes,
6315 which can conflict with char $ac_func (); below.
6316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 <limits.h> exists even on freestanding compilers. */
6320 # include <limits.h>
6322 # include <assert.h>
6327 /* Override any gcc2 internal prototype to avoid an error. */
6332 /* We use char because int might match the return type of a gcc2
6333 builtin and then its argument prototype would still apply. */
6335 /* The GNU C library defines this for functions which it implements
6336 to always fail with ENOSYS. Some functions are actually named
6337 something starting with __ and the normal name is an alias. */
6338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6341 char (*f) () = $ac_func;
6350 return f != $ac_func;
6355 rm -f conftest.
$ac_objext conftest
$ac_exeext
6356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6357 (eval $ac_link) 2>conftest.er1
6359 grep -v '^ *+' conftest.er1
>conftest.err
6361 cat conftest.err
>&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } &&
6364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; } &&
6370 { ac_try
='test -s conftest$ac_exeext'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then
6376 eval "$as_ac_var=yes"
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.
$ac_ext >&5
6381 eval "$as_ac_var=no"
6383 rm -f conftest.err conftest.
$ac_objext \
6384 conftest
$ac_exeext conftest.
$ac_ext
6386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6388 if test `eval echo '${'$as_ac_var'}'` = yes; then
6389 cat >>confdefs.h
<<_ACEOF
6390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6395 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6396 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6397 if test "${ac_cv_lib_socket_connect+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 ac_check_lib_save_LIBS
=$LIBS
6401 LIBS
="-lsocket $LIBS"
6402 cat >conftest.
$ac_ext <<_ACEOF
6405 cat confdefs.h
>>conftest.
$ac_ext
6406 cat >>conftest.
$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6409 /* Override any gcc2 internal prototype to avoid an error. */
6413 /* We use char because int might match the return type of a gcc2
6414 builtin and then its argument prototype would still apply. */
6424 rm -f conftest.
$ac_objext conftest
$ac_exeext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6426 (eval $ac_link) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1
>conftest.err
6430 cat conftest.err
>&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } &&
6433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; } &&
6439 { ac_try
='test -s conftest$ac_exeext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_lib_socket_connect
=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.
$ac_ext >&5
6450 ac_cv_lib_socket_connect
=no
6452 rm -f conftest.err conftest.
$ac_objext \
6453 conftest
$ac_exeext conftest.
$ac_ext
6454 LIBS
=$ac_check_lib_save_LIBS
6456 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6457 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6458 if test $ac_cv_lib_socket_connect = yes; then
6459 cat >>confdefs.h
<<_ACEOF
6460 #define HAVE_LIBSOCKET 1
6463 LIBS
="-lsocket $LIBS"
6471 for ac_func
in inet_aton
6473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6474 echo "$as_me:$LINENO: checking for $ac_func" >&5
6475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6476 if eval "test \"\${$as_ac_var+set}\" = set"; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6487 #define $ac_func innocuous_$ac_func
6489 /* System header to define __stub macros and hopefully few prototypes,
6490 which can conflict with char $ac_func (); below.
6491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6492 <limits.h> exists even on freestanding compilers. */
6495 # include <limits.h>
6497 # include <assert.h>
6502 /* Override any gcc2 internal prototype to avoid an error. */
6507 /* We use char because int might match the return type of a gcc2
6508 builtin and then its argument prototype would still apply. */
6510 /* The GNU C library defines this for functions which it implements
6511 to always fail with ENOSYS. Some functions are actually named
6512 something starting with __ and the normal name is an alias. */
6513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6516 char (*f) () = $ac_func;
6525 return f != $ac_func;
6530 rm -f conftest.
$ac_objext conftest
$ac_exeext
6531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6532 (eval $ac_link) 2>conftest.er1
6534 grep -v '^ *+' conftest.er1
>conftest.err
6536 cat conftest.err
>&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try
='test -s conftest$ac_exeext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 eval "$as_ac_var=yes"
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6556 eval "$as_ac_var=no"
6558 rm -f conftest.err conftest.
$ac_objext \
6559 conftest
$ac_exeext conftest.
$ac_ext
6561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6563 if test `eval echo '${'$as_ac_var'}'` = yes; then
6564 cat >>confdefs.h
<<_ACEOF
6565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6570 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6571 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6572 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_check_lib_save_LIBS
=$LIBS
6576 LIBS
="-lresolv $LIBS"
6577 cat >conftest.
$ac_ext <<_ACEOF
6580 cat confdefs.h
>>conftest.
$ac_ext
6581 cat >>conftest.
$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6584 /* Override any gcc2 internal prototype to avoid an error. */
6588 /* We use char because int might match the return type of a gcc2
6589 builtin and then its argument prototype would still apply. */
6599 rm -f conftest.
$ac_objext conftest
$ac_exeext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6601 (eval $ac_link) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1
>conftest.err
6605 cat conftest.err
>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; } &&
6614 { ac_try
='test -s conftest$ac_exeext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 ac_cv_lib_resolv_inet_aton
=yes
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.
$ac_ext >&5
6625 ac_cv_lib_resolv_inet_aton
=no
6627 rm -f conftest.err conftest.
$ac_objext \
6628 conftest
$ac_exeext conftest.
$ac_ext
6629 LIBS
=$ac_check_lib_save_LIBS
6631 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6632 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6633 if test $ac_cv_lib_resolv_inet_aton = yes; then
6634 cat >>confdefs.h
<<_ACEOF
6635 #define HAVE_LIBRESOLV 1
6638 LIBS
="-lresolv $LIBS"
6646 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6647 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6648 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 ac_check_lib_save_LIBS
=$LIBS
6653 cat >conftest.
$ac_ext <<_ACEOF
6656 cat confdefs.h
>>conftest.
$ac_ext
6657 cat >>conftest.
$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6660 /* Override any gcc2 internal prototype to avoid an error. */
6664 /* We use char because int might match the return type of a gcc2
6665 builtin and then its argument prototype would still apply. */
6666 char _xpg4_setrunelocale ();
6670 _xpg4_setrunelocale ();
6675 rm -f conftest.
$ac_objext conftest
$ac_exeext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677 (eval $ac_link) 2>conftest.er1
6679 grep -v '^ *+' conftest.er1
>conftest.err
6681 cat conftest.err
>&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; } &&
6690 { ac_try
='test -s conftest$ac_exeext'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6696 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.
$ac_ext >&5
6701 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6703 rm -f conftest.err conftest.
$ac_objext \
6704 conftest
$ac_exeext conftest.
$ac_ext
6705 LIBS
=$ac_check_lib_save_LIBS
6707 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6708 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6709 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6710 cat >>confdefs.h
<<_ACEOF
6711 #define HAVE_LIBXPG4 1
6719 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6720 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6721 if test "${ac_cv_lib_poll_poll+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 ac_check_lib_save_LIBS
=$LIBS
6726 cat >conftest.
$ac_ext <<_ACEOF
6729 cat confdefs.h
>>conftest.
$ac_ext
6730 cat >>conftest.
$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6733 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6748 rm -f conftest.
$ac_objext conftest
$ac_exeext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6750 (eval $ac_link) 2>conftest.er1
6752 grep -v '^ *+' conftest.er1
>conftest.err
6754 cat conftest.err
>&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try
='test -s conftest$ac_exeext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_cv_lib_poll_poll
=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.
$ac_ext >&5
6774 ac_cv_lib_poll_poll
=no
6776 rm -f conftest.err conftest.
$ac_objext \
6777 conftest
$ac_exeext conftest.
$ac_ext
6778 LIBS
=$ac_check_lib_save_LIBS
6780 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6781 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6782 if test $ac_cv_lib_poll_poll = yes; then
6783 cat >>confdefs.h
<<_ACEOF
6784 #define HAVE_LIBPOLL 1
6792 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6793 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6794 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_check_lib_save_LIBS
=$LIBS
6798 LIBS
="-lresolv $LIBS"
6799 cat >conftest.
$ac_ext <<_ACEOF
6802 cat confdefs.h
>>conftest.
$ac_ext
6803 cat >>conftest.
$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6806 /* Override any gcc2 internal prototype to avoid an error. */
6810 /* We use char because int might match the return type of a gcc2
6811 builtin and then its argument prototype would still apply. */
6821 rm -f conftest.
$ac_objext conftest
$ac_exeext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6823 (eval $ac_link) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1
>conftest.err
6827 cat conftest.err
>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; } &&
6836 { ac_try
='test -s conftest$ac_exeext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_lib_resolv_res_9_init
=yes
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.
$ac_ext >&5
6847 ac_cv_lib_resolv_res_9_init
=no
6849 rm -f conftest.err conftest.
$ac_objext \
6850 conftest
$ac_exeext conftest.
$ac_ext
6851 LIBS
=$ac_check_lib_save_LIBS
6853 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6854 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6855 if test $ac_cv_lib_resolv_res_9_init = yes; then
6856 cat >>confdefs.h
<<_ACEOF
6857 #define HAVE_LIBRESOLV 1
6860 LIBS
="-lresolv $LIBS"
6864 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6865 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6866 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 ac_check_lib_save_LIBS
=$LIBS
6870 LIBS
="-lpthread $LIBS"
6871 cat >conftest.
$ac_ext <<_ACEOF
6874 cat confdefs.h
>>conftest.
$ac_ext
6875 cat >>conftest.
$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6878 /* Override any gcc2 internal prototype to avoid an error. */
6882 /* We use char because int might match the return type of a gcc2
6883 builtin and then its argument prototype would still apply. */
6884 char pthread_create ();
6893 rm -f conftest.
$ac_objext conftest
$ac_exeext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try
='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_lib_pthread_pthread_create
=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.
$ac_ext >&5
6919 ac_cv_lib_pthread_pthread_create
=no
6921 rm -f conftest.err conftest.
$ac_objext \
6922 conftest
$ac_exeext conftest.
$ac_ext
6923 LIBS
=$ac_check_lib_save_LIBS
6925 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6926 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6927 if test $ac_cv_lib_pthread_pthread_create = yes; then
6928 LIBPTHREAD
="-lpthread"
6944 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6945 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6946 if test "${ac_cv_header_stdc+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 cat >conftest.
$ac_ext <<_ACEOF
6952 cat confdefs.h
>>conftest.
$ac_ext
6953 cat >>conftest.
$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6968 rm -f conftest.
$ac_objext
6969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6970 (eval $ac_compile) 2>conftest.er1
6972 grep -v '^ *+' conftest.er1
>conftest.err
6974 cat conftest.err
>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try
='test -s conftest.$ac_objext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_header_stdc
=yes
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6994 ac_cv_header_stdc
=no
6996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6998 if test $ac_cv_header_stdc = yes; then
6999 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7000 cat >conftest.
$ac_ext <<_ACEOF
7003 cat confdefs.h
>>conftest.
$ac_ext
7004 cat >>conftest.
$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7010 $EGREP "memchr" >/dev
/null
2>&1; then
7013 ac_cv_header_stdc
=no
7019 if test $ac_cv_header_stdc = yes; then
7020 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7021 cat >conftest.
$ac_ext <<_ACEOF
7024 cat confdefs.h
>>conftest.
$ac_ext
7025 cat >>conftest.
$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7031 $EGREP "free" >/dev
/null
2>&1; then
7034 ac_cv_header_stdc
=no
7040 if test $ac_cv_header_stdc = yes; then
7041 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7042 if test "$cross_compiling" = yes; then
7045 cat >conftest.
$ac_ext <<_ACEOF
7048 cat confdefs.h
>>conftest.
$ac_ext
7049 cat >>conftest.
$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7052 #if ((' ' & 0x0FF) == 0x020)
7053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7056 # define ISLOWER(c) \
7057 (('a' <= (c) && (c) <= 'i') \
7058 || ('j' <= (c) && (c) <= 'r') \
7059 || ('s' <= (c) && (c) <= 'z'))
7060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7068 for (i = 0; i < 256; i++)
7069 if (XOR (islower (i), ISLOWER (i))
7070 || toupper (i) != TOUPPER (i))
7075 rm -f conftest
$ac_exeext
7076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7077 (eval $ac_link) 2>&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7088 echo "$as_me: program exited with status $ac_status" >&5
7089 echo "$as_me: failed program was:" >&5
7090 sed 's/^/| /' conftest.
$ac_ext >&5
7093 ac_cv_header_stdc
=no
7095 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7099 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7100 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7101 if test $ac_cv_header_stdc = yes; then
7103 cat >>confdefs.h
<<\_ACEOF
7104 #define STDC_HEADERS 1
7109 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7119 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7120 inttypes.h stdint.h unistd.h
7122 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7123 echo "$as_me:$LINENO: checking for $ac_header" >&5
7124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7126 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 cat >conftest.
$ac_ext <<_ACEOF
7131 cat confdefs.h
>>conftest.
$ac_ext
7132 cat >>conftest.
$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 $ac_includes_default
7136 #include <$ac_header>
7138 rm -f conftest.
$ac_objext
7139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140 (eval $ac_compile) 2>conftest.er1
7142 grep -v '^ *+' conftest.er1
>conftest.err
7144 cat conftest.err
>&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; } &&
7153 { ac_try
='test -s conftest.$ac_objext'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); }; }; then
7159 eval "$as_ac_Header=yes"
7161 echo "$as_me: failed program was:" >&5
7162 sed 's/^/| /' conftest.
$ac_ext >&5
7164 eval "$as_ac_Header=no"
7166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7171 cat >>confdefs.h
<<_ACEOF
7172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7282 fontconfig
/fontconfig.h \
7307 netinet
/in_systm.h \
7373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7375 echo "$as_me:$LINENO: checking for $ac_header" >&5
7376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7383 # Is the header compilable?
7384 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7386 cat >conftest.
$ac_ext <<_ACEOF
7389 cat confdefs.h
>>conftest.
$ac_ext
7390 cat >>conftest.
$ac_ext <<_ACEOF
7391 /* end confdefs.h. */
7392 $ac_includes_default
7393 #include <$ac_header>
7395 rm -f conftest.
$ac_objext
7396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7397 (eval $ac_compile) 2>conftest.er1
7399 grep -v '^ *+' conftest.er1
>conftest.err
7401 cat conftest.err
>&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } &&
7404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; } &&
7410 { ac_try
='test -s conftest.$ac_objext'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7416 ac_header_compiler
=yes
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.
$ac_ext >&5
7421 ac_header_compiler
=no
7423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7425 echo "${ECHO_T}$ac_header_compiler" >&6
7427 # Is the header present?
7428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7430 cat >conftest.
$ac_ext <<_ACEOF
7433 cat confdefs.h
>>conftest.
$ac_ext
7434 cat >>conftest.
$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 #include <$ac_header>
7438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7441 grep -v '^ *+' conftest.er1
>conftest.err
7443 cat conftest.err
>&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } >/dev
/null
; then
7446 if test -s conftest.err
; then
7447 ac_cpp_err
=$ac_c_preproc_warn_flag
7448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7455 if test -z "$ac_cpp_err"; then
7456 ac_header_preproc
=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_header_preproc
=no
7463 rm -f conftest.err conftest.
$ac_ext
7464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7465 echo "${ECHO_T}$ac_header_preproc" >&6
7467 # So? What about this header?
7468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7474 ac_header_preproc
=yes
7477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7491 ## ------------------------------------ ##
7492 ## Report this to wine-devel@winehq.org ##
7493 ## ------------------------------------ ##
7496 sed "s/^/$as_me: WARNING: /" >&2
7499 echo "$as_me:$LINENO: checking for $ac_header" >&5
7500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 eval "$as_ac_Header=\$ac_header_preproc"
7506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7511 cat >>confdefs.h
<<_ACEOF
7512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7519 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7520 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7521 if test "${ac_cv_header_stat_broken+set}" = set; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7524 cat >conftest.
$ac_ext <<_ACEOF
7527 cat confdefs.h
>>conftest.
$ac_ext
7528 cat >>conftest.
$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 #include <sys/types.h>
7531 #include <sys/stat.h>
7533 #if defined(S_ISBLK) && defined(S_IFDIR)
7534 # if S_ISBLK (S_IFDIR)
7539 #if defined(S_ISBLK) && defined(S_IFCHR)
7540 # if S_ISBLK (S_IFCHR)
7545 #if defined(S_ISLNK) && defined(S_IFREG)
7546 # if S_ISLNK (S_IFREG)
7551 #if defined(S_ISSOCK) && defined(S_IFREG)
7552 # if S_ISSOCK (S_IFREG)
7558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7559 $EGREP "You lose" >/dev
/null
2>&1; then
7560 ac_cv_header_stat_broken
=yes
7562 ac_cv_header_stat_broken
=no
7567 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7568 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7569 if test $ac_cv_header_stat_broken = yes; then
7571 cat >>confdefs.h
<<\_ACEOF
7572 #define STAT_MACROS_BROKEN 1
7579 if test "$have_x" = "yes"
7582 ac_save_CPPFLAGS
="$CPPFLAGS"
7583 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7586 for ac_header
in X11
/Xlib.h
7588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7590 echo "$as_me:$LINENO: checking for $ac_header" >&5
7591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7598 # Is the header compilable?
7599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7601 cat >conftest.
$ac_ext <<_ACEOF
7604 cat confdefs.h
>>conftest.
$ac_ext
7605 cat >>conftest.
$ac_ext <<_ACEOF
7606 /* end confdefs.h. */
7607 $ac_includes_default
7608 #include <$ac_header>
7610 rm -f conftest.
$ac_objext
7611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7612 (eval $ac_compile) 2>conftest.er1
7614 grep -v '^ *+' conftest.er1
>conftest.err
7616 cat conftest.err
>&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } &&
7619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; } &&
7625 { ac_try
='test -s conftest.$ac_objext'
7626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); }; }; then
7631 ac_header_compiler
=yes
7633 echo "$as_me: failed program was:" >&5
7634 sed 's/^/| /' conftest.
$ac_ext >&5
7636 ac_header_compiler
=no
7638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7640 echo "${ECHO_T}$ac_header_compiler" >&6
7642 # Is the header present?
7643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7645 cat >conftest.
$ac_ext <<_ACEOF
7648 cat confdefs.h
>>conftest.
$ac_ext
7649 cat >>conftest.
$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 #include <$ac_header>
7653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } >/dev
/null
; then
7661 if test -s conftest.err
; then
7662 ac_cpp_err
=$ac_c_preproc_warn_flag
7663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7670 if test -z "$ac_cpp_err"; then
7671 ac_header_preproc
=yes
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.
$ac_ext >&5
7676 ac_header_preproc
=no
7678 rm -f conftest.err conftest.
$ac_ext
7679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7680 echo "${ECHO_T}$ac_header_preproc" >&6
7682 # So? What about this header?
7683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7689 ac_header_preproc
=yes
7692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7706 ## ------------------------------------ ##
7707 ## Report this to wine-devel@winehq.org ##
7708 ## ------------------------------------ ##
7711 sed "s/^/$as_me: WARNING: /" >&2
7714 echo "$as_me:$LINENO: checking for $ac_header" >&5
7715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 eval "$as_ac_Header=\$ac_header_preproc"
7721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7726 cat >>confdefs.h
<<_ACEOF
7727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 for ac_header
in X11
/XKBlib.h \
7742 X11
/extensions
/shape.h \
7743 X11
/extensions
/XInput.h \
7744 X11
/extensions
/XShm.h \
7745 X11
/extensions
/Xrandr.h \
7746 X11
/extensions
/Xrender.h \
7747 X11
/extensions
/Xvlib.h \
7748 X11
/extensions
/xf86dga.h \
7749 X11
/extensions
/xf86vmode.h
7751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7752 echo "$as_me:$LINENO: checking for $ac_header" >&5
7753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 cat >conftest.
$ac_ext <<_ACEOF
7760 cat confdefs.h
>>conftest.
$ac_ext
7761 cat >>conftest.
$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7763 #include <X11/Xlib.h>
7764 #ifdef HAVE_X11_XUTIL_H
7765 # include <X11/Xutil.h>
7768 #include <$ac_header>
7770 rm -f conftest.
$ac_objext
7771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7772 (eval $ac_compile) 2>conftest.er1
7774 grep -v '^ *+' conftest.er1
>conftest.err
7776 cat conftest.err
>&5
7777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } &&
7779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); }; } &&
7785 { ac_try
='test -s conftest.$ac_objext'
7786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); }; }; then
7791 eval "$as_ac_Header=yes"
7793 echo "$as_me: failed program was:" >&5
7794 sed 's/^/| /' conftest.
$ac_ext >&5
7796 eval "$as_ac_Header=no"
7798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7803 cat >>confdefs.h
<<_ACEOF
7804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7812 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7814 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7815 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7816 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 ac_check_lib_save_LIBS
=$LIBS
7820 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7821 cat >conftest.
$ac_ext <<_ACEOF
7824 cat confdefs.h
>>conftest.
$ac_ext
7825 cat >>conftest.
$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7828 /* Override any gcc2 internal prototype to avoid an error. */
7832 /* We use char because int might match the return type of a gcc2
7833 builtin and then its argument prototype would still apply. */
7834 char XkbQueryExtension ();
7838 XkbQueryExtension ();
7843 rm -f conftest.
$ac_objext conftest
$ac_exeext
7844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7845 (eval $ac_link) 2>conftest.er1
7847 grep -v '^ *+' conftest.er1
>conftest.err
7849 cat conftest.err
>&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } &&
7852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); }; } &&
7858 { ac_try
='test -s conftest$ac_exeext'
7859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); }; }; then
7864 ac_cv_lib_X11_XkbQueryExtension
=yes
7866 echo "$as_me: failed program was:" >&5
7867 sed 's/^/| /' conftest.
$ac_ext >&5
7869 ac_cv_lib_X11_XkbQueryExtension
=no
7871 rm -f conftest.err conftest.
$ac_objext \
7872 conftest
$ac_exeext conftest.
$ac_ext
7873 LIBS
=$ac_check_lib_save_LIBS
7875 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7876 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7877 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7879 cat >>confdefs.h
<<\_ACEOF
7887 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7889 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7890 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7891 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 ac_check_lib_save_LIBS
=$LIBS
7895 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7896 cat >conftest.
$ac_ext <<_ACEOF
7899 cat confdefs.h
>>conftest.
$ac_ext
7900 cat >>conftest.
$ac_ext <<_ACEOF
7901 /* end confdefs.h. */
7903 /* Override any gcc2 internal prototype to avoid an error. */
7907 /* We use char because int might match the return type of a gcc2
7908 builtin and then its argument prototype would still apply. */
7909 char XShmQueryExtension ();
7913 XShmQueryExtension ();
7918 rm -f conftest.
$ac_objext conftest
$ac_exeext
7919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7920 (eval $ac_link) 2>conftest.er1
7922 grep -v '^ *+' conftest.er1
>conftest.err
7924 cat conftest.err
>&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); } &&
7927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); }; } &&
7933 { ac_try
='test -s conftest$ac_exeext'
7934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); }; }; then
7939 ac_cv_lib_Xext_XShmQueryExtension
=yes
7941 echo "$as_me: failed program was:" >&5
7942 sed 's/^/| /' conftest.
$ac_ext >&5
7944 ac_cv_lib_Xext_XShmQueryExtension
=no
7946 rm -f conftest.err conftest.
$ac_objext \
7947 conftest
$ac_exeext conftest.
$ac_ext
7948 LIBS
=$ac_check_lib_save_LIBS
7950 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7951 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7952 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7954 cat >>confdefs.h
<<\_ACEOF
7955 #define HAVE_LIBXXSHM 1
7962 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7964 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7965 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7966 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 ac_check_lib_save_LIBS
=$LIBS
7970 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7971 cat >conftest.
$ac_ext <<_ACEOF
7974 cat confdefs.h
>>conftest.
$ac_ext
7975 cat >>conftest.
$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7978 /* Override any gcc2 internal prototype to avoid an error. */
7982 /* We use char because int might match the return type of a gcc2
7983 builtin and then its argument prototype would still apply. */
7984 char XShapeQueryExtension ();
7988 XShapeQueryExtension ();
7993 rm -f conftest.
$ac_objext conftest
$ac_exeext
7994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7995 (eval $ac_link) 2>conftest.er1
7997 grep -v '^ *+' conftest.er1
>conftest.err
7999 cat conftest.err
>&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); } &&
8002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; } &&
8008 { ac_try
='test -s conftest$ac_exeext'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; }; then
8014 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8016 echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.
$ac_ext >&5
8019 ac_cv_lib_Xext_XShapeQueryExtension
=no
8021 rm -f conftest.err conftest.
$ac_objext \
8022 conftest
$ac_exeext conftest.
$ac_ext
8023 LIBS
=$ac_check_lib_save_LIBS
8025 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8026 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8027 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8029 cat >>confdefs.h
<<\_ACEOF
8030 #define HAVE_LIBXSHAPE 1
8037 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8039 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8040 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8041 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8042 echo $ECHO_N "(cached) $ECHO_C" >&6
8044 ac_check_lib_save_LIBS
=$LIBS
8045 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8046 cat >conftest.
$ac_ext <<_ACEOF
8049 cat confdefs.h
>>conftest.
$ac_ext
8050 cat >>conftest.
$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8053 /* Override any gcc2 internal prototype to avoid an error. */
8057 /* We use char because int might match the return type of a gcc2
8058 builtin and then its argument prototype would still apply. */
8059 char XDGAQueryExtension ();
8063 XDGAQueryExtension ();
8068 rm -f conftest.
$ac_objext conftest
$ac_exeext
8069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8070 (eval $ac_link) 2>conftest.er1
8072 grep -v '^ *+' conftest.er1
>conftest.err
8074 cat conftest.err
>&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); } &&
8077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; } &&
8083 { ac_try
='test -s conftest$ac_exeext'
8084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); }; }; then
8089 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8091 echo "$as_me: failed program was:" >&5
8092 sed 's/^/| /' conftest.
$ac_ext >&5
8094 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8096 rm -f conftest.err conftest.
$ac_objext \
8097 conftest
$ac_exeext conftest.
$ac_ext
8098 LIBS
=$ac_check_lib_save_LIBS
8100 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8101 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8102 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8104 cat >>confdefs.h
<<\_ACEOF
8105 #define HAVE_LIBXXF86DGA2 1
8108 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8114 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8116 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8117 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8118 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8119 echo $ECHO_N "(cached) $ECHO_C" >&6
8121 ac_check_lib_save_LIBS
=$LIBS
8122 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8123 cat >conftest.
$ac_ext <<_ACEOF
8126 cat confdefs.h
>>conftest.
$ac_ext
8127 cat >>conftest.
$ac_ext <<_ACEOF
8128 /* end confdefs.h. */
8130 /* Override any gcc2 internal prototype to avoid an error. */
8134 /* We use char because int might match the return type of a gcc2
8135 builtin and then its argument prototype would still apply. */
8136 char XF86VidModeQueryExtension ();
8140 XF86VidModeQueryExtension ();
8145 rm -f conftest.
$ac_objext conftest
$ac_exeext
8146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8147 (eval $ac_link) 2>conftest.er1
8149 grep -v '^ *+' conftest.er1
>conftest.err
8151 cat conftest.err
>&5
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); } &&
8154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; } &&
8160 { ac_try
='test -s conftest$ac_exeext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8168 echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.
$ac_ext >&5
8171 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8173 rm -f conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8175 LIBS
=$ac_check_lib_save_LIBS
8177 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8178 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8179 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8181 cat >>confdefs.h
<<\_ACEOF
8182 #define HAVE_LIBXXF86VM 1
8185 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8191 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8193 cat >conftest.
$ac_ext <<_ACEOF
8196 cat confdefs.h
>>conftest.
$ac_ext
8197 cat >>conftest.
$ac_ext <<_ACEOF
8198 /* end confdefs.h. */
8199 #include <X11/Xlib.h>
8200 #include <X11/extensions/Xrandr.h>
8204 static typeof(XRRSetScreenConfigAndRate) * func;
8209 rm -f conftest.
$ac_objext
8210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8211 (eval $ac_compile) 2>conftest.er1
8213 grep -v '^ *+' conftest.er1
>conftest.err
8215 cat conftest.err
>&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } &&
8218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; } &&
8224 { ac_try
='test -s conftest.$ac_objext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); }; }; then
8231 cat >>confdefs.h
<<\_ACEOF
8232 #define HAVE_LIBXRANDR 1
8236 echo "$as_me: failed program was:" >&5
8237 sed 's/^/| /' conftest.
$ac_ext >&5
8240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8243 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8245 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8246 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8247 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 ac_check_lib_save_LIBS
=$LIBS
8251 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8252 cat >conftest.
$ac_ext <<_ACEOF
8255 cat confdefs.h
>>conftest.
$ac_ext
8256 cat >>conftest.
$ac_ext <<_ACEOF
8257 /* end confdefs.h. */
8259 /* Override any gcc2 internal prototype to avoid an error. */
8263 /* We use char because int might match the return type of a gcc2
8264 builtin and then its argument prototype would still apply. */
8265 char XvShmCreateImage ();
8269 XvShmCreateImage ();
8274 rm -f conftest.
$ac_objext conftest
$ac_exeext
8275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8276 (eval $ac_link) 2>conftest.er1
8278 grep -v '^ *+' conftest.er1
>conftest.err
8280 cat conftest.err
>&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } &&
8283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; } &&
8289 { ac_try
='test -s conftest$ac_exeext'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; }; then
8295 ac_cv_lib_Xv_XvShmCreateImage
=yes
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.
$ac_ext >&5
8300 ac_cv_lib_Xv_XvShmCreateImage
=no
8302 rm -f conftest.err conftest.
$ac_objext \
8303 conftest
$ac_exeext conftest.
$ac_ext
8304 LIBS
=$ac_check_lib_save_LIBS
8306 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8307 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8308 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8310 cat >>confdefs.h
<<\_ACEOF
8311 #define HAVE_XVIDEO 1
8314 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8320 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8322 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8323 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8324 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8325 echo $ECHO_N "(cached) $ECHO_C" >&6
8327 ac_check_lib_save_LIBS
=$LIBS
8328 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8329 cat >conftest.
$ac_ext <<_ACEOF
8332 cat confdefs.h
>>conftest.
$ac_ext
8333 cat >>conftest.
$ac_ext <<_ACEOF
8334 /* end confdefs.h. */
8336 /* Override any gcc2 internal prototype to avoid an error. */
8340 /* We use char because int might match the return type of a gcc2
8341 builtin and then its argument prototype would still apply. */
8342 char XRenderSetPictureTransform ();
8346 XRenderSetPictureTransform ();
8351 rm -f conftest.
$ac_objext conftest
$ac_exeext
8352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8353 (eval $ac_link) 2>conftest.er1
8355 grep -v '^ *+' conftest.er1
>conftest.err
8357 cat conftest.err
>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } &&
8360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; } &&
8366 { ac_try
='test -s conftest$ac_exeext'
8367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); }; }; then
8372 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8374 echo "$as_me: failed program was:" >&5
8375 sed 's/^/| /' conftest.
$ac_ext >&5
8377 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8379 rm -f conftest.err conftest.
$ac_objext \
8380 conftest
$ac_exeext conftest.
$ac_ext
8381 LIBS
=$ac_check_lib_save_LIBS
8383 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8384 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8385 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8387 cat >>confdefs.h
<<\_ACEOF
8388 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8400 if test "x$with_opengl" != "xno"
8402 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8404 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8405 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8406 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8407 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8408 { (exit 1); exit 1; }; }
8413 for ac_header
in GL
/gl.h GL
/glx.h
8415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8417 echo "$as_me:$LINENO: checking for $ac_header" >&5
8418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8425 # Is the header compilable?
8426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8428 cat >conftest.
$ac_ext <<_ACEOF
8431 cat confdefs.h
>>conftest.
$ac_ext
8432 cat >>conftest.
$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8434 $ac_includes_default
8435 #include <$ac_header>
8437 rm -f conftest.
$ac_objext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8439 (eval $ac_compile) 2>conftest.er1
8441 grep -v '^ *+' conftest.er1
>conftest.err
8443 cat conftest.err
>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); }; } &&
8452 { ac_try
='test -s conftest.$ac_objext'
8453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; }; then
8458 ac_header_compiler
=yes
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.
$ac_ext >&5
8463 ac_header_compiler
=no
8465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8467 echo "${ECHO_T}$ac_header_compiler" >&6
8469 # Is the header present?
8470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8472 cat >conftest.
$ac_ext <<_ACEOF
8475 cat confdefs.h
>>conftest.
$ac_ext
8476 cat >>conftest.
$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 #include <$ac_header>
8480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8481 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8483 grep -v '^ *+' conftest.er1
>conftest.err
8485 cat conftest.err
>&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } >/dev
/null
; then
8488 if test -s conftest.err
; then
8489 ac_cpp_err
=$ac_c_preproc_warn_flag
8490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8497 if test -z "$ac_cpp_err"; then
8498 ac_header_preproc
=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 ac_header_preproc
=no
8505 rm -f conftest.err conftest.
$ac_ext
8506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8507 echo "${ECHO_T}$ac_header_preproc" >&6
8509 # So? What about this header?
8510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8516 ac_header_preproc
=yes
8519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8533 ## ------------------------------------ ##
8534 ## Report this to wine-devel@winehq.org ##
8535 ## ------------------------------------ ##
8538 sed "s/^/$as_me: WARNING: /" >&2
8541 echo "$as_me:$LINENO: checking for $ac_header" >&5
8542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 eval "$as_ac_Header=\$ac_header_preproc"
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8553 cat >>confdefs.h
<<_ACEOF
8554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8561 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8564 for ac_header
in GL
/glext.h
8566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8567 echo "$as_me:$LINENO: checking for $ac_header" >&5
8568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8570 echo $ECHO_N "(cached) $ECHO_C" >&6
8572 cat >conftest.
$ac_ext <<_ACEOF
8575 cat confdefs.h
>>conftest.
$ac_ext
8576 cat >>conftest.
$ac_ext <<_ACEOF
8577 /* end confdefs.h. */
8580 #include <$ac_header>
8582 rm -f conftest.
$ac_objext
8583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8584 (eval $ac_compile) 2>conftest.er1
8586 grep -v '^ *+' conftest.er1
>conftest.err
8588 cat conftest.err
>&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); } &&
8591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); }; } &&
8597 { ac_try
='test -s conftest.$ac_objext'
8598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); }; }; then
8603 eval "$as_ac_Header=yes"
8605 echo "$as_me: failed program was:" >&5
8606 sed 's/^/| /' conftest.
$ac_ext >&5
8608 eval "$as_ac_Header=no"
8610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8615 cat >>confdefs.h
<<_ACEOF
8616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8623 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8624 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8625 if test "${wine_cv_opengl_version_OK+set}" = set; then
8626 echo $ECHO_N "(cached) $ECHO_C" >&6
8628 cat >conftest.
$ac_ext <<_ACEOF
8631 cat confdefs.h
>>conftest.
$ac_ext
8632 cat >>conftest.
$ac_ext <<_ACEOF
8633 /* end confdefs.h. */
8638 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8643 rm -f conftest.
$ac_objext
8644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8645 (eval $ac_compile) 2>conftest.er1
8647 grep -v '^ *+' conftest.er1
>conftest.err
8649 cat conftest.err
>&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } &&
8652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); }; } &&
8658 { ac_try
='test -s conftest.$ac_objext'
8659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); }; }; then
8664 wine_cv_opengl_version_OK
="yes"
8666 echo "$as_me: failed program was:" >&5
8667 sed 's/^/| /' conftest.
$ac_ext >&5
8669 wine_cv_opengl_version_OK
="no"
8672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8675 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8676 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8678 if test "$wine_cv_opengl_version_OK" = "yes"
8680 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8681 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8682 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 ac_check_lib_save_LIBS
=$LIBS
8686 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8687 cat >conftest.
$ac_ext <<_ACEOF
8690 cat confdefs.h
>>conftest.
$ac_ext
8691 cat >>conftest.
$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8694 /* Override any gcc2 internal prototype to avoid an error. */
8698 /* We use char because int might match the return type of a gcc2
8699 builtin and then its argument prototype would still apply. */
8700 char glXCreateContext ();
8704 glXCreateContext ();
8709 rm -f conftest.
$ac_objext conftest
$ac_exeext
8710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8711 (eval $ac_link) 2>conftest.er1
8713 grep -v '^ *+' conftest.er1
>conftest.err
8715 cat conftest.err
>&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } &&
8718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; } &&
8724 { ac_try
='test -s conftest$ac_exeext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8730 ac_cv_lib_GL_glXCreateContext
=yes
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.
$ac_ext >&5
8735 ac_cv_lib_GL_glXCreateContext
=no
8737 rm -f conftest.err conftest.
$ac_objext \
8738 conftest
$ac_exeext conftest.
$ac_ext
8739 LIBS
=$ac_check_lib_save_LIBS
8741 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8742 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8743 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8749 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8751 OPENGLFILES
='$(OPENGLFILES)'
8753 cat >>confdefs.h
<<\_ACEOF
8754 #define HAVE_OPENGL 1
8758 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8759 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8760 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 ac_check_lib_save_LIBS
=$LIBS
8764 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8765 cat >conftest.
$ac_ext <<_ACEOF
8768 cat confdefs.h
>>conftest.
$ac_ext
8769 cat >>conftest.
$ac_ext <<_ACEOF
8770 /* end confdefs.h. */
8772 /* Override any gcc2 internal prototype to avoid an error. */
8776 /* We use char because int might match the return type of a gcc2
8777 builtin and then its argument prototype would still apply. */
8778 char glXGetProcAddressARB ();
8782 glXGetProcAddressARB ();
8787 rm -f conftest.
$ac_objext conftest
$ac_exeext
8788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8789 (eval $ac_link) 2>conftest.er1
8791 grep -v '^ *+' conftest.er1
>conftest.err
8793 cat conftest.err
>&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } &&
8796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); }; } &&
8802 { ac_try
='test -s conftest$ac_exeext'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; }; then
8808 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.
$ac_ext >&5
8813 ac_cv_lib_GL_glXGetProcAddressARB
=no
8815 rm -f conftest.err conftest.
$ac_objext \
8816 conftest
$ac_exeext conftest.
$ac_ext
8817 LIBS
=$ac_check_lib_save_LIBS
8819 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8820 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8821 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8823 cat >>confdefs.h
<<\_ACEOF
8824 #define HAVE_GLX_GETPROCADDRESS 1
8830 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8832 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8833 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8834 if test "${wine_cv_extension_prototypes+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 cat >conftest.
$ac_ext <<_ACEOF
8840 cat confdefs.h
>>conftest.
$ac_ext
8841 cat >>conftest.
$ac_ext <<_ACEOF
8842 /* end confdefs.h. */
8844 #ifdef HAVE_GL_GLEXT_H
8845 # include <GL/glext.h>
8851 PFNGLCOLORTABLEEXTPROC test_proc;
8856 rm -f conftest.
$ac_objext
8857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8858 (eval $ac_compile) 2>conftest.er1
8860 grep -v '^ *+' conftest.er1
>conftest.err
8862 cat conftest.err
>&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } &&
8865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; } &&
8871 { ac_try
='test -s conftest.$ac_objext'
8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; }; then
8877 wine_cv_extension_prototypes
="yes"
8879 echo "$as_me: failed program was:" >&5
8880 sed 's/^/| /' conftest.
$ac_ext >&5
8882 wine_cv_extension_prototypes
="no"
8885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8888 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8889 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8890 if test "$wine_cv_extension_prototypes" = "yes"
8893 cat >>confdefs.h
<<\_ACEOF
8894 #define HAVE_GLEXT_PROTOTYPES 1
8901 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8902 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8903 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8906 ac_check_lib_save_LIBS
=$LIBS
8907 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8909 cat >conftest.
$ac_ext <<_ACEOF
8912 cat confdefs.h
>>conftest.
$ac_ext
8913 cat >>conftest.
$ac_ext <<_ACEOF
8914 /* end confdefs.h. */
8916 /* Override any gcc2 internal prototype to avoid an error. */
8920 /* We use char because int might match the return type of a gcc2
8921 builtin and then its argument prototype would still apply. */
8931 rm -f conftest.
$ac_objext conftest
$ac_exeext
8932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8933 (eval $ac_link) 2>conftest.er1
8935 grep -v '^ *+' conftest.er1
>conftest.err
8937 cat conftest.err
>&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; } &&
8946 { ac_try
='test -s conftest$ac_exeext'
8947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951 (exit $ac_status); }; }; then
8952 ac_cv_lib_GLU_gluLookAt
=yes
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.
$ac_ext >&5
8957 ac_cv_lib_GLU_gluLookAt
=no
8959 rm -f conftest.err conftest.
$ac_objext \
8960 conftest
$ac_exeext conftest.
$ac_ext
8961 LIBS
=$ac_check_lib_save_LIBS
8963 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8964 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8965 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8966 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8967 GLU32FILES
='$(GLU32FILES)'
8973 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8974 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8975 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 ac_check_lib_save_LIBS
=$LIBS
8979 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8980 cat >conftest.
$ac_ext <<_ACEOF
8983 cat confdefs.h
>>conftest.
$ac_ext
8984 cat >>conftest.
$ac_ext <<_ACEOF
8985 /* end confdefs.h. */
8987 /* Override any gcc2 internal prototype to avoid an error. */
8991 /* We use char because int might match the return type of a gcc2
8992 builtin and then its argument prototype would still apply. */
8993 char glutMainLoop ();
9002 rm -f conftest.
$ac_objext conftest
$ac_exeext
9003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9004 (eval $ac_link) 2>conftest.er1
9006 grep -v '^ *+' conftest.er1
>conftest.err
9008 cat conftest.err
>&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } &&
9011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); }; } &&
9017 { ac_try
='test -s conftest$ac_exeext'
9018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); }; }; then
9023 ac_cv_lib_glut_glutMainLoop
=yes
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.
$ac_ext >&5
9028 ac_cv_lib_glut_glutMainLoop
=no
9030 rm -f conftest.err conftest.
$ac_objext \
9031 conftest
$ac_exeext conftest.
$ac_ext
9032 LIBS
=$ac_check_lib_save_LIBS
9034 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9035 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9036 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9037 GLUT_LIBS
="-lglut -lXmu -lXi"
9039 GLUT32FILES
='$(GLUT32FILES)'
9049 for ac_header
in audio
/audiolib.h
9051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9053 echo "$as_me:$LINENO: checking for $ac_header" >&5
9054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9056 echo $ECHO_N "(cached) $ECHO_C" >&6
9058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9061 # Is the header compilable?
9062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9064 cat >conftest.
$ac_ext <<_ACEOF
9067 cat confdefs.h
>>conftest.
$ac_ext
9068 cat >>conftest.
$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9070 $ac_includes_default
9071 #include <$ac_header>
9073 rm -f conftest.
$ac_objext
9074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9075 (eval $ac_compile) 2>conftest.er1
9077 grep -v '^ *+' conftest.er1
>conftest.err
9079 cat conftest.err
>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); } &&
9082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); }; } &&
9088 { ac_try
='test -s conftest.$ac_objext'
9089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); }; }; then
9094 ac_header_compiler
=yes
9096 echo "$as_me: failed program was:" >&5
9097 sed 's/^/| /' conftest.
$ac_ext >&5
9099 ac_header_compiler
=no
9101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9102 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9103 echo "${ECHO_T}$ac_header_compiler" >&6
9105 # Is the header present?
9106 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9108 cat >conftest.
$ac_ext <<_ACEOF
9111 cat confdefs.h
>>conftest.
$ac_ext
9112 cat >>conftest.
$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9114 #include <$ac_header>
9116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9117 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9119 grep -v '^ *+' conftest.er1
>conftest.err
9121 cat conftest.err
>&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } >/dev
/null
; then
9124 if test -s conftest.err
; then
9125 ac_cpp_err
=$ac_c_preproc_warn_flag
9126 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9133 if test -z "$ac_cpp_err"; then
9134 ac_header_preproc
=yes
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.
$ac_ext >&5
9139 ac_header_preproc
=no
9141 rm -f conftest.err conftest.
$ac_ext
9142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9143 echo "${ECHO_T}$ac_header_preproc" >&6
9145 # So? What about this header?
9146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9151 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9152 ac_header_preproc
=yes
9155 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9156 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9158 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9160 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9161 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9162 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9165 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9166 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9169 ## ------------------------------------ ##
9170 ## Report this to wine-devel@winehq.org ##
9171 ## ------------------------------------ ##
9174 sed "s/^/$as_me: WARNING: /" >&2
9177 echo "$as_me:$LINENO: checking for $ac_header" >&5
9178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 eval "$as_ac_Header=\$ac_header_preproc"
9184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9189 cat >>confdefs.h
<<_ACEOF
9190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9193 for ac_header
in audio
/soundlib.h
9195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9196 echo "$as_me:$LINENO: checking for $ac_header" >&5
9197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 cat >conftest.
$ac_ext <<_ACEOF
9204 cat confdefs.h
>>conftest.
$ac_ext
9205 cat >>conftest.
$ac_ext <<_ACEOF
9206 /* end confdefs.h. */
9207 #include <audio/audiolib.h>
9209 #include <$ac_header>
9211 rm -f conftest.
$ac_objext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9213 (eval $ac_compile) 2>conftest.er1
9215 grep -v '^ *+' conftest.er1
>conftest.err
9217 cat conftest.err
>&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); }; } &&
9226 { ac_try
='test -s conftest.$ac_objext'
9227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; }; then
9232 eval "$as_ac_Header=yes"
9234 echo "$as_me: failed program was:" >&5
9235 sed 's/^/| /' conftest.
$ac_ext >&5
9237 eval "$as_ac_Header=no"
9239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9244 cat >>confdefs.h
<<_ACEOF
9245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9252 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9253 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9254 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 ac_check_lib_save_LIBS
=$LIBS
9258 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9259 cat >conftest.
$ac_ext <<_ACEOF
9262 cat confdefs.h
>>conftest.
$ac_ext
9263 cat >>conftest.
$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9266 /* Override any gcc2 internal prototype to avoid an error. */
9270 /* We use char because int might match the return type of a gcc2
9271 builtin and then its argument prototype would still apply. */
9272 char AuCreateFlow ();
9281 rm -f conftest.
$ac_objext conftest
$ac_exeext
9282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9283 (eval $ac_link) 2>conftest.er1
9285 grep -v '^ *+' conftest.er1
>conftest.err
9287 cat conftest.err
>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); } &&
9290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try
='test -s conftest$ac_exeext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_lib_audio_AuCreateFlow
=yes
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.
$ac_ext >&5
9307 ac_cv_lib_audio_AuCreateFlow
=no
9309 rm -f conftest.err conftest.
$ac_objext \
9310 conftest
$ac_exeext conftest.
$ac_ext
9311 LIBS
=$ac_check_lib_save_LIBS
9313 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9314 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9315 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9317 cat >>confdefs.h
<<\_ACEOF
9321 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9329 CPPFLAGS
="$ac_save_CPPFLAGS"
9338 if test "x$with_curses" != "xno"
9341 for ac_header
in ncurses.h
9343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9345 echo "$as_me:$LINENO: checking for $ac_header" >&5
9346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9353 # Is the header compilable?
9354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9356 cat >conftest.
$ac_ext <<_ACEOF
9359 cat confdefs.h
>>conftest.
$ac_ext
9360 cat >>conftest.
$ac_ext <<_ACEOF
9361 /* end confdefs.h. */
9362 $ac_includes_default
9363 #include <$ac_header>
9365 rm -f conftest.
$ac_objext
9366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9367 (eval $ac_compile) 2>conftest.er1
9369 grep -v '^ *+' conftest.er1
>conftest.err
9371 cat conftest.err
>&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); } &&
9374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); }; } &&
9380 { ac_try
='test -s conftest.$ac_objext'
9381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); }; }; then
9386 ac_header_compiler
=yes
9388 echo "$as_me: failed program was:" >&5
9389 sed 's/^/| /' conftest.
$ac_ext >&5
9391 ac_header_compiler
=no
9393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9395 echo "${ECHO_T}$ac_header_compiler" >&6
9397 # Is the header present?
9398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9400 cat >conftest.
$ac_ext <<_ACEOF
9403 cat confdefs.h
>>conftest.
$ac_ext
9404 cat >>conftest.
$ac_ext <<_ACEOF
9405 /* end confdefs.h. */
9406 #include <$ac_header>
9408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9411 grep -v '^ *+' conftest.er1
>conftest.err
9413 cat conftest.err
>&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } >/dev
/null
; then
9416 if test -s conftest.err
; then
9417 ac_cpp_err
=$ac_c_preproc_warn_flag
9418 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9425 if test -z "$ac_cpp_err"; then
9426 ac_header_preproc
=yes
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.
$ac_ext >&5
9431 ac_header_preproc
=no
9433 rm -f conftest.err conftest.
$ac_ext
9434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9435 echo "${ECHO_T}$ac_header_preproc" >&6
9437 # So? What about this header?
9438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9444 ac_header_preproc
=yes
9447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9461 ## ------------------------------------ ##
9462 ## Report this to wine-devel@winehq.org ##
9463 ## ------------------------------------ ##
9466 sed "s/^/$as_me: WARNING: /" >&2
9469 echo "$as_me:$LINENO: checking for $ac_header" >&5
9470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 eval "$as_ac_Header=\$ac_header_preproc"
9476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9481 cat >>confdefs.h
<<_ACEOF
9482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9484 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9485 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9486 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 ac_check_lib_save_LIBS
=$LIBS
9490 LIBS
="-lncurses $LIBS"
9491 cat >conftest.
$ac_ext <<_ACEOF
9494 cat confdefs.h
>>conftest.
$ac_ext
9495 cat >>conftest.
$ac_ext <<_ACEOF
9496 /* end confdefs.h. */
9498 /* Override any gcc2 internal prototype to avoid an error. */
9502 /* We use char because int might match the return type of a gcc2
9503 builtin and then its argument prototype would still apply. */
9513 rm -f conftest.
$ac_objext conftest
$ac_exeext
9514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9515 (eval $ac_link) 2>conftest.er1
9517 grep -v '^ *+' conftest.er1
>conftest.err
9519 cat conftest.err
>&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); } &&
9522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); }; } &&
9528 { ac_try
='test -s conftest$ac_exeext'
9529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); }; }; then
9534 ac_cv_lib_ncurses_waddch
=yes
9536 echo "$as_me: failed program was:" >&5
9537 sed 's/^/| /' conftest.
$ac_ext >&5
9539 ac_cv_lib_ncurses_waddch
=no
9541 rm -f conftest.err conftest.
$ac_objext \
9542 conftest
$ac_exeext conftest.
$ac_ext
9543 LIBS
=$ac_check_lib_save_LIBS
9545 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9546 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9547 if test $ac_cv_lib_ncurses_waddch = yes; then
9549 cat >>confdefs.h
<<\_ACEOF
9550 #define HAVE_LIBNCURSES 1
9553 CURSESLIBS
="-lncurses"
9556 for ac_header
in curses.h
9558 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9560 echo "$as_me:$LINENO: checking for $ac_header" >&5
9561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9568 # Is the header compilable?
9569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9571 cat >conftest.
$ac_ext <<_ACEOF
9574 cat confdefs.h
>>conftest.
$ac_ext
9575 cat >>conftest.
$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9577 $ac_includes_default
9578 #include <$ac_header>
9580 rm -f conftest.
$ac_objext
9581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9582 (eval $ac_compile) 2>conftest.er1
9584 grep -v '^ *+' conftest.er1
>conftest.err
9586 cat conftest.err
>&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); } &&
9589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); }; } &&
9595 { ac_try
='test -s conftest.$ac_objext'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; }; then
9601 ac_header_compiler
=yes
9603 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.
$ac_ext >&5
9606 ac_header_compiler
=no
9608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9610 echo "${ECHO_T}$ac_header_compiler" >&6
9612 # Is the header present?
9613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9615 cat >conftest.
$ac_ext <<_ACEOF
9618 cat confdefs.h
>>conftest.
$ac_ext
9619 cat >>conftest.
$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9621 #include <$ac_header>
9623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9626 grep -v '^ *+' conftest.er1
>conftest.err
9628 cat conftest.err
>&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); } >/dev
/null
; then
9631 if test -s conftest.err
; then
9632 ac_cpp_err
=$ac_c_preproc_warn_flag
9633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9640 if test -z "$ac_cpp_err"; then
9641 ac_header_preproc
=yes
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.
$ac_ext >&5
9646 ac_header_preproc
=no
9648 rm -f conftest.err conftest.
$ac_ext
9649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9650 echo "${ECHO_T}$ac_header_preproc" >&6
9652 # So? What about this header?
9653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9659 ac_header_preproc
=yes
9662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9676 ## ------------------------------------ ##
9677 ## Report this to wine-devel@winehq.org ##
9678 ## ------------------------------------ ##
9681 sed "s/^/$as_me: WARNING: /" >&2
9684 echo "$as_me:$LINENO: checking for $ac_header" >&5
9685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 eval "$as_ac_Header=\$ac_header_preproc"
9691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9696 cat >>confdefs.h
<<_ACEOF
9697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9699 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9700 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9701 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9702 echo $ECHO_N "(cached) $ECHO_C" >&6
9704 ac_check_lib_save_LIBS
=$LIBS
9705 LIBS
="-lcurses $LIBS"
9706 cat >conftest.
$ac_ext <<_ACEOF
9709 cat confdefs.h
>>conftest.
$ac_ext
9710 cat >>conftest.
$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9713 /* Override any gcc2 internal prototype to avoid an error. */
9717 /* We use char because int might match the return type of a gcc2
9718 builtin and then its argument prototype would still apply. */
9728 rm -f conftest.
$ac_objext conftest
$ac_exeext
9729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9730 (eval $ac_link) 2>conftest.er1
9732 grep -v '^ *+' conftest.er1
>conftest.err
9734 cat conftest.err
>&5
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); } &&
9737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; } &&
9743 { ac_try
='test -s conftest$ac_exeext'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; }; then
9749 ac_cv_lib_curses_waddch
=yes
9751 echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.
$ac_ext >&5
9754 ac_cv_lib_curses_waddch
=no
9756 rm -f conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 LIBS
=$ac_check_lib_save_LIBS
9760 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9761 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9762 if test $ac_cv_lib_curses_waddch = yes; then
9764 cat >>confdefs.h
<<\_ACEOF
9765 #define HAVE_LIBCURSES 1
9768 CURSESLIBS
="-lcurses"
9782 LIBS
="$CURSESLIBS $LIBS"
9785 for ac_func
in getbkgd resizeterm
9787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9788 echo "$as_me:$LINENO: checking for $ac_func" >&5
9789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9790 if eval "test \"\${$as_ac_var+set}\" = set"; then
9791 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 cat >conftest.
$ac_ext <<_ACEOF
9796 cat confdefs.h
>>conftest.
$ac_ext
9797 cat >>conftest.
$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9801 #define $ac_func innocuous_$ac_func
9803 /* System header to define __stub macros and hopefully few prototypes,
9804 which can conflict with char $ac_func (); below.
9805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9806 <limits.h> exists even on freestanding compilers. */
9809 # include <limits.h>
9811 # include <assert.h>
9816 /* Override any gcc2 internal prototype to avoid an error. */
9821 /* We use char because int might match the return type of a gcc2
9822 builtin and then its argument prototype would still apply. */
9824 /* The GNU C library defines this for functions which it implements
9825 to always fail with ENOSYS. Some functions are actually named
9826 something starting with __ and the normal name is an alias. */
9827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9830 char (*f) () = $ac_func;
9839 return f != $ac_func;
9844 rm -f conftest.
$ac_objext conftest
$ac_exeext
9845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9846 (eval $ac_link) 2>conftest.er1
9848 grep -v '^ *+' conftest.er1
>conftest.err
9850 cat conftest.err
>&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } &&
9853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; } &&
9859 { ac_try
='test -s conftest$ac_exeext'
9860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); }; }; then
9865 eval "$as_ac_var=yes"
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.
$ac_ext >&5
9870 eval "$as_ac_var=no"
9872 rm -f conftest.err conftest.
$ac_objext \
9873 conftest
$ac_exeext conftest.
$ac_ext
9875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9877 if test `eval echo '${'$as_ac_var'}'` = yes; then
9878 cat >>confdefs.h
<<_ACEOF
9879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9889 # Extract the first word of "sane-config", so it can be a program name with args.
9890 set dummy sane-config
; ac_word
=$2
9891 echo "$as_me:$LINENO: checking for $ac_word" >&5
9892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9893 if test "${ac_cv_prog_sane_devel+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 if test -n "$sane_devel"; then
9897 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir
=.
9904 for ac_exec_ext
in '' $ac_executable_extensions; do
9905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9906 ac_cv_prog_sane_devel
="sane-config"
9907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9913 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9916 sane_devel
=$ac_cv_prog_sane_devel
9917 if test -n "$sane_devel"; then
9918 echo "$as_me:$LINENO: result: $sane_devel" >&5
9919 echo "${ECHO_T}$sane_devel" >&6
9921 echo "$as_me:$LINENO: result: no" >&5
9922 echo "${ECHO_T}no" >&6
9925 if test "$sane_devel" = "no"
9930 SANELIBS
="`$sane_devel --libs`"
9931 SANEINCL
="`$sane_devel --cflags`"
9932 ac_save_CPPFLAGS
="$CPPFLAGS"
9933 ac_save_LIBS
="$LIBS"
9934 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9935 LIBS
="$LIBS $SANELIBS"
9936 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9937 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9938 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9939 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9943 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9945 # Is the header compilable?
9946 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9947 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9948 cat >conftest.
$ac_ext <<_ACEOF
9951 cat confdefs.h
>>conftest.
$ac_ext
9952 cat >>conftest.
$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9954 $ac_includes_default
9955 #include <sane/sane.h>
9957 rm -f conftest.
$ac_objext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9959 (eval $ac_compile) 2>conftest.er1
9961 grep -v '^ *+' conftest.er1
>conftest.err
9963 cat conftest.err
>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }; } &&
9972 { ac_try
='test -s conftest.$ac_objext'
9973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }; }; then
9978 ac_header_compiler
=yes
9980 echo "$as_me: failed program was:" >&5
9981 sed 's/^/| /' conftest.
$ac_ext >&5
9983 ac_header_compiler
=no
9985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9987 echo "${ECHO_T}$ac_header_compiler" >&6
9989 # Is the header present?
9990 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9991 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9992 cat >conftest.
$ac_ext <<_ACEOF
9995 cat confdefs.h
>>conftest.
$ac_ext
9996 cat >>conftest.
$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9998 #include <sane/sane.h>
10000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10003 grep -v '^ *+' conftest.er1
>conftest.err
10005 cat conftest.err
>&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } >/dev
/null
; then
10008 if test -s conftest.err
; then
10009 ac_cpp_err
=$ac_c_preproc_warn_flag
10010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10017 if test -z "$ac_cpp_err"; then
10018 ac_header_preproc
=yes
10020 echo "$as_me: failed program was:" >&5
10021 sed 's/^/| /' conftest.
$ac_ext >&5
10023 ac_header_preproc
=no
10025 rm -f conftest.err conftest.
$ac_ext
10026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10027 echo "${ECHO_T}$ac_header_preproc" >&6
10029 # So? What about this header?
10030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10032 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10033 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10034 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10035 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10036 ac_header_preproc
=yes
10039 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10040 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10041 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10042 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10043 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10044 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10045 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10046 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10047 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10048 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10049 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10050 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10053 ## ------------------------------------ ##
10054 ## Report this to wine-devel@winehq.org ##
10055 ## ------------------------------------ ##
10058 sed "s/^/$as_me: WARNING: /" >&2
10061 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10062 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10063 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 ac_cv_header_sane_sane_h
=$ac_header_preproc
10068 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10069 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10072 if test $ac_cv_header_sane_sane_h = yes; then
10073 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10074 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10075 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10078 ac_check_lib_save_LIBS
=$LIBS
10079 LIBS
="-lsane $LIBS"
10080 cat >conftest.
$ac_ext <<_ACEOF
10083 cat confdefs.h
>>conftest.
$ac_ext
10084 cat >>conftest.
$ac_ext <<_ACEOF
10085 /* end confdefs.h. */
10087 /* Override any gcc2 internal prototype to avoid an error. */
10091 /* We use char because int might match the return type of a gcc2
10092 builtin and then its argument prototype would still apply. */
10102 rm -f conftest.
$ac_objext conftest
$ac_exeext
10103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10104 (eval $ac_link) 2>conftest.er1
10106 grep -v '^ *+' conftest.er1
>conftest.err
10108 cat conftest.err
>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); } &&
10111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; } &&
10117 { ac_try
='test -s conftest$ac_exeext'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then
10123 ac_cv_lib_sane_sane_open
=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.
$ac_ext >&5
10128 ac_cv_lib_sane_sane_open
=no
10130 rm -f conftest.err conftest.
$ac_objext \
10131 conftest
$ac_exeext conftest.
$ac_ext
10132 LIBS
=$ac_check_lib_save_LIBS
10134 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10135 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10136 if test $ac_cv_lib_sane_sane_open = yes; then
10138 cat >>confdefs.h
<<\_ACEOF
10139 #define HAVE_SANE 1
10153 LIBS
="$ac_save_LIBS"
10154 CPPFLAGS
="$ac_save_CPPFLAGS"
10160 for ac_header
in unicode
/ubidi.h
10162 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10164 echo "$as_me:$LINENO: checking for $ac_header" >&5
10165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10172 # Is the header compilable?
10173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10175 cat >conftest.
$ac_ext <<_ACEOF
10178 cat confdefs.h
>>conftest.
$ac_ext
10179 cat >>conftest.
$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10181 $ac_includes_default
10182 #include <$ac_header>
10184 rm -f conftest.
$ac_objext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10186 (eval $ac_compile) 2>conftest.er1
10188 grep -v '^ *+' conftest.er1
>conftest.err
10190 cat conftest.err
>&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; } &&
10199 { ac_try
='test -s conftest.$ac_objext'
10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 (eval $ac_try) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; }; then
10205 ac_header_compiler
=yes
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.
$ac_ext >&5
10210 ac_header_compiler
=no
10212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10214 echo "${ECHO_T}$ac_header_compiler" >&6
10216 # Is the header present?
10217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10219 cat >conftest.
$ac_ext <<_ACEOF
10222 cat confdefs.h
>>conftest.
$ac_ext
10223 cat >>conftest.
$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10225 #include <$ac_header>
10227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10230 grep -v '^ *+' conftest.er1
>conftest.err
10232 cat conftest.err
>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } >/dev
/null
; then
10235 if test -s conftest.err
; then
10236 ac_cpp_err
=$ac_c_preproc_warn_flag
10237 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10244 if test -z "$ac_cpp_err"; then
10245 ac_header_preproc
=yes
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.
$ac_ext >&5
10250 ac_header_preproc
=no
10252 rm -f conftest.err conftest.
$ac_ext
10253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10254 echo "${ECHO_T}$ac_header_preproc" >&6
10256 # So? What about this header?
10257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10263 ac_header_preproc
=yes
10266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10280 ## ------------------------------------ ##
10281 ## Report this to wine-devel@winehq.org ##
10282 ## ------------------------------------ ##
10285 sed "s/^/$as_me: WARNING: /" >&2
10288 echo "$as_me:$LINENO: checking for $ac_header" >&5
10289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 eval "$as_ac_Header=\$ac_header_preproc"
10295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10300 cat >>confdefs.h
<<_ACEOF
10301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10308 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10311 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10312 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10313 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10314 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10315 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10316 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10317 cat >conftest.
$ac_ext <<_ACEOF
10320 cat confdefs.h
>>conftest.
$ac_ext
10321 cat >>conftest.
$ac_ext <<_ACEOF
10322 /* end confdefs.h. */
10323 #include <unicode/ubidi.h>
10332 rm -f conftest.
$ac_objext conftest
$ac_exeext
10333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10334 (eval $ac_link) 2>conftest.er1
10336 grep -v '^ *+' conftest.er1
>conftest.err
10338 cat conftest.err
>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } &&
10341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; } &&
10347 { ac_try
='test -s conftest$ac_exeext'
10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349 (eval $ac_try) 2>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; }; then
10354 cat >>confdefs.h
<<\_ACEOF
10358 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10363 echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.
$ac_ext >&5
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10369 rm -f conftest.err conftest.
$ac_objext \
10370 conftest
$ac_exeext conftest.
$ac_ext
10374 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10375 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10376 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 ac_check_lib_save_LIBS
=$LIBS
10380 LIBS
="-lfreetype $X_LIBS $LIBS"
10381 cat >conftest.
$ac_ext <<_ACEOF
10384 cat confdefs.h
>>conftest.
$ac_ext
10385 cat >>conftest.
$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10388 /* Override any gcc2 internal prototype to avoid an error. */
10392 /* We use char because int might match the return type of a gcc2
10393 builtin and then its argument prototype would still apply. */
10394 char FT_Init_FreeType ();
10398 FT_Init_FreeType ();
10403 rm -f conftest.
$ac_objext conftest
$ac_exeext
10404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10405 (eval $ac_link) 2>conftest.er1
10407 grep -v '^ *+' conftest.er1
>conftest.err
10409 cat conftest.err
>&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } &&
10412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10414 (eval $ac_try) 2>&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); }; } &&
10418 { ac_try
='test -s conftest$ac_exeext'
10419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10420 (eval $ac_try) 2>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); }; }; then
10424 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10426 echo "$as_me: failed program was:" >&5
10427 sed 's/^/| /' conftest.
$ac_ext >&5
10429 ac_cv_lib_freetype_FT_Init_FreeType
=no
10431 rm -f conftest.err conftest.
$ac_objext \
10432 conftest
$ac_exeext conftest.
$ac_ext
10433 LIBS
=$ac_check_lib_save_LIBS
10435 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10436 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10437 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10443 if test "$ft_lib" = "no"
10447 wine_cv_msg_freetype
=no
10449 # Extract the first word of "freetype-config", so it can be a program name with args.
10450 set dummy freetype-config
; ac_word
=$2
10451 echo "$as_me:$LINENO: checking for $ac_word" >&5
10452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10453 if test "${ac_cv_prog_ft_devel+set}" = set; then
10454 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 if test -n "$ft_devel"; then
10457 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10460 for as_dir
in $PATH
10463 test -z "$as_dir" && as_dir
=.
10464 for ac_exec_ext
in '' $ac_executable_extensions; do
10465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10466 ac_cv_prog_ft_devel
="freetype-config"
10467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10473 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10476 ft_devel
=$ac_cv_prog_ft_devel
10477 if test -n "$ft_devel"; then
10478 echo "$as_me:$LINENO: result: $ft_devel" >&5
10479 echo "${ECHO_T}$ft_devel" >&6
10481 echo "$as_me:$LINENO: result: no" >&5
10482 echo "${ECHO_T}no" >&6
10485 if test "$ft_devel" = "no"
10487 # Extract the first word of "freetype2-config", so it can be a program name with args.
10488 set dummy freetype2-config
; ac_word
=$2
10489 echo "$as_me:$LINENO: checking for $ac_word" >&5
10490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10491 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10494 if test -n "$ft_devel2"; then
10495 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10498 for as_dir
in $PATH
10501 test -z "$as_dir" && as_dir
=.
10502 for ac_exec_ext
in '' $ac_executable_extensions; do
10503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10504 ac_cv_prog_ft_devel2
="freetype2-config"
10505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10511 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10514 ft_devel2
=$ac_cv_prog_ft_devel2
10515 if test -n "$ft_devel2"; then
10516 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10517 echo "${ECHO_T}$ft_devel2" >&6
10519 echo "$as_me:$LINENO: result: no" >&5
10520 echo "${ECHO_T}no" >&6
10523 if test "$ft_devel2" = "freetype2-config"
10525 ft_devel
=$ft_devel2
10528 if test "$ft_devel" = "no"
10532 wine_cv_msg_freetype
=yes
10534 FREETYPELIBS
=`$ft_devel --libs`
10535 FREETYPEINCL
=`$ft_devel --cflags`
10536 ac_save_CPPFLAGS
="$CPPFLAGS"
10537 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10548 for ac_header
in ft2build.h \
10549 freetype
/freetype.h \
10550 freetype
/ftglyph.h \
10551 freetype
/tttables.h \
10552 freetype
/ftnames.h \
10553 freetype
/ftsnames.h \
10554 freetype
/ttnameid.h \
10555 freetype
/ftoutln.h \
10556 freetype
/ftwinfnt.h \
10557 freetype
/internal
/sfnt.h
10559 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10560 echo "$as_me:$LINENO: checking for $ac_header" >&5
10561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
10565 cat >conftest.
$ac_ext <<_ACEOF
10568 cat confdefs.h
>>conftest.
$ac_ext
10569 cat >>conftest.
$ac_ext <<_ACEOF
10570 /* end confdefs.h. */
10571 #if HAVE_FT2BUILD_H
10572 #include <ft2build.h>
10575 #include <$ac_header>
10577 rm -f conftest.
$ac_objext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10579 (eval $ac_compile) 2>conftest.er1
10581 grep -v '^ *+' conftest.er1
>conftest.err
10583 cat conftest.err
>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); } &&
10586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; } &&
10592 { ac_try
='test -s conftest.$ac_objext'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; }; then
10598 eval "$as_ac_Header=yes"
10600 echo "$as_me: failed program was:" >&5
10601 sed 's/^/| /' conftest.
$ac_ext >&5
10603 eval "$as_ac_Header=no"
10605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10610 cat >>confdefs.h
<<_ACEOF
10611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10618 cat >conftest.
$ac_ext <<_ACEOF
10621 cat confdefs.h
>>conftest.
$ac_ext
10622 cat >>conftest.
$ac_ext <<_ACEOF
10623 /* end confdefs.h. */
10624 #include <ft2build.h>
10625 #include <freetype/fttrigon.h>
10627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10628 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10630 grep -v '^ *+' conftest.er1
>conftest.err
10632 cat conftest.err
>&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); } >/dev
/null
; then
10635 if test -s conftest.err
; then
10636 ac_cpp_err
=$ac_c_preproc_warn_flag
10637 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10644 if test -z "$ac_cpp_err"; then
10646 cat >>confdefs.h
<<\_ACEOF
10647 #define HAVE_FREETYPE_FTTRIGON_H 1
10650 wine_cv_fttrigon
=yes
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.
$ac_ext >&5
10655 wine_cv_fttrigon
=no
10657 rm -f conftest.err conftest.
$ac_ext
10658 CPPFLAGS
="$ac_save_CPPFLAGS"
10659 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10662 cat >>confdefs.h
<<\_ACEOF
10663 #define HAVE_FREETYPE 1
10666 wine_cv_msg_freetype
=no
10670 wine_cv_msg_freetype
=yes
10677 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10679 FONTSSUBDIRS
="fonts"
10683 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10684 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10685 if test "${ac_cv_c_ppdev+set}" = set; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 cat >conftest.
$ac_ext <<_ACEOF
10691 cat confdefs.h
>>conftest.
$ac_ext
10692 cat >>conftest.
$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10694 #include <linux/ppdev.h>
10698 ioctl (1,PPCLAIM,0)
10703 rm -f conftest.
$ac_objext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10705 (eval $ac_compile) 2>conftest.er1
10707 grep -v '^ *+' conftest.er1
>conftest.err
10709 cat conftest.err
>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } &&
10712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714 (eval $ac_try) 2>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; } &&
10718 { ac_try
='test -s conftest.$ac_objext'
10719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10720 (eval $ac_try) 2>&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); }; }; then
10724 ac_cv_c_ppdev
="yes"
10726 echo "$as_me: failed program was:" >&5
10727 sed 's/^/| /' conftest.
$ac_ext >&5
10731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10734 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10735 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10736 if test "$ac_cv_c_ppdev" = "yes"
10739 cat >>confdefs.h
<<\_ACEOF
10740 #define HAVE_PPDEV 1
10745 echo "$as_me:$LINENO: checking for va_copy" >&5
10746 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10747 if test "${ac_cv_c_va_copy+set}" = set; then
10748 echo $ECHO_N "(cached) $ECHO_C" >&6
10750 cat >conftest.
$ac_ext <<_ACEOF
10753 cat confdefs.h
>>conftest.
$ac_ext
10754 cat >>conftest.
$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #include <stdarg.h>
10767 rm -f conftest.
$ac_objext conftest
$ac_exeext
10768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10769 (eval $ac_link) 2>conftest.er1
10771 grep -v '^ *+' conftest.er1
>conftest.err
10773 cat conftest.err
>&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); } &&
10776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10778 (eval $ac_try) 2>&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); }; } &&
10782 { ac_try
='test -s conftest$ac_exeext'
10783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10784 (eval $ac_try) 2>&5
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); }; }; then
10788 ac_cv_c_va_copy
="yes"
10790 echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.
$ac_ext >&5
10793 ac_cv_c_va_copy
="no"
10795 rm -f conftest.err conftest.
$ac_objext \
10796 conftest
$ac_exeext conftest.
$ac_ext
10799 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10800 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10801 if test "$ac_cv_c_va_copy" = "yes"
10804 cat >>confdefs.h
<<\_ACEOF
10805 #define HAVE_VA_COPY 1
10809 echo "$as_me:$LINENO: checking for __va_copy" >&5
10810 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10811 if test "${ac_cv_c___va_copy+set}" = set; then
10812 echo $ECHO_N "(cached) $ECHO_C" >&6
10814 cat >conftest.
$ac_ext <<_ACEOF
10817 cat confdefs.h
>>conftest.
$ac_ext
10818 cat >>conftest.
$ac_ext <<_ACEOF
10819 /* end confdefs.h. */
10820 #include <stdarg.h>
10825 __va_copy(ap1,ap2);
10831 rm -f conftest.
$ac_objext conftest
$ac_exeext
10832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10833 (eval $ac_link) 2>conftest.er1
10835 grep -v '^ *+' conftest.er1
>conftest.err
10837 cat conftest.err
>&5
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); } &&
10840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; } &&
10846 { ac_try
='test -s conftest$ac_exeext'
10847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10848 (eval $ac_try) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); }; }; then
10852 ac_cv_c___va_copy
="yes"
10854 echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.
$ac_ext >&5
10857 ac_cv_c___va_copy
="no"
10859 rm -f conftest.err conftest.
$ac_objext \
10860 conftest
$ac_exeext conftest.
$ac_ext
10863 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10864 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10865 if test "$ac_cv_c___va_copy" = "yes"
10868 cat >>confdefs.h
<<\_ACEOF
10869 #define HAVE___VA_COPY 1
10874 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10875 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10876 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10877 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 cat >conftest.
$ac_ext <<_ACEOF
10882 cat confdefs.h
>>conftest.
$ac_ext
10883 cat >>conftest.
$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10885 #include <setjmp.h>
10890 sigsetjmp( buf, 1 );
10891 siglongjmp( buf, 1 );
10896 rm -f conftest.
$ac_objext conftest
$ac_exeext
10897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10898 (eval $ac_link) 2>conftest.er1
10900 grep -v '^ *+' conftest.er1
>conftest.err
10902 cat conftest.err
>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); } &&
10905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907 (eval $ac_try) 2>&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); }; } &&
10911 { ac_try
='test -s conftest$ac_exeext'
10912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913 (eval $ac_try) 2>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }; }; then
10917 ac_cv_c_sigsetjmp
="yes"
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.
$ac_ext >&5
10922 ac_cv_c_sigsetjmp
="no"
10924 rm -f conftest.err conftest.
$ac_objext \
10925 conftest
$ac_exeext conftest.
$ac_ext
10928 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10929 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10930 if test "$ac_cv_c_sigsetjmp" = "yes"
10933 cat >>confdefs.h
<<\_ACEOF
10934 #define HAVE_SIGSETJMP 1
10939 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10940 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10941 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 cat >conftest.
$ac_ext <<_ACEOF
10947 cat confdefs.h
>>conftest.
$ac_ext
10948 cat >>conftest.
$ac_ext <<_ACEOF
10949 /* end confdefs.h. */
10950 #define _GNU_SOURCE
10951 #include <pthread.h>
10956 if ((pthread_rwlock_t *) 0)
10958 if (sizeof (pthread_rwlock_t))
10964 rm -f conftest.
$ac_objext
10965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10966 (eval $ac_compile) 2>conftest.er1
10968 grep -v '^ *+' conftest.er1
>conftest.err
10970 cat conftest.err
>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } &&
10973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; } &&
10979 { ac_try
='test -s conftest.$ac_objext'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; }; then
10985 ac_cv_type_pthread_rwlock_t
=yes
10987 echo "$as_me: failed program was:" >&5
10988 sed 's/^/| /' conftest.
$ac_ext >&5
10990 ac_cv_type_pthread_rwlock_t
=no
10992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10994 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10995 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10996 if test $ac_cv_type_pthread_rwlock_t = yes; then
10998 cat >>confdefs.h
<<_ACEOF
10999 #define HAVE_PTHREAD_RWLOCK_T 1
11004 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11005 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11006 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 cat >conftest.
$ac_ext <<_ACEOF
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #define _GNU_SOURCE
11016 #include <pthread.h>
11021 if ((pthread_rwlockattr_t *) 0)
11023 if (sizeof (pthread_rwlockattr_t))
11029 rm -f conftest.
$ac_objext
11030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11031 (eval $ac_compile) 2>conftest.er1
11033 grep -v '^ *+' conftest.er1
>conftest.err
11035 cat conftest.err
>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); } &&
11038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; } &&
11044 { ac_try
='test -s conftest.$ac_objext'
11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11046 (eval $ac_try) 2>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); }; }; then
11050 ac_cv_type_pthread_rwlockattr_t
=yes
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.
$ac_ext >&5
11055 ac_cv_type_pthread_rwlockattr_t
=no
11057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11059 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11060 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11061 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11063 cat >>confdefs.h
<<_ACEOF
11064 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11071 ac_save_LIBS
="$LIBS"
11072 LIBS
="$LIBS $LIBPTHREAD"
11077 pthread_getattr_np \
11078 pthread_get_stackaddr_np \
11079 pthread_get_stacksize_np \
11082 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11083 echo "$as_me:$LINENO: checking for $ac_func" >&5
11084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11085 if eval "test \"\${$as_ac_var+set}\" = set"; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 cat >conftest.
$ac_ext <<_ACEOF
11091 cat confdefs.h
>>conftest.
$ac_ext
11092 cat >>conftest.
$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11096 #define $ac_func innocuous_$ac_func
11098 /* System header to define __stub macros and hopefully few prototypes,
11099 which can conflict with char $ac_func (); below.
11100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11101 <limits.h> exists even on freestanding compilers. */
11104 # include <limits.h>
11106 # include <assert.h>
11111 /* Override any gcc2 internal prototype to avoid an error. */
11116 /* We use char because int might match the return type of a gcc2
11117 builtin and then its argument prototype would still apply. */
11119 /* The GNU C library defines this for functions which it implements
11120 to always fail with ENOSYS. Some functions are actually named
11121 something starting with __ and the normal name is an alias. */
11122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11125 char (*f) () = $ac_func;
11134 return f != $ac_func;
11139 rm -f conftest.
$ac_objext conftest
$ac_exeext
11140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11141 (eval $ac_link) 2>conftest.er1
11143 grep -v '^ *+' conftest.er1
>conftest.err
11145 cat conftest.err
>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } &&
11148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; } &&
11154 { ac_try
='test -s conftest$ac_exeext'
11155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11156 (eval $ac_try) 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; }; then
11160 eval "$as_ac_var=yes"
11162 echo "$as_me: failed program was:" >&5
11163 sed 's/^/| /' conftest.
$ac_ext >&5
11165 eval "$as_ac_var=no"
11167 rm -f conftest.err conftest.
$ac_objext \
11168 conftest
$ac_exeext conftest.
$ac_ext
11170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11172 if test `eval echo '${'$as_ac_var'}'` = yes; then
11173 cat >>confdefs.h
<<_ACEOF
11174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11180 LIBS
="$ac_save_LIBS"
11185 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
11187 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11189 echo "$as_me:$LINENO: checking for $ac_header" >&5
11190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11197 # Is the header compilable?
11198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11200 cat >conftest.
$ac_ext <<_ACEOF
11203 cat confdefs.h
>>conftest.
$ac_ext
11204 cat >>conftest.
$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 $ac_includes_default
11207 #include <$ac_header>
11209 rm -f conftest.
$ac_objext
11210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11211 (eval $ac_compile) 2>conftest.er1
11213 grep -v '^ *+' conftest.er1
>conftest.err
11215 cat conftest.err
>&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11220 (eval $ac_try) 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; } &&
11224 { ac_try
='test -s conftest.$ac_objext'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; }; then
11230 ac_header_compiler
=yes
11232 echo "$as_me: failed program was:" >&5
11233 sed 's/^/| /' conftest.
$ac_ext >&5
11235 ac_header_compiler
=no
11237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11239 echo "${ECHO_T}$ac_header_compiler" >&6
11241 # Is the header present?
11242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11244 cat >conftest.
$ac_ext <<_ACEOF
11247 cat confdefs.h
>>conftest.
$ac_ext
11248 cat >>conftest.
$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11250 #include <$ac_header>
11252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11255 grep -v '^ *+' conftest.er1
>conftest.err
11257 cat conftest.err
>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); } >/dev
/null
; then
11260 if test -s conftest.err
; then
11261 ac_cpp_err
=$ac_c_preproc_warn_flag
11262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11269 if test -z "$ac_cpp_err"; then
11270 ac_header_preproc
=yes
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.
$ac_ext >&5
11275 ac_header_preproc
=no
11277 rm -f conftest.err conftest.
$ac_ext
11278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11279 echo "${ECHO_T}$ac_header_preproc" >&6
11281 # So? What about this header?
11282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11288 ac_header_preproc
=yes
11291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11305 ## ------------------------------------ ##
11306 ## Report this to wine-devel@winehq.org ##
11307 ## ------------------------------------ ##
11310 sed "s/^/$as_me: WARNING: /" >&2
11313 echo "$as_me:$LINENO: checking for $ac_header" >&5
11314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11316 echo $ECHO_N "(cached) $ECHO_C" >&6
11318 eval "$as_ac_Header=\$ac_header_preproc"
11320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11325 cat >>confdefs.h
<<_ACEOF
11326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11334 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11335 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11336 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 cat >conftest.
$ac_ext <<_ACEOF
11342 cat confdefs.h
>>conftest.
$ac_ext
11343 cat >>conftest.
$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11346 #if defined(HAVE_SYS_SOUNDCARD_H)
11347 #include <sys/soundcard.h>
11348 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11349 #include <machine/soundcard.h>
11350 #elif defined(HAVE_SOUNDCARD_H)
11351 #include <soundcard.h>
11359 /* check for one of the Open Sound System specific SNDCTL_ defines */
11360 #if !defined(SNDCTL_DSP_STEREO)
11361 #error No open sound system
11368 rm -f conftest.
$ac_objext
11369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11370 (eval $ac_compile) 2>conftest.er1
11372 grep -v '^ *+' conftest.er1
>conftest.err
11374 cat conftest.err
>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } &&
11377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11379 (eval $ac_try) 2>&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); }; } &&
11383 { ac_try
='test -s conftest.$ac_objext'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; }; then
11389 ac_cv_c_opensoundsystem
="yes"
11391 echo "$as_me: failed program was:" >&5
11392 sed 's/^/| /' conftest.
$ac_ext >&5
11394 ac_cv_c_opensoundsystem
="no"
11396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11398 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11399 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11401 if test "$ac_cv_c_opensoundsystem" = "yes"
11404 cat >>confdefs.h
<<\_ACEOF
11410 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11411 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11412 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 cat >conftest.
$ac_ext <<_ACEOF
11418 cat confdefs.h
>>conftest.
$ac_ext
11419 cat >>conftest.
$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11422 #if defined(HAVE_SYS_SOUNDCARD_H)
11423 #include <sys/soundcard.h>
11424 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11425 #include <machine/soundcard.h>
11426 #elif defined(HAVE_SOUNDCARD_H)
11427 #include <soundcard.h>
11435 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11436 #if !defined(SNDCTL_SEQ_SYNC)
11437 #error No open sound system MIDI interface
11444 rm -f conftest.
$ac_objext
11445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11446 (eval $ac_compile) 2>conftest.er1
11448 grep -v '^ *+' conftest.er1
>conftest.err
11450 cat conftest.err
>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); } &&
11453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; } &&
11459 { ac_try
='test -s conftest.$ac_objext'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; }; then
11465 ac_cv_c_opensoundsystem_midi
="yes"
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.
$ac_ext >&5
11470 ac_cv_c_opensoundsystem_midi
="no"
11472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11474 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11475 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11477 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11480 cat >>confdefs.h
<<\_ACEOF
11481 #define HAVE_OSS_MIDI 1
11486 # Extract the first word of "artsc-config", so it can be a program name with args.
11487 set dummy artsc-config
; ac_word
=$2
11488 echo "$as_me:$LINENO: checking for $ac_word" >&5
11489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11490 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11491 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 case $ARTSCCONFIG in
11495 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11499 for as_dir
in $PATH
11502 test -z "$as_dir" && as_dir
=.
11503 for ac_exec_ext
in '' $ac_executable_extensions; do
11504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11505 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11515 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11517 if test -n "$ARTSCCONFIG"; then
11518 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11519 echo "${ECHO_T}$ARTSCCONFIG" >&6
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11525 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11528 for i
in `$ARTSCCONFIG --cflags`
11531 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11534 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11535 save_CFLAGS
="$CFLAGS"
11536 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11537 cat >conftest.
$ac_ext <<_ACEOF
11540 cat confdefs.h
>>conftest.
$ac_ext
11541 cat >>conftest.
$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11547 arts_stream_t stream;
11552 rm -f conftest.
$ac_objext
11553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11554 (eval $ac_compile) 2>conftest.er1
11556 grep -v '^ *+' conftest.er1
>conftest.err
11558 cat conftest.err
>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); } &&
11561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; } &&
11567 { ac_try
='test -s conftest.$ac_objext'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then
11573 ARTSLIBS
=$ARTSC_LIBS
11575 ARTSINCL
=$ARTSC_CFLAGS
11578 cat >>confdefs.h
<<\_ACEOF
11579 #define HAVE_ARTS 1
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.
$ac_ext >&5
11587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11588 CFLAGS
="$save_CFLAGS"
11595 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11599 echo "$as_me:$LINENO: checking for $ac_header" >&5
11600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11607 # Is the header compilable?
11608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11610 cat >conftest.
$ac_ext <<_ACEOF
11613 cat confdefs.h
>>conftest.
$ac_ext
11614 cat >>conftest.
$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11616 $ac_includes_default
11617 #include <$ac_header>
11619 rm -f conftest.
$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11623 grep -v '^ *+' conftest.er1
>conftest.err
11625 cat conftest.err
>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try
='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11640 ac_header_compiler
=yes
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.
$ac_ext >&5
11645 ac_header_compiler
=no
11647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11649 echo "${ECHO_T}$ac_header_compiler" >&6
11651 # Is the header present?
11652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11654 cat >conftest.
$ac_ext <<_ACEOF
11657 cat confdefs.h
>>conftest.
$ac_ext
11658 cat >>conftest.
$ac_ext <<_ACEOF
11659 /* end confdefs.h. */
11660 #include <$ac_header>
11662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11665 grep -v '^ *+' conftest.er1
>conftest.err
11667 cat conftest.err
>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } >/dev
/null
; then
11670 if test -s conftest.err
; then
11671 ac_cpp_err
=$ac_c_preproc_warn_flag
11672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11679 if test -z "$ac_cpp_err"; then
11680 ac_header_preproc
=yes
11682 echo "$as_me: failed program was:" >&5
11683 sed 's/^/| /' conftest.
$ac_ext >&5
11685 ac_header_preproc
=no
11687 rm -f conftest.err conftest.
$ac_ext
11688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11689 echo "${ECHO_T}$ac_header_preproc" >&6
11691 # So? What about this header?
11692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11698 ac_header_preproc
=yes
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11715 ## ------------------------------------ ##
11716 ## Report this to wine-devel@winehq.org ##
11717 ## ------------------------------------ ##
11720 sed "s/^/$as_me: WARNING: /" >&2
11723 echo "$as_me:$LINENO: checking for $ac_header" >&5
11724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11726 echo $ECHO_N "(cached) $ECHO_C" >&6
11728 eval "$as_ac_Header=\$ac_header_preproc"
11730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11735 cat >>confdefs.h
<<_ACEOF
11736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11743 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11745 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11746 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11747 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 ac_check_lib_save_LIBS
=$LIBS
11751 LIBS
="-lasound $LIBS"
11752 cat >conftest.
$ac_ext <<_ACEOF
11755 cat confdefs.h
>>conftest.
$ac_ext
11756 cat >>conftest.
$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11759 /* Override any gcc2 internal prototype to avoid an error. */
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11765 char snd_pcm_open ();
11774 rm -f conftest.
$ac_objext conftest
$ac_exeext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11776 (eval $ac_link) 2>conftest.er1
11778 grep -v '^ *+' conftest.er1
>conftest.err
11780 cat conftest.err
>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } &&
11783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11785 (eval $ac_try) 2>&5
11787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); }; } &&
11789 { ac_try
='test -s conftest$ac_exeext'
11790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791 (eval $ac_try) 2>&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); }; }; then
11795 ac_cv_lib_asound_snd_pcm_open
=yes
11797 echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.
$ac_ext >&5
11800 ac_cv_lib_asound_snd_pcm_open
=no
11802 rm -f conftest.err conftest.
$ac_objext \
11803 conftest
$ac_exeext conftest.
$ac_ext
11804 LIBS
=$ac_check_lib_save_LIBS
11806 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11807 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11808 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11810 cat >>confdefs.h
<<\_ACEOF
11811 #define HAVE_ALSA 1
11814 ALSALIBS
="-lasound"
11823 for ac_header
in libaudioio.h
11825 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11827 echo "$as_me:$LINENO: checking for $ac_header" >&5
11828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11830 echo $ECHO_N "(cached) $ECHO_C" >&6
11832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11835 # Is the header compilable?
11836 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11838 cat >conftest.
$ac_ext <<_ACEOF
11841 cat confdefs.h
>>conftest.
$ac_ext
11842 cat >>conftest.
$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844 $ac_includes_default
11845 #include <$ac_header>
11847 rm -f conftest.
$ac_objext
11848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11849 (eval $ac_compile) 2>conftest.er1
11851 grep -v '^ *+' conftest.er1
>conftest.err
11853 cat conftest.err
>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } &&
11856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; } &&
11862 { ac_try
='test -s conftest.$ac_objext'
11863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11864 (eval $ac_try) 2>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); }; }; then
11868 ac_header_compiler
=yes
11870 echo "$as_me: failed program was:" >&5
11871 sed 's/^/| /' conftest.
$ac_ext >&5
11873 ac_header_compiler
=no
11875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11877 echo "${ECHO_T}$ac_header_compiler" >&6
11879 # Is the header present?
11880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11882 cat >conftest.
$ac_ext <<_ACEOF
11885 cat confdefs.h
>>conftest.
$ac_ext
11886 cat >>conftest.
$ac_ext <<_ACEOF
11887 /* end confdefs.h. */
11888 #include <$ac_header>
11890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11893 grep -v '^ *+' conftest.er1
>conftest.err
11895 cat conftest.err
>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } >/dev
/null
; then
11898 if test -s conftest.err
; then
11899 ac_cpp_err
=$ac_c_preproc_warn_flag
11900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11907 if test -z "$ac_cpp_err"; then
11908 ac_header_preproc
=yes
11910 echo "$as_me: failed program was:" >&5
11911 sed 's/^/| /' conftest.
$ac_ext >&5
11913 ac_header_preproc
=no
11915 rm -f conftest.err conftest.
$ac_ext
11916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11917 echo "${ECHO_T}$ac_header_preproc" >&6
11919 # So? What about this header?
11920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11926 ac_header_preproc
=yes
11929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11943 ## ------------------------------------ ##
11944 ## Report this to wine-devel@winehq.org ##
11945 ## ------------------------------------ ##
11948 sed "s/^/$as_me: WARNING: /" >&2
11951 echo "$as_me:$LINENO: checking for $ac_header" >&5
11952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 eval "$as_ac_Header=\$ac_header_preproc"
11958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11963 cat >>confdefs.h
<<_ACEOF
11964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11966 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11967 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11968 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 ac_check_lib_save_LIBS
=$LIBS
11972 LIBS
="-laudioio $LIBS"
11973 cat >conftest.
$ac_ext <<_ACEOF
11976 cat confdefs.h
>>conftest.
$ac_ext
11977 cat >>conftest.
$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11980 /* Override any gcc2 internal prototype to avoid an error. */
11984 /* We use char because int might match the return type of a gcc2
11985 builtin and then its argument prototype would still apply. */
11986 char AudioIOGetVersion ();
11990 AudioIOGetVersion ();
11995 rm -f conftest.
$ac_objext conftest
$ac_exeext
11996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11997 (eval $ac_link) 2>conftest.er1
11999 grep -v '^ *+' conftest.er1
>conftest.err
12001 cat conftest.err
>&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); } &&
12004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; } &&
12010 { ac_try
='test -s conftest$ac_exeext'
12011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012 (eval $ac_try) 2>&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); }; }; then
12016 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.
$ac_ext >&5
12021 ac_cv_lib_audioio_AudioIOGetVersion
=no
12023 rm -f conftest.err conftest.
$ac_objext \
12024 conftest
$ac_exeext conftest.
$ac_ext
12025 LIBS
=$ac_check_lib_save_LIBS
12027 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12028 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12029 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12030 AUDIOIOLIBS
="-laudioio"
12032 cat >>confdefs.h
<<\_ACEOF
12033 #define HAVE_LIBAUDIOIO 1
12045 for ac_header
in capi20.h
12047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12049 echo "$as_me:$LINENO: checking for $ac_header" >&5
12050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12057 # Is the header compilable?
12058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12060 cat >conftest.
$ac_ext <<_ACEOF
12063 cat confdefs.h
>>conftest.
$ac_ext
12064 cat >>conftest.
$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12066 $ac_includes_default
12067 #include <$ac_header>
12069 rm -f conftest.
$ac_objext
12070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12071 (eval $ac_compile) 2>conftest.er1
12073 grep -v '^ *+' conftest.er1
>conftest.err
12075 cat conftest.err
>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } &&
12078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; } &&
12084 { ac_try
='test -s conftest.$ac_objext'
12085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12086 (eval $ac_try) 2>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; }; then
12090 ac_header_compiler
=yes
12092 echo "$as_me: failed program was:" >&5
12093 sed 's/^/| /' conftest.
$ac_ext >&5
12095 ac_header_compiler
=no
12097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12099 echo "${ECHO_T}$ac_header_compiler" >&6
12101 # Is the header present?
12102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12104 cat >conftest.
$ac_ext <<_ACEOF
12107 cat confdefs.h
>>conftest.
$ac_ext
12108 cat >>conftest.
$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12110 #include <$ac_header>
12112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12115 grep -v '^ *+' conftest.er1
>conftest.err
12117 cat conftest.err
>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } >/dev
/null
; then
12120 if test -s conftest.err
; then
12121 ac_cpp_err
=$ac_c_preproc_warn_flag
12122 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12129 if test -z "$ac_cpp_err"; then
12130 ac_header_preproc
=yes
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.
$ac_ext >&5
12135 ac_header_preproc
=no
12137 rm -f conftest.err conftest.
$ac_ext
12138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12139 echo "${ECHO_T}$ac_header_preproc" >&6
12141 # So? What about this header?
12142 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12148 ac_header_preproc
=yes
12151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12165 ## ------------------------------------ ##
12166 ## Report this to wine-devel@winehq.org ##
12167 ## ------------------------------------ ##
12170 sed "s/^/$as_me: WARNING: /" >&2
12173 echo "$as_me:$LINENO: checking for $ac_header" >&5
12174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12176 echo $ECHO_N "(cached) $ECHO_C" >&6
12178 eval "$as_ac_Header=\$ac_header_preproc"
12180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12185 cat >>confdefs.h
<<_ACEOF
12186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12190 for ac_header
in linux
/capi.h
12192 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12194 echo "$as_me:$LINENO: checking for $ac_header" >&5
12195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12202 # Is the header compilable?
12203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12205 cat >conftest.
$ac_ext <<_ACEOF
12208 cat confdefs.h
>>conftest.
$ac_ext
12209 cat >>conftest.
$ac_ext <<_ACEOF
12210 /* end confdefs.h. */
12211 $ac_includes_default
12212 #include <$ac_header>
12214 rm -f conftest.
$ac_objext
12215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12216 (eval $ac_compile) 2>conftest.er1
12218 grep -v '^ *+' conftest.er1
>conftest.err
12220 cat conftest.err
>&5
12221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } &&
12223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; } &&
12229 { ac_try
='test -s conftest.$ac_objext'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; }; then
12235 ac_header_compiler
=yes
12237 echo "$as_me: failed program was:" >&5
12238 sed 's/^/| /' conftest.
$ac_ext >&5
12240 ac_header_compiler
=no
12242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12244 echo "${ECHO_T}$ac_header_compiler" >&6
12246 # Is the header present?
12247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12249 cat >conftest.
$ac_ext <<_ACEOF
12252 cat confdefs.h
>>conftest.
$ac_ext
12253 cat >>conftest.
$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12255 #include <$ac_header>
12257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12260 grep -v '^ *+' conftest.er1
>conftest.err
12262 cat conftest.err
>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } >/dev
/null
; then
12265 if test -s conftest.err
; then
12266 ac_cpp_err
=$ac_c_preproc_warn_flag
12267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12274 if test -z "$ac_cpp_err"; then
12275 ac_header_preproc
=yes
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.
$ac_ext >&5
12280 ac_header_preproc
=no
12282 rm -f conftest.err conftest.
$ac_ext
12283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12284 echo "${ECHO_T}$ac_header_preproc" >&6
12286 # So? What about this header?
12287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12293 ac_header_preproc
=yes
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12300 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12302 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12303 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12310 ## ------------------------------------ ##
12311 ## Report this to wine-devel@winehq.org ##
12312 ## ------------------------------------ ##
12315 sed "s/^/$as_me: WARNING: /" >&2
12318 echo "$as_me:$LINENO: checking for $ac_header" >&5
12319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 eval "$as_ac_Header=\$ac_header_preproc"
12325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12330 cat >>confdefs.h
<<_ACEOF
12331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12334 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12335 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12336 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12337 echo $ECHO_N "(cached) $ECHO_C" >&6
12339 ac_check_lib_save_LIBS
=$LIBS
12340 LIBS
="-lcapi20 $LIBS"
12341 cat >conftest.
$ac_ext <<_ACEOF
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12348 /* Override any gcc2 internal prototype to avoid an error. */
12352 /* We use char because int might match the return type of a gcc2
12353 builtin and then its argument prototype would still apply. */
12354 char capi20_register ();
12358 capi20_register ();
12363 rm -f conftest.
$ac_objext conftest
$ac_exeext
12364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12365 (eval $ac_link) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try
='test -s conftest$ac_exeext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 ac_cv_lib_capi20_capi20_register
=yes
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.
$ac_ext >&5
12389 ac_cv_lib_capi20_capi20_register
=no
12391 rm -f conftest.err conftest.
$ac_objext \
12392 conftest
$ac_exeext conftest.
$ac_ext
12393 LIBS
=$ac_check_lib_save_LIBS
12395 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12396 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12397 if test $ac_cv_lib_capi20_capi20_register = yes; then
12400 cat >>confdefs.h
<<\_ACEOF
12401 #define HAVE_CAPI4LINUX 1
12404 CAPI4LINUXLIBS
="-lcapi20"
12421 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12422 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12423 if test "${ac_cv_mmap64_works+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 if test "$cross_compiling" = yes; then
12427 ac_cv_mmap64_works
="no"
12429 cat >conftest.
$ac_ext <<_ACEOF
12432 cat confdefs.h
>>conftest.
$ac_ext
12433 cat >>conftest.
$ac_ext <<_ACEOF
12434 /* end confdefs.h. */
12436 #define _FILE_OFFSET_BITS 64
12438 #include <unistd.h>
12440 #include <sys/mman.h>
12443 int main(int argc,char **argv) {
12444 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12445 if (fd == -1) exit(1);
12447 unlink("conftest.map");
12449 write(fd,"test",4);
12451 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12457 fprintf(stderr,"success!\n");
12463 rm -f conftest
$ac_exeext
12464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12465 (eval $ac_link) 2>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470 (eval $ac_try) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); }; }; then
12474 ac_cv_mmap64_works
="yes"
12476 echo "$as_me: program exited with status $ac_status" >&5
12477 echo "$as_me: failed program was:" >&5
12478 sed 's/^/| /' conftest.
$ac_ext >&5
12480 ( exit $ac_status )
12481 ac_cv_mmap64_works
="no"
12483 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12486 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12487 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12489 if test "$ac_cv_mmap64_works" = "yes"
12492 cat >>confdefs.h
<<\_ACEOF
12493 #define _FILE_OFFSET_BITS 64
12501 if test "x${GCC}" = "xyes"
12503 EXTRACFLAGS
="-Wall -pipe"
12505 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12506 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12507 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12510 if test "$cross_compiling" = yes; then
12511 ac_cv_c_gcc_strength_bug
="yes"
12513 cat >conftest.
$ac_ext <<_ACEOF
12516 cat confdefs.h
>>conftest.
$ac_ext
12517 cat >>conftest.
$ac_ext <<_ACEOF
12518 /* end confdefs.h. */
12520 int L[4] = {0,1,2,3};
12522 static int Array[3];
12523 unsigned int B = 3;
12525 for(i=0; i<B; i++) Array[i] = i - 3;
12526 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12529 exit( Array[1] != -2 || L[2] != 3);
12532 rm -f conftest
$ac_exeext
12533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12534 (eval $ac_link) 2>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; }; then
12543 ac_cv_c_gcc_strength_bug
="no"
12545 echo "$as_me: program exited with status $ac_status" >&5
12546 echo "$as_me: failed program was:" >&5
12547 sed 's/^/| /' conftest.
$ac_ext >&5
12549 ( exit $ac_status )
12550 ac_cv_c_gcc_strength_bug
="yes"
12552 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12555 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12556 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12557 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12559 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12562 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12563 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12564 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 ac_wine_try_cflags_saved
=$CFLAGS
12568 CFLAGS
="$CFLAGS -fshort-wchar"
12569 cat >conftest.
$ac_ext <<_ACEOF
12572 cat confdefs.h
>>conftest.
$ac_ext
12573 cat >>conftest.
$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12584 rm -f conftest.
$ac_objext conftest
$ac_exeext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12586 (eval $ac_link) 2>conftest.er1
12588 grep -v '^ *+' conftest.er1
>conftest.err
12590 cat conftest.err
>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try
='test -s conftest$ac_exeext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_c_gcc_fshort_wchar
="yes"
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.
$ac_ext >&5
12610 ac_cv_c_gcc_fshort_wchar
="no"
12612 rm -f conftest.err conftest.
$ac_objext \
12613 conftest
$ac_exeext conftest.
$ac_ext
12614 CFLAGS
=$ac_wine_try_cflags_saved
12616 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12617 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12618 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12621 cat >>confdefs.h
<<\_ACEOF
12622 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12627 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12628 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12629 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12630 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 ac_wine_try_cflags_saved
=$CFLAGS
12633 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12634 cat >conftest.
$ac_ext <<_ACEOF
12637 cat confdefs.h
>>conftest.
$ac_ext
12638 cat >>conftest.
$ac_ext <<_ACEOF
12639 /* end confdefs.h. */
12649 rm -f conftest.
$ac_objext conftest
$ac_exeext
12650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12651 (eval $ac_link) 2>conftest.er1
12653 grep -v '^ *+' conftest.er1
>conftest.err
12655 cat conftest.err
>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try
='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_c_gcc_stack_boundary
="yes"
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 ac_cv_c_gcc_stack_boundary
="no"
12677 rm -f conftest.err conftest.
$ac_objext \
12678 conftest
$ac_exeext conftest.
$ac_ext
12679 CFLAGS
=$ac_wine_try_cflags_saved
12681 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12682 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12683 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12685 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12688 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12689 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12690 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 ac_wine_try_cflags_saved
=$CFLAGS
12694 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12710 rm -f conftest.
$ac_objext conftest
$ac_exeext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12712 (eval $ac_link) 2>conftest.er1
12714 grep -v '^ *+' conftest.er1
>conftest.err
12716 cat conftest.err
>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; } &&
12725 { ac_try
='test -s conftest$ac_exeext'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; }; then
12731 ac_cv_c_gcc_no_strict_aliasing
="yes"
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.
$ac_ext >&5
12736 ac_cv_c_gcc_no_strict_aliasing
="no"
12738 rm -f conftest.err conftest.
$ac_objext \
12739 conftest
$ac_exeext conftest.
$ac_ext
12740 CFLAGS
=$ac_wine_try_cflags_saved
12742 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12743 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12744 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12746 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12749 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12750 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12751 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12752 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 ac_wine_try_cflags_saved
=$CFLAGS
12755 CFLAGS
="$CFLAGS -gstabs+"
12756 cat >conftest.
$ac_ext <<_ACEOF
12759 cat confdefs.h
>>conftest.
$ac_ext
12760 cat >>conftest.
$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12771 rm -f conftest.
$ac_objext conftest
$ac_exeext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12773 (eval $ac_link) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try
='test -s conftest$ac_exeext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_c_gcc_gstabs
="yes"
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12797 ac_cv_c_gcc_gstabs
="no"
12799 rm -f conftest.err conftest.
$ac_objext \
12800 conftest
$ac_exeext conftest.
$ac_ext
12801 CFLAGS
=$ac_wine_try_cflags_saved
12803 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12804 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12805 if test "$ac_cv_c_gcc_gstabs" = "yes"
12807 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12810 saved_CFLAGS
="$CFLAGS"
12811 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12812 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12813 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12814 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 cat >conftest.
$ac_ext <<_ACEOF
12820 cat confdefs.h
>>conftest.
$ac_ext
12821 cat >>conftest.
$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12823 #include <string.h>
12832 rm -f conftest.
$ac_objext
12833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12834 (eval $ac_compile) 2>conftest.er1
12836 grep -v '^ *+' conftest.er1
>conftest.err
12838 cat conftest.err
>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; } &&
12847 { ac_try
='test -s conftest.$ac_objext'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; }; then
12853 ac_cv_c_string_h_warnings
=no
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.
$ac_ext >&5
12858 ac_cv_c_string_h_warnings
=yes
12860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12862 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12863 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12864 CFLAGS
="$saved_CFLAGS"
12865 if test "$ac_cv_c_string_h_warnings" = "no"
12867 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12872 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12873 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12874 if test "${ac_cv_asm_func_def+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 cat >conftest.
$ac_ext <<_ACEOF
12880 cat confdefs.h
>>conftest.
$ac_ext
12881 cat >>conftest.
$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12893 rm -f conftest.
$ac_objext conftest
$ac_exeext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12895 (eval $ac_link) 2>conftest.er1
12897 grep -v '^ *+' conftest.er1
>conftest.err
12899 cat conftest.err
>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try
='test -s conftest$ac_exeext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_cv_asm_func_def
=".def"
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12919 cat >conftest.
$ac_ext <<_ACEOF
12922 cat confdefs.h
>>conftest.
$ac_ext
12923 cat >>conftest.
$ac_ext <<_ACEOF
12924 /* end confdefs.h. */
12925 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12935 rm -f conftest.
$ac_objext conftest
$ac_exeext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12937 (eval $ac_link) 2>conftest.er1
12939 grep -v '^ *+' conftest.er1
>conftest.err
12941 cat conftest.err
>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try
='test -s conftest$ac_exeext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12956 ac_cv_asm_func_def
=".type @function"
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.
$ac_ext >&5
12961 cat >conftest.
$ac_ext <<_ACEOF
12964 cat confdefs.h
>>conftest.
$ac_ext
12965 cat >>conftest.
$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12977 rm -f conftest.
$ac_objext conftest
$ac_exeext
12978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12979 (eval $ac_link) 2>conftest.er1
12981 grep -v '^ *+' conftest.er1
>conftest.err
12983 cat conftest.err
>&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } &&
12986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988 (eval $ac_try) 2>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; } &&
12992 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
12998 ac_cv_asm_func_def
=".type 2"
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.
$ac_ext >&5
13003 ac_cv_asm_func_def
="unknown"
13005 rm -f conftest.err conftest.
$ac_objext \
13006 conftest
$ac_exeext conftest.
$ac_ext
13008 rm -f conftest.err conftest.
$ac_objext \
13009 conftest
$ac_exeext conftest.
$ac_ext
13011 rm -f conftest.err conftest.
$ac_objext \
13012 conftest
$ac_exeext conftest.
$ac_ext
13014 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13015 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13019 case "$ac_cv_asm_func_def" in
13021 cat >>confdefs.h
<<\_ACEOF
13022 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13026 cat >>confdefs.h
<<\_ACEOF
13027 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13031 cat >>confdefs.h
<<\_ACEOF
13032 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13036 cat >>confdefs.h
<<\_ACEOF
13037 #define __ASM_FUNC(name) ""
13043 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13044 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13045 if test "${ac_cv_c_extern_prefix+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 cat >conftest.
$ac_ext <<_ACEOF
13051 cat confdefs.h
>>conftest.
$ac_ext
13052 cat >>conftest.
$ac_ext <<_ACEOF
13053 /* end confdefs.h. */
13054 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13055 extern int ac_test;
13059 if (ac_test) return 1
13064 rm -f conftest.
$ac_objext conftest
$ac_exeext
13065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13066 (eval $ac_link) 2>conftest.er1
13068 grep -v '^ *+' conftest.er1
>conftest.err
13070 cat conftest.err
>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } &&
13073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; } &&
13079 { ac_try
='test -s conftest$ac_exeext'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; }; then
13085 ac_cv_c_extern_prefix
="yes"
13087 echo "$as_me: failed program was:" >&5
13088 sed 's/^/| /' conftest.
$ac_ext >&5
13090 ac_cv_c_extern_prefix
="no"
13092 rm -f conftest.err conftest.
$ac_objext \
13093 conftest
$ac_exeext conftest.
$ac_ext
13095 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13096 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13100 if test "$ac_cv_c_extern_prefix" = "yes"
13102 cat >>confdefs.h
<<\_ACEOF
13103 #define __ASM_NAME(name) "_" name
13107 cat >>confdefs.h
<<\_ACEOF
13108 #define __ASM_NAME(name) name
13114 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13115 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13116 if test "${ac_cv_c_asm_string+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 cat >conftest.
$ac_ext <<_ACEOF
13122 cat confdefs.h
>>conftest.
$ac_ext
13123 cat >>conftest.
$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13135 rm -f conftest.
$ac_objext conftest
$ac_exeext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137 (eval $ac_link) 2>conftest.er1
13139 grep -v '^ *+' conftest.er1
>conftest.err
13141 cat conftest.err
>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; } &&
13150 { ac_try
='test -s conftest$ac_exeext'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; }; then
13156 ac_cv_c_asm_string
=".string"
13158 echo "$as_me: failed program was:" >&5
13159 sed 's/^/| /' conftest.
$ac_ext >&5
13161 cat >conftest.
$ac_ext <<_ACEOF
13164 cat confdefs.h
>>conftest.
$ac_ext
13165 cat >>conftest.
$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13167 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13177 rm -f conftest.
$ac_objext conftest
$ac_exeext
13178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13179 (eval $ac_link) 2>conftest.er1
13181 grep -v '^ *+' conftest.er1
>conftest.err
13183 cat conftest.err
>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } &&
13186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13188 (eval $ac_try) 2>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); }; } &&
13192 { ac_try
='test -s conftest$ac_exeext'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; }; then
13198 ac_cv_c_asm_string
=".asciz"
13200 echo "$as_me: failed program was:" >&5
13201 sed 's/^/| /' conftest.
$ac_ext >&5
13203 cat >conftest.
$ac_ext <<_ACEOF
13206 cat confdefs.h
>>conftest.
$ac_ext
13207 cat >>conftest.
$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13219 rm -f conftest.
$ac_objext conftest
$ac_exeext
13220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13221 (eval $ac_link) 2>conftest.er1
13223 grep -v '^ *+' conftest.er1
>conftest.err
13225 cat conftest.err
>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); } &&
13228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13230 (eval $ac_try) 2>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; } &&
13234 { ac_try
='test -s conftest$ac_exeext'
13235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236 (eval $ac_try) 2>&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); }; }; then
13240 ac_cv_c_asm_string
=".ascii"
13242 echo "$as_me: failed program was:" >&5
13243 sed 's/^/| /' conftest.
$ac_ext >&5
13245 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13246 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13247 { (exit 1); exit 1; }; }
13249 rm -f conftest.err conftest.
$ac_objext \
13250 conftest
$ac_exeext conftest.
$ac_ext
13252 rm -f conftest.err conftest.
$ac_objext \
13253 conftest
$ac_exeext conftest.
$ac_ext
13255 rm -f conftest.err conftest.
$ac_objext \
13256 conftest
$ac_exeext conftest.
$ac_ext
13258 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13259 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13262 cat >>confdefs.h
<<_ACEOF
13263 #define __ASM_STRING "$ac_cv_c_asm_string"
13268 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13269 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13270 if test "${ac_cv_c_asm_short+set}" = set; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 cat >conftest.
$ac_ext <<_ACEOF
13276 cat confdefs.h
>>conftest.
$ac_ext
13277 cat >>conftest.
$ac_ext <<_ACEOF
13278 /* end confdefs.h. */
13279 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13289 rm -f conftest.
$ac_objext conftest
$ac_exeext
13290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13291 (eval $ac_link) 2>conftest.er1
13293 grep -v '^ *+' conftest.er1
>conftest.err
13295 cat conftest.err
>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } &&
13298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; } &&
13304 { ac_try
='test -s conftest$ac_exeext'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; }; then
13310 ac_cv_c_asm_short
=".short"
13312 echo "$as_me: failed program was:" >&5
13313 sed 's/^/| /' conftest.
$ac_ext >&5
13315 cat >conftest.
$ac_ext <<_ACEOF
13318 cat confdefs.h
>>conftest.
$ac_ext
13319 cat >>conftest.
$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13331 rm -f conftest.
$ac_objext conftest
$ac_exeext
13332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13333 (eval $ac_link) 2>conftest.er1
13335 grep -v '^ *+' conftest.er1
>conftest.err
13337 cat conftest.err
>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); } &&
13340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342 (eval $ac_try) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; } &&
13346 { ac_try
='test -s conftest$ac_exeext'
13347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13348 (eval $ac_try) 2>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); }; }; then
13352 ac_cv_c_asm_short
=".half"
13354 echo "$as_me: failed program was:" >&5
13355 sed 's/^/| /' conftest.
$ac_ext >&5
13357 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13358 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13359 { (exit 1); exit 1; }; }
13361 rm -f conftest.err conftest.
$ac_objext \
13362 conftest
$ac_exeext conftest.
$ac_ext
13364 rm -f conftest.err conftest.
$ac_objext \
13365 conftest
$ac_exeext conftest.
$ac_ext
13367 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13368 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13371 cat >>confdefs.h
<<_ACEOF
13372 #define __ASM_SHORT "$ac_cv_c_asm_short"
13377 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13378 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13379 if test "${ac_cv_c_asm_size+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 cat >conftest.
$ac_ext <<_ACEOF
13385 cat confdefs.h
>>conftest.
$ac_ext
13386 cat >>conftest.
$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13398 rm -f conftest.
$ac_objext conftest
$ac_exeext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400 (eval $ac_link) 2>conftest.er1
13402 grep -v '^ *+' conftest.er1
>conftest.err
13404 cat conftest.err
>&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); } &&
13407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13409 (eval $ac_try) 2>&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); }; } &&
13413 { ac_try
='test -s conftest$ac_exeext'
13414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13415 (eval $ac_try) 2>&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); }; }; then
13419 ac_cv_c_asm_size
="yes"
13421 echo "$as_me: failed program was:" >&5
13422 sed 's/^/| /' conftest.
$ac_ext >&5
13424 ac_cv_c_asm_size
="no"
13426 rm -f conftest.err conftest.
$ac_objext \
13427 conftest
$ac_exeext conftest.
$ac_ext
13429 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13430 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13432 if test "$ac_cv_c_asm_size" = "yes"
13435 cat >>confdefs.h
<<\_ACEOF
13436 #define HAVE_ASM_DOT_SIZE 1
13444 DLLFLAGS
="-D_REENTRANT"
13459 if test -n "$ac_tool_prefix"; then
13460 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13461 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13462 echo "$as_me:$LINENO: checking for $ac_word" >&5
13463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13464 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13467 if test -n "$DLLTOOL"; then
13468 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13471 for as_dir
in $PATH
13474 test -z "$as_dir" && as_dir
=.
13475 for ac_exec_ext
in '' $ac_executable_extensions; do
13476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13477 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13486 DLLTOOL
=$ac_cv_prog_DLLTOOL
13487 if test -n "$DLLTOOL"; then
13488 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13489 echo "${ECHO_T}$DLLTOOL" >&6
13491 echo "$as_me:$LINENO: result: no" >&5
13492 echo "${ECHO_T}no" >&6
13496 if test -z "$ac_cv_prog_DLLTOOL"; then
13497 ac_ct_DLLTOOL
=$DLLTOOL
13498 # Extract the first word of "dlltool", so it can be a program name with args.
13499 set dummy dlltool
; ac_word
=$2
13500 echo "$as_me:$LINENO: checking for $ac_word" >&5
13501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13502 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 if test -n "$ac_ct_DLLTOOL"; then
13506 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13509 for as_dir
in $PATH
13512 test -z "$as_dir" && as_dir
=.
13513 for ac_exec_ext
in '' $ac_executable_extensions; do
13514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13515 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13522 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13525 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13526 if test -n "$ac_ct_DLLTOOL"; then
13527 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13528 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13530 echo "$as_me:$LINENO: result: no" >&5
13531 echo "${ECHO_T}no" >&6
13534 DLLTOOL
=$ac_ct_DLLTOOL
13536 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13539 if test -n "$ac_tool_prefix"; then
13540 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13541 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13542 echo "$as_me:$LINENO: checking for $ac_word" >&5
13543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13544 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13547 if test -n "$DLLWRAP"; then
13548 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13551 for as_dir
in $PATH
13554 test -z "$as_dir" && as_dir
=.
13555 for ac_exec_ext
in '' $ac_executable_extensions; do
13556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13557 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13566 DLLWRAP
=$ac_cv_prog_DLLWRAP
13567 if test -n "$DLLWRAP"; then
13568 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13569 echo "${ECHO_T}$DLLWRAP" >&6
13571 echo "$as_me:$LINENO: result: no" >&5
13572 echo "${ECHO_T}no" >&6
13576 if test -z "$ac_cv_prog_DLLWRAP"; then
13577 ac_ct_DLLWRAP
=$DLLWRAP
13578 # Extract the first word of "dllwrap", so it can be a program name with args.
13579 set dummy dllwrap
; ac_word
=$2
13580 echo "$as_me:$LINENO: checking for $ac_word" >&5
13581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13582 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 if test -n "$ac_ct_DLLWRAP"; then
13586 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13589 for as_dir
in $PATH
13592 test -z "$as_dir" && as_dir
=.
13593 for ac_exec_ext
in '' $ac_executable_extensions; do
13594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13595 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13602 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13605 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13606 if test -n "$ac_ct_DLLWRAP"; then
13607 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13608 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13610 echo "$as_me:$LINENO: result: no" >&5
13611 echo "${ECHO_T}no" >&6
13614 DLLWRAP
=$ac_ct_DLLWRAP
13616 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13619 if test "$DLLWRAP" = "false"; then
13630 for ac_header
in dlfcn.h
13632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13634 echo "$as_me:$LINENO: checking for $ac_header" >&5
13635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13637 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13642 # Is the header compilable?
13643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13645 cat >conftest.
$ac_ext <<_ACEOF
13648 cat confdefs.h
>>conftest.
$ac_ext
13649 cat >>conftest.
$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13651 $ac_includes_default
13652 #include <$ac_header>
13654 rm -f conftest.
$ac_objext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>conftest.er1
13658 grep -v '^ *+' conftest.er1
>conftest.err
13660 cat conftest.err
>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } &&
13663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13665 (eval $ac_try) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); }; } &&
13669 { ac_try
='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13675 ac_header_compiler
=yes
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.
$ac_ext >&5
13680 ac_header_compiler
=no
13682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13684 echo "${ECHO_T}$ac_header_compiler" >&6
13686 # Is the header present?
13687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13689 cat >conftest.
$ac_ext <<_ACEOF
13692 cat confdefs.h
>>conftest.
$ac_ext
13693 cat >>conftest.
$ac_ext <<_ACEOF
13694 /* end confdefs.h. */
13695 #include <$ac_header>
13697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13700 grep -v '^ *+' conftest.er1
>conftest.err
13702 cat conftest.err
>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } >/dev
/null
; then
13705 if test -s conftest.err
; then
13706 ac_cpp_err
=$ac_c_preproc_warn_flag
13707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13714 if test -z "$ac_cpp_err"; then
13715 ac_header_preproc
=yes
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.
$ac_ext >&5
13720 ac_header_preproc
=no
13722 rm -f conftest.err conftest.
$ac_ext
13723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13724 echo "${ECHO_T}$ac_header_preproc" >&6
13726 # So? What about this header?
13727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13733 ac_header_preproc
=yes
13736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13750 ## ------------------------------------ ##
13751 ## Report this to wine-devel@winehq.org ##
13752 ## ------------------------------------ ##
13755 sed "s/^/$as_me: WARNING: /" >&2
13758 echo "$as_me:$LINENO: checking for $ac_header" >&5
13759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 eval "$as_ac_Header=\$ac_header_preproc"
13765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13770 cat >>confdefs.h
<<_ACEOF
13771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13774 for ac_func
in dlopen
13776 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13777 echo "$as_me:$LINENO: checking for $ac_func" >&5
13778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13779 if eval "test \"\${$as_ac_var+set}\" = set"; then
13780 echo $ECHO_N "(cached) $ECHO_C" >&6
13782 cat >conftest.
$ac_ext <<_ACEOF
13785 cat confdefs.h
>>conftest.
$ac_ext
13786 cat >>conftest.
$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13790 #define $ac_func innocuous_$ac_func
13792 /* System header to define __stub macros and hopefully few prototypes,
13793 which can conflict with char $ac_func (); below.
13794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13795 <limits.h> exists even on freestanding compilers. */
13798 # include <limits.h>
13800 # include <assert.h>
13805 /* Override any gcc2 internal prototype to avoid an error. */
13810 /* We use char because int might match the return type of a gcc2
13811 builtin and then its argument prototype would still apply. */
13813 /* The GNU C library defines this for functions which it implements
13814 to always fail with ENOSYS. Some functions are actually named
13815 something starting with __ and the normal name is an alias. */
13816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13819 char (*f) () = $ac_func;
13828 return f != $ac_func;
13833 rm -f conftest.
$ac_objext conftest
$ac_exeext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13835 (eval $ac_link) 2>conftest.er1
13837 grep -v '^ *+' conftest.er1
>conftest.err
13839 cat conftest.err
>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; } &&
13848 { ac_try
='test -s conftest$ac_exeext'
13849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13850 (eval $ac_try) 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; }; then
13854 eval "$as_ac_var=yes"
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.
$ac_ext >&5
13859 eval "$as_ac_var=no"
13861 rm -f conftest.err conftest.
$ac_objext \
13862 conftest
$ac_exeext conftest.
$ac_ext
13864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13866 if test `eval echo '${'$as_ac_var'}'` = yes; then
13867 cat >>confdefs.h
<<_ACEOF
13868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13872 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13873 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13874 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 ac_check_lib_save_LIBS
=$LIBS
13879 cat >conftest.
$ac_ext <<_ACEOF
13882 cat confdefs.h
>>conftest.
$ac_ext
13883 cat >>conftest.
$ac_ext <<_ACEOF
13884 /* end confdefs.h. */
13886 /* Override any gcc2 internal prototype to avoid an error. */
13890 /* We use char because int might match the return type of a gcc2
13891 builtin and then its argument prototype would still apply. */
13901 rm -f conftest.
$ac_objext conftest
$ac_exeext
13902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13903 (eval $ac_link) 2>conftest.er1
13905 grep -v '^ *+' conftest.er1
>conftest.err
13907 cat conftest.err
>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } &&
13910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; } &&
13916 { ac_try
='test -s conftest$ac_exeext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13922 ac_cv_lib_dl_dlopen
=yes
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.
$ac_ext >&5
13927 ac_cv_lib_dl_dlopen
=no
13929 rm -f conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 LIBS
=$ac_check_lib_save_LIBS
13933 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13934 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13935 if test $ac_cv_lib_dl_dlopen = yes; then
13937 cat >>confdefs.h
<<\_ACEOF
13938 #define HAVE_DLOPEN 1
13956 if test "$LIBEXT" = "so"
13958 DLLFLAGS
="$DLLFLAGS -fPIC"
13960 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13961 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13962 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13963 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 ac_wine_try_cflags_saved
=$CFLAGS
13966 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13967 cat >conftest.
$ac_ext <<_ACEOF
13970 rm -f conftest.
$ac_objext conftest
$ac_exeext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13972 (eval $ac_link) 2>conftest.er1
13974 grep -v '^ *+' conftest.er1
>conftest.err
13976 cat conftest.err
>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); } &&
13979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; } &&
13985 { ac_try
='test -s conftest$ac_exeext'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; }; then
13991 ac_cv_c_dll_gnuelf
="yes"
13993 echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.
$ac_ext >&5
13996 ac_cv_c_dll_gnuelf
="no"
13998 rm -f conftest.err conftest.
$ac_objext \
13999 conftest
$ac_exeext conftest.
$ac_ext
14000 CFLAGS
=$ac_wine_try_cflags_saved
14002 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14003 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
14004 if test "$ac_cv_c_dll_gnuelf" = "yes"
14006 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14007 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
14008 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14009 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
14010 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 ac_wine_try_cflags_saved
=$CFLAGS
14014 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14015 cat >conftest.
$ac_ext <<_ACEOF
14018 cat confdefs.h
>>conftest.
$ac_ext
14019 cat >>conftest.
$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14030 rm -f conftest.
$ac_objext conftest
$ac_exeext
14031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14032 (eval $ac_link) 2>conftest.er1
14034 grep -v '^ *+' conftest.er1
>conftest.err
14036 cat conftest.err
>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; } &&
14045 { ac_try
='test -s conftest$ac_exeext'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 (eval $ac_try) 2>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; }; then
14051 ac_cv_c_dll_zdefs
="yes"
14053 echo "$as_me: failed program was:" >&5
14054 sed 's/^/| /' conftest.
$ac_ext >&5
14056 ac_cv_c_dll_zdefs
="no"
14058 rm -f conftest.err conftest.
$ac_objext \
14059 conftest
$ac_exeext conftest.
$ac_ext
14060 CFLAGS
=$ac_wine_try_cflags_saved
14062 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14063 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14064 if test "$ac_cv_c_dll_zdefs" = "yes"
14066 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
14069 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14070 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14071 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14072 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 ac_wine_try_cflags_saved
=$CFLAGS
14075 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14076 cat >conftest.
$ac_ext <<_ACEOF
14079 cat confdefs.h
>>conftest.
$ac_ext
14080 cat >>conftest.
$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14091 rm -f conftest.
$ac_objext conftest
$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093 (eval $ac_link) 2>conftest.er1
14095 grep -v '^ *+' conftest.er1
>conftest.err
14097 cat conftest.err
>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } &&
14100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; } &&
14106 { ac_try
='test -s conftest$ac_exeext'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 ac_cv_c_dll_init_fini
="yes"
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_cv_c_dll_init_fini
="no"
14119 rm -f conftest.err conftest.
$ac_objext \
14120 conftest
$ac_exeext conftest.
$ac_ext
14121 CFLAGS
=$ac_wine_try_cflags_saved
14123 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14124 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14125 if test "$ac_cv_c_dll_init_fini" = "yes"
14127 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14130 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14131 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14132 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14133 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 echo '{ global: *; };' >conftest.map
14136 ac_wine_try_cflags_saved
=$CFLAGS
14137 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14138 cat >conftest.
$ac_ext <<_ACEOF
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14153 rm -f conftest.
$ac_objext conftest
$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14157 grep -v '^ *+' conftest.er1
>conftest.err
14159 cat conftest.err
>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try
='test -s conftest$ac_exeext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 ac_cv_c_ld_version_scripts
="yes"
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.
$ac_ext >&5
14179 ac_cv_c_ld_version_scripts
="no"
14181 rm -f conftest.err conftest.
$ac_objext \
14182 conftest
$ac_exeext conftest.
$ac_ext
14183 CFLAGS
=$ac_wine_try_cflags_saved
14186 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14187 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14188 if test "$ac_cv_c_ld_version_scripts" = "yes"
14190 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14193 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14194 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14195 if test "${ac_cv_c_export_dynamic+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 ac_wine_try_cflags_saved
=$CFLAGS
14199 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14200 cat >conftest.
$ac_ext <<_ACEOF
14203 cat confdefs.h
>>conftest.
$ac_ext
14204 cat >>conftest.
$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14215 rm -f conftest.
$ac_objext conftest
$ac_exeext
14216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14217 (eval $ac_link) 2>conftest.er1
14219 grep -v '^ *+' conftest.er1
>conftest.err
14221 cat conftest.err
>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } &&
14224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; } &&
14230 { ac_try
='test -s conftest$ac_exeext'
14231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14232 (eval $ac_try) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); }; }; then
14236 ac_cv_c_export_dynamic
="yes"
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.
$ac_ext >&5
14241 ac_cv_c_export_dynamic
="no"
14243 rm -f conftest.err conftest.
$ac_objext \
14244 conftest
$ac_exeext conftest.
$ac_ext
14245 CFLAGS
=$ac_wine_try_cflags_saved
14247 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14248 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14249 if test "$ac_cv_c_export_dynamic" = "yes"
14251 LDEXECFLAGS
="-Wl,--export-dynamic"
14257 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
14258 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
14259 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 ac_wine_try_cflags_saved
=$CFLAGS
14263 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
14264 cat >conftest.
$ac_ext <<_ACEOF
14267 cat confdefs.h
>>conftest.
$ac_ext
14268 cat >>conftest.
$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14279 rm -f conftest.
$ac_objext conftest
$ac_exeext
14280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14281 (eval $ac_link) 2>conftest.er1
14283 grep -v '^ *+' conftest.er1
>conftest.err
14285 cat conftest.err
>&5
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14287 (exit $ac_status); } &&
14288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14290 (eval $ac_try) 2>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); }; } &&
14294 { ac_try
='test -s conftest$ac_exeext'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 ac_cv_ld_reloc_exec
="yes"
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.
$ac_ext >&5
14305 ac_cv_ld_reloc_exec
="no"
14307 rm -f conftest.err conftest.
$ac_objext \
14308 conftest
$ac_exeext conftest.
$ac_ext
14309 CFLAGS
=$ac_wine_try_cflags_saved
14311 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14312 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14313 if test "$ac_cv_ld_reloc_exec" = "yes"
14315 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
14321 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14322 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14323 if test "${ac_cv_c_dll_unixware+set}" = set; then
14324 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 ac_wine_try_cflags_saved
=$CFLAGS
14327 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14328 cat >conftest.
$ac_ext <<_ACEOF
14331 rm -f conftest.
$ac_objext conftest
$ac_exeext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14333 (eval $ac_link) 2>conftest.er1
14335 grep -v '^ *+' conftest.er1
>conftest.err
14337 cat conftest.err
>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; } &&
14346 { ac_try
='test -s conftest$ac_exeext'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; }; then
14352 ac_cv_c_dll_unixware
="yes"
14354 echo "$as_me: failed program was:" >&5
14355 sed 's/^/| /' conftest.
$ac_ext >&5
14357 ac_cv_c_dll_unixware
="no"
14359 rm -f conftest.err conftest.
$ac_objext \
14360 conftest
$ac_exeext conftest.
$ac_ext
14361 CFLAGS
=$ac_wine_try_cflags_saved
14363 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14364 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14365 if test "$ac_cv_c_dll_unixware" = "yes"
14367 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14368 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14371 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14372 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14373 if test "${ac_cv_c_dll_macho+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14376 ac_wine_try_cflags_saved
=$CFLAGS
14377 CFLAGS
="$CFLAGS -bundle"
14378 cat >conftest.
$ac_ext <<_ACEOF
14381 rm -f conftest.
$ac_objext conftest
$ac_exeext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14383 (eval $ac_link) 2>conftest.er1
14385 grep -v '^ *+' conftest.er1
>conftest.err
14387 cat conftest.err
>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } &&
14390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14392 (eval $ac_try) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; } &&
14396 { ac_try
='test -s conftest$ac_exeext'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; }; then
14402 ac_cv_c_dll_macho
="yes"
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.
$ac_ext >&5
14407 ac_cv_c_dll_macho
="no"
14409 rm -f conftest.err conftest.
$ac_objext \
14410 conftest
$ac_exeext conftest.
$ac_ext
14411 CFLAGS
=$ac_wine_try_cflags_saved
14413 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14414 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14415 if test "$ac_cv_c_dll_macho" = "yes"
14418 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14419 LDSHARED
="\$(CC) -dynamiclib"
14420 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14421 STRIP
="$STRIP -u -r"
14422 LDEXECFLAGS
="-seg1addr 0x120000"
14424 LDLIBWINEFLAGS
="-seg1addr 0x140000"
14426 COREFOUNDATIONLIB
="-framework CoreFoundation"
14428 IOKITLIB
="-framework IOKit"
14430 IOKITLIB
= "$IOKITLIB $COREFOUNDATIONLIB"
14432 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14433 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14434 if test "${ac_cv_c_dll_hpux+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 ac_wine_try_cflags_saved
=$CFLAGS
14438 CFLAGS
="$CFLAGS -shared"
14439 cat >conftest.
$ac_ext <<_ACEOF
14442 rm -f conftest.
$ac_objext conftest
$ac_exeext
14443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14444 (eval $ac_link) 2>conftest.er1
14446 grep -v '^ *+' conftest.er1
>conftest.err
14448 cat conftest.err
>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } &&
14451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; } &&
14457 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
14463 ac_cv_c_dll_hpux
="yes"
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.
$ac_ext >&5
14468 ac_cv_c_dll_hpux
="no"
14470 rm -f conftest.err conftest.
$ac_objext \
14471 conftest
$ac_exeext conftest.
$ac_ext
14472 CFLAGS
=$ac_wine_try_cflags_saved
14474 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14475 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14476 if test "$ac_cv_c_dll_hpux" = "yes"
14480 LDDLLFLAGS
="-shared -fPIC"
14481 LDSHARED
="\$(CC) -shared"
14490 if test "$cross_compiling" = "no"
14492 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14494 # Extract the first word of "$ac_prog", so it can be a program name with args.
14495 set dummy
$ac_prog; ac_word
=$2
14496 echo "$as_me:$LINENO: checking for $ac_word" >&5
14497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14498 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 if test -n "$CROSSCC"; then
14502 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14505 for as_dir
in $PATH
14508 test -z "$as_dir" && as_dir
=.
14509 for ac_exec_ext
in '' $ac_executable_extensions; do
14510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14511 ac_cv_prog_CROSSCC
="$ac_prog"
14512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14520 CROSSCC
=$ac_cv_prog_CROSSCC
14521 if test -n "$CROSSCC"; then
14522 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14523 echo "${ECHO_T}$CROSSCC" >&6
14525 echo "$as_me:$LINENO: result: no" >&5
14526 echo "${ECHO_T}no" >&6
14529 test -n "$CROSSCC" && break
14531 test -n "$CROSSCC" || CROSSCC
="false"
14533 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14535 # Extract the first word of "$ac_prog", so it can be a program name with args.
14536 set dummy
$ac_prog; ac_word
=$2
14537 echo "$as_me:$LINENO: checking for $ac_word" >&5
14538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14539 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 if test -n "$DLLTOOL"; then
14543 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14546 for as_dir
in $PATH
14549 test -z "$as_dir" && as_dir
=.
14550 for ac_exec_ext
in '' $ac_executable_extensions; do
14551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14552 ac_cv_prog_DLLTOOL
="$ac_prog"
14553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14561 DLLTOOL
=$ac_cv_prog_DLLTOOL
14562 if test -n "$DLLTOOL"; then
14563 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14564 echo "${ECHO_T}$DLLTOOL" >&6
14566 echo "$as_me:$LINENO: result: no" >&5
14567 echo "${ECHO_T}no" >&6
14570 test -n "$DLLTOOL" && break
14572 test -n "$DLLTOOL" || DLLTOOL
="false"
14574 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14576 # Extract the first word of "$ac_prog", so it can be a program name with args.
14577 set dummy
$ac_prog; ac_word
=$2
14578 echo "$as_me:$LINENO: checking for $ac_word" >&5
14579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14580 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14581 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 if test -n "$CROSSWINDRES"; then
14584 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14587 for as_dir
in $PATH
14590 test -z "$as_dir" && as_dir
=.
14591 for ac_exec_ext
in '' $ac_executable_extensions; do
14592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14593 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14602 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14603 if test -n "$CROSSWINDRES"; then
14604 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14605 echo "${ECHO_T}$CROSSWINDRES" >&6
14607 echo "$as_me:$LINENO: result: no" >&5
14608 echo "${ECHO_T}no" >&6
14611 test -n "$CROSSWINDRES" && break
14613 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14615 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14620 if test "$LIBEXT" = "a"; then
14621 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14622 It is currently not possible to build Wine without shared library
14623 (.so) support to allow transparent switch between .so and .dll files.
14624 If you are using Linux, you will need a newer binutils.
14626 echo "$as_me: error: could not find a way to build shared libraries.
14627 It is currently not possible to build Wine without shared library
14628 (.so) support to allow transparent switch between .so and .dll files.
14629 If you are using Linux, you will need a newer binutils.
14631 { (exit 1); exit 1; }; }
14636 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14639 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14642 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14650 SOCKETLIBS
="-lws2_32"
14658 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
14660 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14663 MAIN_BINARY
="wine-glibc"
14667 WINE_BINARIES
="wine-pthread"
14669 MAIN_BINARY
="wine-pthread"
14673 WINE_BINARIES
="wine-kthread"
14675 MAIN_BINARY
="wine-kthread"
14681 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14683 # Extract the first word of "ldd", so it can be a program name with args.
14684 set dummy ldd
; ac_word
=$2
14685 echo "$as_me:$LINENO: checking for $ac_word" >&5
14686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14687 if test "${ac_cv_path_LDD+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14696 as_dummy
="/sbin:/usr/sbin:$PATH"
14697 for as_dir
in $as_dummy
14700 test -z "$as_dir" && as_dir
=.
14701 for ac_exec_ext
in '' $ac_executable_extensions; do
14702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14703 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14710 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14714 LDD
=$ac_cv_path_LDD
14716 if test -n "$LDD"; then
14717 echo "$as_me:$LINENO: result: $LDD" >&5
14718 echo "${ECHO_T}$LDD" >&6
14720 echo "$as_me:$LINENO: result: no" >&5
14721 echo "${ECHO_T}no" >&6
14725 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14726 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14727 if test "${ac_cv_lib_soname_X11+set}" = set; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 ac_get_soname_save_LIBS
=$LIBS
14731 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14732 cat >conftest.
$ac_ext <<_ACEOF
14735 cat confdefs.h
>>conftest.
$ac_ext
14736 cat >>conftest.
$ac_ext <<_ACEOF
14737 /* end confdefs.h. */
14739 /* Override any gcc2 internal prototype to avoid an error. */
14743 /* We use char because int might match the return type of a gcc2
14744 builtin and then its argument prototype would still apply. */
14745 char XCreateWindow ();
14754 rm -f conftest.
$ac_objext conftest
$ac_exeext
14755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14756 (eval $ac_link) 2>conftest.er1
14758 grep -v '^ *+' conftest.er1
>conftest.err
14760 cat conftest.err
>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } &&
14763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } &&
14769 { ac_try
='test -s conftest$ac_exeext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14776 if test "x$ac_cv_lib_soname_X11" = "x"
14778 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14781 echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.
$ac_ext >&5
14784 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14786 rm -f conftest.err conftest.
$ac_objext \
14787 conftest
$ac_exeext conftest.
$ac_ext
14788 LIBS
=$ac_get_soname_save_LIBS
14790 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14791 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14792 if test "x$ac_cv_lib_soname_X11" != xNONE
14794 cat >>confdefs.h
<<_ACEOF
14795 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14799 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14800 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14801 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14802 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 ac_get_soname_save_LIBS
=$LIBS
14805 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14806 cat >conftest.
$ac_ext <<_ACEOF
14809 cat confdefs.h
>>conftest.
$ac_ext
14810 cat >>conftest.
$ac_ext <<_ACEOF
14811 /* end confdefs.h. */
14813 /* Override any gcc2 internal prototype to avoid an error. */
14817 /* We use char because int might match the return type of a gcc2
14818 builtin and then its argument prototype would still apply. */
14819 char XextCreateExtension ();
14823 XextCreateExtension ();
14828 rm -f conftest.
$ac_objext conftest
$ac_exeext
14829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14830 (eval $ac_link) 2>conftest.er1
14832 grep -v '^ *+' conftest.er1
>conftest.err
14834 cat conftest.err
>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); } &&
14837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14839 (eval $ac_try) 2>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }; } &&
14843 { ac_try
='test -s conftest$ac_exeext'
14844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14845 (eval $ac_try) 2>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); }; }; then
14849 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14850 if test "x$ac_cv_lib_soname_Xext" = "x"
14852 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.
$ac_ext >&5
14858 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14860 rm -f conftest.err conftest.
$ac_objext \
14861 conftest
$ac_exeext conftest.
$ac_ext
14862 LIBS
=$ac_get_soname_save_LIBS
14864 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14865 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14866 if test "x$ac_cv_lib_soname_Xext" != xNONE
14868 cat >>confdefs.h
<<_ACEOF
14869 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14873 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14874 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14875 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14876 echo $ECHO_N "(cached) $ECHO_C" >&6
14878 ac_get_soname_save_LIBS
=$LIBS
14879 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14880 cat >conftest.
$ac_ext <<_ACEOF
14883 cat confdefs.h
>>conftest.
$ac_ext
14884 cat >>conftest.
$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14887 /* Override any gcc2 internal prototype to avoid an error. */
14891 /* We use char because int might match the return type of a gcc2
14892 builtin and then its argument prototype would still apply. */
14893 char XOpenDevice ();
14902 rm -f conftest.
$ac_objext conftest
$ac_exeext
14903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14904 (eval $ac_link) 2>conftest.er1
14906 grep -v '^ *+' conftest.er1
>conftest.err
14908 cat conftest.err
>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } &&
14911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14913 (eval $ac_try) 2>&5
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); }; } &&
14917 { ac_try
='test -s conftest$ac_exeext'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; }; then
14923 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14924 if test "x$ac_cv_lib_soname_Xi" = "x"
14926 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14929 echo "$as_me: failed program was:" >&5
14930 sed 's/^/| /' conftest.
$ac_ext >&5
14932 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14934 rm -f conftest.err conftest.
$ac_objext \
14935 conftest
$ac_exeext conftest.
$ac_ext
14936 LIBS
=$ac_get_soname_save_LIBS
14938 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14939 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14940 if test "x$ac_cv_lib_soname_Xi" != xNONE
14942 cat >>confdefs.h
<<_ACEOF
14943 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14947 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14948 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14949 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14950 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 ac_get_soname_save_LIBS
=$LIBS
14953 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14954 cat >conftest.
$ac_ext <<_ACEOF
14957 cat confdefs.h
>>conftest.
$ac_ext
14958 cat >>conftest.
$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14961 /* Override any gcc2 internal prototype to avoid an error. */
14965 /* We use char because int might match the return type of a gcc2
14966 builtin and then its argument prototype would still apply. */
14967 char XRenderQueryExtension ();
14971 XRenderQueryExtension ();
14976 rm -f conftest.
$ac_objext conftest
$ac_exeext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14978 (eval $ac_link) 2>conftest.er1
14980 grep -v '^ *+' conftest.er1
>conftest.err
14982 cat conftest.err
>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } &&
14985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14987 (eval $ac_try) 2>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; } &&
14991 { ac_try
='test -s conftest$ac_exeext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14997 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14998 if test "x$ac_cv_lib_soname_Xrender" = "x"
15000 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15003 echo "$as_me: failed program was:" >&5
15004 sed 's/^/| /' conftest.
$ac_ext >&5
15006 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15008 rm -f conftest.err conftest.
$ac_objext \
15009 conftest
$ac_exeext conftest.
$ac_ext
15010 LIBS
=$ac_get_soname_save_LIBS
15012 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15013 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
15014 if test "x$ac_cv_lib_soname_Xrender" != xNONE
15016 cat >>confdefs.h
<<_ACEOF
15017 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15021 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
15022 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
15023 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 ac_get_soname_save_LIBS
=$LIBS
15027 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15028 cat >conftest.
$ac_ext <<_ACEOF
15031 cat confdefs.h
>>conftest.
$ac_ext
15032 cat >>conftest.
$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15035 /* Override any gcc2 internal prototype to avoid an error. */
15039 /* We use char because int might match the return type of a gcc2
15040 builtin and then its argument prototype would still apply. */
15041 char XRRQueryExtension ();
15045 XRRQueryExtension ();
15050 rm -f conftest.
$ac_objext conftest
$ac_exeext
15051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15052 (eval $ac_link) 2>conftest.er1
15054 grep -v '^ *+' conftest.er1
>conftest.err
15056 cat conftest.err
>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } &&
15059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; } &&
15065 { ac_try
='test -s conftest$ac_exeext'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; }; then
15071 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
15072 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15074 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.
$ac_ext >&5
15080 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15082 rm -f conftest.err conftest.
$ac_objext \
15083 conftest
$ac_exeext conftest.
$ac_ext
15084 LIBS
=$ac_get_soname_save_LIBS
15086 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15087 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
15088 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
15090 cat >>confdefs.h
<<_ACEOF
15091 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15095 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
15096 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
15097 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 ac_get_soname_save_LIBS
=$LIBS
15101 LIBS
="-lfreetype $X_LIBS $LIBS"
15102 cat >conftest.
$ac_ext <<_ACEOF
15105 cat confdefs.h
>>conftest.
$ac_ext
15106 cat >>conftest.
$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15109 /* Override any gcc2 internal prototype to avoid an error. */
15113 /* We use char because int might match the return type of a gcc2
15114 builtin and then its argument prototype would still apply. */
15115 char FT_Init_FreeType ();
15119 FT_Init_FreeType ();
15124 rm -f conftest.
$ac_objext conftest
$ac_exeext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15126 (eval $ac_link) 2>conftest.er1
15128 grep -v '^ *+' conftest.er1
>conftest.err
15130 cat conftest.err
>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } &&
15133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15135 (eval $ac_try) 2>&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); }; } &&
15139 { ac_try
='test -s conftest$ac_exeext'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; }; then
15145 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
15146 if test "x$ac_cv_lib_soname_freetype" = "x"
15148 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15151 echo "$as_me: failed program was:" >&5
15152 sed 's/^/| /' conftest.
$ac_ext >&5
15154 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15156 rm -f conftest.err conftest.
$ac_objext \
15157 conftest
$ac_exeext conftest.
$ac_ext
15158 LIBS
=$ac_get_soname_save_LIBS
15160 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15161 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
15162 if test "x$ac_cv_lib_soname_freetype" != xNONE
15164 cat >>confdefs.h
<<_ACEOF
15165 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15169 echo "$as_me:$LINENO: checking for -lGL soname" >&5
15170 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
15171 if test "${ac_cv_lib_soname_GL+set}" = set; then
15172 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 ac_get_soname_save_LIBS
=$LIBS
15175 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15176 cat >conftest.
$ac_ext <<_ACEOF
15179 cat confdefs.h
>>conftest.
$ac_ext
15180 cat >>conftest.
$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15183 /* Override any gcc2 internal prototype to avoid an error. */
15187 /* We use char because int might match the return type of a gcc2
15188 builtin and then its argument prototype would still apply. */
15189 char glXQueryExtension ();
15193 glXQueryExtension ();
15198 rm -f conftest.
$ac_objext conftest
$ac_exeext
15199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15200 (eval $ac_link) 2>conftest.er1
15202 grep -v '^ *+' conftest.er1
>conftest.err
15204 cat conftest.err
>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); } &&
15207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; } &&
15213 { ac_try
='test -s conftest$ac_exeext'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; }; then
15219 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
15220 if test "x$ac_cv_lib_soname_GL" = "x"
15222 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.
$ac_ext >&5
15228 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15230 rm -f conftest.err conftest.
$ac_objext \
15231 conftest
$ac_exeext conftest.
$ac_ext
15232 LIBS
=$ac_get_soname_save_LIBS
15234 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15235 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15236 if test "x$ac_cv_lib_soname_GL" != xNONE
15238 cat >>confdefs.h
<<_ACEOF
15239 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15243 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15244 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
15245 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_get_soname_save_LIBS
=$LIBS
15249 LIBS
="-ltxc_dxtn $LIBS"
15250 cat >conftest.
$ac_ext <<_ACEOF
15253 cat confdefs.h
>>conftest.
$ac_ext
15254 cat >>conftest.
$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any gcc2 internal prototype to avoid an error. */
15261 /* We use char because int might match the return type of a gcc2
15262 builtin and then its argument prototype would still apply. */
15263 char fetch_2d_texel_rgba_dxt1 ();
15267 fetch_2d_texel_rgba_dxt1 ();
15272 rm -f conftest.
$ac_objext conftest
$ac_exeext
15273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15274 (eval $ac_link) 2>conftest.er1
15276 grep -v '^ *+' conftest.er1
>conftest.err
15278 cat conftest.err
>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } &&
15281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15283 (eval $ac_try) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); }; } &&
15287 { ac_try
='test -s conftest$ac_exeext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15293 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
15294 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15296 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.
$ac_ext >&5
15302 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15304 rm -f conftest.err conftest.
$ac_objext \
15305 conftest
$ac_exeext conftest.
$ac_ext
15306 LIBS
=$ac_get_soname_save_LIBS
15308 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15309 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15310 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
15312 cat >>confdefs.h
<<_ACEOF
15313 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15317 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15318 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15319 if test "${ac_cv_lib_soname_cups+set}" = set; then
15320 echo $ECHO_N "(cached) $ECHO_C" >&6
15322 ac_get_soname_save_LIBS
=$LIBS
15323 LIBS
="-lcups $LIBS"
15324 cat >conftest.
$ac_ext <<_ACEOF
15327 cat confdefs.h
>>conftest.
$ac_ext
15328 cat >>conftest.
$ac_ext <<_ACEOF
15329 /* end confdefs.h. */
15331 /* Override any gcc2 internal prototype to avoid an error. */
15335 /* We use char because int might match the return type of a gcc2
15336 builtin and then its argument prototype would still apply. */
15337 char cupsGetDefault ();
15346 rm -f conftest.
$ac_objext conftest
$ac_exeext
15347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15348 (eval $ac_link) 2>conftest.er1
15350 grep -v '^ *+' conftest.er1
>conftest.err
15352 cat conftest.err
>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); } &&
15355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15357 (eval $ac_try) 2>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; } &&
15361 { ac_try
='test -s conftest$ac_exeext'
15362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15363 (eval $ac_try) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }; }; then
15367 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15368 if test "x$ac_cv_lib_soname_cups" = "x"
15370 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.
$ac_ext >&5
15376 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15378 rm -f conftest.err conftest.
$ac_objext \
15379 conftest
$ac_exeext conftest.
$ac_ext
15380 LIBS
=$ac_get_soname_save_LIBS
15382 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15383 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15384 if test "x$ac_cv_lib_soname_cups" != xNONE
15386 cat >>confdefs.h
<<_ACEOF
15387 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15391 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15392 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15393 if test "${ac_cv_lib_soname_jack+set}" = set; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 ac_get_soname_save_LIBS
=$LIBS
15397 LIBS
="-ljack $LIBS"
15398 cat >conftest.
$ac_ext <<_ACEOF
15401 cat confdefs.h
>>conftest.
$ac_ext
15402 cat >>conftest.
$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15405 /* Override any gcc2 internal prototype to avoid an error. */
15409 /* We use char because int might match the return type of a gcc2
15410 builtin and then its argument prototype would still apply. */
15411 char jack_client_new ();
15415 jack_client_new ();
15420 rm -f conftest.
$ac_objext conftest
$ac_exeext
15421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15422 (eval $ac_link) 2>conftest.er1
15424 grep -v '^ *+' conftest.er1
>conftest.err
15426 cat conftest.err
>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } &&
15429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; } &&
15435 { ac_try
='test -s conftest$ac_exeext'
15436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15437 (eval $ac_try) 2>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); }; }; then
15441 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15442 if test "x$ac_cv_lib_soname_jack" = "x"
15444 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.
$ac_ext >&5
15450 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15452 rm -f conftest.err conftest.
$ac_objext \
15453 conftest
$ac_exeext conftest.
$ac_ext
15454 LIBS
=$ac_get_soname_save_LIBS
15456 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15457 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15458 if test "x$ac_cv_lib_soname_jack" != xNONE
15460 cat >>confdefs.h
<<_ACEOF
15461 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15465 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15466 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15467 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15470 ac_get_soname_save_LIBS
=$LIBS
15471 LIBS
="-lfontconfig $LIBS"
15472 cat >conftest.
$ac_ext <<_ACEOF
15475 cat confdefs.h
>>conftest.
$ac_ext
15476 cat >>conftest.
$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15479 /* Override any gcc2 internal prototype to avoid an error. */
15483 /* We use char because int might match the return type of a gcc2
15484 builtin and then its argument prototype would still apply. */
15494 rm -f conftest.
$ac_objext conftest
$ac_exeext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15496 (eval $ac_link) 2>conftest.er1
15498 grep -v '^ *+' conftest.er1
>conftest.err
15500 cat conftest.err
>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } &&
15503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; } &&
15509 { ac_try
='test -s conftest$ac_exeext'
15510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15511 (eval $ac_try) 2>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); }; }; then
15515 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15516 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15518 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.
$ac_ext >&5
15524 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15526 rm -f conftest.err conftest.
$ac_objext \
15527 conftest
$ac_exeext conftest.
$ac_ext
15528 LIBS
=$ac_get_soname_save_LIBS
15530 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15531 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15532 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15534 cat >>confdefs.h
<<_ACEOF
15535 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15539 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15540 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15541 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 ac_get_soname_save_LIBS
=$LIBS
15546 cat >conftest.
$ac_ext <<_ACEOF
15549 cat confdefs.h
>>conftest.
$ac_ext
15550 cat >>conftest.
$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15553 /* Override any gcc2 internal prototype to avoid an error. */
15557 /* We use char because int might match the return type of a gcc2
15558 builtin and then its argument prototype would still apply. */
15559 char SSL_library_init ();
15563 SSL_library_init ();
15568 rm -f conftest.
$ac_objext conftest
$ac_exeext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15570 (eval $ac_link) 2>conftest.er1
15572 grep -v '^ *+' conftest.er1
>conftest.err
15574 cat conftest.err
>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } &&
15577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; } &&
15583 { ac_try
='test -s conftest$ac_exeext'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; }; then
15589 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15590 if test "x$ac_cv_lib_soname_ssl" = "x"
15592 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.
$ac_ext >&5
15598 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15600 rm -f conftest.err conftest.
$ac_objext \
15601 conftest
$ac_exeext conftest.
$ac_ext
15602 LIBS
=$ac_get_soname_save_LIBS
15604 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15605 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15606 if test "x$ac_cv_lib_soname_ssl" != xNONE
15608 cat >>confdefs.h
<<_ACEOF
15609 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15613 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15614 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15615 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 ac_get_soname_save_LIBS
=$LIBS
15619 LIBS
="-lcrypto $LIBS"
15620 cat >conftest.
$ac_ext <<_ACEOF
15623 cat confdefs.h
>>conftest.
$ac_ext
15624 cat >>conftest.
$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15627 /* Override any gcc2 internal prototype to avoid an error. */
15631 /* We use char because int might match the return type of a gcc2
15632 builtin and then its argument prototype would still apply. */
15633 char BIO_new_socket ();
15642 rm -f conftest.
$ac_objext conftest
$ac_exeext
15643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15644 (eval $ac_link) 2>conftest.er1
15646 grep -v '^ *+' conftest.er1
>conftest.err
15648 cat conftest.err
>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } &&
15651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; } &&
15657 { ac_try
='test -s conftest$ac_exeext'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; }; then
15663 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15664 if test "x$ac_cv_lib_soname_crypto" = "x"
15666 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.
$ac_ext >&5
15672 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15674 rm -f conftest.err conftest.
$ac_objext \
15675 conftest
$ac_exeext conftest.
$ac_ext
15676 LIBS
=$ac_get_soname_save_LIBS
15678 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15679 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15680 if test "x$ac_cv_lib_soname_crypto" != xNONE
15682 cat >>confdefs.h
<<_ACEOF
15683 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15687 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15688 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15689 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15690 echo $ECHO_N "(cached) $ECHO_C" >&6
15692 ac_get_soname_save_LIBS
=$LIBS
15693 LIBS
="-lncurses $LIBS"
15694 cat >conftest.
$ac_ext <<_ACEOF
15697 cat confdefs.h
>>conftest.
$ac_ext
15698 cat >>conftest.
$ac_ext <<_ACEOF
15699 /* end confdefs.h. */
15701 /* Override any gcc2 internal prototype to avoid an error. */
15705 /* We use char because int might match the return type of a gcc2
15706 builtin and then its argument prototype would still apply. */
15716 rm -f conftest.
$ac_objext conftest
$ac_exeext
15717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15718 (eval $ac_link) 2>conftest.er1
15720 grep -v '^ *+' conftest.er1
>conftest.err
15722 cat conftest.err
>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); } &&
15725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; } &&
15731 { ac_try
='test -s conftest$ac_exeext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15738 if test "x$ac_cv_lib_soname_ncurses" = "x"
15740 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.
$ac_ext >&5
15746 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15748 rm -f conftest.err conftest.
$ac_objext \
15749 conftest
$ac_exeext conftest.
$ac_ext
15750 LIBS
=$ac_get_soname_save_LIBS
15752 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15753 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15754 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15756 cat >>confdefs.h
<<_ACEOF
15757 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15761 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15762 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15763 if test "${ac_cv_lib_soname_curses+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15766 ac_get_soname_save_LIBS
=$LIBS
15767 LIBS
="-lcurses $LIBS"
15768 cat >conftest.
$ac_ext <<_ACEOF
15771 cat confdefs.h
>>conftest.
$ac_ext
15772 cat >>conftest.
$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15775 /* Override any gcc2 internal prototype to avoid an error. */
15779 /* We use char because int might match the return type of a gcc2
15780 builtin and then its argument prototype would still apply. */
15790 rm -f conftest.
$ac_objext conftest
$ac_exeext
15791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15792 (eval $ac_link) 2>conftest.er1
15794 grep -v '^ *+' conftest.er1
>conftest.err
15796 cat conftest.err
>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } &&
15799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; } &&
15805 { ac_try
='test -s conftest$ac_exeext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15812 if test "x$ac_cv_lib_soname_curses" = "x"
15814 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.
$ac_ext >&5
15820 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15822 rm -f conftest.err conftest.
$ac_objext \
15823 conftest
$ac_exeext conftest.
$ac_ext
15824 LIBS
=$ac_get_soname_save_LIBS
15826 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15827 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15828 if test "x$ac_cv_lib_soname_curses" != xNONE
15830 cat >>confdefs.h
<<_ACEOF
15831 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15835 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15836 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15837 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 ac_get_soname_save_LIBS
=$LIBS
15841 LIBS
="-ljpeg $LIBS"
15842 cat >conftest.
$ac_ext <<_ACEOF
15845 cat confdefs.h
>>conftest.
$ac_ext
15846 cat >>conftest.
$ac_ext <<_ACEOF
15847 /* end confdefs.h. */
15849 /* Override any gcc2 internal prototype to avoid an error. */
15853 /* We use char because int might match the return type of a gcc2
15854 builtin and then its argument prototype would still apply. */
15855 char jpeg_start_decompress ();
15859 jpeg_start_decompress ();
15864 rm -f conftest.
$ac_objext conftest
$ac_exeext
15865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15866 (eval $ac_link) 2>conftest.er1
15868 grep -v '^ *+' conftest.er1
>conftest.err
15870 cat conftest.err
>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } &&
15873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; } &&
15879 { ac_try
='test -s conftest$ac_exeext'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; }; then
15885 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15886 if test "x$ac_cv_lib_soname_jpeg" = "x"
15888 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.
$ac_ext >&5
15894 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15896 rm -f conftest.err conftest.
$ac_objext \
15897 conftest
$ac_exeext conftest.
$ac_ext
15898 LIBS
=$ac_get_soname_save_LIBS
15900 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15901 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15902 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15904 cat >>confdefs.h
<<_ACEOF
15905 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15909 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15910 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15911 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15912 echo $ECHO_N "(cached) $ECHO_C" >&6
15914 ac_get_soname_save_LIBS
=$LIBS
15915 LIBS
="-lungif $LIBS"
15916 cat >conftest.
$ac_ext <<_ACEOF
15919 cat confdefs.h
>>conftest.
$ac_ext
15920 cat >>conftest.
$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15923 /* Override any gcc2 internal prototype to avoid an error. */
15927 /* We use char because int might match the return type of a gcc2
15928 builtin and then its argument prototype would still apply. */
15938 rm -f conftest.
$ac_objext conftest
$ac_exeext
15939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15940 (eval $ac_link) 2>conftest.er1
15942 grep -v '^ *+' conftest.er1
>conftest.err
15944 cat conftest.err
>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; } &&
15953 { ac_try
='test -s conftest$ac_exeext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15960 if test "x$ac_cv_lib_soname_ungif" = "x"
15962 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15970 rm -f conftest.err conftest.
$ac_objext \
15971 conftest
$ac_exeext conftest.
$ac_ext
15972 LIBS
=$ac_get_soname_save_LIBS
15974 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15975 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15976 if test "x$ac_cv_lib_soname_ungif" != xNONE
15978 cat >>confdefs.h
<<_ACEOF
15979 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15983 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15984 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15985 if test "${ac_cv_lib_soname_gif+set}" = set; then
15986 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 ac_get_soname_save_LIBS
=$LIBS
15990 cat >conftest.
$ac_ext <<_ACEOF
15993 cat confdefs.h
>>conftest.
$ac_ext
15994 cat >>conftest.
$ac_ext <<_ACEOF
15995 /* end confdefs.h. */
15997 /* Override any gcc2 internal prototype to avoid an error. */
16001 /* We use char because int might match the return type of a gcc2
16002 builtin and then its argument prototype would still apply. */
16012 rm -f conftest.
$ac_objext conftest
$ac_exeext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16014 (eval $ac_link) 2>conftest.er1
16016 grep -v '^ *+' conftest.er1
>conftest.err
16018 cat conftest.err
>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; } &&
16027 { ac_try
='test -s conftest$ac_exeext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16033 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
16034 if test "x$ac_cv_lib_soname_gif" = "x"
16036 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.
$ac_ext >&5
16042 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16044 rm -f conftest.err conftest.
$ac_objext \
16045 conftest
$ac_exeext conftest.
$ac_ext
16046 LIBS
=$ac_get_soname_save_LIBS
16048 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
16049 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
16050 if test "x$ac_cv_lib_soname_gif" != xNONE
16052 cat >>confdefs.h
<<_ACEOF
16053 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
16057 echo "$as_me:$LINENO: checking for -llcms soname" >&5
16058 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
16059 if test "${ac_cv_lib_soname_lcms+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16062 ac_get_soname_save_LIBS
=$LIBS
16063 LIBS
="-llcms $LIBS"
16064 cat >conftest.
$ac_ext <<_ACEOF
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16071 /* Override any gcc2 internal prototype to avoid an error. */
16075 /* We use char because int might match the return type of a gcc2
16076 builtin and then its argument prototype would still apply. */
16077 char cmsOpenProfileFromFile ();
16081 cmsOpenProfileFromFile ();
16086 rm -f conftest.
$ac_objext conftest
$ac_exeext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16088 (eval $ac_link) 2>conftest.er1
16090 grep -v '^ *+' conftest.er1
>conftest.err
16092 cat conftest.err
>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try
='test -s conftest$ac_exeext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 ac_cv_lib_soname_lcms
=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
16108 if test "x$ac_cv_lib_soname_lcms" = "x"
16110 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.
$ac_ext >&5
16116 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
16118 rm -f conftest.err conftest.
$ac_objext \
16119 conftest
$ac_exeext conftest.
$ac_ext
16120 LIBS
=$ac_get_soname_save_LIBS
16122 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
16123 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
16124 if test "x$ac_cv_lib_soname_lcms" != xNONE
16126 cat >>confdefs.h
<<_ACEOF
16127 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
16134 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16135 # for constant arguments. Useless!
16136 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16137 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16138 if test "${ac_cv_working_alloca_h+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 cat >conftest.
$ac_ext <<_ACEOF
16144 cat confdefs.h
>>conftest.
$ac_ext
16145 cat >>conftest.
$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147 #include <alloca.h>
16151 char *p = (char *) alloca (2 * sizeof (int));
16156 rm -f conftest.
$ac_objext conftest
$ac_exeext
16157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16158 (eval $ac_link) 2>conftest.er1
16160 grep -v '^ *+' conftest.er1
>conftest.err
16162 cat conftest.err
>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } &&
16165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; } &&
16171 { ac_try
='test -s conftest$ac_exeext'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; }; then
16177 ac_cv_working_alloca_h
=yes
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.
$ac_ext >&5
16182 ac_cv_working_alloca_h
=no
16184 rm -f conftest.err conftest.
$ac_objext \
16185 conftest
$ac_exeext conftest.
$ac_ext
16187 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16188 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16189 if test $ac_cv_working_alloca_h = yes; then
16191 cat >>confdefs.h
<<\_ACEOF
16192 #define HAVE_ALLOCA_H 1
16197 echo "$as_me:$LINENO: checking for alloca" >&5
16198 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16199 if test "${ac_cv_func_alloca_works+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 cat >conftest.
$ac_ext <<_ACEOF
16205 cat confdefs.h
>>conftest.
$ac_ext
16206 cat >>conftest.
$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16209 # define alloca __builtin_alloca
16212 # include <malloc.h>
16213 # define alloca _alloca
16216 # include <alloca.h>
16221 # ifndef alloca /* predefined by HP cc +Olibcalls */
16232 char *p = (char *) alloca (1);
16237 rm -f conftest.
$ac_objext conftest
$ac_exeext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16239 (eval $ac_link) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1
>conftest.err
16243 cat conftest.err
>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try
='test -s conftest$ac_exeext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_func_alloca_works
=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 ac_cv_func_alloca_works
=no
16265 rm -f conftest.err conftest.
$ac_objext \
16266 conftest
$ac_exeext conftest.
$ac_ext
16268 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16269 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16271 if test $ac_cv_func_alloca_works = yes; then
16273 cat >>confdefs.h
<<\_ACEOF
16274 #define HAVE_ALLOCA 1
16278 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16279 # that cause trouble. Some versions do not even contain alloca or
16280 # contain a buggy version. If you still want to use their alloca,
16281 # use ar to extract alloca.o from them instead of compiling alloca.c.
16283 ALLOCA
=alloca.
$ac_objext
16285 cat >>confdefs.h
<<\_ACEOF
16290 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16291 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16292 if test "${ac_cv_os_cray+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 cat >conftest.
$ac_ext <<_ACEOF
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 #if defined(CRAY) && ! defined(CRAY2)
16308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16309 $EGREP "webecray" >/dev
/null
2>&1; then
16317 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16318 echo "${ECHO_T}$ac_cv_os_cray" >&6
16319 if test $ac_cv_os_cray = yes; then
16320 for ac_func
in _getb67 GETB67 getb67
; do
16321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16322 echo "$as_me:$LINENO: checking for $ac_func" >&5
16323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16324 if eval "test \"\${$as_ac_var+set}\" = set"; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 cat >conftest.
$ac_ext <<_ACEOF
16330 cat confdefs.h
>>conftest.
$ac_ext
16331 cat >>conftest.
$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16335 #define $ac_func innocuous_$ac_func
16337 /* System header to define __stub macros and hopefully few prototypes,
16338 which can conflict with char $ac_func (); below.
16339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16340 <limits.h> exists even on freestanding compilers. */
16343 # include <limits.h>
16345 # include <assert.h>
16350 /* Override any gcc2 internal prototype to avoid an error. */
16355 /* We use char because int might match the return type of a gcc2
16356 builtin and then its argument prototype would still apply. */
16358 /* The GNU C library defines this for functions which it implements
16359 to always fail with ENOSYS. Some functions are actually named
16360 something starting with __ and the normal name is an alias. */
16361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16364 char (*f) () = $ac_func;
16373 return f != $ac_func;
16378 rm -f conftest.
$ac_objext conftest
$ac_exeext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16380 (eval $ac_link) 2>conftest.er1
16382 grep -v '^ *+' conftest.er1
>conftest.err
16384 cat conftest.err
>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; } &&
16393 { ac_try
='test -s conftest$ac_exeext'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; }; then
16399 eval "$as_ac_var=yes"
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.
$ac_ext >&5
16404 eval "$as_ac_var=no"
16406 rm -f conftest.err conftest.
$ac_objext \
16407 conftest
$ac_exeext conftest.
$ac_ext
16409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16411 if test `eval echo '${'$as_ac_var'}'` = yes; then
16413 cat >>confdefs.h
<<_ACEOF
16414 #define CRAY_STACKSEG_END $ac_func
16423 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16424 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16425 if test "${ac_cv_c_stack_direction+set}" = set; then
16426 echo $ECHO_N "(cached) $ECHO_C" >&6
16428 if test "$cross_compiling" = yes; then
16429 ac_cv_c_stack_direction
=0
16431 cat >conftest.
$ac_ext <<_ACEOF
16434 cat confdefs.h
>>conftest.
$ac_ext
16435 cat >>conftest.
$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16438 find_stack_direction ()
16440 static char *addr = 0;
16445 return find_stack_direction ();
16448 return (&dummy > addr) ? 1 : -1;
16454 exit (find_stack_direction () < 0);
16457 rm -f conftest
$ac_exeext
16458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16459 (eval $ac_link) 2>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16468 ac_cv_c_stack_direction
=1
16470 echo "$as_me: program exited with status $ac_status" >&5
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.
$ac_ext >&5
16474 ( exit $ac_status )
16475 ac_cv_c_stack_direction
=-1
16477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16480 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16481 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16483 cat >>confdefs.h
<<_ACEOF
16484 #define STACK_DIRECTION $ac_cv_c_stack_direction
16617 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16618 echo "$as_me:$LINENO: checking for $ac_func" >&5
16619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16620 if eval "test \"\${$as_ac_var+set}\" = set"; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 cat >conftest.
$ac_ext <<_ACEOF
16626 cat confdefs.h
>>conftest.
$ac_ext
16627 cat >>conftest.
$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16631 #define $ac_func innocuous_$ac_func
16633 /* System header to define __stub macros and hopefully few prototypes,
16634 which can conflict with char $ac_func (); below.
16635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16636 <limits.h> exists even on freestanding compilers. */
16639 # include <limits.h>
16641 # include <assert.h>
16646 /* Override any gcc2 internal prototype to avoid an error. */
16651 /* We use char because int might match the return type of a gcc2
16652 builtin and then its argument prototype would still apply. */
16654 /* The GNU C library defines this for functions which it implements
16655 to always fail with ENOSYS. Some functions are actually named
16656 something starting with __ and the normal name is an alias. */
16657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16660 char (*f) () = $ac_func;
16669 return f != $ac_func;
16674 rm -f conftest.
$ac_objext conftest
$ac_exeext
16675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16676 (eval $ac_link) 2>conftest.er1
16678 grep -v '^ *+' conftest.er1
>conftest.err
16680 cat conftest.err
>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } &&
16683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; } &&
16689 { ac_try
='test -s conftest$ac_exeext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 eval "$as_ac_var=yes"
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.
$ac_ext >&5
16700 eval "$as_ac_var=no"
16702 rm -f conftest.err conftest.
$ac_objext \
16703 conftest
$ac_exeext conftest.
$ac_ext
16705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16707 if test `eval echo '${'$as_ac_var'}'` = yes; then
16708 cat >>confdefs.h
<<_ACEOF
16709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16719 for ac_header
in sys
/mount.h sys
/user.h
16721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16722 echo "$as_me:$LINENO: checking for $ac_header" >&5
16723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 cat >conftest.
$ac_ext <<_ACEOF
16730 cat confdefs.h
>>conftest.
$ac_ext
16731 cat >>conftest.
$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 #include <sys/types.h>
16734 #if HAVE_SYS_PARAM_H
16735 # include <sys/param.h>
16738 #include <$ac_header>
16740 rm -f conftest.
$ac_objext
16741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16742 (eval $ac_compile) 2>conftest.er1
16744 grep -v '^ *+' conftest.er1
>conftest.err
16746 cat conftest.err
>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } &&
16749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; } &&
16755 { ac_try
='test -s conftest.$ac_objext'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; }; then
16761 eval "$as_ac_Header=yes"
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.
$ac_ext >&5
16766 eval "$as_ac_Header=no"
16768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16773 cat >>confdefs.h
<<_ACEOF
16774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16787 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16789 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16790 echo "$as_me:$LINENO: checking for $ac_header" >&5
16791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 cat >conftest.
$ac_ext <<_ACEOF
16798 cat confdefs.h
>>conftest.
$ac_ext
16799 cat >>conftest.
$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801 #include <sys/types.h>
16802 #if HAVE_SYS_SOCKET_H
16803 # include <sys/socket.h>
16806 #include <$ac_header>
16808 rm -f conftest.
$ac_objext
16809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16810 (eval $ac_compile) 2>conftest.er1
16812 grep -v '^ *+' conftest.er1
>conftest.err
16814 cat conftest.err
>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } &&
16817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; } &&
16823 { ac_try
='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 eval "$as_ac_Header=yes"
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.
$ac_ext >&5
16834 eval "$as_ac_Header=no"
16836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16841 cat >>confdefs.h
<<_ACEOF
16842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16851 for ac_header
in resolv.h
16853 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16854 echo "$as_me:$LINENO: checking for $ac_header" >&5
16855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16857 echo $ECHO_N "(cached) $ECHO_C" >&6
16859 cat >conftest.
$ac_ext <<_ACEOF
16862 cat confdefs.h
>>conftest.
$ac_ext
16863 cat >>conftest.
$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #include <sys/types.h>
16866 #if HAVE_SYS_SOCKET_H
16867 # include <sys/socket.h>
16869 #if HAVE_NETINET_IN_H
16870 # include <netinet/in.h>
16872 #if HAVE_ARPA_NAMESER_H
16873 # include <arpa/nameser.h>
16876 #include <$ac_header>
16878 rm -f conftest.
$ac_objext
16879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16880 (eval $ac_compile) 2>conftest.er1
16882 grep -v '^ *+' conftest.er1
>conftest.err
16884 cat conftest.err
>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } &&
16887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; } &&
16893 { ac_try
='test -s conftest.$ac_objext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 eval "$as_ac_Header=yes"
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.
$ac_ext >&5
16904 eval "$as_ac_Header=no"
16906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16911 cat >>confdefs.h
<<_ACEOF
16912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16921 for ac_header
in netinet
/ip.h
16923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16924 echo "$as_me:$LINENO: checking for $ac_header" >&5
16925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16927 echo $ECHO_N "(cached) $ECHO_C" >&6
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16935 #include <sys/types.h>
16936 #if HAVE_SYS_SOCKET_H
16937 # include <sys/socket.h>
16939 #if HAVE_NETINET_IN_SYSTM_H
16940 # include <netinet/in_systm.h>
16943 #include <$ac_header>
16945 rm -f conftest.
$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; } &&
16960 { ac_try
='test -s conftest.$ac_objext'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; }; then
16966 eval "$as_ac_Header=yes"
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.
$ac_ext >&5
16971 eval "$as_ac_Header=no"
16973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16978 cat >>confdefs.h
<<_ACEOF
16979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16988 for ac_header
in ucontext.h
16990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16991 echo "$as_me:$LINENO: checking for $ac_header" >&5
16992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 cat >conftest.
$ac_ext <<_ACEOF
16999 cat confdefs.h
>>conftest.
$ac_ext
17000 cat >>conftest.
$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17002 #include <signal.h>
17004 #include <$ac_header>
17006 rm -f conftest.
$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17010 grep -v '^ *+' conftest.er1
>conftest.err
17012 cat conftest.err
>&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try
='test -s conftest.$ac_objext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17027 eval "$as_ac_Header=yes"
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.
$ac_ext >&5
17032 eval "$as_ac_Header=no"
17034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17039 cat >>confdefs.h
<<_ACEOF
17040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17049 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
17050 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
17051 if test "${ac_cv_c_ipx_gnu+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 cat >conftest.
$ac_ext <<_ACEOF
17057 cat confdefs.h
>>conftest.
$ac_ext
17058 cat >>conftest.
$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 #include <sys/types.h>
17061 #ifdef HAVE_SYS_SOCKET_H
17062 # include <sys/socket.h>
17064 #include <netipx/ipx.h>
17068 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17073 rm -f conftest.
$ac_objext
17074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17075 (eval $ac_compile) 2>conftest.er1
17077 grep -v '^ *+' conftest.er1
>conftest.err
17079 cat conftest.err
>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } &&
17082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; } &&
17088 { ac_try
='test -s conftest.$ac_objext'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; }; then
17094 ac_cv_c_ipx_gnu
="yes"
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.
$ac_ext >&5
17099 ac_cv_c_ipx_gnu
="no"
17101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17104 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17105 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17106 if test "$ac_cv_c_ipx_gnu" = "yes"
17109 cat >>confdefs.h
<<\_ACEOF
17110 #define HAVE_IPX_GNU 1
17115 if test "$ac_cv_c_ipx_gnu" = "no"
17117 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17118 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17119 if test "${ac_cv_c_ipx_linux+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 cat >conftest.
$ac_ext <<_ACEOF
17125 cat confdefs.h
>>conftest.
$ac_ext
17126 cat >>conftest.
$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 #include <sys/types.h>
17129 #ifdef HAVE_SYS_SOCKET_H
17130 # include <sys/socket.h>
17132 #include <asm/types.h>
17133 #include <linux/ipx.h>
17137 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17142 rm -f conftest.
$ac_objext
17143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17144 (eval $ac_compile) 2>conftest.er1
17146 grep -v '^ *+' conftest.er1
>conftest.err
17148 cat conftest.err
>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } &&
17151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; } &&
17157 { ac_try
='test -s conftest.$ac_objext'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; }; then
17163 ac_cv_c_ipx_linux
="yes"
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.
$ac_ext >&5
17168 ac_cv_c_ipx_linux
="no"
17170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17173 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17174 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17175 if test "$ac_cv_c_ipx_linux" = "yes"
17178 cat >>confdefs.h
<<\_ACEOF
17179 #define HAVE_IPX_LINUX 1
17186 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17187 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17188 if test "${ac_cv_c_const+set}" = set; then
17189 echo $ECHO_N "(cached) $ECHO_C" >&6
17191 cat >conftest.
$ac_ext <<_ACEOF
17194 cat confdefs.h
>>conftest.
$ac_ext
17195 cat >>conftest.
$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17201 /* FIXME: Include the comments suggested by Paul. */
17202 #ifndef __cplusplus
17203 /* Ultrix mips cc rejects this. */
17204 typedef int charset[2];
17206 /* SunOS 4.1.1 cc rejects this. */
17207 char const *const *ccp;
17209 /* NEC SVR4.0.2 mips cc rejects this. */
17210 struct point {int x, y;};
17211 static struct point const zero = {0,0};
17212 /* AIX XL C 1.02.0.0 rejects this.
17213 It does not let you subtract one const X* pointer from another in
17214 an arm of an if-expression whose if-part is not a constant
17216 const char *g = "string";
17217 ccp = &g + (g ? g-g : 0);
17218 /* HPUX 7.0 cc rejects these. */
17221 ccp = (char const *const *) p;
17222 { /* SCO 3.2v4 cc rejects this. */
17224 char const *s = 0 ? (char *) 0 : (char const *) 0;
17228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17229 int x[] = {25, 17};
17230 const int *foo = &x[0];
17233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17234 typedef const int *iptr;
17238 { /* AIX XL C 1.02.0.0 rejects this saying
17239 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17240 struct s { int j; const int *ap[3]; };
17241 struct s *b; b->j = 5;
17243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17244 const int foo = 10;
17252 rm -f conftest.
$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17256 grep -v '^ *+' conftest.er1
>conftest.err
17258 cat conftest.err
>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try
='test -s conftest.$ac_objext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.
$ac_ext >&5
17280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17282 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17283 echo "${ECHO_T}$ac_cv_c_const" >&6
17284 if test $ac_cv_c_const = no
; then
17286 cat >>confdefs.h
<<\_ACEOF
17292 echo "$as_me:$LINENO: checking for inline" >&5
17293 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17294 if test "${ac_cv_c_inline+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 for ac_kw
in inline __inline__ __inline
; do
17299 cat >conftest.
$ac_ext <<_ACEOF
17302 cat confdefs.h
>>conftest.
$ac_ext
17303 cat >>conftest.
$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17305 #ifndef __cplusplus
17307 static $ac_kw foo_t static_foo () {return 0; }
17308 $ac_kw foo_t foo () {return 0; }
17312 rm -f conftest.
$ac_objext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17314 (eval $ac_compile) 2>conftest.er1
17316 grep -v '^ *+' conftest.er1
>conftest.err
17318 cat conftest.err
>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try
='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 ac_cv_c_inline
=$ac_kw; break
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.
$ac_ext >&5
17339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17343 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17344 echo "${ECHO_T}$ac_cv_c_inline" >&6
17347 case $ac_cv_c_inline in
17350 case $ac_cv_c_inline in
17352 *) ac_val
=$ac_cv_c_inline;;
17354 cat >>confdefs.h
<<_ACEOF
17355 #ifndef __cplusplus
17356 #define inline $ac_val
17362 echo "$as_me:$LINENO: checking for mode_t" >&5
17363 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17364 if test "${ac_cv_type_mode_t+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 cat >conftest.
$ac_ext <<_ACEOF
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 $ac_includes_default
17379 if (sizeof (mode_t))
17385 rm -f conftest.
$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17389 grep -v '^ *+' conftest.er1
>conftest.err
17391 cat conftest.err
>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; } &&
17400 { ac_try
='test -s conftest.$ac_objext'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; }; then
17406 ac_cv_type_mode_t
=yes
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.
$ac_ext >&5
17411 ac_cv_type_mode_t
=no
17413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17416 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17417 if test $ac_cv_type_mode_t = yes; then
17419 cat >>confdefs.h
<<_ACEOF
17420 #define HAVE_MODE_T 1
17425 echo "$as_me:$LINENO: checking for off_t" >&5
17426 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17427 if test "${ac_cv_type_off_t+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17430 cat >conftest.
$ac_ext <<_ACEOF
17433 cat confdefs.h
>>conftest.
$ac_ext
17434 cat >>conftest.
$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17436 $ac_includes_default
17442 if (sizeof (off_t))
17448 rm -f conftest.
$ac_objext
17449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17450 (eval $ac_compile) 2>conftest.er1
17452 grep -v '^ *+' conftest.er1
>conftest.err
17454 cat conftest.err
>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; } &&
17463 { ac_try
='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469 ac_cv_type_off_t
=yes
17471 echo "$as_me: failed program was:" >&5
17472 sed 's/^/| /' conftest.
$ac_ext >&5
17474 ac_cv_type_off_t
=no
17476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17478 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17479 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17480 if test $ac_cv_type_off_t = yes; then
17482 cat >>confdefs.h
<<_ACEOF
17483 #define HAVE_OFF_T 1
17488 echo "$as_me:$LINENO: checking for pid_t" >&5
17489 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17490 if test "${ac_cv_type_pid_t+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 cat >conftest.
$ac_ext <<_ACEOF
17496 cat confdefs.h
>>conftest.
$ac_ext
17497 cat >>conftest.
$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17499 $ac_includes_default
17505 if (sizeof (pid_t))
17511 rm -f conftest.
$ac_objext
17512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17513 (eval $ac_compile) 2>conftest.er1
17515 grep -v '^ *+' conftest.er1
>conftest.err
17517 cat conftest.err
>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } &&
17520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try
='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 ac_cv_type_pid_t
=yes
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.
$ac_ext >&5
17537 ac_cv_type_pid_t
=no
17539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17541 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17542 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17543 if test $ac_cv_type_pid_t = yes; then
17545 cat >>confdefs.h
<<_ACEOF
17546 #define HAVE_PID_T 1
17551 echo "$as_me:$LINENO: checking for size_t" >&5
17552 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17553 if test "${ac_cv_type_size_t+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 cat >conftest.
$ac_ext <<_ACEOF
17559 cat confdefs.h
>>conftest.
$ac_ext
17560 cat >>conftest.
$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562 $ac_includes_default
17568 if (sizeof (size_t))
17574 rm -f conftest.
$ac_objext
17575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17576 (eval $ac_compile) 2>conftest.er1
17578 grep -v '^ *+' conftest.er1
>conftest.err
17580 cat conftest.err
>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } &&
17583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; } &&
17589 { ac_try
='test -s conftest.$ac_objext'
17590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591 (eval $ac_try) 2>&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); }; }; then
17595 ac_cv_type_size_t
=yes
17597 echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.
$ac_ext >&5
17600 ac_cv_type_size_t
=no
17602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17604 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17605 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17606 if test $ac_cv_type_size_t = yes; then
17608 cat >>confdefs.h
<<_ACEOF
17609 #define HAVE_SIZE_T 1
17614 echo "$as_me:$LINENO: checking for ssize_t" >&5
17615 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17616 if test "${ac_cv_type_ssize_t+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 cat >conftest.
$ac_ext <<_ACEOF
17622 cat confdefs.h
>>conftest.
$ac_ext
17623 cat >>conftest.
$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625 $ac_includes_default
17631 if (sizeof (ssize_t))
17637 rm -f conftest.
$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17641 grep -v '^ *+' conftest.er1
>conftest.err
17643 cat conftest.err
>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try
='test -s conftest.$ac_objext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_cv_type_ssize_t
=yes
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.
$ac_ext >&5
17663 ac_cv_type_ssize_t
=no
17665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17667 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17668 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17669 if test $ac_cv_type_ssize_t = yes; then
17671 cat >>confdefs.h
<<_ACEOF
17672 #define HAVE_SSIZE_T 1
17677 echo "$as_me:$LINENO: checking for long long" >&5
17678 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17679 if test "${ac_cv_type_long_long+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 cat >conftest.
$ac_ext <<_ACEOF
17685 cat confdefs.h
>>conftest.
$ac_ext
17686 cat >>conftest.
$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 $ac_includes_default
17692 if ((long long *) 0)
17694 if (sizeof (long long))
17700 rm -f conftest.
$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try
='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 ac_cv_type_long_long
=yes
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.
$ac_ext >&5
17726 ac_cv_type_long_long
=no
17728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17730 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17731 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17732 if test $ac_cv_type_long_long = yes; then
17734 cat >>confdefs.h
<<_ACEOF
17735 #define HAVE_LONG_LONG 1
17740 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17741 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17742 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17743 echo $ECHO_N "(cached) $ECHO_C" >&6
17745 cat >conftest.
$ac_ext <<_ACEOF
17748 cat confdefs.h
>>conftest.
$ac_ext
17749 cat >>conftest.
$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751 $ac_includes_default
17755 if ((fsblkcnt_t *) 0)
17757 if (sizeof (fsblkcnt_t))
17763 rm -f conftest.
$ac_objext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17765 (eval $ac_compile) 2>conftest.er1
17767 grep -v '^ *+' conftest.er1
>conftest.err
17769 cat conftest.err
>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try
='test -s conftest.$ac_objext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 ac_cv_type_fsblkcnt_t
=yes
17786 echo "$as_me: failed program was:" >&5
17787 sed 's/^/| /' conftest.
$ac_ext >&5
17789 ac_cv_type_fsblkcnt_t
=no
17791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17793 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17794 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17795 if test $ac_cv_type_fsblkcnt_t = yes; then
17797 cat >>confdefs.h
<<_ACEOF
17798 #define HAVE_FSBLKCNT_T 1
17803 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17804 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17805 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17808 cat >conftest.
$ac_ext <<_ACEOF
17811 cat confdefs.h
>>conftest.
$ac_ext
17812 cat >>conftest.
$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17814 $ac_includes_default
17818 if ((fsfilcnt_t *) 0)
17820 if (sizeof (fsfilcnt_t))
17826 rm -f conftest.
$ac_objext
17827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17828 (eval $ac_compile) 2>conftest.er1
17830 grep -v '^ *+' conftest.er1
>conftest.err
17832 cat conftest.err
>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); } &&
17835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837 (eval $ac_try) 2>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; } &&
17841 { ac_try
='test -s conftest.$ac_objext'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; }; then
17847 ac_cv_type_fsfilcnt_t
=yes
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.
$ac_ext >&5
17852 ac_cv_type_fsfilcnt_t
=no
17854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17856 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17857 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17858 if test $ac_cv_type_fsfilcnt_t = yes; then
17860 cat >>confdefs.h
<<_ACEOF
17861 #define HAVE_FSFILCNT_T 1
17868 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17869 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17870 if test "${wine_cv_linux_input_h+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17873 cat >conftest.
$ac_ext <<_ACEOF
17876 cat confdefs.h
>>conftest.
$ac_ext
17877 cat >>conftest.
$ac_ext <<_ACEOF
17878 /* end confdefs.h. */
17880 #include <linux/input.h>
17886 int foo = EVIOCGBIT(EV_ABS,42);
17887 int bar = BTN_PINKIE;
17894 rm -f conftest.
$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896 (eval $ac_compile) 2>conftest.er1
17898 grep -v '^ *+' conftest.er1
>conftest.err
17900 cat conftest.err
>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } &&
17903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17905 (eval $ac_try) 2>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); }; } &&
17909 { ac_try
='test -s conftest.$ac_objext'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; }; then
17915 wine_cv_linux_input_h
=yes
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17920 wine_cv_linux_input_h
=no
17922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17925 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17926 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17927 if test "$wine_cv_linux_input_h" = "yes"
17930 cat >>confdefs.h
<<\_ACEOF
17931 #define HAVE_CORRECT_LINUXINPUT_H 1
17937 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17938 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17939 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17942 cat >conftest.
$ac_ext <<_ACEOF
17945 cat confdefs.h
>>conftest.
$ac_ext
17946 cat >>conftest.
$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17957 struct hostent *result;
17964 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17965 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17971 rm -f conftest.
$ac_objext conftest
$ac_exeext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17973 (eval $ac_link) 2>conftest.er1
17975 grep -v '^ *+' conftest.er1
>conftest.err
17977 cat conftest.err
>&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; } &&
17986 { ac_try
='test -s conftest$ac_exeext'
17987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988 (eval $ac_try) 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17992 wine_cv_linux_gethostbyname_r_6
=yes
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.
$ac_ext >&5
17997 wine_cv_linux_gethostbyname_r_6
=no
18000 rm -f conftest.err conftest.
$ac_objext \
18001 conftest
$ac_exeext conftest.
$ac_ext
18004 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18005 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
18006 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18009 cat >>confdefs.h
<<\_ACEOF
18010 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18015 if test "$ac_cv_header_linux_joystick_h" = "yes"
18017 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18018 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
18019 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 cat >conftest.
$ac_ext <<_ACEOF
18025 cat confdefs.h
>>conftest.
$ac_ext
18026 cat >>conftest.
$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18029 #include <sys/ioctl.h>
18030 #include <linux/joystick.h>
18032 struct js_event blub;
18033 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18034 #error "no 2.2 header"
18045 rm -f conftest.
$ac_objext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18047 (eval $ac_compile) 2>conftest.er1
18049 grep -v '^ *+' conftest.er1
>conftest.err
18051 cat conftest.err
>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } &&
18054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; } &&
18060 { ac_try
='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 wine_cv_linux_joystick_22_api
=yes
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.
$ac_ext >&5
18071 wine_cv_linux_joystick_22_api
=no
18073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18076 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18077 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
18078 if test "$wine_cv_linux_joystick_22_api" = "yes"
18081 cat >>confdefs.h
<<\_ACEOF
18082 #define HAVE_LINUX_22_JOYSTICK_API 1
18089 if test "$ac_cv_header_sys_vfs_h" = "yes"
18091 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
18092 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
18093 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 cat >conftest.
$ac_ext <<_ACEOF
18099 cat confdefs.h
>>conftest.
$ac_ext
18100 cat >>conftest.
$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18103 #include <sys/types.h>
18104 #ifdef HAVE_SYS_PARAM_H
18105 # include <sys/param.h>
18107 #include <sys/vfs.h>
18113 struct statfs stfs;
18115 memset(&stfs,0,sizeof(stfs));
18121 rm -f conftest.
$ac_objext
18122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18123 (eval $ac_compile) 2>conftest.er1
18125 grep -v '^ *+' conftest.er1
>conftest.err
18127 cat conftest.err
>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } &&
18130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; } &&
18136 { ac_try
='test -s conftest.$ac_objext'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; }; then
18142 wine_cv_sys_vfs_has_statfs
=yes
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.
$ac_ext >&5
18147 wine_cv_sys_vfs_has_statfs
=no
18150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18153 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18154 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18155 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18158 cat >>confdefs.h
<<\_ACEOF
18159 #define STATFS_DEFINED_BY_SYS_VFS 1
18165 if test "$ac_cv_header_sys_statfs_h" = "yes"
18167 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18168 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18169 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18179 #include <sys/types.h>
18180 #ifdef HAVE_SYS_PARAM_H
18181 # include <sys/param.h>
18183 #include <sys/statfs.h>
18189 struct statfs stfs;
18195 rm -f conftest.
$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18199 grep -v '^ *+' conftest.er1
>conftest.err
18201 cat conftest.err
>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try
='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18216 wine_cv_sys_statfs_has_statfs
=yes
18218 echo "$as_me: failed program was:" >&5
18219 sed 's/^/| /' conftest.
$ac_ext >&5
18221 wine_cv_sys_statfs_has_statfs
=no
18224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18227 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18228 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18229 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18232 cat >>confdefs.h
<<\_ACEOF
18233 #define STATFS_DEFINED_BY_SYS_STATFS 1
18239 if test "$ac_cv_header_sys_mount_h" = "yes"
18241 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18242 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18243 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18246 cat >conftest.
$ac_ext <<_ACEOF
18249 cat confdefs.h
>>conftest.
$ac_ext
18250 cat >>conftest.
$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18253 #include <sys/types.h>
18254 #ifdef HAVE_SYS_PARAM_H
18255 # include <sys/param.h>
18257 #include <sys/mount.h>
18263 struct statfs stfs;
18269 rm -f conftest.
$ac_objext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18271 (eval $ac_compile) 2>conftest.er1
18273 grep -v '^ *+' conftest.er1
>conftest.err
18275 cat conftest.err
>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try
='test -s conftest.$ac_objext'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; }; then
18290 wine_cv_sys_mount_has_statfs
=yes
18292 echo "$as_me: failed program was:" >&5
18293 sed 's/^/| /' conftest.
$ac_ext >&5
18295 wine_cv_sys_mount_has_statfs
=no
18298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18301 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18302 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18303 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18306 cat >>confdefs.h
<<\_ACEOF
18307 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18314 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18315 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18316 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 cat >conftest.
$ac_ext <<_ACEOF
18322 cat confdefs.h
>>conftest.
$ac_ext
18323 cat >>conftest.
$ac_ext <<_ACEOF
18324 /* end confdefs.h. */
18325 #include <sys/types.h>
18326 #ifdef HAVE_SYS_PARAM_H
18327 # include <sys/param.h>
18329 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18330 # include <sys/mount.h>
18332 # ifdef STATFS_DEFINED_BY_SYS_VFS
18333 # include <sys/vfs.h>
18335 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18336 # include <sys/statfs.h>
18344 static struct statfs ac_aggr;
18345 if (ac_aggr.f_bfree)
18351 rm -f conftest.
$ac_objext
18352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18353 (eval $ac_compile) 2>conftest.er1
18355 grep -v '^ *+' conftest.er1
>conftest.err
18357 cat conftest.err
>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } &&
18360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try
='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 ac_cv_member_struct_statfs_f_bfree
=yes
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.
$ac_ext >&5
18377 cat >conftest.
$ac_ext <<_ACEOF
18380 cat confdefs.h
>>conftest.
$ac_ext
18381 cat >>conftest.
$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 #include <sys/types.h>
18384 #ifdef HAVE_SYS_PARAM_H
18385 # include <sys/param.h>
18387 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18388 # include <sys/mount.h>
18390 # ifdef STATFS_DEFINED_BY_SYS_VFS
18391 # include <sys/vfs.h>
18393 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18394 # include <sys/statfs.h>
18402 static struct statfs ac_aggr;
18403 if (sizeof ac_aggr.f_bfree)
18409 rm -f conftest.
$ac_objext
18410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18411 (eval $ac_compile) 2>conftest.er1
18413 grep -v '^ *+' conftest.er1
>conftest.err
18415 cat conftest.err
>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } &&
18418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; } &&
18424 { ac_try
='test -s conftest.$ac_objext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 ac_cv_member_struct_statfs_f_bfree
=yes
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 ac_cv_member_struct_statfs_f_bfree
=no
18437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18441 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18442 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18443 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18445 cat >>confdefs.h
<<_ACEOF
18446 #define HAVE_STRUCT_STATFS_F_BFREE 1
18451 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18452 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18453 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18456 cat >conftest.
$ac_ext <<_ACEOF
18459 cat confdefs.h
>>conftest.
$ac_ext
18460 cat >>conftest.
$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 #include <sys/types.h>
18463 #ifdef HAVE_SYS_PARAM_H
18464 # include <sys/param.h>
18466 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18467 # include <sys/mount.h>
18469 # ifdef STATFS_DEFINED_BY_SYS_VFS
18470 # include <sys/vfs.h>
18472 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18473 # include <sys/statfs.h>
18481 static struct statfs ac_aggr;
18482 if (ac_aggr.f_bavail)
18488 rm -f conftest.
$ac_objext
18489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18490 (eval $ac_compile) 2>conftest.er1
18492 grep -v '^ *+' conftest.er1
>conftest.err
18494 cat conftest.err
>&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } &&
18497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; } &&
18503 { ac_try
='test -s conftest.$ac_objext'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; }; then
18509 ac_cv_member_struct_statfs_f_bavail
=yes
18511 echo "$as_me: failed program was:" >&5
18512 sed 's/^/| /' conftest.
$ac_ext >&5
18514 cat >conftest.
$ac_ext <<_ACEOF
18517 cat confdefs.h
>>conftest.
$ac_ext
18518 cat >>conftest.
$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18520 #include <sys/types.h>
18521 #ifdef HAVE_SYS_PARAM_H
18522 # include <sys/param.h>
18524 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18525 # include <sys/mount.h>
18527 # ifdef STATFS_DEFINED_BY_SYS_VFS
18528 # include <sys/vfs.h>
18530 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18531 # include <sys/statfs.h>
18539 static struct statfs ac_aggr;
18540 if (sizeof ac_aggr.f_bavail)
18546 rm -f conftest.
$ac_objext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>conftest.er1
18550 grep -v '^ *+' conftest.er1
>conftest.err
18552 cat conftest.err
>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } &&
18561 { ac_try
='test -s conftest.$ac_objext'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; }; then
18567 ac_cv_member_struct_statfs_f_bavail
=yes
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.
$ac_ext >&5
18572 ac_cv_member_struct_statfs_f_bavail
=no
18574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18578 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18579 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18580 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18582 cat >>confdefs.h
<<_ACEOF
18583 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18588 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18589 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18590 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 cat >conftest.
$ac_ext <<_ACEOF
18596 cat confdefs.h
>>conftest.
$ac_ext
18597 cat >>conftest.
$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 #include <sys/types.h>
18600 #ifdef HAVE_SYS_PARAM_H
18601 # include <sys/param.h>
18603 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18604 # include <sys/mount.h>
18606 # ifdef STATFS_DEFINED_BY_SYS_VFS
18607 # include <sys/vfs.h>
18609 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18610 # include <sys/statfs.h>
18618 static struct statfs ac_aggr;
18619 if (ac_aggr.f_frsize)
18625 rm -f conftest.
$ac_objext
18626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18627 (eval $ac_compile) 2>conftest.er1
18629 grep -v '^ *+' conftest.er1
>conftest.err
18631 cat conftest.err
>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } &&
18634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; } &&
18640 { ac_try
='test -s conftest.$ac_objext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18646 ac_cv_member_struct_statfs_f_frsize
=yes
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 cat >conftest.
$ac_ext <<_ACEOF
18654 cat confdefs.h
>>conftest.
$ac_ext
18655 cat >>conftest.
$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 #include <sys/types.h>
18658 #ifdef HAVE_SYS_PARAM_H
18659 # include <sys/param.h>
18661 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18662 # include <sys/mount.h>
18664 # ifdef STATFS_DEFINED_BY_SYS_VFS
18665 # include <sys/vfs.h>
18667 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18668 # include <sys/statfs.h>
18676 static struct statfs ac_aggr;
18677 if (sizeof ac_aggr.f_frsize)
18683 rm -f conftest.
$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18687 grep -v '^ *+' conftest.er1
>conftest.err
18689 cat conftest.err
>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try
='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_cv_member_struct_statfs_f_frsize
=yes
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.
$ac_ext >&5
18709 ac_cv_member_struct_statfs_f_frsize
=no
18711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18715 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18716 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18717 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18719 cat >>confdefs.h
<<_ACEOF
18720 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18725 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18726 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18727 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 cat >conftest.
$ac_ext <<_ACEOF
18733 cat confdefs.h
>>conftest.
$ac_ext
18734 cat >>conftest.
$ac_ext <<_ACEOF
18735 /* end confdefs.h. */
18736 #include <sys/types.h>
18737 #ifdef HAVE_SYS_PARAM_H
18738 # include <sys/param.h>
18740 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18741 # include <sys/mount.h>
18743 # ifdef STATFS_DEFINED_BY_SYS_VFS
18744 # include <sys/vfs.h>
18746 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18747 # include <sys/statfs.h>
18755 static struct statfs ac_aggr;
18756 if (ac_aggr.f_ffree)
18762 rm -f conftest.
$ac_objext
18763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18764 (eval $ac_compile) 2>conftest.er1
18766 grep -v '^ *+' conftest.er1
>conftest.err
18768 cat conftest.err
>&5
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); } &&
18771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; } &&
18777 { ac_try
='test -s conftest.$ac_objext'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; }; then
18783 ac_cv_member_struct_statfs_f_ffree
=yes
18785 echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.
$ac_ext >&5
18788 cat >conftest.
$ac_ext <<_ACEOF
18791 cat confdefs.h
>>conftest.
$ac_ext
18792 cat >>conftest.
$ac_ext <<_ACEOF
18793 /* end confdefs.h. */
18794 #include <sys/types.h>
18795 #ifdef HAVE_SYS_PARAM_H
18796 # include <sys/param.h>
18798 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18799 # include <sys/mount.h>
18801 # ifdef STATFS_DEFINED_BY_SYS_VFS
18802 # include <sys/vfs.h>
18804 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18805 # include <sys/statfs.h>
18813 static struct statfs ac_aggr;
18814 if (sizeof ac_aggr.f_ffree)
18820 rm -f conftest.
$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try
='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_cv_member_struct_statfs_f_ffree
=yes
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.
$ac_ext >&5
18846 ac_cv_member_struct_statfs_f_ffree
=no
18848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18852 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18853 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18854 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18856 cat >>confdefs.h
<<_ACEOF
18857 #define HAVE_STRUCT_STATFS_F_FFREE 1
18862 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18863 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18864 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18867 cat >conftest.
$ac_ext <<_ACEOF
18870 cat confdefs.h
>>conftest.
$ac_ext
18871 cat >>conftest.
$ac_ext <<_ACEOF
18872 /* end confdefs.h. */
18873 #include <sys/types.h>
18874 #ifdef HAVE_SYS_PARAM_H
18875 # include <sys/param.h>
18877 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18878 # include <sys/mount.h>
18880 # ifdef STATFS_DEFINED_BY_SYS_VFS
18881 # include <sys/vfs.h>
18883 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18884 # include <sys/statfs.h>
18892 static struct statfs ac_aggr;
18893 if (ac_aggr.f_favail)
18899 rm -f conftest.
$ac_objext
18900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18901 (eval $ac_compile) 2>conftest.er1
18903 grep -v '^ *+' conftest.er1
>conftest.err
18905 cat conftest.err
>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); } &&
18908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910 (eval $ac_try) 2>&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); }; } &&
18914 { ac_try
='test -s conftest.$ac_objext'
18915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18916 (eval $ac_try) 2>&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); }; }; then
18920 ac_cv_member_struct_statfs_f_favail
=yes
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.
$ac_ext >&5
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 #include <sys/types.h>
18932 #ifdef HAVE_SYS_PARAM_H
18933 # include <sys/param.h>
18935 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18936 # include <sys/mount.h>
18938 # ifdef STATFS_DEFINED_BY_SYS_VFS
18939 # include <sys/vfs.h>
18941 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18942 # include <sys/statfs.h>
18950 static struct statfs ac_aggr;
18951 if (sizeof ac_aggr.f_favail)
18957 rm -f conftest.
$ac_objext
18958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18959 (eval $ac_compile) 2>conftest.er1
18961 grep -v '^ *+' conftest.er1
>conftest.err
18963 cat conftest.err
>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } &&
18966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try
='test -s conftest.$ac_objext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_member_struct_statfs_f_favail
=yes
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.
$ac_ext >&5
18983 ac_cv_member_struct_statfs_f_favail
=no
18985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18989 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18990 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18991 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18993 cat >>confdefs.h
<<_ACEOF
18994 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18999 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19000 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
19001 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 cat >conftest.
$ac_ext <<_ACEOF
19007 cat confdefs.h
>>conftest.
$ac_ext
19008 cat >>conftest.
$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 #include <sys/types.h>
19011 #ifdef HAVE_SYS_PARAM_H
19012 # include <sys/param.h>
19014 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19015 # include <sys/mount.h>
19017 # ifdef STATFS_DEFINED_BY_SYS_VFS
19018 # include <sys/vfs.h>
19020 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19021 # include <sys/statfs.h>
19029 static struct statfs ac_aggr;
19030 if (ac_aggr.f_namelen)
19036 rm -f conftest.
$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1
>conftest.err
19042 cat conftest.err
>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try
='test -s conftest.$ac_objext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19057 ac_cv_member_struct_statfs_f_namelen
=yes
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.
$ac_ext >&5
19062 cat >conftest.
$ac_ext <<_ACEOF
19065 cat confdefs.h
>>conftest.
$ac_ext
19066 cat >>conftest.
$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 #include <sys/types.h>
19069 #ifdef HAVE_SYS_PARAM_H
19070 # include <sys/param.h>
19072 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19073 # include <sys/mount.h>
19075 # ifdef STATFS_DEFINED_BY_SYS_VFS
19076 # include <sys/vfs.h>
19078 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19079 # include <sys/statfs.h>
19087 static struct statfs ac_aggr;
19088 if (sizeof ac_aggr.f_namelen)
19094 rm -f conftest.
$ac_objext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19096 (eval $ac_compile) 2>conftest.er1
19098 grep -v '^ *+' conftest.er1
>conftest.err
19100 cat conftest.err
>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try
='test -s conftest.$ac_objext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 ac_cv_member_struct_statfs_f_namelen
=yes
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.
$ac_ext >&5
19120 ac_cv_member_struct_statfs_f_namelen
=no
19122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19127 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19128 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19130 cat >>confdefs.h
<<_ACEOF
19131 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19138 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19139 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19140 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19141 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 cat >conftest.
$ac_ext <<_ACEOF
19146 cat confdefs.h
>>conftest.
$ac_ext
19147 cat >>conftest.
$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149 #ifdef HAVE_SYS_STATVFS_H
19150 #include <sys/statvfs.h>
19156 static struct statvfs ac_aggr;
19157 if (ac_aggr.f_blocks)
19163 rm -f conftest.
$ac_objext
19164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19165 (eval $ac_compile) 2>conftest.er1
19167 grep -v '^ *+' conftest.er1
>conftest.err
19169 cat conftest.err
>&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } &&
19172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; } &&
19178 { ac_try
='test -s conftest.$ac_objext'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; }; then
19184 ac_cv_member_struct_statvfs_f_blocks
=yes
19186 echo "$as_me: failed program was:" >&5
19187 sed 's/^/| /' conftest.
$ac_ext >&5
19189 cat >conftest.
$ac_ext <<_ACEOF
19192 cat confdefs.h
>>conftest.
$ac_ext
19193 cat >>conftest.
$ac_ext <<_ACEOF
19194 /* end confdefs.h. */
19195 #ifdef HAVE_SYS_STATVFS_H
19196 #include <sys/statvfs.h>
19202 static struct statvfs ac_aggr;
19203 if (sizeof ac_aggr.f_blocks)
19209 rm -f conftest.
$ac_objext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19211 (eval $ac_compile) 2>conftest.er1
19213 grep -v '^ *+' conftest.er1
>conftest.err
19215 cat conftest.err
>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try
='test -s conftest.$ac_objext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_cv_member_struct_statvfs_f_blocks
=yes
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.
$ac_ext >&5
19235 ac_cv_member_struct_statvfs_f_blocks
=no
19237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19241 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19242 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19243 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19245 cat >>confdefs.h
<<_ACEOF
19246 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19253 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19254 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19255 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19256 echo $ECHO_N "(cached) $ECHO_C" >&6
19258 cat >conftest.
$ac_ext <<_ACEOF
19261 cat confdefs.h
>>conftest.
$ac_ext
19262 cat >>conftest.
$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19264 #include <sys/types.h>
19265 #ifdef HAVE_SYS_SOCKET_H
19266 # include <sys/socket.h>
19268 #ifdef HAVE_SYS_UN_H
19269 # include <sys/un.h>
19275 static struct msghdr ac_aggr;
19276 if (ac_aggr.msg_accrights)
19282 rm -f conftest.
$ac_objext
19283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19284 (eval $ac_compile) 2>conftest.er1
19286 grep -v '^ *+' conftest.er1
>conftest.err
19288 cat conftest.err
>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } &&
19291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; } &&
19297 { ac_try
='test -s conftest.$ac_objext'
19298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19299 (eval $ac_try) 2>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); }; }; then
19303 ac_cv_member_struct_msghdr_msg_accrights
=yes
19305 echo "$as_me: failed program was:" >&5
19306 sed 's/^/| /' conftest.
$ac_ext >&5
19308 cat >conftest.
$ac_ext <<_ACEOF
19311 cat confdefs.h
>>conftest.
$ac_ext
19312 cat >>conftest.
$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 #include <sys/types.h>
19315 #ifdef HAVE_SYS_SOCKET_H
19316 # include <sys/socket.h>
19318 #ifdef HAVE_SYS_UN_H
19319 # include <sys/un.h>
19325 static struct msghdr ac_aggr;
19326 if (sizeof ac_aggr.msg_accrights)
19332 rm -f conftest.
$ac_objext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19334 (eval $ac_compile) 2>conftest.er1
19336 grep -v '^ *+' conftest.er1
>conftest.err
19338 cat conftest.err
>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } &&
19341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; } &&
19347 { ac_try
='test -s conftest.$ac_objext'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; }; then
19353 ac_cv_member_struct_msghdr_msg_accrights
=yes
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.
$ac_ext >&5
19358 ac_cv_member_struct_msghdr_msg_accrights
=no
19360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19364 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19365 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19366 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19368 cat >>confdefs.h
<<_ACEOF
19369 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19374 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19375 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19376 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 cat >conftest.
$ac_ext <<_ACEOF
19382 cat confdefs.h
>>conftest.
$ac_ext
19383 cat >>conftest.
$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 #include <sys/types.h>
19386 #ifdef HAVE_SYS_SOCKET_H
19387 # include <sys/socket.h>
19389 #ifdef HAVE_SYS_UN_H
19390 # include <sys/un.h>
19396 static struct sockaddr ac_aggr;
19397 if (ac_aggr.sa_len)
19403 rm -f conftest.
$ac_objext
19404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19405 (eval $ac_compile) 2>conftest.er1
19407 grep -v '^ *+' conftest.er1
>conftest.err
19409 cat conftest.err
>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; } &&
19418 { ac_try
='test -s conftest.$ac_objext'
19419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19420 (eval $ac_try) 2>&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); }; }; then
19424 ac_cv_member_struct_sockaddr_sa_len
=yes
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.
$ac_ext >&5
19429 cat >conftest.
$ac_ext <<_ACEOF
19432 cat confdefs.h
>>conftest.
$ac_ext
19433 cat >>conftest.
$ac_ext <<_ACEOF
19434 /* end confdefs.h. */
19435 #include <sys/types.h>
19436 #ifdef HAVE_SYS_SOCKET_H
19437 # include <sys/socket.h>
19439 #ifdef HAVE_SYS_UN_H
19440 # include <sys/un.h>
19446 static struct sockaddr ac_aggr;
19447 if (sizeof ac_aggr.sa_len)
19453 rm -f conftest.
$ac_objext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19455 (eval $ac_compile) 2>conftest.er1
19457 grep -v '^ *+' conftest.er1
>conftest.err
19459 cat conftest.err
>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } &&
19462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try
='test -s conftest.$ac_objext'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; }; then
19474 ac_cv_member_struct_sockaddr_sa_len
=yes
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.
$ac_ext >&5
19479 ac_cv_member_struct_sockaddr_sa_len
=no
19481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19485 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19486 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19487 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19489 cat >>confdefs.h
<<_ACEOF
19490 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19495 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19496 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19497 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 cat >conftest.
$ac_ext <<_ACEOF
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 #include <sys/types.h>
19507 #ifdef HAVE_SYS_SOCKET_H
19508 # include <sys/socket.h>
19510 #ifdef HAVE_SYS_UN_H
19511 # include <sys/un.h>
19517 static struct sockaddr_un ac_aggr;
19518 if (ac_aggr.sun_len)
19524 rm -f conftest.
$ac_objext
19525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19526 (eval $ac_compile) 2>conftest.er1
19528 grep -v '^ *+' conftest.er1
>conftest.err
19530 cat conftest.err
>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } &&
19533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; } &&
19539 { ac_try
='test -s conftest.$ac_objext'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; }; then
19545 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.
$ac_ext >&5
19550 cat >conftest.
$ac_ext <<_ACEOF
19553 cat confdefs.h
>>conftest.
$ac_ext
19554 cat >>conftest.
$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 #include <sys/types.h>
19557 #ifdef HAVE_SYS_SOCKET_H
19558 # include <sys/socket.h>
19560 #ifdef HAVE_SYS_UN_H
19561 # include <sys/un.h>
19567 static struct sockaddr_un ac_aggr;
19568 if (sizeof ac_aggr.sun_len)
19574 rm -f conftest.
$ac_objext
19575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19576 (eval $ac_compile) 2>conftest.er1
19578 grep -v '^ *+' conftest.er1
>conftest.err
19580 cat conftest.err
>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } &&
19583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try
='test -s conftest.$ac_objext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.
$ac_ext >&5
19600 ac_cv_member_struct_sockaddr_un_sun_len
=no
19602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19606 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19607 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19608 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19610 cat >>confdefs.h
<<_ACEOF
19611 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19618 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19619 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19620 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 cat >conftest.
$ac_ext <<_ACEOF
19626 cat confdefs.h
>>conftest.
$ac_ext
19627 cat >>conftest.
$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #include <signal.h>
19634 static siginfo_t ac_aggr;
19641 rm -f conftest.
$ac_objext
19642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19643 (eval $ac_compile) 2>conftest.er1
19645 grep -v '^ *+' conftest.er1
>conftest.err
19647 cat conftest.err
>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } &&
19650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; } &&
19656 { ac_try
='test -s conftest.$ac_objext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19662 ac_cv_member_siginfo_t_si_fd
=yes
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.
$ac_ext >&5
19667 cat >conftest.
$ac_ext <<_ACEOF
19670 cat confdefs.h
>>conftest.
$ac_ext
19671 cat >>conftest.
$ac_ext <<_ACEOF
19672 /* end confdefs.h. */
19673 #include <signal.h>
19678 static siginfo_t ac_aggr;
19679 if (sizeof ac_aggr.si_fd)
19685 rm -f conftest.
$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687 (eval $ac_compile) 2>conftest.er1
19689 grep -v '^ *+' conftest.er1
>conftest.err
19691 cat conftest.err
>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; } &&
19700 { ac_try
='test -s conftest.$ac_objext'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; }; then
19706 ac_cv_member_siginfo_t_si_fd
=yes
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.
$ac_ext >&5
19711 ac_cv_member_siginfo_t_si_fd
=no
19713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19717 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19718 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19719 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19721 cat >>confdefs.h
<<_ACEOF
19722 #define HAVE_SIGINFO_T_SI_FD 1
19729 echo "$as_me:$LINENO: checking for struct option.name" >&5
19730 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19731 if test "${ac_cv_member_struct_option_name+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19734 cat >conftest.
$ac_ext <<_ACEOF
19737 cat confdefs.h
>>conftest.
$ac_ext
19738 cat >>conftest.
$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 #ifdef HAVE_GETOPT_H
19741 #include <getopt.h>
19747 static struct option ac_aggr;
19754 rm -f conftest.
$ac_objext
19755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19756 (eval $ac_compile) 2>conftest.er1
19758 grep -v '^ *+' conftest.er1
>conftest.err
19760 cat conftest.err
>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try
='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 ac_cv_member_struct_option_name
=yes
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.
$ac_ext >&5
19780 cat >conftest.
$ac_ext <<_ACEOF
19783 cat confdefs.h
>>conftest.
$ac_ext
19784 cat >>conftest.
$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 #ifdef HAVE_GETOPT_H
19787 #include <getopt.h>
19793 static struct option ac_aggr;
19794 if (sizeof ac_aggr.name)
19800 rm -f conftest.
$ac_objext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802 (eval $ac_compile) 2>conftest.er1
19804 grep -v '^ *+' conftest.er1
>conftest.err
19806 cat conftest.err
>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; } &&
19815 { ac_try
='test -s conftest.$ac_objext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_member_struct_option_name
=yes
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19826 ac_cv_member_struct_option_name
=no
19828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19832 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19833 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19834 if test $ac_cv_member_struct_option_name = yes; then
19836 cat >>confdefs.h
<<_ACEOF
19837 #define HAVE_STRUCT_OPTION_NAME 1
19844 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19845 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19846 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19847 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 cat >conftest.
$ac_ext <<_ACEOF
19852 cat confdefs.h
>>conftest.
$ac_ext
19853 cat >>conftest.
$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 $ac_includes_default
19859 static struct stat ac_aggr;
19860 if (ac_aggr.st_blocks)
19866 rm -f conftest.
$ac_objext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19868 (eval $ac_compile) 2>conftest.er1
19870 grep -v '^ *+' conftest.er1
>conftest.err
19872 cat conftest.err
>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } &&
19875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try
='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19887 ac_cv_member_struct_stat_st_blocks
=yes
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.
$ac_ext >&5
19892 cat >conftest.
$ac_ext <<_ACEOF
19895 cat confdefs.h
>>conftest.
$ac_ext
19896 cat >>conftest.
$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19902 static struct stat ac_aggr;
19903 if (sizeof ac_aggr.st_blocks)
19909 rm -f conftest.
$ac_objext
19910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19911 (eval $ac_compile) 2>conftest.er1
19913 grep -v '^ *+' conftest.er1
>conftest.err
19915 cat conftest.err
>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try
='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19930 ac_cv_member_struct_stat_st_blocks
=yes
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.
$ac_ext >&5
19935 ac_cv_member_struct_stat_st_blocks
=no
19937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19941 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19942 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19943 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19945 cat >>confdefs.h
<<_ACEOF
19946 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19955 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19956 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19957 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19960 cat >conftest.
$ac_ext <<_ACEOF
19963 cat confdefs.h
>>conftest.
$ac_ext
19964 cat >>conftest.
$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19971 $EGREP "yes" >/dev
/null
2>&1; then
19972 ac_cv_cpp_def___i386__
=yes
19974 ac_cv_cpp_def___i386__
=no
19979 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19980 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19981 if test $ac_cv_cpp_def___i386__ = yes; then
19982 CFLAGS
="$CFLAGS -D__i386__"
19983 LINTFLAGS
="$LINTFLAGS -D__i386__"
19986 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19987 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19988 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19991 cat >conftest.
$ac_ext <<_ACEOF
19994 cat confdefs.h
>>conftest.
$ac_ext
19995 cat >>conftest.
$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
20001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20002 $EGREP "yes" >/dev
/null
2>&1; then
20003 ac_cv_cpp_def___ALPHA__
=yes
20005 ac_cv_cpp_def___ALPHA__
=no
20010 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20011 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
20012 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20013 CFLAGS
="$CFLAGS -D__ALPHA__"
20014 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20017 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20018 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
20019 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20022 cat >conftest.
$ac_ext <<_ACEOF
20025 cat confdefs.h
>>conftest.
$ac_ext
20026 cat >>conftest.
$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20033 $EGREP "yes" >/dev
/null
2>&1; then
20034 ac_cv_cpp_def___sparc__
=yes
20036 ac_cv_cpp_def___sparc__
=no
20041 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20042 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20043 if test $ac_cv_cpp_def___sparc__ = yes; then
20044 CFLAGS
="$CFLAGS -D__sparc__"
20045 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20048 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20049 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20050 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20051 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 cat >conftest.
$ac_ext <<_ACEOF
20056 cat confdefs.h
>>conftest.
$ac_ext
20057 cat >>conftest.
$ac_ext <<_ACEOF
20058 /* end confdefs.h. */
20059 #ifndef __powerpc__
20063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20064 $EGREP "yes" >/dev
/null
2>&1; then
20065 ac_cv_cpp_def___powerpc__
=yes
20067 ac_cv_cpp_def___powerpc__
=no
20072 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20073 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20074 if test $ac_cv_cpp_def___powerpc__ = yes; then
20075 CFLAGS
="$CFLAGS -D__powerpc__"
20076 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20081 case $host_vendor in
20082 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20083 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20084 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 cat >conftest.
$ac_ext <<_ACEOF
20090 cat confdefs.h
>>conftest.
$ac_ext
20091 cat >>conftest.
$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20098 $EGREP "yes" >/dev
/null
2>&1; then
20099 ac_cv_cpp_def___sun__
=yes
20101 ac_cv_cpp_def___sun__
=no
20106 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20107 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20108 if test $ac_cv_cpp_def___sun__ = yes; then
20109 CFLAGS
="$CFLAGS -D__sun__"
20110 LINTFLAGS
="$LINTFLAGS -D__sun__"
20119 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
20121 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
20123 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
20125 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
20127 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
20129 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
20131 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
20133 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
20135 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20137 ac_config_commands
="$ac_config_commands dlls/user/dde"
20139 ac_config_commands
="$ac_config_commands dlls/user/resources"
20141 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20143 ac_config_commands
="$ac_config_commands include/wine"
20145 ac_config_commands
="$ac_config_commands misc"
20147 ac_config_commands
="$ac_config_commands programs/regedit/tests"
20149 ac_config_commands
="$ac_config_commands windows"
20152 MAKE_RULES
=Make.rules
20155 MAKE_DLL_RULES
=dlls
/Makedll.rules
20158 MAKE_TEST_RULES
=dlls
/Maketest.rules
20161 MAKE_LIB_RULES
=libs
/Makelib.rules
20164 MAKE_PROG_RULES
=programs
/Makeprog.rules
20167 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/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/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/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20170 cat >confcache
<<\_ACEOF
20171 # This file is a shell script that caches the results of configure
20172 # tests run on this system so they can be shared between configure
20173 # scripts and configure runs, see configure's option --config-cache.
20174 # It is not useful on other systems. If it contains results you don't
20175 # want to keep, you may remove or edit it.
20177 # config.status only pays attention to the cache file if you give it
20178 # the --recheck option to rerun configure.
20180 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20181 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20182 # following values.
20186 # The following way of writing the cache mishandles newlines in values,
20187 # but we know of no workaround that is simple, portable, and efficient.
20188 # So, don't put newlines in cache variables' values.
20189 # Ultrix sh set writes to stderr and can't be redirected directly,
20190 # and sets the high bit in the cache file unless we assign to the vars.
20193 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20195 # `set' does not quote correctly, so add quotes (double-quote
20196 # substitution turns \\\\ into \\, and sed turns \\ into \).
20199 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20202 # `set' quotes correctly as required by POSIX, so do not add quotes.
20204 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20211 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20213 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20215 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20216 if test -w $cache_file; then
20217 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20218 cat confcache
>$cache_file
20220 echo "not updating unwritable cache $cache_file"
20225 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20226 # Let make expand exec_prefix.
20227 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20229 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20230 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20231 # trailing colons and then remove the whole line if VPATH becomes empty
20232 # (actually we leave an empty line to preserve line numbers).
20233 if test "x$srcdir" = x.
; then
20234 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20235 s/:*\$(srcdir):*/:/;
20236 s/:*\${srcdir}:*/:/;
20238 s/^\([^=]*=[ ]*\):*/\1/;
20244 DEFS
=-DHAVE_CONFIG_H
20248 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20249 # 1. Remove the extension, and $U if already installed.
20250 ac_i
=`echo "$ac_i" |
20251 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20253 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20254 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20256 LIBOBJS
=$ac_libobjs
20258 LTLIBOBJS
=$ac_ltlibobjs
20262 : ${CONFIG_STATUS=./config.status}
20263 ac_clean_files_save
=$ac_clean_files
20264 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20265 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20266 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20267 cat >$CONFIG_STATUS <<_ACEOF
20269 # Generated by $as_me.
20270 # Run this file to recreate the current configuration.
20271 # Compiler output produced by configure, useful for debugging
20272 # configure, is in config.log if it exists.
20275 ac_cs_recheck=false
20277 SHELL=\${CONFIG_SHELL-$SHELL}
20280 cat >>$CONFIG_STATUS <<\_ACEOF
20281 ## --------------------- ##
20282 ## M4sh Initialization. ##
20283 ## --------------------- ##
20285 # Be Bourne compatible
20286 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20289 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20290 # is contrary to our usage. Disable this feature.
20291 alias -g '${1+"$@"}'='"$@"'
20292 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20295 DUALCASE
=1; export DUALCASE
# for MKS sh
20297 # Support unset when possible.
20298 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20305 # Work around bugs in pre-3.0 UWIN ksh.
20306 $as_unset ENV MAIL MAILPATH
20313 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20314 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20315 LC_TELEPHONE LC_TIME
20317 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20318 eval $as_var=C
; export $as_var
20324 # Required to use basename.
20325 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20331 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20332 as_basename
=basename
20338 # Name of the executable.
20339 as_me
=`$as_basename "$0" ||
20340 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20341 X"$0" : 'X\(//\)$' \| \
20342 X"$0" : 'X\(/\)$' \| \
20343 . : '\(.\)' 2>/dev/null ||
20345 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20346 /^X\/\(\/\/\)$/{ s//\1/; q; }
20347 /^X\/\(\/\).*/{ s//\1/; q; }
20351 # PATH needs CR, and LINENO needs CR and PATH.
20352 # Avoid depending upon Character Ranges.
20353 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20354 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20355 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20356 as_cr_digits
='0123456789'
20357 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20359 # The user is always right.
20360 if test "${PATH_SEPARATOR+set}" != set; then
20361 echo "#! /bin/sh" >conf$$.sh
20362 echo "exit 0" >>conf$$.sh
20364 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20373 as_lineno_1
=$LINENO
20374 as_lineno_2
=$LINENO
20375 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20376 test "x$as_lineno_1" != "x$as_lineno_2" &&
20377 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20378 # Find who we are. Look in the path if we contain no path at all
20381 *[\\/]* ) as_myself
=$0 ;;
20382 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20383 for as_dir
in $PATH
20386 test -z "$as_dir" && as_dir
=.
20387 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20392 # We did not find ourselves, most probably we were run as `sh COMMAND'
20393 # in which case we are not to be found in the path.
20394 if test "x$as_myself" = x
; then
20397 if test ! -f "$as_myself"; then
20398 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20399 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20400 { (exit 1); exit 1; }; }
20402 case $CONFIG_SHELL in
20404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20405 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20408 test -z "$as_dir" && as_dir
=.
20409 for as_base
in sh bash ksh sh5
; do
20412 if ("$as_dir/$as_base" -c '
20413 as_lineno_1=$LINENO
20414 as_lineno_2=$LINENO
20415 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20416 test "x$as_lineno_1" != "x$as_lineno_2" &&
20417 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20418 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20419 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20420 CONFIG_SHELL
=$as_dir/$as_base
20421 export CONFIG_SHELL
20422 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20431 # uniformly replaced by the line number. The first 'sed' inserts a
20432 # line-number line before each line; the second 'sed' does the real
20433 # work. The second script uses 'N' to pair each line-number line
20434 # with the numbered line, and appends trailing '-' during
20435 # substitution so that $LINENO is not a special case at line end.
20436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20437 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20438 sed '=' <$as_myself |
20443 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20446 s,^['$as_cr_digits']*\n,,
20447 ' >$as_me.lineno
&&
20448 chmod +x
$as_me.lineno ||
20449 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20450 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20451 { (exit 1); exit 1; }; }
20453 # Don't try to exec as it changes $[0], causing all sort of problems
20454 # (the dirname of $[0] is not the place where we might find the
20455 # original and so on. Autoconf is especially sensible to this).
20457 # Exit status is that of the last command.
20462 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20463 *c
*,-n*) ECHO_N
= ECHO_C
='
20465 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20466 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20469 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20475 rm -f conf$$ conf$$.exe conf$$.
file
20477 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20478 # We could just check for DJGPP; but this test a) works b) is more generic
20479 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20480 if test -f conf$$.exe
; then
20481 # Don't use ln at all; we don't have any links
20486 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20491 rm -f conf$$ conf$$.exe conf$$.
file
20493 if mkdir
-p .
2>/dev
/null
; then
20496 test -d .
/-p && rmdir .
/-p
20500 as_executable_p
="test -f"
20502 # Sed expression to map a string onto a valid CPP name.
20503 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20505 # Sed expression to map a string onto a valid variable name.
20506 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20510 # We need space, tab and new line, in precisely that order.
20520 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20521 # report actual input values of CONFIG_FILES etc. instead of their
20522 # values after options handling. Logging --version etc. is OK.
20526 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20527 ## Running $as_me. ##
20532 This file was extended by Wine $as_me 20041019, which was
20533 generated by GNU Autoconf 2.59. Invocation command line was
20535 CONFIG_FILES = $CONFIG_FILES
20536 CONFIG_HEADERS = $CONFIG_HEADERS
20537 CONFIG_LINKS = $CONFIG_LINKS
20538 CONFIG_COMMANDS = $CONFIG_COMMANDS
20542 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20546 # Files that config.status was made for.
20547 if test -n "$ac_config_files"; then
20548 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20551 if test -n "$ac_config_headers"; then
20552 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20555 if test -n "$ac_config_links"; then
20556 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20559 if test -n "$ac_config_commands"; then
20560 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20563 cat >>$CONFIG_STATUS <<\_ACEOF
20566 \`$as_me' instantiates files from templates according to the
20567 current configuration.
20569 Usage: $0 [OPTIONS] [FILE]...
20571 -h, --help print this help, then exit
20572 -V, --version print version number, then exit
20573 -q, --quiet do not print progress messages
20574 -d, --debug don't remove temporary files
20575 --recheck update $as_me by reconfiguring in the same conditions
20576 --file=FILE[:TEMPLATE]
20577 instantiate the configuration file FILE
20578 --header=FILE[:TEMPLATE]
20579 instantiate the configuration header FILE
20581 Configuration files:
20584 Configuration headers:
20587 Configuration commands:
20590 Report bugs to <bug-autoconf@gnu.org>."
20593 cat >>$CONFIG_STATUS <<_ACEOF
20595 Wine config.status 20041019
20596 configured by $0, generated by GNU Autoconf 2.59,
20597 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20599 Copyright (C) 2003 Free Software Foundation, Inc.
20600 This config.status script is free software; the Free Software Foundation
20601 gives unlimited permission to copy, distribute and modify it."
20606 cat >>$CONFIG_STATUS <<\_ACEOF
20607 # If no file are specified by the user, then we need to provide default
20608 # value. By we need to know if files were specified by the user.
20614 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20615 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20623 *) # This is not an option, so the user has probably given explicit
20626 ac_need_defaults
=false
;;
20630 # Handling of the options.
20632 cat >>$CONFIG_STATUS <<\_ACEOF
20633 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20635 --version |
--vers* |
-V )
20636 echo "$ac_cs_version"; exit 0 ;;
20638 # Conflict between --help and --header
20639 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20640 Try \`$0 --help' for more information." >&5
20641 echo "$as_me: error: ambiguous option: $1
20642 Try \`$0 --help' for more information." >&2;}
20643 { (exit 1); exit 1; }; };;
20644 --help |
--hel |
-h )
20645 echo "$ac_cs_usage"; exit 0 ;;
20646 --debug |
--d* |
-d )
20648 --file |
--fil |
--fi |
--f )
20650 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20651 ac_need_defaults
=false
;;
20652 --header |
--heade |
--head |
--hea )
20654 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20655 ac_need_defaults
=false
;;
20656 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20657 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20660 # This is an error.
20661 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20662 Try \`$0 --help' for more information." >&5
20663 echo "$as_me: error: unrecognized option: $1
20664 Try \`$0 --help' for more information." >&2;}
20665 { (exit 1); exit 1; }; } ;;
20667 *) ac_config_targets
="$ac_config_targets $1" ;;
20673 ac_configure_extra_args
=
20675 if $ac_cs_silent; then
20677 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20681 cat >>$CONFIG_STATUS <<_ACEOF
20682 if \$ac_cs_recheck; then
20683 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20684 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20693 cat >>$CONFIG_STATUS <<\_ACEOF
20694 for ac_config_target
in $ac_config_targets
20696 case "$ac_config_target" in
20697 # Handling of arguments.
20698 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20699 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20700 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20701 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20702 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20703 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20704 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20705 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20706 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20707 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20708 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20709 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20710 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20711 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20712 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20713 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20714 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20715 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20716 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20717 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20718 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20719 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20720 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20721 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20722 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20723 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20724 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20725 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20726 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20727 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20728 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20729 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20730 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20731 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20732 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20733 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20734 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20735 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20736 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20737 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20738 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20739 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20740 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20741 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20742 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20743 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20744 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20745 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20746 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20747 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20748 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20749 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20750 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20751 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20752 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20753 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20754 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20755 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20756 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20757 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20758 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20759 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20760 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20761 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20762 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20763 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20764 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20765 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20766 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20767 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20768 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20769 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20770 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20771 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20772 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20773 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20774 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20775 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20776 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20777 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20778 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20779 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20780 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20781 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20782 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20783 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20784 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20785 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20786 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20787 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20788 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20789 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20790 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20791 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20792 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20793 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20794 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20795 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20796 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20797 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20798 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20799 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20800 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20801 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20802 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20803 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20804 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20805 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20806 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20807 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20808 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20809 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20810 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20811 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20812 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20813 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20814 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20815 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20816 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20817 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20818 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20819 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20820 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20821 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20822 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20823 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20824 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20825 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20826 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20827 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20828 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20829 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20830 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20831 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20832 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20833 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20834 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20835 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20836 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20837 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20838 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20839 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20840 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20841 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20842 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20843 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20844 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20845 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20846 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20847 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20848 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20849 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20850 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20851 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20852 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20853 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20854 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20855 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20856 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20857 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20858 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20859 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20860 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20861 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20862 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20863 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20864 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20865 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20866 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20867 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20868 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20869 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20870 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20871 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20872 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20873 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20874 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20875 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20876 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20877 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20878 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20879 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20880 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20881 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20882 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20883 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20884 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20885 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20886 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20887 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20888 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20889 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20890 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20891 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20892 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20893 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20894 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20895 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20896 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20897 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20898 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20899 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20900 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20901 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20902 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20903 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20904 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20905 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20906 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20907 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20908 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20909 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20910 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20911 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20912 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20913 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20914 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20915 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20916 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20917 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20918 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20919 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20920 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20921 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20922 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20923 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20924 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20925 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20926 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20927 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20928 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20929 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20930 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20931 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20932 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20933 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20934 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20935 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20936 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20937 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20938 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20939 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20940 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20941 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20942 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20943 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20944 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20945 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20946 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20947 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20948 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20949 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20950 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20951 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20952 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20953 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20954 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20955 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20956 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20957 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20958 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20959 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20960 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20961 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20962 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20963 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20964 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20965 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20966 { (exit 1); exit 1; }; };;
20970 # If the user did not use the arguments to specify the items to instantiate,
20971 # then the envvar interface is used. Set only those that are not.
20972 # We use the long form for the default assignment because of an extremely
20973 # bizarre bug on SunOS 4.1.3.
20974 if $ac_need_defaults; then
20975 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20976 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20977 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20980 # Have a temporary directory for convenience. Make it in the build tree
20981 # simply because there is no reason to put it here, and in addition,
20982 # creating and moving files from /tmp can sometimes cause problems.
20983 # Create a temporary directory, and hook for its removal unless debugging.
20986 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20987 trap '{ (exit 1); exit 1; }' 1 2 13 15
20990 # Create a (secure) tmp directory for tmp files.
20993 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20994 test -n "$tmp" && test -d "$tmp"
20997 tmp
=.
/confstat$$
-$RANDOM
20998 (umask 077 && mkdir
$tmp)
21001 echo "$me: cannot create a temporary directory in ." >&2
21002 { (exit 1); exit 1; }
21007 cat >>$CONFIG_STATUS <<_ACEOF
21010 # CONFIG_FILES section.
21013 # No need to generate the scripts if there are no CONFIG_FILES.
21014 # This happens for instance when ./config.status config.h
21015 if test -n "\$CONFIG_FILES"; then
21016 # Protect against being on the right side of a sed subst in config.status.
21017 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21018 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21019 s,@SHELL@,$SHELL,;t t
21020 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21021 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21022 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21023 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21024 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21025 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21026 s,@exec_prefix@,$exec_prefix,;t t
21027 s,@prefix@,$prefix,;t t
21028 s,@program_transform_name@,$program_transform_name,;t t
21029 s,@bindir@,$bindir,;t t
21030 s,@sbindir@,$sbindir,;t t
21031 s,@libexecdir@,$libexecdir,;t t
21032 s,@datadir@,$datadir,;t t
21033 s,@sysconfdir@,$sysconfdir,;t t
21034 s,@sharedstatedir@,$sharedstatedir,;t t
21035 s,@localstatedir@,$localstatedir,;t t
21036 s,@libdir@,$libdir,;t t
21037 s,@includedir@,$includedir,;t t
21038 s,@oldincludedir@,$oldincludedir,;t t
21039 s,@infodir@,$infodir,;t t
21040 s,@mandir@,$mandir,;t t
21041 s,@build_alias@,$build_alias,;t t
21042 s,@host_alias@,$host_alias,;t t
21043 s,@target_alias@,$target_alias,;t t
21044 s,@DEFS@,$DEFS,;t t
21045 s,@ECHO_C@,$ECHO_C,;t t
21046 s,@ECHO_N@,$ECHO_N,;t t
21047 s,@ECHO_T@,$ECHO_T,;t t
21048 s,@LIBS@,$LIBS,;t t
21049 s,@WIN16_FILES@,$WIN16_FILES,;t t
21050 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21051 s,@DLLDEFS@,$DLLDEFS,;t t
21052 s,@build@,$build,;t t
21053 s,@build_cpu@,$build_cpu,;t t
21054 s,@build_vendor@,$build_vendor,;t t
21055 s,@build_os@,$build_os,;t t
21056 s,@host@,$host,;t t
21057 s,@host_cpu@,$host_cpu,;t t
21058 s,@host_vendor@,$host_vendor,;t t
21059 s,@host_os@,$host_os,;t t
21060 s,@SET_MAKE@,$SET_MAKE,;t t
21062 s,@CFLAGS@,$CFLAGS,;t t
21063 s,@LDFLAGS@,$LDFLAGS,;t t
21064 s,@CPPFLAGS@,$CPPFLAGS,;t t
21065 s,@ac_ct_CC@,$ac_ct_CC,;t t
21066 s,@EXEEXT@,$EXEEXT,;t t
21067 s,@OBJEXT@,$OBJEXT,;t t
21069 s,@CXXFLAGS@,$CXXFLAGS,;t t
21070 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21071 s,@CPPBIN@,$CPPBIN,;t t
21072 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21073 s,@TOOLSDIR@,$TOOLSDIR,;t t
21075 s,@X_CFLAGS@,$X_CFLAGS,;t t
21076 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21077 s,@X_LIBS@,$X_LIBS,;t t
21078 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21080 s,@LEXLIB@,$LEXLIB,;t t
21081 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21082 s,@XLEX@,$XLEX,;t t
21083 s,@BISON@,$BISON,;t t
21085 s,@ac_ct_AS@,$ac_ct_AS,;t t
21087 s,@ac_ct_LD@,$ac_ct_LD,;t t
21089 s,@ac_ct_AR@,$ac_ct_AR,;t t
21090 s,@RANLIB@,$RANLIB,;t t
21091 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21092 s,@STRIP@,$STRIP,;t t
21093 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21094 s,@WINDRES@,$WINDRES,;t t
21095 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21096 s,@LN_S@,$LN_S,;t t
21098 s,@EGREP@,$EGREP,;t t
21099 s,@LDCONFIG@,$LDCONFIG,;t t
21100 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21101 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21102 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21103 s,@LINT@,$LINT,;t t
21104 s,@LINTFLAGS@,$LINTFLAGS,;t t
21105 s,@DB2HTML@,$DB2HTML,;t t
21106 s,@DB2PDF@,$DB2PDF,;t t
21107 s,@DB2PS@,$DB2PS,;t t
21108 s,@DB2TXT@,$DB2TXT,;t t
21109 s,@FONTFORGE@,$FONTFORGE,;t t
21110 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21111 s,@XLIB@,$XLIB,;t t
21112 s,@XFILES@,$XFILES,;t t
21113 s,@OPENGLFILES@,$OPENGLFILES,;t t
21114 s,@GLU32FILES@,$GLU32FILES,;t t
21115 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21116 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21117 s,@GLUT32FILES@,$GLUT32FILES,;t t
21118 s,@NASLIBS@,$NASLIBS,;t t
21119 s,@CURSESLIBS@,$CURSESLIBS,;t t
21120 s,@sane_devel@,$sane_devel,;t t
21121 s,@SANELIBS@,$SANELIBS,;t t
21122 s,@SANEINCL@,$SANEINCL,;t t
21123 s,@ICULIBS@,$ICULIBS,;t t
21124 s,@ft_devel@,$ft_devel,;t t
21125 s,@ft_devel2@,$ft_devel2,;t t
21126 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21127 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21128 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21129 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21130 s,@ARTSLIBS@,$ARTSLIBS,;t t
21131 s,@ARTSINCL@,$ARTSINCL,;t t
21132 s,@ALSALIBS@,$ALSALIBS,;t t
21133 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21134 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21135 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21136 s,@DLLEXT@,$DLLEXT,;t t
21137 s,@DLLFLAGS@,$DLLFLAGS,;t t
21138 s,@DLLIBS@,$DLLIBS,;t t
21139 s,@LDSHARED@,$LDSHARED,;t t
21140 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21141 s,@LIBEXT@,$LIBEXT,;t t
21142 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21143 s,@DLLTOOL@,$DLLTOOL,;t t
21144 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21145 s,@DLLWRAP@,$DLLWRAP,;t t
21146 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21147 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21148 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21149 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21150 s,@IOKITLIB@,$IOKITLIB,;t t
21151 s,@CROSSTEST@,$CROSSTEST,;t t
21152 s,@CROSSCC@,$CROSSCC,;t t
21153 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21154 s,@LDPATH@,$LDPATH,;t t
21155 s,@CRTLIBS@,$CRTLIBS,;t t
21156 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21157 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21158 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21160 s,@ALLOCA@,$ALLOCA,;t t
21161 s,@LIBOBJS@,$LIBOBJS,;t t
21162 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21163 /@MAKE_RULES@/r $MAKE_RULES
21164 s,@MAKE_RULES@,,;t t
21165 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21166 s,@MAKE_DLL_RULES@,,;t t
21167 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21168 s,@MAKE_TEST_RULES@,,;t t
21169 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21170 s,@MAKE_LIB_RULES@,,;t t
21171 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21172 s,@MAKE_PROG_RULES@,,;t t
21177 cat >>$CONFIG_STATUS <<\_ACEOF
21178 # Split the substitutions into bite-sized pieces for seds with
21179 # small command number limits, like on Digital OSF/1 and HP-UX.
21180 ac_max_sed_lines
=48
21181 ac_sed_frag
=1 # Number of current file.
21182 ac_beg
=1 # First line for current file.
21183 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21186 while $ac_more_lines; do
21187 if test $ac_beg -gt 1; then
21188 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21190 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21192 if test ! -s $tmp/subs.frag
; then
21193 ac_more_lines
=false
21195 # The purpose of the label and of the branching condition is to
21196 # speed up the sed processing (if there are no `@' at all, there
21197 # is no need to browse any of the substitutions).
21198 # These are the two extra sed commands mentioned above.
21200 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21201 if test -z "$ac_sed_cmds"; then
21202 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21204 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21206 ac_sed_frag
=`expr $ac_sed_frag + 1`
21208 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21211 if test -z "$ac_sed_cmds"; then
21214 fi # test -n "$CONFIG_FILES"
21217 cat >>$CONFIG_STATUS <<\_ACEOF
21218 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21219 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21221 - |
*:- |
*:-:* ) # input from stdin
21223 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21224 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21225 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21226 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21227 * ) ac_file_in
=$ac_file.
in ;;
21230 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21231 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21232 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21233 X"$ac_file" : 'X\(//\)[^/]' \| \
21234 X"$ac_file" : 'X\(//\)$' \| \
21235 X"$ac_file" : 'X\(/\)' \| \
21236 . : '\(.\)' 2>/dev/null ||
21238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21239 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21240 /^X\(\/\/\)$/{ s//\1/; q; }
21241 /^X\(\/\).*/{ s//\1/; q; }
21243 { if $as_mkdir_p; then
21248 while test ! -d "$as_dir"; do
21249 as_dirs
="$as_dir $as_dirs"
21250 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21251 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21252 X"$as_dir" : 'X\(//\)[^/]' \| \
21253 X"$as_dir" : 'X\(//\)$' \| \
21254 X"$as_dir" : 'X\(/\)' \| \
21255 . : '\(.\)' 2>/dev/null ||
21257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21259 /^X\(\/\/\)$/{ s//\1/; q; }
21260 /^X\(\/\).*/{ s//\1/; q; }
21263 test ! -n "$as_dirs" || mkdir
$as_dirs
21264 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21265 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21266 { (exit 1); exit 1; }; }; }
21270 if test "$ac_dir" != .
; then
21271 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21272 # A "../" for each directory in $ac_dir_suffix.
21273 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21275 ac_dir_suffix
= ac_top_builddir
=
21279 .
) # No --srcdir option. We are building in place.
21281 if test -z "$ac_top_builddir"; then
21284 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21286 [\\/]* | ?
:[\\/]* ) # Absolute path.
21287 ac_srcdir
=$srcdir$ac_dir_suffix;
21288 ac_top_srcdir
=$srcdir ;;
21289 *) # Relative path.
21290 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21291 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21294 # Do not use `cd foo && pwd` to compute absolute paths, because
21295 # the directories may not exist.
21297 .
) ac_abs_builddir
="$ac_dir";;
21300 .
) ac_abs_builddir
=`pwd`;;
21301 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21302 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21305 case $ac_abs_builddir in
21306 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21308 case ${ac_top_builddir}.
in
21309 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21310 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21311 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21314 case $ac_abs_builddir in
21315 .
) ac_abs_srcdir
=$ac_srcdir;;
21318 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21319 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21320 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21323 case $ac_abs_builddir in
21324 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21326 case $ac_top_srcdir in
21327 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21328 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21329 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21335 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21336 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21339 # Let's still pretend it is `configure' which instantiates (i.e., don't
21340 # use $as_me), people would be surprised to read:
21341 # /* config.h. Generated by config.status. */
21342 if test x
"$ac_file" = x-
; then
21345 configure_input
="$ac_file. "
21347 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21348 sed 's,.*/,,'` by configure."
21350 # First look for the input files in the build tree, otherwise in the
21352 ac_file_inputs
=`IFS=:
21353 for f in $ac_file_in; do
21355 -) echo $tmp/stdin ;;
21357 # Absolute (can't be DOS-style, as IFS=:)
21358 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21359 echo "$as_me: error: cannot find input file: $f" >&2;}
21360 { (exit 1); exit 1; }; }
21363 if test -f "$f"; then
21366 elif test -f "$srcdir/$f"; then
21371 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21372 echo "$as_me: error: cannot find input file: $f" >&2;}
21373 { (exit 1); exit 1; }; }
21376 done` ||
{ (exit 1); exit 1; }
21378 if test x
"$ac_file" != x-
; then
21379 { echo "$as_me:$LINENO: creating $ac_file" >&5
21380 echo "$as_me: creating $ac_file" >&6;}
21384 cat >>$CONFIG_STATUS <<_ACEOF
21388 cat >>$CONFIG_STATUS <<\_ACEOF
21390 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21391 s
,@configure_input@
,$configure_input,;t t
21392 s
,@srcdir@
,$ac_srcdir,;t t
21393 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21394 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21395 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21396 s
,@builddir@
,$ac_builddir,;t t
21397 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21398 s
,@top_builddir@
,$ac_top_builddir,;t t
21399 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21400 s
,@INSTALL@
,$ac_INSTALL,;t t
21401 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21403 if test x"$ac_file" != x-; then
21404 mv $tmp/out $ac_file
21412 cat >>$CONFIG_STATUS <<\_ACEOF
21415 # CONFIG_HEADER section.
21418 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21419 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21421 # ac_d sets the value in "#define NAME VALUE" lines.
21422 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21423 ac_dB
='[ ].*$,\1#\2'
21426 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21427 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21428 ac_uB
='$,\1#\2define\3'
21432 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21433 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21435 - |
*:- |
*:-:* ) # input from stdin
21437 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21438 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21439 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21440 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21441 * ) ac_file_in
=$ac_file.
in ;;
21444 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21445 echo "$as_me: creating $ac_file" >&6;}
21447 # First look for the input files in the build tree, otherwise in the
21449 ac_file_inputs
=`IFS=:
21450 for f in $ac_file_in; do
21452 -) echo $tmp/stdin ;;
21454 # Absolute (can't be DOS-style, as IFS=:)
21455 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21456 echo "$as_me: error: cannot find input file: $f" >&2;}
21457 { (exit 1); exit 1; }; }
21458 # Do quote $f, to prevent DOS paths from being IFS'd.
21461 if test -f "$f"; then
21464 elif test -f "$srcdir/$f"; then
21469 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21470 echo "$as_me: error: cannot find input file: $f" >&2;}
21471 { (exit 1); exit 1; }; }
21474 done` ||
{ (exit 1); exit 1; }
21475 # Remove the trailing spaces.
21476 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21480 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21481 # `conftest.undefs', that substitutes the proper values into
21482 # config.h.in to produce config.h. The first handles `#define'
21483 # templates, and the second `#undef' templates.
21484 # And first: Protect against being on the right side of a sed subst in
21485 # config.status. Protect against being in an unquoted here document
21486 # in config.status.
21487 rm -f conftest.defines conftest.undefs
21488 # Using a here document instead of a string reduces the quoting nightmare.
21489 # Putting comments in sed scripts is not portable.
21491 # `end' is used to avoid that the second main sed command (meant for
21492 # 0-ary CPP macros) applies to n-ary macro definitions.
21493 # See the Autoconf documentation for `clear'.
21494 cat >confdef2sed.
sed <<\_ACEOF
21499 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21501 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21504 # If some macros were called several times there might be several times
21505 # the same #defines, which is useless. Nevertheless, we may not want to
21506 # sort them, since we want the *last* AC-DEFINE to be honored.
21507 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21508 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21509 rm -f confdef2sed.sed
21511 # This sed command replaces #undef with comments. This is necessary, for
21512 # example, in the case of _POSIX_SOURCE, which is predefined and required
21513 # on some systems where configure will not decide to define it.
21514 cat >>conftest.undefs <<\_ACEOF
21515 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21518 # Break up conftest.defines because some shells have a limit on the size
21519 # of here documents, and old seds have small limits too (100 cmds).
21520 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21521 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21522 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21523 echo ' :' >>$CONFIG_STATUS
21524 rm -f conftest.tail
21525 while grep . conftest.defines >/dev/null
21527 # Write a limited-size here document to $tmp/defines.sed.
21528 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21529 # Speed up: don't consider the non `#define' lines.
21530 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21531 # Work around the forget-to-reset-the-flag bug.
21532 echo 't clr' >>$CONFIG_STATUS
21533 echo ': clr' >>$CONFIG_STATUS
21534 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21536 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21538 mv $tmp/out $tmp/in
21540 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21541 rm -f conftest.defines
21542 mv conftest.
tail conftest.defines
21544 rm -f conftest.defines
21545 echo ' fi # grep' >>$CONFIG_STATUS
21546 echo >>$CONFIG_STATUS
21548 # Break up conftest.undefs because some shells have a limit on the size
21549 # of here documents, and old seds have small limits too (100 cmds).
21550 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21551 rm -f conftest.
tail
21552 while grep . conftest.undefs
>/dev
/null
21554 # Write a limited-size here document to $tmp/undefs.sed.
21555 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21556 # Speed up: don't consider the non
`#undef'
21557 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21558 # Work around the forget-to-reset-the-flag bug.
21559 echo 't clr' >>$CONFIG_STATUS
21560 echo ': clr' >>$CONFIG_STATUS
21561 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21563 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21565 mv $tmp/out $tmp/in
21567 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21568 rm -f conftest.undefs
21569 mv conftest.tail conftest.undefs
21571 rm -f conftest.undefs
21573 cat >>$CONFIG_STATUS <<\_ACEOF
21574 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21575 # use $as_me), people would be surprised to read:
21576 # /* config.h. Generated by config.status. */
21577 if test x
"$ac_file" = x-
; then
21578 echo "/* Generated by configure. */" >$tmp/config.h
21580 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21582 cat $tmp/in >>$tmp/config.h
21584 if test x
"$ac_file" != x-
; then
21585 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21586 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21587 echo "$as_me: $ac_file is unchanged" >&6;}
21589 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21591 X"$ac_file" : 'X\(//\)[^/]' \| \
21592 X"$ac_file" : 'X\(//\)$' \| \
21593 X"$ac_file" : 'X\(/\)' \| \
21594 . : '\(.\)' 2>/dev/null ||
21596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21597 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21598 /^X\(\/\/\)$/{ s//\1/; q; }
21599 /^X\(\/\).*/{ s//\1/; q; }
21601 { if $as_mkdir_p; then
21606 while test ! -d "$as_dir"; do
21607 as_dirs
="$as_dir $as_dirs"
21608 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21609 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21610 X"$as_dir" : 'X\(//\)[^/]' \| \
21611 X"$as_dir" : 'X\(//\)$' \| \
21612 X"$as_dir" : 'X\(/\)' \| \
21613 . : '\(.\)' 2>/dev/null ||
21615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21616 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21617 /^X\(\/\/\)$/{ s//\1/; q; }
21618 /^X\(\/\).*/{ s//\1/; q; }
21621 test ! -n "$as_dirs" || mkdir
$as_dirs
21622 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21623 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21624 { (exit 1); exit 1; }; }; }
21627 mv $tmp/config.h
$ac_file
21631 rm -f $tmp/config.h
21635 cat >>$CONFIG_STATUS <<\_ACEOF
21638 # CONFIG_COMMANDS section.
21640 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21641 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21642 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21643 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21644 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21645 X"$ac_dest" : 'X\(//\)[^/]' \| \
21646 X"$ac_dest" : 'X\(//\)$' \| \
21647 X"$ac_dest" : 'X\(/\)' \| \
21648 . : '\(.\)' 2>/dev/null ||
21650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21652 /^X\(\/\/\)$/{ s//\1/; q; }
21653 /^X\(\/\).*/{ s//\1/; q; }
21655 { if $as_mkdir_p; then
21660 while test ! -d "$as_dir"; do
21661 as_dirs
="$as_dir $as_dirs"
21662 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21664 X"$as_dir" : 'X\(//\)[^/]' \| \
21665 X"$as_dir" : 'X\(//\)$' \| \
21666 X"$as_dir" : 'X\(/\)' \| \
21667 . : '\(.\)' 2>/dev/null ||
21669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21671 /^X\(\/\/\)$/{ s//\1/; q; }
21672 /^X\(\/\).*/{ s//\1/; q; }
21675 test ! -n "$as_dirs" || mkdir
$as_dirs
21676 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21677 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21678 { (exit 1); exit 1; }; }; }
21682 if test "$ac_dir" != .
; then
21683 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21684 # A "../" for each directory in $ac_dir_suffix.
21685 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21687 ac_dir_suffix
= ac_top_builddir
=
21691 .
) # No --srcdir option. We are building in place.
21693 if test -z "$ac_top_builddir"; then
21696 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21698 [\\/]* | ?
:[\\/]* ) # Absolute path.
21699 ac_srcdir
=$srcdir$ac_dir_suffix;
21700 ac_top_srcdir
=$srcdir ;;
21701 *) # Relative path.
21702 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21703 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21706 # Do not use `cd foo && pwd` to compute absolute paths, because
21707 # the directories may not exist.
21709 .
) ac_abs_builddir
="$ac_dir";;
21712 .
) ac_abs_builddir
=`pwd`;;
21713 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21714 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21717 case $ac_abs_builddir in
21718 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21720 case ${ac_top_builddir}.
in
21721 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21722 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21723 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21726 case $ac_abs_builddir in
21727 .
) ac_abs_srcdir
=$ac_srcdir;;
21730 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21731 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21732 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21735 case $ac_abs_builddir in
21736 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21738 case $ac_top_srcdir in
21739 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21740 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21741 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21746 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21747 echo "$as_me: executing $ac_dest commands" >&6;}
21749 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21750 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21751 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21752 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21753 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21754 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21755 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21756 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21757 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21758 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21759 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21760 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21761 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21762 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21763 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21764 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21765 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21766 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21767 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21768 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21769 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21770 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21771 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21772 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21773 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21774 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21775 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21776 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21777 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21778 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21779 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21780 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21785 cat >>$CONFIG_STATUS <<\_ACEOF
21787 { (exit 0); exit 0; }
21789 chmod +x
$CONFIG_STATUS
21790 ac_clean_files
=$ac_clean_files_save
21793 # configure is writing to config.log, and then calls config.status.
21794 # config.status does its own redirection, appending to config.log.
21795 # Unfortunately, on DOS this fails, as config.log is still kept open
21796 # by configure, so config.status won't be able to write to it; its
21797 # output is simply discarded. So we exec the FD to /dev/null,
21798 # effectively closing config.log, so it can be properly (re)opened and
21799 # appended to by config.status. When coming back to configure, we
21800 # need to make the FD available again.
21801 if test "$no_create" != yes; then
21803 ac_config_status_args
=
21804 test "$silent" = yes &&
21805 ac_config_status_args
="$ac_config_status_args --quiet"
21807 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21809 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21810 # would make configure fail if this is the last instruction.
21811 $ac_cs_success ||
{ (exit 1); exit 1; }
21815 if test "$have_x" = "no"
21818 echo "*** Warning: X development files not found. Wine will be built without"
21819 echo "*** X support, which currently does not work, and would probably not be"
21820 echo "*** what you want anyway. You will need to install devel packages of"
21821 echo "*** Xlib/Xfree86 at the very least."
21824 if test "$wine_cv_opengl_version_OK" = "no"
21827 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21828 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21831 if test "$wine_cv_msg_freetype" = "yes"
21834 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21835 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21836 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21837 echo "*** enable Wine to use TrueType fonts."
21841 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."