2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050725.
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
='20050725'
273 PACKAGE_STRING
='Wine 20050725'
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 DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WIN16_FILES WIN16_INSTALL 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 FONTFORGE PKG_CONFIG LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS XML2LIBS XML2INCL CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS LCMSLIBS LDAPLIBS FREETYPELIBS FREETYPEINCL ft_devel ft_devel2 FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ESDCONFIG ESDLIBS ESDINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD 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 20050725 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 20050725:";;
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
20050725
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 20050725, 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"
1409 if test "x$enable_debug" = "xno"
1411 DLLDEFS
="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1413 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1415 DLLDEFS
="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1418 # Make sure we can run config.sub.
1419 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1420 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1421 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1422 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: checking build system type" >&5
1425 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1426 if test "${ac_cv_build+set}" = set; then
1427 echo $ECHO_N "(cached) $ECHO_C" >&6
1429 ac_cv_build_alias
=$build_alias
1430 test -z "$ac_cv_build_alias" &&
1431 ac_cv_build_alias
=`$ac_config_guess`
1432 test -z "$ac_cv_build_alias" &&
1433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1435 { (exit 1); exit 1; }; }
1436 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1443 echo "${ECHO_T}$ac_cv_build" >&6
1445 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking host system type" >&5
1451 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1452 if test "${ac_cv_host+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_host_alias
=$host_alias
1456 test -z "$ac_cv_host_alias" &&
1457 ac_cv_host_alias
=$ac_cv_build_alias
1458 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1465 echo "${ECHO_T}$ac_cv_host" >&6
1467 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1474 if test "x$enable_win64" != "xyes"
1476 test -n "$CC" || CC
="gcc -m32"
1477 test -n "$LD" || LD
="ld -m elf_i386"
1478 test -n "$AS" || AS
="as --32"
1486 if test "x$enable_win16" != "xno"
1493 WIN16_FILES
="\$(WIN16_FILES)"
1495 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1497 if test "x$enable_win16" != "xyes"
1504 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1506 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1507 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 cat >conftest.
make <<\_ACEOF
1512 @
echo 'ac_maketemp="$(MAKE)"'
1514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1515 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1516 if test -n "$ac_maketemp"; then
1517 eval ac_cv_prog_make_
${ac_make}_set
=yes
1519 eval ac_cv_prog_make_
${ac_make}_set
=no
1523 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1524 echo "$as_me:$LINENO: result: yes" >&5
1525 echo "${ECHO_T}yes" >&6
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1530 SET_MAKE
="MAKE=${MAKE-make}"
1534 ac_cpp
='$CPP $CPPFLAGS'
1535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1538 if test -n "$ac_tool_prefix"; then
1539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1540 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC
="$CC" # Let the user override the test.
1549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir
=.
1554 for ac_exec_ext
in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566 if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568 echo "${ECHO_T}$CC" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1575 if test -z "$ac_cv_prog_CC"; then
1577 # Extract the first word of "gcc", so it can be a program name with args.
1578 set dummy gcc
; ac_word
=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$ac_ct_CC"; then
1585 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1591 test -z "$as_dir" && as_dir
=.
1592 for ac_exec_ext
in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_CC
="gcc"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1603 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1604 if test -n "$ac_ct_CC"; then
1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606 echo "${ECHO_T}$ac_ct_CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1617 if test -z "$CC"; then
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1620 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_CC+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 if test -n "$CC"; then
1627 ac_cv_prog_CC
="$CC" # Let the user override the test.
1629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir
=.
1634 for ac_exec_ext
in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$ac_cv_prog_CC"; then
1657 # Extract the first word of "cc", so it can be a program name with args.
1658 set dummy cc
; ac_word
=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$ac_ct_CC"; then
1665 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir
=.
1672 for ac_exec_ext
in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_CC
="cc"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1684 if test -n "$ac_ct_CC"; then
1685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1686 echo "${ECHO_T}$ac_ct_CC" >&6
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1698 if test -z "$CC"; then
1699 # Extract the first word of "cc", so it can be a program name with args.
1700 set dummy cc
; ac_word
=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -n "$CC"; then
1707 ac_cv_prog_CC
="$CC" # Let the user override the test.
1710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir
=.
1715 for ac_exec_ext
in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1718 ac_prog_rejected
=yes
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 if test $ac_prog_rejected = yes; then
1729 # We found a bogon in the path, so make sure we never use it.
1730 set dummy
$ac_cv_prog_CC
1732 if test $# != 0; then
1733 # We chose a different compiler from the bogus one.
1734 # However, it has the same basename, so the bogon will be chosen
1735 # first if we set CC to just the basename; use the full file name.
1737 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1743 if test -n "$CC"; then
1744 echo "$as_me:$LINENO: result: $CC" >&5
1745 echo "${ECHO_T}$CC" >&6
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1752 if test -z "$CC"; then
1753 if test -n "$ac_tool_prefix"; then
1756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1757 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1758 echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760 if test "${ac_cv_prog_CC+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 if test -n "$CC"; then
1764 ac_cv_prog_CC
="$CC" # Let the user override the test.
1766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir
=.
1771 for ac_exec_ext
in '' $ac_executable_extensions; do
1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 if test -n "$CC"; then
1784 echo "$as_me:$LINENO: result: $CC" >&5
1785 echo "${ECHO_T}$CC" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1791 test -n "$CC" && break
1794 if test -z "$CC"; then
1798 # Extract the first word of "$ac_prog", so it can be a program name with args.
1799 set dummy
$ac_prog; ac_word
=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test -n "$ac_ct_CC"; then
1806 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir
=.
1813 for ac_exec_ext
in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_ac_ct_CC
="$ac_prog"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1833 test -n "$ac_ct_CC" && break
1842 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1843 See \`config.log' for more details." >&5
1844 echo "$as_me: error: no acceptable C compiler found in \$PATH
1845 See \`config.log' for more details." >&2;}
1846 { (exit 1); exit 1; }; }
1848 # Provide some information about the compiler.
1849 echo "$as_me:$LINENO:" \
1850 "checking for C compiler version" >&5
1851 ac_compiler
=`set X $ac_compile; echo $2`
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1853 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1858 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }
1862 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1863 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }
1868 cat >conftest.
$ac_ext <<_ACEOF
1871 cat confdefs.h
>>conftest.
$ac_ext
1872 cat >>conftest.
$ac_ext <<_ACEOF
1873 /* end confdefs.h. */
1883 ac_clean_files_save
=$ac_clean_files
1884 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1885 # Try to create an executable without -o first, disregard a.out.
1886 # It will help us diagnose broken compilers, and finding out an intuition
1888 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1889 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1890 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1891 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1892 (eval $ac_link_default) 2>&5
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; then
1896 # Find the output, starting from the most likely. This scheme is
1897 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1900 # Be careful to initialize this variable, since it used to be cached.
1901 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1903 # b.out is created by i960 compilers.
1904 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1906 test -f "$ac_file" ||
continue
1908 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1911 # This is the source file.
1914 # We found the default executable, but exeext='' is most
1918 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1919 # FIXME: I believe we export ac_cv_exeext for Libtool,
1920 # but it would be cool to find out if it's true. Does anybody
1921 # maintain Libtool? --akim.
1929 echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.
$ac_ext >&5
1932 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1933 See \`config.log' for more details." >&5
1934 echo "$as_me: error: C compiler cannot create executables
1935 See \`config.log' for more details." >&2;}
1936 { (exit 77); exit 77; }; }
1939 ac_exeext
=$ac_cv_exeext
1940 echo "$as_me:$LINENO: result: $ac_file" >&5
1941 echo "${ECHO_T}$ac_file" >&6
1943 # Check the compiler produces executables we can run. If not, either
1944 # the compiler is broken, or we cross compile.
1945 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1946 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1947 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1948 # If not cross compiling, check that we can run a simple program.
1949 if test "$cross_compiling" != yes; then
1950 if { ac_try
='./$ac_file'
1951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; }; then
1958 if test "$cross_compiling" = maybe
; then
1961 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1962 If you meant to cross compile, use \`--host'.
1963 See \`config.log' for more details." >&5
1964 echo "$as_me: error: cannot run C compiled programs.
1965 If you meant to cross compile, use \`--host'.
1966 See \`config.log' for more details." >&2;}
1967 { (exit 1); exit 1; }; }
1971 echo "$as_me:$LINENO: result: yes" >&5
1972 echo "${ECHO_T}yes" >&6
1974 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1975 ac_clean_files
=$ac_clean_files_save
1976 # Check the compiler produces executables we can run. If not, either
1977 # the compiler is broken, or we cross compile.
1978 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1979 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1980 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1981 echo "${ECHO_T}$cross_compiling" >&6
1983 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1984 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1986 (eval $ac_link) 2>&5
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); }; then
1990 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1992 # work properly (i.e., refer to `conftest.exe'), while it won't with
1994 for ac_file
in conftest.exe conftest conftest.
*; do
1995 test -f "$ac_file" ||
continue
1997 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1998 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2005 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2006 See \`config.log' for more details." >&5
2007 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2008 See \`config.log' for more details." >&2;}
2009 { (exit 1); exit 1; }; }
2012 rm -f conftest
$ac_cv_exeext
2013 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2014 echo "${ECHO_T}$ac_cv_exeext" >&6
2016 rm -f conftest.
$ac_ext
2017 EXEEXT
=$ac_cv_exeext
2019 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2020 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2021 if test "${ac_cv_objext+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 cat >conftest.
$ac_ext <<_ACEOF
2027 cat confdefs.h
>>conftest.
$ac_ext
2028 cat >>conftest.
$ac_ext <<_ACEOF
2029 /* end confdefs.h. */
2039 rm -f conftest.o conftest.obj
2040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2041 (eval $ac_compile) 2>&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }; then
2045 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2048 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2053 echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.
$ac_ext >&5
2056 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2057 See \`config.log' for more details." >&5
2058 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2059 See \`config.log' for more details." >&2;}
2060 { (exit 1); exit 1; }; }
2063 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2065 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2066 echo "${ECHO_T}$ac_cv_objext" >&6
2067 OBJEXT
=$ac_cv_objext
2069 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2070 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2071 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 cat >conftest.
$ac_ext <<_ACEOF
2077 cat confdefs.h
>>conftest.
$ac_ext
2078 cat >>conftest.
$ac_ext <<_ACEOF
2079 /* end confdefs.h. */
2092 rm -f conftest.
$ac_objext
2093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>conftest.er1
2096 grep -v '^ *+' conftest.er1
>conftest.err
2098 cat conftest.err
>&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try
='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2115 echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.
$ac_ext >&5
2120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2121 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2124 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2125 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2126 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2127 ac_test_CFLAGS
=${CFLAGS+set}
2128 ac_save_CFLAGS
=$CFLAGS
2130 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2131 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2132 if test "${ac_cv_prog_cc_g+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 cat >conftest.
$ac_ext <<_ACEOF
2138 cat confdefs.h
>>conftest.
$ac_ext
2139 cat >>conftest.
$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2150 rm -f conftest.
$ac_objext
2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2152 (eval $ac_compile) 2>conftest.er1
2154 grep -v '^ *+' conftest.er1
>conftest.err
2156 cat conftest.err
>&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); } &&
2159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; } &&
2165 { ac_try
='test -s conftest.$ac_objext'
2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }; }; then
2173 echo "$as_me: failed program was:" >&5
2174 sed 's/^/| /' conftest.
$ac_ext >&5
2178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2180 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2181 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2182 if test "$ac_test_CFLAGS" = set; then
2183 CFLAGS
=$ac_save_CFLAGS
2184 elif test $ac_cv_prog_cc_g = yes; then
2185 if test "$GCC" = yes; then
2191 if test "$GCC" = yes; then
2197 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2198 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2199 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 ac_cv_prog_cc_stdc
=no
2204 cat >conftest.
$ac_ext <<_ACEOF
2207 cat confdefs.h
>>conftest.
$ac_ext
2208 cat >>conftest.
$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2212 #include <sys/types.h>
2213 #include <sys/stat.h>
2214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2215 struct buf { int x; };
2216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2217 static char *e (p, i)
2223 static char *f (char * (*g) (char **, int), char **p, ...)
2228 s = g (p, va_arg (v,int));
2233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2234 function prototypes and stuff, but not '\xHH' hex character constants.
2235 These don't provoke an error unfortunately, instead are silently treated
2236 as 'x'. The following induces an error, until -std1 is added to get
2237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2238 array size at least. It's necessary to write '\x00'==0 to get something
2239 that's true only with -std1. */
2240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2242 int test (int i, double x);
2243 struct s1 {int (*f) (int a);};
2244 struct s2 {int (*f) (double a);};
2245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2256 # Don't try gcc -ansi; that turns off useful extensions and
2257 # breaks some systems' header files.
2258 # AIX -qlanglvl=ansi
2259 # Ultrix and OSF/1 -std1
2260 # HP-UX 10.20 and later -Ae
2261 # HP-UX older versions -Aa -D_HPUX_SOURCE
2262 # SVR4 -Xc -D__EXTENSIONS__
2263 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2265 CC
="$ac_save_CC $ac_arg"
2266 rm -f conftest.
$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2270 grep -v '^ *+' conftest.er1
>conftest.err
2272 cat conftest.err
>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try
='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2287 ac_cv_prog_cc_stdc
=$ac_arg
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.
$ac_ext >&5
2294 rm -f conftest.err conftest.
$ac_objext
2296 rm -f conftest.
$ac_ext conftest.
$ac_objext
2301 case "x$ac_cv_prog_cc_stdc" in
2303 echo "$as_me:$LINENO: result: none needed" >&5
2304 echo "${ECHO_T}none needed" >&6 ;;
2306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2307 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2308 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2311 # Some people use a C++ compiler to compile C. Since we use `exit',
2312 # in C++ we need to declare it. In case someone uses the same compiler
2313 # for both compiling C and C++ we need to have the C++ compiler decide
2314 # the declaration of exit, since it's the most demanding environment.
2315 cat >conftest.
$ac_ext <<_ACEOF
2320 rm -f conftest.
$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>conftest.er1
2324 grep -v '^ *+' conftest.er1
>conftest.err
2326 cat conftest.err
>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); } &&
2329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; } &&
2335 { ac_try
='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2341 for ac_declaration
in \
2343 'extern "C" void std::exit (int) throw (); using std::exit;' \
2344 'extern "C" void std::exit (int); using std::exit;' \
2345 'extern "C" void exit (int) throw ();' \
2346 'extern "C" void exit (int);' \
2349 cat >conftest.
$ac_ext <<_ACEOF
2352 cat confdefs.h
>>conftest.
$ac_ext
2353 cat >>conftest.
$ac_ext <<_ACEOF
2354 /* end confdefs.h. */
2365 rm -f conftest.
$ac_objext
2366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367 (eval $ac_compile) 2>conftest.er1
2369 grep -v '^ *+' conftest.er1
>conftest.err
2371 cat conftest.err
>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } &&
2374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; } &&
2380 { ac_try
='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; }; then
2388 echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.
$ac_ext >&5
2393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2394 cat >conftest.
$ac_ext <<_ACEOF
2397 cat confdefs.h
>>conftest.
$ac_ext
2398 cat >>conftest.
$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2409 rm -f conftest.
$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1
>conftest.err
2415 cat conftest.err
>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2439 if test -n "$ac_declaration"; then
2440 echo '#ifdef __cplusplus' >>confdefs.h
2441 echo $ac_declaration >>confdefs.h
2442 echo '#endif' >>confdefs.h
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.
$ac_ext >&5
2450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2452 ac_cpp
='$CPP $CPPFLAGS'
2453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2458 ac_cpp
='$CXXCPP $CPPFLAGS'
2459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2462 if test -n "$ac_tool_prefix"; then
2463 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2466 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2467 echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_CXX+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test -n "$CXX"; then
2473 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir
=.
2480 for ac_exec_ext
in '' $ac_executable_extensions; do
2481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492 if test -n "$CXX"; then
2493 echo "$as_me:$LINENO: result: $CXX" >&5
2494 echo "${ECHO_T}$CXX" >&6
2496 echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6
2500 test -n "$CXX" && break
2503 if test -z "$CXX"; then
2505 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy
$ac_prog; ac_word
=$2
2509 echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2511 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 if test -n "$ac_ct_CXX"; then
2515 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir
=.
2522 for ac_exec_ext
in '' $ac_executable_extensions; do
2523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2534 if test -n "$ac_ct_CXX"; then
2535 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2536 echo "${ECHO_T}$ac_ct_CXX" >&6
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2542 test -n "$ac_ct_CXX" && break
2544 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2550 # Provide some information about the compiler.
2551 echo "$as_me:$LINENO:" \
2552 "checking for C++ compiler version" >&5
2553 ac_compiler
=`set X $ac_compile; echo $2`
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2555 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2559 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2560 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }
2564 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2565 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }
2570 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2571 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2572 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 cat >conftest.
$ac_ext <<_ACEOF
2578 cat confdefs.h
>>conftest.
$ac_ext
2579 cat >>conftest.
$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2593 rm -f conftest.
$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2597 grep -v '^ *+' conftest.er1
>conftest.err
2599 cat conftest.err
>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try
='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.
$ac_ext >&5
2621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2622 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2625 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2626 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2627 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2628 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2629 ac_save_CXXFLAGS
=$CXXFLAGS
2631 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2632 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2633 if test "${ac_cv_prog_cxx_g+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 cat >conftest.
$ac_ext <<_ACEOF
2639 cat confdefs.h
>>conftest.
$ac_ext
2640 cat >>conftest.
$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2651 rm -f conftest.
$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>conftest.er1
2655 grep -v '^ *+' conftest.er1
>conftest.err
2657 cat conftest.err
>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; } &&
2666 { ac_try
='test -s conftest.$ac_objext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2672 ac_cv_prog_cxx_g
=yes
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2681 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2682 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2683 if test "$ac_test_CXXFLAGS" = set; then
2684 CXXFLAGS
=$ac_save_CXXFLAGS
2685 elif test $ac_cv_prog_cxx_g = yes; then
2686 if test "$GXX" = yes; then
2692 if test "$GXX" = yes; then
2698 for ac_declaration
in \
2700 'extern "C" void std::exit (int) throw (); using std::exit;' \
2701 'extern "C" void std::exit (int); using std::exit;' \
2702 'extern "C" void exit (int) throw ();' \
2703 'extern "C" void exit (int);' \
2706 cat >conftest.
$ac_ext <<_ACEOF
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2722 rm -f conftest.
$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>conftest.er1
2726 grep -v '^ *+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; } &&
2737 { ac_try
='test -s conftest.$ac_objext'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.
$ac_ext >&5
2750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2751 cat >conftest.
$ac_ext <<_ACEOF
2754 cat confdefs.h
>>conftest.
$ac_ext
2755 cat >>conftest.
$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2766 rm -f conftest.
$ac_objext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>conftest.er1
2770 grep -v '^ *+' conftest.er1
>conftest.err
2772 cat conftest.err
>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try
='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.
$ac_ext >&5
2793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2796 if test -n "$ac_declaration"; then
2797 echo '#ifdef __cplusplus' >>confdefs.h
2798 echo $ac_declaration >>confdefs.h
2799 echo '#endif' >>confdefs.h
2803 ac_cpp
='$CPP $CPPFLAGS'
2804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2808 if test -n "$ac_tool_prefix"; then
2809 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2810 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2813 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 if test -n "$CPPBIN"; then
2817 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir
=.
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 CPPBIN
=$ac_cv_prog_CPPBIN
2836 if test -n "$CPPBIN"; then
2837 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2838 echo "${ECHO_T}$CPPBIN" >&6
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2845 if test -z "$ac_cv_prog_CPPBIN"; then
2846 ac_ct_CPPBIN
=$CPPBIN
2847 # Extract the first word of "cpp", so it can be a program name with args.
2848 set dummy cpp
; ac_word
=$2
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2851 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 if test -n "$ac_ct_CPPBIN"; then
2855 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir
=.
2862 for ac_exec_ext
in '' $ac_executable_extensions; do
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2874 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2875 if test -n "$ac_ct_CPPBIN"; then
2876 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2877 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2883 CPPBIN
=$ac_ct_CPPBIN
2885 CPPBIN
="$ac_cv_prog_CPPBIN"
2889 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2890 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2891 if test "${wine_cv_toolsdir+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 if test -z "$with_wine_tools"; then
2895 if test "$cross_compiling" = "yes"; then
2896 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2897 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2898 { (exit 1); exit 1; }; }
2900 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2902 elif test -d "$with_wine_tools/tools/winebuild"; then
2903 case $with_wine_tools in
2904 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2905 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2908 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2909 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2910 { (exit 1); exit 1; }; }
2913 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2914 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2915 TOOLSDIR
=$wine_cv_toolsdir
2920 ac_cpp
='$CPP $CPPFLAGS'
2921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2924 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2925 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2926 # On Suns, sometimes $CPP names a directory.
2927 if test -n "$CPP" && test -d "$CPP"; then
2930 if test -z "$CPP"; then
2931 if test "${ac_cv_prog_CPP+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 # Double quotes because CPP needs to be expanded
2935 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2938 for ac_c_preproc_warn_flag
in '' yes
2940 # Use a header file that comes with gcc, so configuring glibc
2941 # with a fresh cross-compiler works.
2942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2943 # <limits.h> exists even on freestanding compilers.
2944 # On the NeXT, cc -E runs the code through the compiler's parser,
2945 # not just through cpp. "Syntax error" is here to catch this case.
2946 cat >conftest.
$ac_ext <<_ACEOF
2949 cat confdefs.h
>>conftest.
$ac_ext
2950 cat >>conftest.
$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2953 # include <limits.h>
2955 # include <assert.h>
2959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2962 grep -v '^ *+' conftest.er1
>conftest.err
2964 cat conftest.err
>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } >/dev
/null
; then
2967 if test -s conftest.err
; then
2968 ac_cpp_err
=$ac_c_preproc_warn_flag
2969 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2976 if test -z "$ac_cpp_err"; then
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.
$ac_ext >&5
2982 # Broken: fails on valid input.
2985 rm -f conftest.err conftest.
$ac_ext
2987 # OK, works on sane cases. Now check whether non-existent headers
2988 # can be detected and how.
2989 cat >conftest.
$ac_ext <<_ACEOF
2992 cat confdefs.h
>>conftest.
$ac_ext
2993 cat >>conftest.
$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
2995 #include <ac_nonexistent.h>
2997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3000 grep -v '^ *+' conftest.er1
>conftest.err
3002 cat conftest.err
>&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } >/dev
/null
; then
3005 if test -s conftest.err
; then
3006 ac_cpp_err
=$ac_c_preproc_warn_flag
3007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3014 if test -z "$ac_cpp_err"; then
3015 # Broken: success on invalid input.
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.
$ac_ext >&5
3021 # Passes both tests.
3025 rm -f conftest.err conftest.
$ac_ext
3028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3029 rm -f conftest.err conftest.
$ac_ext
3030 if $ac_preproc_ok; then
3042 echo "$as_me:$LINENO: result: $CPP" >&5
3043 echo "${ECHO_T}$CPP" >&6
3045 for ac_c_preproc_warn_flag
in '' yes
3047 # Use a header file that comes with gcc, so configuring glibc
3048 # with a fresh cross-compiler works.
3049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3050 # <limits.h> exists even on freestanding compilers.
3051 # On the NeXT, cc -E runs the code through the compiler's parser,
3052 # not just through cpp. "Syntax error" is here to catch this case.
3053 cat >conftest.
$ac_ext <<_ACEOF
3056 cat confdefs.h
>>conftest.
$ac_ext
3057 cat >>conftest.
$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3060 # include <limits.h>
3062 # include <assert.h>
3066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3069 grep -v '^ *+' conftest.er1
>conftest.err
3071 cat conftest.err
>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } >/dev
/null
; then
3074 if test -s conftest.err
; then
3075 ac_cpp_err
=$ac_c_preproc_warn_flag
3076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3083 if test -z "$ac_cpp_err"; then
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 # Broken: fails on valid input.
3092 rm -f conftest.err conftest.
$ac_ext
3094 # OK, works on sane cases. Now check whether non-existent headers
3095 # can be detected and how.
3096 cat >conftest.
$ac_ext <<_ACEOF
3099 cat confdefs.h
>>conftest.
$ac_ext
3100 cat >>conftest.
$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3102 #include <ac_nonexistent.h>
3104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1
>conftest.err
3109 cat conftest.err
>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } >/dev
/null
; then
3112 if test -s conftest.err
; then
3113 ac_cpp_err
=$ac_c_preproc_warn_flag
3114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3121 if test -z "$ac_cpp_err"; then
3122 # Broken: success on invalid input.
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.
$ac_ext >&5
3128 # Passes both tests.
3132 rm -f conftest.err conftest.
$ac_ext
3135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3136 rm -f conftest.err conftest.
$ac_ext
3137 if $ac_preproc_ok; then
3140 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }
3148 ac_cpp
='$CPP $CPPFLAGS'
3149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3155 if test "x$ac_path_x_has_been_run" != xyes
; then
3156 echo "$as_me:$LINENO: checking for X" >&5
3157 echo $ECHO_N "checking for X... $ECHO_C" >&6
3159 ac_path_x_has_been_run
=yes
3161 # Check whether --with-x or --without-x was given.
3162 if test "${with_x+set}" = set; then
3166 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3167 if test "x$with_x" = xno
; then
3168 # The user explicitly disabled X.
3171 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3172 # Both variables are already set.
3175 if test "${ac_cv_have_x+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 # One or both of the vars are not set, and there is no cached value.
3179 ac_x_includes
=no ac_x_libraries
=no
3181 if mkdir conftest.dir
; then
3183 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3184 cat >Imakefile
<<'_ACEOF'
3186 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3188 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3190 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3191 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3192 for ac_extension
in a so sl
; do
3193 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3194 test -f $ac_im_libdir/libX11.
$ac_extension; then
3195 ac_im_usrlibdir
=$ac_im_libdir; break
3198 # Screen out bogus values from the imake configuration. They are
3199 # bogus both because they are the default anyway, and because
3200 # using them would break gcc on systems where it needs fixed includes.
3201 case $ac_im_incroot in
3203 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3205 case $ac_im_usrlibdir in
3207 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3214 # Standard set of common directories for X headers.
3215 # Check X11 before X11Rn because it is often a symlink to the current release.
3227 /usr/local/X11/include
3228 /usr/local/X11R6/include
3229 /usr/local/X11R5/include
3230 /usr/local/X11R4/include
3232 /usr/local/include/X11
3233 /usr/local/include/X11R6
3234 /usr/local/include/X11R5
3235 /usr/local/include/X11R4
3239 /usr/XFree86/include/X11
3243 /usr/unsupported/include
3245 /usr/local/x11r5/include
3246 /usr/lpp/Xamples/include
3248 /usr/openwin/include
3249 /usr/openwin/share/include'
3251 if test "$ac_x_includes" = no
; then
3252 # Guess where to find include files, by looking for a specified header file.
3253 # First, try using that file with no special directory specified.
3254 cat >conftest.
$ac_ext <<_ACEOF
3257 cat confdefs.h
>>conftest.
$ac_ext
3258 cat >>conftest.
$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3260 #include <X11/Intrinsic.h>
3262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3265 grep -v '^ *+' conftest.er1
>conftest.err
3267 cat conftest.err
>&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } >/dev
/null
; then
3270 if test -s conftest.err
; then
3271 ac_cpp_err
=$ac_c_preproc_warn_flag
3272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3279 if test -z "$ac_cpp_err"; then
3280 # We can compile using X headers with no special include directory.
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.
$ac_ext >&5
3286 for ac_dir
in $ac_x_header_dirs; do
3287 if test -r "$ac_dir/X11/Intrinsic.h"; then
3288 ac_x_includes
=$ac_dir
3293 rm -f conftest.err conftest.
$ac_ext
3294 fi # $ac_x_includes = no
3296 if test "$ac_x_libraries" = no
; then
3297 # Check for the libraries.
3298 # See if we find them without any special options.
3299 # Don't add to $LIBS permanently.
3302 cat >conftest.
$ac_ext <<_ACEOF
3305 cat confdefs.h
>>conftest.
$ac_ext
3306 cat >>conftest.
$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3308 #include <X11/Intrinsic.h>
3317 rm -f conftest.
$ac_objext conftest
$ac_exeext
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3319 (eval $ac_link) 2>conftest.er1
3321 grep -v '^ *+' conftest.er1
>conftest.err
3323 cat conftest.err
>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } &&
3326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; } &&
3332 { ac_try
='test -s conftest$ac_exeext'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
3339 # We can link X programs with no special library path.
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.
$ac_ext >&5
3346 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3348 # Don't even attempt the hair of trying to link an X program!
3349 for ac_extension
in a so sl
; do
3350 if test -r $ac_dir/libXt.
$ac_extension; then
3351 ac_x_libraries
=$ac_dir
3357 rm -f conftest.err conftest.
$ac_objext \
3358 conftest
$ac_exeext conftest.
$ac_ext
3359 fi # $ac_x_libraries = no
3361 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3362 # Didn't find X anywhere. Cache the known absence of X.
3363 ac_cv_have_x
="have_x=no"
3365 # Record where we found X for the cache.
3366 ac_cv_have_x
="have_x=yes \
3367 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3372 eval "$ac_cv_have_x"
3375 if test "$have_x" != yes; then
3376 echo "$as_me:$LINENO: result: $have_x" >&5
3377 echo "${ECHO_T}$have_x" >&6
3380 # If each of the values was on the command line, it overrides each guess.
3381 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3382 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3383 # Update the cache value to reflect the command line values.
3384 ac_cv_have_x
="have_x=yes \
3385 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3386 # It might be that x_includes is empty (headers are found in the
3387 # standard search path. Then output the corresponding message
3388 ac_out_x_includes
=$x_includes
3389 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3390 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3391 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3395 if test "$no_x" = yes; then
3396 # Not all programs may use this symbol, but it does not hurt to define it.
3398 cat >>confdefs.h
<<\_ACEOF
3399 #define X_DISPLAY_MISSING 1
3402 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3404 if test -n "$x_includes"; then
3405 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3408 # It would also be nice to do this for all -L options, not just this one.
3409 if test -n "$x_libraries"; then
3410 X_LIBS
="$X_LIBS -L$x_libraries"
3411 # For Solaris; some versions of Sun CC require a space after -R and
3412 # others require no space. Words are not sufficient . . . .
3413 case `(uname -sr) 2>/dev/null` in
3415 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3416 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3417 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3418 cat >conftest.
$ac_ext <<_ACEOF
3421 cat confdefs.h
>>conftest.
$ac_ext
3422 cat >>conftest.
$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 rm -f conftest.
$ac_objext conftest
$ac_exeext
3434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435 (eval $ac_link) 2>conftest.er1
3437 grep -v '^ *+' conftest.er1
>conftest.err
3439 cat conftest.err
>&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } &&
3442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; } &&
3448 { ac_try
='test -s conftest$ac_exeext'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; }; then
3456 echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.
$ac_ext >&5
3461 rm -f conftest.err conftest.
$ac_objext \
3462 conftest
$ac_exeext conftest.
$ac_ext
3463 if test $ac_R_nospace = yes; then
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 X_LIBS
="$X_LIBS -R$x_libraries"
3468 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3469 cat >conftest.
$ac_ext <<_ACEOF
3472 cat confdefs.h
>>conftest.
$ac_ext
3473 cat >>conftest.
$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3484 rm -f conftest.
$ac_objext conftest
$ac_exeext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3486 (eval $ac_link) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try
='test -s conftest$ac_exeext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3512 rm -f conftest.err conftest.
$ac_objext \
3513 conftest
$ac_exeext conftest.
$ac_ext
3514 if test $ac_R_space = yes; then
3515 echo "$as_me:$LINENO: result: yes" >&5
3516 echo "${ECHO_T}yes" >&6
3517 X_LIBS
="$X_LIBS -R $x_libraries"
3519 echo "$as_me:$LINENO: result: neither works" >&5
3520 echo "${ECHO_T}neither works" >&6
3527 # Check for system-dependent libraries X programs must link with.
3528 # Do this before checking for the system-independent R6 libraries
3529 # (-lICE), since we may need -lsocket or whatever for X linking.
3531 if test "$ISC" = yes; then
3532 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3534 # Martyn Johnson says this is needed for Ultrix, if the X
3535 # libraries were built with DECnet support. And Karl Berry says
3536 # the Alpha needs dnet_stub (dnet does not exist).
3537 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3545 /* Override any gcc2 internal prototype to avoid an error. */
3549 /* We use char because int might match the return type of a gcc2
3550 builtin and then its argument prototype would still apply. */
3551 char XOpenDisplay ();
3560 rm -f conftest.
$ac_objext conftest
$ac_exeext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3562 (eval $ac_link) 2>conftest.er1
3564 grep -v '^ *+' conftest.er1
>conftest.err
3566 cat conftest.err
>&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } &&
3569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; } &&
3575 { ac_try
='test -s conftest$ac_exeext'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.
$ac_ext >&5
3586 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3587 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3588 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 ac_check_lib_save_LIBS
=$LIBS
3593 cat >conftest.
$ac_ext <<_ACEOF
3596 cat confdefs.h
>>conftest.
$ac_ext
3597 cat >>conftest.
$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3600 /* Override any gcc2 internal prototype to avoid an error. */
3604 /* We use char because int might match the return type of a gcc2
3605 builtin and then its argument prototype would still apply. */
3615 rm -f conftest.
$ac_objext conftest
$ac_exeext
3616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3617 (eval $ac_link) 2>conftest.er1
3619 grep -v '^ *+' conftest.er1
>conftest.err
3621 cat conftest.err
>&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } &&
3624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; } &&
3630 { ac_try
='test -s conftest$ac_exeext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3636 ac_cv_lib_dnet_dnet_ntoa
=yes
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.
$ac_ext >&5
3641 ac_cv_lib_dnet_dnet_ntoa
=no
3643 rm -f conftest.err conftest.
$ac_objext \
3644 conftest
$ac_exeext conftest.
$ac_ext
3645 LIBS
=$ac_check_lib_save_LIBS
3647 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3648 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3649 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3653 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3654 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3655 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3656 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 ac_check_lib_save_LIBS
=$LIBS
3660 LIBS
="-ldnet_stub $LIBS"
3661 cat >conftest.
$ac_ext <<_ACEOF
3664 cat confdefs.h
>>conftest.
$ac_ext
3665 cat >>conftest.
$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3668 /* Override any gcc2 internal prototype to avoid an error. */
3672 /* We use char because int might match the return type of a gcc2
3673 builtin and then its argument prototype would still apply. */
3683 rm -f conftest.
$ac_objext conftest
$ac_exeext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3685 (eval $ac_link) 2>conftest.er1
3687 grep -v '^ *+' conftest.er1
>conftest.err
3689 cat conftest.err
>&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try
='test -s conftest$ac_exeext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.
$ac_ext >&5
3709 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3711 rm -f conftest.err conftest.
$ac_objext \
3712 conftest
$ac_exeext conftest.
$ac_ext
3713 LIBS
=$ac_check_lib_save_LIBS
3715 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3716 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3717 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3718 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3723 rm -f conftest.err conftest.
$ac_objext \
3724 conftest
$ac_exeext conftest.
$ac_ext
3725 LIBS
="$ac_xsave_LIBS"
3727 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3728 # to get the SysV transport functions.
3729 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3731 # The nsl library prevents programs from opening the X display
3732 # on Irix 5.2, according to T.E. Dickey.
3733 # The functions gethostbyname, getservbyname, and inet_addr are
3734 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3735 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3736 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3737 if test "${ac_cv_func_gethostbyname+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3748 #define gethostbyname innocuous_gethostbyname
3750 /* System header to define __stub macros and hopefully few prototypes,
3751 which can conflict with char gethostbyname (); below.
3752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3753 <limits.h> exists even on freestanding compilers. */
3756 # include <limits.h>
3758 # include <assert.h>
3761 #undef gethostbyname
3763 /* Override any gcc2 internal prototype to avoid an error. */
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3770 char gethostbyname ();
3771 /* The GNU C library defines this for functions which it implements
3772 to always fail with ENOSYS. Some functions are actually named
3773 something starting with __ and the normal name is an alias. */
3774 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3777 char (*f) () = gethostbyname;
3786 return f != gethostbyname;
3791 rm -f conftest.
$ac_objext conftest
$ac_exeext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>conftest.er1
3795 grep -v '^ *+' conftest.er1
>conftest.err
3797 cat conftest.err
>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try
='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_func_gethostbyname
=yes
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.
$ac_ext >&5
3817 ac_cv_func_gethostbyname
=no
3819 rm -f conftest.err conftest.
$ac_objext \
3820 conftest
$ac_exeext conftest.
$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3823 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3825 if test $ac_cv_func_gethostbyname = no
; then
3826 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3827 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3828 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 ac_check_lib_save_LIBS
=$LIBS
3833 cat >conftest.
$ac_ext <<_ACEOF
3836 cat confdefs.h
>>conftest.
$ac_ext
3837 cat >>conftest.
$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3840 /* Override any gcc2 internal prototype to avoid an error. */
3844 /* We use char because int might match the return type of a gcc2
3845 builtin and then its argument prototype would still apply. */
3846 char gethostbyname ();
3855 rm -f conftest.
$ac_objext conftest
$ac_exeext
3856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3857 (eval $ac_link) 2>conftest.er1
3859 grep -v '^ *+' conftest.er1
>conftest.err
3861 cat conftest.err
>&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } &&
3864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; } &&
3870 { ac_try
='test -s conftest$ac_exeext'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; }; then
3876 ac_cv_lib_nsl_gethostbyname
=yes
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.
$ac_ext >&5
3881 ac_cv_lib_nsl_gethostbyname
=no
3883 rm -f conftest.err conftest.
$ac_objext \
3884 conftest
$ac_exeext conftest.
$ac_ext
3885 LIBS
=$ac_check_lib_save_LIBS
3887 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3888 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3889 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3890 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3893 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3894 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3895 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3896 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_check_lib_save_LIBS
=$LIBS
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 /* Override any gcc2 internal prototype to avoid an error. */
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3914 char gethostbyname ();
3923 rm -f conftest.
$ac_objext conftest
$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3927 grep -v '^ *+' conftest.er1
>conftest.err
3929 cat conftest.err
>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; } &&
3938 { ac_try
='test -s conftest$ac_exeext'
3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); }; }; then
3944 ac_cv_lib_bsd_gethostbyname
=yes
3946 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.
$ac_ext >&5
3949 ac_cv_lib_bsd_gethostbyname
=no
3951 rm -f conftest.err conftest.
$ac_objext \
3952 conftest
$ac_exeext conftest.
$ac_ext
3953 LIBS
=$ac_check_lib_save_LIBS
3955 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3956 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3957 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3964 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3965 # socket/setsockopt and other routines are undefined under SCO ODT
3966 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3967 # on later versions), says Simon Leinen: it contains gethostby*
3968 # variants that don't use the name server (or something). -lsocket
3969 # must be given before -lnsl if both are needed. We assume that
3970 # if connect needs -lnsl, so does gethostbyname.
3971 echo "$as_me:$LINENO: checking for connect" >&5
3972 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3973 if test "${ac_cv_func_connect+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3976 cat >conftest.
$ac_ext <<_ACEOF
3979 cat confdefs.h
>>conftest.
$ac_ext
3980 cat >>conftest.
$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3982 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3984 #define connect innocuous_connect
3986 /* System header to define __stub macros and hopefully few prototypes,
3987 which can conflict with char connect (); below.
3988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3989 <limits.h> exists even on freestanding compilers. */
3992 # include <limits.h>
3994 # include <assert.h>
3999 /* Override any gcc2 internal prototype to avoid an error. */
4004 /* We use char because int might match the return type of a gcc2
4005 builtin and then its argument prototype would still apply. */
4007 /* The GNU C library defines this for functions which it implements
4008 to always fail with ENOSYS. Some functions are actually named
4009 something starting with __ and the normal name is an alias. */
4010 #if defined (__stub_connect) || defined (__stub___connect)
4013 char (*f) () = connect;
4022 return f != connect;
4027 rm -f conftest.
$ac_objext conftest
$ac_exeext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4029 (eval $ac_link) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try
='test -s conftest$ac_exeext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 ac_cv_func_connect
=yes
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.
$ac_ext >&5
4053 ac_cv_func_connect
=no
4055 rm -f conftest.err conftest.
$ac_objext \
4056 conftest
$ac_exeext conftest.
$ac_ext
4058 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4059 echo "${ECHO_T}$ac_cv_func_connect" >&6
4061 if test $ac_cv_func_connect = no
; then
4062 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4063 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4064 if test "${ac_cv_lib_socket_connect+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 ac_check_lib_save_LIBS
=$LIBS
4068 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4069 cat >conftest.
$ac_ext <<_ACEOF
4072 cat confdefs.h
>>conftest.
$ac_ext
4073 cat >>conftest.
$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any gcc2 internal prototype to avoid an error. */
4080 /* We use char because int might match the return type of a gcc2
4081 builtin and then its argument prototype would still apply. */
4091 rm -f conftest.
$ac_objext conftest
$ac_exeext
4092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4093 (eval $ac_link) 2>conftest.er1
4095 grep -v '^ *+' conftest.er1
>conftest.err
4097 cat conftest.err
>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } &&
4100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try
='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 ac_cv_lib_socket_connect
=yes
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 ac_cv_lib_socket_connect
=no
4119 rm -f conftest.err conftest.
$ac_objext \
4120 conftest
$ac_exeext conftest.
$ac_ext
4121 LIBS
=$ac_check_lib_save_LIBS
4123 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4124 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4125 if test $ac_cv_lib_socket_connect = yes; then
4126 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4131 # Guillermo Gomez says -lposix is necessary on A/UX.
4132 echo "$as_me:$LINENO: checking for remove" >&5
4133 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4134 if test "${ac_cv_func_remove+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4145 #define remove innocuous_remove
4147 /* System header to define __stub macros and hopefully few prototypes,
4148 which can conflict with char remove (); below.
4149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4150 <limits.h> exists even on freestanding compilers. */
4153 # include <limits.h>
4155 # include <assert.h>
4160 /* Override any gcc2 internal prototype to avoid an error. */
4165 /* We use char because int might match the return type of a gcc2
4166 builtin and then its argument prototype would still apply. */
4168 /* The GNU C library defines this for functions which it implements
4169 to always fail with ENOSYS. Some functions are actually named
4170 something starting with __ and the normal name is an alias. */
4171 #if defined (__stub_remove) || defined (__stub___remove)
4174 char (*f) () = remove;
4188 rm -f conftest.
$ac_objext conftest
$ac_exeext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4190 (eval $ac_link) 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; } &&
4203 { ac_try
='test -s conftest$ac_exeext'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; }; then
4209 ac_cv_func_remove
=yes
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 ac_cv_func_remove
=no
4216 rm -f conftest.err conftest.
$ac_objext \
4217 conftest
$ac_exeext conftest.
$ac_ext
4219 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4220 echo "${ECHO_T}$ac_cv_func_remove" >&6
4222 if test $ac_cv_func_remove = no
; then
4223 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4224 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4225 if test "${ac_cv_lib_posix_remove+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 ac_check_lib_save_LIBS
=$LIBS
4229 LIBS
="-lposix $LIBS"
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4237 /* Override any gcc2 internal prototype to avoid an error. */
4241 /* We use char because int might match the return type of a gcc2
4242 builtin and then its argument prototype would still apply. */
4252 rm -f conftest.
$ac_objext conftest
$ac_exeext
4253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4254 (eval $ac_link) 2>conftest.er1
4256 grep -v '^ *+' conftest.er1
>conftest.err
4258 cat conftest.err
>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; } &&
4267 { ac_try
='test -s conftest$ac_exeext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 ac_cv_lib_posix_remove
=yes
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.
$ac_ext >&5
4278 ac_cv_lib_posix_remove
=no
4280 rm -f conftest.err conftest.
$ac_objext \
4281 conftest
$ac_exeext conftest.
$ac_ext
4282 LIBS
=$ac_check_lib_save_LIBS
4284 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4285 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4286 if test $ac_cv_lib_posix_remove = yes; then
4287 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4292 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4293 echo "$as_me:$LINENO: checking for shmat" >&5
4294 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4295 if test "${ac_cv_func_shmat+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 cat >conftest.
$ac_ext <<_ACEOF
4301 cat confdefs.h
>>conftest.
$ac_ext
4302 cat >>conftest.
$ac_ext <<_ACEOF
4303 /* end confdefs.h. */
4304 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4306 #define shmat innocuous_shmat
4308 /* System header to define __stub macros and hopefully few prototypes,
4309 which can conflict with char shmat (); below.
4310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4311 <limits.h> exists even on freestanding compilers. */
4314 # include <limits.h>
4316 # include <assert.h>
4321 /* Override any gcc2 internal prototype to avoid an error. */
4326 /* We use char because int might match the return type of a gcc2
4327 builtin and then its argument prototype would still apply. */
4329 /* The GNU C library defines this for functions which it implements
4330 to always fail with ENOSYS. Some functions are actually named
4331 something starting with __ and the normal name is an alias. */
4332 #if defined (__stub_shmat) || defined (__stub___shmat)
4335 char (*f) () = shmat;
4349 rm -f conftest.
$ac_objext conftest
$ac_exeext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4351 (eval $ac_link) 2>conftest.er1
4353 grep -v '^ *+' conftest.er1
>conftest.err
4355 cat conftest.err
>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }; } &&
4364 { ac_try
='test -s conftest$ac_exeext'
4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; }; then
4370 ac_cv_func_shmat
=yes
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.
$ac_ext >&5
4377 rm -f conftest.err conftest.
$ac_objext \
4378 conftest
$ac_exeext conftest.
$ac_ext
4380 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4381 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4383 if test $ac_cv_func_shmat = no
; then
4384 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4385 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4386 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 ac_check_lib_save_LIBS
=$LIBS
4391 cat >conftest.
$ac_ext <<_ACEOF
4394 cat confdefs.h
>>conftest.
$ac_ext
4395 cat >>conftest.
$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4398 /* Override any gcc2 internal prototype to avoid an error. */
4402 /* We use char because int might match the return type of a gcc2
4403 builtin and then its argument prototype would still apply. */
4413 rm -f conftest.
$ac_objext conftest
$ac_exeext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4415 (eval $ac_link) 2>conftest.er1
4417 grep -v '^ *+' conftest.er1
>conftest.err
4419 cat conftest.err
>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try
='test -s conftest$ac_exeext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_cv_lib_ipc_shmat
=yes
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.
$ac_ext >&5
4439 ac_cv_lib_ipc_shmat
=no
4441 rm -f conftest.err conftest.
$ac_objext \
4442 conftest
$ac_exeext conftest.
$ac_ext
4443 LIBS
=$ac_check_lib_save_LIBS
4445 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4446 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4447 if test $ac_cv_lib_ipc_shmat = yes; then
4448 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4454 # Check for libraries that X11R6 Xt/Xaw programs need.
4455 ac_save_LDFLAGS
=$LDFLAGS
4456 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4457 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4458 # check for ICE first), but we must link in the order -lSM -lICE or
4459 # we get undefined symbols. So assume we have SM if we have ICE.
4460 # These have to be linked with before -lX11, unlike the other
4461 # libraries we check for below, so use a different variable.
4462 # John Interrante, Karl Berry
4463 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4464 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4465 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 ac_check_lib_save_LIBS
=$LIBS
4469 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4470 cat >conftest.
$ac_ext <<_ACEOF
4473 cat confdefs.h
>>conftest.
$ac_ext
4474 cat >>conftest.
$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4477 /* Override any gcc2 internal prototype to avoid an error. */
4481 /* We use char because int might match the return type of a gcc2
4482 builtin and then its argument prototype would still apply. */
4483 char IceConnectionNumber ();
4487 IceConnectionNumber ();
4492 rm -f conftest.
$ac_objext conftest
$ac_exeext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4494 (eval $ac_link) 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } &&
4501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; } &&
4507 { ac_try
='test -s conftest$ac_exeext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 ac_cv_lib_ICE_IceConnectionNumber
=yes
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.
$ac_ext >&5
4518 ac_cv_lib_ICE_IceConnectionNumber
=no
4520 rm -f conftest.err conftest.
$ac_objext \
4521 conftest
$ac_exeext conftest.
$ac_ext
4522 LIBS
=$ac_check_lib_save_LIBS
4524 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4525 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4526 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4527 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4530 LDFLAGS
=$ac_save_LDFLAGS
4534 for ac_prog
in flex
lex
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy
$ac_prog; ac_word
=$2
4538 echo "$as_me:$LINENO: checking for $ac_word" >&5
4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4540 if test "${ac_cv_prog_LEX+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 if test -n "$LEX"; then
4544 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_LEX
="$ac_prog"
4554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 if test -n "$LEX"; then
4564 echo "$as_me:$LINENO: result: $LEX" >&5
4565 echo "${ECHO_T}$LEX" >&6
4567 echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6
4571 test -n "$LEX" && break
4573 test -n "$LEX" || LEX
=":"
4575 if test -z "$LEXLIB"
4577 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4578 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4579 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 ac_check_lib_save_LIBS
=$LIBS
4584 cat >conftest.
$ac_ext <<_ACEOF
4587 cat confdefs.h
>>conftest.
$ac_ext
4588 cat >>conftest.
$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4591 /* Override any gcc2 internal prototype to avoid an error. */
4595 /* We use char because int might match the return type of a gcc2
4596 builtin and then its argument prototype would still apply. */
4606 rm -f conftest.
$ac_objext conftest
$ac_exeext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608 (eval $ac_link) 2>conftest.er1
4610 grep -v '^ *+' conftest.er1
>conftest.err
4612 cat conftest.err
>&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } &&
4615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try
='test -s conftest$ac_exeext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4627 ac_cv_lib_fl_yywrap
=yes
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.
$ac_ext >&5
4632 ac_cv_lib_fl_yywrap
=no
4634 rm -f conftest.err conftest.
$ac_objext \
4635 conftest
$ac_exeext conftest.
$ac_ext
4636 LIBS
=$ac_check_lib_save_LIBS
4638 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4639 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4640 if test $ac_cv_lib_fl_yywrap = yes; then
4643 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4644 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4645 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4646 echo $ECHO_N "(cached) $ECHO_C" >&6
4648 ac_check_lib_save_LIBS
=$LIBS
4650 cat >conftest.
$ac_ext <<_ACEOF
4653 cat confdefs.h
>>conftest.
$ac_ext
4654 cat >>conftest.
$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4657 /* Override any gcc2 internal prototype to avoid an error. */
4661 /* We use char because int might match the return type of a gcc2
4662 builtin and then its argument prototype would still apply. */
4672 rm -f conftest.
$ac_objext conftest
$ac_exeext
4673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4674 (eval $ac_link) 2>conftest.er1
4676 grep -v '^ *+' conftest.er1
>conftest.err
4678 cat conftest.err
>&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } &&
4681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; } &&
4687 { ac_try
='test -s conftest$ac_exeext'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then
4693 ac_cv_lib_l_yywrap
=yes
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.
$ac_ext >&5
4698 ac_cv_lib_l_yywrap
=no
4700 rm -f conftest.err conftest.
$ac_objext \
4701 conftest
$ac_exeext conftest.
$ac_ext
4702 LIBS
=$ac_check_lib_save_LIBS
4704 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4705 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4706 if test $ac_cv_lib_l_yywrap = yes; then
4714 if test "x$LEX" != "x:"; then
4715 echo "$as_me:$LINENO: checking lex output file root" >&5
4716 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4717 if test "${ac_cv_prog_lex_root+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 # The minimal lex program is just a single line: %%. But some broken lexes
4721 # (Solaris, I think it was) want two %% lines, so accommodate them.
4722 cat >conftest.l
<<_ACEOF
4726 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4727 (eval $LEX conftest.l
) 2>&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }
4731 if test -f lex.yy.c
; then
4732 ac_cv_prog_lex_root
=lex.yy
4733 elif test -f lexyy.c
; then
4734 ac_cv_prog_lex_root
=lexyy
4736 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4737 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4738 { (exit 1); exit 1; }; }
4741 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4742 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4744 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4746 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4747 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4748 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 # POSIX says lex can declare yytext either as a pointer or an array; the
4752 # default is implementation-dependent. Figure out which it is, since
4753 # not all implementations provide the %pointer and %array declarations.
4754 ac_cv_prog_lex_yytext_pointer
=no
4755 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4757 LIBS
="$LIBS $LEXLIB"
4758 cat >conftest.
$ac_ext <<_ACEOF
4759 `cat $LEX_OUTPUT_ROOT.c`
4761 rm -f conftest.
$ac_objext conftest
$ac_exeext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4763 (eval $ac_link) 2>conftest.er1
4765 grep -v '^ *+' conftest.er1
>conftest.err
4767 cat conftest.err
>&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } &&
4770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try
='test -s conftest$ac_exeext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_cv_prog_lex_yytext_pointer
=yes
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.
$ac_ext >&5
4788 rm -f conftest.err conftest.
$ac_objext \
4789 conftest
$ac_exeext conftest.
$ac_ext
4791 rm -f "${LEX_OUTPUT_ROOT}.c"
4794 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4795 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4796 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4798 cat >>confdefs.h
<<\_ACEOF
4799 #define YYTEXT_POINTER 1
4806 for ac_prog
in $LEX flex
lex
4808 # Extract the first word of "$ac_prog", so it can be a program name with args.
4809 set dummy
$ac_prog; ac_word
=$2
4810 echo "$as_me:$LINENO: checking for $ac_word" >&5
4811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4812 if test "${ac_cv_prog_XLEX+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 if test -n "$XLEX"; then
4816 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_XLEX
="$ac_prog"
4826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 XLEX
=$ac_cv_prog_XLEX
4835 if test -n "$XLEX"; then
4836 echo "$as_me:$LINENO: result: $XLEX" >&5
4837 echo "${ECHO_T}$XLEX" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4843 test -n "$XLEX" && break
4845 test -n "$XLEX" || XLEX
="none"
4847 if test "$XLEX" = "none"
4849 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4850 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4851 { (exit 1); exit 1; }; }
4854 for ac_prog
in bison
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy
$ac_prog; ac_word
=$2
4858 echo "$as_me:$LINENO: checking for $ac_word" >&5
4859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4860 if test "${ac_cv_prog_BISON+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 if test -n "$BISON"; then
4864 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_BISON
="$ac_prog"
4874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 BISON
=$ac_cv_prog_BISON
4883 if test -n "$BISON"; then
4884 echo "$as_me:$LINENO: result: $BISON" >&5
4885 echo "${ECHO_T}$BISON" >&6
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4891 test -n "$BISON" && break
4893 test -n "$BISON" || BISON
="none"
4895 if test "$BISON" = "none"
4897 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4898 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4899 { (exit 1); exit 1; }; }
4902 if test -n "$ac_tool_prefix"; then
4903 for ac_prog
in gas as
4905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4906 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4907 echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909 if test "${ac_cv_prog_AS+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 if test -n "$AS"; then
4913 ac_cv_prog_AS
="$AS" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 if test -n "$AS"; then
4933 echo "$as_me:$LINENO: result: $AS" >&5
4934 echo "${ECHO_T}$AS" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4940 test -n "$AS" && break
4943 if test -z "$AS"; then
4945 for ac_prog
in gas as
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy
$ac_prog; ac_word
=$2
4949 echo "$as_me:$LINENO: checking for $ac_word" >&5
4950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4951 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 if test -n "$ac_ct_AS"; then
4955 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_ac_ct_AS
="$ac_prog"
4965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4974 if test -n "$ac_ct_AS"; then
4975 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4976 echo "${ECHO_T}$ac_ct_AS" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4982 test -n "$ac_ct_AS" && break
4984 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4991 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4992 echo "$as_me:$LINENO: checking for $ac_word" >&5
4993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4994 if test "${ac_cv_prog_LD+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 if test -n "$LD"; then
4998 ac_cv_prog_LD
="$LD" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir
=.
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 if test -n "$LD"; then
5018 echo "$as_me:$LINENO: result: $LD" >&5
5019 echo "${ECHO_T}$LD" >&6
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5026 if test -z "$ac_cv_prog_LD"; then
5028 # Extract the first word of "ld", so it can be a program name with args.
5029 set dummy ld
; ac_word
=$2
5030 echo "$as_me:$LINENO: checking for $ac_word" >&5
5031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5032 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 if test -n "$ac_ct_LD"; then
5036 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir
=.
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_ac_ct_LD
="ld"
5046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5055 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5056 if test -n "$ac_ct_LD"; then
5057 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5058 echo "${ECHO_T}$ac_ct_LD" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5071 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5072 echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5074 if test "${ac_cv_prog_AR+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 if test -n "$AR"; then
5078 ac_cv_prog_AR
="$AR" # Let the user override the test.
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_exec_ext
in '' $ac_executable_extensions; do
5086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 if test -n "$AR"; then
5098 echo "$as_me:$LINENO: result: $AR" >&5
5099 echo "${ECHO_T}$AR" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5106 if test -z "$ac_cv_prog_AR"; then
5108 # Extract the first word of "ar", so it can be a program name with args.
5109 set dummy
ar; ac_word
=$2
5110 echo "$as_me:$LINENO: checking for $ac_word" >&5
5111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5112 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 if test -n "$ac_ct_AR"; then
5116 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_AR
="ar"
5126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5135 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5136 if test -n "$ac_ct_AR"; then
5137 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5138 echo "${ECHO_T}$ac_ct_AR" >&6
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5149 if test -n "$ac_tool_prefix"; then
5150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5151 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5152 echo "$as_me:$LINENO: checking for $ac_word" >&5
5153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5154 if test "${ac_cv_prog_RANLIB+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 if test -n "$RANLIB"; then
5158 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir
=.
5165 for ac_exec_ext
in '' $ac_executable_extensions; do
5166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 RANLIB
=$ac_cv_prog_RANLIB
5177 if test -n "$RANLIB"; then
5178 echo "$as_me:$LINENO: result: $RANLIB" >&5
5179 echo "${ECHO_T}$RANLIB" >&6
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5186 if test -z "$ac_cv_prog_RANLIB"; then
5187 ac_ct_RANLIB
=$RANLIB
5188 # Extract the first word of "ranlib", so it can be a program name with args.
5189 set dummy ranlib
; ac_word
=$2
5190 echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 if test -n "$ac_ct_RANLIB"; then
5196 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir
=.
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5215 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5216 if test -n "$ac_ct_RANLIB"; then
5217 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5218 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5224 RANLIB
=$ac_ct_RANLIB
5226 RANLIB
="$ac_cv_prog_RANLIB"
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5231 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5232 echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5234 if test "${ac_cv_prog_STRIP+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 if test -n "$STRIP"; then
5238 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 STRIP
=$ac_cv_prog_STRIP
5257 if test -n "$STRIP"; then
5258 echo "$as_me:$LINENO: result: $STRIP" >&5
5259 echo "${ECHO_T}$STRIP" >&6
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5266 if test -z "$ac_cv_prog_STRIP"; then
5268 # Extract the first word of "strip", so it can be a program name with args.
5269 set dummy strip
; ac_word
=$2
5270 echo "$as_me:$LINENO: checking for $ac_word" >&5
5271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5272 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 if test -n "$ac_ct_STRIP"; then
5276 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_STRIP
="strip"
5286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5295 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5296 if test -n "$ac_ct_STRIP"; then
5297 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5298 echo "${ECHO_T}$ac_ct_STRIP" >&6
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5306 STRIP
="$ac_cv_prog_STRIP"
5309 if test -n "$ac_tool_prefix"; then
5310 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5311 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5312 echo "$as_me:$LINENO: checking for $ac_word" >&5
5313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5314 if test "${ac_cv_prog_WINDRES+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 if test -n "$WINDRES"; then
5318 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 WINDRES
=$ac_cv_prog_WINDRES
5337 if test -n "$WINDRES"; then
5338 echo "$as_me:$LINENO: result: $WINDRES" >&5
5339 echo "${ECHO_T}$WINDRES" >&6
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5346 if test -z "$ac_cv_prog_WINDRES"; then
5347 ac_ct_WINDRES
=$WINDRES
5348 # Extract the first word of "windres", so it can be a program name with args.
5349 set dummy windres
; ac_word
=$2
5350 echo "$as_me:$LINENO: checking for $ac_word" >&5
5351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5352 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 if test -n "$ac_ct_WINDRES"; then
5356 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_WINDRES
="windres"
5366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5375 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5376 if test -n "$ac_ct_WINDRES"; then
5377 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5378 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5384 WINDRES
=$ac_ct_WINDRES
5386 WINDRES
="$ac_cv_prog_WINDRES"
5389 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5390 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5392 if test "$LN_S" = "ln -s"; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5396 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5397 echo "${ECHO_T}no, using $LN_S" >&6
5400 echo "$as_me:$LINENO: checking whether ln works" >&5
5401 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5402 rm -f conf$$ conf$$.
file
5404 if ln conf$$.
file conf$$
2>/dev
/null
; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5412 echo "$as_me:$LINENO: result: no, using $LN" >&5
5413 echo "${ECHO_T}no, using $LN" >&6
5415 rm -f conf$$ conf$$.
file
5416 echo "$as_me:$LINENO: checking for egrep" >&5
5417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5418 if test "${ac_cv_prog_egrep+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5422 then ac_cv_prog_egrep
='grep -E'
5423 else ac_cv_prog_egrep
='egrep'
5426 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5427 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5428 EGREP
=$ac_cv_prog_egrep
5431 # Extract the first word of "ldconfig", so it can be a program name with args.
5432 set dummy ldconfig
; ac_word
=$2
5433 echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5435 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5444 for as_dir
in /sbin
/usr
/sbin
$PATH
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5461 LDCONFIG
=$ac_cv_path_LDCONFIG
5463 if test -n "$LDCONFIG"; then
5464 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5465 echo "${ECHO_T}$LDCONFIG" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5471 # Find a good install program. We prefer a C program (faster),
5472 # so one script is as good as another. But avoid the broken or
5473 # incompatible versions:
5474 # SysV /etc/install, /usr/sbin/install
5475 # SunOS /usr/etc/install
5476 # IRIX /sbin/install
5478 # AmigaOS /C/install, which installs bootblocks on floppy discs
5479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5482 # OS/2's system install, which has a completely different semantic
5483 # ./install, which can be erroneously created by make from ./install.sh.
5484 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5485 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5486 if test -z "$INSTALL"; then
5487 if test "${ac_cv_path_install+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 # Account for people who put trailing slashes in PATH elements.
5497 .
/ | .
// |
/cC
/* | \
5498 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5499 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5502 # OSF1 and SCO ODT 3.0 have their own names for install.
5503 # Don't use installbsd from OSF since it installs stuff as root
5505 for ac_prog
in ginstall scoinst
install; do
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5508 if test $ac_prog = install &&
5509 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5510 # AIX install. It has an incompatible calling convention.
5512 elif test $ac_prog = install &&
5513 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5514 # program-specific install script used by HP pwplus--don't use.
5517 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5529 if test "${ac_cv_path_install+set}" = set; then
5530 INSTALL
=$ac_cv_path_install
5532 # As a last resort, use the slow shell script. We don't cache a
5533 # path for INSTALL within a source directory, because that will
5534 # break other packages using the cache if that directory is
5535 # removed, or if the path is relative.
5536 INSTALL
=$ac_install_sh
5539 echo "$as_me:$LINENO: result: $INSTALL" >&5
5540 echo "${ECHO_T}$INSTALL" >&6
5542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5543 # It thinks the first close brace ends the variable substitution.
5544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5548 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5551 [\\/$
]* | ?
:[\\/]* ) ;;
5552 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5555 for ac_prog
in lclint lint
5557 # Extract the first word of "$ac_prog", so it can be a program name with args.
5558 set dummy
$ac_prog; ac_word
=$2
5559 echo "$as_me:$LINENO: checking for $ac_word" >&5
5560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5561 if test "${ac_cv_prog_LINT+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 if test -n "$LINT"; then
5565 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z "$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_LINT
="$ac_prog"
5575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 LINT
=$ac_cv_prog_LINT
5584 if test -n "$LINT"; then
5585 echo "$as_me:$LINENO: result: $LINT" >&5
5586 echo "${ECHO_T}$LINT" >&6
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5592 test -n "$LINT" && break
5595 if test "$LINT" = "lint"
5597 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5602 for ac_prog
in fontforge
5604 # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy
$ac_prog; ac_word
=$2
5606 echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5608 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 if test -n "$FONTFORGE"; then
5612 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_FONTFORGE
="$ac_prog"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 FONTFORGE
=$ac_cv_prog_FONTFORGE
5631 if test -n "$FONTFORGE"; then
5632 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5633 echo "${ECHO_T}$FONTFORGE" >&6
5635 echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5639 test -n "$FONTFORGE" && break
5641 test -n "$FONTFORGE" || FONTFORGE
="false"
5643 for ac_prog
in pkg-config
5645 # Extract the first word of "$ac_prog", so it can be a program name with args.
5646 set dummy
$ac_prog; ac_word
=$2
5647 echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5649 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test -n "$PKG_CONFIG"; then
5653 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_PKG_CONFIG
="$ac_prog"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5672 if test -n "$PKG_CONFIG"; then
5673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5674 echo "${ECHO_T}$PKG_CONFIG" >&6
5676 echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6
5680 test -n "$PKG_CONFIG" && break
5682 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
5687 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5688 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5689 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 ac_check_lib_save_LIBS
=$LIBS
5694 cat >conftest.
$ac_ext <<_ACEOF
5697 cat confdefs.h
>>conftest.
$ac_ext
5698 cat >>conftest.
$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5701 /* Override any gcc2 internal prototype to avoid an error. */
5705 /* We use char because int might match the return type of a gcc2
5706 builtin and then its argument prototype would still apply. */
5707 char i386_set_ldt ();
5716 rm -f conftest.
$ac_objext conftest
$ac_exeext
5717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5718 (eval $ac_link) 2>conftest.er1
5720 grep -v '^ *+' conftest.er1
>conftest.err
5722 cat conftest.err
>&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } &&
5725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; } &&
5731 { ac_try
='test -s conftest$ac_exeext'
5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; }; then
5737 ac_cv_lib_i386_i386_set_ldt
=yes
5739 echo "$as_me: failed program was:" >&5
5740 sed 's/^/| /' conftest.
$ac_ext >&5
5742 ac_cv_lib_i386_i386_set_ldt
=no
5744 rm -f conftest.err conftest.
$ac_objext \
5745 conftest
$ac_exeext conftest.
$ac_ext
5746 LIBS
=$ac_check_lib_save_LIBS
5748 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5749 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5750 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5751 cat >>confdefs.h
<<_ACEOF
5752 #define HAVE_LIBI386 1
5760 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5761 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5762 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 ac_check_lib_save_LIBS
=$LIBS
5766 LIBS
="-lossaudio $LIBS"
5767 cat >conftest.
$ac_ext <<_ACEOF
5770 cat confdefs.h
>>conftest.
$ac_ext
5771 cat >>conftest.
$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5774 /* Override any gcc2 internal prototype to avoid an error. */
5778 /* We use char because int might match the return type of a gcc2
5779 builtin and then its argument prototype would still apply. */
5789 rm -f conftest.
$ac_objext conftest
$ac_exeext
5790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5791 (eval $ac_link) 2>conftest.er1
5793 grep -v '^ *+' conftest.er1
>conftest.err
5795 cat conftest.err
>&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } &&
5798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; } &&
5804 { ac_try
='test -s conftest$ac_exeext'
5805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; }; then
5810 ac_cv_lib_ossaudio__oss_ioctl
=yes
5812 echo "$as_me: failed program was:" >&5
5813 sed 's/^/| /' conftest.
$ac_ext >&5
5815 ac_cv_lib_ossaudio__oss_ioctl
=no
5817 rm -f conftest.err conftest.
$ac_objext \
5818 conftest
$ac_exeext conftest.
$ac_ext
5819 LIBS
=$ac_check_lib_save_LIBS
5821 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5822 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5823 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5824 cat >>confdefs.h
<<_ACEOF
5825 #define HAVE_LIBOSSAUDIO 1
5828 LIBS
="-lossaudio $LIBS"
5833 for ac_func
in gethostbyname
5835 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5836 echo "$as_me:$LINENO: checking for $ac_func" >&5
5837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5838 if eval "test \"\${$as_ac_var+set}\" = set"; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 cat >conftest.
$ac_ext <<_ACEOF
5844 cat confdefs.h
>>conftest.
$ac_ext
5845 cat >>conftest.
$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5849 #define $ac_func innocuous_$ac_func
5851 /* System header to define __stub macros and hopefully few prototypes,
5852 which can conflict with char $ac_func (); below.
5853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5854 <limits.h> exists even on freestanding compilers. */
5857 # include <limits.h>
5859 # include <assert.h>
5864 /* Override any gcc2 internal prototype to avoid an error. */
5869 /* We use char because int might match the return type of a gcc2
5870 builtin and then its argument prototype would still apply. */
5872 /* The GNU C library defines this for functions which it implements
5873 to always fail with ENOSYS. Some functions are actually named
5874 something starting with __ and the normal name is an alias. */
5875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5878 char (*f) () = $ac_func;
5887 return f != $ac_func;
5892 rm -f conftest.
$ac_objext conftest
$ac_exeext
5893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5894 (eval $ac_link) 2>conftest.er1
5896 grep -v '^ *+' conftest.er1
>conftest.err
5898 cat conftest.err
>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } &&
5901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; } &&
5907 { ac_try
='test -s conftest$ac_exeext'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5913 eval "$as_ac_var=yes"
5915 echo "$as_me: failed program was:" >&5
5916 sed 's/^/| /' conftest.
$ac_ext >&5
5918 eval "$as_ac_var=no"
5920 rm -f conftest.err conftest.
$ac_objext \
5921 conftest
$ac_exeext conftest.
$ac_ext
5923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5925 if test `eval echo '${'$as_ac_var'}'` = yes; then
5926 cat >>confdefs.h
<<_ACEOF
5927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5932 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5933 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5934 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 ac_check_lib_save_LIBS
=$LIBS
5939 cat >conftest.
$ac_ext <<_ACEOF
5942 cat confdefs.h
>>conftest.
$ac_ext
5943 cat >>conftest.
$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5946 /* Override any gcc2 internal prototype to avoid an error. */
5950 /* We use char because int might match the return type of a gcc2
5951 builtin and then its argument prototype would still apply. */
5952 char gethostbyname ();
5961 rm -f conftest.
$ac_objext conftest
$ac_exeext
5962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5963 (eval $ac_link) 2>conftest.er1
5965 grep -v '^ *+' conftest.er1
>conftest.err
5967 cat conftest.err
>&5
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); } &&
5970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; } &&
5976 { ac_try
='test -s conftest$ac_exeext'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; }; then
5982 ac_cv_lib_nsl_gethostbyname
=yes
5984 echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.
$ac_ext >&5
5987 ac_cv_lib_nsl_gethostbyname
=no
5989 rm -f conftest.err conftest.
$ac_objext \
5990 conftest
$ac_exeext conftest.
$ac_ext
5991 LIBS
=$ac_check_lib_save_LIBS
5993 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5994 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5995 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5996 cat >>confdefs.h
<<_ACEOF
5997 #define HAVE_LIBNSL 1
6008 for ac_func
in connect
6010 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6011 echo "$as_me:$LINENO: checking for $ac_func" >&5
6012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6013 if eval "test \"\${$as_ac_var+set}\" = set"; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 cat >conftest.
$ac_ext <<_ACEOF
6019 cat confdefs.h
>>conftest.
$ac_ext
6020 cat >>conftest.
$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6024 #define $ac_func innocuous_$ac_func
6026 /* System header to define __stub macros and hopefully few prototypes,
6027 which can conflict with char $ac_func (); below.
6028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6029 <limits.h> exists even on freestanding compilers. */
6032 # include <limits.h>
6034 # include <assert.h>
6039 /* Override any gcc2 internal prototype to avoid an error. */
6044 /* We use char because int might match the return type of a gcc2
6045 builtin and then its argument prototype would still apply. */
6047 /* The GNU C library defines this for functions which it implements
6048 to always fail with ENOSYS. Some functions are actually named
6049 something starting with __ and the normal name is an alias. */
6050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6053 char (*f) () = $ac_func;
6062 return f != $ac_func;
6067 rm -f conftest.
$ac_objext conftest
$ac_exeext
6068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6069 (eval $ac_link) 2>conftest.er1
6071 grep -v '^ *+' conftest.er1
>conftest.err
6073 cat conftest.err
>&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } &&
6076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try
='test -s conftest$ac_exeext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 eval "$as_ac_var=yes"
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.
$ac_ext >&5
6093 eval "$as_ac_var=no"
6095 rm -f conftest.err conftest.
$ac_objext \
6096 conftest
$ac_exeext conftest.
$ac_ext
6098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6100 if test `eval echo '${'$as_ac_var'}'` = yes; then
6101 cat >>confdefs.h
<<_ACEOF
6102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6107 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6108 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6109 if test "${ac_cv_lib_socket_connect+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6112 ac_check_lib_save_LIBS
=$LIBS
6113 LIBS
="-lsocket $LIBS"
6114 cat >conftest.
$ac_ext <<_ACEOF
6117 cat confdefs.h
>>conftest.
$ac_ext
6118 cat >>conftest.
$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6121 /* Override any gcc2 internal prototype to avoid an error. */
6125 /* We use char because int might match the return type of a gcc2
6126 builtin and then its argument prototype would still apply. */
6136 rm -f conftest.
$ac_objext conftest
$ac_exeext
6137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6138 (eval $ac_link) 2>conftest.er1
6140 grep -v '^ *+' conftest.er1
>conftest.err
6142 cat conftest.err
>&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } &&
6145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; } &&
6151 { ac_try
='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 ac_cv_lib_socket_connect
=yes
6159 echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.
$ac_ext >&5
6162 ac_cv_lib_socket_connect
=no
6164 rm -f conftest.err conftest.
$ac_objext \
6165 conftest
$ac_exeext conftest.
$ac_ext
6166 LIBS
=$ac_check_lib_save_LIBS
6168 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6169 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6170 if test $ac_cv_lib_socket_connect = yes; then
6171 cat >>confdefs.h
<<_ACEOF
6172 #define HAVE_LIBSOCKET 1
6175 LIBS
="-lsocket $LIBS"
6183 for ac_func
in inet_aton
6185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6186 echo "$as_me:$LINENO: checking for $ac_func" >&5
6187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6188 if eval "test \"\${$as_ac_var+set}\" = set"; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 cat >conftest.
$ac_ext <<_ACEOF
6194 cat confdefs.h
>>conftest.
$ac_ext
6195 cat >>conftest.
$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6199 #define $ac_func innocuous_$ac_func
6201 /* System header to define __stub macros and hopefully few prototypes,
6202 which can conflict with char $ac_func (); below.
6203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6204 <limits.h> exists even on freestanding compilers. */
6207 # include <limits.h>
6209 # include <assert.h>
6214 /* Override any gcc2 internal prototype to avoid an error. */
6219 /* We use char because int might match the return type of a gcc2
6220 builtin and then its argument prototype would still apply. */
6222 /* The GNU C library defines this for functions which it implements
6223 to always fail with ENOSYS. Some functions are actually named
6224 something starting with __ and the normal name is an alias. */
6225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6228 char (*f) () = $ac_func;
6237 return f != $ac_func;
6242 rm -f conftest.
$ac_objext conftest
$ac_exeext
6243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6244 (eval $ac_link) 2>conftest.er1
6246 grep -v '^ *+' conftest.er1
>conftest.err
6248 cat conftest.err
>&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } &&
6251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; } &&
6257 { ac_try
='test -s conftest$ac_exeext'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6263 eval "$as_ac_var=yes"
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.
$ac_ext >&5
6268 eval "$as_ac_var=no"
6270 rm -f conftest.err conftest.
$ac_objext \
6271 conftest
$ac_exeext conftest.
$ac_ext
6273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6275 if test `eval echo '${'$as_ac_var'}'` = yes; then
6276 cat >>confdefs.h
<<_ACEOF
6277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6282 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6283 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6284 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 ac_check_lib_save_LIBS
=$LIBS
6288 LIBS
="-lresolv $LIBS"
6289 cat >conftest.
$ac_ext <<_ACEOF
6292 cat confdefs.h
>>conftest.
$ac_ext
6293 cat >>conftest.
$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6296 /* Override any gcc2 internal prototype to avoid an error. */
6300 /* We use char because int might match the return type of a gcc2
6301 builtin and then its argument prototype would still apply. */
6311 rm -f conftest.
$ac_objext conftest
$ac_exeext
6312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6313 (eval $ac_link) 2>conftest.er1
6315 grep -v '^ *+' conftest.er1
>conftest.err
6317 cat conftest.err
>&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); } &&
6320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; } &&
6326 { ac_try
='test -s conftest$ac_exeext'
6327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; }; then
6332 ac_cv_lib_resolv_inet_aton
=yes
6334 echo "$as_me: failed program was:" >&5
6335 sed 's/^/| /' conftest.
$ac_ext >&5
6337 ac_cv_lib_resolv_inet_aton
=no
6339 rm -f conftest.err conftest.
$ac_objext \
6340 conftest
$ac_exeext conftest.
$ac_ext
6341 LIBS
=$ac_check_lib_save_LIBS
6343 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6344 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6345 if test $ac_cv_lib_resolv_inet_aton = yes; then
6346 cat >>confdefs.h
<<_ACEOF
6347 #define HAVE_LIBRESOLV 1
6350 LIBS
="-lresolv $LIBS"
6358 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6359 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6360 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6361 echo $ECHO_N "(cached) $ECHO_C" >&6
6363 ac_check_lib_save_LIBS
=$LIBS
6365 cat >conftest.
$ac_ext <<_ACEOF
6368 cat confdefs.h
>>conftest.
$ac_ext
6369 cat >>conftest.
$ac_ext <<_ACEOF
6370 /* end confdefs.h. */
6372 /* Override any gcc2 internal prototype to avoid an error. */
6376 /* We use char because int might match the return type of a gcc2
6377 builtin and then its argument prototype would still apply. */
6378 char _xpg4_setrunelocale ();
6382 _xpg4_setrunelocale ();
6387 rm -f conftest.
$ac_objext conftest
$ac_exeext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6389 (eval $ac_link) 2>conftest.er1
6391 grep -v '^ *+' conftest.er1
>conftest.err
6393 cat conftest.err
>&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } &&
6396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; } &&
6402 { ac_try
='test -s conftest$ac_exeext'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.
$ac_ext >&5
6413 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6415 rm -f conftest.err conftest.
$ac_objext \
6416 conftest
$ac_exeext conftest.
$ac_ext
6417 LIBS
=$ac_check_lib_save_LIBS
6419 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6420 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6421 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6422 cat >>confdefs.h
<<_ACEOF
6423 #define HAVE_LIBXPG4 1
6431 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6432 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6433 if test "${ac_cv_lib_poll_poll+set}" = set; then
6434 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 ac_check_lib_save_LIBS
=$LIBS
6438 cat >conftest.
$ac_ext <<_ACEOF
6441 cat confdefs.h
>>conftest.
$ac_ext
6442 cat >>conftest.
$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6445 /* Override any gcc2 internal prototype to avoid an error. */
6449 /* We use char because int might match the return type of a gcc2
6450 builtin and then its argument prototype would still apply. */
6460 rm -f conftest.
$ac_objext conftest
$ac_exeext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6462 (eval $ac_link) 2>conftest.er1
6464 grep -v '^ *+' conftest.er1
>conftest.err
6466 cat conftest.err
>&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); } &&
6469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; } &&
6475 { ac_try
='test -s conftest$ac_exeext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6481 ac_cv_lib_poll_poll
=yes
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.
$ac_ext >&5
6486 ac_cv_lib_poll_poll
=no
6488 rm -f conftest.err conftest.
$ac_objext \
6489 conftest
$ac_exeext conftest.
$ac_ext
6490 LIBS
=$ac_check_lib_save_LIBS
6492 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6493 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6494 if test $ac_cv_lib_poll_poll = yes; then
6495 cat >>confdefs.h
<<_ACEOF
6496 #define HAVE_LIBPOLL 1
6504 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6505 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6506 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 ac_check_lib_save_LIBS
=$LIBS
6510 LIBS
="-lresolv $LIBS"
6511 cat >conftest.
$ac_ext <<_ACEOF
6514 cat confdefs.h
>>conftest.
$ac_ext
6515 cat >>conftest.
$ac_ext <<_ACEOF
6516 /* end confdefs.h. */
6518 /* Override any gcc2 internal prototype to avoid an error. */
6522 /* We use char because int might match the return type of a gcc2
6523 builtin and then its argument prototype would still apply. */
6533 rm -f conftest.
$ac_objext conftest
$ac_exeext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6535 (eval $ac_link) 2>conftest.er1
6537 grep -v '^ *+' conftest.er1
>conftest.err
6539 cat conftest.err
>&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } &&
6542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; } &&
6548 { ac_try
='test -s conftest$ac_exeext'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }; then
6554 ac_cv_lib_resolv_res_9_init
=yes
6556 echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.
$ac_ext >&5
6559 ac_cv_lib_resolv_res_9_init
=no
6561 rm -f conftest.err conftest.
$ac_objext \
6562 conftest
$ac_exeext conftest.
$ac_ext
6563 LIBS
=$ac_check_lib_save_LIBS
6565 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6566 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6567 if test $ac_cv_lib_resolv_res_9_init = yes; then
6568 cat >>confdefs.h
<<_ACEOF
6569 #define HAVE_LIBRESOLV 1
6572 LIBS
="-lresolv $LIBS"
6576 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6577 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6578 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 ac_check_lib_save_LIBS
=$LIBS
6582 LIBS
="-lpthread $LIBS"
6583 cat >conftest.
$ac_ext <<_ACEOF
6586 cat confdefs.h
>>conftest.
$ac_ext
6587 cat >>conftest.
$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6590 /* Override any gcc2 internal prototype to avoid an error. */
6594 /* We use char because int might match the return type of a gcc2
6595 builtin and then its argument prototype would still apply. */
6596 char pthread_create ();
6605 rm -f conftest.
$ac_objext conftest
$ac_exeext
6606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6607 (eval $ac_link) 2>conftest.er1
6609 grep -v '^ *+' conftest.er1
>conftest.err
6611 cat conftest.err
>&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } &&
6614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; } &&
6620 { ac_try
='test -s conftest$ac_exeext'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; }; then
6626 ac_cv_lib_pthread_pthread_create
=yes
6628 echo "$as_me: failed program was:" >&5
6629 sed 's/^/| /' conftest.
$ac_ext >&5
6631 ac_cv_lib_pthread_pthread_create
=no
6633 rm -f conftest.err conftest.
$ac_objext \
6634 conftest
$ac_exeext conftest.
$ac_ext
6635 LIBS
=$ac_check_lib_save_LIBS
6637 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6638 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6639 if test $ac_cv_lib_pthread_pthread_create = yes; then
6640 LIBPTHREAD
="-lpthread"
6657 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6658 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6659 if test "${ac_cv_header_stdc+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 cat >conftest.
$ac_ext <<_ACEOF
6665 cat confdefs.h
>>conftest.
$ac_ext
6666 cat >>conftest.
$ac_ext <<_ACEOF
6667 /* end confdefs.h. */
6681 rm -f conftest.
$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6685 grep -v '^ *+' conftest.er1
>conftest.err
6687 cat conftest.err
>&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; } &&
6696 { ac_try
='test -s conftest.$ac_objext'
6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; }; then
6702 ac_cv_header_stdc
=yes
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.
$ac_ext >&5
6707 ac_cv_header_stdc
=no
6709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6711 if test $ac_cv_header_stdc = yes; then
6712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6713 cat >conftest.
$ac_ext <<_ACEOF
6716 cat confdefs.h
>>conftest.
$ac_ext
6717 cat >>conftest.
$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6723 $EGREP "memchr" >/dev
/null
2>&1; then
6726 ac_cv_header_stdc
=no
6732 if test $ac_cv_header_stdc = yes; then
6733 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6734 cat >conftest.
$ac_ext <<_ACEOF
6737 cat confdefs.h
>>conftest.
$ac_ext
6738 cat >>conftest.
$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6744 $EGREP "free" >/dev
/null
2>&1; then
6747 ac_cv_header_stdc
=no
6753 if test $ac_cv_header_stdc = yes; then
6754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6755 if test "$cross_compiling" = yes; then
6758 cat >conftest.
$ac_ext <<_ACEOF
6761 cat confdefs.h
>>conftest.
$ac_ext
6762 cat >>conftest.
$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6765 #if ((' ' & 0x0FF) == 0x020)
6766 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6767 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6769 # define ISLOWER(c) \
6770 (('a' <= (c) && (c) <= 'i') \
6771 || ('j' <= (c) && (c) <= 'r') \
6772 || ('s' <= (c) && (c) <= 'z'))
6773 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6776 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6781 for (i = 0; i < 256; i++)
6782 if (XOR (islower (i), ISLOWER (i))
6783 || toupper (i) != TOUPPER (i))
6788 rm -f conftest
$ac_exeext
6789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6790 (eval $ac_link) 2>&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); }; }; then
6801 echo "$as_me: program exited with status $ac_status" >&5
6802 echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.
$ac_ext >&5
6806 ac_cv_header_stdc
=no
6808 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6812 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6813 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6814 if test $ac_cv_header_stdc = yes; then
6816 cat >>confdefs.h
<<\_ACEOF
6817 #define STDC_HEADERS 1
6822 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6832 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6833 inttypes.h stdint.h unistd.h
6835 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6836 echo "$as_me:$LINENO: checking for $ac_header" >&5
6837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 cat >conftest.
$ac_ext <<_ACEOF
6844 cat confdefs.h
>>conftest.
$ac_ext
6845 cat >>conftest.
$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6847 $ac_includes_default
6849 #include <$ac_header>
6851 rm -f conftest.
$ac_objext
6852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6853 (eval $ac_compile) 2>conftest.er1
6855 grep -v '^ *+' conftest.er1
>conftest.err
6857 cat conftest.err
>&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } &&
6860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; } &&
6866 { ac_try
='test -s conftest.$ac_objext'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }; then
6872 eval "$as_ac_Header=yes"
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.
$ac_ext >&5
6877 eval "$as_ac_Header=no"
6879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6884 cat >>confdefs.h
<<_ACEOF
6885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7006 fontconfig
/fontconfig.h \
7033 machine
/soundcard.h \
7038 netinet
/in_systm.h \
7096 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7098 echo "$as_me:$LINENO: checking for $ac_header" >&5
7099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7106 # Is the header compilable?
7107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7109 cat >conftest.
$ac_ext <<_ACEOF
7112 cat confdefs.h
>>conftest.
$ac_ext
7113 cat >>conftest.
$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 $ac_includes_default
7116 #include <$ac_header>
7118 rm -f conftest.
$ac_objext
7119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7120 (eval $ac_compile) 2>conftest.er1
7122 grep -v '^ *+' conftest.er1
>conftest.err
7124 cat conftest.err
>&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); } &&
7127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; } &&
7133 { ac_try
='test -s conftest.$ac_objext'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; }; then
7139 ac_header_compiler
=yes
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.
$ac_ext >&5
7144 ac_header_compiler
=no
7146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7148 echo "${ECHO_T}$ac_header_compiler" >&6
7150 # Is the header present?
7151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7153 cat >conftest.
$ac_ext <<_ACEOF
7156 cat confdefs.h
>>conftest.
$ac_ext
7157 cat >>conftest.
$ac_ext <<_ACEOF
7158 /* end confdefs.h. */
7159 #include <$ac_header>
7161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7164 grep -v '^ *+' conftest.er1
>conftest.err
7166 cat conftest.err
>&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } >/dev
/null
; then
7169 if test -s conftest.err
; then
7170 ac_cpp_err
=$ac_c_preproc_warn_flag
7171 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7178 if test -z "$ac_cpp_err"; then
7179 ac_header_preproc
=yes
7181 echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.
$ac_ext >&5
7184 ac_header_preproc
=no
7186 rm -f conftest.err conftest.
$ac_ext
7187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7188 echo "${ECHO_T}$ac_header_preproc" >&6
7190 # So? What about this header?
7191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7197 ac_header_preproc
=yes
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7214 ## ------------------------------------ ##
7215 ## Report this to wine-devel@winehq.org ##
7216 ## ------------------------------------ ##
7219 sed "s/^/$as_me: WARNING: /" >&2
7222 echo "$as_me:$LINENO: checking for $ac_header" >&5
7223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 eval "$as_ac_Header=\$ac_header_preproc"
7229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7234 cat >>confdefs.h
<<_ACEOF
7235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7242 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7243 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7244 if test "${ac_cv_header_stat_broken+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <sys/types.h>
7254 #include <sys/stat.h>
7256 #if defined(S_ISBLK) && defined(S_IFDIR)
7257 # if S_ISBLK (S_IFDIR)
7262 #if defined(S_ISBLK) && defined(S_IFCHR)
7263 # if S_ISBLK (S_IFCHR)
7268 #if defined(S_ISLNK) && defined(S_IFREG)
7269 # if S_ISLNK (S_IFREG)
7274 #if defined(S_ISSOCK) && defined(S_IFREG)
7275 # if S_ISSOCK (S_IFREG)
7281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7282 $EGREP "You lose" >/dev
/null
2>&1; then
7283 ac_cv_header_stat_broken
=yes
7285 ac_cv_header_stat_broken
=no
7290 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7291 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7292 if test $ac_cv_header_stat_broken = yes; then
7294 cat >>confdefs.h
<<\_ACEOF
7295 #define STAT_MACROS_BROKEN 1
7302 if test "$have_x" = "yes"
7305 ac_save_CPPFLAGS
="$CPPFLAGS"
7306 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7318 for ac_header
in X11
/Xlib.h \
7321 X11
/extensions
/shape.h \
7322 X11
/extensions
/XInput.h \
7323 X11
/extensions
/XShm.h \
7324 X11
/extensions
/Xrandr.h \
7325 X11
/extensions
/Xrender.h \
7326 X11
/extensions
/xf86dga.h \
7327 X11
/extensions
/xf86vmode.h
7329 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7330 echo "$as_me:$LINENO: checking for $ac_header" >&5
7331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 cat >conftest.
$ac_ext <<_ACEOF
7338 cat confdefs.h
>>conftest.
$ac_ext
7339 cat >>conftest.
$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 #ifdef HAVE_X11_XLIB_H
7342 # include <X11/Xlib.h>
7344 #ifdef HAVE_X11_XUTIL_H
7345 # include <X11/Xutil.h>
7348 #include <$ac_header>
7350 rm -f conftest.
$ac_objext
7351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7352 (eval $ac_compile) 2>conftest.er1
7354 grep -v '^ *+' conftest.er1
>conftest.err
7356 cat conftest.err
>&5
7357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); } &&
7359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; } &&
7365 { ac_try
='test -s conftest.$ac_objext'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7371 eval "$as_ac_Header=yes"
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.
$ac_ext >&5
7376 eval "$as_ac_Header=no"
7378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7383 cat >>confdefs.h
<<_ACEOF
7384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7392 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7394 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7395 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7396 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 ac_check_lib_save_LIBS
=$LIBS
7400 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7401 cat >conftest.
$ac_ext <<_ACEOF
7404 cat confdefs.h
>>conftest.
$ac_ext
7405 cat >>conftest.
$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7408 /* Override any gcc2 internal prototype to avoid an error. */
7412 /* We use char because int might match the return type of a gcc2
7413 builtin and then its argument prototype would still apply. */
7414 char XkbQueryExtension ();
7418 XkbQueryExtension ();
7423 rm -f conftest.
$ac_objext conftest
$ac_exeext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7425 (eval $ac_link) 2>conftest.er1
7427 grep -v '^ *+' conftest.er1
>conftest.err
7429 cat conftest.err
>&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } &&
7432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); }; } &&
7438 { ac_try
='test -s conftest$ac_exeext'
7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); }; }; then
7444 ac_cv_lib_X11_XkbQueryExtension
=yes
7446 echo "$as_me: failed program was:" >&5
7447 sed 's/^/| /' conftest.
$ac_ext >&5
7449 ac_cv_lib_X11_XkbQueryExtension
=no
7451 rm -f conftest.err conftest.
$ac_objext \
7452 conftest
$ac_exeext conftest.
$ac_ext
7453 LIBS
=$ac_check_lib_save_LIBS
7455 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7456 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7457 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7459 cat >>confdefs.h
<<\_ACEOF
7467 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7469 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7470 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7471 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 ac_check_lib_save_LIBS
=$LIBS
7475 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7476 cat >conftest.
$ac_ext <<_ACEOF
7479 cat confdefs.h
>>conftest.
$ac_ext
7480 cat >>conftest.
$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7483 /* Override any gcc2 internal prototype to avoid an error. */
7487 /* We use char because int might match the return type of a gcc2
7488 builtin and then its argument prototype would still apply. */
7489 char XShmQueryExtension ();
7493 XShmQueryExtension ();
7498 rm -f conftest.
$ac_objext conftest
$ac_exeext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7500 (eval $ac_link) 2>conftest.er1
7502 grep -v '^ *+' conftest.er1
>conftest.err
7504 cat conftest.err
>&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } &&
7507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); }; } &&
7513 { ac_try
='test -s conftest$ac_exeext'
7514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); }; }; then
7519 ac_cv_lib_Xext_XShmQueryExtension
=yes
7521 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.
$ac_ext >&5
7524 ac_cv_lib_Xext_XShmQueryExtension
=no
7526 rm -f conftest.err conftest.
$ac_objext \
7527 conftest
$ac_exeext conftest.
$ac_ext
7528 LIBS
=$ac_check_lib_save_LIBS
7530 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7531 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7532 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7534 cat >>confdefs.h
<<\_ACEOF
7535 #define HAVE_LIBXXSHM 1
7542 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7544 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7545 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7546 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7547 echo $ECHO_N "(cached) $ECHO_C" >&6
7549 ac_check_lib_save_LIBS
=$LIBS
7550 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7551 cat >conftest.
$ac_ext <<_ACEOF
7554 cat confdefs.h
>>conftest.
$ac_ext
7555 cat >>conftest.
$ac_ext <<_ACEOF
7556 /* end confdefs.h. */
7558 /* Override any gcc2 internal prototype to avoid an error. */
7562 /* We use char because int might match the return type of a gcc2
7563 builtin and then its argument prototype would still apply. */
7564 char XShapeQueryExtension ();
7568 XShapeQueryExtension ();
7573 rm -f conftest.
$ac_objext conftest
$ac_exeext
7574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7575 (eval $ac_link) 2>conftest.er1
7577 grep -v '^ *+' conftest.er1
>conftest.err
7579 cat conftest.err
>&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } &&
7582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; } &&
7588 { ac_try
='test -s conftest$ac_exeext'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then
7594 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.
$ac_ext >&5
7599 ac_cv_lib_Xext_XShapeQueryExtension
=no
7601 rm -f conftest.err conftest.
$ac_objext \
7602 conftest
$ac_exeext conftest.
$ac_ext
7603 LIBS
=$ac_check_lib_save_LIBS
7605 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7606 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7607 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7609 cat >>confdefs.h
<<\_ACEOF
7610 #define HAVE_LIBXSHAPE 1
7617 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7619 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7620 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7621 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7624 ac_check_lib_save_LIBS
=$LIBS
7625 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7626 cat >conftest.
$ac_ext <<_ACEOF
7629 cat confdefs.h
>>conftest.
$ac_ext
7630 cat >>conftest.
$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7633 /* Override any gcc2 internal prototype to avoid an error. */
7637 /* We use char because int might match the return type of a gcc2
7638 builtin and then its argument prototype would still apply. */
7639 char XDGAQueryExtension ();
7643 XDGAQueryExtension ();
7648 rm -f conftest.
$ac_objext conftest
$ac_exeext
7649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7650 (eval $ac_link) 2>conftest.er1
7652 grep -v '^ *+' conftest.er1
>conftest.err
7654 cat conftest.err
>&5
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); } &&
7657 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); }; } &&
7663 { ac_try
='test -s conftest$ac_exeext'
7664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); }; }; then
7669 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7671 echo "$as_me: failed program was:" >&5
7672 sed 's/^/| /' conftest.
$ac_ext >&5
7674 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7676 rm -f conftest.err conftest.
$ac_objext \
7677 conftest
$ac_exeext conftest.
$ac_ext
7678 LIBS
=$ac_check_lib_save_LIBS
7680 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7681 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7682 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7684 cat >>confdefs.h
<<\_ACEOF
7685 #define HAVE_LIBXXF86DGA2 1
7688 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7694 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7696 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7697 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7698 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7699 echo $ECHO_N "(cached) $ECHO_C" >&6
7701 ac_check_lib_save_LIBS
=$LIBS
7702 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7703 cat >conftest.
$ac_ext <<_ACEOF
7706 cat confdefs.h
>>conftest.
$ac_ext
7707 cat >>conftest.
$ac_ext <<_ACEOF
7708 /* end confdefs.h. */
7710 /* Override any gcc2 internal prototype to avoid an error. */
7714 /* We use char because int might match the return type of a gcc2
7715 builtin and then its argument prototype would still apply. */
7716 char XF86VidModeQueryExtension ();
7720 XF86VidModeQueryExtension ();
7725 rm -f conftest.
$ac_objext conftest
$ac_exeext
7726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7727 (eval $ac_link) 2>conftest.er1
7729 grep -v '^ *+' conftest.er1
>conftest.err
7731 cat conftest.err
>&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try
='test -s conftest$ac_exeext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7746 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.
$ac_ext >&5
7751 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7753 rm -f conftest.err conftest.
$ac_objext \
7754 conftest
$ac_exeext conftest.
$ac_ext
7755 LIBS
=$ac_check_lib_save_LIBS
7757 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7758 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7759 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7761 cat >>confdefs.h
<<\_ACEOF
7762 #define HAVE_LIBXXF86VM 1
7765 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7771 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7773 cat >conftest.
$ac_ext <<_ACEOF
7776 cat confdefs.h
>>conftest.
$ac_ext
7777 cat >>conftest.
$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7779 #include <X11/Xlib.h>
7780 #include <X11/extensions/Xrandr.h>
7784 static typeof(XRRSetScreenConfigAndRate) * func;
7789 rm -f conftest.
$ac_objext
7790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7791 (eval $ac_compile) 2>conftest.er1
7793 grep -v '^ *+' conftest.er1
>conftest.err
7795 cat conftest.err
>&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } &&
7798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); }; } &&
7804 { ac_try
='test -s conftest.$ac_objext'
7805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); }; }; then
7811 cat >>confdefs.h
<<\_ACEOF
7812 #define HAVE_LIBXRANDR 1
7816 echo "$as_me: failed program was:" >&5
7817 sed 's/^/| /' conftest.
$ac_ext >&5
7820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7823 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
7825 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
7826 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
7827 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
7828 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 ac_check_lib_save_LIBS
=$LIBS
7831 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7832 cat >conftest.
$ac_ext <<_ACEOF
7835 cat confdefs.h
>>conftest.
$ac_ext
7836 cat >>conftest.
$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7839 /* Override any gcc2 internal prototype to avoid an error. */
7843 /* We use char because int might match the return type of a gcc2
7844 builtin and then its argument prototype would still apply. */
7845 char XRenderSetPictureTransform ();
7849 XRenderSetPictureTransform ();
7854 rm -f conftest.
$ac_objext conftest
$ac_exeext
7855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7856 (eval $ac_link) 2>conftest.er1
7858 grep -v '^ *+' conftest.er1
>conftest.err
7860 cat conftest.err
>&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } &&
7863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); }; } &&
7869 { ac_try
='test -s conftest$ac_exeext'
7870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 (exit $ac_status); }; }; then
7875 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
7877 echo "$as_me: failed program was:" >&5
7878 sed 's/^/| /' conftest.
$ac_ext >&5
7880 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
7882 rm -f conftest.err conftest.
$ac_objext \
7883 conftest
$ac_exeext conftest.
$ac_ext
7884 LIBS
=$ac_check_lib_save_LIBS
7886 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
7887 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
7888 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
7890 cat >>confdefs.h
<<\_ACEOF
7891 #define HAVE_XRENDERSETPICTURETRANSFORM 1
7898 if test "x$with_opengl" != "xno"
7903 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h
7905 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7906 echo "$as_me:$LINENO: checking for $ac_header" >&5
7907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 cat >conftest.
$ac_ext <<_ACEOF
7914 cat confdefs.h
>>conftest.
$ac_ext
7915 cat >>conftest.
$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7917 #ifdef HAVE_GL_GLX_H
7918 # include <GL/glx.h>
7921 #include <$ac_header>
7923 rm -f conftest.
$ac_objext
7924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7925 (eval $ac_compile) 2>conftest.er1
7927 grep -v '^ *+' conftest.er1
>conftest.err
7929 cat conftest.err
>&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } &&
7932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; } &&
7938 { ac_try
='test -s conftest.$ac_objext'
7939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); }; }; then
7944 eval "$as_ac_Header=yes"
7946 echo "$as_me: failed program was:" >&5
7947 sed 's/^/| /' conftest.
$ac_ext >&5
7949 eval "$as_ac_Header=no"
7951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7956 cat >>confdefs.h
<<_ACEOF
7957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7964 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7966 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7967 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7968 if test "${wine_cv_opengl_version_OK+set}" = set; then
7969 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 cat >conftest.
$ac_ext <<_ACEOF
7974 cat confdefs.h
>>conftest.
$ac_ext
7975 cat >>conftest.
$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7981 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7986 rm -f conftest.
$ac_objext
7987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7988 (eval $ac_compile) 2>conftest.er1
7990 grep -v '^ *+' conftest.er1
>conftest.err
7992 cat conftest.err
>&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } &&
7995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); }; } &&
8001 { ac_try
='test -s conftest.$ac_objext'
8002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); }; }; then
8007 wine_cv_opengl_version_OK
="yes"
8009 echo "$as_me: failed program was:" >&5
8010 sed 's/^/| /' conftest.
$ac_ext >&5
8012 wine_cv_opengl_version_OK
="no"
8015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8018 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8019 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8021 if test "$wine_cv_opengl_version_OK" = "yes"
8023 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8024 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8025 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8026 echo $ECHO_N "(cached) $ECHO_C" >&6
8028 ac_check_lib_save_LIBS
=$LIBS
8029 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8030 cat >conftest.
$ac_ext <<_ACEOF
8033 cat confdefs.h
>>conftest.
$ac_ext
8034 cat >>conftest.
$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8037 /* Override any gcc2 internal prototype to avoid an error. */
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8043 char glXCreateContext ();
8047 glXCreateContext ();
8052 rm -f conftest.
$ac_objext conftest
$ac_exeext
8053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8054 (eval $ac_link) 2>conftest.er1
8056 grep -v '^ *+' conftest.er1
>conftest.err
8058 cat conftest.err
>&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } &&
8061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); }; } &&
8067 { ac_try
='test -s conftest$ac_exeext'
8068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); }; }; then
8073 ac_cv_lib_GL_glXCreateContext
=yes
8075 echo "$as_me: failed program was:" >&5
8076 sed 's/^/| /' conftest.
$ac_ext >&5
8078 ac_cv_lib_GL_glXCreateContext
=no
8080 rm -f conftest.err conftest.
$ac_objext \
8081 conftest
$ac_exeext conftest.
$ac_ext
8082 LIBS
=$ac_check_lib_save_LIBS
8084 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8085 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8086 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8092 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8094 OPENGLFILES
='$(OPENGLFILES)'
8096 cat >>confdefs.h
<<\_ACEOF
8097 #define HAVE_OPENGL 1
8101 if test -f /usr
/X11R
6/lib
/libGL.a
8103 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8104 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8105 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8106 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8107 { (exit 1); exit 1; }; }
8111 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8112 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8113 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8116 ac_check_lib_save_LIBS
=$LIBS
8117 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8119 cat >conftest.
$ac_ext <<_ACEOF
8122 cat confdefs.h
>>conftest.
$ac_ext
8123 cat >>conftest.
$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8126 /* Override any gcc2 internal prototype to avoid an error. */
8130 /* We use char because int might match the return type of a gcc2
8131 builtin and then its argument prototype would still apply. */
8141 rm -f conftest.
$ac_objext conftest
$ac_exeext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143 (eval $ac_link) 2>conftest.er1
8145 grep -v '^ *+' conftest.er1
>conftest.err
8147 cat conftest.err
>&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } &&
8150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; } &&
8156 { ac_try
='test -s conftest$ac_exeext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8162 ac_cv_lib_GLU_gluLookAt
=yes
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.
$ac_ext >&5
8167 ac_cv_lib_GLU_gluLookAt
=no
8169 rm -f conftest.err conftest.
$ac_objext \
8170 conftest
$ac_exeext conftest.
$ac_ext
8171 LIBS
=$ac_check_lib_save_LIBS
8173 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8174 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8175 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8176 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8177 GLU32FILES
='$(GLU32FILES)'
8183 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8184 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8185 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 ac_check_lib_save_LIBS
=$LIBS
8189 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8190 cat >conftest.
$ac_ext <<_ACEOF
8193 cat confdefs.h
>>conftest.
$ac_ext
8194 cat >>conftest.
$ac_ext <<_ACEOF
8195 /* end confdefs.h. */
8197 /* Override any gcc2 internal prototype to avoid an error. */
8201 /* We use char because int might match the return type of a gcc2
8202 builtin and then its argument prototype would still apply. */
8203 char glutMainLoop ();
8212 rm -f conftest.
$ac_objext conftest
$ac_exeext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 (eval $ac_link) 2>conftest.er1
8216 grep -v '^ *+' conftest.er1
>conftest.err
8218 cat conftest.err
>&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; } &&
8227 { ac_try
='test -s conftest$ac_exeext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_cv_lib_glut_glutMainLoop
=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.
$ac_ext >&5
8238 ac_cv_lib_glut_glutMainLoop
=no
8240 rm -f conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 LIBS
=$ac_check_lib_save_LIBS
8244 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8245 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8246 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8247 GLUT_LIBS
="-lglut -lXmu -lXi"
8249 GLUT32FILES
='$(GLUT32FILES)'
8259 for ac_header
in audio
/audiolib.h
8261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8263 echo "$as_me:$LINENO: checking for $ac_header" >&5
8264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8271 # Is the header compilable?
8272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8274 cat >conftest.
$ac_ext <<_ACEOF
8277 cat confdefs.h
>>conftest.
$ac_ext
8278 cat >>conftest.
$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8280 $ac_includes_default
8281 #include <$ac_header>
8283 rm -f conftest.
$ac_objext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8285 (eval $ac_compile) 2>conftest.er1
8287 grep -v '^ *+' conftest.er1
>conftest.err
8289 cat conftest.err
>&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
8292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; } &&
8298 { ac_try
='test -s conftest.$ac_objext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 ac_header_compiler
=yes
8306 echo "$as_me: failed program was:" >&5
8307 sed 's/^/| /' conftest.
$ac_ext >&5
8309 ac_header_compiler
=no
8311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8313 echo "${ECHO_T}$ac_header_compiler" >&6
8315 # Is the header present?
8316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8318 cat >conftest.
$ac_ext <<_ACEOF
8321 cat confdefs.h
>>conftest.
$ac_ext
8322 cat >>conftest.
$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8324 #include <$ac_header>
8326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8329 grep -v '^ *+' conftest.er1
>conftest.err
8331 cat conftest.err
>&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } >/dev
/null
; then
8334 if test -s conftest.err
; then
8335 ac_cpp_err
=$ac_c_preproc_warn_flag
8336 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8343 if test -z "$ac_cpp_err"; then
8344 ac_header_preproc
=yes
8346 echo "$as_me: failed program was:" >&5
8347 sed 's/^/| /' conftest.
$ac_ext >&5
8349 ac_header_preproc
=no
8351 rm -f conftest.err conftest.
$ac_ext
8352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8353 echo "${ECHO_T}$ac_header_preproc" >&6
8355 # So? What about this header?
8356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8362 ac_header_preproc
=yes
8365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8379 ## ------------------------------------ ##
8380 ## Report this to wine-devel@winehq.org ##
8381 ## ------------------------------------ ##
8384 sed "s/^/$as_me: WARNING: /" >&2
8387 echo "$as_me:$LINENO: checking for $ac_header" >&5
8388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8390 echo $ECHO_N "(cached) $ECHO_C" >&6
8392 eval "$as_ac_Header=\$ac_header_preproc"
8394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8399 cat >>confdefs.h
<<_ACEOF
8400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8403 for ac_header
in audio
/soundlib.h
8405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8406 echo "$as_me:$LINENO: checking for $ac_header" >&5
8407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8409 echo $ECHO_N "(cached) $ECHO_C" >&6
8411 cat >conftest.
$ac_ext <<_ACEOF
8414 cat confdefs.h
>>conftest.
$ac_ext
8415 cat >>conftest.
$ac_ext <<_ACEOF
8416 /* end confdefs.h. */
8417 #include <audio/audiolib.h>
8419 #include <$ac_header>
8421 rm -f conftest.
$ac_objext
8422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8423 (eval $ac_compile) 2>conftest.er1
8425 grep -v '^ *+' conftest.er1
>conftest.err
8427 cat conftest.err
>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } &&
8430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; } &&
8436 { ac_try
='test -s conftest.$ac_objext'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; }; then
8442 eval "$as_ac_Header=yes"
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.
$ac_ext >&5
8447 eval "$as_ac_Header=no"
8449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8454 cat >>confdefs.h
<<_ACEOF
8455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8462 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8463 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8464 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8465 echo $ECHO_N "(cached) $ECHO_C" >&6
8467 ac_check_lib_save_LIBS
=$LIBS
8468 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8469 cat >conftest.
$ac_ext <<_ACEOF
8472 cat confdefs.h
>>conftest.
$ac_ext
8473 cat >>conftest.
$ac_ext <<_ACEOF
8474 /* end confdefs.h. */
8476 /* Override any gcc2 internal prototype to avoid an error. */
8480 /* We use char because int might match the return type of a gcc2
8481 builtin and then its argument prototype would still apply. */
8482 char AuCreateFlow ();
8491 rm -f conftest.
$ac_objext conftest
$ac_exeext
8492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8493 (eval $ac_link) 2>conftest.er1
8495 grep -v '^ *+' conftest.er1
>conftest.err
8497 cat conftest.err
>&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } &&
8500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; } &&
8506 { ac_try
='test -s conftest$ac_exeext'
8507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); }; }; then
8512 ac_cv_lib_audio_AuCreateFlow
=yes
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.
$ac_ext >&5
8517 ac_cv_lib_audio_AuCreateFlow
=no
8519 rm -f conftest.err conftest.
$ac_objext \
8520 conftest
$ac_exeext conftest.
$ac_ext
8521 LIBS
=$ac_check_lib_save_LIBS
8523 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8524 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8525 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8527 cat >>confdefs.h
<<\_ACEOF
8531 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8539 CPPFLAGS
="$ac_save_CPPFLAGS"
8552 if test "$PKG_CONFIG" != "false"
8554 ac_save_CPPFLAGS
="$CPPFLAGS"
8555 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0`"
8556 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0`"
8557 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8559 for ac_header
in libxml
/parser.h
8561 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8563 echo "$as_me:$LINENO: checking for $ac_header" >&5
8564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8571 # Is the header compilable?
8572 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8574 cat >conftest.
$ac_ext <<_ACEOF
8577 cat confdefs.h
>>conftest.
$ac_ext
8578 cat >>conftest.
$ac_ext <<_ACEOF
8579 /* end confdefs.h. */
8580 $ac_includes_default
8581 #include <$ac_header>
8583 rm -f conftest.
$ac_objext
8584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8585 (eval $ac_compile) 2>conftest.er1
8587 grep -v '^ *+' conftest.er1
>conftest.err
8589 cat conftest.err
>&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); } &&
8592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); }; } &&
8598 { ac_try
='test -s conftest.$ac_objext'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; }; then
8604 ac_header_compiler
=yes
8606 echo "$as_me: failed program was:" >&5
8607 sed 's/^/| /' conftest.
$ac_ext >&5
8609 ac_header_compiler
=no
8611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8613 echo "${ECHO_T}$ac_header_compiler" >&6
8615 # Is the header present?
8616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8618 cat >conftest.
$ac_ext <<_ACEOF
8621 cat confdefs.h
>>conftest.
$ac_ext
8622 cat >>conftest.
$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8624 #include <$ac_header>
8626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8629 grep -v '^ *+' conftest.er1
>conftest.err
8631 cat conftest.err
>&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } >/dev
/null
; then
8634 if test -s conftest.err
; then
8635 ac_cpp_err
=$ac_c_preproc_warn_flag
8636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8643 if test -z "$ac_cpp_err"; then
8644 ac_header_preproc
=yes
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.
$ac_ext >&5
8649 ac_header_preproc
=no
8651 rm -f conftest.err conftest.
$ac_ext
8652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8653 echo "${ECHO_T}$ac_header_preproc" >&6
8655 # So? What about this header?
8656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8662 ac_header_preproc
=yes
8665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8679 ## ------------------------------------ ##
8680 ## Report this to wine-devel@winehq.org ##
8681 ## ------------------------------------ ##
8684 sed "s/^/$as_me: WARNING: /" >&2
8687 echo "$as_me:$LINENO: checking for $ac_header" >&5
8688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8692 eval "$as_ac_Header=\$ac_header_preproc"
8694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8699 cat >>confdefs.h
<<_ACEOF
8700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8702 echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8703 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6
8704 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8707 ac_check_lib_save_LIBS
=$LIBS
8708 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8709 cat >conftest.
$ac_ext <<_ACEOF
8712 cat confdefs.h
>>conftest.
$ac_ext
8713 cat >>conftest.
$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8716 /* Override any gcc2 internal prototype to avoid an error. */
8720 /* We use char because int might match the return type of a gcc2
8721 builtin and then its argument prototype would still apply. */
8722 char xmlParseMemory ();
8731 rm -f conftest.
$ac_objext conftest
$ac_exeext
8732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8733 (eval $ac_link) 2>conftest.er1
8735 grep -v '^ *+' conftest.er1
>conftest.err
8737 cat conftest.err
>&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } &&
8740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; } &&
8746 { ac_try
='test -s conftest$ac_exeext'
8747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); }; }; then
8752 ac_cv_lib_xml2_xmlParseMemory
=yes
8754 echo "$as_me: failed program was:" >&5
8755 sed 's/^/| /' conftest.
$ac_ext >&5
8757 ac_cv_lib_xml2_xmlParseMemory
=no
8759 rm -f conftest.err conftest.
$ac_objext \
8760 conftest
$ac_exeext conftest.
$ac_ext
8761 LIBS
=$ac_check_lib_save_LIBS
8763 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8764 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6
8765 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
8767 cat >>confdefs.h
<<\_ACEOF
8768 #define HAVE_LIBXML2 1
8771 XML2LIBS
="$ac_xml_libs"
8772 XML2INCL
="$ac_xml_cflags"
8779 CPPFLAGS
="$ac_save_CPPFLAGS"
8783 if test "x$with_curses" != "xno"
8785 if test "$ac_cv_header_ncurses_h" = "yes"
8787 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8788 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8789 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8792 ac_check_lib_save_LIBS
=$LIBS
8793 LIBS
="-lncurses $LIBS"
8794 cat >conftest.
$ac_ext <<_ACEOF
8797 cat confdefs.h
>>conftest.
$ac_ext
8798 cat >>conftest.
$ac_ext <<_ACEOF
8799 /* end confdefs.h. */
8801 /* Override any gcc2 internal prototype to avoid an error. */
8805 /* We use char because int might match the return type of a gcc2
8806 builtin and then its argument prototype would still apply. */
8816 rm -f conftest.
$ac_objext conftest
$ac_exeext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8818 (eval $ac_link) 2>conftest.er1
8820 grep -v '^ *+' conftest.er1
>conftest.err
8822 cat conftest.err
>&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; } &&
8831 { ac_try
='test -s conftest$ac_exeext'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; }; then
8837 ac_cv_lib_ncurses_waddch
=yes
8839 echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.
$ac_ext >&5
8842 ac_cv_lib_ncurses_waddch
=no
8844 rm -f conftest.err conftest.
$ac_objext \
8845 conftest
$ac_exeext conftest.
$ac_ext
8846 LIBS
=$ac_check_lib_save_LIBS
8848 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8849 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8850 if test $ac_cv_lib_ncurses_waddch = yes; then
8852 cat >>confdefs.h
<<\_ACEOF
8853 #define HAVE_LIBNCURSES 1
8856 CURSESLIBS
="-lncurses"
8859 elif test "$ac_cv_header_curses_h" = "yes"
8861 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8862 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8863 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8864 echo $ECHO_N "(cached) $ECHO_C" >&6
8866 ac_check_lib_save_LIBS
=$LIBS
8867 LIBS
="-lcurses $LIBS"
8868 cat >conftest.
$ac_ext <<_ACEOF
8871 cat confdefs.h
>>conftest.
$ac_ext
8872 cat >>conftest.
$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8875 /* Override any gcc2 internal prototype to avoid an error. */
8879 /* We use char because int might match the return type of a gcc2
8880 builtin and then its argument prototype would still apply. */
8890 rm -f conftest.
$ac_objext conftest
$ac_exeext
8891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8892 (eval $ac_link) 2>conftest.er1
8894 grep -v '^ *+' conftest.er1
>conftest.err
8896 cat conftest.err
>&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); } &&
8899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; } &&
8905 { ac_try
='test -s conftest$ac_exeext'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_lib_curses_waddch
=yes
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.
$ac_ext >&5
8916 ac_cv_lib_curses_waddch
=no
8918 rm -f conftest.err conftest.
$ac_objext \
8919 conftest
$ac_exeext conftest.
$ac_ext
8920 LIBS
=$ac_check_lib_save_LIBS
8922 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8923 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8924 if test $ac_cv_lib_curses_waddch = yes; then
8926 cat >>confdefs.h
<<\_ACEOF
8927 #define HAVE_LIBCURSES 1
8930 CURSESLIBS
="-lcurses"
8937 # Extract the first word of "sane-config", so it can be a program name with args.
8938 set dummy sane-config
; ac_word
=$2
8939 echo "$as_me:$LINENO: checking for $ac_word" >&5
8940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8941 if test "${ac_cv_prog_sane_devel+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8944 if test -n "$sane_devel"; then
8945 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
8947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8951 test -z "$as_dir" && as_dir
=.
8952 for ac_exec_ext
in '' $ac_executable_extensions; do
8953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8954 ac_cv_prog_sane_devel
="sane-config"
8955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
8964 sane_devel
=$ac_cv_prog_sane_devel
8965 if test -n "$sane_devel"; then
8966 echo "$as_me:$LINENO: result: $sane_devel" >&5
8967 echo "${ECHO_T}$sane_devel" >&6
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8977 if test "$sane_devel" != "no"
8979 SANELIBS
="`$sane_devel --libs`"
8980 SANEINCL
="`$sane_devel --cflags`"
8981 ac_save_CPPFLAGS
="$CPPFLAGS"
8982 ac_save_LIBS
="$LIBS"
8983 CPPFLAGS
="$CPPFLAGS $SANEINCL"
8984 LIBS
="$LIBS $SANELIBS"
8985 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8986 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8987 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8988 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8992 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8994 # Is the header compilable?
8995 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8996 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8997 cat >conftest.
$ac_ext <<_ACEOF
9000 cat confdefs.h
>>conftest.
$ac_ext
9001 cat >>conftest.
$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9003 $ac_includes_default
9004 #include <sane/sane.h>
9006 rm -f conftest.
$ac_objext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>conftest.er1
9010 grep -v '^ *+' conftest.er1
>conftest.err
9012 cat conftest.err
>&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } &&
9015 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); }; } &&
9021 { ac_try
='test -s conftest.$ac_objext'
9022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); }; }; then
9027 ac_header_compiler
=yes
9029 echo "$as_me: failed program was:" >&5
9030 sed 's/^/| /' conftest.
$ac_ext >&5
9032 ac_header_compiler
=no
9034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9036 echo "${ECHO_T}$ac_header_compiler" >&6
9038 # Is the header present?
9039 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9040 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9041 cat >conftest.
$ac_ext <<_ACEOF
9044 cat confdefs.h
>>conftest.
$ac_ext
9045 cat >>conftest.
$ac_ext <<_ACEOF
9046 /* end confdefs.h. */
9047 #include <sane/sane.h>
9049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9052 grep -v '^ *+' conftest.er1
>conftest.err
9054 cat conftest.err
>&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); } >/dev
/null
; then
9057 if test -s conftest.err
; then
9058 ac_cpp_err
=$ac_c_preproc_warn_flag
9059 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9066 if test -z "$ac_cpp_err"; then
9067 ac_header_preproc
=yes
9069 echo "$as_me: failed program was:" >&5
9070 sed 's/^/| /' conftest.
$ac_ext >&5
9072 ac_header_preproc
=no
9074 rm -f conftest.err conftest.
$ac_ext
9075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9076 echo "${ECHO_T}$ac_header_preproc" >&6
9078 # So? What about this header?
9079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9081 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9082 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9083 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9084 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9085 ac_header_preproc
=yes
9088 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9089 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9090 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9091 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9092 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9093 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9094 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9095 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9096 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9097 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9099 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9102 ## ------------------------------------ ##
9103 ## Report this to wine-devel@winehq.org ##
9104 ## ------------------------------------ ##
9107 sed "s/^/$as_me: WARNING: /" >&2
9110 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9111 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9112 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9113 echo $ECHO_N "(cached) $ECHO_C" >&6
9115 ac_cv_header_sane_sane_h
=$ac_header_preproc
9117 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9118 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9121 if test $ac_cv_header_sane_sane_h = yes; then
9122 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9123 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9124 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9127 ac_check_lib_save_LIBS
=$LIBS
9129 cat >conftest.
$ac_ext <<_ACEOF
9132 cat confdefs.h
>>conftest.
$ac_ext
9133 cat >>conftest.
$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9136 /* Override any gcc2 internal prototype to avoid an error. */
9140 /* We use char because int might match the return type of a gcc2
9141 builtin and then its argument prototype would still apply. */
9151 rm -f conftest.
$ac_objext conftest
$ac_exeext
9152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9153 (eval $ac_link) 2>conftest.er1
9155 grep -v '^ *+' conftest.er1
>conftest.err
9157 cat conftest.err
>&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); } &&
9160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; } &&
9166 { ac_try
='test -s conftest$ac_exeext'
9167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); }; }; then
9172 ac_cv_lib_sane_sane_open
=yes
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.
$ac_ext >&5
9177 ac_cv_lib_sane_sane_open
=no
9179 rm -f conftest.err conftest.
$ac_objext \
9180 conftest
$ac_exeext conftest.
$ac_ext
9181 LIBS
=$ac_check_lib_save_LIBS
9183 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9184 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9185 if test $ac_cv_lib_sane_sane_open = yes; then
9187 cat >>confdefs.h
<<\_ACEOF
9202 LIBS
="$ac_save_LIBS"
9203 CPPFLAGS
="$ac_save_CPPFLAGS"
9206 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9209 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9210 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9211 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9212 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9213 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9214 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9215 cat >conftest.
$ac_ext <<_ACEOF
9218 cat confdefs.h
>>conftest.
$ac_ext
9219 cat >>conftest.
$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9221 #include <unicode/ubidi.h>
9230 rm -f conftest.
$ac_objext conftest
$ac_exeext
9231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9232 (eval $ac_link) 2>conftest.er1
9234 grep -v '^ *+' conftest.er1
>conftest.err
9236 cat conftest.err
>&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); } &&
9239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; } &&
9245 { ac_try
='test -s conftest$ac_exeext'
9246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); }; }; then
9252 cat >>confdefs.h
<<\_ACEOF
9256 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9261 echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.
$ac_ext >&5
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9267 rm -f conftest.err conftest.
$ac_objext \
9268 conftest
$ac_exeext conftest.
$ac_ext
9274 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9276 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
9277 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
9278 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9281 ac_check_lib_save_LIBS
=$LIBS
9283 cat >conftest.
$ac_ext <<_ACEOF
9286 cat confdefs.h
>>conftest.
$ac_ext
9287 cat >>conftest.
$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9290 /* Override any gcc2 internal prototype to avoid an error. */
9294 /* We use char because int might match the return type of a gcc2
9295 builtin and then its argument prototype would still apply. */
9296 char cmsOpenProfileFromFile ();
9300 cmsOpenProfileFromFile ();
9305 rm -f conftest.
$ac_objext conftest
$ac_exeext
9306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9307 (eval $ac_link) 2>conftest.er1
9309 grep -v '^ *+' conftest.er1
>conftest.err
9311 cat conftest.err
>&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } &&
9314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; } &&
9320 { ac_try
='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.
$ac_ext >&5
9331 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
9333 rm -f conftest.err conftest.
$ac_objext \
9334 conftest
$ac_exeext conftest.
$ac_ext
9335 LIBS
=$ac_check_lib_save_LIBS
9337 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9338 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
9339 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
9341 cat >>confdefs.h
<<\_ACEOF
9352 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
9354 echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5
9355 echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6
9356 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 ac_check_lib_save_LIBS
=$LIBS
9361 cat >conftest.
$ac_ext <<_ACEOF
9364 cat confdefs.h
>>conftest.
$ac_ext
9365 cat >>conftest.
$ac_ext <<_ACEOF
9366 /* end confdefs.h. */
9368 /* Override any gcc2 internal prototype to avoid an error. */
9372 /* We use char because int might match the return type of a gcc2
9373 builtin and then its argument prototype would still apply. */
9383 rm -f conftest.
$ac_objext conftest
$ac_exeext
9384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9385 (eval $ac_link) 2>conftest.er1
9387 grep -v '^ *+' conftest.er1
>conftest.err
9389 cat conftest.err
>&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } &&
9392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; } &&
9398 { ac_try
='test -s conftest$ac_exeext'
9399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; }; then
9404 ac_cv_lib_ldap_ldap_init
=yes
9406 echo "$as_me: failed program was:" >&5
9407 sed 's/^/| /' conftest.
$ac_ext >&5
9409 ac_cv_lib_ldap_ldap_init
=no
9411 rm -f conftest.err conftest.
$ac_objext \
9412 conftest
$ac_exeext conftest.
$ac_ext
9413 LIBS
=$ac_check_lib_save_LIBS
9415 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5
9416 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6
9417 if test $ac_cv_lib_ldap_ldap_init = yes; then
9418 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
9419 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
9420 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 ac_check_lib_save_LIBS
=$LIBS
9425 cat >conftest.
$ac_ext <<_ACEOF
9428 cat confdefs.h
>>conftest.
$ac_ext
9429 cat >>conftest.
$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any gcc2 internal prototype to avoid an error. */
9436 /* We use char because int might match the return type of a gcc2
9437 builtin and then its argument prototype would still apply. */
9447 rm -f conftest.
$ac_objext conftest
$ac_exeext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9449 (eval $ac_link) 2>conftest.er1
9451 grep -v '^ *+' conftest.er1
>conftest.err
9453 cat conftest.err
>&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } &&
9456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try
='test -s conftest$ac_exeext'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; }; then
9468 ac_cv_lib_lber_ber_init
=yes
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.
$ac_ext >&5
9473 ac_cv_lib_lber_ber_init
=no
9475 rm -f conftest.err conftest.
$ac_objext \
9476 conftest
$ac_exeext conftest.
$ac_ext
9477 LIBS
=$ac_check_lib_save_LIBS
9479 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
9480 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
9481 if test $ac_cv_lib_lber_ber_init = yes; then
9483 cat >>confdefs.h
<<\_ACEOF
9487 LDAPLIBS
="-lldap -llber"
9498 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9499 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9500 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 ac_check_lib_save_LIBS
=$LIBS
9504 LIBS
="-lfreetype $X_LIBS $LIBS"
9505 cat >conftest.
$ac_ext <<_ACEOF
9508 cat confdefs.h
>>conftest.
$ac_ext
9509 cat >>conftest.
$ac_ext <<_ACEOF
9510 /* end confdefs.h. */
9512 /* Override any gcc2 internal prototype to avoid an error. */
9516 /* We use char because int might match the return type of a gcc2
9517 builtin and then its argument prototype would still apply. */
9518 char FT_Init_FreeType ();
9522 FT_Init_FreeType ();
9527 rm -f conftest.
$ac_objext conftest
$ac_exeext
9528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9529 (eval $ac_link) 2>conftest.er1
9531 grep -v '^ *+' conftest.er1
>conftest.err
9533 cat conftest.err
>&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } &&
9536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } &&
9542 { ac_try
='test -s conftest$ac_exeext'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; }; then
9548 ac_cv_lib_freetype_FT_Init_FreeType
=yes
9550 echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.
$ac_ext >&5
9553 ac_cv_lib_freetype_FT_Init_FreeType
=no
9555 rm -f conftest.err conftest.
$ac_objext \
9556 conftest
$ac_exeext conftest.
$ac_ext
9557 LIBS
=$ac_check_lib_save_LIBS
9559 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9560 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9561 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9567 if test "$ft_lib" = "no"
9569 wine_cv_msg_freetype
=no
9571 # Extract the first word of "freetype-config", so it can be a program name with args.
9572 set dummy freetype-config
; ac_word
=$2
9573 echo "$as_me:$LINENO: checking for $ac_word" >&5
9574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9575 if test "${ac_cv_prog_ft_devel+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 if test -n "$ft_devel"; then
9579 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
9581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9585 test -z "$as_dir" && as_dir
=.
9586 for ac_exec_ext
in '' $ac_executable_extensions; do
9587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9588 ac_cv_prog_ft_devel
="freetype-config"
9589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9595 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
9598 ft_devel
=$ac_cv_prog_ft_devel
9599 if test -n "$ft_devel"; then
9600 echo "$as_me:$LINENO: result: $ft_devel" >&5
9601 echo "${ECHO_T}$ft_devel" >&6
9603 echo "$as_me:$LINENO: result: no" >&5
9604 echo "${ECHO_T}no" >&6
9607 if test "$ft_devel" = "no"
9609 # Extract the first word of "freetype2-config", so it can be a program name with args.
9610 set dummy freetype2-config
; ac_word
=$2
9611 echo "$as_me:$LINENO: checking for $ac_word" >&5
9612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9613 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 if test -n "$ft_devel2"; then
9617 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
9619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9623 test -z "$as_dir" && as_dir
=.
9624 for ac_exec_ext
in '' $ac_executable_extensions; do
9625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9626 ac_cv_prog_ft_devel2
="freetype2-config"
9627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9633 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
9636 ft_devel2
=$ac_cv_prog_ft_devel2
9637 if test -n "$ft_devel2"; then
9638 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9639 echo "${ECHO_T}$ft_devel2" >&6
9641 echo "$as_me:$LINENO: result: no" >&5
9642 echo "${ECHO_T}no" >&6
9645 if test "$ft_devel2" = "freetype2-config"
9650 if test "$ft_devel" = "no"
9652 wine_cv_msg_freetype
=yes
9654 FREETYPELIBS
=`$ft_devel --libs`
9655 FREETYPEINCL
=`$ft_devel --cflags`
9656 ac_save_CPPFLAGS
="$CPPFLAGS"
9657 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
9668 for ac_header
in ft2build.h \
9669 freetype
/freetype.h \
9670 freetype
/ftglyph.h \
9671 freetype
/tttables.h \
9672 freetype
/ftnames.h \
9673 freetype
/ftsnames.h \
9674 freetype
/ttnameid.h \
9675 freetype
/ftoutln.h \
9676 freetype
/ftwinfnt.h \
9677 freetype
/internal
/sfnt.h
9679 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9680 echo "$as_me:$LINENO: checking for $ac_header" >&5
9681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 cat >conftest.
$ac_ext <<_ACEOF
9688 cat confdefs.h
>>conftest.
$ac_ext
9689 cat >>conftest.
$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9692 #include <ft2build.h>
9695 #include <$ac_header>
9697 rm -f conftest.
$ac_objext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9699 (eval $ac_compile) 2>conftest.er1
9701 grep -v '^ *+' conftest.er1
>conftest.err
9703 cat conftest.err
>&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; } &&
9712 { ac_try
='test -s conftest.$ac_objext'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; }; then
9718 eval "$as_ac_Header=yes"
9720 echo "$as_me: failed program was:" >&5
9721 sed 's/^/| /' conftest.
$ac_ext >&5
9723 eval "$as_ac_Header=no"
9725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9730 cat >>confdefs.h
<<_ACEOF
9731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9738 cat >conftest.
$ac_ext <<_ACEOF
9741 cat confdefs.h
>>conftest.
$ac_ext
9742 cat >>conftest.
$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9744 #include <ft2build.h>
9745 #include <freetype/fttrigon.h>
9747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9750 grep -v '^ *+' conftest.er1
>conftest.err
9752 cat conftest.err
>&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } >/dev
/null
; then
9755 if test -s conftest.err
; then
9756 ac_cpp_err
=$ac_c_preproc_warn_flag
9757 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9764 if test -z "$ac_cpp_err"; then
9766 cat >>confdefs.h
<<\_ACEOF
9767 #define HAVE_FREETYPE_FTTRIGON_H 1
9770 wine_cv_fttrigon
=yes
9772 echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.
$ac_ext >&5
9777 rm -f conftest.err conftest.
$ac_ext
9778 CPPFLAGS
="$ac_save_CPPFLAGS"
9779 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9782 cat >>confdefs.h
<<\_ACEOF
9783 #define HAVE_FREETYPE 1
9786 wine_cv_msg_freetype
=no
9790 wine_cv_msg_freetype
=yes
9795 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
9797 FONTSSUBDIRS
="fonts"
9801 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9802 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9803 if test "${ac_cv_c_ppdev+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 cat >conftest.
$ac_ext <<_ACEOF
9809 cat confdefs.h
>>conftest.
$ac_ext
9810 cat >>conftest.
$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9812 #include <linux/ppdev.h>
9821 rm -f conftest.
$ac_objext
9822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9823 (eval $ac_compile) 2>conftest.er1
9825 grep -v '^ *+' conftest.er1
>conftest.err
9827 cat conftest.err
>&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } &&
9830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; } &&
9836 { ac_try
='test -s conftest.$ac_objext'
9837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); }; }; then
9844 echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.
$ac_ext >&5
9849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9852 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9853 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9854 if test "$ac_cv_c_ppdev" = "yes"
9857 cat >>confdefs.h
<<\_ACEOF
9858 #define HAVE_PPDEV 1
9863 echo "$as_me:$LINENO: checking for va_copy" >&5
9864 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9865 if test "${ac_cv_c_va_copy+set}" = set; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 cat >conftest.
$ac_ext <<_ACEOF
9871 cat confdefs.h
>>conftest.
$ac_ext
9872 cat >>conftest.
$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9885 rm -f conftest.
$ac_objext conftest
$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9889 grep -v '^ *+' conftest.er1
>conftest.err
9891 cat conftest.err
>&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try
='test -s conftest$ac_exeext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9906 ac_cv_c_va_copy
="yes"
9908 echo "$as_me: failed program was:" >&5
9909 sed 's/^/| /' conftest.
$ac_ext >&5
9911 ac_cv_c_va_copy
="no"
9913 rm -f conftest.err conftest.
$ac_objext \
9914 conftest
$ac_exeext conftest.
$ac_ext
9917 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9918 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9919 if test "$ac_cv_c_va_copy" = "yes"
9922 cat >>confdefs.h
<<\_ACEOF
9923 #define HAVE_VA_COPY 1
9927 echo "$as_me:$LINENO: checking for __va_copy" >&5
9928 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9929 if test "${ac_cv_c___va_copy+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 cat >conftest.
$ac_ext <<_ACEOF
9935 cat confdefs.h
>>conftest.
$ac_ext
9936 cat >>conftest.
$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9949 rm -f conftest.
$ac_objext conftest
$ac_exeext
9950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9951 (eval $ac_link) 2>conftest.er1
9953 grep -v '^ *+' conftest.er1
>conftest.err
9955 cat conftest.err
>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); } &&
9958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; } &&
9964 { ac_try
='test -s conftest$ac_exeext'
9965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); }; }; then
9970 ac_cv_c___va_copy
="yes"
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.
$ac_ext >&5
9975 ac_cv_c___va_copy
="no"
9977 rm -f conftest.err conftest.
$ac_objext \
9978 conftest
$ac_exeext conftest.
$ac_ext
9981 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9982 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9983 if test "$ac_cv_c___va_copy" = "yes"
9986 cat >>confdefs.h
<<\_ACEOF
9987 #define HAVE___VA_COPY 1
9992 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
9993 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
9994 if test "${ac_cv_c_sigsetjmp+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 cat >conftest.
$ac_ext <<_ACEOF
10000 cat confdefs.h
>>conftest.
$ac_ext
10001 cat >>conftest.
$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10003 #include <setjmp.h>
10008 sigsetjmp( buf, 1 );
10009 siglongjmp( buf, 1 );
10014 rm -f conftest.
$ac_objext conftest
$ac_exeext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016 (eval $ac_link) 2>conftest.er1
10018 grep -v '^ *+' conftest.er1
>conftest.err
10020 cat conftest.err
>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10025 (eval $ac_try) 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); }; } &&
10029 { ac_try
='test -s conftest$ac_exeext'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; }; then
10035 ac_cv_c_sigsetjmp
="yes"
10037 echo "$as_me: failed program was:" >&5
10038 sed 's/^/| /' conftest.
$ac_ext >&5
10040 ac_cv_c_sigsetjmp
="no"
10042 rm -f conftest.err conftest.
$ac_objext \
10043 conftest
$ac_exeext conftest.
$ac_ext
10046 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10047 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10048 if test "$ac_cv_c_sigsetjmp" = "yes"
10051 cat >>confdefs.h
<<\_ACEOF
10052 #define HAVE_SIGSETJMP 1
10057 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10058 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10059 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 cat >conftest.
$ac_ext <<_ACEOF
10065 cat confdefs.h
>>conftest.
$ac_ext
10066 cat >>conftest.
$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10068 #define _GNU_SOURCE
10069 #include <pthread.h>
10074 if ((pthread_rwlock_t *) 0)
10076 if (sizeof (pthread_rwlock_t))
10082 rm -f conftest.
$ac_objext
10083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10084 (eval $ac_compile) 2>conftest.er1
10086 grep -v '^ *+' conftest.er1
>conftest.err
10088 cat conftest.err
>&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); } &&
10091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10093 (eval $ac_try) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; } &&
10097 { ac_try
='test -s conftest.$ac_objext'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; }; then
10103 ac_cv_type_pthread_rwlock_t
=yes
10105 echo "$as_me: failed program was:" >&5
10106 sed 's/^/| /' conftest.
$ac_ext >&5
10108 ac_cv_type_pthread_rwlock_t
=no
10110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10112 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10113 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10114 if test $ac_cv_type_pthread_rwlock_t = yes; then
10116 cat >>confdefs.h
<<_ACEOF
10117 #define HAVE_PTHREAD_RWLOCK_T 1
10122 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10123 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10124 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10127 cat >conftest.
$ac_ext <<_ACEOF
10130 cat confdefs.h
>>conftest.
$ac_ext
10131 cat >>conftest.
$ac_ext <<_ACEOF
10132 /* end confdefs.h. */
10133 #define _GNU_SOURCE
10134 #include <pthread.h>
10139 if ((pthread_rwlockattr_t *) 0)
10141 if (sizeof (pthread_rwlockattr_t))
10147 rm -f conftest.
$ac_objext
10148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10149 (eval $ac_compile) 2>conftest.er1
10151 grep -v '^ *+' conftest.er1
>conftest.err
10153 cat conftest.err
>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } &&
10156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158 (eval $ac_try) 2>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; } &&
10162 { ac_try
='test -s conftest.$ac_objext'
10163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10164 (eval $ac_try) 2>&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); }; }; then
10168 ac_cv_type_pthread_rwlockattr_t
=yes
10170 echo "$as_me: failed program was:" >&5
10171 sed 's/^/| /' conftest.
$ac_ext >&5
10173 ac_cv_type_pthread_rwlockattr_t
=no
10175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10177 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10178 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10179 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10181 cat >>confdefs.h
<<_ACEOF
10182 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10189 ac_save_LIBS
="$LIBS"
10190 LIBS
="$LIBS $LIBPTHREAD"
10195 pthread_getattr_np \
10196 pthread_get_stackaddr_np \
10197 pthread_get_stacksize_np \
10200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10201 echo "$as_me:$LINENO: checking for $ac_func" >&5
10202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10203 if eval "test \"\${$as_ac_var+set}\" = set"; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 cat >conftest.
$ac_ext <<_ACEOF
10209 cat confdefs.h
>>conftest.
$ac_ext
10210 cat >>conftest.
$ac_ext <<_ACEOF
10211 /* end confdefs.h. */
10212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10214 #define $ac_func innocuous_$ac_func
10216 /* System header to define __stub macros and hopefully few prototypes,
10217 which can conflict with char $ac_func (); below.
10218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10219 <limits.h> exists even on freestanding compilers. */
10222 # include <limits.h>
10224 # include <assert.h>
10229 /* Override any gcc2 internal prototype to avoid an error. */
10234 /* We use char because int might match the return type of a gcc2
10235 builtin and then its argument prototype would still apply. */
10237 /* The GNU C library defines this for functions which it implements
10238 to always fail with ENOSYS. Some functions are actually named
10239 something starting with __ and the normal name is an alias. */
10240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10243 char (*f) () = $ac_func;
10252 return f != $ac_func;
10257 rm -f conftest.
$ac_objext conftest
$ac_exeext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10259 (eval $ac_link) 2>conftest.er1
10261 grep -v '^ *+' conftest.er1
>conftest.err
10263 cat conftest.err
>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try
='test -s conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 eval "$as_ac_var=yes"
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.
$ac_ext >&5
10283 eval "$as_ac_var=no"
10285 rm -f conftest.err conftest.
$ac_objext \
10286 conftest
$ac_exeext conftest.
$ac_ext
10288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10290 if test `eval echo '${'$as_ac_var'}'` = yes; then
10291 cat >>confdefs.h
<<_ACEOF
10292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10298 LIBS
="$ac_save_LIBS"
10300 # Extract the first word of "artsc-config", so it can be a program name with args.
10301 set dummy artsc-config
; ac_word
=$2
10302 echo "$as_me:$LINENO: checking for $ac_word" >&5
10303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10304 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 case $ARTSCCONFIG in
10309 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
10312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10313 for as_dir
in $PATH
10316 test -z "$as_dir" && as_dir
=.
10317 for ac_exec_ext
in '' $ac_executable_extensions; do
10318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10319 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10329 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
10331 if test -n "$ARTSCCONFIG"; then
10332 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10333 echo "${ECHO_T}$ARTSCCONFIG" >&6
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10339 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
10342 for i
in `$ARTSCCONFIG --cflags`
10345 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
10348 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
10349 save_CFLAGS
="$CFLAGS"
10350 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
10351 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
10352 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
10353 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10356 ac_check_lib_save_LIBS
=$LIBS
10357 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
10358 cat >conftest.
$ac_ext <<_ACEOF
10361 cat confdefs.h
>>conftest.
$ac_ext
10362 cat >>conftest.
$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10365 /* Override any gcc2 internal prototype to avoid an error. */
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10380 rm -f conftest.
$ac_objext conftest
$ac_exeext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382 (eval $ac_link) 2>conftest.er1
10384 grep -v '^ *+' conftest.er1
>conftest.err
10386 cat conftest.err
>&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); } &&
10389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; } &&
10395 { ac_try
='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 ac_cv_lib_artsc_arts_init
=yes
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.
$ac_ext >&5
10406 ac_cv_lib_artsc_arts_init
=no
10408 rm -f conftest.err conftest.
$ac_objext \
10409 conftest
$ac_exeext conftest.
$ac_ext
10410 LIBS
=$ac_check_lib_save_LIBS
10412 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
10413 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
10414 if test $ac_cv_lib_artsc_arts_init = yes; then
10415 cat >conftest.
$ac_ext <<_ACEOF
10418 cat confdefs.h
>>conftest.
$ac_ext
10419 cat >>conftest.
$ac_ext <<_ACEOF
10420 /* end confdefs.h. */
10425 arts_stream_t stream;
10430 rm -f conftest.
$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>conftest.er1
10434 grep -v '^ *+' conftest.er1
>conftest.err
10436 cat conftest.err
>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } &&
10439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10441 (eval $ac_try) 2>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; } &&
10445 { ac_try
='test -s conftest.$ac_objext'
10446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10447 (eval $ac_try) 2>&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); }; }; then
10451 ARTSLIBS
=$ARTSC_LIBS
10453 ARTSINCL
=$ARTSC_CFLAGS
10456 cat >>confdefs.h
<<\_ACEOF
10457 #define HAVE_ARTS 1
10461 echo "$as_me: failed program was:" >&5
10462 sed 's/^/| /' conftest.
$ac_ext >&5
10465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10468 CFLAGS
="$save_CFLAGS"
10471 # Extract the first word of "esd-config", so it can be a program name with args.
10472 set dummy esd-config
; ac_word
=$2
10473 echo "$as_me:$LINENO: checking for $ac_word" >&5
10474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10475 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10480 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10484 for as_dir
in $PATH
10487 test -z "$as_dir" && as_dir
=.
10488 for ac_exec_ext
in '' $ac_executable_extensions; do
10489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10490 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10500 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10502 if test -n "$ESDCONFIG"; then
10503 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
10504 echo "${ECHO_T}$ESDCONFIG" >&6
10506 echo "$as_me:$LINENO: result: no" >&5
10507 echo "${ECHO_T}no" >&6
10510 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
10513 for i
in `$ESDCONFIG --cflags`
10516 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
10519 ESD_LIBS
=`$ESDCONFIG --libs`
10520 save_CFLAGS
="$CFLAGS"
10521 CFLAGS
="$CFLAGS $ESD_CFLAGS"
10522 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
10523 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
10524 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 ac_check_lib_save_LIBS
=$LIBS
10529 cat >conftest.
$ac_ext <<_ACEOF
10532 cat confdefs.h
>>conftest.
$ac_ext
10533 cat >>conftest.
$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 /* Override any gcc2 internal prototype to avoid an error. */
10540 /* We use char because int might match the return type of a gcc2
10541 builtin and then its argument prototype would still apply. */
10542 char esd_open_sound ();
10551 rm -f conftest.
$ac_objext conftest
$ac_exeext
10552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10553 (eval $ac_link) 2>conftest.er1
10555 grep -v '^ *+' conftest.er1
>conftest.err
10557 cat conftest.err
>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } &&
10560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; } &&
10566 { ac_try
='test -s conftest$ac_exeext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10572 ac_cv_lib_esd_esd_open_sound
=yes
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.
$ac_ext >&5
10577 ac_cv_lib_esd_esd_open_sound
=no
10579 rm -f conftest.err conftest.
$ac_objext \
10580 conftest
$ac_exeext conftest.
$ac_ext
10581 LIBS
=$ac_check_lib_save_LIBS
10583 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
10584 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
10585 if test $ac_cv_lib_esd_esd_open_sound = yes; then
10588 ESDINCL
=$ESD_CFLAGS
10591 cat >>confdefs.h
<<\_ACEOF
10597 CFLAGS
="$save_CFLAGS"
10602 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10604 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10605 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
10606 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
10607 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 ac_check_lib_save_LIBS
=$LIBS
10610 LIBS
="-lasound $LIBS"
10611 cat >conftest.
$ac_ext <<_ACEOF
10614 cat confdefs.h
>>conftest.
$ac_ext
10615 cat >>conftest.
$ac_ext <<_ACEOF
10616 /* end confdefs.h. */
10618 /* Override any gcc2 internal prototype to avoid an error. */
10622 /* We use char because int might match the return type of a gcc2
10623 builtin and then its argument prototype would still apply. */
10624 char snd_pcm_hw_params_get_access ();
10628 snd_pcm_hw_params_get_access ();
10633 rm -f conftest.
$ac_objext conftest
$ac_exeext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10635 (eval $ac_link) 2>conftest.er1
10637 grep -v '^ *+' conftest.er1
>conftest.err
10639 cat conftest.err
>&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); } &&
10642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 (eval $ac_try) 2>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; } &&
10648 { ac_try
='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.
$ac_ext >&5
10659 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10661 rm -f conftest.err conftest.
$ac_objext \
10662 conftest
$ac_exeext conftest.
$ac_ext
10663 LIBS
=$ac_check_lib_save_LIBS
10665 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10666 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
10667 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
10668 cat >conftest.
$ac_ext <<_ACEOF
10671 cat confdefs.h
>>conftest.
$ac_ext
10672 cat >>conftest.
$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10674 #ifdef HAVE_ALSA_ASOUNDLIB_H
10675 #include <alsa/asoundlib.h>
10676 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10677 #include <sys/asoundlib.h>
10682 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10687 rm -f conftest.
$ac_objext
10688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10689 (eval $ac_compile) 2>conftest.er1
10691 grep -v '^ *+' conftest.er1
>conftest.err
10693 cat conftest.err
>&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; } &&
10702 { ac_try
='test -s conftest.$ac_objext'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; }; then
10709 cat >>confdefs.h
<<\_ACEOF
10710 #define HAVE_ALSA 1
10713 ALSALIBS
="-lasound"
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.
$ac_ext >&5
10719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10727 if test "$ac_cv_header_libaudioio_h" = "yes"
10729 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10730 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10731 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 ac_check_lib_save_LIBS
=$LIBS
10735 LIBS
="-laudioio $LIBS"
10736 cat >conftest.
$ac_ext <<_ACEOF
10739 cat confdefs.h
>>conftest.
$ac_ext
10740 cat >>conftest.
$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10743 /* Override any gcc2 internal prototype to avoid an error. */
10747 /* We use char because int might match the return type of a gcc2
10748 builtin and then its argument prototype would still apply. */
10749 char AudioIOGetVersion ();
10753 AudioIOGetVersion ();
10758 rm -f conftest.
$ac_objext conftest
$ac_exeext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10760 (eval $ac_link) 2>conftest.er1
10762 grep -v '^ *+' conftest.er1
>conftest.err
10764 cat conftest.err
>&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10769 (eval $ac_try) 2>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); }; } &&
10773 { ac_try
='test -s conftest$ac_exeext'
10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775 (eval $ac_try) 2>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); }; }; then
10779 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.
$ac_ext >&5
10784 ac_cv_lib_audioio_AudioIOGetVersion
=no
10786 rm -f conftest.err conftest.
$ac_objext \
10787 conftest
$ac_exeext conftest.
$ac_ext
10788 LIBS
=$ac_check_lib_save_LIBS
10790 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10791 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10792 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10793 AUDIOIOLIBS
="-laudioio"
10795 cat >>confdefs.h
<<\_ACEOF
10796 #define HAVE_LIBAUDIOIO 1
10804 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10806 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
10807 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
10808 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 ac_check_lib_save_LIBS
=$LIBS
10812 LIBS
="-lcapi20 $LIBS"
10813 cat >conftest.
$ac_ext <<_ACEOF
10816 cat confdefs.h
>>conftest.
$ac_ext
10817 cat >>conftest.
$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10820 /* Override any gcc2 internal prototype to avoid an error. */
10824 /* We use char because int might match the return type of a gcc2
10825 builtin and then its argument prototype would still apply. */
10826 char capi20_register ();
10830 capi20_register ();
10835 rm -f conftest.
$ac_objext conftest
$ac_exeext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10837 (eval $ac_link) 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; } &&
10850 { ac_try
='test -s conftest$ac_exeext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10856 ac_cv_lib_capi20_capi20_register
=yes
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.
$ac_ext >&5
10861 ac_cv_lib_capi20_capi20_register
=no
10863 rm -f conftest.err conftest.
$ac_objext \
10864 conftest
$ac_exeext conftest.
$ac_ext
10865 LIBS
=$ac_check_lib_save_LIBS
10867 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
10868 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
10869 if test $ac_cv_lib_capi20_capi20_register = yes; then
10871 cat >>confdefs.h
<<\_ACEOF
10872 #define HAVE_CAPI4LINUX 1
10882 if test "x${GCC}" = "xyes"
10884 EXTRACFLAGS
="-Wall -pipe"
10886 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
10887 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
10888 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6
10891 if test "$cross_compiling" = yes; then
10892 ac_cv_c_gcc_strength_bug
="yes"
10894 cat >conftest.
$ac_ext <<_ACEOF
10897 cat confdefs.h
>>conftest.
$ac_ext
10898 cat >>conftest.
$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10901 int L[4] = {0,1,2,3};
10903 static int Array[3];
10904 unsigned int B = 3;
10906 for(i=0; i<B; i++) Array[i] = i - 3;
10907 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
10910 exit( Array[1] != -2 || L[2] != 3);
10913 rm -f conftest
$ac_exeext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10915 (eval $ac_link) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 (eval $ac_try) 2>&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }; }; then
10924 ac_cv_c_gcc_strength_bug
="no"
10926 echo "$as_me: program exited with status $ac_status" >&5
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.
$ac_ext >&5
10930 ( exit $ac_status )
10931 ac_cv_c_gcc_strength_bug
="yes"
10933 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10936 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
10937 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
10938 if test "$ac_cv_c_gcc_strength_bug" = "yes"
10940 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
10943 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
10944 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
10945 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 ac_wine_try_cflags_saved
=$CFLAGS
10949 CFLAGS
="$CFLAGS -fshort-wchar"
10950 cat >conftest.
$ac_ext <<_ACEOF
10953 cat confdefs.h
>>conftest.
$ac_ext
10954 cat >>conftest.
$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10965 rm -f conftest.
$ac_objext conftest
$ac_exeext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10967 (eval $ac_link) 2>conftest.er1
10969 grep -v '^ *+' conftest.er1
>conftest.err
10971 cat conftest.err
>&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976 (eval $ac_try) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; } &&
10980 { ac_try
='test -s conftest$ac_exeext'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; }; then
10986 ac_cv_c_gcc_fshort_wchar
="yes"
10988 echo "$as_me: failed program was:" >&5
10989 sed 's/^/| /' conftest.
$ac_ext >&5
10991 ac_cv_c_gcc_fshort_wchar
="no"
10993 rm -f conftest.err conftest.
$ac_objext \
10994 conftest
$ac_exeext conftest.
$ac_ext
10995 CFLAGS
=$ac_wine_try_cflags_saved
10997 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
10998 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
10999 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
11002 cat >>confdefs.h
<<\_ACEOF
11003 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
11008 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
11009 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
11010 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
11011 echo $ECHO_N "(cached) $ECHO_C" >&6
11013 ac_wine_try_cflags_saved
=$CFLAGS
11014 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
11015 cat >conftest.
$ac_ext <<_ACEOF
11018 cat confdefs.h
>>conftest.
$ac_ext
11019 cat >>conftest.
$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11030 rm -f conftest.
$ac_objext conftest
$ac_exeext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11032 (eval $ac_link) 2>conftest.er1
11034 grep -v '^ *+' conftest.er1
>conftest.err
11036 cat conftest.err
>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } &&
11039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11041 (eval $ac_try) 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; } &&
11045 { ac_try
='test -s conftest$ac_exeext'
11046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11047 (eval $ac_try) 2>&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); }; }; then
11051 ac_cv_c_gcc_stack_boundary
="yes"
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.
$ac_ext >&5
11056 ac_cv_c_gcc_stack_boundary
="no"
11058 rm -f conftest.err conftest.
$ac_objext \
11059 conftest
$ac_exeext conftest.
$ac_ext
11060 CFLAGS
=$ac_wine_try_cflags_saved
11062 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
11063 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
11064 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
11066 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
11069 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
11070 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
11071 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
11072 echo $ECHO_N "(cached) $ECHO_C" >&6
11074 ac_wine_try_cflags_saved
=$CFLAGS
11075 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11076 cat >conftest.
$ac_ext <<_ACEOF
11079 cat confdefs.h
>>conftest.
$ac_ext
11080 cat >>conftest.
$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11091 rm -f conftest.
$ac_objext conftest
$ac_exeext
11092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11093 (eval $ac_link) 2>conftest.er1
11095 grep -v '^ *+' conftest.er1
>conftest.err
11097 cat conftest.err
>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); } &&
11100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 (eval $ac_try) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; } &&
11106 { ac_try
='test -s conftest$ac_exeext'
11107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108 (eval $ac_try) 2>&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; }; then
11112 ac_cv_c_gcc_no_strict_aliasing
="yes"
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.
$ac_ext >&5
11117 ac_cv_c_gcc_no_strict_aliasing
="no"
11119 rm -f conftest.err conftest.
$ac_objext \
11120 conftest
$ac_exeext conftest.
$ac_ext
11121 CFLAGS
=$ac_wine_try_cflags_saved
11123 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
11124 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
11125 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
11127 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11130 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
11131 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
11132 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
11133 echo $ECHO_N "(cached) $ECHO_C" >&6
11135 ac_wine_try_cflags_saved
=$CFLAGS
11136 CFLAGS
="$CFLAGS -gstabs+"
11137 cat >conftest.
$ac_ext <<_ACEOF
11140 cat confdefs.h
>>conftest.
$ac_ext
11141 cat >>conftest.
$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11152 rm -f conftest.
$ac_objext conftest
$ac_exeext
11153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11154 (eval $ac_link) 2>conftest.er1
11156 grep -v '^ *+' conftest.er1
>conftest.err
11158 cat conftest.err
>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } &&
11161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try
='test -s conftest$ac_exeext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11173 ac_cv_c_gcc_gstabs
="yes"
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.
$ac_ext >&5
11178 ac_cv_c_gcc_gstabs
="no"
11180 rm -f conftest.err conftest.
$ac_objext \
11181 conftest
$ac_exeext conftest.
$ac_ext
11182 CFLAGS
=$ac_wine_try_cflags_saved
11184 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
11185 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
11186 if test "$ac_cv_c_gcc_gstabs" = "yes"
11188 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
11191 saved_CFLAGS
="$CFLAGS"
11192 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
11193 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
11194 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
11195 if test "${ac_cv_c_string_h_warnings+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11198 cat >conftest.
$ac_ext <<_ACEOF
11201 cat confdefs.h
>>conftest.
$ac_ext
11202 cat >>conftest.
$ac_ext <<_ACEOF
11203 /* end confdefs.h. */
11204 #include <string.h>
11213 rm -f conftest.
$ac_objext
11214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11215 (eval $ac_compile) 2>conftest.er1
11217 grep -v '^ *+' conftest.er1
>conftest.err
11219 cat conftest.err
>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); } &&
11222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; } &&
11228 { ac_try
='test -s conftest.$ac_objext'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11234 ac_cv_c_string_h_warnings
=no
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.
$ac_ext >&5
11239 ac_cv_c_string_h_warnings
=yes
11241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11243 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
11244 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
11245 CFLAGS
="$saved_CFLAGS"
11246 if test "$ac_cv_c_string_h_warnings" = "no"
11248 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
11253 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
11254 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
11255 if test "${ac_cv_asm_func_def+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11258 cat >conftest.
$ac_ext <<_ACEOF
11261 cat confdefs.h
>>conftest.
$ac_ext
11262 cat >>conftest.
$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 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"); }
11274 rm -f conftest.
$ac_objext conftest
$ac_exeext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11276 (eval $ac_link) 2>conftest.er1
11278 grep -v '^ *+' conftest.er1
>conftest.err
11280 cat conftest.err
>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } &&
11283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try
='test -s conftest$ac_exeext'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then
11295 ac_cv_asm_func_def
=".def"
11297 echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.
$ac_ext >&5
11300 cat >conftest.
$ac_ext <<_ACEOF
11303 cat confdefs.h
>>conftest.
$ac_ext
11304 cat >>conftest.
$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11306 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
11316 rm -f conftest.
$ac_objext conftest
$ac_exeext
11317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11318 (eval $ac_link) 2>conftest.er1
11320 grep -v '^ *+' conftest.er1
>conftest.err
11322 cat conftest.err
>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } &&
11325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327 (eval $ac_try) 2>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }; } &&
11331 { ac_try
='test -s conftest$ac_exeext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 ac_cv_asm_func_def
=".type @function"
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.
$ac_ext >&5
11342 cat >conftest.
$ac_ext <<_ACEOF
11345 cat confdefs.h
>>conftest.
$ac_ext
11346 cat >>conftest.
$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11358 rm -f conftest.
$ac_objext conftest
$ac_exeext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11360 (eval $ac_link) 2>conftest.er1
11362 grep -v '^ *+' conftest.er1
>conftest.err
11364 cat conftest.err
>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } &&
11367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11369 (eval $ac_try) 2>&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); }; } &&
11373 { ac_try
='test -s conftest$ac_exeext'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; }; then
11379 ac_cv_asm_func_def
=".type 2"
11381 echo "$as_me: failed program was:" >&5
11382 sed 's/^/| /' conftest.
$ac_ext >&5
11384 ac_cv_asm_func_def
="unknown"
11386 rm -f conftest.err conftest.
$ac_objext \
11387 conftest
$ac_exeext conftest.
$ac_ext
11389 rm -f conftest.err conftest.
$ac_objext \
11390 conftest
$ac_exeext conftest.
$ac_ext
11392 rm -f conftest.err conftest.
$ac_objext \
11393 conftest
$ac_exeext conftest.
$ac_ext
11395 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11396 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11400 case "$ac_cv_asm_func_def" in
11402 cat >>confdefs.h
<<\_ACEOF
11403 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11407 cat >>confdefs.h
<<\_ACEOF
11408 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11412 cat >>confdefs.h
<<\_ACEOF
11413 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11417 cat >>confdefs.h
<<\_ACEOF
11418 #define __ASM_FUNC(name) ""
11424 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11425 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11426 if test "${ac_cv_c_extern_prefix+set}" = set; then
11427 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 cat >conftest.
$ac_ext <<_ACEOF
11432 cat confdefs.h
>>conftest.
$ac_ext
11433 cat >>conftest.
$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11436 extern int ac_test;
11440 if (ac_test) return 1
11445 rm -f conftest.
$ac_objext conftest
$ac_exeext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11447 (eval $ac_link) 2>conftest.er1
11449 grep -v '^ *+' conftest.er1
>conftest.err
11451 cat conftest.err
>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; } &&
11460 { ac_try
='test -s conftest$ac_exeext'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then
11466 ac_cv_c_extern_prefix
="yes"
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.
$ac_ext >&5
11471 ac_cv_c_extern_prefix
="no"
11473 rm -f conftest.err conftest.
$ac_objext \
11474 conftest
$ac_exeext conftest.
$ac_ext
11476 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11477 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11481 if test "$ac_cv_c_extern_prefix" = "yes"
11483 cat >>confdefs.h
<<\_ACEOF
11484 #define __ASM_NAME(name) "_" name
11488 cat >>confdefs.h
<<\_ACEOF
11489 #define __ASM_NAME(name) name
11497 DLLFLAGS
="-D_REENTRANT"
11512 if test -n "$ac_tool_prefix"; then
11513 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11514 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
11515 echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 if test -n "$DLLTOOL"; then
11521 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in $PATH
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11539 DLLTOOL
=$ac_cv_prog_DLLTOOL
11540 if test -n "$DLLTOOL"; then
11541 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11542 echo "${ECHO_T}$DLLTOOL" >&6
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11549 if test -z "$ac_cv_prog_DLLTOOL"; then
11550 ac_ct_DLLTOOL
=$DLLTOOL
11551 # Extract the first word of "dlltool", so it can be a program name with args.
11552 set dummy dlltool
; ac_word
=$2
11553 echo "$as_me:$LINENO: checking for $ac_word" >&5
11554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11555 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 if test -n "$ac_ct_DLLTOOL"; then
11559 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
11561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11562 for as_dir
in $PATH
11565 test -z "$as_dir" && as_dir
=.
11566 for ac_exec_ext
in '' $ac_executable_extensions; do
11567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11568 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
11569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
11578 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
11579 if test -n "$ac_ct_DLLTOOL"; then
11580 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11581 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11583 echo "$as_me:$LINENO: result: no" >&5
11584 echo "${ECHO_T}no" >&6
11587 DLLTOOL
=$ac_ct_DLLTOOL
11589 DLLTOOL
="$ac_cv_prog_DLLTOOL"
11592 if test -n "$ac_tool_prefix"; then
11593 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11594 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
11595 echo "$as_me:$LINENO: checking for $ac_word" >&5
11596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11597 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 if test -n "$DLLWRAP"; then
11601 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
11603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11604 for as_dir
in $PATH
11607 test -z "$as_dir" && as_dir
=.
11608 for ac_exec_ext
in '' $ac_executable_extensions; do
11609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11610 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
11611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11619 DLLWRAP
=$ac_cv_prog_DLLWRAP
11620 if test -n "$DLLWRAP"; then
11621 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11622 echo "${ECHO_T}$DLLWRAP" >&6
11624 echo "$as_me:$LINENO: result: no" >&5
11625 echo "${ECHO_T}no" >&6
11629 if test -z "$ac_cv_prog_DLLWRAP"; then
11630 ac_ct_DLLWRAP
=$DLLWRAP
11631 # Extract the first word of "dllwrap", so it can be a program name with args.
11632 set dummy dllwrap
; ac_word
=$2
11633 echo "$as_me:$LINENO: checking for $ac_word" >&5
11634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11635 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 if test -n "$ac_ct_DLLWRAP"; then
11639 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
11641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11642 for as_dir
in $PATH
11645 test -z "$as_dir" && as_dir
=.
11646 for ac_exec_ext
in '' $ac_executable_extensions; do
11647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11648 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
11649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11655 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
11658 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
11659 if test -n "$ac_ct_DLLWRAP"; then
11660 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11661 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11663 echo "$as_me:$LINENO: result: no" >&5
11664 echo "${ECHO_T}no" >&6
11667 DLLWRAP
=$ac_ct_DLLWRAP
11669 DLLWRAP
="$ac_cv_prog_DLLWRAP"
11672 if test "$DLLWRAP" = "false"; then
11682 if test "$ac_cv_header_dlfcn_h" = "yes"
11685 for ac_func
in dlopen
11687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11688 echo "$as_me:$LINENO: checking for $ac_func" >&5
11689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11690 if eval "test \"\${$as_ac_var+set}\" = set"; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 cat >conftest.
$ac_ext <<_ACEOF
11696 cat confdefs.h
>>conftest.
$ac_ext
11697 cat >>conftest.
$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11701 #define $ac_func innocuous_$ac_func
11703 /* System header to define __stub macros and hopefully few prototypes,
11704 which can conflict with char $ac_func (); below.
11705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11706 <limits.h> exists even on freestanding compilers. */
11709 # include <limits.h>
11711 # include <assert.h>
11716 /* Override any gcc2 internal prototype to avoid an error. */
11721 /* We use char because int might match the return type of a gcc2
11722 builtin and then its argument prototype would still apply. */
11724 /* The GNU C library defines this for functions which it implements
11725 to always fail with ENOSYS. Some functions are actually named
11726 something starting with __ and the normal name is an alias. */
11727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11730 char (*f) () = $ac_func;
11739 return f != $ac_func;
11744 rm -f conftest.
$ac_objext conftest
$ac_exeext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11746 (eval $ac_link) 2>conftest.er1
11748 grep -v '^ *+' conftest.er1
>conftest.err
11750 cat conftest.err
>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; } &&
11759 { ac_try
='test -s conftest$ac_exeext'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 eval "$as_ac_var=yes"
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.
$ac_ext >&5
11770 eval "$as_ac_var=no"
11772 rm -f conftest.err conftest.
$ac_objext \
11773 conftest
$ac_exeext conftest.
$ac_ext
11775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11777 if test `eval echo '${'$as_ac_var'}'` = yes; then
11778 cat >>confdefs.h
<<_ACEOF
11779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11783 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11784 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11785 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 ac_check_lib_save_LIBS
=$LIBS
11790 cat >conftest.
$ac_ext <<_ACEOF
11793 cat confdefs.h
>>conftest.
$ac_ext
11794 cat >>conftest.
$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11797 /* Override any gcc2 internal prototype to avoid an error. */
11801 /* We use char because int might match the return type of a gcc2
11802 builtin and then its argument prototype would still apply. */
11812 rm -f conftest.
$ac_objext conftest
$ac_exeext
11813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11814 (eval $ac_link) 2>conftest.er1
11816 grep -v '^ *+' conftest.er1
>conftest.err
11818 cat conftest.err
>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); } &&
11821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; } &&
11827 { ac_try
='test -s conftest$ac_exeext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833 ac_cv_lib_dl_dlopen
=yes
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.
$ac_ext >&5
11838 ac_cv_lib_dl_dlopen
=no
11840 rm -f conftest.err conftest.
$ac_objext \
11841 conftest
$ac_exeext conftest.
$ac_ext
11842 LIBS
=$ac_check_lib_save_LIBS
11844 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11845 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11846 if test $ac_cv_lib_dl_dlopen = yes; then
11848 cat >>confdefs.h
<<\_ACEOF
11849 #define HAVE_DLOPEN 1
11864 if test "$LIBEXT" = "so"
11866 DLLFLAGS
="$DLLFLAGS -fPIC"
11868 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
11869 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
11870 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 ac_wine_try_cflags_saved
=$CFLAGS
11874 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
11875 cat >conftest.
$ac_ext <<_ACEOF
11878 rm -f conftest.
$ac_objext conftest
$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>conftest.er1
11882 grep -v '^ *+' conftest.er1
>conftest.err
11884 cat conftest.err
>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; } &&
11893 { ac_try
='test -s conftest$ac_exeext'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; }; then
11899 ac_cv_c_dll_gnuelf
="yes"
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.
$ac_ext >&5
11904 ac_cv_c_dll_gnuelf
="no"
11906 rm -f conftest.err conftest.
$ac_objext \
11907 conftest
$ac_exeext conftest.
$ac_ext
11908 CFLAGS
=$ac_wine_try_cflags_saved
11910 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
11911 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
11912 if test "$ac_cv_c_dll_gnuelf" = "yes"
11914 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
11915 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
11916 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
11917 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
11918 if test "${ac_cv_c_dll_zdefs+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 ac_wine_try_cflags_saved
=$CFLAGS
11922 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
11923 cat >conftest.
$ac_ext <<_ACEOF
11926 cat confdefs.h
>>conftest.
$ac_ext
11927 cat >>conftest.
$ac_ext <<_ACEOF
11928 /* end confdefs.h. */
11938 rm -f conftest.
$ac_objext conftest
$ac_exeext
11939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11940 (eval $ac_link) 2>conftest.er1
11942 grep -v '^ *+' conftest.er1
>conftest.err
11944 cat conftest.err
>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); } &&
11947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; } &&
11953 { ac_try
='test -s conftest$ac_exeext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 ac_cv_c_dll_zdefs
="yes"
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11964 ac_cv_c_dll_zdefs
="no"
11966 rm -f conftest.err conftest.
$ac_objext \
11967 conftest
$ac_exeext conftest.
$ac_ext
11968 CFLAGS
=$ac_wine_try_cflags_saved
11970 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
11971 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
11972 if test "$ac_cv_c_dll_zdefs" = "yes"
11974 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
11977 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
11978 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
11979 if test "${ac_cv_c_dll_init_fini+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 ac_wine_try_cflags_saved
=$CFLAGS
11983 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
11984 cat >conftest.
$ac_ext <<_ACEOF
11987 cat confdefs.h
>>conftest.
$ac_ext
11988 cat >>conftest.
$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11999 rm -f conftest.
$ac_objext conftest
$ac_exeext
12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12001 (eval $ac_link) 2>conftest.er1
12003 grep -v '^ *+' conftest.er1
>conftest.err
12005 cat conftest.err
>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } &&
12008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; } &&
12014 { ac_try
='test -s conftest$ac_exeext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_cv_c_dll_init_fini
="yes"
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.
$ac_ext >&5
12025 ac_cv_c_dll_init_fini
="no"
12027 rm -f conftest.err conftest.
$ac_objext \
12028 conftest
$ac_exeext conftest.
$ac_ext
12029 CFLAGS
=$ac_wine_try_cflags_saved
12031 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
12032 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
12033 if test "$ac_cv_c_dll_init_fini" = "yes"
12035 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
12038 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
12039 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
12040 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12043 echo '{ global: *; };' >conftest.map
12044 ac_wine_try_cflags_saved
=$CFLAGS
12045 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
12046 cat >conftest.
$ac_ext <<_ACEOF
12049 cat confdefs.h
>>conftest.
$ac_ext
12050 cat >>conftest.
$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12061 rm -f conftest.
$ac_objext conftest
$ac_exeext
12062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12063 (eval $ac_link) 2>conftest.er1
12065 grep -v '^ *+' conftest.er1
>conftest.err
12067 cat conftest.err
>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } &&
12070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; } &&
12076 { ac_try
='test -s conftest$ac_exeext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_cv_c_ld_version_scripts
="yes"
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 ac_cv_c_ld_version_scripts
="no"
12089 rm -f conftest.err conftest.
$ac_objext \
12090 conftest
$ac_exeext conftest.
$ac_ext
12091 CFLAGS
=$ac_wine_try_cflags_saved
12094 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
12095 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
12096 if test "$ac_cv_c_ld_version_scripts" = "yes"
12098 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
12101 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
12102 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
12103 if test "${ac_cv_c_export_dynamic+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 ac_wine_try_cflags_saved
=$CFLAGS
12107 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
12108 cat >conftest.
$ac_ext <<_ACEOF
12111 cat confdefs.h
>>conftest.
$ac_ext
12112 cat >>conftest.
$ac_ext <<_ACEOF
12113 /* end confdefs.h. */
12123 rm -f conftest.
$ac_objext conftest
$ac_exeext
12124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12125 (eval $ac_link) 2>conftest.er1
12127 grep -v '^ *+' conftest.er1
>conftest.err
12129 cat conftest.err
>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; } &&
12138 { ac_try
='test -s conftest$ac_exeext'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; }; then
12144 ac_cv_c_export_dynamic
="yes"
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.
$ac_ext >&5
12149 ac_cv_c_export_dynamic
="no"
12151 rm -f conftest.err conftest.
$ac_objext \
12152 conftest
$ac_exeext conftest.
$ac_ext
12153 CFLAGS
=$ac_wine_try_cflags_saved
12155 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
12156 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
12157 if test "$ac_cv_c_export_dynamic" = "yes"
12159 LDEXECFLAGS
="-Wl,--export-dynamic"
12165 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
12166 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
12167 if test "${ac_cv_ld_reloc_exec+set}" = set; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 ac_wine_try_cflags_saved
=$CFLAGS
12171 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
12172 cat >conftest.
$ac_ext <<_ACEOF
12175 cat confdefs.h
>>conftest.
$ac_ext
12176 cat >>conftest.
$ac_ext <<_ACEOF
12177 /* end confdefs.h. */
12187 rm -f conftest.
$ac_objext conftest
$ac_exeext
12188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12189 (eval $ac_link) 2>conftest.er1
12191 grep -v '^ *+' conftest.er1
>conftest.err
12193 cat conftest.err
>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); } &&
12196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; } &&
12202 { ac_try
='test -s conftest$ac_exeext'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 ac_cv_ld_reloc_exec
="yes"
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.
$ac_ext >&5
12213 ac_cv_ld_reloc_exec
="no"
12215 rm -f conftest.err conftest.
$ac_objext \
12216 conftest
$ac_exeext conftest.
$ac_ext
12217 CFLAGS
=$ac_wine_try_cflags_saved
12219 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
12220 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
12221 if test "$ac_cv_ld_reloc_exec" = "yes"
12223 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
12229 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
12230 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
12231 if test "${ac_cv_c_dll_unixware+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 ac_wine_try_cflags_saved
=$CFLAGS
12235 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
12236 cat >conftest.
$ac_ext <<_ACEOF
12239 rm -f conftest.
$ac_objext conftest
$ac_exeext
12240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12241 (eval $ac_link) 2>conftest.er1
12243 grep -v '^ *+' conftest.er1
>conftest.err
12245 cat conftest.err
>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } &&
12248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; } &&
12254 { ac_try
='test -s conftest$ac_exeext'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; }; then
12260 ac_cv_c_dll_unixware
="yes"
12262 echo "$as_me: failed program was:" >&5
12263 sed 's/^/| /' conftest.
$ac_ext >&5
12265 ac_cv_c_dll_unixware
="no"
12267 rm -f conftest.err conftest.
$ac_objext \
12268 conftest
$ac_exeext conftest.
$ac_ext
12269 CFLAGS
=$ac_wine_try_cflags_saved
12271 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
12272 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
12273 if test "$ac_cv_c_dll_unixware" = "yes"
12275 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
12276 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
12279 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
12280 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
12281 if test "${ac_cv_c_dll_macho+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 ac_wine_try_cflags_saved
=$CFLAGS
12285 CFLAGS
="$CFLAGS -bundle"
12286 cat >conftest.
$ac_ext <<_ACEOF
12289 rm -f conftest.
$ac_objext conftest
$ac_exeext
12290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12291 (eval $ac_link) 2>conftest.er1
12293 grep -v '^ *+' conftest.er1
>conftest.err
12295 cat conftest.err
>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } &&
12298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; } &&
12304 { ac_try
='test -s conftest$ac_exeext'
12305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306 (eval $ac_try) 2>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); }; }; then
12310 ac_cv_c_dll_macho
="yes"
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.
$ac_ext >&5
12315 ac_cv_c_dll_macho
="no"
12317 rm -f conftest.err conftest.
$ac_objext \
12318 conftest
$ac_exeext conftest.
$ac_ext
12319 CFLAGS
=$ac_wine_try_cflags_saved
12321 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
12322 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
12323 if test "$ac_cv_c_dll_macho" = "yes"
12326 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
12327 LDSHARED
="\$(CC) -dynamiclib"
12328 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
12329 STRIP
="$STRIP -u -r"
12330 LDEXECFLAGS
="-seg1addr 0x120000"
12332 LDLIBWINEFLAGS
="-seg1addr 0x140000"
12334 COREFOUNDATIONLIB
="-framework CoreFoundation"
12336 IOKITLIB
="-framework IOKit"
12338 IOKITLIB
="$IOKITLIB $COREFOUNDATIONLIB"
12340 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
12341 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
12342 if test "${ac_cv_c_dll_hpux+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 ac_wine_try_cflags_saved
=$CFLAGS
12346 CFLAGS
="$CFLAGS -shared"
12347 cat >conftest.
$ac_ext <<_ACEOF
12350 rm -f conftest.
$ac_objext conftest
$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12354 grep -v '^ *+' conftest.er1
>conftest.err
12356 cat conftest.err
>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try
='test -s conftest$ac_exeext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 ac_cv_c_dll_hpux
="yes"
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.
$ac_ext >&5
12376 ac_cv_c_dll_hpux
="no"
12378 rm -f conftest.err conftest.
$ac_objext \
12379 conftest
$ac_exeext conftest.
$ac_ext
12380 CFLAGS
=$ac_wine_try_cflags_saved
12382 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
12383 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
12384 if test "$ac_cv_c_dll_hpux" = "yes"
12388 LDDLLFLAGS
="-shared -fPIC"
12389 LDSHARED
="\$(CC) -shared"
12398 if test "$cross_compiling" = "no"
12400 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
12402 # Extract the first word of "$ac_prog", so it can be a program name with args.
12403 set dummy
$ac_prog; ac_word
=$2
12404 echo "$as_me:$LINENO: checking for $ac_word" >&5
12405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12406 if test "${ac_cv_prog_CROSSCC+set}" = set; then
12407 echo $ECHO_N "(cached) $ECHO_C" >&6
12409 if test -n "$CROSSCC"; then
12410 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
12412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12413 for as_dir
in $PATH
12416 test -z "$as_dir" && as_dir
=.
12417 for ac_exec_ext
in '' $ac_executable_extensions; do
12418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12419 ac_cv_prog_CROSSCC
="$ac_prog"
12420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12428 CROSSCC
=$ac_cv_prog_CROSSCC
12429 if test -n "$CROSSCC"; then
12430 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12431 echo "${ECHO_T}$CROSSCC" >&6
12433 echo "$as_me:$LINENO: result: no" >&5
12434 echo "${ECHO_T}no" >&6
12437 test -n "$CROSSCC" && break
12439 test -n "$CROSSCC" || CROSSCC
="false"
12441 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
12443 # Extract the first word of "$ac_prog", so it can be a program name with args.
12444 set dummy
$ac_prog; ac_word
=$2
12445 echo "$as_me:$LINENO: checking for $ac_word" >&5
12446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12447 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12448 echo $ECHO_N "(cached) $ECHO_C" >&6
12450 if test -n "$DLLTOOL"; then
12451 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
12453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12454 for as_dir
in $PATH
12457 test -z "$as_dir" && as_dir
=.
12458 for ac_exec_ext
in '' $ac_executable_extensions; do
12459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12460 ac_cv_prog_DLLTOOL
="$ac_prog"
12461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12469 DLLTOOL
=$ac_cv_prog_DLLTOOL
12470 if test -n "$DLLTOOL"; then
12471 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12472 echo "${ECHO_T}$DLLTOOL" >&6
12474 echo "$as_me:$LINENO: result: no" >&5
12475 echo "${ECHO_T}no" >&6
12478 test -n "$DLLTOOL" && break
12480 test -n "$DLLTOOL" || DLLTOOL
="false"
12482 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
12484 # Extract the first word of "$ac_prog", so it can be a program name with args.
12485 set dummy
$ac_prog; ac_word
=$2
12486 echo "$as_me:$LINENO: checking for $ac_word" >&5
12487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12488 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 if test -n "$CROSSWINDRES"; then
12492 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
12494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12495 for as_dir
in $PATH
12498 test -z "$as_dir" && as_dir
=.
12499 for ac_exec_ext
in '' $ac_executable_extensions; do
12500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12501 ac_cv_prog_CROSSWINDRES
="$ac_prog"
12502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12510 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
12511 if test -n "$CROSSWINDRES"; then
12512 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12513 echo "${ECHO_T}$CROSSWINDRES" >&6
12515 echo "$as_me:$LINENO: result: no" >&5
12516 echo "${ECHO_T}no" >&6
12519 test -n "$CROSSWINDRES" && break
12521 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
12523 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
12528 if test "$LIBEXT" = "a"; then
12529 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12530 It is currently not possible to build Wine without shared library
12531 (.so) support to allow transparent switch between .so and .dll files.
12532 If you are using Linux, you will need a newer binutils.
12534 echo "$as_me: error: could not find a way to build shared libraries.
12535 It is currently not possible to build Wine without shared library
12536 (.so) support to allow transparent switch between .so and .dll files.
12537 If you are using Linux, you will need a newer binutils.
12539 { (exit 1); exit 1; }; }
12544 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12547 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
12550 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12558 SOCKETLIBS
="-lws2_32"
12566 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
12568 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
12571 MAIN_BINARY
="wine-glibc"
12575 WINE_BINARIES
="wine-pthread"
12577 MAIN_BINARY
="wine-pthread"
12581 WINE_BINARIES
="wine-kthread"
12583 MAIN_BINARY
="wine-kthread"
12589 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
12591 # Extract the first word of "ldd", so it can be a program name with args.
12592 set dummy ldd
; ac_word
=$2
12593 echo "$as_me:$LINENO: checking for $ac_word" >&5
12594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12595 if test "${ac_cv_path_LDD+set}" = set; then
12596 echo $ECHO_N "(cached) $ECHO_C" >&6
12600 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
12603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12604 as_dummy
="/sbin:/usr/sbin:$PATH"
12605 for as_dir
in $as_dummy
12608 test -z "$as_dir" && as_dir
=.
12609 for ac_exec_ext
in '' $ac_executable_extensions; do
12610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12611 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
12612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12618 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
12622 LDD
=$ac_cv_path_LDD
12624 if test -n "$LDD"; then
12625 echo "$as_me:$LINENO: result: $LDD" >&5
12626 echo "${ECHO_T}$LDD" >&6
12628 echo "$as_me:$LINENO: result: no" >&5
12629 echo "${ECHO_T}no" >&6
12633 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12634 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12635 if test "${ac_cv_lib_soname_X11+set}" = set; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12638 ac_get_soname_save_LIBS
=$LIBS
12639 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12640 cat >conftest.
$ac_ext <<_ACEOF
12643 cat confdefs.h
>>conftest.
$ac_ext
12644 cat >>conftest.
$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12647 /* Override any gcc2 internal prototype to avoid an error. */
12651 /* We use char because int might match the return type of a gcc2
12652 builtin and then its argument prototype would still apply. */
12653 char XCreateWindow ();
12662 rm -f conftest.
$ac_objext conftest
$ac_exeext
12663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12664 (eval $ac_link) 2>conftest.er1
12666 grep -v '^ *+' conftest.er1
>conftest.err
12668 cat conftest.err
>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; } &&
12677 { ac_try
='test -s conftest$ac_exeext'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; }; then
12683 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
12684 if test "x$ac_cv_lib_soname_X11" = "x"
12686 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.
$ac_ext >&5
12692 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
12694 rm -f conftest.err conftest.
$ac_objext \
12695 conftest
$ac_exeext conftest.
$ac_ext
12696 LIBS
=$ac_get_soname_save_LIBS
12698 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12699 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12700 if test "x$ac_cv_lib_soname_X11" != xNONE
12702 cat >>confdefs.h
<<_ACEOF
12703 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12707 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12708 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12709 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 ac_get_soname_save_LIBS
=$LIBS
12713 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12714 cat >conftest.
$ac_ext <<_ACEOF
12717 cat confdefs.h
>>conftest.
$ac_ext
12718 cat >>conftest.
$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12721 /* Override any gcc2 internal prototype to avoid an error. */
12725 /* We use char because int might match the return type of a gcc2
12726 builtin and then its argument prototype would still apply. */
12727 char XextCreateExtension ();
12731 XextCreateExtension ();
12736 rm -f conftest.
$ac_objext conftest
$ac_exeext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12738 (eval $ac_link) 2>conftest.er1
12740 grep -v '^ *+' conftest.er1
>conftest.err
12742 cat conftest.err
>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; } &&
12751 { ac_try
='test -s conftest$ac_exeext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
12758 if test "x$ac_cv_lib_soname_Xext" = "x"
12760 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
12763 echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.
$ac_ext >&5
12766 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
12768 rm -f conftest.err conftest.
$ac_objext \
12769 conftest
$ac_exeext conftest.
$ac_ext
12770 LIBS
=$ac_get_soname_save_LIBS
12772 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
12773 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
12774 if test "x$ac_cv_lib_soname_Xext" != xNONE
12776 cat >>confdefs.h
<<_ACEOF
12777 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
12781 echo "$as_me:$LINENO: checking for -lXi soname" >&5
12782 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
12783 if test "${ac_cv_lib_soname_Xi+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 ac_get_soname_save_LIBS
=$LIBS
12787 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12788 cat >conftest.
$ac_ext <<_ACEOF
12791 cat confdefs.h
>>conftest.
$ac_ext
12792 cat >>conftest.
$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12795 /* Override any gcc2 internal prototype to avoid an error. */
12799 /* We use char because int might match the return type of a gcc2
12800 builtin and then its argument prototype would still apply. */
12801 char XOpenDevice ();
12810 rm -f conftest.
$ac_objext conftest
$ac_exeext
12811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12812 (eval $ac_link) 2>conftest.er1
12814 grep -v '^ *+' conftest.er1
>conftest.err
12816 cat conftest.err
>&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); } &&
12819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12821 (eval $ac_try) 2>&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); }; } &&
12825 { ac_try
='test -s conftest$ac_exeext'
12826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12827 (eval $ac_try) 2>&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); }; }; then
12831 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
12832 if test "x$ac_cv_lib_soname_Xi" = "x"
12834 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
12837 echo "$as_me: failed program was:" >&5
12838 sed 's/^/| /' conftest.
$ac_ext >&5
12840 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
12842 rm -f conftest.err conftest.
$ac_objext \
12843 conftest
$ac_exeext conftest.
$ac_ext
12844 LIBS
=$ac_get_soname_save_LIBS
12846 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
12847 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
12848 if test "x$ac_cv_lib_soname_Xi" != xNONE
12850 cat >>confdefs.h
<<_ACEOF
12851 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
12855 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
12856 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
12857 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
12858 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 ac_get_soname_save_LIBS
=$LIBS
12861 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12862 cat >conftest.
$ac_ext <<_ACEOF
12865 cat confdefs.h
>>conftest.
$ac_ext
12866 cat >>conftest.
$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12869 /* Override any gcc2 internal prototype to avoid an error. */
12873 /* We use char because int might match the return type of a gcc2
12874 builtin and then its argument prototype would still apply. */
12875 char XRenderQueryExtension ();
12879 XRenderQueryExtension ();
12884 rm -f conftest.
$ac_objext conftest
$ac_exeext
12885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12886 (eval $ac_link) 2>conftest.er1
12888 grep -v '^ *+' conftest.er1
>conftest.err
12890 cat conftest.err
>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); } &&
12893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 (eval $ac_try) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; } &&
12899 { ac_try
='test -s conftest$ac_exeext'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; }; then
12905 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
12906 if test "x$ac_cv_lib_soname_Xrender" = "x"
12908 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.
$ac_ext >&5
12914 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
12916 rm -f conftest.err conftest.
$ac_objext \
12917 conftest
$ac_exeext conftest.
$ac_ext
12918 LIBS
=$ac_get_soname_save_LIBS
12920 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
12921 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
12922 if test "x$ac_cv_lib_soname_Xrender" != xNONE
12924 cat >>confdefs.h
<<_ACEOF
12925 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12929 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
12930 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
12931 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 ac_get_soname_save_LIBS
=$LIBS
12935 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12936 cat >conftest.
$ac_ext <<_ACEOF
12939 cat confdefs.h
>>conftest.
$ac_ext
12940 cat >>conftest.
$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12943 /* Override any gcc2 internal prototype to avoid an error. */
12947 /* We use char because int might match the return type of a gcc2
12948 builtin and then its argument prototype would still apply. */
12949 char XRRQueryExtension ();
12953 XRRQueryExtension ();
12958 rm -f conftest.
$ac_objext conftest
$ac_exeext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12960 (eval $ac_link) 2>conftest.er1
12962 grep -v '^ *+' conftest.er1
>conftest.err
12964 cat conftest.err
>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); } &&
12967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try
='test -s conftest$ac_exeext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
12980 if test "x$ac_cv_lib_soname_Xrandr" = "x"
12982 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.
$ac_ext >&5
12988 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
12990 rm -f conftest.err conftest.
$ac_objext \
12991 conftest
$ac_exeext conftest.
$ac_ext
12992 LIBS
=$ac_get_soname_save_LIBS
12994 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
12995 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
12996 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
12998 cat >>confdefs.h
<<_ACEOF
12999 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
13003 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
13004 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
13005 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 ac_get_soname_save_LIBS
=$LIBS
13009 LIBS
="-lfreetype $X_LIBS $LIBS"
13010 cat >conftest.
$ac_ext <<_ACEOF
13013 cat confdefs.h
>>conftest.
$ac_ext
13014 cat >>conftest.
$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13017 /* Override any gcc2 internal prototype to avoid an error. */
13021 /* We use char because int might match the return type of a gcc2
13022 builtin and then its argument prototype would still apply. */
13023 char FT_Init_FreeType ();
13027 FT_Init_FreeType ();
13032 rm -f conftest.
$ac_objext conftest
$ac_exeext
13033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13034 (eval $ac_link) 2>conftest.er1
13036 grep -v '^ *+' conftest.er1
>conftest.err
13038 cat conftest.err
>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); } &&
13041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13043 (eval $ac_try) 2>&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); }; } &&
13047 { ac_try
='test -s conftest$ac_exeext'
13048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049 (eval $ac_try) 2>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); }; }; then
13053 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
13054 if test "x$ac_cv_lib_soname_freetype" = "x"
13056 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.
$ac_ext >&5
13062 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
13064 rm -f conftest.err conftest.
$ac_objext \
13065 conftest
$ac_exeext conftest.
$ac_ext
13066 LIBS
=$ac_get_soname_save_LIBS
13068 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13069 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
13070 if test "x$ac_cv_lib_soname_freetype" != xNONE
13072 cat >>confdefs.h
<<_ACEOF
13073 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13077 echo "$as_me:$LINENO: checking for -lGL soname" >&5
13078 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
13079 if test "${ac_cv_lib_soname_GL+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 ac_get_soname_save_LIBS
=$LIBS
13083 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
13084 cat >conftest.
$ac_ext <<_ACEOF
13087 cat confdefs.h
>>conftest.
$ac_ext
13088 cat >>conftest.
$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13091 /* Override any gcc2 internal prototype to avoid an error. */
13095 /* We use char because int might match the return type of a gcc2
13096 builtin and then its argument prototype would still apply. */
13097 char glXQueryExtension ();
13101 glXQueryExtension ();
13106 rm -f conftest.
$ac_objext conftest
$ac_exeext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13108 (eval $ac_link) 2>conftest.er1
13110 grep -v '^ *+' conftest.er1
>conftest.err
13112 cat conftest.err
>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; } &&
13121 { ac_try
='test -s conftest$ac_exeext'
13122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123 (eval $ac_try) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; }; then
13127 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
13128 if test "x$ac_cv_lib_soname_GL" = "x"
13130 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
13133 echo "$as_me: failed program was:" >&5
13134 sed 's/^/| /' conftest.
$ac_ext >&5
13136 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
13138 rm -f conftest.err conftest.
$ac_objext \
13139 conftest
$ac_exeext conftest.
$ac_ext
13140 LIBS
=$ac_get_soname_save_LIBS
13142 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
13143 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
13144 if test "x$ac_cv_lib_soname_GL" != xNONE
13146 cat >>confdefs.h
<<_ACEOF
13147 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
13151 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
13152 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
13153 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 ac_get_soname_save_LIBS
=$LIBS
13157 LIBS
="-ltxc_dxtn $LIBS"
13158 cat >conftest.
$ac_ext <<_ACEOF
13161 cat confdefs.h
>>conftest.
$ac_ext
13162 cat >>conftest.
$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13165 /* Override any gcc2 internal prototype to avoid an error. */
13169 /* We use char because int might match the return type of a gcc2
13170 builtin and then its argument prototype would still apply. */
13171 char fetch_2d_texel_rgba_dxt1 ();
13175 fetch_2d_texel_rgba_dxt1 ();
13180 rm -f conftest.
$ac_objext conftest
$ac_exeext
13181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13182 (eval $ac_link) 2>conftest.er1
13184 grep -v '^ *+' conftest.er1
>conftest.err
13186 cat conftest.err
>&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } &&
13189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13191 (eval $ac_try) 2>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; } &&
13195 { ac_try
='test -s conftest$ac_exeext'
13196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 (eval $ac_try) 2>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }; }; then
13201 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
13202 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
13204 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.
$ac_ext >&5
13210 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
13212 rm -f conftest.err conftest.
$ac_objext \
13213 conftest
$ac_exeext conftest.
$ac_ext
13214 LIBS
=$ac_get_soname_save_LIBS
13216 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
13217 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
13218 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
13220 cat >>confdefs.h
<<_ACEOF
13221 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
13225 echo "$as_me:$LINENO: checking for -lcups soname" >&5
13226 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
13227 if test "${ac_cv_lib_soname_cups+set}" = set; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13230 ac_get_soname_save_LIBS
=$LIBS
13231 LIBS
="-lcups $LIBS"
13232 cat >conftest.
$ac_ext <<_ACEOF
13235 cat confdefs.h
>>conftest.
$ac_ext
13236 cat >>conftest.
$ac_ext <<_ACEOF
13237 /* end confdefs.h. */
13239 /* Override any gcc2 internal prototype to avoid an error. */
13243 /* We use char because int might match the return type of a gcc2
13244 builtin and then its argument prototype would still apply. */
13245 char cupsGetDefault ();
13254 rm -f conftest.
$ac_objext conftest
$ac_exeext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13256 (eval $ac_link) 2>conftest.er1
13258 grep -v '^ *+' conftest.er1
>conftest.err
13260 cat conftest.err
>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try
='test -s conftest$ac_exeext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
13276 if test "x$ac_cv_lib_soname_cups" = "x"
13278 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.
$ac_ext >&5
13284 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
13286 rm -f conftest.err conftest.
$ac_objext \
13287 conftest
$ac_exeext conftest.
$ac_ext
13288 LIBS
=$ac_get_soname_save_LIBS
13290 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13291 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
13292 if test "x$ac_cv_lib_soname_cups" != xNONE
13294 cat >>confdefs.h
<<_ACEOF
13295 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13299 echo "$as_me:$LINENO: checking for -ljack soname" >&5
13300 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
13301 if test "${ac_cv_lib_soname_jack+set}" = set; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13304 ac_get_soname_save_LIBS
=$LIBS
13305 LIBS
="-ljack $LIBS"
13306 cat >conftest.
$ac_ext <<_ACEOF
13309 cat confdefs.h
>>conftest.
$ac_ext
13310 cat >>conftest.
$ac_ext <<_ACEOF
13311 /* end confdefs.h. */
13313 /* Override any gcc2 internal prototype to avoid an error. */
13317 /* We use char because int might match the return type of a gcc2
13318 builtin and then its argument prototype would still apply. */
13319 char jack_client_new ();
13323 jack_client_new ();
13328 rm -f conftest.
$ac_objext conftest
$ac_exeext
13329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13330 (eval $ac_link) 2>conftest.er1
13332 grep -v '^ *+' conftest.er1
>conftest.err
13334 cat conftest.err
>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } &&
13337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13339 (eval $ac_try) 2>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); }; } &&
13343 { ac_try
='test -s conftest$ac_exeext'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; }; then
13349 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
13350 if test "x$ac_cv_lib_soname_jack" = "x"
13352 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
13355 echo "$as_me: failed program was:" >&5
13356 sed 's/^/| /' conftest.
$ac_ext >&5
13358 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
13360 rm -f conftest.err conftest.
$ac_objext \
13361 conftest
$ac_exeext conftest.
$ac_ext
13362 LIBS
=$ac_get_soname_save_LIBS
13364 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13365 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
13366 if test "x$ac_cv_lib_soname_jack" != xNONE
13368 cat >>confdefs.h
<<_ACEOF
13369 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13373 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
13374 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
13375 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 ac_get_soname_save_LIBS
=$LIBS
13379 LIBS
="-lfontconfig $LIBS"
13380 cat >conftest.
$ac_ext <<_ACEOF
13383 cat confdefs.h
>>conftest.
$ac_ext
13384 cat >>conftest.
$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13387 /* Override any gcc2 internal prototype to avoid an error. */
13391 /* We use char because int might match the return type of a gcc2
13392 builtin and then its argument prototype would still apply. */
13402 rm -f conftest.
$ac_objext conftest
$ac_exeext
13403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13404 (eval $ac_link) 2>conftest.er1
13406 grep -v '^ *+' conftest.er1
>conftest.err
13408 cat conftest.err
>&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } &&
13411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; } &&
13417 { ac_try
='test -s conftest$ac_exeext'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then
13423 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
13424 if test "x$ac_cv_lib_soname_fontconfig" = "x"
13426 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.
$ac_ext >&5
13432 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
13434 rm -f conftest.err conftest.
$ac_objext \
13435 conftest
$ac_exeext conftest.
$ac_ext
13436 LIBS
=$ac_get_soname_save_LIBS
13438 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13439 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
13440 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
13442 cat >>confdefs.h
<<_ACEOF
13443 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13447 echo "$as_me:$LINENO: checking for -lssl soname" >&5
13448 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
13449 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13450 echo $ECHO_N "(cached) $ECHO_C" >&6
13452 ac_get_soname_save_LIBS
=$LIBS
13454 cat >conftest.
$ac_ext <<_ACEOF
13457 cat confdefs.h
>>conftest.
$ac_ext
13458 cat >>conftest.
$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13461 /* Override any gcc2 internal prototype to avoid an error. */
13465 /* We use char because int might match the return type of a gcc2
13466 builtin and then its argument prototype would still apply. */
13467 char SSL_library_init ();
13471 SSL_library_init ();
13476 rm -f conftest.
$ac_objext conftest
$ac_exeext
13477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13478 (eval $ac_link) 2>conftest.er1
13480 grep -v '^ *+' conftest.er1
>conftest.err
13482 cat conftest.err
>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } &&
13485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; } &&
13491 { ac_try
='test -s conftest$ac_exeext'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; }; then
13497 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
13498 if test "x$ac_cv_lib_soname_ssl" = "x"
13500 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
13503 echo "$as_me: failed program was:" >&5
13504 sed 's/^/| /' conftest.
$ac_ext >&5
13506 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
13508 rm -f conftest.err conftest.
$ac_objext \
13509 conftest
$ac_exeext conftest.
$ac_ext
13510 LIBS
=$ac_get_soname_save_LIBS
13512 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13513 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
13514 if test "x$ac_cv_lib_soname_ssl" != xNONE
13516 cat >>confdefs.h
<<_ACEOF
13517 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13521 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
13522 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
13523 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13526 ac_get_soname_save_LIBS
=$LIBS
13527 LIBS
="-lcrypto $LIBS"
13528 cat >conftest.
$ac_ext <<_ACEOF
13531 cat confdefs.h
>>conftest.
$ac_ext
13532 cat >>conftest.
$ac_ext <<_ACEOF
13533 /* end confdefs.h. */
13535 /* Override any gcc2 internal prototype to avoid an error. */
13539 /* We use char because int might match the return type of a gcc2
13540 builtin and then its argument prototype would still apply. */
13541 char BIO_new_socket ();
13550 rm -f conftest.
$ac_objext conftest
$ac_exeext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13552 (eval $ac_link) 2>conftest.er1
13554 grep -v '^ *+' conftest.er1
>conftest.err
13556 cat conftest.err
>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; } &&
13565 { ac_try
='test -s conftest$ac_exeext'
13566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13567 (eval $ac_try) 2>&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; }; then
13571 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
13572 if test "x$ac_cv_lib_soname_crypto" = "x"
13574 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
13577 echo "$as_me: failed program was:" >&5
13578 sed 's/^/| /' conftest.
$ac_ext >&5
13580 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
13582 rm -f conftest.err conftest.
$ac_objext \
13583 conftest
$ac_exeext conftest.
$ac_ext
13584 LIBS
=$ac_get_soname_save_LIBS
13586 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13587 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
13588 if test "x$ac_cv_lib_soname_crypto" != xNONE
13590 cat >>confdefs.h
<<_ACEOF
13591 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13595 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
13596 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
13597 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 ac_get_soname_save_LIBS
=$LIBS
13601 LIBS
="-lncurses $LIBS"
13602 cat >conftest.
$ac_ext <<_ACEOF
13605 cat confdefs.h
>>conftest.
$ac_ext
13606 cat >>conftest.
$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13609 /* Override any gcc2 internal prototype to avoid an error. */
13613 /* We use char because int might match the return type of a gcc2
13614 builtin and then its argument prototype would still apply. */
13624 rm -f conftest.
$ac_objext conftest
$ac_exeext
13625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13626 (eval $ac_link) 2>conftest.er1
13628 grep -v '^ *+' conftest.er1
>conftest.err
13630 cat conftest.err
>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } &&
13633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; } &&
13639 { ac_try
='test -s conftest$ac_exeext'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; }; then
13645 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
13646 if test "x$ac_cv_lib_soname_ncurses" = "x"
13648 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.
$ac_ext >&5
13654 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
13656 rm -f conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13658 LIBS
=$ac_get_soname_save_LIBS
13660 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13661 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
13662 if test "x$ac_cv_lib_soname_ncurses" != xNONE
13664 cat >>confdefs.h
<<_ACEOF
13665 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13669 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
13670 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
13671 if test "${ac_cv_lib_soname_curses+set}" = set; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 ac_get_soname_save_LIBS
=$LIBS
13675 LIBS
="-lcurses $LIBS"
13676 cat >conftest.
$ac_ext <<_ACEOF
13679 cat confdefs.h
>>conftest.
$ac_ext
13680 cat >>conftest.
$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13683 /* Override any gcc2 internal prototype to avoid an error. */
13687 /* We use char because int might match the return type of a gcc2
13688 builtin and then its argument prototype would still apply. */
13698 rm -f conftest.
$ac_objext conftest
$ac_exeext
13699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13700 (eval $ac_link) 2>conftest.er1
13702 grep -v '^ *+' conftest.er1
>conftest.err
13704 cat conftest.err
>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } &&
13707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13709 (eval $ac_try) 2>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; } &&
13713 { ac_try
='test -s conftest$ac_exeext'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; }; then
13719 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
13720 if test "x$ac_cv_lib_soname_curses" = "x"
13722 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.
$ac_ext >&5
13728 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
13730 rm -f conftest.err conftest.
$ac_objext \
13731 conftest
$ac_exeext conftest.
$ac_ext
13732 LIBS
=$ac_get_soname_save_LIBS
13734 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
13735 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
13736 if test "x$ac_cv_lib_soname_curses" != xNONE
13738 cat >>confdefs.h
<<_ACEOF
13739 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13743 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
13744 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
13745 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 ac_get_soname_save_LIBS
=$LIBS
13749 LIBS
="-ljpeg $LIBS"
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13757 /* Override any gcc2 internal prototype to avoid an error. */
13761 /* We use char because int might match the return type of a gcc2
13762 builtin and then its argument prototype would still apply. */
13763 char jpeg_start_decompress ();
13767 jpeg_start_decompress ();
13772 rm -f conftest.
$ac_objext conftest
$ac_exeext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13774 (eval $ac_link) 2>conftest.er1
13776 grep -v '^ *+' conftest.er1
>conftest.err
13778 cat conftest.err
>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; } &&
13787 { ac_try
='test -s conftest$ac_exeext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
13794 if test "x$ac_cv_lib_soname_jpeg" = "x"
13796 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.
$ac_ext >&5
13802 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
13804 rm -f conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 LIBS
=$ac_get_soname_save_LIBS
13808 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
13809 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
13810 if test "x$ac_cv_lib_soname_jpeg" != xNONE
13812 cat >>confdefs.h
<<_ACEOF
13813 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13817 echo "$as_me:$LINENO: checking for -lungif soname" >&5
13818 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
13819 if test "${ac_cv_lib_soname_ungif+set}" = set; then
13820 echo $ECHO_N "(cached) $ECHO_C" >&6
13822 ac_get_soname_save_LIBS
=$LIBS
13823 LIBS
="-lungif $LIBS"
13824 cat >conftest.
$ac_ext <<_ACEOF
13827 cat confdefs.h
>>conftest.
$ac_ext
13828 cat >>conftest.
$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13831 /* Override any gcc2 internal prototype to avoid an error. */
13835 /* We use char because int might match the return type of a gcc2
13836 builtin and then its argument prototype would still apply. */
13846 rm -f conftest.
$ac_objext conftest
$ac_exeext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13848 (eval $ac_link) 2>conftest.er1
13850 grep -v '^ *+' conftest.er1
>conftest.err
13852 cat conftest.err
>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } &&
13855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; } &&
13861 { ac_try
='test -s conftest$ac_exeext'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
13868 if test "x$ac_cv_lib_soname_ungif" = "x"
13870 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
13873 echo "$as_me: failed program was:" >&5
13874 sed 's/^/| /' conftest.
$ac_ext >&5
13876 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
13878 rm -f conftest.err conftest.
$ac_objext \
13879 conftest
$ac_exeext conftest.
$ac_ext
13880 LIBS
=$ac_get_soname_save_LIBS
13882 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
13883 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
13884 if test "x$ac_cv_lib_soname_ungif" != xNONE
13886 cat >>confdefs.h
<<_ACEOF
13887 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
13891 echo "$as_me:$LINENO: checking for -lgif soname" >&5
13892 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
13893 if test "${ac_cv_lib_soname_gif+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 ac_get_soname_save_LIBS
=$LIBS
13898 cat >conftest.
$ac_ext <<_ACEOF
13901 cat confdefs.h
>>conftest.
$ac_ext
13902 cat >>conftest.
$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13905 /* Override any gcc2 internal prototype to avoid an error. */
13909 /* We use char because int might match the return type of a gcc2
13910 builtin and then its argument prototype would still apply. */
13920 rm -f conftest.
$ac_objext conftest
$ac_exeext
13921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13922 (eval $ac_link) 2>conftest.er1
13924 grep -v '^ *+' conftest.er1
>conftest.err
13926 cat conftest.err
>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } &&
13929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try
='test -s conftest$ac_exeext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
13942 if test "x$ac_cv_lib_soname_gif" = "x"
13944 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
13947 echo "$as_me: failed program was:" >&5
13948 sed 's/^/| /' conftest.
$ac_ext >&5
13950 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
13952 rm -f conftest.err conftest.
$ac_objext \
13953 conftest
$ac_exeext conftest.
$ac_ext
13954 LIBS
=$ac_get_soname_save_LIBS
13956 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
13957 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
13958 if test "x$ac_cv_lib_soname_gif" != xNONE
13960 cat >>confdefs.h
<<_ACEOF
13961 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
13965 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
13966 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
13967 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13970 ac_get_soname_save_LIBS
=$LIBS
13971 LIBS
="-lcapi20 $LIBS"
13972 cat >conftest.
$ac_ext <<_ACEOF
13975 cat confdefs.h
>>conftest.
$ac_ext
13976 cat >>conftest.
$ac_ext <<_ACEOF
13977 /* end confdefs.h. */
13979 /* Override any gcc2 internal prototype to avoid an error. */
13983 /* We use char because int might match the return type of a gcc2
13984 builtin and then its argument prototype would still apply. */
13985 char capi20_isinstalled ();
13989 capi20_isinstalled ();
13994 rm -f conftest.
$ac_objext conftest
$ac_exeext
13995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13996 (eval $ac_link) 2>conftest.er1
13998 grep -v '^ *+' conftest.er1
>conftest.err
14000 cat conftest.err
>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); } &&
14003 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; } &&
14009 { ac_try
='test -s conftest$ac_exeext'
14010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011 (eval $ac_try) 2>&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; }; then
14015 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
14016 if test "x$ac_cv_lib_soname_capi20" = "x"
14018 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.
$ac_ext >&5
14024 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
14026 rm -f conftest.err conftest.
$ac_objext \
14027 conftest
$ac_exeext conftest.
$ac_ext
14028 LIBS
=$ac_get_soname_save_LIBS
14030 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14031 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
14032 if test "x$ac_cv_lib_soname_capi20" != xNONE
14034 cat >>confdefs.h
<<_ACEOF
14035 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14166 echo "$as_me:$LINENO: checking for $ac_func" >&5
14167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14168 if eval "test \"\${$as_ac_var+set}\" = set"; then
14169 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 cat >conftest.
$ac_ext <<_ACEOF
14174 cat confdefs.h
>>conftest.
$ac_ext
14175 cat >>conftest.
$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14179 #define $ac_func innocuous_$ac_func
14181 /* System header to define __stub macros and hopefully few prototypes,
14182 which can conflict with char $ac_func (); below.
14183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14184 <limits.h> exists even on freestanding compilers. */
14187 # include <limits.h>
14189 # include <assert.h>
14194 /* Override any gcc2 internal prototype to avoid an error. */
14199 /* We use char because int might match the return type of a gcc2
14200 builtin and then its argument prototype would still apply. */
14202 /* The GNU C library defines this for functions which it implements
14203 to always fail with ENOSYS. Some functions are actually named
14204 something starting with __ and the normal name is an alias. */
14205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14208 char (*f) () = $ac_func;
14217 return f != $ac_func;
14222 rm -f conftest.
$ac_objext conftest
$ac_exeext
14223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14224 (eval $ac_link) 2>conftest.er1
14226 grep -v '^ *+' conftest.er1
>conftest.err
14228 cat conftest.err
>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; } &&
14237 { ac_try
='test -s conftest$ac_exeext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 eval "$as_ac_var=yes"
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.
$ac_ext >&5
14248 eval "$as_ac_var=no"
14250 rm -f conftest.err conftest.
$ac_objext \
14251 conftest
$ac_exeext conftest.
$ac_ext
14253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14255 if test `eval echo '${'$as_ac_var'}'` = yes; then
14256 cat >>confdefs.h
<<_ACEOF
14257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14269 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
14271 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14272 echo "$as_me:$LINENO: checking for $ac_header" >&5
14273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 cat >conftest.
$ac_ext <<_ACEOF
14280 cat confdefs.h
>>conftest.
$ac_ext
14281 cat >>conftest.
$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14283 #include <sys/types.h>
14284 #if HAVE_SYS_PARAM_H
14285 # include <sys/param.h>
14288 #include <$ac_header>
14290 rm -f conftest.
$ac_objext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14292 (eval $ac_compile) 2>conftest.er1
14294 grep -v '^ *+' conftest.er1
>conftest.err
14296 cat conftest.err
>&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } &&
14299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; } &&
14305 { ac_try
='test -s conftest.$ac_objext'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; }; then
14311 eval "$as_ac_Header=yes"
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.
$ac_ext >&5
14316 eval "$as_ac_Header=no"
14318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14323 cat >>confdefs.h
<<_ACEOF
14324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14338 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
14340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14341 echo "$as_me:$LINENO: checking for $ac_header" >&5
14342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14344 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 cat >conftest.
$ac_ext <<_ACEOF
14349 cat confdefs.h
>>conftest.
$ac_ext
14350 cat >>conftest.
$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 #include <sys/types.h>
14353 #if HAVE_SYS_SOCKET_H
14354 # include <sys/socket.h>
14357 #include <$ac_header>
14359 rm -f conftest.
$ac_objext
14360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14361 (eval $ac_compile) 2>conftest.er1
14363 grep -v '^ *+' conftest.er1
>conftest.err
14365 cat conftest.err
>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } &&
14368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; } &&
14374 { ac_try
='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 eval "$as_ac_Header=yes"
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.
$ac_ext >&5
14385 eval "$as_ac_Header=no"
14387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14392 cat >>confdefs.h
<<_ACEOF
14393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14402 for ac_header
in resolv.h
14404 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14405 echo "$as_me:$LINENO: checking for $ac_header" >&5
14406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14408 echo $ECHO_N "(cached) $ECHO_C" >&6
14410 cat >conftest.
$ac_ext <<_ACEOF
14413 cat confdefs.h
>>conftest.
$ac_ext
14414 cat >>conftest.
$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14416 #include <sys/types.h>
14417 #if HAVE_SYS_SOCKET_H
14418 # include <sys/socket.h>
14420 #if HAVE_NETINET_IN_H
14421 # include <netinet/in.h>
14423 #if HAVE_ARPA_NAMESER_H
14424 # include <arpa/nameser.h>
14427 #include <$ac_header>
14429 rm -f conftest.
$ac_objext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14431 (eval $ac_compile) 2>conftest.er1
14433 grep -v '^ *+' conftest.er1
>conftest.err
14435 cat conftest.err
>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; } &&
14444 { ac_try
='test -s conftest.$ac_objext'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; }; then
14450 eval "$as_ac_Header=yes"
14452 echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.
$ac_ext >&5
14455 eval "$as_ac_Header=no"
14457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14462 cat >>confdefs.h
<<_ACEOF
14463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14472 for ac_header
in ucontext.h
14474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14475 echo "$as_me:$LINENO: checking for $ac_header" >&5
14476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 cat >conftest.
$ac_ext <<_ACEOF
14483 cat confdefs.h
>>conftest.
$ac_ext
14484 cat >>conftest.
$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14486 #include <signal.h>
14488 #include <$ac_header>
14490 rm -f conftest.
$ac_objext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>conftest.er1
14494 grep -v '^ *+' conftest.er1
>conftest.err
14496 cat conftest.err
>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; } &&
14505 { ac_try
='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 eval "$as_ac_Header=yes"
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14516 eval "$as_ac_Header=no"
14518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14523 cat >>confdefs.h
<<_ACEOF
14524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14534 for ac_header
in linux
/ipx.h linux
/videodev.h
14536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14537 echo "$as_me:$LINENO: checking for $ac_header" >&5
14538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 cat >conftest.
$ac_ext <<_ACEOF
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 #ifdef HAVE_SYS_TIME_H
14549 #include <sys/time.h>
14551 #include <sys/types.h>
14552 #ifdef HAVE_ASM_TYPES_H
14553 #include <asm/types.h>
14556 #include <$ac_header>
14558 rm -f conftest.
$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1
>conftest.err
14564 cat conftest.err
>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } &&
14573 { ac_try
='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14579 eval "$as_ac_Header=yes"
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.
$ac_ext >&5
14584 eval "$as_ac_Header=no"
14586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14591 cat >>confdefs.h
<<_ACEOF
14592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14601 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14602 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14603 if test "${ac_cv_c_const+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 cat >conftest.
$ac_ext <<_ACEOF
14609 cat confdefs.h
>>conftest.
$ac_ext
14610 cat >>conftest.
$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14616 /* FIXME: Include the comments suggested by Paul. */
14617 #ifndef __cplusplus
14618 /* Ultrix mips cc rejects this. */
14619 typedef int charset[2];
14621 /* SunOS 4.1.1 cc rejects this. */
14622 char const *const *ccp;
14624 /* NEC SVR4.0.2 mips cc rejects this. */
14625 struct point {int x, y;};
14626 static struct point const zero = {0,0};
14627 /* AIX XL C 1.02.0.0 rejects this.
14628 It does not let you subtract one const X* pointer from another in
14629 an arm of an if-expression whose if-part is not a constant
14631 const char *g = "string";
14632 ccp = &g + (g ? g-g : 0);
14633 /* HPUX 7.0 cc rejects these. */
14636 ccp = (char const *const *) p;
14637 { /* SCO 3.2v4 cc rejects this. */
14639 char const *s = 0 ? (char *) 0 : (char const *) 0;
14643 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14644 int x[] = {25, 17};
14645 const int *foo = &x[0];
14648 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14649 typedef const int *iptr;
14653 { /* AIX XL C 1.02.0.0 rejects this saying
14654 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14655 struct s { int j; const int *ap[3]; };
14656 struct s *b; b->j = 5;
14658 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14659 const int foo = 10;
14667 rm -f conftest.
$ac_objext
14668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14669 (eval $ac_compile) 2>conftest.er1
14671 grep -v '^ *+' conftest.er1
>conftest.err
14673 cat conftest.err
>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } &&
14676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; } &&
14682 { ac_try
='test -s conftest.$ac_objext'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; }; then
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.
$ac_ext >&5
14695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14697 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14698 echo "${ECHO_T}$ac_cv_c_const" >&6
14699 if test $ac_cv_c_const = no
; then
14701 cat >>confdefs.h
<<\_ACEOF
14707 echo "$as_me:$LINENO: checking for inline" >&5
14708 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14709 if test "${ac_cv_c_inline+set}" = set; then
14710 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 for ac_kw
in inline __inline__ __inline
; do
14714 cat >conftest.
$ac_ext <<_ACEOF
14717 cat confdefs.h
>>conftest.
$ac_ext
14718 cat >>conftest.
$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14720 #ifndef __cplusplus
14722 static $ac_kw foo_t static_foo () {return 0; }
14723 $ac_kw foo_t foo () {return 0; }
14727 rm -f conftest.
$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>conftest.er1
14731 grep -v '^ *+' conftest.er1
>conftest.err
14733 cat conftest.err
>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; } &&
14742 { ac_try
='test -s conftest.$ac_objext'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14744 (eval $ac_try) 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; }; then
14748 ac_cv_c_inline
=$ac_kw; break
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.
$ac_ext >&5
14754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14758 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14759 echo "${ECHO_T}$ac_cv_c_inline" >&6
14762 case $ac_cv_c_inline in
14765 case $ac_cv_c_inline in
14767 *) ac_val
=$ac_cv_c_inline;;
14769 cat >>confdefs.h
<<_ACEOF
14770 #ifndef __cplusplus
14771 #define inline $ac_val
14777 echo "$as_me:$LINENO: checking for mode_t" >&5
14778 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
14779 if test "${ac_cv_type_mode_t+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 cat >conftest.
$ac_ext <<_ACEOF
14785 cat confdefs.h
>>conftest.
$ac_ext
14786 cat >>conftest.
$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 $ac_includes_default
14794 if (sizeof (mode_t))
14800 rm -f conftest.
$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>conftest.er1
14804 grep -v '^ *+' conftest.er1
>conftest.err
14806 cat conftest.err
>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try
='test -s conftest.$ac_objext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_cv_type_mode_t
=yes
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.
$ac_ext >&5
14826 ac_cv_type_mode_t
=no
14828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14830 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
14831 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
14832 if test $ac_cv_type_mode_t = yes; then
14834 cat >>confdefs.h
<<_ACEOF
14835 #define HAVE_MODE_T 1
14840 echo "$as_me:$LINENO: checking for off_t" >&5
14841 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14842 if test "${ac_cv_type_off_t+set}" = set; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 cat >conftest.
$ac_ext <<_ACEOF
14848 cat confdefs.h
>>conftest.
$ac_ext
14849 cat >>conftest.
$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14851 $ac_includes_default
14857 if (sizeof (off_t))
14863 rm -f conftest.
$ac_objext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>conftest.er1
14867 grep -v '^ *+' conftest.er1
>conftest.err
14869 cat conftest.err
>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; } &&
14878 { ac_try
='test -s conftest.$ac_objext'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; }; then
14884 ac_cv_type_off_t
=yes
14886 echo "$as_me: failed program was:" >&5
14887 sed 's/^/| /' conftest.
$ac_ext >&5
14889 ac_cv_type_off_t
=no
14891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14893 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14894 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14895 if test $ac_cv_type_off_t = yes; then
14897 cat >>confdefs.h
<<_ACEOF
14898 #define HAVE_OFF_T 1
14903 echo "$as_me:$LINENO: checking for pid_t" >&5
14904 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14905 if test "${ac_cv_type_pid_t+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 cat >conftest.
$ac_ext <<_ACEOF
14911 cat confdefs.h
>>conftest.
$ac_ext
14912 cat >>conftest.
$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14914 $ac_includes_default
14920 if (sizeof (pid_t))
14926 rm -f conftest.
$ac_objext
14927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14928 (eval $ac_compile) 2>conftest.er1
14930 grep -v '^ *+' conftest.er1
>conftest.err
14932 cat conftest.err
>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; } &&
14941 { ac_try
='test -s conftest.$ac_objext'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; }; then
14947 ac_cv_type_pid_t
=yes
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.
$ac_ext >&5
14952 ac_cv_type_pid_t
=no
14954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14956 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14957 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14958 if test $ac_cv_type_pid_t = yes; then
14960 cat >>confdefs.h
<<_ACEOF
14961 #define HAVE_PID_T 1
14966 echo "$as_me:$LINENO: checking for size_t" >&5
14967 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
14968 if test "${ac_cv_type_size_t+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 cat >conftest.
$ac_ext <<_ACEOF
14974 cat confdefs.h
>>conftest.
$ac_ext
14975 cat >>conftest.
$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14977 $ac_includes_default
14983 if (sizeof (size_t))
14989 rm -f conftest.
$ac_objext
14990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14991 (eval $ac_compile) 2>conftest.er1
14993 grep -v '^ *+' conftest.er1
>conftest.err
14995 cat conftest.err
>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } &&
14998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; } &&
15004 { ac_try
='test -s conftest.$ac_objext'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; }; then
15010 ac_cv_type_size_t
=yes
15012 echo "$as_me: failed program was:" >&5
15013 sed 's/^/| /' conftest.
$ac_ext >&5
15015 ac_cv_type_size_t
=no
15017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15019 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15020 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15021 if test $ac_cv_type_size_t = yes; then
15023 cat >>confdefs.h
<<_ACEOF
15024 #define HAVE_SIZE_T 1
15029 echo "$as_me:$LINENO: checking for ssize_t" >&5
15030 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15031 if test "${ac_cv_type_ssize_t+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15034 cat >conftest.
$ac_ext <<_ACEOF
15037 cat confdefs.h
>>conftest.
$ac_ext
15038 cat >>conftest.
$ac_ext <<_ACEOF
15039 /* end confdefs.h. */
15040 $ac_includes_default
15046 if (sizeof (ssize_t))
15052 rm -f conftest.
$ac_objext
15053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15054 (eval $ac_compile) 2>conftest.er1
15056 grep -v '^ *+' conftest.er1
>conftest.err
15058 cat conftest.err
>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } &&
15061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; } &&
15067 { ac_try
='test -s conftest.$ac_objext'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; }; then
15073 ac_cv_type_ssize_t
=yes
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.
$ac_ext >&5
15078 ac_cv_type_ssize_t
=no
15080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15082 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15083 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15084 if test $ac_cv_type_ssize_t = yes; then
15086 cat >>confdefs.h
<<_ACEOF
15087 #define HAVE_SSIZE_T 1
15092 echo "$as_me:$LINENO: checking for long long" >&5
15093 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15094 if test "${ac_cv_type_long_long+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15097 cat >conftest.
$ac_ext <<_ACEOF
15100 cat confdefs.h
>>conftest.
$ac_ext
15101 cat >>conftest.
$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 $ac_includes_default
15107 if ((long long *) 0)
15109 if (sizeof (long long))
15115 rm -f conftest.
$ac_objext
15116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15117 (eval $ac_compile) 2>conftest.er1
15119 grep -v '^ *+' conftest.er1
>conftest.err
15121 cat conftest.err
>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } &&
15124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try
='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_cv_type_long_long
=yes
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.
$ac_ext >&5
15141 ac_cv_type_long_long
=no
15143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15145 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15146 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15147 if test $ac_cv_type_long_long = yes; then
15149 cat >>confdefs.h
<<_ACEOF
15150 #define HAVE_LONG_LONG 1
15155 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
15156 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
15157 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 cat >conftest.
$ac_ext <<_ACEOF
15163 cat confdefs.h
>>conftest.
$ac_ext
15164 cat >>conftest.
$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166 $ac_includes_default
15170 if ((fsblkcnt_t *) 0)
15172 if (sizeof (fsblkcnt_t))
15178 rm -f conftest.
$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>conftest.er1
15182 grep -v '^ *+' conftest.er1
>conftest.err
15184 cat conftest.err
>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; } &&
15193 { ac_try
='test -s conftest.$ac_objext'
15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; }; then
15199 ac_cv_type_fsblkcnt_t
=yes
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.
$ac_ext >&5
15204 ac_cv_type_fsblkcnt_t
=no
15206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
15209 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
15210 if test $ac_cv_type_fsblkcnt_t = yes; then
15212 cat >>confdefs.h
<<_ACEOF
15213 #define HAVE_FSBLKCNT_T 1
15218 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
15219 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
15220 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 cat >conftest.
$ac_ext <<_ACEOF
15226 cat confdefs.h
>>conftest.
$ac_ext
15227 cat >>conftest.
$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15229 $ac_includes_default
15233 if ((fsfilcnt_t *) 0)
15235 if (sizeof (fsfilcnt_t))
15241 rm -f conftest.
$ac_objext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15243 (eval $ac_compile) 2>conftest.er1
15245 grep -v '^ *+' conftest.er1
>conftest.err
15247 cat conftest.err
>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } &&
15250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15252 (eval $ac_try) 2>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); }; } &&
15256 { ac_try
='test -s conftest.$ac_objext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 ac_cv_type_fsfilcnt_t
=yes
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.
$ac_ext >&5
15267 ac_cv_type_fsfilcnt_t
=no
15269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15271 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
15272 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
15273 if test $ac_cv_type_fsfilcnt_t = yes; then
15275 cat >>confdefs.h
<<_ACEOF
15276 #define HAVE_FSFILCNT_T 1
15282 echo "$as_me:$LINENO: checking for sigset_t" >&5
15283 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
15284 if test "${ac_cv_type_sigset_t+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 cat >conftest.
$ac_ext <<_ACEOF
15290 cat confdefs.h
>>conftest.
$ac_ext
15291 cat >>conftest.
$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15293 #include <signal.h>
15298 if ((sigset_t *) 0)
15300 if (sizeof (sigset_t))
15306 rm -f conftest.
$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15310 grep -v '^ *+' conftest.er1
>conftest.err
15312 cat conftest.err
>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try
='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_cv_type_sigset_t
=yes
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.
$ac_ext >&5
15332 ac_cv_type_sigset_t
=no
15334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15336 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
15337 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
15338 if test $ac_cv_type_sigset_t = yes; then
15340 cat >>confdefs.h
<<_ACEOF
15341 #define HAVE_SIGSET_T 1
15347 echo "$as_me:$LINENO: checking for request_sense" >&5
15348 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
15349 if test "${ac_cv_type_request_sense+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 cat >conftest.
$ac_ext <<_ACEOF
15355 cat confdefs.h
>>conftest.
$ac_ext
15356 cat >>conftest.
$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358 #include <linux/cdrom.h>
15363 if ((request_sense *) 0)
15365 if (sizeof (request_sense))
15371 rm -f conftest.
$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>conftest.er1
15375 grep -v '^ *+' conftest.er1
>conftest.err
15377 cat conftest.err
>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; } &&
15386 { ac_try
='test -s conftest.$ac_objext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15392 ac_cv_type_request_sense
=yes
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.
$ac_ext >&5
15397 ac_cv_type_request_sense
=no
15399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15401 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
15402 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
15403 if test $ac_cv_type_request_sense = yes; then
15405 cat >>confdefs.h
<<_ACEOF
15406 #define HAVE_REQUEST_SENSE 1
15413 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
15414 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
15415 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 cat >conftest.
$ac_ext <<_ACEOF
15421 cat confdefs.h
>>conftest.
$ac_ext
15422 cat >>conftest.
$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 #ifdef HAVE_LINUX_INPUT_H
15425 #include <linux/input.h>
15431 static struct ff_effect ac_aggr;
15432 if (ac_aggr.direction)
15438 rm -f conftest.
$ac_objext
15439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15440 (eval $ac_compile) 2>conftest.er1
15442 grep -v '^ *+' conftest.er1
>conftest.err
15444 cat conftest.err
>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } &&
15447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; } &&
15453 { ac_try
='test -s conftest.$ac_objext'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; }; then
15459 ac_cv_member_struct_ff_effect_direction
=yes
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.
$ac_ext >&5
15464 cat >conftest.
$ac_ext <<_ACEOF
15467 cat confdefs.h
>>conftest.
$ac_ext
15468 cat >>conftest.
$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470 #ifdef HAVE_LINUX_INPUT_H
15471 #include <linux/input.h>
15477 static struct ff_effect ac_aggr;
15478 if (sizeof ac_aggr.direction)
15484 rm -f conftest.
$ac_objext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 (eval $ac_compile) 2>conftest.er1
15488 grep -v '^ *+' conftest.er1
>conftest.err
15490 cat conftest.err
>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; } &&
15499 { ac_try
='test -s conftest.$ac_objext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15505 ac_cv_member_struct_ff_effect_direction
=yes
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.
$ac_ext >&5
15510 ac_cv_member_struct_ff_effect_direction
=no
15512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15516 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
15517 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
15518 if test $ac_cv_member_struct_ff_effect_direction = yes; then
15520 cat >>confdefs.h
<<_ACEOF
15521 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15528 echo "$as_me:$LINENO: checking for sigaddset" >&5
15529 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
15530 if test "${wine_cv_have_sigaddset+set}" = set; then
15531 echo $ECHO_N "(cached) $ECHO_C" >&6
15533 cat >conftest.
$ac_ext <<_ACEOF
15536 cat confdefs.h
>>conftest.
$ac_ext
15537 cat >>conftest.
$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15539 #include <signal.h>
15543 sigset_t set; sigaddset(&set,SIGTERM);
15548 rm -f conftest.
$ac_objext conftest
$ac_exeext
15549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15550 (eval $ac_link) 2>conftest.er1
15552 grep -v '^ *+' conftest.er1
>conftest.err
15554 cat conftest.err
>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); } &&
15557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; } &&
15563 { ac_try
='test -s conftest$ac_exeext'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15569 wine_cv_have_sigaddset
=yes
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.
$ac_ext >&5
15574 wine_cv_have_sigaddset
=no
15576 rm -f conftest.err conftest.
$ac_objext \
15577 conftest
$ac_exeext conftest.
$ac_ext
15579 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
15580 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
15581 if test "$wine_cv_have_sigaddset" = "yes"
15584 cat >>confdefs.h
<<\_ACEOF
15585 #define HAVE_SIGADDSET 1
15591 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15592 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
15593 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
15594 echo $ECHO_N "(cached) $ECHO_C" >&6
15596 cat >conftest.
$ac_ext <<_ACEOF
15599 cat confdefs.h
>>conftest.
$ac_ext
15600 cat >>conftest.
$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15611 struct hostent *result;
15618 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15619 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15625 rm -f conftest.
$ac_objext conftest
$ac_exeext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15627 (eval $ac_link) 2>conftest.er1
15629 grep -v '^ *+' conftest.er1
>conftest.err
15631 cat conftest.err
>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try
='test -s conftest$ac_exeext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 wine_cv_linux_gethostbyname_r_6
=yes
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.
$ac_ext >&5
15651 wine_cv_linux_gethostbyname_r_6
=no
15654 rm -f conftest.err conftest.
$ac_objext \
15655 conftest
$ac_exeext conftest.
$ac_ext
15658 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
15659 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
15660 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15663 cat >>confdefs.h
<<\_ACEOF
15664 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
15669 if test "$ac_cv_header_linux_joystick_h" = "yes"
15671 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15672 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
15673 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 cat >conftest.
$ac_ext <<_ACEOF
15679 cat confdefs.h
>>conftest.
$ac_ext
15680 cat >>conftest.
$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15683 #include <sys/ioctl.h>
15684 #include <linux/joystick.h>
15686 struct js_event blub;
15687 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15688 #error "no 2.2 header"
15699 rm -f conftest.
$ac_objext
15700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15701 (eval $ac_compile) 2>conftest.er1
15703 grep -v '^ *+' conftest.er1
>conftest.err
15705 cat conftest.err
>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } &&
15714 { ac_try
='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 wine_cv_linux_joystick_22_api
=yes
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.
$ac_ext >&5
15725 wine_cv_linux_joystick_22_api
=no
15727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15730 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
15731 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
15732 if test "$wine_cv_linux_joystick_22_api" = "yes"
15735 cat >>confdefs.h
<<\_ACEOF
15736 #define HAVE_LINUX_22_JOYSTICK_API 1
15743 if test "$ac_cv_header_sys_vfs_h" = "yes"
15745 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
15746 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
15747 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15750 cat >conftest.
$ac_ext <<_ACEOF
15753 cat confdefs.h
>>conftest.
$ac_ext
15754 cat >>conftest.
$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15757 #include <sys/types.h>
15758 #ifdef HAVE_SYS_PARAM_H
15759 # include <sys/param.h>
15761 #include <sys/vfs.h>
15767 struct statfs stfs;
15769 memset(&stfs,0,sizeof(stfs));
15775 rm -f conftest.
$ac_objext
15776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15777 (eval $ac_compile) 2>conftest.er1
15779 grep -v '^ *+' conftest.er1
>conftest.err
15781 cat conftest.err
>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try
='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 wine_cv_sys_vfs_has_statfs
=yes
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 wine_cv_sys_vfs_has_statfs
=no
15804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15807 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
15808 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
15809 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
15812 cat >>confdefs.h
<<\_ACEOF
15813 #define STATFS_DEFINED_BY_SYS_VFS 1
15819 if test "$ac_cv_header_sys_statfs_h" = "yes"
15821 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
15822 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
15823 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 cat >conftest.
$ac_ext <<_ACEOF
15829 cat confdefs.h
>>conftest.
$ac_ext
15830 cat >>conftest.
$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15833 #include <sys/types.h>
15834 #ifdef HAVE_SYS_PARAM_H
15835 # include <sys/param.h>
15837 #include <sys/statfs.h>
15843 struct statfs stfs;
15849 rm -f conftest.
$ac_objext
15850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>conftest.er1
15853 grep -v '^ *+' conftest.er1
>conftest.err
15855 cat conftest.err
>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; } &&
15864 { ac_try
='test -s conftest.$ac_objext'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; }; then
15870 wine_cv_sys_statfs_has_statfs
=yes
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.
$ac_ext >&5
15875 wine_cv_sys_statfs_has_statfs
=no
15878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15881 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
15882 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
15883 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
15886 cat >>confdefs.h
<<\_ACEOF
15887 #define STATFS_DEFINED_BY_SYS_STATFS 1
15893 if test "$ac_cv_header_sys_mount_h" = "yes"
15895 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
15896 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
15897 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
15898 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 cat >conftest.
$ac_ext <<_ACEOF
15903 cat confdefs.h
>>conftest.
$ac_ext
15904 cat >>conftest.
$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15907 #include <sys/types.h>
15908 #ifdef HAVE_SYS_PARAM_H
15909 # include <sys/param.h>
15911 #include <sys/mount.h>
15917 struct statfs stfs;
15923 rm -f conftest.
$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925 (eval $ac_compile) 2>conftest.er1
15927 grep -v '^ *+' conftest.er1
>conftest.err
15929 cat conftest.err
>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; } &&
15938 { ac_try
='test -s conftest.$ac_objext'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; }; then
15944 wine_cv_sys_mount_has_statfs
=yes
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.
$ac_ext >&5
15949 wine_cv_sys_mount_has_statfs
=no
15952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15955 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
15956 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
15957 if test "$wine_cv_sys_mount_has_statfs" = "yes"
15960 cat >>confdefs.h
<<\_ACEOF
15961 #define STATFS_DEFINED_BY_SYS_MOUNT 1
15968 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
15969 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
15970 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
15971 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 cat >conftest.
$ac_ext <<_ACEOF
15976 cat confdefs.h
>>conftest.
$ac_ext
15977 cat >>conftest.
$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 #include <sys/types.h>
15980 #ifdef HAVE_SYS_PARAM_H
15981 # include <sys/param.h>
15983 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15984 # include <sys/mount.h>
15986 # ifdef STATFS_DEFINED_BY_SYS_VFS
15987 # include <sys/vfs.h>
15989 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15990 # include <sys/statfs.h>
15998 static struct statfs ac_aggr;
15999 if (ac_aggr.f_bfree)
16005 rm -f conftest.
$ac_objext
16006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16007 (eval $ac_compile) 2>conftest.er1
16009 grep -v '^ *+' conftest.er1
>conftest.err
16011 cat conftest.err
>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try
='test -s conftest.$ac_objext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_cv_member_struct_statfs_f_bfree
=yes
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16031 cat >conftest.
$ac_ext <<_ACEOF
16034 cat confdefs.h
>>conftest.
$ac_ext
16035 cat >>conftest.
$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 #include <sys/types.h>
16038 #ifdef HAVE_SYS_PARAM_H
16039 # include <sys/param.h>
16041 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16042 # include <sys/mount.h>
16044 # ifdef STATFS_DEFINED_BY_SYS_VFS
16045 # include <sys/vfs.h>
16047 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16048 # include <sys/statfs.h>
16056 static struct statfs ac_aggr;
16057 if (sizeof ac_aggr.f_bfree)
16063 rm -f conftest.
$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16067 grep -v '^ *+' conftest.er1
>conftest.err
16069 cat conftest.err
>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try
='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_cv_member_struct_statfs_f_bfree
=yes
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.
$ac_ext >&5
16089 ac_cv_member_struct_statfs_f_bfree
=no
16091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16095 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
16096 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
16097 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
16099 cat >>confdefs.h
<<_ACEOF
16100 #define HAVE_STRUCT_STATFS_F_BFREE 1
16105 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
16106 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
16107 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 #include <sys/types.h>
16117 #ifdef HAVE_SYS_PARAM_H
16118 # include <sys/param.h>
16120 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16121 # include <sys/mount.h>
16123 # ifdef STATFS_DEFINED_BY_SYS_VFS
16124 # include <sys/vfs.h>
16126 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16127 # include <sys/statfs.h>
16135 static struct statfs ac_aggr;
16136 if (ac_aggr.f_bavail)
16142 rm -f conftest.
$ac_objext
16143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16144 (eval $ac_compile) 2>conftest.er1
16146 grep -v '^ *+' conftest.er1
>conftest.err
16148 cat conftest.err
>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } &&
16151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16153 (eval $ac_try) 2>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; } &&
16157 { ac_try
='test -s conftest.$ac_objext'
16158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16159 (eval $ac_try) 2>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }; }; then
16163 ac_cv_member_struct_statfs_f_bavail
=yes
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.
$ac_ext >&5
16168 cat >conftest.
$ac_ext <<_ACEOF
16171 cat confdefs.h
>>conftest.
$ac_ext
16172 cat >>conftest.
$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16174 #include <sys/types.h>
16175 #ifdef HAVE_SYS_PARAM_H
16176 # include <sys/param.h>
16178 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16179 # include <sys/mount.h>
16181 # ifdef STATFS_DEFINED_BY_SYS_VFS
16182 # include <sys/vfs.h>
16184 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16185 # include <sys/statfs.h>
16193 static struct statfs ac_aggr;
16194 if (sizeof ac_aggr.f_bavail)
16200 rm -f conftest.
$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>conftest.er1
16204 grep -v '^ *+' conftest.er1
>conftest.err
16206 cat conftest.err
>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; } &&
16215 { ac_try
='test -s conftest.$ac_objext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_cv_member_struct_statfs_f_bavail
=yes
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.
$ac_ext >&5
16226 ac_cv_member_struct_statfs_f_bavail
=no
16228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16232 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
16233 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
16234 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
16236 cat >>confdefs.h
<<_ACEOF
16237 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16242 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
16243 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
16244 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 cat >conftest.
$ac_ext <<_ACEOF
16250 cat confdefs.h
>>conftest.
$ac_ext
16251 cat >>conftest.
$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 #include <sys/types.h>
16254 #ifdef HAVE_SYS_PARAM_H
16255 # include <sys/param.h>
16257 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16258 # include <sys/mount.h>
16260 # ifdef STATFS_DEFINED_BY_SYS_VFS
16261 # include <sys/vfs.h>
16263 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16264 # include <sys/statfs.h>
16272 static struct statfs ac_aggr;
16273 if (ac_aggr.f_frsize)
16279 rm -f conftest.
$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16283 grep -v '^ *+' conftest.er1
>conftest.err
16285 cat conftest.err
>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try
='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 ac_cv_member_struct_statfs_f_frsize
=yes
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 cat >conftest.
$ac_ext <<_ACEOF
16308 cat confdefs.h
>>conftest.
$ac_ext
16309 cat >>conftest.
$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 #include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16315 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16316 # include <sys/mount.h>
16318 # ifdef STATFS_DEFINED_BY_SYS_VFS
16319 # include <sys/vfs.h>
16321 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16322 # include <sys/statfs.h>
16330 static struct statfs ac_aggr;
16331 if (sizeof ac_aggr.f_frsize)
16337 rm -f conftest.
$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>conftest.er1
16341 grep -v '^ *+' conftest.er1
>conftest.err
16343 cat conftest.err
>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try
='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_cv_member_struct_statfs_f_frsize
=yes
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 ac_cv_member_struct_statfs_f_frsize
=no
16365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16369 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
16370 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
16371 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
16373 cat >>confdefs.h
<<_ACEOF
16374 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16379 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
16380 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
16381 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 cat >conftest.
$ac_ext <<_ACEOF
16387 cat confdefs.h
>>conftest.
$ac_ext
16388 cat >>conftest.
$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 #include <sys/types.h>
16391 #ifdef HAVE_SYS_PARAM_H
16392 # include <sys/param.h>
16394 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16395 # include <sys/mount.h>
16397 # ifdef STATFS_DEFINED_BY_SYS_VFS
16398 # include <sys/vfs.h>
16400 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16401 # include <sys/statfs.h>
16409 static struct statfs ac_aggr;
16410 if (ac_aggr.f_ffree)
16416 rm -f conftest.
$ac_objext
16417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16418 (eval $ac_compile) 2>conftest.er1
16420 grep -v '^ *+' conftest.er1
>conftest.err
16422 cat conftest.err
>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; } &&
16431 { ac_try
='test -s conftest.$ac_objext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_cv_member_struct_statfs_f_ffree
=yes
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16442 cat >conftest.
$ac_ext <<_ACEOF
16445 cat confdefs.h
>>conftest.
$ac_ext
16446 cat >>conftest.
$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 #include <sys/types.h>
16449 #ifdef HAVE_SYS_PARAM_H
16450 # include <sys/param.h>
16452 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16453 # include <sys/mount.h>
16455 # ifdef STATFS_DEFINED_BY_SYS_VFS
16456 # include <sys/vfs.h>
16458 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16459 # include <sys/statfs.h>
16467 static struct statfs ac_aggr;
16468 if (sizeof ac_aggr.f_ffree)
16474 rm -f conftest.
$ac_objext
16475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16476 (eval $ac_compile) 2>conftest.er1
16478 grep -v '^ *+' conftest.er1
>conftest.err
16480 cat conftest.err
>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } &&
16483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; } &&
16489 { ac_try
='test -s conftest.$ac_objext'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; }; then
16495 ac_cv_member_struct_statfs_f_ffree
=yes
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.
$ac_ext >&5
16500 ac_cv_member_struct_statfs_f_ffree
=no
16502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16506 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
16507 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
16508 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
16510 cat >>confdefs.h
<<_ACEOF
16511 #define HAVE_STRUCT_STATFS_F_FFREE 1
16516 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
16517 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
16518 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 cat >conftest.
$ac_ext <<_ACEOF
16524 cat confdefs.h
>>conftest.
$ac_ext
16525 cat >>conftest.
$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <sys/types.h>
16528 #ifdef HAVE_SYS_PARAM_H
16529 # include <sys/param.h>
16531 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16532 # include <sys/mount.h>
16534 # ifdef STATFS_DEFINED_BY_SYS_VFS
16535 # include <sys/vfs.h>
16537 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16538 # include <sys/statfs.h>
16546 static struct statfs ac_aggr;
16547 if (ac_aggr.f_favail)
16553 rm -f conftest.
$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16557 grep -v '^ *+' conftest.er1
>conftest.err
16559 cat conftest.err
>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try
='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_cv_member_struct_statfs_f_favail
=yes
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 cat >conftest.
$ac_ext <<_ACEOF
16582 cat confdefs.h
>>conftest.
$ac_ext
16583 cat >>conftest.
$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 #include <sys/types.h>
16586 #ifdef HAVE_SYS_PARAM_H
16587 # include <sys/param.h>
16589 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16590 # include <sys/mount.h>
16592 # ifdef STATFS_DEFINED_BY_SYS_VFS
16593 # include <sys/vfs.h>
16595 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16596 # include <sys/statfs.h>
16604 static struct statfs ac_aggr;
16605 if (sizeof ac_aggr.f_favail)
16611 rm -f conftest.
$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>conftest.er1
16615 grep -v '^ *+' conftest.er1
>conftest.err
16617 cat conftest.err
>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; } &&
16626 { ac_try
='test -s conftest.$ac_objext'
16627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628 (eval $ac_try) 2>&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); }; }; then
16632 ac_cv_member_struct_statfs_f_favail
=yes
16634 echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.
$ac_ext >&5
16637 ac_cv_member_struct_statfs_f_favail
=no
16639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16643 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
16644 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
16645 if test $ac_cv_member_struct_statfs_f_favail = yes; then
16647 cat >>confdefs.h
<<_ACEOF
16648 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16653 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
16654 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
16655 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 cat >conftest.
$ac_ext <<_ACEOF
16661 cat confdefs.h
>>conftest.
$ac_ext
16662 cat >>conftest.
$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 #include <sys/types.h>
16665 #ifdef HAVE_SYS_PARAM_H
16666 # include <sys/param.h>
16668 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16669 # include <sys/mount.h>
16671 # ifdef STATFS_DEFINED_BY_SYS_VFS
16672 # include <sys/vfs.h>
16674 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16675 # include <sys/statfs.h>
16683 static struct statfs ac_aggr;
16684 if (ac_aggr.f_namelen)
16690 rm -f conftest.
$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692 (eval $ac_compile) 2>conftest.er1
16694 grep -v '^ *+' conftest.er1
>conftest.err
16696 cat conftest.err
>&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } &&
16699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; } &&
16705 { ac_try
='test -s conftest.$ac_objext'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; }; then
16711 ac_cv_member_struct_statfs_f_namelen
=yes
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.
$ac_ext >&5
16716 cat >conftest.
$ac_ext <<_ACEOF
16719 cat confdefs.h
>>conftest.
$ac_ext
16720 cat >>conftest.
$ac_ext <<_ACEOF
16721 /* end confdefs.h. */
16722 #include <sys/types.h>
16723 #ifdef HAVE_SYS_PARAM_H
16724 # include <sys/param.h>
16726 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16727 # include <sys/mount.h>
16729 # ifdef STATFS_DEFINED_BY_SYS_VFS
16730 # include <sys/vfs.h>
16732 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16733 # include <sys/statfs.h>
16741 static struct statfs ac_aggr;
16742 if (sizeof ac_aggr.f_namelen)
16748 rm -f conftest.
$ac_objext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16750 (eval $ac_compile) 2>conftest.er1
16752 grep -v '^ *+' conftest.er1
>conftest.err
16754 cat conftest.err
>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16759 (eval $ac_try) 2>&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); }; } &&
16763 { ac_try
='test -s conftest.$ac_objext'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; }; then
16769 ac_cv_member_struct_statfs_f_namelen
=yes
16771 echo "$as_me: failed program was:" >&5
16772 sed 's/^/| /' conftest.
$ac_ext >&5
16774 ac_cv_member_struct_statfs_f_namelen
=no
16776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16780 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
16781 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
16782 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
16784 cat >>confdefs.h
<<_ACEOF
16785 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16792 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
16793 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
16794 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 cat >conftest.
$ac_ext <<_ACEOF
16800 cat confdefs.h
>>conftest.
$ac_ext
16801 cat >>conftest.
$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 #ifdef HAVE_SYS_STATVFS_H
16804 #include <sys/statvfs.h>
16810 static struct statvfs ac_aggr;
16811 if (ac_aggr.f_blocks)
16817 rm -f conftest.
$ac_objext
16818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16819 (eval $ac_compile) 2>conftest.er1
16821 grep -v '^ *+' conftest.er1
>conftest.err
16823 cat conftest.err
>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } &&
16832 { ac_try
='test -s conftest.$ac_objext'
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; }; then
16838 ac_cv_member_struct_statvfs_f_blocks
=yes
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.
$ac_ext >&5
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #ifdef HAVE_SYS_STATVFS_H
16850 #include <sys/statvfs.h>
16856 static struct statvfs ac_aggr;
16857 if (sizeof ac_aggr.f_blocks)
16863 rm -f conftest.
$ac_objext
16864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16865 (eval $ac_compile) 2>conftest.er1
16867 grep -v '^ *+' conftest.er1
>conftest.err
16869 cat conftest.err
>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } &&
16872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try
='test -s conftest.$ac_objext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16884 ac_cv_member_struct_statvfs_f_blocks
=yes
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.
$ac_ext >&5
16889 ac_cv_member_struct_statvfs_f_blocks
=no
16891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16895 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
16896 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
16897 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
16899 cat >>confdefs.h
<<_ACEOF
16900 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16907 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
16908 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
16909 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
16910 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 cat >conftest.
$ac_ext <<_ACEOF
16915 cat confdefs.h
>>conftest.
$ac_ext
16916 cat >>conftest.
$ac_ext <<_ACEOF
16917 /* end confdefs.h. */
16918 #include <sys/types.h>
16919 #ifdef HAVE_SYS_SOCKET_H
16920 # include <sys/socket.h>
16922 #ifdef HAVE_SYS_UN_H
16923 # include <sys/un.h>
16929 static struct msghdr ac_aggr;
16930 if (ac_aggr.msg_accrights)
16936 rm -f conftest.
$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16940 grep -v '^ *+' conftest.er1
>conftest.err
16942 cat conftest.err
>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16947 (eval $ac_try) 2>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); }; } &&
16951 { ac_try
='test -s conftest.$ac_objext'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; }; then
16957 ac_cv_member_struct_msghdr_msg_accrights
=yes
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.
$ac_ext >&5
16962 cat >conftest.
$ac_ext <<_ACEOF
16965 cat confdefs.h
>>conftest.
$ac_ext
16966 cat >>conftest.
$ac_ext <<_ACEOF
16967 /* end confdefs.h. */
16968 #include <sys/types.h>
16969 #ifdef HAVE_SYS_SOCKET_H
16970 # include <sys/socket.h>
16972 #ifdef HAVE_SYS_UN_H
16973 # include <sys/un.h>
16979 static struct msghdr ac_aggr;
16980 if (sizeof ac_aggr.msg_accrights)
16986 rm -f conftest.
$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1
>conftest.err
16992 cat conftest.err
>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try
='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_member_struct_msghdr_msg_accrights
=yes
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17012 ac_cv_member_struct_msghdr_msg_accrights
=no
17014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17018 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
17019 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
17020 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
17022 cat >>confdefs.h
<<_ACEOF
17023 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17028 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
17029 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
17030 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17033 cat >conftest.
$ac_ext <<_ACEOF
17036 cat confdefs.h
>>conftest.
$ac_ext
17037 cat >>conftest.
$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 #include <sys/types.h>
17040 #ifdef HAVE_SYS_SOCKET_H
17041 # include <sys/socket.h>
17043 #ifdef HAVE_SYS_UN_H
17044 # include <sys/un.h>
17050 static struct sockaddr ac_aggr;
17051 if (ac_aggr.sa_len)
17057 rm -f conftest.
$ac_objext
17058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17059 (eval $ac_compile) 2>conftest.er1
17061 grep -v '^ *+' conftest.er1
>conftest.err
17063 cat conftest.err
>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } &&
17066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; } &&
17072 { ac_try
='test -s conftest.$ac_objext'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; }; then
17078 ac_cv_member_struct_sockaddr_sa_len
=yes
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.
$ac_ext >&5
17083 cat >conftest.
$ac_ext <<_ACEOF
17086 cat confdefs.h
>>conftest.
$ac_ext
17087 cat >>conftest.
$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <sys/types.h>
17090 #ifdef HAVE_SYS_SOCKET_H
17091 # include <sys/socket.h>
17093 #ifdef HAVE_SYS_UN_H
17094 # include <sys/un.h>
17100 static struct sockaddr ac_aggr;
17101 if (sizeof ac_aggr.sa_len)
17107 rm -f conftest.
$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17111 grep -v '^ *+' conftest.er1
>conftest.err
17113 cat conftest.err
>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; } &&
17122 { ac_try
='test -s conftest.$ac_objext'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; }; then
17128 ac_cv_member_struct_sockaddr_sa_len
=yes
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.
$ac_ext >&5
17133 ac_cv_member_struct_sockaddr_sa_len
=no
17135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17139 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
17140 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
17141 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
17143 cat >>confdefs.h
<<_ACEOF
17144 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17149 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
17150 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
17151 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 cat >conftest.
$ac_ext <<_ACEOF
17157 cat confdefs.h
>>conftest.
$ac_ext
17158 cat >>conftest.
$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160 #include <sys/types.h>
17161 #ifdef HAVE_SYS_SOCKET_H
17162 # include <sys/socket.h>
17164 #ifdef HAVE_SYS_UN_H
17165 # include <sys/un.h>
17171 static struct sockaddr_un ac_aggr;
17172 if (ac_aggr.sun_len)
17178 rm -f conftest.
$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17182 grep -v '^ *+' conftest.er1
>conftest.err
17184 cat conftest.err
>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; } &&
17193 { ac_try
='test -s conftest.$ac_objext'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; }; then
17199 ac_cv_member_struct_sockaddr_un_sun_len
=yes
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.
$ac_ext >&5
17204 cat >conftest.
$ac_ext <<_ACEOF
17207 cat confdefs.h
>>conftest.
$ac_ext
17208 cat >>conftest.
$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 #include <sys/types.h>
17211 #ifdef HAVE_SYS_SOCKET_H
17212 # include <sys/socket.h>
17214 #ifdef HAVE_SYS_UN_H
17215 # include <sys/un.h>
17221 static struct sockaddr_un ac_aggr;
17222 if (sizeof ac_aggr.sun_len)
17228 rm -f conftest.
$ac_objext
17229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17230 (eval $ac_compile) 2>conftest.er1
17232 grep -v '^ *+' conftest.er1
>conftest.err
17234 cat conftest.err
>&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } &&
17237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try
='test -s conftest.$ac_objext'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; }; then
17249 ac_cv_member_struct_sockaddr_un_sun_len
=yes
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.
$ac_ext >&5
17254 ac_cv_member_struct_sockaddr_un_sun_len
=no
17256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17260 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
17261 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
17262 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
17264 cat >>confdefs.h
<<_ACEOF
17265 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17272 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
17273 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
17274 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17277 cat >conftest.
$ac_ext <<_ACEOF
17280 cat confdefs.h
>>conftest.
$ac_ext
17281 cat >>conftest.
$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 #include <sys/types.h>
17284 #ifdef HAVE_SCSI_SG_H
17285 #include <scsi/sg.h>
17291 static scsireq_t ac_aggr;
17298 rm -f conftest.
$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17302 grep -v '^ *+' conftest.er1
>conftest.err
17304 cat conftest.err
>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; } &&
17313 { ac_try
='test -s conftest.$ac_objext'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; }; then
17319 ac_cv_member_scsireq_t_cmd
=yes
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.
$ac_ext >&5
17324 cat >conftest.
$ac_ext <<_ACEOF
17327 cat confdefs.h
>>conftest.
$ac_ext
17328 cat >>conftest.
$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17330 #include <sys/types.h>
17331 #ifdef HAVE_SCSI_SG_H
17332 #include <scsi/sg.h>
17338 static scsireq_t ac_aggr;
17339 if (sizeof ac_aggr.cmd)
17345 rm -f conftest.
$ac_objext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17347 (eval $ac_compile) 2>conftest.er1
17349 grep -v '^ *+' conftest.er1
>conftest.err
17351 cat conftest.err
>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } &&
17354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; } &&
17360 { ac_try
='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_cv_member_scsireq_t_cmd
=yes
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.
$ac_ext >&5
17371 ac_cv_member_scsireq_t_cmd
=no
17373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17377 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
17378 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
17379 if test $ac_cv_member_scsireq_t_cmd = yes; then
17381 cat >>confdefs.h
<<_ACEOF
17382 #define HAVE_SCSIREQ_T_CMD 1
17387 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
17388 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
17389 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 cat >conftest.
$ac_ext <<_ACEOF
17395 cat confdefs.h
>>conftest.
$ac_ext
17396 cat >>conftest.
$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 #include <sys/types.h>
17399 #ifdef HAVE_SCSI_SG_H
17400 #include <scsi/sg.h>
17406 static sg_io_hdr_t ac_aggr;
17407 if (ac_aggr.interface_id)
17413 rm -f conftest.
$ac_objext
17414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17415 (eval $ac_compile) 2>conftest.er1
17417 grep -v '^ *+' conftest.er1
>conftest.err
17419 cat conftest.err
>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; } &&
17428 { ac_try
='test -s conftest.$ac_objext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 ac_cv_member_sg_io_hdr_t_interface_id
=yes
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.
$ac_ext >&5
17439 cat >conftest.
$ac_ext <<_ACEOF
17442 cat confdefs.h
>>conftest.
$ac_ext
17443 cat >>conftest.
$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17445 #include <sys/types.h>
17446 #ifdef HAVE_SCSI_SG_H
17447 #include <scsi/sg.h>
17453 static sg_io_hdr_t ac_aggr;
17454 if (sizeof ac_aggr.interface_id)
17460 rm -f conftest.
$ac_objext
17461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17462 (eval $ac_compile) 2>conftest.er1
17464 grep -v '^ *+' conftest.er1
>conftest.err
17466 cat conftest.err
>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; } &&
17475 { ac_try
='test -s conftest.$ac_objext'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; }; then
17481 ac_cv_member_sg_io_hdr_t_interface_id
=yes
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.
$ac_ext >&5
17486 ac_cv_member_sg_io_hdr_t_interface_id
=no
17488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17492 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
17493 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
17494 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
17496 cat >>confdefs.h
<<_ACEOF
17497 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17504 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
17505 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
17506 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 cat >conftest.
$ac_ext <<_ACEOF
17512 cat confdefs.h
>>conftest.
$ac_ext
17513 cat >>conftest.
$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17515 #include <signal.h>
17520 static siginfo_t ac_aggr;
17527 rm -f conftest.
$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17531 grep -v '^ *+' conftest.er1
>conftest.err
17533 cat conftest.err
>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try
='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_cv_member_siginfo_t_si_fd
=yes
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17553 cat >conftest.
$ac_ext <<_ACEOF
17556 cat confdefs.h
>>conftest.
$ac_ext
17557 cat >>conftest.
$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17559 #include <signal.h>
17564 static siginfo_t ac_aggr;
17565 if (sizeof ac_aggr.si_fd)
17571 rm -f conftest.
$ac_objext
17572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17573 (eval $ac_compile) 2>conftest.er1
17575 grep -v '^ *+' conftest.er1
>conftest.err
17577 cat conftest.err
>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } &&
17580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; } &&
17586 { ac_try
='test -s conftest.$ac_objext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 ac_cv_member_siginfo_t_si_fd
=yes
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.
$ac_ext >&5
17597 ac_cv_member_siginfo_t_si_fd
=no
17599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17601 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17603 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
17604 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
17605 if test $ac_cv_member_siginfo_t_si_fd = yes; then
17607 cat >>confdefs.h
<<_ACEOF
17608 #define HAVE_SIGINFO_T_SI_FD 1
17615 echo "$as_me:$LINENO: checking for struct option.name" >&5
17616 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
17617 if test "${ac_cv_member_struct_option_name+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 cat >conftest.
$ac_ext <<_ACEOF
17623 cat confdefs.h
>>conftest.
$ac_ext
17624 cat >>conftest.
$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 #ifdef HAVE_GETOPT_H
17627 #include <getopt.h>
17633 static struct option ac_aggr;
17640 rm -f conftest.
$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642 (eval $ac_compile) 2>conftest.er1
17644 grep -v '^ *+' conftest.er1
>conftest.err
17646 cat conftest.err
>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } &&
17649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; } &&
17655 { ac_try
='test -s conftest.$ac_objext'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17661 ac_cv_member_struct_option_name
=yes
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.
$ac_ext >&5
17666 cat >conftest.
$ac_ext <<_ACEOF
17669 cat confdefs.h
>>conftest.
$ac_ext
17670 cat >>conftest.
$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17672 #ifdef HAVE_GETOPT_H
17673 #include <getopt.h>
17679 static struct option ac_aggr;
17680 if (sizeof ac_aggr.name)
17686 rm -f conftest.
$ac_objext
17687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17688 (eval $ac_compile) 2>conftest.er1
17690 grep -v '^ *+' conftest.er1
>conftest.err
17692 cat conftest.err
>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); } &&
17695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697 (eval $ac_try) 2>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; } &&
17701 { ac_try
='test -s conftest.$ac_objext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 ac_cv_member_struct_option_name
=yes
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.
$ac_ext >&5
17712 ac_cv_member_struct_option_name
=no
17714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17718 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
17719 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
17720 if test $ac_cv_member_struct_option_name = yes; then
17722 cat >>confdefs.h
<<_ACEOF
17723 #define HAVE_STRUCT_OPTION_NAME 1
17730 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17731 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17732 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 cat >conftest.
$ac_ext <<_ACEOF
17738 cat confdefs.h
>>conftest.
$ac_ext
17739 cat >>conftest.
$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 $ac_includes_default
17745 static struct stat ac_aggr;
17746 if (ac_aggr.st_blocks)
17752 rm -f conftest.
$ac_objext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17754 (eval $ac_compile) 2>conftest.er1
17756 grep -v '^ *+' conftest.er1
>conftest.err
17758 cat conftest.err
>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try
='test -s conftest.$ac_objext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 ac_cv_member_struct_stat_st_blocks
=yes
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.
$ac_ext >&5
17778 cat >conftest.
$ac_ext <<_ACEOF
17781 cat confdefs.h
>>conftest.
$ac_ext
17782 cat >>conftest.
$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 $ac_includes_default
17788 static struct stat ac_aggr;
17789 if (sizeof ac_aggr.st_blocks)
17795 rm -f conftest.
$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17799 grep -v '^ *+' conftest.er1
>conftest.err
17801 cat conftest.err
>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try
='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_cv_member_struct_stat_st_blocks
=yes
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.
$ac_ext >&5
17821 ac_cv_member_struct_stat_st_blocks
=no
17823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17827 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17828 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17829 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17831 cat >>confdefs.h
<<_ACEOF
17832 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17839 echo "$as_me:$LINENO: checking for timezone variable" >&5
17840 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
17841 if test "${ac_cv_have_timezone+set}" = set; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17859 rm -f conftest.
$ac_objext conftest
$ac_exeext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17861 (eval $ac_link) 2>conftest.er1
17863 grep -v '^ *+' conftest.er1
>conftest.err
17865 cat conftest.err
>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try
='test -s conftest$ac_exeext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 ac_cv_have_timezone
="yes"
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.
$ac_ext >&5
17885 ac_cv_have_timezone
="no"
17887 rm -f conftest.err conftest.
$ac_objext \
17888 conftest
$ac_exeext conftest.
$ac_ext
17890 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
17891 echo "${ECHO_T}$ac_cv_have_timezone" >&6
17892 if test "$ac_cv_have_timezone" = "yes"
17895 cat >>confdefs.h
<<\_ACEOF
17896 #define HAVE_TIMEZONE 1
17900 echo "$as_me:$LINENO: checking for daylight variable" >&5
17901 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
17902 if test "${ac_cv_have_daylight+set}" = set; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17905 cat >conftest.
$ac_ext <<_ACEOF
17908 cat confdefs.h
>>conftest.
$ac_ext
17909 cat >>conftest.
$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17920 rm -f conftest.
$ac_objext conftest
$ac_exeext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17922 (eval $ac_link) 2>conftest.er1
17924 grep -v '^ *+' conftest.er1
>conftest.err
17926 cat conftest.err
>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try
='test -s conftest$ac_exeext'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; }; then
17941 ac_cv_have_daylight
="yes"
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.
$ac_ext >&5
17946 ac_cv_have_daylight
="no"
17948 rm -f conftest.err conftest.
$ac_objext \
17949 conftest
$ac_exeext conftest.
$ac_ext
17951 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
17952 echo "${ECHO_T}$ac_cv_have_daylight" >&6
17953 if test "$ac_cv_have_daylight" = "yes"
17956 cat >>confdefs.h
<<\_ACEOF
17957 #define HAVE_DAYLIGHT 1
17964 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
17965 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
17966 if test "${ac_cv_cpp_def___i386__+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17969 cat >conftest.
$ac_ext <<_ACEOF
17972 cat confdefs.h
>>conftest.
$ac_ext
17973 cat >>conftest.
$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17980 $EGREP "yes" >/dev
/null
2>&1; then
17981 ac_cv_cpp_def___i386__
=yes
17983 ac_cv_cpp_def___i386__
=no
17988 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
17989 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
17990 if test $ac_cv_cpp_def___i386__ = yes; then
17991 CFLAGS
="$CFLAGS -D__i386__"
17992 LINTFLAGS
="$LINTFLAGS -D__i386__"
17995 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
17996 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
17997 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 cat >conftest.
$ac_ext <<_ACEOF
18003 cat confdefs.h
>>conftest.
$ac_ext
18004 cat >>conftest.
$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18011 $EGREP "yes" >/dev
/null
2>&1; then
18012 ac_cv_cpp_def___ALPHA__
=yes
18014 ac_cv_cpp_def___ALPHA__
=no
18019 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
18020 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
18021 if test $ac_cv_cpp_def___ALPHA__ = yes; then
18022 CFLAGS
="$CFLAGS -D__ALPHA__"
18023 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
18026 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
18027 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
18028 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 cat >conftest.
$ac_ext <<_ACEOF
18034 cat confdefs.h
>>conftest.
$ac_ext
18035 cat >>conftest.
$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18042 $EGREP "yes" >/dev
/null
2>&1; then
18043 ac_cv_cpp_def___sparc__
=yes
18045 ac_cv_cpp_def___sparc__
=no
18050 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
18051 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
18052 if test $ac_cv_cpp_def___sparc__ = yes; then
18053 CFLAGS
="$CFLAGS -D__sparc__"
18054 LINTFLAGS
="$LINTFLAGS -D__sparc__"
18057 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
18058 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
18059 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18062 cat >conftest.
$ac_ext <<_ACEOF
18065 cat confdefs.h
>>conftest.
$ac_ext
18066 cat >>conftest.
$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068 #ifndef __powerpc__
18072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18073 $EGREP "yes" >/dev
/null
2>&1; then
18074 ac_cv_cpp_def___powerpc__
=yes
18076 ac_cv_cpp_def___powerpc__
=no
18081 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
18082 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
18083 if test $ac_cv_cpp_def___powerpc__ = yes; then
18084 CFLAGS
="$CFLAGS -D__powerpc__"
18085 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
18090 case $host_vendor in
18091 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
18092 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
18093 if test "${ac_cv_cpp_def___sun__+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. */
18106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18107 $EGREP "yes" >/dev
/null
2>&1; then
18108 ac_cv_cpp_def___sun__
=yes
18110 ac_cv_cpp_def___sun__
=no
18115 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
18116 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
18117 if test $ac_cv_cpp_def___sun__ = yes; then
18118 CFLAGS
="$CFLAGS -D__sun__"
18119 LINTFLAGS
="$LINTFLAGS -D__sun__"
18128 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
18130 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
18132 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
18134 ac_config_commands
="$ac_config_commands dlls/user/resources"
18136 ac_config_commands
="$ac_config_commands dlls/wineps/data"
18138 ac_config_commands
="$ac_config_commands include/wine"
18141 MAKE_RULES
=Make.rules
18144 MAKE_DLL_RULES
=dlls
/Makedll.rules
18147 MAKE_TEST_RULES
=dlls
/Maketest.rules
18150 MAKE_LIB_RULES
=libs
/Makelib.rules
18153 MAKE_PROG_RULES
=programs
/Makeprog.rules
18156 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/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/midimap/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/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/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/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/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/secur32/tests/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/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/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/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/wldap32/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/hh/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"
18159 cat >confcache
<<\_ACEOF
18160 # This file is a shell script that caches the results of configure
18161 # tests run on this system so they can be shared between configure
18162 # scripts and configure runs, see configure's option --config-cache.
18163 # It is not useful on other systems. If it contains results you don't
18164 # want to keep, you may remove or edit it.
18166 # config.status only pays attention to the cache file if you give it
18167 # the --recheck option to rerun configure.
18169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18171 # following values.
18175 # The following way of writing the cache mishandles newlines in values,
18176 # but we know of no workaround that is simple, portable, and efficient.
18177 # So, don't put newlines in cache variables' values.
18178 # Ultrix sh set writes to stderr and can't be redirected directly,
18179 # and sets the high bit in the cache file unless we assign to the vars.
18182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18184 # `set' does not quote correctly, so add quotes (double-quote
18185 # substitution turns \\\\ into \\, and sed turns \\ into \).
18188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18191 # `set' quotes correctly as required by POSIX, so do not add quotes.
18193 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18202 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18204 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18205 if test -w $cache_file; then
18206 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18207 cat confcache
>$cache_file
18209 echo "not updating unwritable cache $cache_file"
18214 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18215 # Let make expand exec_prefix.
18216 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18218 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18219 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18220 # trailing colons and then remove the whole line if VPATH becomes empty
18221 # (actually we leave an empty line to preserve line numbers).
18222 if test "x$srcdir" = x.
; then
18223 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
18224 s/:*\$(srcdir):*/:/;
18225 s/:*\${srcdir}:*/:/;
18227 s/^\([^=]*=[ ]*\):*/\1/;
18233 DEFS
=-DHAVE_CONFIG_H
18237 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18238 # 1. Remove the extension, and $U if already installed.
18239 ac_i
=`echo "$ac_i" |
18240 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18242 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
18243 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
18245 LIBOBJS
=$ac_libobjs
18247 LTLIBOBJS
=$ac_ltlibobjs
18251 : ${CONFIG_STATUS=./config.status}
18252 ac_clean_files_save
=$ac_clean_files
18253 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18254 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18255 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18256 cat >$CONFIG_STATUS <<_ACEOF
18258 # Generated by $as_me.
18259 # Run this file to recreate the current configuration.
18260 # Compiler output produced by configure, useful for debugging
18261 # configure, is in config.log if it exists.
18264 ac_cs_recheck=false
18266 SHELL=\${CONFIG_SHELL-$SHELL}
18269 cat >>$CONFIG_STATUS <<\_ACEOF
18270 ## --------------------- ##
18271 ## M4sh Initialization. ##
18272 ## --------------------- ##
18274 # Be Bourne compatible
18275 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18278 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18279 # is contrary to our usage. Disable this feature.
18280 alias -g '${1+"$@"}'='"$@"'
18281 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
18284 DUALCASE
=1; export DUALCASE
# for MKS sh
18286 # Support unset when possible.
18287 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
18294 # Work around bugs in pre-3.0 UWIN ksh.
18295 $as_unset ENV MAIL MAILPATH
18302 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18303 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18304 LC_TELEPHONE LC_TIME
18306 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18307 eval $as_var=C
; export $as_var
18313 # Required to use basename.
18314 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18320 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
18321 as_basename
=basename
18327 # Name of the executable.
18328 as_me
=`$as_basename "$0" ||
18329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18330 X"$0" : 'X\(//\)$' \| \
18331 X"$0" : 'X\(/\)$' \| \
18332 . : '\(.\)' 2>/dev/null ||
18334 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18335 /^X\/\(\/\/\)$/{ s//\1/; q; }
18336 /^X\/\(\/\).*/{ s//\1/; q; }
18340 # PATH needs CR, and LINENO needs CR and PATH.
18341 # Avoid depending upon Character Ranges.
18342 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18343 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18344 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18345 as_cr_digits
='0123456789'
18346 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18348 # The user is always right.
18349 if test "${PATH_SEPARATOR+set}" != set; then
18350 echo "#! /bin/sh" >conf$$.sh
18351 echo "exit 0" >>conf$$.sh
18353 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
18362 as_lineno_1
=$LINENO
18363 as_lineno_2
=$LINENO
18364 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
18365 test "x$as_lineno_1" != "x$as_lineno_2" &&
18366 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
18367 # Find who we are. Look in the path if we contain no path at all
18370 *[\\/]* ) as_myself
=$0 ;;
18371 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18372 for as_dir
in $PATH
18375 test -z "$as_dir" && as_dir
=.
18376 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
18381 # We did not find ourselves, most probably we were run as `sh COMMAND'
18382 # in which case we are not to be found in the path.
18383 if test "x$as_myself" = x
; then
18386 if test ! -f "$as_myself"; then
18387 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18388 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18389 { (exit 1); exit 1; }; }
18391 case $CONFIG_SHELL in
18393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18394 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
18397 test -z "$as_dir" && as_dir
=.
18398 for as_base
in sh bash ksh sh5
; do
18401 if ("$as_dir/$as_base" -c '
18402 as_lineno_1=$LINENO
18403 as_lineno_2=$LINENO
18404 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18405 test "x$as_lineno_1" != "x$as_lineno_2" &&
18406 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
18407 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
18408 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
18409 CONFIG_SHELL
=$as_dir/$as_base
18410 export CONFIG_SHELL
18411 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18420 # uniformly replaced by the line number. The first 'sed' inserts a
18421 # line-number line before each line; the second 'sed' does the real
18422 # work. The second script uses 'N' to pair each line-number line
18423 # with the numbered line, and appends trailing '-' during
18424 # substitution so that $LINENO is not a special case at line end.
18425 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18426 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18427 sed '=' <$as_myself |
18432 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18435 s,^['$as_cr_digits']*\n,,
18436 ' >$as_me.lineno
&&
18437 chmod +x
$as_me.lineno ||
18438 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18439 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18440 { (exit 1); exit 1; }; }
18442 # Don't try to exec as it changes $[0], causing all sort of problems
18443 # (the dirname of $[0] is not the place where we might find the
18444 # original and so on. Autoconf is especially sensible to this).
18446 # Exit status is that of the last command.
18451 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18452 *c
*,-n*) ECHO_N
= ECHO_C
='
18454 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
18455 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
18458 if expr a
: '\(a\)' >/dev
/null
2>&1; then
18464 rm -f conf$$ conf$$.exe conf$$.
file
18466 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18467 # We could just check for DJGPP; but this test a) works b) is more generic
18468 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18469 if test -f conf$$.exe
; then
18470 # Don't use ln at all; we don't have any links
18475 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18480 rm -f conf$$ conf$$.exe conf$$.
file
18482 if mkdir
-p .
2>/dev
/null
; then
18485 test -d .
/-p && rmdir .
/-p
18489 as_executable_p
="test -f"
18491 # Sed expression to map a string onto a valid CPP name.
18492 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18494 # Sed expression to map a string onto a valid variable name.
18495 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18499 # We need space, tab and new line, in precisely that order.
18509 # Open the log real soon, to keep \$[0] and so on meaningful, and to
18510 # report actual input values of CONFIG_FILES etc. instead of their
18511 # values after options handling. Logging --version etc. is OK.
18515 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18516 ## Running $as_me. ##
18521 This file was extended by Wine $as_me 20050725, which was
18522 generated by GNU Autoconf 2.59. Invocation command line was
18524 CONFIG_FILES = $CONFIG_FILES
18525 CONFIG_HEADERS = $CONFIG_HEADERS
18526 CONFIG_LINKS = $CONFIG_LINKS
18527 CONFIG_COMMANDS = $CONFIG_COMMANDS
18531 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18535 # Files that config.status was made for.
18536 if test -n "$ac_config_files"; then
18537 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18540 if test -n "$ac_config_headers"; then
18541 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18544 if test -n "$ac_config_links"; then
18545 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18548 if test -n "$ac_config_commands"; then
18549 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18552 cat >>$CONFIG_STATUS <<\_ACEOF
18555 \`$as_me' instantiates files from templates according to the
18556 current configuration.
18558 Usage: $0 [OPTIONS] [FILE]...
18560 -h, --help print this help, then exit
18561 -V, --version print version number, then exit
18562 -q, --quiet do not print progress messages
18563 -d, --debug don't remove temporary files
18564 --recheck update $as_me by reconfiguring in the same conditions
18565 --file=FILE[:TEMPLATE]
18566 instantiate the configuration file FILE
18567 --header=FILE[:TEMPLATE]
18568 instantiate the configuration header FILE
18570 Configuration files:
18573 Configuration headers:
18576 Configuration commands:
18579 Report bugs to <bug-autoconf@gnu.org>."
18582 cat >>$CONFIG_STATUS <<_ACEOF
18584 Wine config.status 20050725
18585 configured by $0, generated by GNU Autoconf 2.59,
18586 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18588 Copyright (C) 2003 Free Software Foundation, Inc.
18589 This config.status script is free software; the Free Software Foundation
18590 gives unlimited permission to copy, distribute and modify it."
18595 cat >>$CONFIG_STATUS <<\_ACEOF
18596 # If no file are specified by the user, then we need to provide default
18597 # value. By we need to know if files were specified by the user.
18603 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
18604 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
18612 *) # This is not an option, so the user has probably given explicit
18615 ac_need_defaults
=false
;;
18619 # Handling of the options.
18621 cat >>$CONFIG_STATUS <<\_ACEOF
18622 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18624 --version |
--vers* |
-V )
18625 echo "$ac_cs_version"; exit 0 ;;
18627 # Conflict between --help and --header
18628 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18629 Try \`$0 --help' for more information." >&5
18630 echo "$as_me: error: ambiguous option: $1
18631 Try \`$0 --help' for more information." >&2;}
18632 { (exit 1); exit 1; }; };;
18633 --help |
--hel |
-h )
18634 echo "$ac_cs_usage"; exit 0 ;;
18635 --debug |
--d* |
-d )
18637 --file |
--fil |
--fi |
--f )
18639 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
18640 ac_need_defaults
=false
;;
18641 --header |
--heade |
--head |
--hea )
18643 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
18644 ac_need_defaults
=false
;;
18645 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18646 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18649 # This is an error.
18650 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18651 Try \`$0 --help' for more information." >&5
18652 echo "$as_me: error: unrecognized option: $1
18653 Try \`$0 --help' for more information." >&2;}
18654 { (exit 1); exit 1; }; } ;;
18656 *) ac_config_targets
="$ac_config_targets $1" ;;
18662 ac_configure_extra_args
=
18664 if $ac_cs_silent; then
18666 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18670 cat >>$CONFIG_STATUS <<_ACEOF
18671 if \$ac_cs_recheck; then
18672 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18673 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18682 cat >>$CONFIG_STATUS <<\_ACEOF
18683 for ac_config_target
in $ac_config_targets
18685 case "$ac_config_target" in
18686 # Handling of arguments.
18687 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18688 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
18689 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
18690 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
18691 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
18692 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
18693 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
18694 "dlls/activeds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
18695 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
18696 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
18697 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
18698 "dlls/advpack/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
18699 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
18700 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
18701 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
18702 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
18703 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
18704 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
18705 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
18706 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
18707 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
18708 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
18709 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
18710 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
18711 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
18712 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
18713 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
18714 "dlls/cryptdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
18715 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
18716 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
18717 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
18718 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
18719 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
18720 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
18721 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
18722 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
18723 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
18724 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
18725 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
18726 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
18727 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
18728 "dlls/dinput/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
18729 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
18730 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
18731 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
18732 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
18733 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
18734 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
18735 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
18736 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
18737 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
18738 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
18739 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
18740 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
18741 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
18742 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
18743 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
18744 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
18745 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
18746 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
18747 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
18748 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
18749 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
18750 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
18751 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
18752 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
18753 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
18754 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
18755 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
18756 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
18757 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
18758 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
18759 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
18760 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
18761 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
18762 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
18763 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
18764 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
18765 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
18766 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
18767 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
18768 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
18769 "dlls/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
18770 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
18771 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
18772 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
18773 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
18774 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
18775 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
18776 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
18777 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
18778 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
18779 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
18780 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
18781 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
18782 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
18783 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
18784 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
18785 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
18786 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
18787 "dlls/msi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
18788 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
18789 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
18790 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
18791 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
18792 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
18793 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
18794 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
18795 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
18796 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
18797 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
18798 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
18799 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
18800 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
18801 "dlls/msxml3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
18802 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
18803 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
18804 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
18805 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
18806 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
18807 "dlls/objsel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
18808 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
18809 "dlls/odbccp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
18810 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
18811 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
18812 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
18813 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
18814 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
18815 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
18816 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
18817 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
18818 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
18819 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
18820 "dlls/powrprof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
18821 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
18822 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
18823 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
18824 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
18825 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
18826 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
18827 "dlls/riched20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
18828 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
18829 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
18830 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
18831 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
18832 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
18833 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
18834 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
18835 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
18836 "dlls/secur32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
18837 "dlls/sensapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
18838 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
18839 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
18840 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
18841 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
18842 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
18843 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
18844 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
18845 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
18846 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
18847 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
18848 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
18849 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
18850 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
18851 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
18852 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
18853 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
18854 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
18855 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
18856 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
18857 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
18858 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
18859 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
18860 "dlls/usp10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
18861 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
18862 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
18863 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
18864 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
18865 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
18866 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
18867 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
18868 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
18869 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
18870 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
18871 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
18872 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
18873 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
18874 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
18875 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
18876 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
18877 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
18878 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
18879 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
18880 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
18881 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
18882 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
18883 "dlls/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
18884 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
18885 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
18886 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
18887 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
18888 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
18889 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
18890 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
18891 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
18892 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
18893 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
18894 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
18895 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
18896 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
18897 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
18898 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
18899 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
18900 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
18901 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
18902 "dlls/wldap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
18903 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
18904 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
18905 "dlls/wtsapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
18906 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
18907 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
18908 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
18909 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
18910 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
18911 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
18912 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
18913 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
18914 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
18915 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
18916 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
18917 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
18918 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
18919 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
18920 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
18921 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
18922 "programs/hh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
18923 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
18924 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
18925 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
18926 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
18927 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
18928 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
18929 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
18930 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
18931 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
18932 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
18933 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
18934 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
18935 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
18936 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
18937 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
18938 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
18939 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
18940 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
18941 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
18942 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
18943 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
18944 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
18945 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
18946 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
18947 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
18948 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
18949 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
18950 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
18951 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
18952 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
18953 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
18954 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
18955 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
18956 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
18957 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
18958 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
18959 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
18960 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
18961 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
18962 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18963 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18964 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18965 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18966 { (exit 1); exit 1; }; };;
18970 # If the user did not use the arguments to specify the items to instantiate,
18971 # then the envvar interface is used. Set only those that are not.
18972 # We use the long form for the default assignment because of an extremely
18973 # bizarre bug on SunOS 4.1.3.
18974 if $ac_need_defaults; then
18975 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18976 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18977 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18980 # Have a temporary directory for convenience. Make it in the build tree
18981 # simply because there is no reason to put it here, and in addition,
18982 # creating and moving files from /tmp can sometimes cause problems.
18983 # Create a temporary directory, and hook for its removal unless debugging.
18986 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18987 trap '{ (exit 1); exit 1; }' 1 2 13 15
18990 # Create a (secure) tmp directory for tmp files.
18993 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18994 test -n "$tmp" && test -d "$tmp"
18997 tmp
=.
/confstat$$
-$RANDOM
18998 (umask 077 && mkdir
$tmp)
19001 echo "$me: cannot create a temporary directory in ." >&2
19002 { (exit 1); exit 1; }
19007 cat >>$CONFIG_STATUS <<_ACEOF
19010 # CONFIG_FILES section.
19013 # No need to generate the scripts if there are no CONFIG_FILES.
19014 # This happens for instance when ./config.status config.h
19015 if test -n "\$CONFIG_FILES"; then
19016 # Protect against being on the right side of a sed subst in config.status.
19017 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19018 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19019 s,@SHELL@,$SHELL,;t t
19020 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19021 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19022 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19023 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19024 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19025 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19026 s,@exec_prefix@,$exec_prefix,;t t
19027 s,@prefix@,$prefix,;t t
19028 s,@program_transform_name@,$program_transform_name,;t t
19029 s,@bindir@,$bindir,;t t
19030 s,@sbindir@,$sbindir,;t t
19031 s,@libexecdir@,$libexecdir,;t t
19032 s,@datadir@,$datadir,;t t
19033 s,@sysconfdir@,$sysconfdir,;t t
19034 s,@sharedstatedir@,$sharedstatedir,;t t
19035 s,@localstatedir@,$localstatedir,;t t
19036 s,@libdir@,$libdir,;t t
19037 s,@includedir@,$includedir,;t t
19038 s,@oldincludedir@,$oldincludedir,;t t
19039 s,@infodir@,$infodir,;t t
19040 s,@mandir@,$mandir,;t t
19041 s,@build_alias@,$build_alias,;t t
19042 s,@host_alias@,$host_alias,;t t
19043 s,@target_alias@,$target_alias,;t t
19044 s,@DEFS@,$DEFS,;t t
19045 s,@ECHO_C@,$ECHO_C,;t t
19046 s,@ECHO_N@,$ECHO_N,;t t
19047 s,@ECHO_T@,$ECHO_T,;t t
19048 s,@LIBS@,$LIBS,;t t
19049 s,@DLLDEFS@,$DLLDEFS,;t t
19050 s,@build@,$build,;t t
19051 s,@build_cpu@,$build_cpu,;t t
19052 s,@build_vendor@,$build_vendor,;t t
19053 s,@build_os@,$build_os,;t t
19054 s,@host@,$host,;t t
19055 s,@host_cpu@,$host_cpu,;t t
19056 s,@host_vendor@,$host_vendor,;t t
19057 s,@host_os@,$host_os,;t t
19058 s,@WIN16_FILES@,$WIN16_FILES,;t t
19059 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
19060 s,@SET_MAKE@,$SET_MAKE,;t t
19062 s,@CFLAGS@,$CFLAGS,;t t
19063 s,@LDFLAGS@,$LDFLAGS,;t t
19064 s,@CPPFLAGS@,$CPPFLAGS,;t t
19065 s,@ac_ct_CC@,$ac_ct_CC,;t t
19066 s,@EXEEXT@,$EXEEXT,;t t
19067 s,@OBJEXT@,$OBJEXT,;t t
19069 s,@CXXFLAGS@,$CXXFLAGS,;t t
19070 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19071 s,@CPPBIN@,$CPPBIN,;t t
19072 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
19073 s,@TOOLSDIR@,$TOOLSDIR,;t t
19075 s,@X_CFLAGS@,$X_CFLAGS,;t t
19076 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19077 s,@X_LIBS@,$X_LIBS,;t t
19078 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19080 s,@LEXLIB@,$LEXLIB,;t t
19081 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
19082 s,@XLEX@,$XLEX,;t t
19083 s,@BISON@,$BISON,;t t
19085 s,@ac_ct_AS@,$ac_ct_AS,;t t
19087 s,@ac_ct_LD@,$ac_ct_LD,;t t
19089 s,@ac_ct_AR@,$ac_ct_AR,;t t
19090 s,@RANLIB@,$RANLIB,;t t
19091 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19092 s,@STRIP@,$STRIP,;t t
19093 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19094 s,@WINDRES@,$WINDRES,;t t
19095 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
19096 s,@LN_S@,$LN_S,;t t
19098 s,@EGREP@,$EGREP,;t t
19099 s,@LDCONFIG@,$LDCONFIG,;t t
19100 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19101 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19102 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19103 s,@LINT@,$LINT,;t t
19104 s,@LINTFLAGS@,$LINTFLAGS,;t t
19105 s,@FONTFORGE@,$FONTFORGE,;t t
19106 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19107 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
19108 s,@XLIB@,$XLIB,;t t
19109 s,@XFILES@,$XFILES,;t t
19110 s,@OPENGLFILES@,$OPENGLFILES,;t t
19111 s,@GLU32FILES@,$GLU32FILES,;t t
19112 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
19113 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
19114 s,@GLUT32FILES@,$GLUT32FILES,;t t
19115 s,@NASLIBS@,$NASLIBS,;t t
19116 s,@XML2LIBS@,$XML2LIBS,;t t
19117 s,@XML2INCL@,$XML2INCL,;t t
19118 s,@CURSESLIBS@,$CURSESLIBS,;t t
19119 s,@sane_devel@,$sane_devel,;t t
19120 s,@SANELIBS@,$SANELIBS,;t t
19121 s,@SANEINCL@,$SANEINCL,;t t
19122 s,@ICULIBS@,$ICULIBS,;t t
19123 s,@LCMSLIBS@,$LCMSLIBS,;t t
19124 s,@LDAPLIBS@,$LDAPLIBS,;t t
19125 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
19126 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
19127 s,@ft_devel@,$ft_devel,;t t
19128 s,@ft_devel2@,$ft_devel2,;t t
19129 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
19130 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
19131 s,@ARTSLIBS@,$ARTSLIBS,;t t
19132 s,@ARTSINCL@,$ARTSINCL,;t t
19133 s,@ESDCONFIG@,$ESDCONFIG,;t t
19134 s,@ESDLIBS@,$ESDLIBS,;t t
19135 s,@ESDINCL@,$ESDINCL,;t t
19136 s,@ALSALIBS@,$ALSALIBS,;t t
19137 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
19138 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
19139 s,@DLLEXT@,$DLLEXT,;t t
19140 s,@DLLFLAGS@,$DLLFLAGS,;t t
19141 s,@DLLIBS@,$DLLIBS,;t t
19142 s,@LDSHARED@,$LDSHARED,;t t
19143 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
19144 s,@LIBEXT@,$LIBEXT,;t t
19145 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
19146 s,@DLLTOOL@,$DLLTOOL,;t t
19147 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
19148 s,@DLLWRAP@,$DLLWRAP,;t t
19149 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
19150 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
19151 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
19152 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
19153 s,@IOKITLIB@,$IOKITLIB,;t t
19154 s,@CROSSTEST@,$CROSSTEST,;t t
19155 s,@CROSSCC@,$CROSSCC,;t t
19156 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
19157 s,@LDPATH@,$LDPATH,;t t
19158 s,@CRTLIBS@,$CRTLIBS,;t t
19159 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
19160 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
19161 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
19163 s,@LIBOBJS@,$LIBOBJS,;t t
19164 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19165 /@MAKE_RULES@/r $MAKE_RULES
19166 s,@MAKE_RULES@,,;t t
19167 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
19168 s,@MAKE_DLL_RULES@,,;t t
19169 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
19170 s,@MAKE_TEST_RULES@,,;t t
19171 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
19172 s,@MAKE_LIB_RULES@,,;t t
19173 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
19174 s,@MAKE_PROG_RULES@,,;t t
19179 cat >>$CONFIG_STATUS <<\_ACEOF
19180 # Split the substitutions into bite-sized pieces for seds with
19181 # small command number limits, like on Digital OSF/1 and HP-UX.
19182 ac_max_sed_lines
=48
19183 ac_sed_frag
=1 # Number of current file.
19184 ac_beg
=1 # First line for current file.
19185 ac_end
=$ac_max_sed_lines # Line after last line for current file.
19188 while $ac_more_lines; do
19189 if test $ac_beg -gt 1; then
19190 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19192 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19194 if test ! -s $tmp/subs.frag
; then
19195 ac_more_lines
=false
19197 # The purpose of the label and of the branching condition is to
19198 # speed up the sed processing (if there are no `@' at all, there
19199 # is no need to browse any of the substitutions).
19200 # These are the two extra sed commands mentioned above.
19202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
19203 if test -z "$ac_sed_cmds"; then
19204 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
19206 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19208 ac_sed_frag
=`expr $ac_sed_frag + 1`
19210 ac_end
=`expr $ac_end + $ac_max_sed_lines`
19213 if test -z "$ac_sed_cmds"; then
19216 fi # test -n "$CONFIG_FILES"
19219 cat >>$CONFIG_STATUS <<\_ACEOF
19220 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
19221 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19223 - |
*:- |
*:-:* ) # input from stdin
19225 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19226 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19227 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19228 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19229 * ) ac_file_in
=$ac_file.
in ;;
19232 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19233 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19235 X"$ac_file" : 'X\(//\)[^/]' \| \
19236 X"$ac_file" : 'X\(//\)$' \| \
19237 X"$ac_file" : 'X\(/\)' \| \
19238 . : '\(.\)' 2>/dev/null ||
19240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19242 /^X\(\/\/\)$/{ s//\1/; q; }
19243 /^X\(\/\).*/{ s//\1/; q; }
19245 { if $as_mkdir_p; then
19250 while test ! -d "$as_dir"; do
19251 as_dirs
="$as_dir $as_dirs"
19252 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19254 X"$as_dir" : 'X\(//\)[^/]' \| \
19255 X"$as_dir" : 'X\(//\)$' \| \
19256 X"$as_dir" : 'X\(/\)' \| \
19257 . : '\(.\)' 2>/dev/null ||
19259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19261 /^X\(\/\/\)$/{ s//\1/; q; }
19262 /^X\(\/\).*/{ s//\1/; q; }
19265 test ! -n "$as_dirs" || mkdir
$as_dirs
19266 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19267 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19268 { (exit 1); exit 1; }; }; }
19272 if test "$ac_dir" != .
; then
19273 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19274 # A "../" for each directory in $ac_dir_suffix.
19275 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19277 ac_dir_suffix
= ac_top_builddir
=
19281 .
) # No --srcdir option. We are building in place.
19283 if test -z "$ac_top_builddir"; then
19286 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19288 [\\/]* | ?
:[\\/]* ) # Absolute path.
19289 ac_srcdir
=$srcdir$ac_dir_suffix;
19290 ac_top_srcdir
=$srcdir ;;
19291 *) # Relative path.
19292 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19293 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19296 # Do not use `cd foo && pwd` to compute absolute paths, because
19297 # the directories may not exist.
19299 .
) ac_abs_builddir
="$ac_dir";;
19302 .
) ac_abs_builddir
=`pwd`;;
19303 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19304 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19307 case $ac_abs_builddir in
19308 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19310 case ${ac_top_builddir}.
in
19311 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19312 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19313 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19316 case $ac_abs_builddir in
19317 .
) ac_abs_srcdir
=$ac_srcdir;;
19320 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19321 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19322 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19325 case $ac_abs_builddir in
19326 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19328 case $ac_top_srcdir in
19329 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19330 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19331 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19337 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
19338 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
19341 # Let's still pretend it is `configure' which instantiates (i.e., don't
19342 # use $as_me), people would be surprised to read:
19343 # /* config.h. Generated by config.status. */
19344 if test x
"$ac_file" = x-
; then
19347 configure_input
="$ac_file. "
19349 configure_input
=$configure_input"Generated from `echo $ac_file_in |
19350 sed 's,.*/,,'` by configure."
19352 # First look for the input files in the build tree, otherwise in the
19354 ac_file_inputs
=`IFS=:
19355 for f in $ac_file_in; do
19357 -) echo $tmp/stdin ;;
19359 # Absolute (can't be DOS-style, as IFS=:)
19360 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19361 echo "$as_me: error: cannot find input file: $f" >&2;}
19362 { (exit 1); exit 1; }; }
19365 if test -f "$f"; then
19368 elif test -f "$srcdir/$f"; then
19373 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19374 echo "$as_me: error: cannot find input file: $f" >&2;}
19375 { (exit 1); exit 1; }; }
19378 done` ||
{ (exit 1); exit 1; }
19380 if test x
"$ac_file" != x-
; then
19381 { echo "$as_me:$LINENO: creating $ac_file" >&5
19382 echo "$as_me: creating $ac_file" >&6;}
19386 cat >>$CONFIG_STATUS <<_ACEOF
19390 cat >>$CONFIG_STATUS <<\_ACEOF
19392 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19393 s
,@configure_input@
,$configure_input,;t t
19394 s
,@srcdir@
,$ac_srcdir,;t t
19395 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
19396 s
,@top_srcdir@
,$ac_top_srcdir,;t t
19397 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
19398 s
,@builddir@
,$ac_builddir,;t t
19399 s
,@abs_builddir@
,$ac_abs_builddir,;t t
19400 s
,@top_builddir@
,$ac_top_builddir,;t t
19401 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
19402 s
,@INSTALL@
,$ac_INSTALL,;t t
19403 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
19405 if test x"$ac_file" != x-; then
19406 mv $tmp/out $ac_file
19414 cat >>$CONFIG_STATUS <<\_ACEOF
19417 # CONFIG_HEADER section.
19420 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
19421 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19423 # ac_d sets the value in "#define NAME VALUE" lines.
19424 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19425 ac_dB
='[ ].*$,\1#\2'
19428 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19429 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19430 ac_uB
='$,\1#\2define\3'
19434 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
19435 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19437 - |
*:- |
*:-:* ) # input from stdin
19439 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19440 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19441 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19442 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19443 * ) ac_file_in
=$ac_file.
in ;;
19446 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
19447 echo "$as_me: creating $ac_file" >&6;}
19449 # First look for the input files in the build tree, otherwise in the
19451 ac_file_inputs
=`IFS=:
19452 for f in $ac_file_in; do
19454 -) echo $tmp/stdin ;;
19456 # Absolute (can't be DOS-style, as IFS=:)
19457 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19458 echo "$as_me: error: cannot find input file: $f" >&2;}
19459 { (exit 1); exit 1; }; }
19460 # Do quote $f, to prevent DOS paths from being IFS'd.
19463 if test -f "$f"; then
19466 elif test -f "$srcdir/$f"; then
19471 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19472 echo "$as_me: error: cannot find input file: $f" >&2;}
19473 { (exit 1); exit 1; }; }
19476 done` ||
{ (exit 1); exit 1; }
19477 # Remove the trailing spaces.
19478 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19482 # Transform confdefs.h into two sed scripts, `conftest.defines' and
19483 # `conftest.undefs', that substitutes the proper values into
19484 # config.h.in to produce config.h. The first handles `#define'
19485 # templates, and the second `#undef' templates.
19486 # And first: Protect against being on the right side of a sed subst in
19487 # config.status. Protect against being in an unquoted here document
19488 # in config.status.
19489 rm -f conftest.defines conftest.undefs
19490 # Using a here document instead of a string reduces the quoting nightmare.
19491 # Putting comments in sed scripts is not portable.
19493 # `end' is used to avoid that the second main sed command (meant for
19494 # 0-ary CPP macros) applies to n-ary macro definitions.
19495 # See the Autoconf documentation for `clear'.
19496 cat >confdef2sed.
sed <<\_ACEOF
19501 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19503 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19506 # If some macros were called several times there might be several times
19507 # the same #defines, which is useless. Nevertheless, we may not want to
19508 # sort them, since we want the *last* AC-DEFINE to be honored.
19509 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19510 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19511 rm -f confdef2sed.sed
19513 # This sed command replaces #undef with comments. This is necessary, for
19514 # example, in the case of _POSIX_SOURCE, which is predefined and required
19515 # on some systems where configure will not decide to define it.
19516 cat >>conftest.undefs <<\_ACEOF
19517 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19520 # Break up conftest.defines because some shells have a limit on the size
19521 # of here documents, and old seds have small limits too (100 cmds).
19522 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19523 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19524 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19525 echo ' :' >>$CONFIG_STATUS
19526 rm -f conftest.tail
19527 while grep . conftest.defines >/dev/null
19529 # Write a limited-size here document to $tmp/defines.sed.
19530 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19531 # Speed up: don't consider the non `#define' lines.
19532 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19533 # Work around the forget-to-reset-the-flag bug.
19534 echo 't clr' >>$CONFIG_STATUS
19535 echo ': clr' >>$CONFIG_STATUS
19536 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
19538 sed -f $tmp/defines.sed $tmp/in >$tmp/out
19540 mv $tmp/out $tmp/in
19542 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
19543 rm -f conftest.defines
19544 mv conftest.
tail conftest.defines
19546 rm -f conftest.defines
19547 echo ' fi # grep' >>$CONFIG_STATUS
19548 echo >>$CONFIG_STATUS
19550 # Break up conftest.undefs because some shells have a limit on the size
19551 # of here documents, and old seds have small limits too (100 cmds).
19552 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19553 rm -f conftest.
tail
19554 while grep . conftest.undefs
>/dev
/null
19556 # Write a limited-size here document to $tmp/undefs.sed.
19557 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19558 # Speed up: don't consider the non
`#undef'
19559 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19560 # Work around the forget-to-reset-the-flag bug.
19561 echo 't clr' >>$CONFIG_STATUS
19562 echo ': clr' >>$CONFIG_STATUS
19563 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19565 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19567 mv $tmp/out $tmp/in
19569 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19570 rm -f conftest.undefs
19571 mv conftest.tail conftest.undefs
19573 rm -f conftest.undefs
19575 cat >>$CONFIG_STATUS <<\_ACEOF
19576 # Let's still pretend it is `configure
' which instantiates (i.e., don't
19577 # use $as_me), people would be surprised to read:
19578 # /* config.h. Generated by config.status. */
19579 if test x
"$ac_file" = x-
; then
19580 echo "/* Generated by configure. */" >$tmp/config.h
19582 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19584 cat $tmp/in >>$tmp/config.h
19586 if test x
"$ac_file" != x-
; then
19587 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
19588 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19589 echo "$as_me: $ac_file is unchanged" >&6;}
19591 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19593 X"$ac_file" : 'X\(//\)[^/]' \| \
19594 X"$ac_file" : 'X\(//\)$' \| \
19595 X"$ac_file" : 'X\(/\)' \| \
19596 . : '\(.\)' 2>/dev/null ||
19598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19599 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19600 /^X\(\/\/\)$/{ s//\1/; q; }
19601 /^X\(\/\).*/{ s//\1/; q; }
19603 { if $as_mkdir_p; then
19608 while test ! -d "$as_dir"; do
19609 as_dirs
="$as_dir $as_dirs"
19610 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19611 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19612 X"$as_dir" : 'X\(//\)[^/]' \| \
19613 X"$as_dir" : 'X\(//\)$' \| \
19614 X"$as_dir" : 'X\(/\)' \| \
19615 . : '\(.\)' 2>/dev/null ||
19617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19618 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19619 /^X\(\/\/\)$/{ s//\1/; q; }
19620 /^X\(\/\).*/{ s//\1/; q; }
19623 test ! -n "$as_dirs" || mkdir
$as_dirs
19624 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19625 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19626 { (exit 1); exit 1; }; }; }
19629 mv $tmp/config.h
$ac_file
19633 rm -f $tmp/config.h
19637 cat >>$CONFIG_STATUS <<\_ACEOF
19640 # CONFIG_COMMANDS section.
19642 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
19643 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
19644 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19645 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
19646 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19647 X"$ac_dest" : 'X\(//\)[^/]' \| \
19648 X"$ac_dest" : 'X\(//\)$' \| \
19649 X"$ac_dest" : 'X\(/\)' \| \
19650 . : '\(.\)' 2>/dev/null ||
19652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19653 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19654 /^X\(\/\/\)$/{ s//\1/; q; }
19655 /^X\(\/\).*/{ s//\1/; q; }
19657 { if $as_mkdir_p; then
19662 while test ! -d "$as_dir"; do
19663 as_dirs
="$as_dir $as_dirs"
19664 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19666 X"$as_dir" : 'X\(//\)[^/]' \| \
19667 X"$as_dir" : 'X\(//\)$' \| \
19668 X"$as_dir" : 'X\(/\)' \| \
19669 . : '\(.\)' 2>/dev/null ||
19671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19672 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19673 /^X\(\/\/\)$/{ s//\1/; q; }
19674 /^X\(\/\).*/{ s//\1/; q; }
19677 test ! -n "$as_dirs" || mkdir
$as_dirs
19678 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19679 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19680 { (exit 1); exit 1; }; }; }
19684 if test "$ac_dir" != .
; then
19685 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19686 # A "../" for each directory in $ac_dir_suffix.
19687 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19689 ac_dir_suffix
= ac_top_builddir
=
19693 .
) # No --srcdir option. We are building in place.
19695 if test -z "$ac_top_builddir"; then
19698 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19700 [\\/]* | ?
:[\\/]* ) # Absolute path.
19701 ac_srcdir
=$srcdir$ac_dir_suffix;
19702 ac_top_srcdir
=$srcdir ;;
19703 *) # Relative path.
19704 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
19705 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
19708 # Do not use `cd foo && pwd` to compute absolute paths, because
19709 # the directories may not exist.
19711 .
) ac_abs_builddir
="$ac_dir";;
19714 .
) ac_abs_builddir
=`pwd`;;
19715 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
19716 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
19719 case $ac_abs_builddir in
19720 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19722 case ${ac_top_builddir}.
in
19723 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
19724 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
19725 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
19728 case $ac_abs_builddir in
19729 .
) ac_abs_srcdir
=$ac_srcdir;;
19732 .
) ac_abs_srcdir
=$ac_abs_builddir;;
19733 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
19734 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
19737 case $ac_abs_builddir in
19738 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
19740 case $ac_top_srcdir in
19741 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
19742 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
19743 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
19748 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19749 echo "$as_me: executing $ac_dest commands" >&6;}
19751 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
19752 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
19753 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
19754 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
19755 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
19756 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
19757 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
19758 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
19759 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
19760 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
19761 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
19762 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
19767 cat >>$CONFIG_STATUS <<\_ACEOF
19769 { (exit 0); exit 0; }
19771 chmod +x
$CONFIG_STATUS
19772 ac_clean_files
=$ac_clean_files_save
19775 # configure is writing to config.log, and then calls config.status.
19776 # config.status does its own redirection, appending to config.log.
19777 # Unfortunately, on DOS this fails, as config.log is still kept open
19778 # by configure, so config.status won't be able to write to it; its
19779 # output is simply discarded. So we exec the FD to /dev/null,
19780 # effectively closing config.log, so it can be properly (re)opened and
19781 # appended to by config.status. When coming back to configure, we
19782 # need to make the FD available again.
19783 if test "$no_create" != yes; then
19785 ac_config_status_args
=
19786 test "$silent" = yes &&
19787 ac_config_status_args
="$ac_config_status_args --quiet"
19789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19792 # would make configure fail if this is the last instruction.
19793 $ac_cs_success ||
{ (exit 1); exit 1; }
19797 if test "$have_x" = "no"
19800 echo "*** Warning: X development files not found. Wine will be built without"
19801 echo "*** X support, which currently does not work, and would probably not be"
19802 echo "*** what you want anyway. You will need to install devel packages of"
19803 echo "*** Xlib/Xfree86 at the very least."
19806 if test "$wine_cv_opengl_version_OK" = "no"
19809 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
19810 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
19813 if test "$wine_cv_msg_freetype" = "yes"
19816 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
19817 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
19818 echo "*** freetype-devel package (or its equivalent on your distribution) to"
19819 echo "*** enable Wine to use TrueType fonts."
19822 if test -z "$ALSALIBS" -a \
19823 -z "$ARTSC_LIBS" -a \
19824 -z "$AUDIOIOLIBS" -a \
19826 -z "$ESD_LIBS" -a \
19827 -z "$ac_cv_lib_soname_jack" -a \
19828 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
19829 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
19830 "$ac_cv_header_soundcard_h" != "yes"
19832 echo "*** No sound system was found. Windows applications will be silent."
19833 echo "*** The currently supported sound systems are:"
19834 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
19838 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."