2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040213.
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='20040213'
273 PACKAGE_STRING='Wine 20040213'
274 PACKAGE_BUGREPORT='wine-devel@winehq.org'
276 ac_unique_file="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLL LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures Wine 20040213 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --x-includes=DIR X include files are in DIR
838 --x-libraries=DIR X library files are in DIR
841 --build=BUILD configure for building on BUILD [guessed]
842 --host=HOST cross-compile to build programs to run on HOST [BUILD]
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive ) echo "Configuration of Wine 20040213:";;
853 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
854 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
855 --disable-win16 do not include Win16 support
856 --disable-debug compile out all debugging messages
857 --disable-trace compile out TRACE messages
860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
862 --without-opengl do not use OpenGL
863 --without-curses do not use curses
864 --with-wine-tools=<dir> use Wine tools from directory <dir>
865 --with-x use the X Window System
867 Some influential environment variables:
868 CC C compiler command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
871 nonstandard directory <lib dir>
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
873 headers in a nonstandard directory <include dir>
876 Use these variables to override the choices made by `configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
879 Report bugs to <wine-devel@winehq.org>.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo && pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
975 Wine configure 20040213
976 generated by GNU Autoconf 2.59
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by Wine $as_me 20040213, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1002 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1003 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1004 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1005 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1007 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1008 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1010 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1011 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1012 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1013 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1014 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1015 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1016 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close' the trap.
1096 trap 'exit_status=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var in $ac_subst_vars
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var in $ac_subst_files
1146 eval ac_val=$`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h; then
1159 sed "/^$/d" confdefs.h | sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core *.core &&
1167 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's/^/| /' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1264 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1289 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 ac_config_headers="$ac_config_headers include/config.h"
1329 for ac_dir in tools $srcdir/tools; do
1330 if test -f $ac_dir/install-sh; then
1332 ac_install_sh="$ac_aux_dir/install-sh -c"
1334 elif test -f $ac_dir/install.sh; then
1336 ac_install_sh="$ac_aux_dir/install.sh -c"
1338 elif test -f $ac_dir/shtool; then
1340 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 if test -z "$ac_aux_dir"; then
1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1346 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1347 { (exit 1); exit 1; }; }
1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355 # Check whether --enable-win16 or --disable-win16 was given.
1356 if test "${enable_win16+set}" = set; then
1357 enableval="$enable_win16"
1360 # Check whether --enable-debug or --disable-debug was given.
1361 if test "${enable_debug+set}" = set; then
1362 enableval="$enable_debug"
1365 # Check whether --enable-trace or --disable-trace was given.
1366 if test "${enable_trace+set}" = set; then
1367 enableval="$enable_trace"
1372 # Check whether --with-opengl or --without-opengl was given.
1373 if test "${with_opengl+set}" = set; then
1374 withval="$with_opengl"
1378 # Check whether --with-curses or --without-curses was given.
1379 if test "${with_curses+set}" = set; then
1380 withval="$with_curses"
1384 # Check whether --with-wine-tools or --without-wine-tools was given.
1385 if test "${with_wine_tools+set}" = set; then
1386 withval="$with_wine_tools"
1390 WIN16_FILES="\$(WIN16_FILES)"
1392 WIN16_INSTALL="\$(WIN16_INSTALL)"
1394 if test "x$enable_win16" = "xno"
1399 if test "x$enable_debug" = "xno"
1402 cat >>confdefs.h <<\_ACEOF
1403 #define NO_DEBUG_MSGS 1
1407 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1410 cat >>confdefs.h <<\_ACEOF
1411 #define NO_TRACE_MSGS 1
1417 # Make sure we can run config.sub.
1418 $ac_config_sub sun4 >/dev/null 2>&1 ||
1419 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1420 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1421 { (exit 1); exit 1; }; }
1423 echo "$as_me:$LINENO: checking build system type" >&5
1424 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1425 if test "${ac_cv_build+set}" = set; then
1426 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 ac_cv_build_alias=$build_alias
1429 test -z "$ac_cv_build_alias" &&
1430 ac_cv_build_alias=`$ac_config_guess`
1431 test -z "$ac_cv_build_alias" &&
1432 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1433 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1434 { (exit 1); exit 1; }; }
1435 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1442 echo "${ECHO_T}$ac_cv_build" >&6
1444 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1449 echo "$as_me:$LINENO: checking host system type" >&5
1450 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1451 if test "${ac_cv_host+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 ac_cv_host_alias=$host_alias
1455 test -z "$ac_cv_host_alias" &&
1456 ac_cv_host_alias=$ac_cv_build_alias
1457 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1458 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1459 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1460 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1464 echo "${ECHO_T}$ac_cv_host" >&6
1466 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1467 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1468 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1471 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1472 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1473 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1474 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 cat >conftest.make <<\_ACEOF
1479 @echo 'ac_maketemp="$(MAKE)"'
1481 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1482 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1483 if test -n "$ac_maketemp"; then
1484 eval ac_cv_prog_make_${ac_make}_set=yes
1486 eval ac_cv_prog_make_${ac_make}_set=no
1490 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1491 echo "$as_me:$LINENO: result: yes" >&5
1492 echo "${ECHO_T}yes" >&6
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1497 SET_MAKE="MAKE=${MAKE-make}"
1501 ac_cpp='$CPP $CPPFLAGS'
1502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1505 if test -n "$ac_tool_prefix"; then
1506 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1507 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1508 echo "$as_me:$LINENO: checking for $ac_word" >&5
1509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1510 if test "${ac_cv_prog_CC+set}" = set; then
1511 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 if test -n "$CC"; then
1514 ac_cv_prog_CC="$CC" # Let the user override the test.
1516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1520 test -z "$as_dir" && as_dir=.
1521 for ac_exec_ext in '' $ac_executable_extensions; do
1522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1523 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1533 if test -n "$CC"; then
1534 echo "$as_me:$LINENO: result: $CC" >&5
1535 echo "${ECHO_T}$CC" >&6
1537 echo "$as_me:$LINENO: result: no" >&5
1538 echo "${ECHO_T}no" >&6
1542 if test -z "$ac_cv_prog_CC"; then
1544 # Extract the first word of "gcc", so it can be a program name with args.
1545 set dummy gcc; ac_word=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1551 if test -n "$ac_ct_CC"; then
1552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558 test -z "$as_dir" && as_dir=.
1559 for ac_exec_ext in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_ac_ct_CC="gcc"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1570 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1571 if test -n "$ac_ct_CC"; then
1572 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1573 echo "${ECHO_T}$ac_ct_CC" >&6
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1584 if test -z "$CC"; then
1585 if test -n "$ac_tool_prefix"; then
1586 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1587 set dummy ${ac_tool_prefix}cc; ac_word=$2
1588 echo "$as_me:$LINENO: checking for $ac_word" >&5
1589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1590 if test "${ac_cv_prog_CC+set}" = set; then
1591 echo $ECHO_N "(cached) $ECHO_C" >&6
1593 if test -n "$CC"; then
1594 ac_cv_prog_CC="$CC" # Let the user override the test.
1596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1600 test -z "$as_dir" && as_dir=.
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1603 ac_cv_prog_CC="${ac_tool_prefix}cc"
1604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1613 if test -n "$CC"; then
1614 echo "$as_me:$LINENO: result: $CC" >&5
1615 echo "${ECHO_T}$CC" >&6
1617 echo "$as_me:$LINENO: result: no" >&5
1618 echo "${ECHO_T}no" >&6
1622 if test -z "$ac_cv_prog_CC"; then
1624 # Extract the first word of "cc", so it can be a program name with args.
1625 set dummy cc; ac_word=$2
1626 echo "$as_me:$LINENO: checking for $ac_word" >&5
1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 if test -n "$ac_ct_CC"; then
1632 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir=.
1639 for ac_exec_ext in '' $ac_executable_extensions; do
1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641 ac_cv_prog_ac_ct_CC="cc"
1642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1651 if test -n "$ac_ct_CC"; then
1652 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1653 echo "${ECHO_T}$ac_ct_CC" >&6
1655 echo "$as_me:$LINENO: result: no" >&5
1656 echo "${ECHO_T}no" >&6
1665 if test -z "$CC"; then
1666 # Extract the first word of "cc", so it can be a program name with args.
1667 set dummy cc; ac_word=$2
1668 echo "$as_me:$LINENO: checking for $ac_word" >&5
1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1670 if test "${ac_cv_prog_CC+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 if test -n "$CC"; then
1674 ac_cv_prog_CC="$CC" # Let the user override the test.
1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681 test -z "$as_dir" && as_dir=.
1682 for ac_exec_ext in '' $ac_executable_extensions; do
1683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1684 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1685 ac_prog_rejected=yes
1689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 if test $ac_prog_rejected = yes; then
1696 # We found a bogon in the path, so make sure we never use it.
1697 set dummy $ac_cv_prog_CC
1699 if test $# != 0; then
1700 # We chose a different compiler from the bogus one.
1701 # However, it has the same basename, so the bogon will be chosen
1702 # first if we set CC to just the basename; use the full file name.
1704 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1710 if test -n "$CC"; then
1711 echo "$as_me:$LINENO: result: $CC" >&5
1712 echo "${ECHO_T}$CC" >&6
1714 echo "$as_me:$LINENO: result: no" >&5
1715 echo "${ECHO_T}no" >&6
1719 if test -z "$CC"; then
1720 if test -n "$ac_tool_prefix"; then
1723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1725 echo "$as_me:$LINENO: checking for $ac_word" >&5
1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1727 if test "${ac_cv_prog_CC+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 if test -n "$CC"; then
1731 ac_cv_prog_CC="$CC" # Let the user override the test.
1733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 test -z "$as_dir" && as_dir=.
1738 for ac_exec_ext in '' $ac_executable_extensions; do
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1740 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test -n "$CC"; then
1751 echo "$as_me:$LINENO: result: $CC" >&5
1752 echo "${ECHO_T}$CC" >&6
1754 echo "$as_me:$LINENO: result: no" >&5
1755 echo "${ECHO_T}no" >&6
1758 test -n "$CC" && break
1761 if test -z "$CC"; then
1765 # Extract the first word of "$ac_prog", so it can be a program name with args.
1766 set dummy $ac_prog; ac_word=$2
1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 if test -n "$ac_ct_CC"; then
1773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir=.
1780 for ac_exec_ext in '' $ac_executable_extensions; do
1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782 ac_cv_prog_ac_ct_CC="$ac_prog"
1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1792 if test -n "$ac_ct_CC"; then
1793 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1794 echo "${ECHO_T}$ac_ct_CC" >&6
1796 echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6
1800 test -n "$ac_ct_CC" && break
1809 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1810 See \`config.log' for more details." >&5
1811 echo "$as_me: error: no acceptable C compiler found in \$PATH
1812 See \`config.log' for more details." >&2;}
1813 { (exit 1); exit 1; }; }
1815 # Provide some information about the compiler.
1816 echo "$as_me:$LINENO:" \
1817 "checking for C compiler version" >&5
1818 ac_compiler=`set X $ac_compile; echo $2`
1819 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1820 (eval $ac_compiler --version </dev/null >&5) 2>&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }
1824 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1825 (eval $ac_compiler -v </dev/null >&5) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); }
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1830 (eval $ac_compiler -V </dev/null >&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1835 cat >conftest.$ac_ext <<_ACEOF
1838 cat confdefs.h >>conftest.$ac_ext
1839 cat >>conftest.$ac_ext <<_ACEOF
1840 /* end confdefs.h. */
1850 ac_clean_files_save=$ac_clean_files
1851 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1852 # Try to create an executable without -o first, disregard a.out.
1853 # It will help us diagnose broken compilers, and finding out an intuition
1855 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1856 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1857 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1858 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1859 (eval $ac_link_default) 2>&5
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }; then
1863 # Find the output, starting from the most likely. This scheme is
1864 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1867 # Be careful to initialize this variable, since it used to be cached.
1868 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1870 # b.out is created by i960 compilers.
1871 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1873 test -f "$ac_file" || continue
1875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1878 # This is the source file.
1881 # We found the default executable, but exeext='' is most
1885 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1886 # FIXME: I believe we export ac_cv_exeext for Libtool,
1887 # but it would be cool to find out if it's true. Does anybody
1888 # maintain Libtool? --akim.
1896 echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1899 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1900 See \`config.log' for more details." >&5
1901 echo "$as_me: error: C compiler cannot create executables
1902 See \`config.log' for more details." >&2;}
1903 { (exit 77); exit 77; }; }
1906 ac_exeext=$ac_cv_exeext
1907 echo "$as_me:$LINENO: result: $ac_file" >&5
1908 echo "${ECHO_T}$ac_file" >&6
1910 # Check the compiler produces executables we can run. If not, either
1911 # the compiler is broken, or we cross compile.
1912 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1913 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1914 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1915 # If not cross compiling, check that we can run a simple program.
1916 if test "$cross_compiling" != yes; then
1917 if { ac_try='./$ac_file'
1918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); }; }; then
1925 if test "$cross_compiling" = maybe; then
1928 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1929 If you meant to cross compile, use \`--host'.
1930 See \`config.log' for more details." >&5
1931 echo "$as_me: error: cannot run C compiled programs.
1932 If you meant to cross compile, use \`--host'.
1933 See \`config.log' for more details." >&2;}
1934 { (exit 1); exit 1; }; }
1938 echo "$as_me:$LINENO: result: yes" >&5
1939 echo "${ECHO_T}yes" >&6
1941 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1942 ac_clean_files=$ac_clean_files_save
1943 # Check the compiler produces executables we can run. If not, either
1944 # the compiler is broken, or we cross compile.
1945 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1946 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1947 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1948 echo "${ECHO_T}$cross_compiling" >&6
1950 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1951 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1953 (eval $ac_link) 2>&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; then
1957 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1958 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1959 # work properly (i.e., refer to `conftest.exe'), while it won't with
1961 for ac_file in conftest.exe conftest conftest.*; do
1962 test -f "$ac_file" || continue
1964 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1965 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1972 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1973 See \`config.log' for more details." >&5
1974 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1975 See \`config.log' for more details." >&2;}
1976 { (exit 1); exit 1; }; }
1979 rm -f conftest$ac_cv_exeext
1980 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1981 echo "${ECHO_T}$ac_cv_exeext" >&6
1983 rm -f conftest.$ac_ext
1984 EXEEXT=$ac_cv_exeext
1986 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1987 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1988 if test "${ac_cv_objext+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 cat >conftest.$ac_ext <<_ACEOF
1994 cat confdefs.h >>conftest.$ac_ext
1995 cat >>conftest.$ac_ext <<_ACEOF
1996 /* end confdefs.h. */
2006 rm -f conftest.o conftest.obj
2007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008 (eval $ac_compile) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; then
2012 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2015 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2020 echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2024 See \`config.log' for more details." >&5
2025 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2026 See \`config.log' for more details." >&2;}
2027 { (exit 1); exit 1; }; }
2030 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2032 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2033 echo "${ECHO_T}$ac_cv_objext" >&6
2034 OBJEXT=$ac_cv_objext
2036 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2037 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2038 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 cat >conftest.$ac_ext <<_ACEOF
2044 cat confdefs.h >>conftest.$ac_ext
2045 cat >>conftest.$ac_ext <<_ACEOF
2046 /* end confdefs.h. */
2059 rm -f conftest.$ac_objext
2060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2061 (eval $ac_compile) 2>conftest.er1
2063 grep -v '^ *+' conftest.er1 >conftest.err
2065 cat conftest.err >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); } &&
2068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }; } &&
2074 { ac_try='test -s conftest.$ac_objext'
2075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }; }; then
2082 echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2088 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2091 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2092 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2093 GCC=`test $ac_compiler_gnu = yes && echo yes`
2094 ac_test_CFLAGS=${CFLAGS+set}
2095 ac_save_CFLAGS=$CFLAGS
2097 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2098 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2099 if test "${ac_cv_prog_cc_g+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 cat >conftest.$ac_ext <<_ACEOF
2105 cat confdefs.h >>conftest.$ac_ext
2106 cat >>conftest.$ac_ext <<_ACEOF
2107 /* end confdefs.h. */
2117 rm -f conftest.$ac_objext
2118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2119 (eval $ac_compile) 2>conftest.er1
2121 grep -v '^ *+' conftest.er1 >conftest.err
2123 cat conftest.err >&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); } &&
2126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; } &&
2132 { ac_try='test -s conftest.$ac_objext'
2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); }; }; then
2140 echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2147 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2148 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2149 if test "$ac_test_CFLAGS" = set; then
2150 CFLAGS=$ac_save_CFLAGS
2151 elif test $ac_cv_prog_cc_g = yes; then
2152 if test "$GCC" = yes; then
2158 if test "$GCC" = yes; then
2164 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2165 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2166 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 ac_cv_prog_cc_stdc=no
2171 cat >conftest.$ac_ext <<_ACEOF
2174 cat confdefs.h >>conftest.$ac_ext
2175 cat >>conftest.$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2179 #include <sys/types.h>
2180 #include <sys/stat.h>
2181 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2182 struct buf { int x; };
2183 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2184 static char *e (p, i)
2190 static char *f (char * (*g) (char **, int), char **p, ...)
2195 s = g (p, va_arg (v,int));
2200 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2201 function prototypes and stuff, but not '\xHH' hex character constants.
2202 These don't provoke an error unfortunately, instead are silently treated
2203 as 'x'. The following induces an error, until -std1 is added to get
2204 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2205 array size at least. It's necessary to write '\x00'==0 to get something
2206 that's true only with -std1. */
2207 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2209 int test (int i, double x);
2210 struct s1 {int (*f) (int a);};
2211 struct s2 {int (*f) (double a);};
2212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2223 # Don't try gcc -ansi; that turns off useful extensions and
2224 # breaks some systems' header files.
2225 # AIX -qlanglvl=ansi
2226 # Ultrix and OSF/1 -std1
2227 # HP-UX 10.20 and later -Ae
2228 # HP-UX older versions -Aa -D_HPUX_SOURCE
2229 # SVR4 -Xc -D__EXTENSIONS__
2230 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2232 CC="$ac_save_CC $ac_arg"
2233 rm -f conftest.$ac_objext
2234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2235 (eval $ac_compile) 2>conftest.er1
2237 grep -v '^ *+' conftest.er1 >conftest.err
2239 cat conftest.err >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; } &&
2248 { ac_try='test -s conftest.$ac_objext'
2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; }; then
2254 ac_cv_prog_cc_stdc=$ac_arg
2257 echo "$as_me: failed program was:" >&5
2258 sed 's/^/| /' conftest.$ac_ext >&5
2261 rm -f conftest.err conftest.$ac_objext
2263 rm -f conftest.$ac_ext conftest.$ac_objext
2268 case "x$ac_cv_prog_cc_stdc" in
2270 echo "$as_me:$LINENO: result: none needed" >&5
2271 echo "${ECHO_T}none needed" >&6 ;;
2273 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2274 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2275 CC="$CC $ac_cv_prog_cc_stdc" ;;
2278 # Some people use a C++ compiler to compile C. Since we use `exit',
2279 # in C++ we need to declare it. In case someone uses the same compiler
2280 # for both compiling C and C++ we need to have the C++ compiler decide
2281 # the declaration of exit, since it's the most demanding environment.
2282 cat >conftest.$ac_ext <<_ACEOF
2287 rm -f conftest.$ac_objext
2288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2289 (eval $ac_compile) 2>conftest.er1
2291 grep -v '^ *+' conftest.er1 >conftest.err
2293 cat conftest.err >&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); } &&
2296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; } &&
2302 { ac_try='test -s conftest.$ac_objext'
2303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); }; }; then
2308 for ac_declaration in \
2310 'extern "C" void std::exit (int) throw (); using std::exit;' \
2311 'extern "C" void std::exit (int); using std::exit;' \
2312 'extern "C" void exit (int) throw ();' \
2313 'extern "C" void exit (int);' \
2316 cat >conftest.$ac_ext <<_ACEOF
2319 cat confdefs.h >>conftest.$ac_ext
2320 cat >>conftest.$ac_ext <<_ACEOF
2321 /* end confdefs.h. */
2332 rm -f conftest.$ac_objext
2333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2334 (eval $ac_compile) 2>conftest.er1
2336 grep -v '^ *+' conftest.er1 >conftest.err
2338 cat conftest.err >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); } &&
2341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; } &&
2347 { ac_try='test -s conftest.$ac_objext'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; }; then
2355 echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2361 cat >conftest.$ac_ext <<_ACEOF
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2376 rm -f conftest.$ac_objext
2377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2378 (eval $ac_compile) 2>conftest.er1
2380 grep -v '^ *+' conftest.er1 >conftest.err
2382 cat conftest.err >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); } &&
2385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; } &&
2391 { ac_try='test -s conftest.$ac_objext'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; }; then
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2406 if test -n "$ac_declaration"; then
2407 echo '#ifdef __cplusplus' >>confdefs.h
2408 echo $ac_declaration >>confdefs.h
2409 echo '#endif' >>confdefs.h
2413 echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.$ac_ext >&5
2417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2425 ac_cpp='$CPP $CPPFLAGS'
2426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2429 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2430 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2431 # On Suns, sometimes $CPP names a directory.
2432 if test -n "$CPP" && test -d "$CPP"; then
2435 if test -z "$CPP"; then
2436 if test "${ac_cv_prog_CPP+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 # Double quotes because CPP needs to be expanded
2440 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2443 for ac_c_preproc_warn_flag in '' yes
2445 # Use a header file that comes with gcc, so configuring glibc
2446 # with a fresh cross-compiler works.
2447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2448 # <limits.h> exists even on freestanding compilers.
2449 # On the NeXT, cc -E runs the code through the compiler's parser,
2450 # not just through cpp. "Syntax error" is here to catch this case.
2451 cat >conftest.$ac_ext <<_ACEOF
2454 cat confdefs.h >>conftest.$ac_ext
2455 cat >>conftest.$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2458 # include <limits.h>
2460 # include <assert.h>
2464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1 >conftest.err
2469 cat conftest.err >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } >/dev/null; then
2472 if test -s conftest.err; then
2473 ac_cpp_err=$ac_c_preproc_warn_flag
2474 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2481 if test -z "$ac_cpp_err"; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2487 # Broken: fails on valid input.
2490 rm -f conftest.err conftest.$ac_ext
2492 # OK, works on sane cases. Now check whether non-existent headers
2493 # can be detected and how.
2494 cat >conftest.$ac_ext <<_ACEOF
2497 cat confdefs.h >>conftest.$ac_ext
2498 cat >>conftest.$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2500 #include <ac_nonexistent.h>
2502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2505 grep -v '^ *+' conftest.er1 >conftest.err
2507 cat conftest.err >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); } >/dev/null; then
2510 if test -s conftest.err; then
2511 ac_cpp_err=$ac_c_preproc_warn_flag
2512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2519 if test -z "$ac_cpp_err"; then
2520 # Broken: success on invalid input.
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 # Passes both tests.
2530 rm -f conftest.err conftest.$ac_ext
2533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2534 rm -f conftest.err conftest.$ac_ext
2535 if $ac_preproc_ok; then
2547 echo "$as_me:$LINENO: result: $CPP" >&5
2548 echo "${ECHO_T}$CPP" >&6
2550 for ac_c_preproc_warn_flag in '' yes
2552 # Use a header file that comes with gcc, so configuring glibc
2553 # with a fresh cross-compiler works.
2554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2555 # <limits.h> exists even on freestanding compilers.
2556 # On the NeXT, cc -E runs the code through the compiler's parser,
2557 # not just through cpp. "Syntax error" is here to catch this case.
2558 cat >conftest.$ac_ext <<_ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2565 # include <limits.h>
2567 # include <assert.h>
2571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1 >conftest.err
2576 cat conftest.err >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } >/dev/null; then
2579 if test -s conftest.err; then
2580 ac_cpp_err=$ac_c_preproc_warn_flag
2581 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2588 if test -z "$ac_cpp_err"; then
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 # Broken: fails on valid input.
2597 rm -f conftest.err conftest.$ac_ext
2599 # OK, works on sane cases. Now check whether non-existent headers
2600 # can be detected and how.
2601 cat >conftest.$ac_ext <<_ACEOF
2604 cat confdefs.h >>conftest.$ac_ext
2605 cat >>conftest.$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2607 #include <ac_nonexistent.h>
2609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2612 grep -v '^ *+' conftest.er1 >conftest.err
2614 cat conftest.err >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); } >/dev/null; then
2617 if test -s conftest.err; then
2618 ac_cpp_err=$ac_c_preproc_warn_flag
2619 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2626 if test -z "$ac_cpp_err"; then
2627 # Broken: success on invalid input.
2630 echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.$ac_ext >&5
2633 # Passes both tests.
2637 rm -f conftest.err conftest.$ac_ext
2640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2641 rm -f conftest.err conftest.$ac_ext
2642 if $ac_preproc_ok; then
2645 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2646 See \`config.log' for more details." >&5
2647 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2648 See \`config.log' for more details." >&2;}
2649 { (exit 1); exit 1; }; }
2653 ac_cpp='$CPP $CPPFLAGS'
2654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2659 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2660 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2661 if test "${wine_cv_toolsdir+set}" = set; then
2662 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 if test -z "$with_wine_tools"; then
2665 if test "$cross_compiling" = "yes"; then
2666 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2667 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2668 { (exit 1); exit 1; }; }
2670 wine_cv_toolsdir="\$(TOPOBJDIR)"
2672 elif test -d "$with_wine_tools/tools/winebuild"; then
2673 case $with_wine_tools in
2674 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2675 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2678 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2679 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2680 { (exit 1); exit 1; }; }
2683 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2684 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2685 TOOLSDIR=$wine_cv_toolsdir
2690 echo "$as_me:$LINENO: checking for X" >&5
2691 echo $ECHO_N "checking for X... $ECHO_C" >&6
2694 # Check whether --with-x or --without-x was given.
2695 if test "${with_x+set}" = set; then
2699 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2700 if test "x$with_x" = xno; then
2701 # The user explicitly disabled X.
2704 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
2705 # Both variables are already set.
2708 if test "${ac_cv_have_x+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 # One or both of the vars are not set, and there is no cached value.
2712 ac_x_includes=no ac_x_libraries=no
2714 if mkdir conftest.dir; then
2716 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2717 cat >Imakefile <<'_ACEOF'
2719 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2721 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
2722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2723 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2724 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2725 for ac_extension in a so sl; do
2726 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
2727 test -f $ac_im_libdir/libX11.$ac_extension; then
2728 ac_im_usrlibdir=$ac_im_libdir; break
2731 # Screen out bogus values from the imake configuration. They are
2732 # bogus both because they are the default anyway, and because
2733 # using them would break gcc on systems where it needs fixed includes.
2734 case $ac_im_incroot in
2736 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
2738 case $ac_im_usrlibdir in
2740 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
2747 # Standard set of common directories for X headers.
2748 # Check X11 before X11Rn because it is often a symlink to the current release.
2760 /usr/local/X11/include
2761 /usr/local/X11R6/include
2762 /usr/local/X11R5/include
2763 /usr/local/X11R4/include
2765 /usr/local/include/X11
2766 /usr/local/include/X11R6
2767 /usr/local/include/X11R5
2768 /usr/local/include/X11R4
2772 /usr/XFree86/include/X11
2776 /usr/unsupported/include
2778 /usr/local/x11r5/include
2779 /usr/lpp/Xamples/include
2781 /usr/openwin/include
2782 /usr/openwin/share/include'
2784 if test "$ac_x_includes" = no; then
2785 # Guess where to find include files, by looking for Intrinsic.h.
2786 # First, try using that file with no special directory specified.
2787 cat >conftest.$ac_ext <<_ACEOF
2790 cat confdefs.h >>conftest.$ac_ext
2791 cat >>conftest.$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2793 #include <X11/Intrinsic.h>
2795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2798 grep -v '^ *+' conftest.er1 >conftest.err
2800 cat conftest.err >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); } >/dev/null; then
2803 if test -s conftest.err; then
2804 ac_cpp_err=$ac_c_preproc_warn_flag
2805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2812 if test -z "$ac_cpp_err"; then
2813 # We can compile using X headers with no special include directory.
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2819 for ac_dir in $ac_x_header_dirs; do
2820 if test -r "$ac_dir/X11/Intrinsic.h"; then
2821 ac_x_includes=$ac_dir
2826 rm -f conftest.err conftest.$ac_ext
2827 fi # $ac_x_includes = no
2829 if test "$ac_x_libraries" = no; then
2830 # Check for the libraries.
2831 # See if we find them without any special options.
2832 # Don't add to $LIBS permanently.
2835 cat >conftest.$ac_ext <<_ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2841 #include <X11/Intrinsic.h>
2850 rm -f conftest.$ac_objext conftest$ac_exeext
2851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2852 (eval $ac_link) 2>conftest.er1
2854 grep -v '^ *+' conftest.er1 >conftest.err
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; } &&
2865 { ac_try='test -s conftest$ac_exeext'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; }; then
2872 # We can link X programs with no special library path.
2875 echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.$ac_ext >&5
2879 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2881 # Don't even attempt the hair of trying to link an X program!
2882 for ac_extension in a so sl; do
2883 if test -r $ac_dir/libXt.$ac_extension; then
2884 ac_x_libraries=$ac_dir
2890 rm -f conftest.err conftest.$ac_objext \
2891 conftest$ac_exeext conftest.$ac_ext
2892 fi # $ac_x_libraries = no
2894 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
2895 # Didn't find X anywhere. Cache the known absence of X.
2896 ac_cv_have_x="have_x=no"
2898 # Record where we found X for the cache.
2899 ac_cv_have_x="have_x=yes \
2900 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2905 eval "$ac_cv_have_x"
2908 if test "$have_x" != yes; then
2909 echo "$as_me:$LINENO: result: $have_x" >&5
2910 echo "${ECHO_T}$have_x" >&6
2913 # If each of the values was on the command line, it overrides each guess.
2914 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
2915 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
2916 # Update the cache value to reflect the command line values.
2917 ac_cv_have_x="have_x=yes \
2918 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2919 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2920 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2923 if test "$no_x" = yes; then
2924 # Not all programs may use this symbol, but it does not hurt to define it.
2926 cat >>confdefs.h <<\_ACEOF
2927 #define X_DISPLAY_MISSING 1
2930 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
2932 if test -n "$x_includes"; then
2933 X_CFLAGS="$X_CFLAGS -I$x_includes"
2936 # It would also be nice to do this for all -L options, not just this one.
2937 if test -n "$x_libraries"; then
2938 X_LIBS="$X_LIBS -L$x_libraries"
2939 # For Solaris; some versions of Sun CC require a space after -R and
2940 # others require no space. Words are not sufficient . . . .
2941 case `(uname -sr) 2>/dev/null` in
2943 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2945 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
2946 cat >conftest.$ac_ext <<_ACEOF
2949 cat confdefs.h >>conftest.$ac_ext
2950 cat >>conftest.$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2961 rm -f conftest.$ac_objext conftest$ac_exeext
2962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2963 (eval $ac_link) 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest$ac_exeext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext \
2990 conftest$ac_exeext conftest.$ac_ext
2991 if test $ac_R_nospace = yes; then
2992 echo "$as_me:$LINENO: result: no" >&5
2993 echo "${ECHO_T}no" >&6
2994 X_LIBS="$X_LIBS -R$x_libraries"
2996 LIBS="$ac_xsave_LIBS -R $x_libraries"
2997 cat >conftest.$ac_ext <<_ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3012 rm -f conftest.$ac_objext conftest$ac_exeext
3013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3014 (eval $ac_link) 2>conftest.er1
3016 grep -v '^ *+' conftest.er1 >conftest.err
3018 cat conftest.err >&5
3019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 (exit $ac_status); } &&
3021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; } &&
3027 { ac_try='test -s conftest$ac_exeext'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; }; then
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3040 rm -f conftest.err conftest.$ac_objext \
3041 conftest$ac_exeext conftest.$ac_ext
3042 if test $ac_R_space = yes; then
3043 echo "$as_me:$LINENO: result: yes" >&5
3044 echo "${ECHO_T}yes" >&6
3045 X_LIBS="$X_LIBS -R $x_libraries"
3047 echo "$as_me:$LINENO: result: neither works" >&5
3048 echo "${ECHO_T}neither works" >&6
3055 # Check for system-dependent libraries X programs must link with.
3056 # Do this before checking for the system-independent R6 libraries
3057 # (-lICE), since we may need -lsocket or whatever for X linking.
3059 if test "$ISC" = yes; then
3060 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3062 # Martyn Johnson says this is needed for Ultrix, if the X
3063 # libraries were built with DECnet support. And Karl Berry says
3064 # the Alpha needs dnet_stub (dnet does not exist).
3065 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3066 cat >conftest.$ac_ext <<_ACEOF
3069 cat confdefs.h >>conftest.$ac_ext
3070 cat >>conftest.$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3073 /* Override any gcc2 internal prototype to avoid an error. */
3077 /* We use char because int might match the return type of a gcc2
3078 builtin and then its argument prototype would still apply. */
3079 char XOpenDisplay ();
3088 rm -f conftest.$ac_objext conftest$ac_exeext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3090 (eval $ac_link) 2>conftest.er1
3092 grep -v '^ *+' conftest.er1 >conftest.err
3094 cat conftest.err >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } &&
3097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }; } &&
3103 { ac_try='test -s conftest$ac_exeext'
3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; }; then
3111 echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3114 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3119 ac_check_lib_save_LIBS=$LIBS
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3128 /* Override any gcc2 internal prototype to avoid an error. */
3132 /* We use char because int might match the return type of a gcc2
3133 builtin and then its argument prototype would still apply. */
3143 rm -f conftest.$ac_objext conftest$ac_exeext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3145 (eval $ac_link) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; } &&
3158 { ac_try='test -s conftest$ac_exeext'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; }; then
3164 ac_cv_lib_dnet_dnet_ntoa=yes
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3169 ac_cv_lib_dnet_dnet_ntoa=no
3171 rm -f conftest.err conftest.$ac_objext \
3172 conftest$ac_exeext conftest.$ac_ext
3173 LIBS=$ac_check_lib_save_LIBS
3175 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3176 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3177 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3178 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3181 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3182 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3183 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3184 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 ac_check_lib_save_LIBS=$LIBS
3188 LIBS="-ldnet_stub $LIBS"
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3196 /* Override any gcc2 internal prototype to avoid an error. */
3200 /* We use char because int might match the return type of a gcc2
3201 builtin and then its argument prototype would still apply. */
3211 rm -f conftest.$ac_objext conftest$ac_exeext
3212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3213 (eval $ac_link) 2>conftest.er1
3215 grep -v '^ *+' conftest.er1 >conftest.err
3217 cat conftest.err >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } &&
3220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; } &&
3226 { ac_try='test -s conftest$ac_exeext'
3227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3232 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 ac_cv_lib_dnet_stub_dnet_ntoa=no
3239 rm -f conftest.err conftest.$ac_objext \
3240 conftest$ac_exeext conftest.$ac_ext
3241 LIBS=$ac_check_lib_save_LIBS
3243 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3244 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3245 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3246 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3251 rm -f conftest.err conftest.$ac_objext \
3252 conftest$ac_exeext conftest.$ac_ext
3253 LIBS="$ac_xsave_LIBS"
3255 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3256 # to get the SysV transport functions.
3257 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3259 # The nsl library prevents programs from opening the X display
3260 # on Irix 5.2, according to T.E. Dickey.
3261 # The functions gethostbyname, getservbyname, and inet_addr are
3262 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3263 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3264 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3265 if test "${ac_cv_func_gethostbyname+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 cat >conftest.$ac_ext <<_ACEOF
3271 cat confdefs.h >>conftest.$ac_ext
3272 cat >>conftest.$ac_ext <<_ACEOF
3273 /* end confdefs.h. */
3274 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3276 #define gethostbyname innocuous_gethostbyname
3278 /* System header to define __stub macros and hopefully few prototypes,
3279 which can conflict with char gethostbyname (); below.
3280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3281 <limits.h> exists even on freestanding compilers. */
3284 # include <limits.h>
3286 # include <assert.h>
3289 #undef gethostbyname
3291 /* Override any gcc2 internal prototype to avoid an error. */
3296 /* We use char because int might match the return type of a gcc2
3297 builtin and then its argument prototype would still apply. */
3298 char gethostbyname ();
3299 /* The GNU C library defines this for functions which it implements
3300 to always fail with ENOSYS. Some functions are actually named
3301 something starting with __ and the normal name is an alias. */
3302 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3305 char (*f) () = gethostbyname;
3314 return f != gethostbyname;
3319 rm -f conftest.$ac_objext conftest$ac_exeext
3320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3321 (eval $ac_link) 2>conftest.er1
3323 grep -v '^ *+' conftest.er1 >conftest.err
3325 cat conftest.err >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); } &&
3328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; } &&
3334 { ac_try='test -s conftest$ac_exeext'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3340 ac_cv_func_gethostbyname=yes
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.$ac_ext >&5
3345 ac_cv_func_gethostbyname=no
3347 rm -f conftest.err conftest.$ac_objext \
3348 conftest$ac_exeext conftest.$ac_ext
3350 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3351 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3353 if test $ac_cv_func_gethostbyname = no; then
3354 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3355 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3356 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 ac_check_lib_save_LIBS=$LIBS
3361 cat >conftest.$ac_ext <<_ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3368 /* Override any gcc2 internal prototype to avoid an error. */
3372 /* We use char because int might match the return type of a gcc2
3373 builtin and then its argument prototype would still apply. */
3374 char gethostbyname ();
3383 rm -f conftest.$ac_objext conftest$ac_exeext
3384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3385 (eval $ac_link) 2>conftest.er1
3387 grep -v '^ *+' conftest.er1 >conftest.err
3389 cat conftest.err >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } &&
3392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }; } &&
3398 { ac_try='test -s conftest$ac_exeext'
3399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; }; then
3404 ac_cv_lib_nsl_gethostbyname=yes
3406 echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3409 ac_cv_lib_nsl_gethostbyname=no
3411 rm -f conftest.err conftest.$ac_objext \
3412 conftest$ac_exeext conftest.$ac_ext
3413 LIBS=$ac_check_lib_save_LIBS
3415 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3416 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3417 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3418 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3421 if test $ac_cv_lib_nsl_gethostbyname = no; then
3422 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3423 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3424 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 ac_check_lib_save_LIBS=$LIBS
3429 cat >conftest.$ac_ext <<_ACEOF
3432 cat confdefs.h >>conftest.$ac_ext
3433 cat >>conftest.$ac_ext <<_ACEOF
3434 /* end confdefs.h. */
3436 /* Override any gcc2 internal prototype to avoid an error. */
3440 /* We use char because int might match the return type of a gcc2
3441 builtin and then its argument prototype would still apply. */
3442 char gethostbyname ();
3451 rm -f conftest.$ac_objext conftest$ac_exeext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3453 (eval $ac_link) 2>conftest.er1
3455 grep -v '^ *+' conftest.er1 >conftest.err
3457 cat conftest.err >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); }; } &&
3466 { ac_try='test -s conftest$ac_exeext'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; }; then
3472 ac_cv_lib_bsd_gethostbyname=yes
3474 echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.$ac_ext >&5
3477 ac_cv_lib_bsd_gethostbyname=no
3479 rm -f conftest.err conftest.$ac_objext \
3480 conftest$ac_exeext conftest.$ac_ext
3481 LIBS=$ac_check_lib_save_LIBS
3483 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3484 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3485 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3492 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3493 # socket/setsockopt and other routines are undefined under SCO ODT
3494 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3495 # on later versions), says Simon Leinen: it contains gethostby*
3496 # variants that don't use the name server (or something). -lsocket
3497 # must be given before -lnsl if both are needed. We assume that
3498 # if connect needs -lnsl, so does gethostbyname.
3499 echo "$as_me:$LINENO: checking for connect" >&5
3500 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3501 if test "${ac_cv_func_connect+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 cat >conftest.$ac_ext <<_ACEOF
3507 cat confdefs.h >>conftest.$ac_ext
3508 cat >>conftest.$ac_ext <<_ACEOF
3509 /* end confdefs.h. */
3510 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3512 #define connect innocuous_connect
3514 /* System header to define __stub macros and hopefully few prototypes,
3515 which can conflict with char connect (); below.
3516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3517 <limits.h> exists even on freestanding compilers. */
3520 # include <limits.h>
3522 # include <assert.h>
3527 /* Override any gcc2 internal prototype to avoid an error. */
3532 /* We use char because int might match the return type of a gcc2
3533 builtin and then its argument prototype would still apply. */
3535 /* The GNU C library defines this for functions which it implements
3536 to always fail with ENOSYS. Some functions are actually named
3537 something starting with __ and the normal name is an alias. */
3538 #if defined (__stub_connect) || defined (__stub___connect)
3541 char (*f) () = connect;
3550 return f != connect;
3555 rm -f conftest.$ac_objext conftest$ac_exeext
3556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3557 (eval $ac_link) 2>conftest.er1
3559 grep -v '^ *+' conftest.er1 >conftest.err
3561 cat conftest.err >&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; } &&
3570 { ac_try='test -s conftest$ac_exeext'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3576 ac_cv_func_connect=yes
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3581 ac_cv_func_connect=no
3583 rm -f conftest.err conftest.$ac_objext \
3584 conftest$ac_exeext conftest.$ac_ext
3586 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3587 echo "${ECHO_T}$ac_cv_func_connect" >&6
3589 if test $ac_cv_func_connect = no; then
3590 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3591 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3592 if test "${ac_cv_lib_socket_connect+set}" = set; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 ac_check_lib_save_LIBS=$LIBS
3596 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
3597 cat >conftest.$ac_ext <<_ACEOF
3600 cat confdefs.h >>conftest.$ac_ext
3601 cat >>conftest.$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3604 /* Override any gcc2 internal prototype to avoid an error. */
3608 /* We use char because int might match the return type of a gcc2
3609 builtin and then its argument prototype would still apply. */
3619 rm -f conftest.$ac_objext conftest$ac_exeext
3620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3621 (eval $ac_link) 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } &&
3628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); }; } &&
3634 { ac_try='test -s conftest$ac_exeext'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; }; then
3640 ac_cv_lib_socket_connect=yes
3642 echo "$as_me: failed program was:" >&5
3643 sed 's/^/| /' conftest.$ac_ext >&5
3645 ac_cv_lib_socket_connect=no
3647 rm -f conftest.err conftest.$ac_objext \
3648 conftest$ac_exeext conftest.$ac_ext
3649 LIBS=$ac_check_lib_save_LIBS
3651 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3652 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3653 if test $ac_cv_lib_socket_connect = yes; then
3654 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
3659 # Guillermo Gomez says -lposix is necessary on A/UX.
3660 echo "$as_me:$LINENO: checking for remove" >&5
3661 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3662 if test "${ac_cv_func_remove+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 cat >conftest.$ac_ext <<_ACEOF
3668 cat confdefs.h >>conftest.$ac_ext
3669 cat >>conftest.$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3671 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
3672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3673 #define remove innocuous_remove
3675 /* System header to define __stub macros and hopefully few prototypes,
3676 which can conflict with char remove (); below.
3677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3678 <limits.h> exists even on freestanding compilers. */
3681 # include <limits.h>
3683 # include <assert.h>
3688 /* Override any gcc2 internal prototype to avoid an error. */
3693 /* We use char because int might match the return type of a gcc2
3694 builtin and then its argument prototype would still apply. */
3696 /* The GNU C library defines this for functions which it implements
3697 to always fail with ENOSYS. Some functions are actually named
3698 something starting with __ and the normal name is an alias. */
3699 #if defined (__stub_remove) || defined (__stub___remove)
3702 char (*f) () = remove;
3716 rm -f conftest.$ac_objext conftest$ac_exeext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3718 (eval $ac_link) 2>conftest.er1
3720 grep -v '^ *+' conftest.er1 >conftest.err
3722 cat conftest.err >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } &&
3725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; } &&
3731 { ac_try='test -s conftest$ac_exeext'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; }; then
3737 ac_cv_func_remove=yes
3739 echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3742 ac_cv_func_remove=no
3744 rm -f conftest.err conftest.$ac_objext \
3745 conftest$ac_exeext conftest.$ac_ext
3747 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3748 echo "${ECHO_T}$ac_cv_func_remove" >&6
3750 if test $ac_cv_func_remove = no; then
3751 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3752 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3753 if test "${ac_cv_lib_posix_remove+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 ac_check_lib_save_LIBS=$LIBS
3757 LIBS="-lposix $LIBS"
3758 cat >conftest.$ac_ext <<_ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3765 /* Override any gcc2 internal prototype to avoid an error. */
3769 /* We use char because int might match the return type of a gcc2
3770 builtin and then its argument prototype would still apply. */
3780 rm -f conftest.$ac_objext conftest$ac_exeext
3781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3782 (eval $ac_link) 2>conftest.er1
3784 grep -v '^ *+' conftest.er1 >conftest.err
3786 cat conftest.err >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); } &&
3789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); }; } &&
3795 { ac_try='test -s conftest$ac_exeext'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; }; then
3801 ac_cv_lib_posix_remove=yes
3803 echo "$as_me: failed program was:" >&5
3804 sed 's/^/| /' conftest.$ac_ext >&5
3806 ac_cv_lib_posix_remove=no
3808 rm -f conftest.err conftest.$ac_objext \
3809 conftest$ac_exeext conftest.$ac_ext
3810 LIBS=$ac_check_lib_save_LIBS
3812 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3813 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3814 if test $ac_cv_lib_posix_remove = yes; then
3815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
3820 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3821 echo "$as_me:$LINENO: checking for shmat" >&5
3822 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3823 if test "${ac_cv_func_shmat+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 cat >conftest.$ac_ext <<_ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3832 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
3833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3834 #define shmat innocuous_shmat
3836 /* System header to define __stub macros and hopefully few prototypes,
3837 which can conflict with char shmat (); below.
3838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3839 <limits.h> exists even on freestanding compilers. */
3842 # include <limits.h>
3844 # include <assert.h>
3849 /* Override any gcc2 internal prototype to avoid an error. */
3854 /* We use char because int might match the return type of a gcc2
3855 builtin and then its argument prototype would still apply. */
3857 /* The GNU C library defines this for functions which it implements
3858 to always fail with ENOSYS. Some functions are actually named
3859 something starting with __ and the normal name is an alias. */
3860 #if defined (__stub_shmat) || defined (__stub___shmat)
3863 char (*f) () = shmat;
3877 rm -f conftest.$ac_objext conftest$ac_exeext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3879 (eval $ac_link) 2>conftest.er1
3881 grep -v '^ *+' conftest.er1 >conftest.err
3883 cat conftest.err >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } &&
3886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; } &&
3892 { ac_try='test -s conftest$ac_exeext'
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; }; then
3898 ac_cv_func_shmat=yes
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.$ac_ext >&5
3905 rm -f conftest.err conftest.$ac_objext \
3906 conftest$ac_exeext conftest.$ac_ext
3908 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3909 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3911 if test $ac_cv_func_shmat = no; then
3912 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3913 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3914 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3917 ac_check_lib_save_LIBS=$LIBS
3919 cat >conftest.$ac_ext <<_ACEOF
3922 cat confdefs.h >>conftest.$ac_ext
3923 cat >>conftest.$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3926 /* Override any gcc2 internal prototype to avoid an error. */
3930 /* We use char because int might match the return type of a gcc2
3931 builtin and then its argument prototype would still apply. */
3941 rm -f conftest.$ac_objext conftest$ac_exeext
3942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3943 (eval $ac_link) 2>conftest.er1
3945 grep -v '^ *+' conftest.er1 >conftest.err
3947 cat conftest.err >&5
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try='test -s conftest$ac_exeext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 ac_cv_lib_ipc_shmat=yes
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3967 ac_cv_lib_ipc_shmat=no
3969 rm -f conftest.err conftest.$ac_objext \
3970 conftest$ac_exeext conftest.$ac_ext
3971 LIBS=$ac_check_lib_save_LIBS
3973 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3974 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3975 if test $ac_cv_lib_ipc_shmat = yes; then
3976 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
3982 # Check for libraries that X11R6 Xt/Xaw programs need.
3983 ac_save_LDFLAGS=$LDFLAGS
3984 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
3985 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3986 # check for ICE first), but we must link in the order -lSM -lICE or
3987 # we get undefined symbols. So assume we have SM if we have ICE.
3988 # These have to be linked with before -lX11, unlike the other
3989 # libraries we check for below, so use a different variable.
3990 # John Interrante, Karl Berry
3991 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3992 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3993 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 ac_check_lib_save_LIBS=$LIBS
3997 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
3998 cat >conftest.$ac_ext <<_ACEOF
4001 cat confdefs.h >>conftest.$ac_ext
4002 cat >>conftest.$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4005 /* Override any gcc2 internal prototype to avoid an error. */
4009 /* We use char because int might match the return type of a gcc2
4010 builtin and then its argument prototype would still apply. */
4011 char IceConnectionNumber ();
4015 IceConnectionNumber ();
4020 rm -f conftest.$ac_objext conftest$ac_exeext
4021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4022 (eval $ac_link) 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try='test -s conftest$ac_exeext'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4041 ac_cv_lib_ICE_IceConnectionNumber=yes
4043 echo "$as_me: failed program was:" >&5
4044 sed 's/^/| /' conftest.$ac_ext >&5
4046 ac_cv_lib_ICE_IceConnectionNumber=no
4048 rm -f conftest.err conftest.$ac_objext \
4049 conftest$ac_exeext conftest.$ac_ext
4050 LIBS=$ac_check_lib_save_LIBS
4052 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4053 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4054 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4055 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4058 LDFLAGS=$ac_save_LDFLAGS
4062 for ac_prog in 'bison -y' byacc
4064 # Extract the first word of "$ac_prog", so it can be a program name with args.
4065 set dummy $ac_prog; ac_word=$2
4066 echo "$as_me:$LINENO: checking for $ac_word" >&5
4067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4068 if test "${ac_cv_prog_YACC+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 if test -n "$YACC"; then
4072 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 test -z "$as_dir" && as_dir=.
4079 for ac_exec_ext in '' $ac_executable_extensions; do
4080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 ac_cv_prog_YACC="$ac_prog"
4082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 YACC=$ac_cv_prog_YACC
4091 if test -n "$YACC"; then
4092 echo "$as_me:$LINENO: result: $YACC" >&5
4093 echo "${ECHO_T}$YACC" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4099 test -n "$YACC" && break
4101 test -n "$YACC" || YACC="yacc"
4103 for ac_prog in flex lex
4105 # Extract the first word of "$ac_prog", so it can be a program name with args.
4106 set dummy $ac_prog; ac_word=$2
4107 echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4109 if test "${ac_cv_prog_LEX+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 if test -n "$LEX"; then
4113 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir=.
4120 for ac_exec_ext in '' $ac_executable_extensions; do
4121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4122 ac_cv_prog_LEX="$ac_prog"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 if test -n "$LEX"; then
4133 echo "$as_me:$LINENO: result: $LEX" >&5
4134 echo "${ECHO_T}$LEX" >&6
4136 echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4140 test -n "$LEX" && break
4142 test -n "$LEX" || LEX=":"
4144 if test -z "$LEXLIB"
4146 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4147 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4148 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 ac_check_lib_save_LIBS=$LIBS
4153 cat >conftest.$ac_ext <<_ACEOF
4156 cat confdefs.h >>conftest.$ac_ext
4157 cat >>conftest.$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4160 /* Override any gcc2 internal prototype to avoid an error. */
4164 /* We use char because int might match the return type of a gcc2
4165 builtin and then its argument prototype would still apply. */
4175 rm -f conftest.$ac_objext conftest$ac_exeext
4176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4177 (eval $ac_link) 2>conftest.er1
4179 grep -v '^ *+' conftest.er1 >conftest.err
4181 cat conftest.err >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } &&
4184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; } &&
4190 { ac_try='test -s conftest$ac_exeext'
4191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); }; }; then
4196 ac_cv_lib_fl_yywrap=yes
4198 echo "$as_me: failed program was:" >&5
4199 sed 's/^/| /' conftest.$ac_ext >&5
4201 ac_cv_lib_fl_yywrap=no
4203 rm -f conftest.err conftest.$ac_objext \
4204 conftest$ac_exeext conftest.$ac_ext
4205 LIBS=$ac_check_lib_save_LIBS
4207 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4208 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4209 if test $ac_cv_lib_fl_yywrap = yes; then
4212 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4213 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4214 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 ac_check_lib_save_LIBS=$LIBS
4219 cat >conftest.$ac_ext <<_ACEOF
4222 cat confdefs.h >>conftest.$ac_ext
4223 cat >>conftest.$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4226 /* Override any gcc2 internal prototype to avoid an error. */
4230 /* We use char because int might match the return type of a gcc2
4231 builtin and then its argument prototype would still apply. */
4241 rm -f conftest.$ac_objext conftest$ac_exeext
4242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4243 (eval $ac_link) 2>conftest.er1
4245 grep -v '^ *+' conftest.er1 >conftest.err
4247 cat conftest.err >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } &&
4250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; } &&
4256 { ac_try='test -s conftest$ac_exeext'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; }; then
4262 ac_cv_lib_l_yywrap=yes
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4267 ac_cv_lib_l_yywrap=no
4269 rm -f conftest.err conftest.$ac_objext \
4270 conftest$ac_exeext conftest.$ac_ext
4271 LIBS=$ac_check_lib_save_LIBS
4273 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4274 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4275 if test $ac_cv_lib_l_yywrap = yes; then
4283 if test "x$LEX" != "x:"; then
4284 echo "$as_me:$LINENO: checking lex output file root" >&5
4285 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4286 if test "${ac_cv_prog_lex_root+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 # The minimal lex program is just a single line: %%. But some broken lexes
4290 # (Solaris, I think it was) want two %% lines, so accommodate them.
4291 cat >conftest.l <<_ACEOF
4295 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4296 (eval $LEX conftest.l) 2>&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); }
4300 if test -f lex.yy.c; then
4301 ac_cv_prog_lex_root=lex.yy
4302 elif test -f lexyy.c; then
4303 ac_cv_prog_lex_root=lexyy
4305 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4306 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4307 { (exit 1); exit 1; }; }
4310 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4311 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4313 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4315 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4316 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4317 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 # POSIX says lex can declare yytext either as a pointer or an array; the
4321 # default is implementation-dependent. Figure out which it is, since
4322 # not all implementations provide the %pointer and %array declarations.
4323 ac_cv_prog_lex_yytext_pointer=no
4324 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4326 LIBS="$LIBS $LEXLIB"
4327 cat >conftest.$ac_ext <<_ACEOF
4328 `cat $LEX_OUTPUT_ROOT.c`
4330 rm -f conftest.$ac_objext conftest$ac_exeext
4331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4332 (eval $ac_link) 2>conftest.er1
4334 grep -v '^ *+' conftest.er1 >conftest.err
4336 cat conftest.err >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } &&
4339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); }; } &&
4345 { ac_try='test -s conftest$ac_exeext'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; }; then
4351 ac_cv_prog_lex_yytext_pointer=yes
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4357 rm -f conftest.err conftest.$ac_objext \
4358 conftest$ac_exeext conftest.$ac_ext
4360 rm -f "${LEX_OUTPUT_ROOT}.c"
4363 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4364 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4365 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4367 cat >>confdefs.h <<\_ACEOF
4368 #define YYTEXT_POINTER 1
4375 for ac_prog in $YACC bison yacc
4377 # Extract the first word of "$ac_prog", so it can be a program name with args.
4378 set dummy $ac_prog; ac_word=$2
4379 echo "$as_me:$LINENO: checking for $ac_word" >&5
4380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4381 if test "${ac_cv_prog_XYACC+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 if test -n "$XYACC"; then
4385 ac_cv_prog_XYACC="$XYACC" # Let the user override the test.
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_XYACC="$ac_prog"
4395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 XYACC=$ac_cv_prog_XYACC
4404 if test -n "$XYACC"; then
4405 echo "$as_me:$LINENO: result: $XYACC" >&5
4406 echo "${ECHO_T}$XYACC" >&6
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4412 test -n "$XYACC" && break
4414 test -n "$XYACC" || XYACC="none"
4416 if test "$XYACC" = "none"
4418 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4419 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4420 { (exit 1); exit 1; }; }
4422 for ac_prog in $LEX flex lex
4424 # Extract the first word of "$ac_prog", so it can be a program name with args.
4425 set dummy $ac_prog; ac_word=$2
4426 echo "$as_me:$LINENO: checking for $ac_word" >&5
4427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4428 if test "${ac_cv_prog_XLEX+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test -n "$XLEX"; then
4432 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_XLEX="$ac_prog"
4442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 XLEX=$ac_cv_prog_XLEX
4451 if test -n "$XLEX"; then
4452 echo "$as_me:$LINENO: result: $XLEX" >&5
4453 echo "${ECHO_T}$XLEX" >&6
4455 echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6
4459 test -n "$XLEX" && break
4461 test -n "$XLEX" || XLEX="none"
4463 if test "$XLEX" = "none"
4465 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4466 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4467 { (exit 1); exit 1; }; }
4470 if test -n "$ac_tool_prefix"; then
4471 for ac_prog in gas as
4473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4475 echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4477 if test "${ac_cv_prog_AS+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 if test -n "$AS"; then
4481 ac_cv_prog_AS="$AS" # Let the user override the test.
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 if test -n "$AS"; then
4501 echo "$as_me:$LINENO: result: $AS" >&5
4502 echo "${ECHO_T}$AS" >&6
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4508 test -n "$AS" && break
4511 if test -z "$AS"; then
4513 for ac_prog in gas as
4515 # Extract the first word of "$ac_prog", so it can be a program name with args.
4516 set dummy $ac_prog; ac_word=$2
4517 echo "$as_me:$LINENO: checking for $ac_word" >&5
4518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4519 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4520 echo $ECHO_N "(cached) $ECHO_C" >&6
4522 if test -n "$ac_ct_AS"; then
4523 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 test -z "$as_dir" && as_dir=.
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4532 ac_cv_prog_ac_ct_AS="$ac_prog"
4533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4542 if test -n "$ac_ct_AS"; then
4543 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4544 echo "${ECHO_T}$ac_ct_AS" >&6
4546 echo "$as_me:$LINENO: result: no" >&5
4547 echo "${ECHO_T}no" >&6
4550 test -n "$ac_ct_AS" && break
4552 test -n "$ac_ct_AS" || ac_ct_AS="as"
4557 if test -n "$ac_tool_prefix"; then
4558 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4559 set dummy ${ac_tool_prefix}ld; ac_word=$2
4560 echo "$as_me:$LINENO: checking for $ac_word" >&5
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4562 if test "${ac_cv_prog_LD+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 if test -n "$LD"; then
4566 ac_cv_prog_LD="$LD" # Let the user override the test.
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 ac_cv_prog_LD="${ac_tool_prefix}ld"
4576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 if test -n "$LD"; then
4586 echo "$as_me:$LINENO: result: $LD" >&5
4587 echo "${ECHO_T}$LD" >&6
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4594 if test -z "$ac_cv_prog_LD"; then
4596 # Extract the first word of "ld", so it can be a program name with args.
4597 set dummy ld; ac_word=$2
4598 echo "$as_me:$LINENO: checking for $ac_word" >&5
4599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4600 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 if test -n "$ac_ct_LD"; then
4604 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir=.
4611 for ac_exec_ext in '' $ac_executable_extensions; do
4612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_ac_ct_LD="ld"
4614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
4623 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4624 if test -n "$ac_ct_LD"; then
4625 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4626 echo "${ECHO_T}$ac_ct_LD" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4639 set dummy ${ac_tool_prefix}ar; ac_word=$2
4640 echo "$as_me:$LINENO: checking for $ac_word" >&5
4641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4642 if test "${ac_cv_prog_AR+set}" = set; then
4643 echo $ECHO_N "(cached) $ECHO_C" >&6
4645 if test -n "$AR"; then
4646 ac_cv_prog_AR="$AR" # Let the user override the test.
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_AR="${ac_tool_prefix}ar"
4656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 if test -n "$AR"; then
4666 echo "$as_me:$LINENO: result: $AR" >&5
4667 echo "${ECHO_T}$AR" >&6
4669 echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6
4674 if test -z "$ac_cv_prog_AR"; then
4676 # Extract the first word of "ar", so it can be a program name with args.
4677 set dummy ar; ac_word=$2
4678 echo "$as_me:$LINENO: checking for $ac_word" >&5
4679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4680 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 if test -n "$ac_ct_AR"; then
4684 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_ac_ct_AR="ar"
4694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4703 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4704 if test -n "$ac_ct_AR"; then
4705 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4706 echo "${ECHO_T}$ac_ct_AR" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4717 if test -n "$ac_tool_prefix"; then
4718 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4719 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4720 echo "$as_me:$LINENO: checking for $ac_word" >&5
4721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4722 if test "${ac_cv_prog_RANLIB+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 if test -n "$RANLIB"; then
4726 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir=.
4733 for ac_exec_ext in '' $ac_executable_extensions; do
4734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 RANLIB=$ac_cv_prog_RANLIB
4745 if test -n "$RANLIB"; then
4746 echo "$as_me:$LINENO: result: $RANLIB" >&5
4747 echo "${ECHO_T}$RANLIB" >&6
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4754 if test -z "$ac_cv_prog_RANLIB"; then
4755 ac_ct_RANLIB=$RANLIB
4756 # Extract the first word of "ranlib", so it can be a program name with args.
4757 set dummy ranlib; ac_word=$2
4758 echo "$as_me:$LINENO: checking for $ac_word" >&5
4759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4760 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 if test -n "$ac_ct_RANLIB"; then
4764 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4773 ac_cv_prog_ac_ct_RANLIB="ranlib"
4774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4783 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4784 if test -n "$ac_ct_RANLIB"; then
4785 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4786 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4792 RANLIB=$ac_ct_RANLIB
4794 RANLIB="$ac_cv_prog_RANLIB"
4797 if test -n "$ac_tool_prefix"; then
4798 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4799 set dummy ${ac_tool_prefix}strip; ac_word=$2
4800 echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802 if test "${ac_cv_prog_STRIP+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -n "$STRIP"; then
4806 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 STRIP=$ac_cv_prog_STRIP
4825 if test -n "$STRIP"; then
4826 echo "$as_me:$LINENO: result: $STRIP" >&5
4827 echo "${ECHO_T}$STRIP" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4834 if test -z "$ac_cv_prog_STRIP"; then
4836 # Extract the first word of "strip", so it can be a program name with args.
4837 set dummy strip; ac_word=$2
4838 echo "$as_me:$LINENO: checking for $ac_word" >&5
4839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 if test -n "$ac_ct_STRIP"; then
4844 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_ac_ct_STRIP="strip"
4854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
4863 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4864 if test -n "$ac_ct_STRIP"; then
4865 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4866 echo "${ECHO_T}$ac_ct_STRIP" >&6
4868 echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4874 STRIP="$ac_cv_prog_STRIP"
4877 if test -n "$ac_tool_prefix"; then
4878 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4879 set dummy ${ac_tool_prefix}windres; ac_word=$2
4880 echo "$as_me:$LINENO: checking for $ac_word" >&5
4881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4882 if test "${ac_cv_prog_WINDRES+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 if test -n "$WINDRES"; then
4886 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
4896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 WINDRES=$ac_cv_prog_WINDRES
4905 if test -n "$WINDRES"; then
4906 echo "$as_me:$LINENO: result: $WINDRES" >&5
4907 echo "${ECHO_T}$WINDRES" >&6
4909 echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6
4914 if test -z "$ac_cv_prog_WINDRES"; then
4915 ac_ct_WINDRES=$WINDRES
4916 # Extract the first word of "windres", so it can be a program name with args.
4917 set dummy windres; ac_word=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$ac_ct_WINDRES"; then
4924 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_ac_ct_WINDRES="windres"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
4943 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
4944 if test -n "$ac_ct_WINDRES"; then
4945 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4946 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4952 WINDRES=$ac_ct_WINDRES
4954 WINDRES="$ac_cv_prog_WINDRES"
4957 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4958 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4960 if test "$LN_S" = "ln -s"; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4964 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4965 echo "${ECHO_T}no, using $LN_S" >&6
4968 echo "$as_me:$LINENO: checking whether ln works" >&5
4969 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4970 rm -f conf$$ conf$$.file
4972 if ln conf$$.file conf$$ 2>/dev/null; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4980 echo "$as_me:$LINENO: result: no, using $LN" >&5
4981 echo "${ECHO_T}no, using $LN" >&6
4983 rm -f conf$$ conf$$.file
4984 # Extract the first word of "ldconfig", so it can be a program name with args.
4985 set dummy ldconfig; ac_word=$2
4986 echo "$as_me:$LINENO: checking for $ac_word" >&5
4987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4988 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4989 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in /sbin /usr/sbin $PATH
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5003 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5014 LDCONFIG=$ac_cv_path_LDCONFIG
5016 if test -n "$LDCONFIG"; then
5017 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5018 echo "${ECHO_T}$LDCONFIG" >&6
5020 echo "$as_me:$LINENO: result: no" >&5
5021 echo "${ECHO_T}no" >&6
5024 # Find a good install program. We prefer a C program (faster),
5025 # so one script is as good as another. But avoid the broken or
5026 # incompatible versions:
5027 # SysV /etc/install, /usr/sbin/install
5028 # SunOS /usr/etc/install
5029 # IRIX /sbin/install
5031 # AmigaOS /C/install, which installs bootblocks on floppy discs
5032 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5033 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5034 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5035 # OS/2's system install, which has a completely different semantic
5036 # ./install, which can be erroneously created by make from ./install.sh.
5037 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5038 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5039 if test -z "$INSTALL"; then
5040 if test "${ac_cv_path_install+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 test -z "$as_dir" && as_dir=.
5048 # Account for people who put trailing slashes in PATH elements.
5050 ./ | .// | /cC/* | \
5051 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5052 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5055 # OSF1 and SCO ODT 3.0 have their own names for install.
5056 # Don't use installbsd from OSF since it installs stuff as root
5058 for ac_prog in ginstall scoinst install; do
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5061 if test $ac_prog = install &&
5062 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5063 # AIX install. It has an incompatible calling convention.
5065 elif test $ac_prog = install &&
5066 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5067 # program-specific install script used by HP pwplus--don't use.
5070 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5082 if test "${ac_cv_path_install+set}" = set; then
5083 INSTALL=$ac_cv_path_install
5085 # As a last resort, use the slow shell script. We don't cache a
5086 # path for INSTALL within a source directory, because that will
5087 # break other packages using the cache if that directory is
5088 # removed, or if the path is relative.
5089 INSTALL=$ac_install_sh
5092 echo "$as_me:$LINENO: result: $INSTALL" >&5
5093 echo "${ECHO_T}$INSTALL" >&6
5095 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5096 # It thinks the first close brace ends the variable substitution.
5097 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5099 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5101 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5104 [\\/$]* | ?:[\\/]* ) ;;
5105 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5108 for ac_prog in lclint lint
5110 # Extract the first word of "$ac_prog", so it can be a program name with args.
5111 set dummy $ac_prog; ac_word=$2
5112 echo "$as_me:$LINENO: checking for $ac_word" >&5
5113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5114 if test "${ac_cv_prog_LINT+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 if test -n "$LINT"; then
5118 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_LINT="$ac_prog"
5128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 LINT=$ac_cv_prog_LINT
5137 if test -n "$LINT"; then
5138 echo "$as_me:$LINENO: result: $LINT" >&5
5139 echo "${ECHO_T}$LINT" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5145 test -n "$LINT" && break
5148 if test "$LINT" = "lint"
5150 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5155 for ac_prog in docbook2html db2html
5157 # Extract the first word of "$ac_prog", so it can be a program name with args.
5158 set dummy $ac_prog; ac_word=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$DB2HTML"; then
5165 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_DB2HTML="$ac_prog"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 DB2HTML=$ac_cv_prog_DB2HTML
5184 if test -n "$DB2HTML"; then
5185 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5186 echo "${ECHO_T}$DB2HTML" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5192 test -n "$DB2HTML" && break
5194 test -n "$DB2HTML" || DB2HTML="false"
5198 for ac_prog in docbook2pdf db2pdf
5200 # Extract the first word of "$ac_prog", so it can be a program name with args.
5201 set dummy $ac_prog; ac_word=$2
5202 echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5204 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 if test -n "$DB2PDF"; then
5208 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_DB2PDF="$ac_prog"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 DB2PDF=$ac_cv_prog_DB2PDF
5227 if test -n "$DB2PDF"; then
5228 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5229 echo "${ECHO_T}$DB2PDF" >&6
5231 echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6
5235 test -n "$DB2PDF" && break
5237 test -n "$DB2PDF" || DB2PDF="false"
5241 for ac_prog in docbook2ps db2ps
5243 # Extract the first word of "$ac_prog", so it can be a program name with args.
5244 set dummy $ac_prog; ac_word=$2
5245 echo "$as_me:$LINENO: checking for $ac_word" >&5
5246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5247 if test "${ac_cv_prog_DB2PS+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 if test -n "$DB2PS"; then
5251 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_DB2PS="$ac_prog"
5261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 DB2PS=$ac_cv_prog_DB2PS
5270 if test -n "$DB2PS"; then
5271 echo "$as_me:$LINENO: result: $DB2PS" >&5
5272 echo "${ECHO_T}$DB2PS" >&6
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5278 test -n "$DB2PS" && break
5280 test -n "$DB2PS" || DB2PS="false"
5284 for ac_prog in docbook2txt db2txt
5286 # Extract the first word of "$ac_prog", so it can be a program name with args.
5287 set dummy $ac_prog; ac_word=$2
5288 echo "$as_me:$LINENO: checking for $ac_word" >&5
5289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5290 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 if test -n "$DB2TXT"; then
5294 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir=.
5301 for ac_exec_ext in '' $ac_executable_extensions; do
5302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5303 ac_cv_prog_DB2TXT="$ac_prog"
5304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5312 DB2TXT=$ac_cv_prog_DB2TXT
5313 if test -n "$DB2TXT"; then
5314 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5315 echo "${ECHO_T}$DB2TXT" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5321 test -n "$DB2TXT" && break
5323 test -n "$DB2TXT" || DB2TXT="false"
5329 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5330 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5331 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5332 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 ac_check_lib_save_LIBS=$LIBS
5336 cat >conftest.$ac_ext <<_ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5343 /* Override any gcc2 internal prototype to avoid an error. */
5347 /* We use char because int might match the return type of a gcc2
5348 builtin and then its argument prototype would still apply. */
5358 rm -f conftest.$ac_objext conftest$ac_exeext
5359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5360 (eval $ac_link) 2>conftest.er1
5362 grep -v '^ *+' conftest.er1 >conftest.err
5364 cat conftest.err >&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } &&
5367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }; } &&
5373 { ac_try='test -s conftest$ac_exeext'
5374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; }; then
5379 ac_cv_lib_m_sqrt=yes
5381 echo "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.$ac_ext >&5
5386 rm -f conftest.err conftest.$ac_objext \
5387 conftest$ac_exeext conftest.$ac_ext
5388 LIBS=$ac_check_lib_save_LIBS
5390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5391 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5392 if test $ac_cv_lib_m_sqrt = yes; then
5393 cat >>confdefs.h <<_ACEOF
5402 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5403 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5404 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5405 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 ac_check_lib_save_LIBS=$LIBS
5409 cat >conftest.$ac_ext <<_ACEOF
5412 cat confdefs.h >>conftest.$ac_ext
5413 cat >>conftest.$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5416 /* Override any gcc2 internal prototype to avoid an error. */
5420 /* We use char because int might match the return type of a gcc2
5421 builtin and then its argument prototype would still apply. */
5422 char i386_set_ldt ();
5431 rm -f conftest.$ac_objext conftest$ac_exeext
5432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5433 (eval $ac_link) 2>conftest.er1
5435 grep -v '^ *+' conftest.er1 >conftest.err
5437 cat conftest.err >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } &&
5440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; } &&
5446 { ac_try='test -s conftest$ac_exeext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5452 ac_cv_lib_i386_i386_set_ldt=yes
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.$ac_ext >&5
5457 ac_cv_lib_i386_i386_set_ldt=no
5459 rm -f conftest.err conftest.$ac_objext \
5460 conftest$ac_exeext conftest.$ac_ext
5461 LIBS=$ac_check_lib_save_LIBS
5463 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5464 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5465 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5466 cat >>confdefs.h <<_ACEOF
5467 #define HAVE_LIBI386 1
5475 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5476 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5477 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 ac_check_lib_save_LIBS=$LIBS
5481 LIBS="-lossaudio $LIBS"
5482 cat >conftest.$ac_ext <<_ACEOF
5485 cat confdefs.h >>conftest.$ac_ext
5486 cat >>conftest.$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5489 /* Override any gcc2 internal prototype to avoid an error. */
5493 /* We use char because int might match the return type of a gcc2
5494 builtin and then its argument prototype would still apply. */
5504 rm -f conftest.$ac_objext conftest$ac_exeext
5505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5506 (eval $ac_link) 2>conftest.er1
5508 grep -v '^ *+' conftest.er1 >conftest.err
5510 cat conftest.err >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); } &&
5513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; } &&
5519 { ac_try='test -s conftest$ac_exeext'
5520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_lib_ossaudio__oss_ioctl=yes
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5530 ac_cv_lib_ossaudio__oss_ioctl=no
5532 rm -f conftest.err conftest.$ac_objext \
5533 conftest$ac_exeext conftest.$ac_ext
5534 LIBS=$ac_check_lib_save_LIBS
5536 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5537 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5538 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5539 cat >>confdefs.h <<_ACEOF
5540 #define HAVE_LIBOSSAUDIO 1
5543 LIBS="-lossaudio $LIBS"
5548 for ac_func in iswalnum
5550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5551 echo "$as_me:$LINENO: checking for $ac_func" >&5
5552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5553 if eval "test \"\${$as_ac_var+set}\" = set"; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 cat >conftest.$ac_ext <<_ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5564 #define $ac_func innocuous_$ac_func
5566 /* System header to define __stub macros and hopefully few prototypes,
5567 which can conflict with char $ac_func (); below.
5568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5569 <limits.h> exists even on freestanding compilers. */
5572 # include <limits.h>
5574 # include <assert.h>
5579 /* Override any gcc2 internal prototype to avoid an error. */
5584 /* We use char because int might match the return type of a gcc2
5585 builtin and then its argument prototype would still apply. */
5587 /* The GNU C library defines this for functions which it implements
5588 to always fail with ENOSYS. Some functions are actually named
5589 something starting with __ and the normal name is an alias. */
5590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5593 char (*f) () = $ac_func;
5602 return f != $ac_func;
5607 rm -f conftest.$ac_objext conftest$ac_exeext
5608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5609 (eval $ac_link) 2>conftest.er1
5611 grep -v '^ *+' conftest.er1 >conftest.err
5613 cat conftest.err >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); } &&
5616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } &&
5622 { ac_try='test -s conftest$ac_exeext'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then
5628 eval "$as_ac_var=yes"
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5633 eval "$as_ac_var=no"
5635 rm -f conftest.err conftest.$ac_objext \
5636 conftest$ac_exeext conftest.$ac_ext
5638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5640 if test `eval echo '${'$as_ac_var'}'` = yes; then
5641 cat >>confdefs.h <<_ACEOF
5642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5647 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5648 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5649 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 ac_check_lib_save_LIBS=$LIBS
5654 cat >conftest.$ac_ext <<_ACEOF
5657 cat confdefs.h >>conftest.$ac_ext
5658 cat >>conftest.$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5661 /* Override any gcc2 internal prototype to avoid an error. */
5665 /* We use char because int might match the return type of a gcc2
5666 builtin and then its argument prototype would still apply. */
5676 rm -f conftest.$ac_objext conftest$ac_exeext
5677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678 (eval $ac_link) 2>conftest.er1
5680 grep -v '^ *+' conftest.er1 >conftest.err
5682 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } &&
5685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5690 (exit $ac_status); }; } &&
5691 { ac_try='test -s conftest$ac_exeext'
5692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; }; then
5697 ac_cv_lib_w_iswalnum=yes
5699 echo "$as_me: failed program was:" >&5
5700 sed 's/^/| /' conftest.$ac_ext >&5
5702 ac_cv_lib_w_iswalnum=no
5704 rm -f conftest.err conftest.$ac_objext \
5705 conftest$ac_exeext conftest.$ac_ext
5706 LIBS=$ac_check_lib_save_LIBS
5708 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5709 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5710 if test $ac_cv_lib_w_iswalnum = yes; then
5711 cat >>confdefs.h <<_ACEOF
5723 for ac_func in gethostbyname
5725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5726 echo "$as_me:$LINENO: checking for $ac_func" >&5
5727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5728 if eval "test \"\${$as_ac_var+set}\" = set"; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 cat >conftest.$ac_ext <<_ACEOF
5734 cat confdefs.h >>conftest.$ac_ext
5735 cat >>conftest.$ac_ext <<_ACEOF
5736 /* end confdefs.h. */
5737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5739 #define $ac_func innocuous_$ac_func
5741 /* System header to define __stub macros and hopefully few prototypes,
5742 which can conflict with char $ac_func (); below.
5743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5744 <limits.h> exists even on freestanding compilers. */
5747 # include <limits.h>
5749 # include <assert.h>
5754 /* Override any gcc2 internal prototype to avoid an error. */
5759 /* We use char because int might match the return type of a gcc2
5760 builtin and then its argument prototype would still apply. */
5762 /* The GNU C library defines this for functions which it implements
5763 to always fail with ENOSYS. Some functions are actually named
5764 something starting with __ and the normal name is an alias. */
5765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5768 char (*f) () = $ac_func;
5777 return f != $ac_func;
5782 rm -f conftest.$ac_objext conftest$ac_exeext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784 (eval $ac_link) 2>conftest.er1
5786 grep -v '^ *+' conftest.er1 >conftest.err
5788 cat conftest.err >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } &&
5791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; } &&
5797 { ac_try='test -s conftest$ac_exeext'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; }; then
5803 eval "$as_ac_var=yes"
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.$ac_ext >&5
5808 eval "$as_ac_var=no"
5810 rm -f conftest.err conftest.$ac_objext \
5811 conftest$ac_exeext conftest.$ac_ext
5813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5815 if test `eval echo '${'$as_ac_var'}'` = yes; then
5816 cat >>confdefs.h <<_ACEOF
5817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5822 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5823 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5824 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 ac_check_lib_save_LIBS=$LIBS
5829 cat >conftest.$ac_ext <<_ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5836 /* Override any gcc2 internal prototype to avoid an error. */
5840 /* We use char because int might match the return type of a gcc2
5841 builtin and then its argument prototype would still apply. */
5842 char gethostbyname ();
5851 rm -f conftest.$ac_objext conftest$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>conftest.er1
5855 grep -v '^ *+' conftest.er1 >conftest.err
5857 cat conftest.err >&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } &&
5860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; } &&
5866 { ac_try='test -s conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 ac_cv_lib_nsl_gethostbyname=yes
5874 echo "$as_me: failed program was:" >&5
5875 sed 's/^/| /' conftest.$ac_ext >&5
5877 ac_cv_lib_nsl_gethostbyname=no
5879 rm -f conftest.err conftest.$ac_objext \
5880 conftest$ac_exeext conftest.$ac_ext
5881 LIBS=$ac_check_lib_save_LIBS
5883 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5884 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5885 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5886 cat >>confdefs.h <<_ACEOF
5887 #define HAVE_LIBNSL 1
5898 for ac_func in connect
5900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5901 echo "$as_me:$LINENO: checking for $ac_func" >&5
5902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5903 if eval "test \"\${$as_ac_var+set}\" = set"; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 cat >conftest.$ac_ext <<_ACEOF
5909 cat confdefs.h >>conftest.$ac_ext
5910 cat >>conftest.$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5914 #define $ac_func innocuous_$ac_func
5916 /* System header to define __stub macros and hopefully few prototypes,
5917 which can conflict with char $ac_func (); below.
5918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5919 <limits.h> exists even on freestanding compilers. */
5922 # include <limits.h>
5924 # include <assert.h>
5929 /* Override any gcc2 internal prototype to avoid an error. */
5934 /* We use char because int might match the return type of a gcc2
5935 builtin and then its argument prototype would still apply. */
5937 /* The GNU C library defines this for functions which it implements
5938 to always fail with ENOSYS. Some functions are actually named
5939 something starting with __ and the normal name is an alias. */
5940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5943 char (*f) () = $ac_func;
5952 return f != $ac_func;
5957 rm -f conftest.$ac_objext conftest$ac_exeext
5958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5959 (eval $ac_link) 2>conftest.er1
5961 grep -v '^ *+' conftest.er1 >conftest.err
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } &&
5966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } &&
5972 { ac_try='test -s conftest$ac_exeext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5978 eval "$as_ac_var=yes"
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.$ac_ext >&5
5983 eval "$as_ac_var=no"
5985 rm -f conftest.err conftest.$ac_objext \
5986 conftest$ac_exeext conftest.$ac_ext
5988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5990 if test `eval echo '${'$as_ac_var'}'` = yes; then
5991 cat >>confdefs.h <<_ACEOF
5992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5997 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5998 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5999 if test "${ac_cv_lib_socket_connect+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 ac_check_lib_save_LIBS=$LIBS
6003 LIBS="-lsocket $LIBS"
6004 cat >conftest.$ac_ext <<_ACEOF
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6011 /* Override any gcc2 internal prototype to avoid an error. */
6015 /* We use char because int might match the return type of a gcc2
6016 builtin and then its argument prototype would still apply. */
6026 rm -f conftest.$ac_objext conftest$ac_exeext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028 (eval $ac_link) 2>conftest.er1
6030 grep -v '^ *+' conftest.er1 >conftest.err
6032 cat conftest.err >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } &&
6035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; } &&
6041 { ac_try='test -s conftest$ac_exeext'
6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); }; }; then
6047 ac_cv_lib_socket_connect=yes
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.$ac_ext >&5
6052 ac_cv_lib_socket_connect=no
6054 rm -f conftest.err conftest.$ac_objext \
6055 conftest$ac_exeext conftest.$ac_ext
6056 LIBS=$ac_check_lib_save_LIBS
6058 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6059 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6060 if test $ac_cv_lib_socket_connect = yes; then
6061 cat >>confdefs.h <<_ACEOF
6062 #define HAVE_LIBSOCKET 1
6065 LIBS="-lsocket $LIBS"
6073 for ac_func in inet_aton
6075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6076 echo "$as_me:$LINENO: checking for $ac_func" >&5
6077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6078 if eval "test \"\${$as_ac_var+set}\" = set"; then
6079 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 cat >conftest.$ac_ext <<_ACEOF
6084 cat confdefs.h >>conftest.$ac_ext
6085 cat >>conftest.$ac_ext <<_ACEOF
6086 /* end confdefs.h. */
6087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6089 #define $ac_func innocuous_$ac_func
6091 /* System header to define __stub macros and hopefully few prototypes,
6092 which can conflict with char $ac_func (); below.
6093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6094 <limits.h> exists even on freestanding compilers. */
6097 # include <limits.h>
6099 # include <assert.h>
6104 /* Override any gcc2 internal prototype to avoid an error. */
6109 /* We use char because int might match the return type of a gcc2
6110 builtin and then its argument prototype would still apply. */
6112 /* The GNU C library defines this for functions which it implements
6113 to always fail with ENOSYS. Some functions are actually named
6114 something starting with __ and the normal name is an alias. */
6115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6118 char (*f) () = $ac_func;
6127 return f != $ac_func;
6132 rm -f conftest.$ac_objext conftest$ac_exeext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6134 (eval $ac_link) 2>conftest.er1
6136 grep -v '^ *+' conftest.er1 >conftest.err
6138 cat conftest.err >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; } &&
6147 { ac_try='test -s conftest$ac_exeext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6153 eval "$as_ac_var=yes"
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6158 eval "$as_ac_var=no"
6160 rm -f conftest.err conftest.$ac_objext \
6161 conftest$ac_exeext conftest.$ac_ext
6163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6165 if test `eval echo '${'$as_ac_var'}'` = yes; then
6166 cat >>confdefs.h <<_ACEOF
6167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6172 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6173 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6174 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 ac_check_lib_save_LIBS=$LIBS
6178 LIBS="-lresolv $LIBS"
6179 cat >conftest.$ac_ext <<_ACEOF
6182 cat confdefs.h >>conftest.$ac_ext
6183 cat >>conftest.$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6186 /* Override any gcc2 internal prototype to avoid an error. */
6190 /* We use char because int might match the return type of a gcc2
6191 builtin and then its argument prototype would still apply. */
6201 rm -f conftest.$ac_objext conftest$ac_exeext
6202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6203 (eval $ac_link) 2>conftest.er1
6205 grep -v '^ *+' conftest.er1 >conftest.err
6207 cat conftest.err >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try='test -s conftest$ac_exeext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 ac_cv_lib_resolv_inet_aton=yes
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6227 ac_cv_lib_resolv_inet_aton=no
6229 rm -f conftest.err conftest.$ac_objext \
6230 conftest$ac_exeext conftest.$ac_ext
6231 LIBS=$ac_check_lib_save_LIBS
6233 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6234 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6235 if test $ac_cv_lib_resolv_inet_aton = yes; then
6236 cat >>confdefs.h <<_ACEOF
6237 #define HAVE_LIBRESOLV 1
6240 LIBS="-lresolv $LIBS"
6248 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6249 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6250 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 ac_check_lib_save_LIBS=$LIBS
6255 cat >conftest.$ac_ext <<_ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any gcc2 internal prototype to avoid an error. */
6266 /* We use char because int might match the return type of a gcc2
6267 builtin and then its argument prototype would still apply. */
6268 char _xpg4_setrunelocale ();
6272 _xpg4_setrunelocale ();
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6279 (eval $ac_link) 2>conftest.er1
6281 grep -v '^ *+' conftest.er1 >conftest.err
6283 cat conftest.err >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } &&
6286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }; } &&
6292 { ac_try='test -s conftest$ac_exeext'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6298 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6303 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6305 rm -f conftest.err conftest.$ac_objext \
6306 conftest$ac_exeext conftest.$ac_ext
6307 LIBS=$ac_check_lib_save_LIBS
6309 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6310 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6311 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_LIBXPG4 1
6321 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6322 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6323 if test "${ac_cv_lib_poll_poll+set}" = set; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 ac_check_lib_save_LIBS=$LIBS
6328 cat >conftest.$ac_ext <<_ACEOF
6331 cat confdefs.h >>conftest.$ac_ext
6332 cat >>conftest.$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6335 /* Override any gcc2 internal prototype to avoid an error. */
6339 /* We use char because int might match the return type of a gcc2
6340 builtin and then its argument prototype would still apply. */
6350 rm -f conftest.$ac_objext conftest$ac_exeext
6351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6352 (eval $ac_link) 2>conftest.er1
6354 grep -v '^ *+' conftest.er1 >conftest.err
6356 cat conftest.err >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } &&
6359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try='test -s conftest$ac_exeext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6371 ac_cv_lib_poll_poll=yes
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6376 ac_cv_lib_poll_poll=no
6378 rm -f conftest.err conftest.$ac_objext \
6379 conftest$ac_exeext conftest.$ac_ext
6380 LIBS=$ac_check_lib_save_LIBS
6382 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6383 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6384 if test $ac_cv_lib_poll_poll = yes; then
6385 cat >>confdefs.h <<_ACEOF
6386 #define HAVE_LIBPOLL 1
6393 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6394 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6395 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 ac_check_lib_save_LIBS=$LIBS
6399 LIBS="-lpthread $LIBS"
6400 cat >conftest.$ac_ext <<_ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any gcc2 internal prototype to avoid an error. */
6411 /* We use char because int might match the return type of a gcc2
6412 builtin and then its argument prototype would still apply. */
6413 char pthread_create ();
6422 rm -f conftest.$ac_objext conftest$ac_exeext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6424 (eval $ac_link) 2>conftest.er1
6426 grep -v '^ *+' conftest.er1 >conftest.err
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; } &&
6437 { ac_try='test -s conftest$ac_exeext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 ac_cv_lib_pthread_pthread_create=yes
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6448 ac_cv_lib_pthread_pthread_create=no
6450 rm -f conftest.err conftest.$ac_objext \
6451 conftest$ac_exeext conftest.$ac_ext
6452 LIBS=$ac_check_lib_save_LIBS
6454 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6455 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6456 if test $ac_cv_lib_pthread_pthread_create = yes; then
6457 LIBPTHREAD="-lpthread"
6464 echo "$as_me:$LINENO: checking for egrep" >&5
6465 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6466 if test "${ac_cv_prog_egrep+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6470 then ac_cv_prog_egrep='grep -E'
6471 else ac_cv_prog_egrep='egrep'
6474 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6475 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6476 EGREP=$ac_cv_prog_egrep
6479 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6480 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6481 if test "${ac_cv_header_stdc+set}" = set; then
6482 echo $ECHO_N "(cached) $ECHO_C" >&6
6484 cat >conftest.$ac_ext <<_ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6503 rm -f conftest.$ac_objext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6505 (eval $ac_compile) 2>conftest.er1
6507 grep -v '^ *+' conftest.er1 >conftest.err
6509 cat conftest.err >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } &&
6512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); }; } &&
6518 { ac_try='test -s conftest.$ac_objext'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; }; then
6524 ac_cv_header_stdc=yes
6526 echo "$as_me: failed program was:" >&5
6527 sed 's/^/| /' conftest.$ac_ext >&5
6529 ac_cv_header_stdc=no
6531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6533 if test $ac_cv_header_stdc = yes; then
6534 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6535 cat >conftest.$ac_ext <<_ACEOF
6538 cat confdefs.h >>conftest.$ac_ext
6539 cat >>conftest.$ac_ext <<_ACEOF
6540 /* end confdefs.h. */
6544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6545 $EGREP "memchr" >/dev/null 2>&1; then
6548 ac_cv_header_stdc=no
6554 if test $ac_cv_header_stdc = yes; then
6555 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6556 cat >conftest.$ac_ext <<_ACEOF
6559 cat confdefs.h >>conftest.$ac_ext
6560 cat >>conftest.$ac_ext <<_ACEOF
6561 /* end confdefs.h. */
6565 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6566 $EGREP "free" >/dev/null 2>&1; then
6569 ac_cv_header_stdc=no
6575 if test $ac_cv_header_stdc = yes; then
6576 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6577 if test "$cross_compiling" = yes; then
6580 cat >conftest.$ac_ext <<_ACEOF
6583 cat confdefs.h >>conftest.$ac_ext
6584 cat >>conftest.$ac_ext <<_ACEOF
6585 /* end confdefs.h. */
6587 #if ((' ' & 0x0FF) == 0x020)
6588 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6589 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6591 # define ISLOWER(c) \
6592 (('a' <= (c) && (c) <= 'i') \
6593 || ('j' <= (c) && (c) <= 'r') \
6594 || ('s' <= (c) && (c) <= 'z'))
6595 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6598 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6603 for (i = 0; i < 256; i++)
6604 if (XOR (islower (i), ISLOWER (i))
6605 || toupper (i) != TOUPPER (i))
6610 rm -f conftest$ac_exeext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6612 (eval $ac_link) 2>&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6623 echo "$as_me: program exited with status $ac_status" >&5
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6628 ac_cv_header_stdc=no
6630 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define STDC_HEADERS 1
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 cat >conftest.$ac_ext <<_ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6673 rm -f conftest.$ac_objext
6674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6675 (eval $ac_compile) 2>conftest.er1
6677 grep -v '^ *+' conftest.er1 >conftest.err
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } &&
6682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; } &&
6688 { ac_try='test -s conftest.$ac_objext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 eval "$as_ac_Header=yes"
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.$ac_ext >&5
6699 eval "$as_ac_Header=no"
6701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6706 cat >>confdefs.h <<_ACEOF
6707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6716 for ac_header in jpeglib.h
6718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6720 echo "$as_me:$LINENO: checking for $ac_header" >&5
6721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6728 # Is the header compilable?
6729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6731 cat >conftest.$ac_ext <<_ACEOF
6734 cat confdefs.h >>conftest.$ac_ext
6735 cat >>conftest.$ac_ext <<_ACEOF
6736 /* end confdefs.h. */
6737 $ac_includes_default
6738 #include <$ac_header>
6740 rm -f conftest.$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742 (eval $ac_compile) 2>conftest.er1
6744 grep -v '^ *+' conftest.er1 >conftest.err
6746 cat conftest.err >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } &&
6749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); }; } &&
6755 { ac_try='test -s conftest.$ac_objext'
6756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; }; then
6761 ac_header_compiler=yes
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6766 ac_header_compiler=no
6768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6770 echo "${ECHO_T}$ac_header_compiler" >&6
6772 # Is the header present?
6773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6775 cat >conftest.$ac_ext <<_ACEOF
6778 cat confdefs.h >>conftest.$ac_ext
6779 cat >>conftest.$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6781 #include <$ac_header>
6783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6786 grep -v '^ *+' conftest.er1 >conftest.err
6788 cat conftest.err >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } >/dev/null; then
6791 if test -s conftest.err; then
6792 ac_cpp_err=$ac_c_preproc_warn_flag
6793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6800 if test -z "$ac_cpp_err"; then
6801 ac_header_preproc=yes
6803 echo "$as_me: failed program was:" >&5
6804 sed 's/^/| /' conftest.$ac_ext >&5
6806 ac_header_preproc=no
6808 rm -f conftest.err conftest.$ac_ext
6809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6810 echo "${ECHO_T}$ac_header_preproc" >&6
6812 # So? What about this header?
6813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6819 ac_header_preproc=yes
6822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6836 ## ------------------------------------ ##
6837 ## Report this to wine-devel@winehq.org ##
6838 ## ------------------------------------ ##
6841 sed "s/^/$as_me: WARNING: /" >&2
6844 echo "$as_me:$LINENO: checking for $ac_header" >&5
6845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 eval "$as_ac_Header=\$ac_header_preproc"
6851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6856 cat >>confdefs.h <<_ACEOF
6857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6859 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6860 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6861 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 ac_check_lib_save_LIBS=$LIBS
6866 cat >conftest.$ac_ext <<_ACEOF
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6873 /* Override any gcc2 internal prototype to avoid an error. */
6877 /* We use char because int might match the return type of a gcc2
6878 builtin and then its argument prototype would still apply. */
6879 char jpeg_start_decompress ();
6883 jpeg_start_decompress ();
6888 rm -f conftest.$ac_objext conftest$ac_exeext
6889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6890 (eval $ac_link) 2>conftest.er1
6892 grep -v '^ *+' conftest.er1 >conftest.err
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } &&
6897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try='test -s conftest$ac_exeext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 ac_cv_lib_jpeg_jpeg_start_decompress=yes
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.$ac_ext >&5
6914 ac_cv_lib_jpeg_jpeg_start_decompress=no
6916 rm -f conftest.err conftest.$ac_objext \
6917 conftest$ac_exeext conftest.$ac_ext
6918 LIBS=$ac_check_lib_save_LIBS
6920 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6921 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6922 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6924 cat >>confdefs.h <<\_ACEOF
6925 #define HAVE_LIBJPEG 1
6941 for ac_header in gif_lib.h
6943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6945 echo "$as_me:$LINENO: checking for $ac_header" >&5
6946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6953 # Is the header compilable?
6954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6956 cat >conftest.$ac_ext <<_ACEOF
6959 cat confdefs.h >>conftest.$ac_ext
6960 cat >>conftest.$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6962 $ac_includes_default
6963 #include <$ac_header>
6965 rm -f conftest.$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>conftest.er1
6969 grep -v '^ *+' conftest.er1 >conftest.err
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; } &&
6980 { ac_try='test -s conftest.$ac_objext'
6981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; }; then
6986 ac_header_compiler=yes
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.$ac_ext >&5
6991 ac_header_compiler=no
6993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6995 echo "${ECHO_T}$ac_header_compiler" >&6
6997 # Is the header present?
6998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7000 cat >conftest.$ac_ext <<_ACEOF
7003 cat confdefs.h >>conftest.$ac_ext
7004 cat >>conftest.$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7006 #include <$ac_header>
7008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7011 grep -v '^ *+' conftest.er1 >conftest.err
7013 cat conftest.err >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); } >/dev/null; then
7016 if test -s conftest.err; then
7017 ac_cpp_err=$ac_c_preproc_warn_flag
7018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7025 if test -z "$ac_cpp_err"; then
7026 ac_header_preproc=yes
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7031 ac_header_preproc=no
7033 rm -f conftest.err conftest.$ac_ext
7034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7035 echo "${ECHO_T}$ac_header_preproc" >&6
7037 # So? What about this header?
7038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7044 ac_header_preproc=yes
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7061 ## ------------------------------------ ##
7062 ## Report this to wine-devel@winehq.org ##
7063 ## ------------------------------------ ##
7066 sed "s/^/$as_me: WARNING: /" >&2
7069 echo "$as_me:$LINENO: checking for $ac_header" >&5
7070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7074 eval "$as_ac_Header=\$ac_header_preproc"
7076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7081 cat >>confdefs.h <<_ACEOF
7082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7084 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7085 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7086 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7087 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 ac_check_lib_save_LIBS=$LIBS
7090 LIBS="-lungif $LIBS"
7091 cat >conftest.$ac_ext <<_ACEOF
7094 cat confdefs.h >>conftest.$ac_ext
7095 cat >>conftest.$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7098 /* Override any gcc2 internal prototype to avoid an error. */
7102 /* We use char because int might match the return type of a gcc2
7103 builtin and then its argument prototype would still apply. */
7113 rm -f conftest.$ac_objext conftest$ac_exeext
7114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115 (eval $ac_link) 2>conftest.er1
7117 grep -v '^ *+' conftest.er1 >conftest.err
7119 cat conftest.err >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } &&
7122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; } &&
7128 { ac_try='test -s conftest$ac_exeext'
7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); }; }; then
7134 ac_cv_lib_ungif_DGifOpen=yes
7136 echo "$as_me: failed program was:" >&5
7137 sed 's/^/| /' conftest.$ac_ext >&5
7139 ac_cv_lib_ungif_DGifOpen=no
7141 rm -f conftest.err conftest.$ac_objext \
7142 conftest$ac_exeext conftest.$ac_ext
7143 LIBS=$ac_check_lib_save_LIBS
7145 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7146 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7147 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7149 cat >>confdefs.h <<\_ACEOF
7150 #define HAVE_LIBGIF 1
7155 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7156 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7157 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 ac_check_lib_save_LIBS=$LIBS
7162 cat >conftest.$ac_ext <<_ACEOF
7165 cat confdefs.h >>conftest.$ac_ext
7166 cat >>conftest.$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7169 /* Override any gcc2 internal prototype to avoid an error. */
7173 /* We use char because int might match the return type of a gcc2
7174 builtin and then its argument prototype would still apply. */
7184 rm -f conftest.$ac_objext conftest$ac_exeext
7185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7186 (eval $ac_link) 2>conftest.er1
7188 grep -v '^ *+' conftest.er1 >conftest.err
7190 cat conftest.err >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } &&
7193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); }; } &&
7199 { ac_try='test -s conftest$ac_exeext'
7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); }; }; then
7205 ac_cv_lib_gif_DGifOpen=yes
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.$ac_ext >&5
7210 ac_cv_lib_gif_DGifOpen=no
7212 rm -f conftest.err conftest.$ac_objext \
7213 conftest$ac_exeext conftest.$ac_ext
7214 LIBS=$ac_check_lib_save_LIBS
7216 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7217 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7218 if test $ac_cv_lib_gif_DGifOpen = yes; then
7219 cat >>confdefs.h <<\_ACEOF
7220 #define HAVE_LIBGIF 1
7242 if test "$have_x" = "yes"
7245 ac_save_CPPFLAGS="$CPPFLAGS"
7246 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7249 for ac_header in X11/Xlib.h
7251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7253 echo "$as_me:$LINENO: checking for $ac_header" >&5
7254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7261 # Is the header compilable?
7262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7264 cat >conftest.$ac_ext <<_ACEOF
7267 cat confdefs.h >>conftest.$ac_ext
7268 cat >>conftest.$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7270 $ac_includes_default
7271 #include <$ac_header>
7273 rm -f conftest.$ac_objext
7274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>conftest.er1
7277 grep -v '^ *+' conftest.er1 >conftest.err
7279 cat conftest.err >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; } &&
7288 { ac_try='test -s conftest.$ac_objext'
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); }; }; then
7294 ac_header_compiler=yes
7296 echo "$as_me: failed program was:" >&5
7297 sed 's/^/| /' conftest.$ac_ext >&5
7299 ac_header_compiler=no
7301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7303 echo "${ECHO_T}$ac_header_compiler" >&6
7305 # Is the header present?
7306 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7307 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7308 cat >conftest.$ac_ext <<_ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <$ac_header>
7316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7319 grep -v '^ *+' conftest.er1 >conftest.err
7321 cat conftest.err >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } >/dev/null; then
7324 if test -s conftest.err; then
7325 ac_cpp_err=$ac_c_preproc_warn_flag
7326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7333 if test -z "$ac_cpp_err"; then
7334 ac_header_preproc=yes
7336 echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.$ac_ext >&5
7339 ac_header_preproc=no
7341 rm -f conftest.err conftest.$ac_ext
7342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7343 echo "${ECHO_T}$ac_header_preproc" >&6
7345 # So? What about this header?
7346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7348 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7349 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7351 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7352 ac_header_preproc=yes
7355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7360 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7362 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7365 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7366 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7369 ## ------------------------------------ ##
7370 ## Report this to wine-devel@winehq.org ##
7371 ## ------------------------------------ ##
7374 sed "s/^/$as_me: WARNING: /" >&2
7377 echo "$as_me:$LINENO: checking for $ac_header" >&5
7378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 eval "$as_ac_Header=\$ac_header_preproc"
7384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7389 cat >>confdefs.h <<_ACEOF
7390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7403 for ac_header in X11/XKBlib.h \
7405 X11/extensions/shape.h \
7406 X11/extensions/XInput.h \
7407 X11/extensions/XShm.h \
7408 X11/extensions/Xrandr.h \
7409 X11/extensions/Xrender.h \
7410 X11/extensions/Xvlib.h \
7411 X11/extensions/xf86dga.h \
7412 X11/extensions/xf86vmode.h
7414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7415 echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7418 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 cat >conftest.$ac_ext <<_ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7426 #include <X11/Xlib.h>
7427 #ifdef HAVE_X11_XUTIL_H
7428 # include <X11/Xutil.h>
7431 #include <$ac_header>
7433 rm -f conftest.$ac_objext
7434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7435 (eval $ac_compile) 2>conftest.er1
7437 grep -v '^ *+' conftest.er1 >conftest.err
7439 cat conftest.err >&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); } &&
7442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; } &&
7448 { ac_try='test -s conftest.$ac_objext'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 eval "$as_ac_Header=yes"
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.$ac_ext >&5
7459 eval "$as_ac_Header=no"
7461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7466 cat >>confdefs.h <<_ACEOF
7467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7477 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7478 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7479 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 ac_check_lib_save_LIBS=$LIBS
7483 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7484 cat >conftest.$ac_ext <<_ACEOF
7487 cat confdefs.h >>conftest.$ac_ext
7488 cat >>conftest.$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7491 /* Override any gcc2 internal prototype to avoid an error. */
7495 /* We use char because int might match the return type of a gcc2
7496 builtin and then its argument prototype would still apply. */
7497 char XkbQueryExtension ();
7501 XkbQueryExtension ();
7506 rm -f conftest.$ac_objext conftest$ac_exeext
7507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7508 (eval $ac_link) 2>conftest.er1
7510 grep -v '^ *+' conftest.er1 >conftest.err
7512 cat conftest.err >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } &&
7515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); }; } &&
7521 { ac_try='test -s conftest$ac_exeext'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; }; then
7527 ac_cv_lib_X11_XkbQueryExtension=yes
7529 echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.$ac_ext >&5
7532 ac_cv_lib_X11_XkbQueryExtension=no
7534 rm -f conftest.err conftest.$ac_objext \
7535 conftest$ac_exeext conftest.$ac_ext
7536 LIBS=$ac_check_lib_save_LIBS
7538 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7539 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7540 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7542 cat >>confdefs.h <<\_ACEOF
7550 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7552 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7553 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7554 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 ac_check_lib_save_LIBS=$LIBS
7558 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7559 cat >conftest.$ac_ext <<_ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h. */
7566 /* Override any gcc2 internal prototype to avoid an error. */
7570 /* We use char because int might match the return type of a gcc2
7571 builtin and then its argument prototype would still apply. */
7572 char XShmQueryExtension ();
7576 XShmQueryExtension ();
7581 rm -f conftest.$ac_objext conftest$ac_exeext
7582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7583 (eval $ac_link) 2>conftest.er1
7585 grep -v '^ *+' conftest.er1 >conftest.err
7587 cat conftest.err >&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); } &&
7590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); }; } &&
7596 { ac_try='test -s conftest$ac_exeext'
7597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7601 (exit $ac_status); }; }; then
7602 ac_cv_lib_Xext_XShmQueryExtension=yes
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.$ac_ext >&5
7607 ac_cv_lib_Xext_XShmQueryExtension=no
7609 rm -f conftest.err conftest.$ac_objext \
7610 conftest$ac_exeext conftest.$ac_ext
7611 LIBS=$ac_check_lib_save_LIBS
7613 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7614 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7615 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7617 cat >>confdefs.h <<\_ACEOF
7618 #define HAVE_LIBXXSHM 1
7625 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7627 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7628 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7629 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 ac_check_lib_save_LIBS=$LIBS
7633 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7634 cat >conftest.$ac_ext <<_ACEOF
7637 cat confdefs.h >>conftest.$ac_ext
7638 cat >>conftest.$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7641 /* Override any gcc2 internal prototype to avoid an error. */
7645 /* We use char because int might match the return type of a gcc2
7646 builtin and then its argument prototype would still apply. */
7647 char XShapeQueryExtension ();
7651 XShapeQueryExtension ();
7656 rm -f conftest.$ac_objext conftest$ac_exeext
7657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7658 (eval $ac_link) 2>conftest.er1
7660 grep -v '^ *+' conftest.er1 >conftest.err
7662 cat conftest.err >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } &&
7665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); }; } &&
7671 { ac_try='test -s conftest$ac_exeext'
7672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); }; }; then
7677 ac_cv_lib_Xext_XShapeQueryExtension=yes
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 ac_cv_lib_Xext_XShapeQueryExtension=no
7684 rm -f conftest.err conftest.$ac_objext \
7685 conftest$ac_exeext conftest.$ac_ext
7686 LIBS=$ac_check_lib_save_LIBS
7688 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7689 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7690 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7692 cat >>confdefs.h <<\_ACEOF
7693 #define HAVE_LIBXSHAPE 1
7700 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7702 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7703 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7704 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 ac_check_lib_save_LIBS=$LIBS
7708 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7709 cat >conftest.$ac_ext <<_ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7716 /* Override any gcc2 internal prototype to avoid an error. */
7720 /* We use char because int might match the return type of a gcc2
7721 builtin and then its argument prototype would still apply. */
7722 char XDGAQueryExtension ();
7726 XDGAQueryExtension ();
7731 rm -f conftest.$ac_objext conftest$ac_exeext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7733 (eval $ac_link) 2>conftest.er1
7735 grep -v '^ *+' conftest.er1 >conftest.err
7737 cat conftest.err >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } &&
7740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; } &&
7746 { ac_try='test -s conftest$ac_exeext'
7747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.$ac_ext >&5
7757 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7759 rm -f conftest.err conftest.$ac_objext \
7760 conftest$ac_exeext conftest.$ac_ext
7761 LIBS=$ac_check_lib_save_LIBS
7763 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7764 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7765 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7767 cat >>confdefs.h <<\_ACEOF
7768 #define HAVE_LIBXXF86DGA2 1
7771 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7774 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7775 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7776 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 ac_check_lib_save_LIBS=$LIBS
7780 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7782 cat >conftest.$ac_ext <<_ACEOF
7785 cat confdefs.h >>conftest.$ac_ext
7786 cat >>conftest.$ac_ext <<_ACEOF
7787 /* end confdefs.h. */
7789 /* Override any gcc2 internal prototype to avoid an error. */
7793 /* We use char because int might match the return type of a gcc2
7794 builtin and then its argument prototype would still apply. */
7795 char XF86DGAQueryExtension ();
7799 XF86DGAQueryExtension ();
7804 rm -f conftest.$ac_objext conftest$ac_exeext
7805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7806 (eval $ac_link) 2>conftest.er1
7808 grep -v '^ *+' conftest.er1 >conftest.err
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } &&
7813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; } &&
7819 { ac_try='test -s conftest$ac_exeext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7827 echo "$as_me: failed program was:" >&5
7828 sed 's/^/| /' conftest.$ac_ext >&5
7830 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7832 rm -f conftest.err conftest.$ac_objext \
7833 conftest$ac_exeext conftest.$ac_ext
7834 LIBS=$ac_check_lib_save_LIBS
7836 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7837 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7838 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7840 cat >>confdefs.h <<\_ACEOF
7841 #define HAVE_LIBXXF86DGA 1
7844 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7853 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7855 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7856 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7857 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 ac_check_lib_save_LIBS=$LIBS
7861 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7862 cat >conftest.$ac_ext <<_ACEOF
7865 cat confdefs.h >>conftest.$ac_ext
7866 cat >>conftest.$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7869 /* Override any gcc2 internal prototype to avoid an error. */
7873 /* We use char because int might match the return type of a gcc2
7874 builtin and then its argument prototype would still apply. */
7875 char XF86VidModeQueryExtension ();
7879 XF86VidModeQueryExtension ();
7884 rm -f conftest.$ac_objext conftest$ac_exeext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7886 (eval $ac_link) 2>conftest.er1
7888 grep -v '^ *+' conftest.er1 >conftest.err
7890 cat conftest.err >&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } &&
7893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); }; } &&
7899 { ac_try='test -s conftest$ac_exeext'
7900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }; }; then
7905 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7907 echo "$as_me: failed program was:" >&5
7908 sed 's/^/| /' conftest.$ac_ext >&5
7910 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7912 rm -f conftest.err conftest.$ac_objext \
7913 conftest$ac_exeext conftest.$ac_ext
7914 LIBS=$ac_check_lib_save_LIBS
7916 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7917 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7918 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7920 cat >>confdefs.h <<\_ACEOF
7921 #define HAVE_LIBXXF86VM 1
7924 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7930 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7932 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
7933 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
7934 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
7935 echo $ECHO_N "(cached) $ECHO_C" >&6
7937 ac_check_lib_save_LIBS=$LIBS
7938 LIBS="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7939 cat >conftest.$ac_ext <<_ACEOF
7942 cat confdefs.h >>conftest.$ac_ext
7943 cat >>conftest.$ac_ext <<_ACEOF
7944 /* end confdefs.h. */
7946 /* Override any gcc2 internal prototype to avoid an error. */
7950 /* We use char because int might match the return type of a gcc2
7951 builtin and then its argument prototype would still apply. */
7952 char XRRSetScreenConfigAndRate ();
7956 XRRSetScreenConfigAndRate ();
7961 rm -f conftest.$ac_objext conftest$ac_exeext
7962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7963 (eval $ac_link) 2>conftest.er1
7965 grep -v '^ *+' conftest.er1 >conftest.err
7967 cat conftest.err >&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); } &&
7970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975 (exit $ac_status); }; } &&
7976 { ac_try='test -s conftest$ac_exeext'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; }; then
7982 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=yes
7984 echo "$as_me: failed program was:" >&5
7985 sed 's/^/| /' conftest.$ac_ext >&5
7987 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=no
7989 rm -f conftest.err conftest.$ac_objext \
7990 conftest$ac_exeext conftest.$ac_ext
7991 LIBS=$ac_check_lib_save_LIBS
7993 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
7994 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
7995 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
7997 cat >>confdefs.h <<\_ACEOF
7998 #define HAVE_LIBXRANDR 1
8001 X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
8007 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8009 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8010 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8011 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8012 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 ac_check_lib_save_LIBS=$LIBS
8015 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8016 cat >conftest.$ac_ext <<_ACEOF
8019 cat confdefs.h >>conftest.$ac_ext
8020 cat >>conftest.$ac_ext <<_ACEOF
8021 /* end confdefs.h. */
8023 /* Override any gcc2 internal prototype to avoid an error. */
8027 /* We use char because int might match the return type of a gcc2
8028 builtin and then its argument prototype would still apply. */
8029 char XvShmCreateImage ();
8033 XvShmCreateImage ();
8038 rm -f conftest.$ac_objext conftest$ac_exeext
8039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8040 (eval $ac_link) 2>conftest.er1
8042 grep -v '^ *+' conftest.er1 >conftest.err
8044 cat conftest.err >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); } &&
8047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; } &&
8053 { ac_try='test -s conftest$ac_exeext'
8054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; }; then
8059 ac_cv_lib_Xv_XvShmCreateImage=yes
8061 echo "$as_me: failed program was:" >&5
8062 sed 's/^/| /' conftest.$ac_ext >&5
8064 ac_cv_lib_Xv_XvShmCreateImage=no
8066 rm -f conftest.err conftest.$ac_objext \
8067 conftest$ac_exeext conftest.$ac_ext
8068 LIBS=$ac_check_lib_save_LIBS
8070 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8071 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8072 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8074 cat >>confdefs.h <<\_ACEOF
8075 #define HAVE_XVIDEO 1
8078 X_PRE_LIBS="$X_PRE_LIBS -lXv"
8089 if test "x$with_opengl" != "xno"
8091 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8093 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8094 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8095 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8096 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8097 { (exit 1); exit 1; }; }
8102 for ac_header in GL/gl.h GL/glx.h
8104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8106 echo "$as_me:$LINENO: checking for $ac_header" >&5
8107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8114 # Is the header compilable?
8115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8123 $ac_includes_default
8124 #include <$ac_header>
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128 (eval $ac_compile) 2>conftest.er1
8130 grep -v '^ *+' conftest.er1 >conftest.err
8132 cat conftest.err >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } &&
8135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; } &&
8141 { ac_try='test -s conftest.$ac_objext'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; }; then
8147 ac_header_compiler=yes
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8152 ac_header_compiler=no
8154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8156 echo "${ECHO_T}$ac_header_compiler" >&6
8158 # Is the header present?
8159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8161 cat >conftest.$ac_ext <<_ACEOF
8164 cat confdefs.h >>conftest.$ac_ext
8165 cat >>conftest.$ac_ext <<_ACEOF
8166 /* end confdefs.h. */
8167 #include <$ac_header>
8169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8172 grep -v '^ *+' conftest.er1 >conftest.err
8174 cat conftest.err >&5
8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } >/dev/null; then
8177 if test -s conftest.err; then
8178 ac_cpp_err=$ac_c_preproc_warn_flag
8179 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8186 if test -z "$ac_cpp_err"; then
8187 ac_header_preproc=yes
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8192 ac_header_preproc=no
8194 rm -f conftest.err conftest.$ac_ext
8195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8196 echo "${ECHO_T}$ac_header_preproc" >&6
8198 # So? What about this header?
8199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8205 ac_header_preproc=yes
8208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8222 ## ------------------------------------ ##
8223 ## Report this to wine-devel@winehq.org ##
8224 ## ------------------------------------ ##
8227 sed "s/^/$as_me: WARNING: /" >&2
8230 echo "$as_me:$LINENO: checking for $ac_header" >&5
8231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 eval "$as_ac_Header=\$ac_header_preproc"
8237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8242 cat >>confdefs.h <<_ACEOF
8243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8250 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8253 for ac_header in GL/glext.h
8255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8256 echo "$as_me:$LINENO: checking for $ac_header" >&5
8257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 cat >conftest.$ac_ext <<_ACEOF
8264 cat confdefs.h >>conftest.$ac_ext
8265 cat >>conftest.$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8269 #include <$ac_header>
8271 rm -f conftest.$ac_objext
8272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8273 (eval $ac_compile) 2>conftest.er1
8275 grep -v '^ *+' conftest.er1 >conftest.err
8277 cat conftest.err >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); } &&
8280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); }; } &&
8286 { ac_try='test -s conftest.$ac_objext'
8287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); }; }; then
8292 eval "$as_ac_Header=yes"
8294 echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.$ac_ext >&5
8297 eval "$as_ac_Header=no"
8299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8304 cat >>confdefs.h <<_ACEOF
8305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8312 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8313 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8314 if test "${wine_cv_opengl_version_OK+set}" = set; then
8315 echo $ECHO_N "(cached) $ECHO_C" >&6
8317 cat >conftest.$ac_ext <<_ACEOF
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8327 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8332 rm -f conftest.$ac_objext
8333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8334 (eval $ac_compile) 2>conftest.er1
8336 grep -v '^ *+' conftest.er1 >conftest.err
8338 cat conftest.err >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); } &&
8341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; } &&
8347 { ac_try='test -s conftest.$ac_objext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 wine_cv_opengl_version_OK="yes"
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.$ac_ext >&5
8358 wine_cv_opengl_version_OK="no"
8361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8364 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8365 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8367 if test "$wine_cv_opengl_version_OK" = "yes"
8369 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8370 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8371 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 ac_check_lib_save_LIBS=$LIBS
8375 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8376 cat >conftest.$ac_ext <<_ACEOF
8379 cat confdefs.h >>conftest.$ac_ext
8380 cat >>conftest.$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8383 /* Override any gcc2 internal prototype to avoid an error. */
8387 /* We use char because int might match the return type of a gcc2
8388 builtin and then its argument prototype would still apply. */
8389 char glXCreateContext ();
8393 glXCreateContext ();
8398 rm -f conftest.$ac_objext conftest$ac_exeext
8399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8400 (eval $ac_link) 2>conftest.er1
8402 grep -v '^ *+' conftest.er1 >conftest.err
8404 cat conftest.err >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } &&
8407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; } &&
8413 { ac_try='test -s conftest$ac_exeext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 ac_cv_lib_GL_glXCreateContext=yes
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.$ac_ext >&5
8424 ac_cv_lib_GL_glXCreateContext=no
8426 rm -f conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 LIBS=$ac_check_lib_save_LIBS
8430 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8431 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8432 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8438 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8440 OPENGLFILES='$(OPENGLFILES)'
8442 cat >>confdefs.h <<\_ACEOF
8443 #define HAVE_OPENGL 1
8447 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8448 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8449 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 ac_check_lib_save_LIBS=$LIBS
8453 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8454 cat >conftest.$ac_ext <<_ACEOF
8457 cat confdefs.h >>conftest.$ac_ext
8458 cat >>conftest.$ac_ext <<_ACEOF
8459 /* end confdefs.h. */
8461 /* Override any gcc2 internal prototype to avoid an error. */
8465 /* We use char because int might match the return type of a gcc2
8466 builtin and then its argument prototype would still apply. */
8467 char glXGetProcAddressARB ();
8471 glXGetProcAddressARB ();
8476 rm -f conftest.$ac_objext conftest$ac_exeext
8477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8478 (eval $ac_link) 2>conftest.er1
8480 grep -v '^ *+' conftest.er1 >conftest.err
8482 cat conftest.err >&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); }; } &&
8491 { ac_try='test -s conftest$ac_exeext'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; }; then
8497 ac_cv_lib_GL_glXGetProcAddressARB=yes
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_cv_lib_GL_glXGetProcAddressARB=no
8504 rm -f conftest.err conftest.$ac_objext \
8505 conftest$ac_exeext conftest.$ac_ext
8506 LIBS=$ac_check_lib_save_LIBS
8508 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8509 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8510 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8512 cat >>confdefs.h <<\_ACEOF
8513 #define HAVE_GLX_GETPROCADDRESS 1
8519 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8521 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8522 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8523 if test "${wine_cv_extension_prototypes+set}" = set; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 cat >conftest.$ac_ext <<_ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8533 #ifdef HAVE_GL_GLEXT_H
8534 # include <GL/glext.h>
8540 PFNGLCOLORTABLEEXTPROC test_proc;
8545 rm -f conftest.$ac_objext
8546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8547 (eval $ac_compile) 2>conftest.er1
8549 grep -v '^ *+' conftest.er1 >conftest.err
8551 cat conftest.err >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } &&
8554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try='test -s conftest.$ac_objext'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; }; then
8566 wine_cv_extension_prototypes="yes"
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 wine_cv_extension_prototypes="no"
8574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8577 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8578 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8579 if test "$wine_cv_extension_prototypes" = "yes"
8582 cat >>confdefs.h <<\_ACEOF
8583 #define HAVE_GLEXT_PROTOTYPES 1
8590 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8591 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8592 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8595 ac_check_lib_save_LIBS=$LIBS
8596 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8598 cat >conftest.$ac_ext <<_ACEOF
8601 cat confdefs.h >>conftest.$ac_ext
8602 cat >>conftest.$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8605 /* Override any gcc2 internal prototype to avoid an error. */
8609 /* We use char because int might match the return type of a gcc2
8610 builtin and then its argument prototype would still apply. */
8620 rm -f conftest.$ac_objext conftest$ac_exeext
8621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8622 (eval $ac_link) 2>conftest.er1
8624 grep -v '^ *+' conftest.er1 >conftest.err
8626 cat conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } &&
8629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; } &&
8635 { ac_try='test -s conftest$ac_exeext'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 ac_cv_lib_GLU_gluLookAt=yes
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.$ac_ext >&5
8646 ac_cv_lib_GLU_gluLookAt=no
8648 rm -f conftest.err conftest.$ac_objext \
8649 conftest$ac_exeext conftest.$ac_ext
8650 LIBS=$ac_check_lib_save_LIBS
8652 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8653 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8654 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8655 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8656 GLU32FILES='$(GLU32FILES)'
8662 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8663 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8664 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8667 ac_check_lib_save_LIBS=$LIBS
8668 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8669 cat >conftest.$ac_ext <<_ACEOF
8672 cat confdefs.h >>conftest.$ac_ext
8673 cat >>conftest.$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8676 /* Override any gcc2 internal prototype to avoid an error. */
8680 /* We use char because int might match the return type of a gcc2
8681 builtin and then its argument prototype would still apply. */
8682 char glutMainLoop ();
8691 rm -f conftest.$ac_objext conftest$ac_exeext
8692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8693 (eval $ac_link) 2>conftest.er1
8695 grep -v '^ *+' conftest.er1 >conftest.err
8697 cat conftest.err >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } &&
8700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; } &&
8706 { ac_try='test -s conftest$ac_exeext'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; }; then
8712 ac_cv_lib_glut_glutMainLoop=yes
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8717 ac_cv_lib_glut_glutMainLoop=no
8719 rm -f conftest.err conftest.$ac_objext \
8720 conftest$ac_exeext conftest.$ac_ext
8721 LIBS=$ac_check_lib_save_LIBS
8723 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8724 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8725 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8726 GLUT_LIBS="-lglut -lXmu -lXi"
8728 GLUT32FILES='$(GLUT32FILES)'
8738 for ac_header in audio/audiolib.h
8740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8742 echo "$as_me:$LINENO: checking for $ac_header" >&5
8743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8750 # Is the header compilable?
8751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8753 cat >conftest.$ac_ext <<_ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 $ac_includes_default
8760 #include <$ac_header>
8762 rm -f conftest.$ac_objext
8763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8764 (eval $ac_compile) 2>conftest.er1
8766 grep -v '^ *+' conftest.er1 >conftest.err
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); } &&
8771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); }; } &&
8777 { ac_try='test -s conftest.$ac_objext'
8778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); }; }; then
8783 ac_header_compiler=yes
8785 echo "$as_me: failed program was:" >&5
8786 sed 's/^/| /' conftest.$ac_ext >&5
8788 ac_header_compiler=no
8790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8792 echo "${ECHO_T}$ac_header_compiler" >&6
8794 # Is the header present?
8795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8797 cat >conftest.$ac_ext <<_ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 #include <$ac_header>
8805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1 >conftest.err
8810 cat conftest.err >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } >/dev/null; then
8813 if test -s conftest.err; then
8814 ac_cpp_err=$ac_c_preproc_warn_flag
8815 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8822 if test -z "$ac_cpp_err"; then
8823 ac_header_preproc=yes
8825 echo "$as_me: failed program was:" >&5
8826 sed 's/^/| /' conftest.$ac_ext >&5
8828 ac_header_preproc=no
8830 rm -f conftest.err conftest.$ac_ext
8831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8832 echo "${ECHO_T}$ac_header_preproc" >&6
8834 # So? What about this header?
8835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8841 ac_header_preproc=yes
8844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8858 ## ------------------------------------ ##
8859 ## Report this to wine-devel@winehq.org ##
8860 ## ------------------------------------ ##
8863 sed "s/^/$as_me: WARNING: /" >&2
8866 echo "$as_me:$LINENO: checking for $ac_header" >&5
8867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8869 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 eval "$as_ac_Header=\$ac_header_preproc"
8873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8878 cat >>confdefs.h <<_ACEOF
8879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8882 for ac_header in audio/soundlib.h
8884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8885 echo "$as_me:$LINENO: checking for $ac_header" >&5
8886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8888 echo $ECHO_N "(cached) $ECHO_C" >&6
8890 cat >conftest.$ac_ext <<_ACEOF
8893 cat confdefs.h >>conftest.$ac_ext
8894 cat >>conftest.$ac_ext <<_ACEOF
8895 /* end confdefs.h. */
8896 #include <audio/audiolib.h>
8898 #include <$ac_header>
8900 rm -f conftest.$ac_objext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8902 (eval $ac_compile) 2>conftest.er1
8904 grep -v '^ *+' conftest.er1 >conftest.err
8906 cat conftest.err >&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } &&
8909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try='test -s conftest.$ac_objext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8921 eval "$as_ac_Header=yes"
8923 echo "$as_me: failed program was:" >&5
8924 sed 's/^/| /' conftest.$ac_ext >&5
8926 eval "$as_ac_Header=no"
8928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8933 cat >>confdefs.h <<_ACEOF
8934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8941 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8942 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8943 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 ac_check_lib_save_LIBS=$LIBS
8947 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8948 cat >conftest.$ac_ext <<_ACEOF
8951 cat confdefs.h >>conftest.$ac_ext
8952 cat >>conftest.$ac_ext <<_ACEOF
8953 /* end confdefs.h. */
8955 /* Override any gcc2 internal prototype to avoid an error. */
8959 /* We use char because int might match the return type of a gcc2
8960 builtin and then its argument prototype would still apply. */
8961 char AuCreateFlow ();
8970 rm -f conftest.$ac_objext conftest$ac_exeext
8971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8972 (eval $ac_link) 2>conftest.er1
8974 grep -v '^ *+' conftest.er1 >conftest.err
8976 cat conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } &&
8979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; } &&
8985 { ac_try='test -s conftest$ac_exeext'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; }; then
8991 ac_cv_lib_audio_AuCreateFlow=yes
8993 echo "$as_me: failed program was:" >&5
8994 sed 's/^/| /' conftest.$ac_ext >&5
8996 ac_cv_lib_audio_AuCreateFlow=no
8998 rm -f conftest.err conftest.$ac_objext \
8999 conftest$ac_exeext conftest.$ac_ext
9000 LIBS=$ac_check_lib_save_LIBS
9002 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9003 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9004 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9006 cat >>confdefs.h <<\_ACEOF
9010 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9018 CPPFLAGS="$ac_save_CPPFLAGS"
9027 if test "x$with_curses" != "xno"
9030 for ac_header in ncurses.h
9032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9034 echo "$as_me:$LINENO: checking for $ac_header" >&5
9035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9042 # Is the header compilable?
9043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9045 cat >conftest.$ac_ext <<_ACEOF
9048 cat confdefs.h >>conftest.$ac_ext
9049 cat >>conftest.$ac_ext <<_ACEOF
9050 /* end confdefs.h. */
9051 $ac_includes_default
9052 #include <$ac_header>
9054 rm -f conftest.$ac_objext
9055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9056 (eval $ac_compile) 2>conftest.er1
9058 grep -v '^ *+' conftest.er1 >conftest.err
9060 cat conftest.err >&5
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062 (exit $ac_status); } &&
9063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 ac_header_compiler=yes
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9080 ac_header_compiler=no
9082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9084 echo "${ECHO_T}$ac_header_compiler" >&6
9086 # Is the header present?
9087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9089 cat >conftest.$ac_ext <<_ACEOF
9092 cat confdefs.h >>conftest.$ac_ext
9093 cat >>conftest.$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 #include <$ac_header>
9097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9100 grep -v '^ *+' conftest.er1 >conftest.err
9102 cat conftest.err >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); } >/dev/null; then
9105 if test -s conftest.err; then
9106 ac_cpp_err=$ac_c_preproc_warn_flag
9107 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9114 if test -z "$ac_cpp_err"; then
9115 ac_header_preproc=yes
9117 echo "$as_me: failed program was:" >&5
9118 sed 's/^/| /' conftest.$ac_ext >&5
9120 ac_header_preproc=no
9122 rm -f conftest.err conftest.$ac_ext
9123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9124 echo "${ECHO_T}$ac_header_preproc" >&6
9126 # So? What about this header?
9127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9133 ac_header_preproc=yes
9136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9150 ## ------------------------------------ ##
9151 ## Report this to wine-devel@winehq.org ##
9152 ## ------------------------------------ ##
9155 sed "s/^/$as_me: WARNING: /" >&2
9158 echo "$as_me:$LINENO: checking for $ac_header" >&5
9159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9161 echo $ECHO_N "(cached) $ECHO_C" >&6
9163 eval "$as_ac_Header=\$ac_header_preproc"
9165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9170 cat >>confdefs.h <<_ACEOF
9171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9173 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9174 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9175 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 ac_check_lib_save_LIBS=$LIBS
9179 LIBS="-lncurses $LIBS"
9180 cat >conftest.$ac_ext <<_ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9187 /* Override any gcc2 internal prototype to avoid an error. */
9191 /* We use char because int might match the return type of a gcc2
9192 builtin and then its argument prototype would still apply. */
9202 rm -f conftest.$ac_objext conftest$ac_exeext
9203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9204 (eval $ac_link) 2>conftest.er1
9206 grep -v '^ *+' conftest.er1 >conftest.err
9208 cat conftest.err >&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); } &&
9211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; } &&
9217 { ac_try='test -s conftest$ac_exeext'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); }; }; then
9223 ac_cv_lib_ncurses_waddch=yes
9225 echo "$as_me: failed program was:" >&5
9226 sed 's/^/| /' conftest.$ac_ext >&5
9228 ac_cv_lib_ncurses_waddch=no
9230 rm -f conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9232 LIBS=$ac_check_lib_save_LIBS
9234 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9235 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9236 if test $ac_cv_lib_ncurses_waddch = yes; then
9238 cat >>confdefs.h <<\_ACEOF
9239 #define HAVE_LIBNCURSES 1
9242 CURSESLIBS="-lncurses"
9245 for ac_header in curses.h
9247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9249 echo "$as_me:$LINENO: checking for $ac_header" >&5
9250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9257 # Is the header compilable?
9258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9260 cat >conftest.$ac_ext <<_ACEOF
9263 cat confdefs.h >>conftest.$ac_ext
9264 cat >>conftest.$ac_ext <<_ACEOF
9265 /* end confdefs.h. */
9266 $ac_includes_default
9267 #include <$ac_header>
9269 rm -f conftest.$ac_objext
9270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9271 (eval $ac_compile) 2>conftest.er1
9273 grep -v '^ *+' conftest.er1 >conftest.err
9275 cat conftest.err >&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); } &&
9278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); }; } &&
9284 { ac_try='test -s conftest.$ac_objext'
9285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; }; then
9290 ac_header_compiler=yes
9292 echo "$as_me: failed program was:" >&5
9293 sed 's/^/| /' conftest.$ac_ext >&5
9295 ac_header_compiler=no
9297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9299 echo "${ECHO_T}$ac_header_compiler" >&6
9301 # Is the header present?
9302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9304 cat >conftest.$ac_ext <<_ACEOF
9307 cat confdefs.h >>conftest.$ac_ext
9308 cat >>conftest.$ac_ext <<_ACEOF
9309 /* end confdefs.h. */
9310 #include <$ac_header>
9312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9313 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9315 grep -v '^ *+' conftest.er1 >conftest.err
9317 cat conftest.err >&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } >/dev/null; then
9320 if test -s conftest.err; then
9321 ac_cpp_err=$ac_c_preproc_warn_flag
9322 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9329 if test -z "$ac_cpp_err"; then
9330 ac_header_preproc=yes
9332 echo "$as_me: failed program was:" >&5
9333 sed 's/^/| /' conftest.$ac_ext >&5
9335 ac_header_preproc=no
9337 rm -f conftest.err conftest.$ac_ext
9338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9339 echo "${ECHO_T}$ac_header_preproc" >&6
9341 # So? What about this header?
9342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9348 ac_header_preproc=yes
9351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9365 ## ------------------------------------ ##
9366 ## Report this to wine-devel@winehq.org ##
9367 ## ------------------------------------ ##
9370 sed "s/^/$as_me: WARNING: /" >&2
9373 echo "$as_me:$LINENO: checking for $ac_header" >&5
9374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 eval "$as_ac_Header=\$ac_header_preproc"
9380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9385 cat >>confdefs.h <<_ACEOF
9386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9388 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9389 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9390 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9391 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 ac_check_lib_save_LIBS=$LIBS
9394 LIBS="-lcurses $LIBS"
9395 cat >conftest.$ac_ext <<_ACEOF
9398 cat confdefs.h >>conftest.$ac_ext
9399 cat >>conftest.$ac_ext <<_ACEOF
9400 /* end confdefs.h. */
9402 /* Override any gcc2 internal prototype to avoid an error. */
9406 /* We use char because int might match the return type of a gcc2
9407 builtin and then its argument prototype would still apply. */
9417 rm -f conftest.$ac_objext conftest$ac_exeext
9418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9419 (eval $ac_link) 2>conftest.er1
9421 grep -v '^ *+' conftest.er1 >conftest.err
9423 cat conftest.err >&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); } &&
9426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); }; } &&
9432 { ac_try='test -s conftest$ac_exeext'
9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); }; }; then
9438 ac_cv_lib_curses_waddch=yes
9440 echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.$ac_ext >&5
9443 ac_cv_lib_curses_waddch=no
9445 rm -f conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 LIBS=$ac_check_lib_save_LIBS
9449 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9450 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9451 if test $ac_cv_lib_curses_waddch = yes; then
9453 cat >>confdefs.h <<\_ACEOF
9454 #define HAVE_LIBCURSES 1
9457 CURSESLIBS="-lcurses"
9471 LIBS="$CURSESLIBS $LIBS"
9474 for ac_func in getbkgd resizeterm
9476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9477 echo "$as_me:$LINENO: checking for $ac_func" >&5
9478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9479 if eval "test \"\${$as_ac_var+set}\" = set"; then
9480 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 cat >conftest.$ac_ext <<_ACEOF
9485 cat confdefs.h >>conftest.$ac_ext
9486 cat >>conftest.$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9490 #define $ac_func innocuous_$ac_func
9492 /* System header to define __stub macros and hopefully few prototypes,
9493 which can conflict with char $ac_func (); below.
9494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9495 <limits.h> exists even on freestanding compilers. */
9498 # include <limits.h>
9500 # include <assert.h>
9505 /* Override any gcc2 internal prototype to avoid an error. */
9510 /* We use char because int might match the return type of a gcc2
9511 builtin and then its argument prototype would still apply. */
9513 /* The GNU C library defines this for functions which it implements
9514 to always fail with ENOSYS. Some functions are actually named
9515 something starting with __ and the normal name is an alias. */
9516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9519 char (*f) () = $ac_func;
9528 return f != $ac_func;
9533 rm -f conftest.$ac_objext conftest$ac_exeext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9535 (eval $ac_link) 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } &&
9542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; } &&
9548 { ac_try='test -s conftest$ac_exeext'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; }; then
9554 eval "$as_ac_var=yes"
9556 echo "$as_me: failed program was:" >&5
9557 sed 's/^/| /' conftest.$ac_ext >&5
9559 eval "$as_ac_var=no"
9561 rm -f conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9566 if test `eval echo '${'$as_ac_var'}'` = yes; then
9567 cat >>confdefs.h <<_ACEOF
9568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9578 # Extract the first word of "sane-config", so it can be a program name with args.
9579 set dummy sane-config; ac_word=$2
9580 echo "$as_me:$LINENO: checking for $ac_word" >&5
9581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9582 if test "${ac_cv_prog_sane_devel+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 if test -n "$sane_devel"; then
9586 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9595 ac_cv_prog_sane_devel="sane-config"
9596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9605 sane_devel=$ac_cv_prog_sane_devel
9606 if test -n "$sane_devel"; then
9607 echo "$as_me:$LINENO: result: $sane_devel" >&5
9608 echo "${ECHO_T}$sane_devel" >&6
9610 echo "$as_me:$LINENO: result: no" >&5
9611 echo "${ECHO_T}no" >&6
9614 if test "$sane_devel" = "no"
9619 SANELIBS="`$sane_devel --libs`"
9620 SANEINCL="`$sane_devel --cflags`"
9621 ac_save_CPPFLAGS="$CPPFLAGS"
9622 ac_save_LIBS="$LIBS"
9623 CPPFLAGS="$CPPFLAGS $SANEINCL"
9624 LIBS="$LIBS $SANELIBS"
9625 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9626 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9627 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9628 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9629 echo $ECHO_N "(cached) $ECHO_C" >&6
9631 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9632 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9634 # Is the header compilable?
9635 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9636 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9637 cat >conftest.$ac_ext <<_ACEOF
9640 cat confdefs.h >>conftest.$ac_ext
9641 cat >>conftest.$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9643 $ac_includes_default
9644 #include <sane/sane.h>
9646 rm -f conftest.$ac_objext
9647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9648 (eval $ac_compile) 2>conftest.er1
9650 grep -v '^ *+' conftest.er1 >conftest.err
9652 cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } &&
9655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); }; } &&
9661 { ac_try='test -s conftest.$ac_objext'
9662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; }; then
9667 ac_header_compiler=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9672 ac_header_compiler=no
9674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9676 echo "${ECHO_T}$ac_header_compiler" >&6
9678 # Is the header present?
9679 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9680 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9681 cat >conftest.$ac_ext <<_ACEOF
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9687 #include <sane/sane.h>
9689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9692 grep -v '^ *+' conftest.er1 >conftest.err
9694 cat conftest.err >&5
9695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 (exit $ac_status); } >/dev/null; then
9697 if test -s conftest.err; then
9698 ac_cpp_err=$ac_c_preproc_warn_flag
9699 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9706 if test -z "$ac_cpp_err"; then
9707 ac_header_preproc=yes
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.$ac_ext >&5
9712 ac_header_preproc=no
9714 rm -f conftest.err conftest.$ac_ext
9715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9716 echo "${ECHO_T}$ac_header_preproc" >&6
9718 # So? What about this header?
9719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9721 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9722 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9723 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9724 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9725 ac_header_preproc=yes
9728 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9729 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9730 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9731 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9732 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9733 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9734 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9735 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9736 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9737 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9738 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9739 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9742 ## ------------------------------------ ##
9743 ## Report this to wine-devel@winehq.org ##
9744 ## ------------------------------------ ##
9747 sed "s/^/$as_me: WARNING: /" >&2
9750 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9751 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9752 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9753 echo $ECHO_N "(cached) $ECHO_C" >&6
9755 ac_cv_header_sane_sane_h=$ac_header_preproc
9757 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9758 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9761 if test $ac_cv_header_sane_sane_h = yes; then
9762 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9763 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9764 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 ac_check_lib_save_LIBS=$LIBS
9769 cat >conftest.$ac_ext <<_ACEOF
9772 cat confdefs.h >>conftest.$ac_ext
9773 cat >>conftest.$ac_ext <<_ACEOF
9774 /* end confdefs.h. */
9776 /* Override any gcc2 internal prototype to avoid an error. */
9780 /* We use char because int might match the return type of a gcc2
9781 builtin and then its argument prototype would still apply. */
9791 rm -f conftest.$ac_objext conftest$ac_exeext
9792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9793 (eval $ac_link) 2>conftest.er1
9795 grep -v '^ *+' conftest.er1 >conftest.err
9797 cat conftest.err >&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); } &&
9800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; } &&
9806 { ac_try='test -s conftest$ac_exeext'
9807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); }; }; then
9812 ac_cv_lib_sane_sane_open=yes
9814 echo "$as_me: failed program was:" >&5
9815 sed 's/^/| /' conftest.$ac_ext >&5
9817 ac_cv_lib_sane_sane_open=no
9819 rm -f conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 LIBS=$ac_check_lib_save_LIBS
9823 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9824 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9825 if test $ac_cv_lib_sane_sane_open = yes; then
9827 cat >>confdefs.h <<\_ACEOF
9842 LIBS="$ac_save_LIBS"
9843 CPPFLAGS="$ac_save_CPPFLAGS"
9849 for ac_header in unicode/ubidi.h
9851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9853 echo "$as_me:$LINENO: checking for $ac_header" >&5
9854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9861 # Is the header compilable?
9862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9864 cat >conftest.$ac_ext <<_ACEOF
9867 cat confdefs.h >>conftest.$ac_ext
9868 cat >>conftest.$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9870 $ac_includes_default
9871 #include <$ac_header>
9873 rm -f conftest.$ac_objext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9875 (eval $ac_compile) 2>conftest.er1
9877 grep -v '^ *+' conftest.er1 >conftest.err
9879 cat conftest.err >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } &&
9882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); }; } &&
9888 { ac_try='test -s conftest.$ac_objext'
9889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); }; }; then
9894 ac_header_compiler=yes
9896 echo "$as_me: failed program was:" >&5
9897 sed 's/^/| /' conftest.$ac_ext >&5
9899 ac_header_compiler=no
9901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9903 echo "${ECHO_T}$ac_header_compiler" >&6
9905 # Is the header present?
9906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9908 cat >conftest.$ac_ext <<_ACEOF
9911 cat confdefs.h >>conftest.$ac_ext
9912 cat >>conftest.$ac_ext <<_ACEOF
9913 /* end confdefs.h. */
9914 #include <$ac_header>
9916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9919 grep -v '^ *+' conftest.er1 >conftest.err
9921 cat conftest.err >&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } >/dev/null; then
9924 if test -s conftest.err; then
9925 ac_cpp_err=$ac_c_preproc_warn_flag
9926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9933 if test -z "$ac_cpp_err"; then
9934 ac_header_preproc=yes
9936 echo "$as_me: failed program was:" >&5
9937 sed 's/^/| /' conftest.$ac_ext >&5
9939 ac_header_preproc=no
9941 rm -f conftest.err conftest.$ac_ext
9942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9943 echo "${ECHO_T}$ac_header_preproc" >&6
9945 # So? What about this header?
9946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9952 ac_header_preproc=yes
9955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9969 ## ------------------------------------ ##
9970 ## Report this to wine-devel@winehq.org ##
9971 ## ------------------------------------ ##
9974 sed "s/^/$as_me: WARNING: /" >&2
9977 echo "$as_me:$LINENO: checking for $ac_header" >&5
9978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 eval "$as_ac_Header=\$ac_header_preproc"
9984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9989 cat >>confdefs.h <<_ACEOF
9990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9997 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10000 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
10001 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10002 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10003 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10004 cat >conftest.$ac_ext <<_ACEOF
10007 cat confdefs.h >>conftest.$ac_ext
10008 cat >>conftest.$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10010 #include <unicode/ubidi.h>
10019 rm -f conftest.$ac_objext conftest$ac_exeext
10020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10021 (eval $ac_link) 2>conftest.er1
10023 grep -v '^ *+' conftest.er1 >conftest.err
10025 cat conftest.err >&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); } &&
10028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10030 (eval $ac_try) 2>&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); }; } &&
10034 { ac_try='test -s conftest$ac_exeext'
10035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 (eval $ac_try) 2>&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); }; }; then
10041 cat >>confdefs.h <<\_ACEOF
10045 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10052 rm -f conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10057 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10058 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10059 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 ac_check_lib_save_LIBS=$LIBS
10063 LIBS="-lfreetype $X_LIBS $LIBS"
10064 cat >conftest.$ac_ext <<_ACEOF
10067 cat confdefs.h >>conftest.$ac_ext
10068 cat >>conftest.$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10071 /* Override any gcc2 internal prototype to avoid an error. */
10075 /* We use char because int might match the return type of a gcc2
10076 builtin and then its argument prototype would still apply. */
10077 char FT_Init_FreeType ();
10081 FT_Init_FreeType ();
10086 rm -f conftest.$ac_objext conftest$ac_exeext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>conftest.er1
10090 grep -v '^ *+' conftest.er1 >conftest.err
10092 cat conftest.err >&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; } &&
10101 { ac_try='test -s conftest$ac_exeext'
10102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 (eval $ac_try) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); }; }; then
10107 ac_cv_lib_freetype_FT_Init_FreeType=yes
10109 echo "$as_me: failed program was:" >&5
10110 sed 's/^/| /' conftest.$ac_ext >&5
10112 ac_cv_lib_freetype_FT_Init_FreeType=no
10114 rm -f conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_lib_save_LIBS
10118 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10119 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10120 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10126 if test "$ft_lib" = "no"
10129 wine_cv_msg_freetype=no
10131 # Extract the first word of "freetype-config", so it can be a program name with args.
10132 set dummy freetype-config; ac_word=$2
10133 echo "$as_me:$LINENO: checking for $ac_word" >&5
10134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10135 if test "${ac_cv_prog_ft_devel+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 if test -n "$ft_devel"; then
10139 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10142 for as_dir in $PATH
10145 test -z "$as_dir" && as_dir=.
10146 for ac_exec_ext in '' $ac_executable_extensions; do
10147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10148 ac_cv_prog_ft_devel="freetype-config"
10149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10155 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10158 ft_devel=$ac_cv_prog_ft_devel
10159 if test -n "$ft_devel"; then
10160 echo "$as_me:$LINENO: result: $ft_devel" >&5
10161 echo "${ECHO_T}$ft_devel" >&6
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10167 if test "$ft_devel" = "no"
10169 # Extract the first word of "freetype2-config", so it can be a program name with args.
10170 set dummy freetype2-config; ac_word=$2
10171 echo "$as_me:$LINENO: checking for $ac_word" >&5
10172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10173 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 if test -n "$ft_devel2"; then
10177 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10180 for as_dir in $PATH
10183 test -z "$as_dir" && as_dir=.
10184 for ac_exec_ext in '' $ac_executable_extensions; do
10185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10186 ac_cv_prog_ft_devel2="freetype2-config"
10187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10193 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10196 ft_devel2=$ac_cv_prog_ft_devel2
10197 if test -n "$ft_devel2"; then
10198 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10199 echo "${ECHO_T}$ft_devel2" >&6
10201 echo "$as_me:$LINENO: result: no" >&5
10202 echo "${ECHO_T}no" >&6
10205 if test "$ft_devel2" = "freetype2-config"
10207 ft_devel=$ft_devel2
10210 if test "$ft_devel" = "no"
10213 wine_cv_msg_freetype=yes
10215 FREETYPEINCL=`$ft_devel --cflags`
10216 ac_save_CPPFLAGS="$CPPFLAGS"
10217 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10227 for ac_header in ft2build.h \
10228 freetype/freetype.h \
10229 freetype/ftglyph.h \
10230 freetype/tttables.h \
10231 freetype/ftnames.h \
10232 freetype/ftsnames.h \
10233 freetype/ttnameid.h \
10234 freetype/ftoutln.h \
10235 freetype/internal/sfnt.h
10237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10238 echo "$as_me:$LINENO: checking for $ac_header" >&5
10239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 cat >conftest.$ac_ext <<_ACEOF
10246 cat confdefs.h >>conftest.$ac_ext
10247 cat >>conftest.$ac_ext <<_ACEOF
10248 /* end confdefs.h. */
10249 #if HAVE_FT2BUILD_H
10250 #include <ft2build.h>
10253 #include <$ac_header>
10255 rm -f conftest.$ac_objext
10256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10257 (eval $ac_compile) 2>conftest.er1
10259 grep -v '^ *+' conftest.er1 >conftest.err
10261 cat conftest.err >&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); } &&
10264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10266 (eval $ac_try) 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); }; } &&
10270 { ac_try='test -s conftest.$ac_objext'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; }; then
10276 eval "$as_ac_Header=yes"
10278 echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.$ac_ext >&5
10281 eval "$as_ac_Header=no"
10283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10288 cat >>confdefs.h <<_ACEOF
10289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10296 cat >conftest.$ac_ext <<_ACEOF
10299 cat confdefs.h >>conftest.$ac_ext
10300 cat >>conftest.$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10302 #include <ft2build.h>
10303 #include <freetype/fttrigon.h>
10305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10308 grep -v '^ *+' conftest.er1 >conftest.err
10310 cat conftest.err >&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } >/dev/null; then
10313 if test -s conftest.err; then
10314 ac_cpp_err=$ac_c_preproc_warn_flag
10315 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10322 if test -z "$ac_cpp_err"; then
10324 cat >>confdefs.h <<\_ACEOF
10325 #define HAVE_FREETYPE_FTTRIGON_H 1
10328 wine_cv_fttrigon=yes
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.$ac_ext >&5
10333 wine_cv_fttrigon=no
10335 rm -f conftest.err conftest.$ac_ext
10336 CPPFLAGS="$ac_save_CPPFLAGS"
10337 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10340 cat >>confdefs.h <<\_ACEOF
10341 #define HAVE_FREETYPE 1
10344 wine_cv_msg_freetype=no
10347 wine_cv_msg_freetype=yes
10353 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10354 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10355 if test "${ac_cv_c_ppdev+set}" = set; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 cat >conftest.$ac_ext <<_ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10364 #include <linux/ppdev.h>
10368 ioctl (1,PPCLAIM,0)
10373 rm -f conftest.$ac_objext
10374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10375 (eval $ac_compile) 2>conftest.er1
10377 grep -v '^ *+' conftest.er1 >conftest.err
10379 cat conftest.err >&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } &&
10382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); }; } &&
10388 { ac_try='test -s conftest.$ac_objext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 ac_cv_c_ppdev="yes"
10396 echo "$as_me: failed program was:" >&5
10397 sed 's/^/| /' conftest.$ac_ext >&5
10401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10404 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10405 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10406 if test "$ac_cv_c_ppdev" = "yes"
10409 cat >>confdefs.h <<\_ACEOF
10410 #define HAVE_PPDEV 1
10415 echo "$as_me:$LINENO: checking for va_copy" >&5
10416 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10417 if test "${ac_cv_c_va_copy+set}" = set; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10420 cat >conftest.$ac_ext <<_ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 #include <stdarg.h>
10437 rm -f conftest.$ac_objext conftest$ac_exeext
10438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10439 (eval $ac_link) 2>conftest.er1
10441 grep -v '^ *+' conftest.er1 >conftest.err
10443 cat conftest.err >&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); } &&
10446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try='test -s conftest$ac_exeext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 ac_cv_c_va_copy="yes"
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10463 ac_cv_c_va_copy="no"
10465 rm -f conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10469 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10470 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10471 if test "$ac_cv_c_va_copy" = "yes"
10474 cat >>confdefs.h <<\_ACEOF
10475 #define HAVE_VA_COPY 1
10479 echo "$as_me:$LINENO: checking for __va_copy" >&5
10480 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10481 if test "${ac_cv_c___va_copy+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10484 cat >conftest.$ac_ext <<_ACEOF
10487 cat confdefs.h >>conftest.$ac_ext
10488 cat >>conftest.$ac_ext <<_ACEOF
10489 /* end confdefs.h. */
10490 #include <stdarg.h>
10495 __va_copy(ap1,ap2);
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10503 (eval $ac_link) 2>conftest.er1
10505 grep -v '^ *+' conftest.er1 >conftest.err
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; } &&
10516 { ac_try='test -s conftest$ac_exeext'
10517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518 (eval $ac_try) 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; }; then
10522 ac_cv_c___va_copy="yes"
10524 echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.$ac_ext >&5
10527 ac_cv_c___va_copy="no"
10529 rm -f conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10533 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10534 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10535 if test "$ac_cv_c___va_copy" = "yes"
10538 cat >>confdefs.h <<\_ACEOF
10539 #define HAVE___VA_COPY 1
10544 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10545 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10546 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 cat >conftest.$ac_ext <<_ACEOF
10552 cat confdefs.h >>conftest.$ac_ext
10553 cat >>conftest.$ac_ext <<_ACEOF
10554 /* end confdefs.h. */
10555 #include <setjmp.h>
10560 sigsetjmp( buf, 1 );
10561 siglongjmp( buf, 1 );
10566 rm -f conftest.$ac_objext conftest$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>conftest.er1
10570 grep -v '^ *+' conftest.er1 >conftest.err
10572 cat conftest.err >&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }; } &&
10581 { ac_try='test -s conftest$ac_exeext'
10582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583 (eval $ac_try) 2>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); }; }; then
10587 ac_cv_c_sigsetjmp="yes"
10589 echo "$as_me: failed program was:" >&5
10590 sed 's/^/| /' conftest.$ac_ext >&5
10592 ac_cv_c_sigsetjmp="no"
10594 rm -f conftest.err conftest.$ac_objext \
10595 conftest$ac_exeext conftest.$ac_ext
10598 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10599 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10600 if test "$ac_cv_c_sigsetjmp" = "yes"
10603 cat >>confdefs.h <<\_ACEOF
10604 #define HAVE_SIGSETJMP 1
10609 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10610 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10611 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 cat >conftest.$ac_ext <<_ACEOF
10617 cat confdefs.h >>conftest.$ac_ext
10618 cat >>conftest.$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10620 #define _GNU_SOURCE
10621 #include <pthread.h>
10626 if ((pthread_rwlock_t *) 0)
10628 if (sizeof (pthread_rwlock_t))
10634 rm -f conftest.$ac_objext
10635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10636 (eval $ac_compile) 2>conftest.er1
10638 grep -v '^ *+' conftest.er1 >conftest.err
10640 cat conftest.err >&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } &&
10643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; } &&
10649 { ac_try='test -s conftest.$ac_objext'
10650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10651 (eval $ac_try) 2>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); }; }; then
10655 ac_cv_type_pthread_rwlock_t=yes
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.$ac_ext >&5
10660 ac_cv_type_pthread_rwlock_t=no
10662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10664 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10665 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10666 if test $ac_cv_type_pthread_rwlock_t = yes; then
10668 cat >>confdefs.h <<_ACEOF
10669 #define HAVE_PTHREAD_RWLOCK_T 1
10674 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10675 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10676 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10677 echo $ECHO_N "(cached) $ECHO_C" >&6
10679 cat >conftest.$ac_ext <<_ACEOF
10682 cat confdefs.h >>conftest.$ac_ext
10683 cat >>conftest.$ac_ext <<_ACEOF
10684 /* end confdefs.h. */
10685 #define _GNU_SOURCE
10686 #include <pthread.h>
10691 if ((pthread_rwlockattr_t *) 0)
10693 if (sizeof (pthread_rwlockattr_t))
10699 rm -f conftest.$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1 >conftest.err
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try='test -s conftest.$ac_objext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 ac_cv_type_pthread_rwlockattr_t=yes
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 ac_cv_type_pthread_rwlockattr_t=no
10727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10729 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10730 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10731 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10733 cat >>confdefs.h <<_ACEOF
10734 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10741 ac_save_LIBS="$LIBS"
10742 LIBS="$LIBS $LIBPTHREAD"
10744 for ac_func in pthread_getattr_np
10746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10747 echo "$as_me:$LINENO: checking for $ac_func" >&5
10748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10749 if eval "test \"\${$as_ac_var+set}\" = set"; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 cat >conftest.$ac_ext <<_ACEOF
10755 cat confdefs.h >>conftest.$ac_ext
10756 cat >>conftest.$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10760 #define $ac_func innocuous_$ac_func
10762 /* System header to define __stub macros and hopefully few prototypes,
10763 which can conflict with char $ac_func (); below.
10764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10765 <limits.h> exists even on freestanding compilers. */
10768 # include <limits.h>
10770 # include <assert.h>
10775 /* Override any gcc2 internal prototype to avoid an error. */
10780 /* We use char because int might match the return type of a gcc2
10781 builtin and then its argument prototype would still apply. */
10783 /* The GNU C library defines this for functions which it implements
10784 to always fail with ENOSYS. Some functions are actually named
10785 something starting with __ and the normal name is an alias. */
10786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10789 char (*f) () = $ac_func;
10798 return f != $ac_func;
10803 rm -f conftest.$ac_objext conftest$ac_exeext
10804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10805 (eval $ac_link) 2>conftest.er1
10807 grep -v '^ *+' conftest.er1 >conftest.err
10809 cat conftest.err >&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } &&
10812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 (eval $ac_try) 2>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); }; } &&
10818 { ac_try='test -s conftest$ac_exeext'
10819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 (eval $ac_try) 2>&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); }; }; then
10824 eval "$as_ac_var=yes"
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.$ac_ext >&5
10829 eval "$as_ac_var=no"
10831 rm -f conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10836 if test `eval echo '${'$as_ac_var'}'` = yes; then
10837 cat >>confdefs.h <<_ACEOF
10838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10844 LIBS="$ac_save_LIBS"
10849 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10853 echo "$as_me:$LINENO: checking for $ac_header" >&5
10854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10861 # Is the header compilable?
10862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10864 cat >conftest.$ac_ext <<_ACEOF
10867 cat confdefs.h >>conftest.$ac_ext
10868 cat >>conftest.$ac_ext <<_ACEOF
10869 /* end confdefs.h. */
10870 $ac_includes_default
10871 #include <$ac_header>
10873 rm -f conftest.$ac_objext
10874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10875 (eval $ac_compile) 2>conftest.er1
10877 grep -v '^ *+' conftest.er1 >conftest.err
10879 cat conftest.err >&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10884 (eval $ac_try) 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; } &&
10888 { ac_try='test -s conftest.$ac_objext'
10889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10890 (eval $ac_try) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; }; then
10894 ac_header_compiler=yes
10896 echo "$as_me: failed program was:" >&5
10897 sed 's/^/| /' conftest.$ac_ext >&5
10899 ac_header_compiler=no
10901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10903 echo "${ECHO_T}$ac_header_compiler" >&6
10905 # Is the header present?
10906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10908 cat >conftest.$ac_ext <<_ACEOF
10911 cat confdefs.h >>conftest.$ac_ext
10912 cat >>conftest.$ac_ext <<_ACEOF
10913 /* end confdefs.h. */
10914 #include <$ac_header>
10916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10919 grep -v '^ *+' conftest.er1 >conftest.err
10921 cat conftest.err >&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } >/dev/null; then
10924 if test -s conftest.err; then
10925 ac_cpp_err=$ac_c_preproc_warn_flag
10926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10933 if test -z "$ac_cpp_err"; then
10934 ac_header_preproc=yes
10936 echo "$as_me: failed program was:" >&5
10937 sed 's/^/| /' conftest.$ac_ext >&5
10939 ac_header_preproc=no
10941 rm -f conftest.err conftest.$ac_ext
10942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10943 echo "${ECHO_T}$ac_header_preproc" >&6
10945 # So? What about this header?
10946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10952 ac_header_preproc=yes
10955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10969 ## ------------------------------------ ##
10970 ## Report this to wine-devel@winehq.org ##
10971 ## ------------------------------------ ##
10974 sed "s/^/$as_me: WARNING: /" >&2
10977 echo "$as_me:$LINENO: checking for $ac_header" >&5
10978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10980 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 eval "$as_ac_Header=\$ac_header_preproc"
10984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10989 cat >>confdefs.h <<_ACEOF
10990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10998 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10999 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11000 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 cat >conftest.$ac_ext <<_ACEOF
11006 cat confdefs.h >>conftest.$ac_ext
11007 cat >>conftest.$ac_ext <<_ACEOF
11008 /* end confdefs.h. */
11010 #if defined(HAVE_SYS_SOUNDCARD_H)
11011 #include <sys/soundcard.h>
11012 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11013 #include <machine/soundcard.h>
11014 #elif defined(HAVE_SOUNDCARD_H)
11015 #include <soundcard.h>
11023 /* check for one of the Open Sound System specific SNDCTL_ defines */
11024 #if !defined(SNDCTL_DSP_STEREO)
11025 #error No open sound system
11032 rm -f conftest.$ac_objext
11033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11034 (eval $ac_compile) 2>conftest.er1
11036 grep -v '^ *+' conftest.er1 >conftest.err
11038 cat conftest.err >&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } &&
11041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; } &&
11047 { ac_try='test -s conftest.$ac_objext'
11048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11049 (eval $ac_try) 2>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }; }; then
11053 ac_cv_c_opensoundsystem="yes"
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11058 ac_cv_c_opensoundsystem="no"
11060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11062 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11063 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11065 if test "$ac_cv_c_opensoundsystem" = "yes"
11068 cat >>confdefs.h <<\_ACEOF
11074 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11075 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11076 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 cat >conftest.$ac_ext <<_ACEOF
11082 cat confdefs.h >>conftest.$ac_ext
11083 cat >>conftest.$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11086 #if defined(HAVE_SYS_SOUNDCARD_H)
11087 #include <sys/soundcard.h>
11088 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11089 #include <machine/soundcard.h>
11090 #elif defined(HAVE_SOUNDCARD_H)
11091 #include <soundcard.h>
11099 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11100 #if !defined(SNDCTL_SEQ_SYNC)
11101 #error No open sound system MIDI interface
11108 rm -f conftest.$ac_objext
11109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11110 (eval $ac_compile) 2>conftest.er1
11112 grep -v '^ *+' conftest.er1 >conftest.err
11114 cat conftest.err >&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); } &&
11117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11119 (eval $ac_try) 2>&5
11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11122 (exit $ac_status); }; } &&
11123 { ac_try='test -s conftest.$ac_objext'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; }; then
11129 ac_cv_c_opensoundsystem_midi="yes"
11131 echo "$as_me: failed program was:" >&5
11132 sed 's/^/| /' conftest.$ac_ext >&5
11134 ac_cv_c_opensoundsystem_midi="no"
11136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11138 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11139 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11141 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11144 cat >>confdefs.h <<\_ACEOF
11145 #define HAVE_OSS_MIDI 1
11150 # Extract the first word of "artsc-config", so it can be a program name with args.
11151 set dummy artsc-config; ac_word=$2
11152 echo "$as_me:$LINENO: checking for $ac_word" >&5
11153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11154 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11157 case $ARTSCCONFIG in
11159 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11163 for as_dir in $PATH
11166 test -z "$as_dir" && as_dir=.
11167 for ac_exec_ext in '' $ac_executable_extensions; do
11168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11169 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11179 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11181 if test -n "$ARTSCCONFIG"; then
11182 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11183 echo "${ECHO_T}$ARTSCCONFIG" >&6
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11189 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11192 for i in `$ARTSCCONFIG --cflags`
11195 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11198 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11199 save_CFLAGS="$CFLAGS"
11200 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11201 cat >conftest.$ac_ext <<_ACEOF
11204 cat confdefs.h >>conftest.$ac_ext
11205 cat >>conftest.$ac_ext <<_ACEOF
11206 /* end confdefs.h. */
11211 arts_stream_t stream;
11216 rm -f conftest.$ac_objext
11217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11218 (eval $ac_compile) 2>conftest.er1
11220 grep -v '^ *+' conftest.er1 >conftest.err
11222 cat conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; } &&
11231 { ac_try='test -s conftest.$ac_objext'
11232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11233 (eval $ac_try) 2>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; }; then
11237 ARTSLIBS=$ARTSC_LIBS
11239 ARTSINCL=$ARTSC_CFLAGS
11242 cat >>confdefs.h <<\_ACEOF
11243 #define HAVE_ARTS 1
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.$ac_ext >&5
11251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11252 CFLAGS="$save_CFLAGS"
11259 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11263 echo "$as_me:$LINENO: checking for $ac_header" >&5
11264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11266 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11271 # Is the header compilable?
11272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11274 cat >conftest.$ac_ext <<_ACEOF
11277 cat confdefs.h >>conftest.$ac_ext
11278 cat >>conftest.$ac_ext <<_ACEOF
11279 /* end confdefs.h. */
11280 $ac_includes_default
11281 #include <$ac_header>
11283 rm -f conftest.$ac_objext
11284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11285 (eval $ac_compile) 2>conftest.er1
11287 grep -v '^ *+' conftest.er1 >conftest.err
11289 cat conftest.err >&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); } &&
11292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; } &&
11298 { ac_try='test -s conftest.$ac_objext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_header_compiler=yes
11306 echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.$ac_ext >&5
11309 ac_header_compiler=no
11311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11313 echo "${ECHO_T}$ac_header_compiler" >&6
11315 # Is the header present?
11316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11318 cat >conftest.$ac_ext <<_ACEOF
11321 cat confdefs.h >>conftest.$ac_ext
11322 cat >>conftest.$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11324 #include <$ac_header>
11326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11329 grep -v '^ *+' conftest.er1 >conftest.err
11331 cat conftest.err >&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); } >/dev/null; then
11334 if test -s conftest.err; then
11335 ac_cpp_err=$ac_c_preproc_warn_flag
11336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11343 if test -z "$ac_cpp_err"; then
11344 ac_header_preproc=yes
11346 echo "$as_me: failed program was:" >&5
11347 sed 's/^/| /' conftest.$ac_ext >&5
11349 ac_header_preproc=no
11351 rm -f conftest.err conftest.$ac_ext
11352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11353 echo "${ECHO_T}$ac_header_preproc" >&6
11355 # So? What about this header?
11356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11362 ac_header_preproc=yes
11365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11379 ## ------------------------------------ ##
11380 ## Report this to wine-devel@winehq.org ##
11381 ## ------------------------------------ ##
11384 sed "s/^/$as_me: WARNING: /" >&2
11387 echo "$as_me:$LINENO: checking for $ac_header" >&5
11388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 eval "$as_ac_Header=\$ac_header_preproc"
11394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11399 cat >>confdefs.h <<_ACEOF
11400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11407 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11409 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11410 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11411 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11412 echo $ECHO_N "(cached) $ECHO_C" >&6
11414 ac_check_lib_save_LIBS=$LIBS
11415 LIBS="-lasound $LIBS"
11416 cat >conftest.$ac_ext <<_ACEOF
11419 cat confdefs.h >>conftest.$ac_ext
11420 cat >>conftest.$ac_ext <<_ACEOF
11421 /* end confdefs.h. */
11423 /* Override any gcc2 internal prototype to avoid an error. */
11427 /* We use char because int might match the return type of a gcc2
11428 builtin and then its argument prototype would still apply. */
11429 char snd_pcm_open ();
11438 rm -f conftest.$ac_objext conftest$ac_exeext
11439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11440 (eval $ac_link) 2>conftest.er1
11442 grep -v '^ *+' conftest.er1 >conftest.err
11444 cat conftest.err >&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } &&
11447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; } &&
11453 { ac_try='test -s conftest$ac_exeext'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; }; then
11459 ac_cv_lib_asound_snd_pcm_open=yes
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11464 ac_cv_lib_asound_snd_pcm_open=no
11466 rm -f conftest.err conftest.$ac_objext \
11467 conftest$ac_exeext conftest.$ac_ext
11468 LIBS=$ac_check_lib_save_LIBS
11470 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11471 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11472 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11474 cat >>confdefs.h <<\_ACEOF
11475 #define HAVE_ALSA 1
11478 ALSALIBS="-lasound"
11487 for ac_header in libaudioio.h
11489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11491 echo "$as_me:$LINENO: checking for $ac_header" >&5
11492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11499 # Is the header compilable?
11500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11502 cat >conftest.$ac_ext <<_ACEOF
11505 cat confdefs.h >>conftest.$ac_ext
11506 cat >>conftest.$ac_ext <<_ACEOF
11507 /* end confdefs.h. */
11508 $ac_includes_default
11509 #include <$ac_header>
11511 rm -f conftest.$ac_objext
11512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11513 (eval $ac_compile) 2>conftest.er1
11515 grep -v '^ *+' conftest.er1 >conftest.err
11517 cat conftest.err >&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } &&
11520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; } &&
11526 { ac_try='test -s conftest.$ac_objext'
11527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528 (eval $ac_try) 2>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }; }; then
11532 ac_header_compiler=yes
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.$ac_ext >&5
11537 ac_header_compiler=no
11539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11541 echo "${ECHO_T}$ac_header_compiler" >&6
11543 # Is the header present?
11544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11546 cat >conftest.$ac_ext <<_ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 #include <$ac_header>
11554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11557 grep -v '^ *+' conftest.er1 >conftest.err
11559 cat conftest.err >&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } >/dev/null; then
11562 if test -s conftest.err; then
11563 ac_cpp_err=$ac_c_preproc_warn_flag
11564 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11571 if test -z "$ac_cpp_err"; then
11572 ac_header_preproc=yes
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11577 ac_header_preproc=no
11579 rm -f conftest.err conftest.$ac_ext
11580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11581 echo "${ECHO_T}$ac_header_preproc" >&6
11583 # So? What about this header?
11584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11590 ac_header_preproc=yes
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11607 ## ------------------------------------ ##
11608 ## Report this to wine-devel@winehq.org ##
11609 ## ------------------------------------ ##
11612 sed "s/^/$as_me: WARNING: /" >&2
11615 echo "$as_me:$LINENO: checking for $ac_header" >&5
11616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 eval "$as_ac_Header=\$ac_header_preproc"
11622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11627 cat >>confdefs.h <<_ACEOF
11628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11630 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11631 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11632 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 ac_check_lib_save_LIBS=$LIBS
11636 LIBS="-laudioio $LIBS"
11637 cat >conftest.$ac_ext <<_ACEOF
11640 cat confdefs.h >>conftest.$ac_ext
11641 cat >>conftest.$ac_ext <<_ACEOF
11642 /* end confdefs.h. */
11644 /* Override any gcc2 internal prototype to avoid an error. */
11648 /* We use char because int might match the return type of a gcc2
11649 builtin and then its argument prototype would still apply. */
11650 char AudioIOGetVersion ();
11654 AudioIOGetVersion ();
11659 rm -f conftest.$ac_objext conftest$ac_exeext
11660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11661 (eval $ac_link) 2>conftest.er1
11663 grep -v '^ *+' conftest.er1 >conftest.err
11665 cat conftest.err >&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); } &&
11668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11670 (eval $ac_try) 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); }; } &&
11674 { ac_try='test -s conftest$ac_exeext'
11675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11676 (eval $ac_try) 2>&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); }; }; then
11680 ac_cv_lib_audioio_AudioIOGetVersion=yes
11682 echo "$as_me: failed program was:" >&5
11683 sed 's/^/| /' conftest.$ac_ext >&5
11685 ac_cv_lib_audioio_AudioIOGetVersion=no
11687 rm -f conftest.err conftest.$ac_objext \
11688 conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_lib_save_LIBS
11691 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11692 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11693 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11694 AUDIOIOLIBS="-laudioio"
11696 cat >>confdefs.h <<\_ACEOF
11697 #define HAVE_LIBAUDIOIO 1
11709 for ac_header in capi20.h
11711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11713 echo "$as_me:$LINENO: checking for $ac_header" >&5
11714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11721 # Is the header compilable?
11722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11724 cat >conftest.$ac_ext <<_ACEOF
11727 cat confdefs.h >>conftest.$ac_ext
11728 cat >>conftest.$ac_ext <<_ACEOF
11729 /* end confdefs.h. */
11730 $ac_includes_default
11731 #include <$ac_header>
11733 rm -f conftest.$ac_objext
11734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11735 (eval $ac_compile) 2>conftest.er1
11737 grep -v '^ *+' conftest.er1 >conftest.err
11739 cat conftest.err >&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } &&
11742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } &&
11748 { ac_try='test -s conftest.$ac_objext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11754 ac_header_compiler=yes
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11759 ac_header_compiler=no
11761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11762 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11763 echo "${ECHO_T}$ac_header_compiler" >&6
11765 # Is the header present?
11766 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11767 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11768 cat >conftest.$ac_ext <<_ACEOF
11771 cat confdefs.h >>conftest.$ac_ext
11772 cat >>conftest.$ac_ext <<_ACEOF
11773 /* end confdefs.h. */
11774 #include <$ac_header>
11776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11779 grep -v '^ *+' conftest.er1 >conftest.err
11781 cat conftest.err >&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } >/dev/null; then
11784 if test -s conftest.err; then
11785 ac_cpp_err=$ac_c_preproc_warn_flag
11786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11793 if test -z "$ac_cpp_err"; then
11794 ac_header_preproc=yes
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.$ac_ext >&5
11799 ac_header_preproc=no
11801 rm -f conftest.err conftest.$ac_ext
11802 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11803 echo "${ECHO_T}$ac_header_preproc" >&6
11805 # So? What about this header?
11806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11808 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11809 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11811 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11812 ac_header_preproc=yes
11815 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11816 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11817 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11818 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11819 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11820 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11821 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11822 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11825 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11826 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11829 ## ------------------------------------ ##
11830 ## Report this to wine-devel@winehq.org ##
11831 ## ------------------------------------ ##
11834 sed "s/^/$as_me: WARNING: /" >&2
11837 echo "$as_me:$LINENO: checking for $ac_header" >&5
11838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11842 eval "$as_ac_Header=\$ac_header_preproc"
11844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11849 cat >>confdefs.h <<_ACEOF
11850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11854 for ac_header in linux/capi.h
11856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11858 echo "$as_me:$LINENO: checking for $ac_header" >&5
11859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11866 # Is the header compilable?
11867 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11869 cat >conftest.$ac_ext <<_ACEOF
11872 cat confdefs.h >>conftest.$ac_ext
11873 cat >>conftest.$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11875 $ac_includes_default
11876 #include <$ac_header>
11878 rm -f conftest.$ac_objext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11880 (eval $ac_compile) 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_objext'
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_header_compiler=yes
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.$ac_ext >&5
11904 ac_header_compiler=no
11906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11908 echo "${ECHO_T}$ac_header_compiler" >&6
11910 # Is the header present?
11911 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11912 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11913 cat >conftest.$ac_ext <<_ACEOF
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11919 #include <$ac_header>
11921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11924 grep -v '^ *+' conftest.er1 >conftest.err
11926 cat conftest.err >&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } >/dev/null; then
11929 if test -s conftest.err; then
11930 ac_cpp_err=$ac_c_preproc_warn_flag
11931 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11938 if test -z "$ac_cpp_err"; then
11939 ac_header_preproc=yes
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.$ac_ext >&5
11944 ac_header_preproc=no
11946 rm -f conftest.err conftest.$ac_ext
11947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11948 echo "${ECHO_T}$ac_header_preproc" >&6
11950 # So? What about this header?
11951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11957 ac_header_preproc=yes
11960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11974 ## ------------------------------------ ##
11975 ## Report this to wine-devel@winehq.org ##
11976 ## ------------------------------------ ##
11979 sed "s/^/$as_me: WARNING: /" >&2
11982 echo "$as_me:$LINENO: checking for $ac_header" >&5
11983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11987 eval "$as_ac_Header=\$ac_header_preproc"
11989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11993 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11994 cat >>confdefs.h <<_ACEOF
11995 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11998 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11999 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12000 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 ac_check_lib_save_LIBS=$LIBS
12004 LIBS="-lcapi20 $LIBS"
12005 cat >conftest.$ac_ext <<_ACEOF
12008 cat confdefs.h >>conftest.$ac_ext
12009 cat >>conftest.$ac_ext <<_ACEOF
12010 /* end confdefs.h. */
12012 /* Override any gcc2 internal prototype to avoid an error. */
12016 /* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */
12018 char capi20_register ();
12022 capi20_register ();
12027 rm -f conftest.$ac_objext conftest$ac_exeext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12029 (eval $ac_link) 2>conftest.er1
12031 grep -v '^ *+' conftest.er1 >conftest.err
12033 cat conftest.err >&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } &&
12036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 ac_cv_lib_capi20_capi20_register=yes
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12053 ac_cv_lib_capi20_capi20_register=no
12055 rm -f conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext
12057 LIBS=$ac_check_lib_save_LIBS
12059 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12060 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12061 if test $ac_cv_lib_capi20_capi20_register = yes; then
12064 cat >>confdefs.h <<\_ACEOF
12065 #define HAVE_CAPI4LINUX 1
12068 CAPI4LINUXLIBS="-lcapi20"
12085 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12086 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12087 if test "${ac_cv_mmap64_works+set}" = set; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6
12090 if test "$cross_compiling" = yes; then
12091 ac_cv_mmap64_works="no"
12093 cat >conftest.$ac_ext <<_ACEOF
12096 cat confdefs.h >>conftest.$ac_ext
12097 cat >>conftest.$ac_ext <<_ACEOF
12098 /* end confdefs.h. */
12100 #define _FILE_OFFSET_BITS 64
12102 #include <unistd.h>
12104 #include <sys/mman.h>
12107 int main(int argc,char **argv) {
12108 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12109 if (fd == -1) exit(1);
12111 unlink("conftest.map");
12113 write(fd,"test",4);
12115 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12121 fprintf(stderr,"success!\n");
12127 rm -f conftest$ac_exeext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12129 (eval $ac_link) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
12138 ac_cv_mmap64_works="yes"
12140 echo "$as_me: program exited with status $ac_status" >&5
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12144 ( exit $ac_status )
12145 ac_cv_mmap64_works="no"
12147 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12150 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12151 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12153 if test "$ac_cv_mmap64_works" = "yes"
12156 cat >>confdefs.h <<\_ACEOF
12157 #define _FILE_OFFSET_BITS 64
12165 if test "x${GCC}" = "xyes"
12167 EXTRACFLAGS="-Wall -pipe"
12169 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12170 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12171 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 if test "$cross_compiling" = yes; then
12175 ac_cv_c_gcc_strength_bug="yes"
12177 cat >conftest.$ac_ext <<_ACEOF
12180 cat confdefs.h >>conftest.$ac_ext
12181 cat >>conftest.$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12184 int L[4] = {0,1,2,3};
12186 static int Array[3];
12187 unsigned int B = 3;
12189 for(i=0; i<B; i++) Array[i] = i - 3;
12190 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12193 exit( Array[1] != -2 || L[2] != 3);
12196 rm -f conftest$ac_exeext
12197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12198 (eval $ac_link) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12203 (eval $ac_try) 2>&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); }; }; then
12207 ac_cv_c_gcc_strength_bug="no"
12209 echo "$as_me: program exited with status $ac_status" >&5
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.$ac_ext >&5
12213 ( exit $ac_status )
12214 ac_cv_c_gcc_strength_bug="yes"
12216 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12219 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12220 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12221 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12223 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12226 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12227 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12228 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 ac_wine_try_cflags_saved=$CFLAGS
12232 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12233 cat >conftest.$ac_ext <<_ACEOF
12236 cat confdefs.h >>conftest.$ac_ext
12237 cat >>conftest.$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12248 rm -f conftest.$ac_objext conftest$ac_exeext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12250 (eval $ac_link) 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } &&
12257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; } &&
12263 { ac_try='test -s conftest$ac_exeext'
12264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); }; }; then
12269 ac_cv_c_gcc_stack_boundary="yes"
12271 echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.$ac_ext >&5
12274 ac_cv_c_gcc_stack_boundary="no"
12276 rm -f conftest.err conftest.$ac_objext \
12277 conftest$ac_exeext conftest.$ac_ext
12278 CFLAGS=$ac_wine_try_cflags_saved
12280 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12281 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12282 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12284 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12287 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12288 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12289 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12290 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 ac_wine_try_cflags_saved=$CFLAGS
12293 CFLAGS="$CFLAGS -fno-strict-aliasing"
12294 cat >conftest.$ac_ext <<_ACEOF
12297 cat confdefs.h >>conftest.$ac_ext
12298 cat >>conftest.$ac_ext <<_ACEOF
12299 /* end confdefs.h. */
12309 rm -f conftest.$ac_objext conftest$ac_exeext
12310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12311 (eval $ac_link) 2>conftest.er1
12313 grep -v '^ *+' conftest.er1 >conftest.err
12315 cat conftest.err >&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); } &&
12318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; } &&
12324 { ac_try='test -s conftest$ac_exeext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 ac_cv_c_gcc_no_strict_aliasing="yes"
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.$ac_ext >&5
12335 ac_cv_c_gcc_no_strict_aliasing="no"
12337 rm -f conftest.err conftest.$ac_objext \
12338 conftest$ac_exeext conftest.$ac_ext
12339 CFLAGS=$ac_wine_try_cflags_saved
12341 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12342 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12343 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12345 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12348 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12349 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12350 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12351 echo $ECHO_N "(cached) $ECHO_C" >&6
12353 ac_wine_try_cflags_saved=$CFLAGS
12354 CFLAGS="$CFLAGS -gstabs+"
12355 cat >conftest.$ac_ext <<_ACEOF
12358 cat confdefs.h >>conftest.$ac_ext
12359 cat >>conftest.$ac_ext <<_ACEOF
12360 /* end confdefs.h. */
12370 rm -f conftest.$ac_objext conftest$ac_exeext
12371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12372 (eval $ac_link) 2>conftest.er1
12374 grep -v '^ *+' conftest.er1 >conftest.err
12376 cat conftest.err >&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); } &&
12379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12381 (eval $ac_try) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); }; } &&
12385 { ac_try='test -s conftest$ac_exeext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 ac_cv_c_gcc_gstabs="yes"
12393 echo "$as_me: failed program was:" >&5
12394 sed 's/^/| /' conftest.$ac_ext >&5
12396 ac_cv_c_gcc_gstabs="no"
12398 rm -f conftest.err conftest.$ac_objext \
12399 conftest$ac_exeext conftest.$ac_ext
12400 CFLAGS=$ac_wine_try_cflags_saved
12402 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12403 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12404 if test "$ac_cv_c_gcc_gstabs" = "yes"
12406 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12409 saved_CFLAGS="$CFLAGS"
12410 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12411 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12412 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12413 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12414 echo $ECHO_N "(cached) $ECHO_C" >&6
12416 cat >conftest.$ac_ext <<_ACEOF
12419 cat confdefs.h >>conftest.$ac_ext
12420 cat >>conftest.$ac_ext <<_ACEOF
12421 /* end confdefs.h. */
12422 #include <string.h>
12431 rm -f conftest.$ac_objext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12433 (eval $ac_compile) 2>conftest.er1
12435 grep -v '^ *+' conftest.er1 >conftest.err
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12442 (eval $ac_try) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); }; } &&
12446 { ac_try='test -s conftest.$ac_objext'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; }; then
12452 ac_cv_c_string_h_warnings=no
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12457 ac_cv_c_string_h_warnings=yes
12459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12461 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12462 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12463 CFLAGS="$saved_CFLAGS"
12464 if test "$ac_cv_c_string_h_warnings" = "no"
12466 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12471 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12472 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12473 if test "${ac_cv_asm_func_def+set}" = set; then
12474 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 cat >conftest.$ac_ext <<_ACEOF
12479 cat confdefs.h >>conftest.$ac_ext
12480 cat >>conftest.$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12482 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"); }
12492 rm -f conftest.$ac_objext conftest$ac_exeext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12494 (eval $ac_link) 2>conftest.er1
12496 grep -v '^ *+' conftest.er1 >conftest.err
12498 cat conftest.err >&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } &&
12501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 (eval $ac_try) 2>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); }; } &&
12507 { ac_try='test -s conftest$ac_exeext'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; }; then
12513 ac_cv_asm_func_def=".def"
12515 echo "$as_me: failed program was:" >&5
12516 sed 's/^/| /' conftest.$ac_ext >&5
12518 cat >conftest.$ac_ext <<_ACEOF
12521 cat confdefs.h >>conftest.$ac_ext
12522 cat >>conftest.$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12524 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12534 rm -f conftest.$ac_objext conftest$ac_exeext
12535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12536 (eval $ac_link) 2>conftest.er1
12538 grep -v '^ *+' conftest.er1 >conftest.err
12540 cat conftest.err >&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); } &&
12543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; } &&
12549 { ac_try='test -s conftest$ac_exeext'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; }; then
12555 ac_cv_asm_func_def=".type @function"
12557 echo "$as_me: failed program was:" >&5
12558 sed 's/^/| /' conftest.$ac_ext >&5
12560 cat >conftest.$ac_ext <<_ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12566 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12576 rm -f conftest.$ac_objext conftest$ac_exeext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12578 (eval $ac_link) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1 >conftest.err
12582 cat conftest.err >&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try='test -s conftest$ac_exeext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12597 ac_cv_asm_func_def=".type 2"
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.$ac_ext >&5
12602 ac_cv_asm_func_def="unknown"
12604 rm -f conftest.err conftest.$ac_objext \
12605 conftest$ac_exeext conftest.$ac_ext
12607 rm -f conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12610 rm -f conftest.err conftest.$ac_objext \
12611 conftest$ac_exeext conftest.$ac_ext
12613 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12614 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12618 case "$ac_cv_asm_func_def" in
12620 cat >>confdefs.h <<\_ACEOF
12621 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12625 cat >>confdefs.h <<\_ACEOF
12626 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12630 cat >>confdefs.h <<\_ACEOF
12631 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12635 cat >>confdefs.h <<\_ACEOF
12636 #define __ASM_FUNC(name) ""
12642 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12643 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12644 if test "${ac_cv_c_extern_prefix+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 cat >conftest.$ac_ext <<_ACEOF
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12654 extern int ac_test;
12658 if (ac_test) return 1
12663 rm -f conftest.$ac_objext conftest$ac_exeext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12665 (eval $ac_link) 2>conftest.er1
12667 grep -v '^ *+' conftest.er1 >conftest.err
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; } &&
12678 { ac_try='test -s conftest$ac_exeext'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 ac_cv_c_extern_prefix="yes"
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12689 ac_cv_c_extern_prefix="no"
12691 rm -f conftest.err conftest.$ac_objext \
12692 conftest$ac_exeext conftest.$ac_ext
12694 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12695 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12699 if test "$ac_cv_c_extern_prefix" = "yes"
12701 cat >>confdefs.h <<\_ACEOF
12702 #define __ASM_NAME(name) "_" name
12706 cat >>confdefs.h <<\_ACEOF
12707 #define __ASM_NAME(name) name
12713 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12714 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12715 if test "${ac_cv_c_asm_string+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12718 cat >conftest.$ac_ext <<_ACEOF
12721 cat confdefs.h >>conftest.$ac_ext
12722 cat >>conftest.$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12724 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12734 rm -f conftest.$ac_objext conftest$ac_exeext
12735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12736 (eval $ac_link) 2>conftest.er1
12738 grep -v '^ *+' conftest.er1 >conftest.err
12740 cat conftest.err >&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } &&
12743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; } &&
12749 { ac_try='test -s conftest$ac_exeext'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; }; then
12755 ac_cv_c_asm_string=".string"
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 cat >conftest.$ac_ext <<_ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12776 rm -f conftest.$ac_objext conftest$ac_exeext
12777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12778 (eval $ac_link) 2>conftest.er1
12780 grep -v '^ *+' conftest.er1 >conftest.err
12782 cat conftest.err >&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); } &&
12785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; } &&
12791 { ac_try='test -s conftest$ac_exeext'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12797 ac_cv_c_asm_string=".asciz"
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12802 cat >conftest.$ac_ext <<_ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12818 rm -f conftest.$ac_objext conftest$ac_exeext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12820 (eval $ac_link) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1 >conftest.err
12824 cat conftest.err >&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } &&
12827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; } &&
12833 { ac_try='test -s conftest$ac_exeext'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; }; then
12839 ac_cv_c_asm_string=".ascii"
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.$ac_ext >&5
12844 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12845 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12846 { (exit 1); exit 1; }; }
12848 rm -f conftest.err conftest.$ac_objext \
12849 conftest$ac_exeext conftest.$ac_ext
12851 rm -f conftest.err conftest.$ac_objext \
12852 conftest$ac_exeext conftest.$ac_ext
12854 rm -f conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12857 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12858 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12861 cat >>confdefs.h <<_ACEOF
12862 #define __ASM_STRING "$ac_cv_c_asm_string"
12867 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12868 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12869 if test "${ac_cv_c_asm_short+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12872 cat >conftest.$ac_ext <<_ACEOF
12875 cat confdefs.h >>conftest.$ac_ext
12876 cat >>conftest.$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12878 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12888 rm -f conftest.$ac_objext conftest$ac_exeext
12889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12890 (eval $ac_link) 2>conftest.er1
12892 grep -v '^ *+' conftest.er1 >conftest.err
12894 cat conftest.err >&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); } &&
12897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; } &&
12903 { ac_try='test -s conftest$ac_exeext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 ac_cv_c_asm_short=".short"
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.$ac_ext >&5
12914 cat >conftest.$ac_ext <<_ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12920 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12930 rm -f conftest.$ac_objext conftest$ac_exeext
12931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12932 (eval $ac_link) 2>conftest.er1
12934 grep -v '^ *+' conftest.er1 >conftest.err
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } &&
12939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12941 (eval $ac_try) 2>&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); }; } &&
12945 { ac_try='test -s conftest$ac_exeext'
12946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947 (eval $ac_try) 2>&5
12949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 (exit $ac_status); }; }; then
12951 ac_cv_c_asm_short=".half"
12953 echo "$as_me: failed program was:" >&5
12954 sed 's/^/| /' conftest.$ac_ext >&5
12956 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12957 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12958 { (exit 1); exit 1; }; }
12960 rm -f conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12963 rm -f conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12966 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12967 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12970 cat >>confdefs.h <<_ACEOF
12971 #define __ASM_SHORT "$ac_cv_c_asm_short"
12978 DLLFLAGS="-D_REENTRANT"
12993 if test -n "$ac_tool_prefix"; then
12994 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12995 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12996 echo "$as_me:$LINENO: checking for $ac_word" >&5
12997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12998 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 if test -n "$DLLTOOL"; then
13002 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13005 for as_dir in $PATH
13008 test -z "$as_dir" && as_dir=.
13009 for ac_exec_ext in '' $ac_executable_extensions; do
13010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13011 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13020 DLLTOOL=$ac_cv_prog_DLLTOOL
13021 if test -n "$DLLTOOL"; then
13022 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13023 echo "${ECHO_T}$DLLTOOL" >&6
13025 echo "$as_me:$LINENO: result: no" >&5
13026 echo "${ECHO_T}no" >&6
13030 if test -z "$ac_cv_prog_DLLTOOL"; then
13031 ac_ct_DLLTOOL=$DLLTOOL
13032 # Extract the first word of "dlltool", so it can be a program name with args.
13033 set dummy dlltool; ac_word=$2
13034 echo "$as_me:$LINENO: checking for $ac_word" >&5
13035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13036 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 if test -n "$ac_ct_DLLTOOL"; then
13040 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13043 for as_dir in $PATH
13046 test -z "$as_dir" && as_dir=.
13047 for ac_exec_ext in '' $ac_executable_extensions; do
13048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13049 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13059 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13060 if test -n "$ac_ct_DLLTOOL"; then
13061 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13062 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13064 echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6
13068 DLLTOOL=$ac_ct_DLLTOOL
13070 DLLTOOL="$ac_cv_prog_DLLTOOL"
13073 if test -n "$ac_tool_prefix"; then
13074 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13075 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13076 echo "$as_me:$LINENO: checking for $ac_word" >&5
13077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13078 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13079 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 if test -n "$DLLWRAP"; then
13082 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13085 for as_dir in $PATH
13088 test -z "$as_dir" && as_dir=.
13089 for ac_exec_ext in '' $ac_executable_extensions; do
13090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13091 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13100 DLLWRAP=$ac_cv_prog_DLLWRAP
13101 if test -n "$DLLWRAP"; then
13102 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13103 echo "${ECHO_T}$DLLWRAP" >&6
13105 echo "$as_me:$LINENO: result: no" >&5
13106 echo "${ECHO_T}no" >&6
13110 if test -z "$ac_cv_prog_DLLWRAP"; then
13111 ac_ct_DLLWRAP=$DLLWRAP
13112 # Extract the first word of "dllwrap", so it can be a program name with args.
13113 set dummy dllwrap; ac_word=$2
13114 echo "$as_me:$LINENO: checking for $ac_word" >&5
13115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13116 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 if test -n "$ac_ct_DLLWRAP"; then
13120 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13123 for as_dir in $PATH
13126 test -z "$as_dir" && as_dir=.
13127 for ac_exec_ext in '' $ac_executable_extensions; do
13128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13129 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13136 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13139 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13140 if test -n "$ac_ct_DLLWRAP"; then
13141 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13142 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13144 echo "$as_me:$LINENO: result: no" >&5
13145 echo "${ECHO_T}no" >&6
13148 DLLWRAP=$ac_ct_DLLWRAP
13150 DLLWRAP="$ac_cv_prog_DLLWRAP"
13153 if test "$DLLWRAP" = "false"; then
13162 for ac_header in dlfcn.h
13164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13166 echo "$as_me:$LINENO: checking for $ac_header" >&5
13167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13169 echo $ECHO_N "(cached) $ECHO_C" >&6
13171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13174 # Is the header compilable?
13175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13177 cat >conftest.$ac_ext <<_ACEOF
13180 cat confdefs.h >>conftest.$ac_ext
13181 cat >>conftest.$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13183 $ac_includes_default
13184 #include <$ac_header>
13186 rm -f conftest.$ac_objext
13187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13188 (eval $ac_compile) 2>conftest.er1
13190 grep -v '^ *+' conftest.er1 >conftest.err
13192 cat conftest.err >&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); } &&
13195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13201 { ac_try='test -s conftest.$ac_objext'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; }; then
13207 ac_header_compiler=yes
13209 echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.$ac_ext >&5
13212 ac_header_compiler=no
13214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13216 echo "${ECHO_T}$ac_header_compiler" >&6
13218 # Is the header present?
13219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13221 cat >conftest.$ac_ext <<_ACEOF
13224 cat confdefs.h >>conftest.$ac_ext
13225 cat >>conftest.$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 #include <$ac_header>
13229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13232 grep -v '^ *+' conftest.er1 >conftest.err
13234 cat conftest.err >&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } >/dev/null; then
13237 if test -s conftest.err; then
13238 ac_cpp_err=$ac_c_preproc_warn_flag
13239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13246 if test -z "$ac_cpp_err"; then
13247 ac_header_preproc=yes
13249 echo "$as_me: failed program was:" >&5
13250 sed 's/^/| /' conftest.$ac_ext >&5
13252 ac_header_preproc=no
13254 rm -f conftest.err conftest.$ac_ext
13255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13256 echo "${ECHO_T}$ac_header_preproc" >&6
13258 # So? What about this header?
13259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13265 ac_header_preproc=yes
13268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13282 ## ------------------------------------ ##
13283 ## Report this to wine-devel@winehq.org ##
13284 ## ------------------------------------ ##
13287 sed "s/^/$as_me: WARNING: /" >&2
13290 echo "$as_me:$LINENO: checking for $ac_header" >&5
13291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 eval "$as_ac_Header=\$ac_header_preproc"
13297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13302 cat >>confdefs.h <<_ACEOF
13303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13306 for ac_func in dlopen
13308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13309 echo "$as_me:$LINENO: checking for $ac_func" >&5
13310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_var+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 cat >conftest.$ac_ext <<_ACEOF
13317 cat confdefs.h >>conftest.$ac_ext
13318 cat >>conftest.$ac_ext <<_ACEOF
13319 /* end confdefs.h. */
13320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13322 #define $ac_func innocuous_$ac_func
13324 /* System header to define __stub macros and hopefully few prototypes,
13325 which can conflict with char $ac_func (); below.
13326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13327 <limits.h> exists even on freestanding compilers. */
13330 # include <limits.h>
13332 # include <assert.h>
13337 /* Override any gcc2 internal prototype to avoid an error. */
13342 /* We use char because int might match the return type of a gcc2
13343 builtin and then its argument prototype would still apply. */
13345 /* The GNU C library defines this for functions which it implements
13346 to always fail with ENOSYS. Some functions are actually named
13347 something starting with __ and the normal name is an alias. */
13348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13351 char (*f) () = $ac_func;
13360 return f != $ac_func;
13365 rm -f conftest.$ac_objext conftest$ac_exeext
13366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13367 (eval $ac_link) 2>conftest.er1
13369 grep -v '^ *+' conftest.er1 >conftest.err
13371 cat conftest.err >&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } &&
13374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try='test -s conftest$ac_exeext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 eval "$as_ac_var=yes"
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.$ac_ext >&5
13391 eval "$as_ac_var=no"
13393 rm -f conftest.err conftest.$ac_objext \
13394 conftest$ac_exeext conftest.$ac_ext
13396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13398 if test `eval echo '${'$as_ac_var'}'` = yes; then
13399 cat >>confdefs.h <<_ACEOF
13400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13404 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13405 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13406 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13407 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 ac_check_lib_save_LIBS=$LIBS
13411 cat >conftest.$ac_ext <<_ACEOF
13414 cat confdefs.h >>conftest.$ac_ext
13415 cat >>conftest.$ac_ext <<_ACEOF
13416 /* end confdefs.h. */
13418 /* Override any gcc2 internal prototype to avoid an error. */
13422 /* We use char because int might match the return type of a gcc2
13423 builtin and then its argument prototype would still apply. */
13433 rm -f conftest.$ac_objext conftest$ac_exeext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435 (eval $ac_link) 2>conftest.er1
13437 grep -v '^ *+' conftest.er1 >conftest.err
13439 cat conftest.err >&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); } &&
13442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; } &&
13448 { ac_try='test -s conftest$ac_exeext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 ac_cv_lib_dl_dlopen=yes
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13459 ac_cv_lib_dl_dlopen=no
13461 rm -f conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13463 LIBS=$ac_check_lib_save_LIBS
13465 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13466 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13467 if test $ac_cv_lib_dl_dlopen = yes; then
13469 cat >>confdefs.h <<\_ACEOF
13470 #define HAVE_DLOPEN 1
13488 if test "$LIBEXT" = "so"
13490 DLLFLAGS="$DLLFLAGS -fPIC"
13492 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13493 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13494 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13495 echo $ECHO_N "(cached) $ECHO_C" >&6
13497 ac_wine_try_cflags_saved=$CFLAGS
13498 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13499 cat >conftest.$ac_ext <<_ACEOF
13502 cat confdefs.h >>conftest.$ac_ext
13503 cat >>conftest.$ac_ext <<_ACEOF
13504 /* end confdefs.h. */
13514 rm -f conftest.$ac_objext conftest$ac_exeext
13515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13516 (eval $ac_link) 2>conftest.er1
13518 grep -v '^ *+' conftest.er1 >conftest.err
13520 cat conftest.err >&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); } &&
13523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; } &&
13529 { ac_try='test -s conftest$ac_exeext'
13530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13531 (eval $ac_try) 2>&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); }; }; then
13535 ac_cv_c_dll_gnuelf="yes"
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13540 ac_cv_c_dll_gnuelf="no"
13542 rm -f conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 CFLAGS=$ac_wine_try_cflags_saved
13546 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13547 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13548 if test "$ac_cv_c_dll_gnuelf" = "yes"
13550 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13551 LDDLL="\$(CC) -shared -Wl,-Bsymbolic"
13552 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13553 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13554 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13555 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 ac_wine_try_cflags_saved=$CFLAGS
13558 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13559 cat >conftest.$ac_ext <<_ACEOF
13562 cat confdefs.h >>conftest.$ac_ext
13563 cat >>conftest.$ac_ext <<_ACEOF
13564 /* end confdefs.h. */
13574 rm -f conftest.$ac_objext conftest$ac_exeext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13576 (eval $ac_link) 2>conftest.er1
13578 grep -v '^ *+' conftest.er1 >conftest.err
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try='test -s conftest$ac_exeext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 ac_cv_c_dll_zdefs="yes"
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 ac_cv_c_dll_zdefs="no"
13602 rm -f conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 CFLAGS=$ac_wine_try_cflags_saved
13606 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13607 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13608 if test "$ac_cv_c_dll_zdefs" = "yes"
13610 LDDLL="$LDDLL,-z,defs"
13613 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13614 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13615 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13616 echo $ECHO_N "(cached) $ECHO_C" >&6
13618 ac_wine_try_cflags_saved=$CFLAGS
13619 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13620 cat >conftest.$ac_ext <<_ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13635 rm -f conftest.$ac_objext conftest$ac_exeext
13636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13637 (eval $ac_link) 2>conftest.er1
13639 grep -v '^ *+' conftest.er1 >conftest.err
13641 cat conftest.err >&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } &&
13644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; } &&
13650 { ac_try='test -s conftest$ac_exeext'
13651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 (eval $ac_try) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; }; then
13656 ac_cv_c_dll_init_fini="yes"
13658 echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.$ac_ext >&5
13661 ac_cv_c_dll_init_fini="no"
13663 rm -f conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 CFLAGS=$ac_wine_try_cflags_saved
13667 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13668 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13669 if test "$ac_cv_c_dll_init_fini" = "yes"
13672 cat >>confdefs.h <<\_ACEOF
13673 #define HAVE_LINKER_INIT_FINI 1
13676 LDDLL="$LDDLL,-init,__wine_spec_init,-fini,__wine_spec_fini"
13679 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13680 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13681 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 echo '{ global: *; };' >conftest.map
13685 ac_wine_try_cflags_saved=$CFLAGS
13686 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13687 cat >conftest.$ac_ext <<_ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13702 rm -f conftest.$ac_objext conftest$ac_exeext
13703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13704 (eval $ac_link) 2>conftest.er1
13706 grep -v '^ *+' conftest.er1 >conftest.err
13708 cat conftest.err >&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); } &&
13711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; } &&
13717 { ac_try='test -s conftest$ac_exeext'
13718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13719 (eval $ac_try) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; }; then
13723 ac_cv_c_ld_version_scripts="yes"
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13728 ac_cv_c_ld_version_scripts="no"
13730 rm -f conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 CFLAGS=$ac_wine_try_cflags_saved
13735 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13736 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13737 if test "$ac_cv_c_ld_version_scripts" = "yes"
13739 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13742 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13743 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13744 if test "${ac_cv_c_export_dynamic+set}" = set; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 ac_wine_try_cflags_saved=$CFLAGS
13748 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13749 cat >conftest.$ac_ext <<_ACEOF
13752 cat confdefs.h >>conftest.$ac_ext
13753 cat >>conftest.$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13764 rm -f conftest.$ac_objext conftest$ac_exeext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13766 (eval $ac_link) 2>conftest.er1
13768 grep -v '^ *+' conftest.er1 >conftest.err
13770 cat conftest.err >&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; } &&
13779 { ac_try='test -s conftest$ac_exeext'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13785 ac_cv_c_export_dynamic="yes"
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.$ac_ext >&5
13790 ac_cv_c_export_dynamic="no"
13792 rm -f conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13794 CFLAGS=$ac_wine_try_cflags_saved
13796 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13797 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13798 if test "$ac_cv_c_export_dynamic" = "yes"
13800 LDEXECFLAGS="-Wl,--export-dynamic"
13806 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
13807 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
13808 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 saved_CFLAGS="$CFLAGS"
13812 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x00110400"
13813 if test "$cross_compiling" = yes; then
13814 ac_cv_ld_reloc_exec="no"
13816 cat >conftest.$ac_ext <<_ACEOF
13819 cat confdefs.h >>conftest.$ac_ext
13820 cat >>conftest.$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13822 #include <unistd.h>
13823 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
13825 rm -f conftest$ac_exeext
13826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13827 (eval $ac_link) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 ac_cv_ld_reloc_exec="yes"
13838 echo "$as_me: program exited with status $ac_status" >&5
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13842 ( exit $ac_status )
13843 ac_cv_ld_reloc_exec="no"
13845 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13847 CFLAGS="$saved_CFLAGS"
13849 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13850 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13851 if test "$ac_cv_ld_reloc_exec" = "yes"
13853 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
13859 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13860 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13861 if test "${ac_cv_c_dll_unixware+set}" = set; then
13862 echo $ECHO_N "(cached) $ECHO_C" >&6
13864 ac_wine_try_cflags_saved=$CFLAGS
13865 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13866 cat >conftest.$ac_ext <<_ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13881 rm -f conftest.$ac_objext conftest$ac_exeext
13882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13883 (eval $ac_link) 2>conftest.er1
13885 grep -v '^ *+' conftest.er1 >conftest.err
13887 cat conftest.err >&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); } &&
13890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; } &&
13896 { ac_try='test -s conftest$ac_exeext'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; }; then
13902 ac_cv_c_dll_unixware="yes"
13904 echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.$ac_ext >&5
13907 ac_cv_c_dll_unixware="no"
13909 rm -f conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 CFLAGS=$ac_wine_try_cflags_saved
13913 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13914 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13915 if test "$ac_cv_c_dll_unixware" = "yes"
13917 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13918 LDDLL="\$(CC) -Wl,-G,-B,symbolic"
13921 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13922 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13923 if test "${ac_cv_c_dll_macho+set}" = set; then
13924 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 ac_wine_try_cflags_saved=$CFLAGS
13927 CFLAGS="$CFLAGS -bundle"
13928 cat >conftest.$ac_ext <<_ACEOF
13931 cat confdefs.h >>conftest.$ac_ext
13932 cat >>conftest.$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13943 rm -f conftest.$ac_objext conftest$ac_exeext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13945 (eval $ac_link) 2>conftest.er1
13947 grep -v '^ *+' conftest.er1 >conftest.err
13949 cat conftest.err >&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } &&
13952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954 (eval $ac_try) 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; } &&
13958 { ac_try='test -s conftest$ac_exeext'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; }; then
13964 ac_cv_c_dll_macho="yes"
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13969 ac_cv_c_dll_macho="no"
13971 rm -f conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 CFLAGS=$ac_wine_try_cflags_saved
13975 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
13976 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
13977 if test "$ac_cv_c_dll_macho" = "yes"
13980 LDDLL="\$(CC) -bundle -flat_namespace -undefined suppress"
13981 LDSHARED="\$(CC) -dynamiclib"
13982 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
13990 if test "$cross_compiling" = "no"
13992 for ac_prog in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
13994 # Extract the first word of "$ac_prog", so it can be a program name with args.
13995 set dummy $ac_prog; ac_word=$2
13996 echo "$as_me:$LINENO: checking for $ac_word" >&5
13997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13998 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14001 if test -n "$CROSSCC"; then
14002 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14005 for as_dir in $PATH
14008 test -z "$as_dir" && as_dir=.
14009 for ac_exec_ext in '' $ac_executable_extensions; do
14010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14011 ac_cv_prog_CROSSCC="$ac_prog"
14012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14020 CROSSCC=$ac_cv_prog_CROSSCC
14021 if test -n "$CROSSCC"; then
14022 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14023 echo "${ECHO_T}$CROSSCC" >&6
14025 echo "$as_me:$LINENO: result: no" >&5
14026 echo "${ECHO_T}no" >&6
14029 test -n "$CROSSCC" && break
14031 test -n "$CROSSCC" || CROSSCC="false"
14033 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14035 # Extract the first word of "$ac_prog", so it can be a program name with args.
14036 set dummy $ac_prog; ac_word=$2
14037 echo "$as_me:$LINENO: checking for $ac_word" >&5
14038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14039 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 if test -n "$DLLTOOL"; then
14043 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14046 for as_dir in $PATH
14049 test -z "$as_dir" && as_dir=.
14050 for ac_exec_ext in '' $ac_executable_extensions; do
14051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14052 ac_cv_prog_DLLTOOL="$ac_prog"
14053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14061 DLLTOOL=$ac_cv_prog_DLLTOOL
14062 if test -n "$DLLTOOL"; then
14063 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14064 echo "${ECHO_T}$DLLTOOL" >&6
14066 echo "$as_me:$LINENO: result: no" >&5
14067 echo "${ECHO_T}no" >&6
14070 test -n "$DLLTOOL" && break
14072 test -n "$DLLTOOL" || DLLTOOL="false"
14074 for ac_prog in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14076 # Extract the first word of "$ac_prog", so it can be a program name with args.
14077 set dummy $ac_prog; ac_word=$2
14078 echo "$as_me:$LINENO: checking for $ac_word" >&5
14079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14080 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 if test -n "$CROSSWINDRES"; then
14084 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14087 for as_dir in $PATH
14090 test -z "$as_dir" && as_dir=.
14091 for ac_exec_ext in '' $ac_executable_extensions; do
14092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14093 ac_cv_prog_CROSSWINDRES="$ac_prog"
14094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14102 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14103 if test -n "$CROSSWINDRES"; then
14104 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14105 echo "${ECHO_T}$CROSSWINDRES" >&6
14107 echo "$as_me:$LINENO: result: no" >&5
14108 echo "${ECHO_T}no" >&6
14111 test -n "$CROSSWINDRES" && break
14113 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14115 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14120 if test "$LIBEXT" = "a"; then
14121 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14122 It is currently not possible to build Wine without shared library
14123 (.so) support to allow transparent switch between .so and .dll files.
14124 If you are using Linux, you will need a newer binutils.
14126 echo "$as_me: error: could not find a way to build shared libraries.
14127 It is currently not possible to build Wine without shared library
14128 (.so) support to allow transparent switch between .so and .dll files.
14129 If you are using Linux, you will need a newer binutils.
14131 { (exit 1); exit 1; }; }
14136 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14139 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14142 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14154 WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14156 MAIN_BINARY="wine-glibc"
14160 WINE_BINARIES="wine-kthread"
14162 MAIN_BINARY="wine-kthread"
14168 if test "$LIBEXT" = "so"
14170 # Extract the first word of "ldd", so it can be a program name with args.
14171 set dummy ldd; ac_word=$2
14172 echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14174 if test "${ac_cv_path_LDD+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14183 as_dummy="/sbin:/usr/sbin:$PATH"
14184 for as_dir in $as_dummy
14187 test -z "$as_dir" && as_dir=.
14188 for ac_exec_ext in '' $ac_executable_extensions; do
14189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14190 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14197 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14201 LDD=$ac_cv_path_LDD
14203 if test -n "$LDD"; then
14204 echo "$as_me:$LINENO: result: $LDD" >&5
14205 echo "${ECHO_T}$LDD" >&6
14207 echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6
14212 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14213 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14214 if test "${ac_cv_lib_soname_X11+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 ac_get_soname_save_LIBS=$LIBS
14218 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14219 cat >conftest.$ac_ext <<_ACEOF
14222 cat confdefs.h >>conftest.$ac_ext
14223 cat >>conftest.$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14226 /* Override any gcc2 internal prototype to avoid an error. */
14230 /* We use char because int might match the return type of a gcc2
14231 builtin and then its argument prototype would still apply. */
14232 char XCreateWindow ();
14241 rm -f conftest.$ac_objext conftest$ac_exeext
14242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14243 (eval $ac_link) 2>conftest.er1
14245 grep -v '^ *+' conftest.er1 >conftest.err
14247 cat conftest.err >&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); } &&
14250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; } &&
14256 { ac_try='test -s conftest$ac_exeext'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14263 if test "x$ac_cv_lib_soname_X11" = "x"
14265 ac_cv_lib_soname_X11="libX11.so"
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.$ac_ext >&5
14271 ac_cv_lib_soname_X11="libX11.so"
14273 rm -f conftest.err conftest.$ac_objext \
14274 conftest$ac_exeext conftest.$ac_ext
14275 LIBS=$ac_get_soname_save_LIBS
14277 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14278 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14279 if test "x$ac_cv_lib_soname_X11" != xNONE
14281 cat >>confdefs.h <<_ACEOF
14282 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14286 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14287 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14288 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14289 echo $ECHO_N "(cached) $ECHO_C" >&6
14291 ac_get_soname_save_LIBS=$LIBS
14292 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14293 cat >conftest.$ac_ext <<_ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14300 /* Override any gcc2 internal prototype to avoid an error. */
14304 /* We use char because int might match the return type of a gcc2
14305 builtin and then its argument prototype would still apply. */
14306 char XextCreateExtension ();
14310 XextCreateExtension ();
14315 rm -f conftest.$ac_objext conftest$ac_exeext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14317 (eval $ac_link) 2>conftest.er1
14319 grep -v '^ *+' conftest.er1 >conftest.err
14321 cat conftest.err >&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); } &&
14324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try='test -s conftest$ac_exeext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14337 if test "x$ac_cv_lib_soname_Xext" = "x"
14339 ac_cv_lib_soname_Xext="libXext.so"
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.$ac_ext >&5
14345 ac_cv_lib_soname_Xext="libXext.so"
14347 rm -f conftest.err conftest.$ac_objext \
14348 conftest$ac_exeext conftest.$ac_ext
14349 LIBS=$ac_get_soname_save_LIBS
14351 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14352 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14353 if test "x$ac_cv_lib_soname_Xext" != xNONE
14355 cat >>confdefs.h <<_ACEOF
14356 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14360 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14361 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14362 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 ac_get_soname_save_LIBS=$LIBS
14366 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14367 cat >conftest.$ac_ext <<_ACEOF
14370 cat confdefs.h >>conftest.$ac_ext
14371 cat >>conftest.$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14374 /* Override any gcc2 internal prototype to avoid an error. */
14378 /* We use char because int might match the return type of a gcc2
14379 builtin and then its argument prototype would still apply. */
14380 char XOpenDevice ();
14389 rm -f conftest.$ac_objext conftest$ac_exeext
14390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14391 (eval $ac_link) 2>conftest.er1
14393 grep -v '^ *+' conftest.er1 >conftest.err
14395 cat conftest.err >&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } &&
14398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; } &&
14404 { ac_try='test -s conftest$ac_exeext'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; }; then
14410 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14411 if test "x$ac_cv_lib_soname_Xi" = "x"
14413 ac_cv_lib_soname_Xi="libXi.so"
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.$ac_ext >&5
14419 ac_cv_lib_soname_Xi="libXi.so"
14421 rm -f conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14423 LIBS=$ac_get_soname_save_LIBS
14425 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14426 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14427 if test "x$ac_cv_lib_soname_Xi" != xNONE
14429 cat >>confdefs.h <<_ACEOF
14430 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14434 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14435 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14436 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 ac_get_soname_save_LIBS=$LIBS
14440 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14441 cat >conftest.$ac_ext <<_ACEOF
14444 cat confdefs.h >>conftest.$ac_ext
14445 cat >>conftest.$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14448 /* Override any gcc2 internal prototype to avoid an error. */
14452 /* We use char because int might match the return type of a gcc2
14453 builtin and then its argument prototype would still apply. */
14454 char XRenderQueryExtension ();
14458 XRenderQueryExtension ();
14463 rm -f conftest.$ac_objext conftest$ac_exeext
14464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14465 (eval $ac_link) 2>conftest.er1
14467 grep -v '^ *+' conftest.er1 >conftest.err
14469 cat conftest.err >&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; } &&
14478 { ac_try='test -s conftest$ac_exeext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14485 if test "x$ac_cv_lib_soname_Xrender" = "x"
14487 ac_cv_lib_soname_Xrender="libXrender.so"
14490 echo "$as_me: failed program was:" >&5
14491 sed 's/^/| /' conftest.$ac_ext >&5
14493 ac_cv_lib_soname_Xrender="libXrender.so"
14495 rm -f conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14497 LIBS=$ac_get_soname_save_LIBS
14499 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14500 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14501 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14503 cat >>confdefs.h <<_ACEOF
14504 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14508 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14509 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14510 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 ac_get_soname_save_LIBS=$LIBS
14514 LIBS="-lfreetype $X_LIBS $LIBS"
14515 cat >conftest.$ac_ext <<_ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14522 /* Override any gcc2 internal prototype to avoid an error. */
14526 /* We use char because int might match the return type of a gcc2
14527 builtin and then its argument prototype would still apply. */
14528 char FT_Init_FreeType ();
14532 FT_Init_FreeType ();
14537 rm -f conftest.$ac_objext conftest$ac_exeext
14538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14539 (eval $ac_link) 2>conftest.er1
14541 grep -v '^ *+' conftest.er1 >conftest.err
14543 cat conftest.err >&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); } &&
14546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; } &&
14552 { ac_try='test -s conftest$ac_exeext'
14553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14554 (eval $ac_try) 2>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); }; }; then
14558 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
14559 if test "x$ac_cv_lib_soname_freetype" = "x"
14561 ac_cv_lib_soname_freetype="libfreetype.so"
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14567 ac_cv_lib_soname_freetype="libfreetype.so"
14569 rm -f conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_get_soname_save_LIBS
14573 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14574 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14575 if test "x$ac_cv_lib_soname_freetype" != xNONE
14577 cat >>confdefs.h <<_ACEOF
14578 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14582 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14583 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14584 if test "${ac_cv_lib_soname_GL+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 ac_get_soname_save_LIBS=$LIBS
14588 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14589 cat >conftest.$ac_ext <<_ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14596 /* Override any gcc2 internal prototype to avoid an error. */
14600 /* We use char because int might match the return type of a gcc2
14601 builtin and then its argument prototype would still apply. */
14602 char glXQueryExtension ();
14606 glXQueryExtension ();
14611 rm -f conftest.$ac_objext conftest$ac_exeext
14612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14613 (eval $ac_link) 2>conftest.er1
14615 grep -v '^ *+' conftest.er1 >conftest.err
14617 cat conftest.err >&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); } &&
14620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14622 (eval $ac_try) 2>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); }; } &&
14626 { ac_try='test -s conftest$ac_exeext'
14627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14628 (eval $ac_try) 2>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); }; }; then
14632 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
14633 if test "x$ac_cv_lib_soname_GL" = "x"
14635 ac_cv_lib_soname_GL="libGL.so"
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14641 ac_cv_lib_soname_GL="libGL.so"
14643 rm -f conftest.err conftest.$ac_objext \
14644 conftest$ac_exeext conftest.$ac_ext
14645 LIBS=$ac_get_soname_save_LIBS
14647 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14648 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14649 if test "x$ac_cv_lib_soname_GL" != xNONE
14651 cat >>confdefs.h <<_ACEOF
14652 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14656 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14657 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14658 if test "${ac_cv_lib_soname_cups+set}" = set; then
14659 echo $ECHO_N "(cached) $ECHO_C" >&6
14661 ac_get_soname_save_LIBS=$LIBS
14662 LIBS="-lcups $LIBS"
14663 cat >conftest.$ac_ext <<_ACEOF
14666 cat confdefs.h >>conftest.$ac_ext
14667 cat >>conftest.$ac_ext <<_ACEOF
14668 /* end confdefs.h. */
14670 /* Override any gcc2 internal prototype to avoid an error. */
14674 /* We use char because int might match the return type of a gcc2
14675 builtin and then its argument prototype would still apply. */
14676 char cupsGetDefault ();
14685 rm -f conftest.$ac_objext conftest$ac_exeext
14686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14687 (eval $ac_link) 2>conftest.er1
14689 grep -v '^ *+' conftest.er1 >conftest.err
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } &&
14694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; } &&
14700 { ac_try='test -s conftest$ac_exeext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
14707 if test "x$ac_cv_lib_soname_cups" = "x"
14709 ac_cv_lib_soname_cups="libcups.so"
14712 echo "$as_me: failed program was:" >&5
14713 sed 's/^/| /' conftest.$ac_ext >&5
14715 ac_cv_lib_soname_cups="libcups.so"
14717 rm -f conftest.err conftest.$ac_objext \
14718 conftest$ac_exeext conftest.$ac_ext
14719 LIBS=$ac_get_soname_save_LIBS
14721 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14722 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14723 if test "x$ac_cv_lib_soname_cups" != xNONE
14725 cat >>confdefs.h <<_ACEOF
14726 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14730 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14731 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14732 if test "${ac_cv_lib_soname_jack+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 ac_get_soname_save_LIBS=$LIBS
14736 LIBS="-ljack $LIBS"
14737 cat >conftest.$ac_ext <<_ACEOF
14740 cat confdefs.h >>conftest.$ac_ext
14741 cat >>conftest.$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14744 /* Override any gcc2 internal prototype to avoid an error. */
14748 /* We use char because int might match the return type of a gcc2
14749 builtin and then its argument prototype would still apply. */
14750 char jack_client_new ();
14754 jack_client_new ();
14759 rm -f conftest.$ac_objext conftest$ac_exeext
14760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14761 (eval $ac_link) 2>conftest.er1
14763 grep -v '^ *+' conftest.er1 >conftest.err
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } &&
14768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14770 (eval $ac_try) 2>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); }; } &&
14774 { ac_try='test -s conftest$ac_exeext'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; }; then
14780 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
14781 if test "x$ac_cv_lib_soname_jack" = "x"
14783 ac_cv_lib_soname_jack="libjack.so"
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14789 ac_cv_lib_soname_jack="libjack.so"
14791 rm -f conftest.err conftest.$ac_objext \
14792 conftest$ac_exeext conftest.$ac_ext
14793 LIBS=$ac_get_soname_save_LIBS
14795 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14796 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
14797 if test "x$ac_cv_lib_soname_jack" != xNONE
14799 cat >>confdefs.h <<_ACEOF
14800 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14804 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
14805 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
14806 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 ac_get_soname_save_LIBS=$LIBS
14810 LIBS="-lfontconfig $LIBS"
14811 cat >conftest.$ac_ext <<_ACEOF
14814 cat confdefs.h >>conftest.$ac_ext
14815 cat >>conftest.$ac_ext <<_ACEOF
14816 /* end confdefs.h. */
14818 /* Override any gcc2 internal prototype to avoid an error. */
14822 /* We use char because int might match the return type of a gcc2
14823 builtin and then its argument prototype would still apply. */
14833 rm -f conftest.$ac_objext conftest$ac_exeext
14834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14835 (eval $ac_link) 2>conftest.er1
14837 grep -v '^ *+' conftest.er1 >conftest.err
14839 cat conftest.err >&5
14840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14841 (exit $ac_status); } &&
14842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14844 (eval $ac_try) 2>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); }; } &&
14848 { ac_try='test -s conftest$ac_exeext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
14855 if test "x$ac_cv_lib_soname_fontconfig" = "x"
14857 ac_cv_lib_soname_fontconfig="libfontconfig.so"
14860 echo "$as_me: failed program was:" >&5
14861 sed 's/^/| /' conftest.$ac_ext >&5
14863 ac_cv_lib_soname_fontconfig="libfontconfig.so"
14865 rm -f conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14867 LIBS=$ac_get_soname_save_LIBS
14869 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14870 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
14871 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
14873 cat >>confdefs.h <<_ACEOF
14874 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14878 echo "$as_me:$LINENO: checking for -lssl soname" >&5
14879 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
14880 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 ac_get_soname_save_LIBS=$LIBS
14885 cat >conftest.$ac_ext <<_ACEOF
14888 cat confdefs.h >>conftest.$ac_ext
14889 cat >>conftest.$ac_ext <<_ACEOF
14890 /* end confdefs.h. */
14892 /* Override any gcc2 internal prototype to avoid an error. */
14896 /* We use char because int might match the return type of a gcc2
14897 builtin and then its argument prototype would still apply. */
14898 char SSL_library_init ();
14902 SSL_library_init ();
14907 rm -f conftest.$ac_objext conftest$ac_exeext
14908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14909 (eval $ac_link) 2>conftest.er1
14911 grep -v '^ *+' conftest.er1 >conftest.err
14913 cat conftest.err >&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; } &&
14922 { ac_try='test -s conftest$ac_exeext'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; }; then
14928 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
14929 if test "x$ac_cv_lib_soname_ssl" = "x"
14931 ac_cv_lib_soname_ssl="libssl.so"
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.$ac_ext >&5
14937 ac_cv_lib_soname_ssl="libssl.so"
14939 rm -f conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14941 LIBS=$ac_get_soname_save_LIBS
14943 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14944 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
14945 if test "x$ac_cv_lib_soname_ssl" != xNONE
14947 cat >>confdefs.h <<_ACEOF
14948 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14952 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
14953 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
14954 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14957 ac_get_soname_save_LIBS=$LIBS
14958 LIBS="-lcrypto $LIBS"
14959 cat >conftest.$ac_ext <<_ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14966 /* Override any gcc2 internal prototype to avoid an error. */
14970 /* We use char because int might match the return type of a gcc2
14971 builtin and then its argument prototype would still apply. */
14972 char BIO_new_socket ();
14981 rm -f conftest.$ac_objext conftest$ac_exeext
14982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14983 (eval $ac_link) 2>conftest.er1
14985 grep -v '^ *+' conftest.er1 >conftest.err
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } &&
14990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; } &&
14996 { ac_try='test -s conftest$ac_exeext'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; }; then
15002 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
15003 if test "x$ac_cv_lib_soname_crypto" = "x"
15005 ac_cv_lib_soname_crypto="libcrypto.so"
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_lib_soname_crypto="libcrypto.so"
15013 rm -f conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 LIBS=$ac_get_soname_save_LIBS
15017 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15018 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15019 if test "x$ac_cv_lib_soname_crypto" != xNONE
15021 cat >>confdefs.h <<_ACEOF
15022 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15026 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15027 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15028 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 ac_get_soname_save_LIBS=$LIBS
15032 LIBS="-lncurses $LIBS"
15033 cat >conftest.$ac_ext <<_ACEOF
15036 cat confdefs.h >>conftest.$ac_ext
15037 cat >>conftest.$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15040 /* Override any gcc2 internal prototype to avoid an error. */
15044 /* We use char because int might match the return type of a gcc2
15045 builtin and then its argument prototype would still apply. */
15055 rm -f conftest.$ac_objext conftest$ac_exeext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15057 (eval $ac_link) 2>conftest.er1
15059 grep -v '^ *+' conftest.er1 >conftest.err
15061 cat conftest.err >&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; } &&
15070 { ac_try='test -s conftest$ac_exeext'
15071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072 (eval $ac_try) 2>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; }; then
15076 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15077 if test "x$ac_cv_lib_soname_ncurses" = "x"
15079 ac_cv_lib_soname_ncurses="libncurses.so"
15082 echo "$as_me: failed program was:" >&5
15083 sed 's/^/| /' conftest.$ac_ext >&5
15085 ac_cv_lib_soname_ncurses="libncurses.so"
15087 rm -f conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15089 LIBS=$ac_get_soname_save_LIBS
15091 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15092 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15093 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15095 cat >>confdefs.h <<_ACEOF
15096 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15100 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15101 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15102 if test "${ac_cv_lib_soname_curses+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 ac_get_soname_save_LIBS=$LIBS
15106 LIBS="-lcurses $LIBS"
15107 cat >conftest.$ac_ext <<_ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15114 /* Override any gcc2 internal prototype to avoid an error. */
15118 /* We use char because int might match the return type of a gcc2
15119 builtin and then its argument prototype would still apply. */
15129 rm -f conftest.$ac_objext conftest$ac_exeext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15131 (eval $ac_link) 2>conftest.er1
15133 grep -v '^ *+' conftest.er1 >conftest.err
15135 cat conftest.err >&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try='test -s conftest$ac_exeext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15151 if test "x$ac_cv_lib_soname_curses" = "x"
15153 ac_cv_lib_soname_curses="libcurses.so"
15156 echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.$ac_ext >&5
15159 ac_cv_lib_soname_curses="libcurses.so"
15161 rm -f conftest.err conftest.$ac_objext \
15162 conftest$ac_exeext conftest.$ac_ext
15163 LIBS=$ac_get_soname_save_LIBS
15165 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15166 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15167 if test "x$ac_cv_lib_soname_curses" != xNONE
15169 cat >>confdefs.h <<_ACEOF
15170 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15177 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15178 # for constant arguments. Useless!
15179 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15180 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15181 if test "${ac_cv_working_alloca_h+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 cat >conftest.$ac_ext <<_ACEOF
15187 cat confdefs.h >>conftest.$ac_ext
15188 cat >>conftest.$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15190 #include <alloca.h>
15194 char *p = (char *) alloca (2 * sizeof (int));
15199 rm -f conftest.$ac_objext conftest$ac_exeext
15200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15201 (eval $ac_link) 2>conftest.er1
15203 grep -v '^ *+' conftest.er1 >conftest.err
15205 cat conftest.err >&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } &&
15208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210 (eval $ac_try) 2>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); }; } &&
15214 { ac_try='test -s conftest$ac_exeext'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; }; then
15220 ac_cv_working_alloca_h=yes
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.$ac_ext >&5
15225 ac_cv_working_alloca_h=no
15227 rm -f conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15230 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15231 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15232 if test $ac_cv_working_alloca_h = yes; then
15234 cat >>confdefs.h <<\_ACEOF
15235 #define HAVE_ALLOCA_H 1
15240 echo "$as_me:$LINENO: checking for alloca" >&5
15241 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15242 if test "${ac_cv_func_alloca_works+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 cat >conftest.$ac_ext <<_ACEOF
15248 cat confdefs.h >>conftest.$ac_ext
15249 cat >>conftest.$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15252 # define alloca __builtin_alloca
15255 # include <malloc.h>
15256 # define alloca _alloca
15259 # include <alloca.h>
15264 # ifndef alloca /* predefined by HP cc +Olibcalls */
15275 char *p = (char *) alloca (1);
15280 rm -f conftest.$ac_objext conftest$ac_exeext
15281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15282 (eval $ac_link) 2>conftest.er1
15284 grep -v '^ *+' conftest.er1 >conftest.err
15286 cat conftest.err >&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; } &&
15295 { ac_try='test -s conftest$ac_exeext'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; }; then
15301 ac_cv_func_alloca_works=yes
15303 echo "$as_me: failed program was:" >&5
15304 sed 's/^/| /' conftest.$ac_ext >&5
15306 ac_cv_func_alloca_works=no
15308 rm -f conftest.err conftest.$ac_objext \
15309 conftest$ac_exeext conftest.$ac_ext
15311 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15312 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15314 if test $ac_cv_func_alloca_works = yes; then
15316 cat >>confdefs.h <<\_ACEOF
15317 #define HAVE_ALLOCA 1
15321 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15322 # that cause trouble. Some versions do not even contain alloca or
15323 # contain a buggy version. If you still want to use their alloca,
15324 # use ar to extract alloca.o from them instead of compiling alloca.c.
15326 ALLOCA=alloca.$ac_objext
15328 cat >>confdefs.h <<\_ACEOF
15333 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15334 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15335 if test "${ac_cv_os_cray+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 cat >conftest.$ac_ext <<_ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15344 #if defined(CRAY) && ! defined(CRAY2)
15351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15352 $EGREP "webecray" >/dev/null 2>&1; then
15360 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15361 echo "${ECHO_T}$ac_cv_os_cray" >&6
15362 if test $ac_cv_os_cray = yes; then
15363 for ac_func in _getb67 GETB67 getb67; do
15364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15365 echo "$as_me:$LINENO: checking for $ac_func" >&5
15366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15367 if eval "test \"\${$as_ac_var+set}\" = set"; then
15368 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 cat >conftest.$ac_ext <<_ACEOF
15373 cat confdefs.h >>conftest.$ac_ext
15374 cat >>conftest.$ac_ext <<_ACEOF
15375 /* end confdefs.h. */
15376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15378 #define $ac_func innocuous_$ac_func
15380 /* System header to define __stub macros and hopefully few prototypes,
15381 which can conflict with char $ac_func (); below.
15382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15383 <limits.h> exists even on freestanding compilers. */
15386 # include <limits.h>
15388 # include <assert.h>
15393 /* Override any gcc2 internal prototype to avoid an error. */
15398 /* We use char because int might match the return type of a gcc2
15399 builtin and then its argument prototype would still apply. */
15401 /* The GNU C library defines this for functions which it implements
15402 to always fail with ENOSYS. Some functions are actually named
15403 something starting with __ and the normal name is an alias. */
15404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15407 char (*f) () = $ac_func;
15416 return f != $ac_func;
15421 rm -f conftest.$ac_objext conftest$ac_exeext
15422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15423 (eval $ac_link) 2>conftest.er1
15425 grep -v '^ *+' conftest.er1 >conftest.err
15427 cat conftest.err >&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } &&
15430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; } &&
15436 { ac_try='test -s conftest$ac_exeext'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; }; then
15442 eval "$as_ac_var=yes"
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.$ac_ext >&5
15447 eval "$as_ac_var=no"
15449 rm -f conftest.err conftest.$ac_objext \
15450 conftest$ac_exeext conftest.$ac_ext
15452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15454 if test `eval echo '${'$as_ac_var'}'` = yes; then
15456 cat >>confdefs.h <<_ACEOF
15457 #define CRAY_STACKSEG_END $ac_func
15466 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15467 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15468 if test "${ac_cv_c_stack_direction+set}" = set; then
15469 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 if test "$cross_compiling" = yes; then
15472 ac_cv_c_stack_direction=0
15474 cat >conftest.$ac_ext <<_ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15481 find_stack_direction ()
15483 static char *addr = 0;
15488 return find_stack_direction ();
15491 return (&dummy > addr) ? 1 : -1;
15497 exit (find_stack_direction () < 0);
15500 rm -f conftest$ac_exeext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15502 (eval $ac_link) 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; }; then
15511 ac_cv_c_stack_direction=1
15513 echo "$as_me: program exited with status $ac_status" >&5
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.$ac_ext >&5
15517 ( exit $ac_status )
15518 ac_cv_c_stack_direction=-1
15520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15523 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15524 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15526 cat >>confdefs.h <<_ACEOF
15527 #define STACK_DIRECTION $ac_cv_c_stack_direction
15642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15643 echo "$as_me:$LINENO: checking for $ac_func" >&5
15644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15645 if eval "test \"\${$as_ac_var+set}\" = set"; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 cat >conftest.$ac_ext <<_ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15656 #define $ac_func innocuous_$ac_func
15658 /* System header to define __stub macros and hopefully few prototypes,
15659 which can conflict with char $ac_func (); below.
15660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15661 <limits.h> exists even on freestanding compilers. */
15664 # include <limits.h>
15666 # include <assert.h>
15671 /* Override any gcc2 internal prototype to avoid an error. */
15676 /* We use char because int might match the return type of a gcc2
15677 builtin and then its argument prototype would still apply. */
15679 /* The GNU C library defines this for functions which it implements
15680 to always fail with ENOSYS. Some functions are actually named
15681 something starting with __ and the normal name is an alias. */
15682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15685 char (*f) () = $ac_func;
15694 return f != $ac_func;
15699 rm -f conftest.$ac_objext conftest$ac_exeext
15700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15701 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15725 eval "$as_ac_var=no"
15727 rm -f conftest.err conftest.$ac_objext \
15728 conftest$ac_exeext conftest.$ac_ext
15730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15732 if test `eval echo '${'$as_ac_var'}'` = yes; then
15733 cat >>confdefs.h <<_ACEOF
15734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15832 fontconfig/fontconfig.h \
15852 netinet/in_systm.h \
15854 netinet/tcp_fsm.h \
15864 scsi/scsi_ioctl.h \
15908 valgrind/memcheck.h
15911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15913 echo "$as_me:$LINENO: checking for $ac_header" >&5
15914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15921 # Is the header compilable?
15922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15924 cat >conftest.$ac_ext <<_ACEOF
15927 cat confdefs.h >>conftest.$ac_ext
15928 cat >>conftest.$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930 $ac_includes_default
15931 #include <$ac_header>
15933 rm -f conftest.$ac_objext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>conftest.er1
15937 grep -v '^ *+' conftest.er1 >conftest.err
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest.$ac_objext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_header_compiler=yes
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15959 ac_header_compiler=no
15961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15963 echo "${ECHO_T}$ac_header_compiler" >&6
15965 # Is the header present?
15966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15968 cat >conftest.$ac_ext <<_ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 #include <$ac_header>
15976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15979 grep -v '^ *+' conftest.er1 >conftest.err
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } >/dev/null; then
15984 if test -s conftest.err; then
15985 ac_cpp_err=$ac_c_preproc_warn_flag
15986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15993 if test -z "$ac_cpp_err"; then
15994 ac_header_preproc=yes
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.$ac_ext >&5
15999 ac_header_preproc=no
16001 rm -f conftest.err conftest.$ac_ext
16002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16003 echo "${ECHO_T}$ac_header_preproc" >&6
16005 # So? What about this header?
16006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16012 ac_header_preproc=yes
16015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16029 ## ------------------------------------ ##
16030 ## Report this to wine-devel@winehq.org ##
16031 ## ------------------------------------ ##
16034 sed "s/^/$as_me: WARNING: /" >&2
16037 echo "$as_me:$LINENO: checking for $ac_header" >&5
16038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16042 eval "$as_ac_Header=\$ac_header_preproc"
16044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16049 cat >>confdefs.h <<_ACEOF
16050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16057 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16058 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16059 if test "${ac_cv_header_stat_broken+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16062 cat >conftest.$ac_ext <<_ACEOF
16065 cat confdefs.h >>conftest.$ac_ext
16066 cat >>conftest.$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16068 #include <sys/types.h>
16069 #include <sys/stat.h>
16071 #if defined(S_ISBLK) && defined(S_IFDIR)
16072 # if S_ISBLK (S_IFDIR)
16077 #if defined(S_ISBLK) && defined(S_IFCHR)
16078 # if S_ISBLK (S_IFCHR)
16083 #if defined(S_ISLNK) && defined(S_IFREG)
16084 # if S_ISLNK (S_IFREG)
16089 #if defined(S_ISSOCK) && defined(S_IFREG)
16090 # if S_ISSOCK (S_IFREG)
16096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16097 $EGREP "You lose" >/dev/null 2>&1; then
16098 ac_cv_header_stat_broken=yes
16100 ac_cv_header_stat_broken=no
16105 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16106 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16107 if test $ac_cv_header_stat_broken = yes; then
16109 cat >>confdefs.h <<\_ACEOF
16110 #define STAT_MACROS_BROKEN 1
16119 for ac_header in sys/mount.h sys/user.h
16121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16122 echo "$as_me:$LINENO: checking for $ac_header" >&5
16123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16125 echo $ECHO_N "(cached) $ECHO_C" >&6
16127 cat >conftest.$ac_ext <<_ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133 #include <sys/types.h>
16134 #if HAVE_SYS_PARAM_H
16135 # include <sys/param.h>
16138 #include <$ac_header>
16140 rm -f conftest.$ac_objext
16141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16142 (eval $ac_compile) 2>conftest.er1
16144 grep -v '^ *+' conftest.er1 >conftest.err
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } &&
16149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try='test -s conftest.$ac_objext'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16161 eval "$as_ac_Header=yes"
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16166 eval "$as_ac_Header=no"
16168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16173 cat >>confdefs.h <<_ACEOF
16174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16187 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16190 echo "$as_me:$LINENO: checking for $ac_header" >&5
16191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 cat >conftest.$ac_ext <<_ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 #include <sys/types.h>
16202 #if HAVE_SYS_SOCKET_H
16203 # include <sys/socket.h>
16206 #include <$ac_header>
16208 rm -f conftest.$ac_objext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>conftest.er1
16212 grep -v '^ *+' conftest.er1 >conftest.err
16214 cat conftest.err >&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; } &&
16223 { ac_try='test -s conftest.$ac_objext'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16229 eval "$as_ac_Header=yes"
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.$ac_ext >&5
16234 eval "$as_ac_Header=no"
16236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16241 cat >>confdefs.h <<_ACEOF
16242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16251 for ac_header in resolv.h
16253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16254 echo "$as_me:$LINENO: checking for $ac_header" >&5
16255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16257 echo $ECHO_N "(cached) $ECHO_C" >&6
16259 cat >conftest.$ac_ext <<_ACEOF
16262 cat confdefs.h >>conftest.$ac_ext
16263 cat >>conftest.$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16265 #include <sys/types.h>
16266 #if HAVE_SYS_SOCKET_H
16267 # include <sys/socket.h>
16269 #if HAVE_NETINET_IN_H
16270 # include <netinet/in.h>
16272 #if HAVE_ARPA_NAMESER_H
16273 # include <arpa/nameser.h>
16276 #include <$ac_header>
16278 rm -f conftest.$ac_objext
16279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16280 (eval $ac_compile) 2>conftest.er1
16282 grep -v '^ *+' conftest.er1 >conftest.err
16284 cat conftest.err >&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } &&
16287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; } &&
16293 { ac_try='test -s conftest.$ac_objext'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; }; then
16299 eval "$as_ac_Header=yes"
16301 echo "$as_me: failed program was:" >&5
16302 sed 's/^/| /' conftest.$ac_ext >&5
16304 eval "$as_ac_Header=no"
16306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16311 cat >>confdefs.h <<_ACEOF
16312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16321 for ac_header in netinet/ip.h
16323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16324 echo "$as_me:$LINENO: checking for $ac_header" >&5
16325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 cat >conftest.$ac_ext <<_ACEOF
16332 cat confdefs.h >>conftest.$ac_ext
16333 cat >>conftest.$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 #include <sys/types.h>
16336 #if HAVE_SYS_SOCKET_H
16337 # include <sys/socket.h>
16339 #if HAVE_NETINET_IN_SYSTM_H
16340 # include <netinet/in_systm.h>
16343 #include <$ac_header>
16345 rm -f conftest.$ac_objext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16347 (eval $ac_compile) 2>conftest.er1
16349 grep -v '^ *+' conftest.er1 >conftest.err
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } &&
16354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; } &&
16360 { ac_try='test -s conftest.$ac_objext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 eval "$as_ac_Header=yes"
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16371 eval "$as_ac_Header=no"
16373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16378 cat >>confdefs.h <<_ACEOF
16379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16388 for ac_header in ucontext.h
16390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16391 echo "$as_me:$LINENO: checking for $ac_header" >&5
16392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16394 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 cat >conftest.$ac_ext <<_ACEOF
16399 cat confdefs.h >>conftest.$ac_ext
16400 cat >>conftest.$ac_ext <<_ACEOF
16401 /* end confdefs.h. */
16402 #include <signal.h>
16404 #include <$ac_header>
16406 rm -f conftest.$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>conftest.er1
16410 grep -v '^ *+' conftest.er1 >conftest.err
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; } &&
16421 { ac_try='test -s conftest.$ac_objext'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 eval "$as_ac_Header=yes"
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.$ac_ext >&5
16432 eval "$as_ac_Header=no"
16434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16439 cat >>confdefs.h <<_ACEOF
16440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16449 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16450 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16451 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16452 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 cat >conftest.$ac_ext <<_ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 #include <sys/types.h>
16461 #ifdef HAVE_SYS_SOCKET_H
16462 # include <sys/socket.h>
16464 #include <netipx/ipx.h>
16468 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16473 rm -f conftest.$ac_objext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16475 (eval $ac_compile) 2>conftest.er1
16477 grep -v '^ *+' conftest.er1 >conftest.err
16479 cat conftest.err >&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } &&
16482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16484 (eval $ac_try) 2>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; } &&
16488 { ac_try='test -s conftest.$ac_objext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_cv_c_ipx_gnu="yes"
16496 echo "$as_me: failed program was:" >&5
16497 sed 's/^/| /' conftest.$ac_ext >&5
16499 ac_cv_c_ipx_gnu="no"
16501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16504 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16505 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16506 if test "$ac_cv_c_ipx_gnu" = "yes"
16509 cat >>confdefs.h <<\_ACEOF
16510 #define HAVE_IPX_GNU 1
16515 if test "$ac_cv_c_ipx_gnu" = "no"
16517 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16518 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16519 if test "${ac_cv_c_ipx_linux+set}" = set; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16522 cat >conftest.$ac_ext <<_ACEOF
16525 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 #include <sys/types.h>
16529 #ifdef HAVE_SYS_SOCKET_H
16530 # include <sys/socket.h>
16532 #include <asm/types.h>
16533 #include <linux/ipx.h>
16537 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16542 rm -f conftest.$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>conftest.er1
16546 grep -v '^ *+' conftest.er1 >conftest.err
16548 cat conftest.err >&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; } &&
16557 { ac_try='test -s conftest.$ac_objext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 ac_cv_c_ipx_linux="yes"
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16568 ac_cv_c_ipx_linux="no"
16570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16573 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16574 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16575 if test "$ac_cv_c_ipx_linux" = "yes"
16578 cat >>confdefs.h <<\_ACEOF
16579 #define HAVE_IPX_LINUX 1
16586 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16587 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16588 if test "${ac_cv_c_const+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 cat >conftest.$ac_ext <<_ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16601 /* FIXME: Include the comments suggested by Paul. */
16602 #ifndef __cplusplus
16603 /* Ultrix mips cc rejects this. */
16604 typedef int charset[2];
16606 /* SunOS 4.1.1 cc rejects this. */
16607 char const *const *ccp;
16609 /* NEC SVR4.0.2 mips cc rejects this. */
16610 struct point {int x, y;};
16611 static struct point const zero = {0,0};
16612 /* AIX XL C 1.02.0.0 rejects this.
16613 It does not let you subtract one const X* pointer from another in
16614 an arm of an if-expression whose if-part is not a constant
16616 const char *g = "string";
16617 ccp = &g + (g ? g-g : 0);
16618 /* HPUX 7.0 cc rejects these. */
16621 ccp = (char const *const *) p;
16622 { /* SCO 3.2v4 cc rejects this. */
16624 char const *s = 0 ? (char *) 0 : (char const *) 0;
16628 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16629 int x[] = {25, 17};
16630 const int *foo = &x[0];
16633 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16634 typedef const int *iptr;
16638 { /* AIX XL C 1.02.0.0 rejects this saying
16639 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16640 struct s { int j; const int *ap[3]; };
16641 struct s *b; b->j = 5;
16643 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16644 const int foo = 10;
16652 rm -f conftest.$ac_objext
16653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16654 (eval $ac_compile) 2>conftest.er1
16656 grep -v '^ *+' conftest.er1 >conftest.err
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16682 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16683 echo "${ECHO_T}$ac_cv_c_const" >&6
16684 if test $ac_cv_c_const = no; then
16686 cat >>confdefs.h <<\_ACEOF
16692 echo "$as_me:$LINENO: checking for inline" >&5
16693 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16694 if test "${ac_cv_c_inline+set}" = set; then
16695 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 for ac_kw in inline __inline__ __inline; do
16699 cat >conftest.$ac_ext <<_ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #ifndef __cplusplus
16707 static $ac_kw foo_t static_foo () {return 0; }
16708 $ac_kw foo_t foo () {return 0; }
16712 rm -f conftest.$ac_objext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16714 (eval $ac_compile) 2>conftest.er1
16716 grep -v '^ *+' conftest.er1 >conftest.err
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16733 ac_cv_c_inline=$ac_kw; break
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.$ac_ext >&5
16739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16743 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16744 echo "${ECHO_T}$ac_cv_c_inline" >&6
16747 case $ac_cv_c_inline in
16750 case $ac_cv_c_inline in
16752 *) ac_val=$ac_cv_c_inline;;
16754 cat >>confdefs.h <<_ACEOF
16755 #ifndef __cplusplus
16756 #define inline $ac_val
16762 echo "$as_me:$LINENO: checking for mode_t" >&5
16763 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16764 if test "${ac_cv_type_mode_t+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 cat >conftest.$ac_ext <<_ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 $ac_includes_default
16779 if (sizeof (mode_t))
16785 rm -f conftest.$ac_objext
16786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16787 (eval $ac_compile) 2>conftest.er1
16789 grep -v '^ *+' conftest.er1 >conftest.err
16791 cat conftest.err >&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); } &&
16794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16796 (eval $ac_try) 2>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); }; } &&
16800 { ac_try='test -s conftest.$ac_objext'
16801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16802 (eval $ac_try) 2>&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); }; }; then
16806 ac_cv_type_mode_t=yes
16808 echo "$as_me: failed program was:" >&5
16809 sed 's/^/| /' conftest.$ac_ext >&5
16811 ac_cv_type_mode_t=no
16813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16815 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16816 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16817 if test $ac_cv_type_mode_t = yes; then
16819 cat >>confdefs.h <<_ACEOF
16820 #define HAVE_MODE_T 1
16825 echo "$as_me:$LINENO: checking for off_t" >&5
16826 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
16827 if test "${ac_cv_type_off_t+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 cat >conftest.$ac_ext <<_ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836 $ac_includes_default
16842 if (sizeof (off_t))
16848 rm -f conftest.$ac_objext
16849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16850 (eval $ac_compile) 2>conftest.er1
16852 grep -v '^ *+' conftest.er1 >conftest.err
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } &&
16857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16859 (eval $ac_try) 2>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); }; } &&
16863 { ac_try='test -s conftest.$ac_objext'
16864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16865 (eval $ac_try) 2>&5
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); }; }; then
16869 ac_cv_type_off_t=yes
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16874 ac_cv_type_off_t=no
16876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16878 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16879 echo "${ECHO_T}$ac_cv_type_off_t" >&6
16880 if test $ac_cv_type_off_t = yes; then
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_OFF_T 1
16888 echo "$as_me:$LINENO: checking for pid_t" >&5
16889 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16890 if test "${ac_cv_type_pid_t+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 cat >conftest.$ac_ext <<_ACEOF
16896 cat confdefs.h >>conftest.$ac_ext
16897 cat >>conftest.$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16899 $ac_includes_default
16905 if (sizeof (pid_t))
16911 rm -f conftest.$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 (eval $ac_compile) 2>conftest.er1
16915 grep -v '^ *+' conftest.er1 >conftest.err
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; } &&
16926 { ac_try='test -s conftest.$ac_objext'
16927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16928 (eval $ac_try) 2>&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); }; }; then
16932 ac_cv_type_pid_t=yes
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.$ac_ext >&5
16937 ac_cv_type_pid_t=no
16939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16942 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16943 if test $ac_cv_type_pid_t = yes; then
16945 cat >>confdefs.h <<_ACEOF
16946 #define HAVE_PID_T 1
16951 echo "$as_me:$LINENO: checking for size_t" >&5
16952 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16953 if test "${ac_cv_type_size_t+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 cat >conftest.$ac_ext <<_ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962 $ac_includes_default
16968 if (sizeof (size_t))
16974 rm -f conftest.$ac_objext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16976 (eval $ac_compile) 2>conftest.er1
16978 grep -v '^ *+' conftest.er1 >conftest.err
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try='test -s conftest.$ac_objext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 ac_cv_type_size_t=yes
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
17000 ac_cv_type_size_t=no
17002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17004 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17005 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17006 if test $ac_cv_type_size_t = yes; then
17008 cat >>confdefs.h <<_ACEOF
17009 #define HAVE_SIZE_T 1
17014 echo "$as_me:$LINENO: checking for ssize_t" >&5
17015 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17016 if test "${ac_cv_type_ssize_t+set}" = set; then
17017 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 cat >conftest.$ac_ext <<_ACEOF
17022 cat confdefs.h >>conftest.$ac_ext
17023 cat >>conftest.$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025 $ac_includes_default
17031 if (sizeof (ssize_t))
17037 rm -f conftest.$ac_objext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17039 (eval $ac_compile) 2>conftest.er1
17041 grep -v '^ *+' conftest.er1 >conftest.err
17043 cat conftest.err >&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try='test -s conftest.$ac_objext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 ac_cv_type_ssize_t=yes
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 ac_cv_type_ssize_t=no
17065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17067 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17068 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17069 if test $ac_cv_type_ssize_t = yes; then
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_SSIZE_T 1
17078 echo "$as_me:$LINENO: checking for long long" >&5
17079 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17080 if test "${ac_cv_type_long_long+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 cat >conftest.$ac_ext <<_ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 $ac_includes_default
17093 if ((long long *) 0)
17095 if (sizeof (long long))
17101 rm -f conftest.$ac_objext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17103 (eval $ac_compile) 2>conftest.er1
17105 grep -v '^ *+' conftest.er1 >conftest.err
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; } &&
17116 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17122 ac_cv_type_long_long=yes
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 ac_cv_type_long_long=no
17129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17131 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17132 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17134 echo "$as_me:$LINENO: checking size of long long" >&5
17135 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17136 if test "${ac_cv_sizeof_long_long+set}" = set; then
17137 echo $ECHO_N "(cached) $ECHO_C" >&6
17139 if test "$ac_cv_type_long_long" = yes; then
17140 # The cast to unsigned long works around a bug in the HP C Compiler
17141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17143 # This bug is HP SR number 8606223364.
17144 if test "$cross_compiling" = yes; then
17145 # Depending upon the size, compute the lo and hi bounds.
17146 cat >conftest.$ac_ext <<_ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152 $ac_includes_default
17156 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17163 rm -f conftest.$ac_objext
17164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17165 (eval $ac_compile) 2>conftest.er1
17167 grep -v '^ *+' conftest.er1 >conftest.err
17169 cat conftest.err >&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } &&
17172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; } &&
17178 { ac_try='test -s conftest.$ac_objext'
17179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17180 (eval $ac_try) 2>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); }; }; then
17186 cat >conftest.$ac_ext <<_ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17196 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17203 rm -f conftest.$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>conftest.er1
17207 grep -v '^ *+' conftest.er1 >conftest.err
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_hi=$ac_mid; break
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 ac_lo=`expr $ac_mid + 1`
17230 if test $ac_lo -le $ac_mid; then
17234 ac_mid=`expr 2 '*' $ac_mid + 1`
17236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.$ac_ext >&5
17242 cat >conftest.$ac_ext <<_ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248 $ac_includes_default
17252 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17259 rm -f conftest.$ac_objext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17261 (eval $ac_compile) 2>conftest.er1
17263 grep -v '^ *+' conftest.er1 >conftest.err
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17282 cat >conftest.$ac_ext <<_ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 $ac_includes_default
17292 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17299 rm -f conftest.$ac_objext
17300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17301 (eval $ac_compile) 2>conftest.er1
17303 grep -v '^ *+' conftest.er1 >conftest.err
17305 cat conftest.err >&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); } &&
17308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17320 ac_lo=$ac_mid; break
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17325 ac_hi=`expr '(' $ac_mid ')' - 1`
17326 if test $ac_mid -le $ac_hi; then
17330 ac_mid=`expr 2 '*' $ac_mid`
17332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17343 # Binary search between lo and hi bounds.
17344 while test "x$ac_lo" != "x$ac_hi"; do
17345 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17346 cat >conftest.$ac_ext <<_ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 $ac_includes_default
17356 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17363 rm -f conftest.$ac_objext
17364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17365 (eval $ac_compile) 2>conftest.er1
17367 grep -v '^ *+' conftest.er1 >conftest.err
17369 cat conftest.err >&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } &&
17372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; } &&
17378 { ac_try='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17389 ac_lo=`expr '(' $ac_mid ')' + 1`
17391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17394 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17395 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17396 See \`config.log' for more details." >&5
17397 echo "$as_me: error: cannot compute sizeof (long long), 77
17398 See \`config.log' for more details." >&2;}
17399 { (exit 1); exit 1; }; } ;;
17402 if test "$cross_compiling" = yes; then
17403 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17404 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17405 { (exit 1); exit 1; }; }
17407 cat >conftest.$ac_ext <<_ACEOF
17410 cat confdefs.h >>conftest.$ac_ext
17411 cat >>conftest.$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 $ac_includes_default
17414 long longval () { return (long) (sizeof (long long)); }
17415 unsigned long ulongval () { return (long) (sizeof (long long)); }
17417 #include <stdlib.h>
17422 FILE *f = fopen ("conftest.val", "w");
17425 if (((long) (sizeof (long long))) < 0)
17427 long i = longval ();
17428 if (i != ((long) (sizeof (long long))))
17430 fprintf (f, "%ld\n", i);
17434 unsigned long i = ulongval ();
17435 if (i != ((long) (sizeof (long long))))
17437 fprintf (f, "%lu\n", i);
17439 exit (ferror (f) || fclose (f) != 0);
17445 rm -f conftest$ac_exeext
17446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17447 (eval $ac_link) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; }; then
17456 ac_cv_sizeof_long_long=`cat conftest.val`
17458 echo "$as_me: program exited with status $ac_status" >&5
17459 echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.$ac_ext >&5
17462 ( exit $ac_status )
17463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17464 See \`config.log' for more details." >&5
17465 echo "$as_me: error: cannot compute sizeof (long long), 77
17466 See \`config.log' for more details." >&2;}
17467 { (exit 1); exit 1; }; }
17469 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17474 ac_cv_sizeof_long_long=0
17477 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17478 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17479 cat >>confdefs.h <<_ACEOF
17480 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17485 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17486 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17487 if test "${wine_cv_linux_input_h+set}" = set; then
17488 echo $ECHO_N "(cached) $ECHO_C" >&6
17490 cat >conftest.$ac_ext <<_ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17497 #include <linux/input.h>
17503 int foo = EVIOCGBIT(EV_ABS,42);
17504 int bar = BTN_PINKIE;
17511 rm -f conftest.$ac_objext
17512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17513 (eval $ac_compile) 2>conftest.er1
17515 grep -v '^ *+' conftest.er1 >conftest.err
17517 cat conftest.err >&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } &&
17520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 wine_cv_linux_input_h=yes
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.$ac_ext >&5
17537 wine_cv_linux_input_h=no
17539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17542 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17543 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17544 if test "$wine_cv_linux_input_h" = "yes"
17547 cat >>confdefs.h <<\_ACEOF
17548 #define HAVE_CORRECT_LINUXINPUT_H 1
17554 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17555 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17556 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17557 echo $ECHO_N "(cached) $ECHO_C" >&6
17559 cat >conftest.$ac_ext <<_ACEOF
17562 cat confdefs.h >>conftest.$ac_ext
17563 cat >>conftest.$ac_ext <<_ACEOF
17564 /* end confdefs.h. */
17574 struct hostent *result;
17581 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17582 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17588 rm -f conftest.$ac_objext conftest$ac_exeext
17589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17590 (eval $ac_link) 2>conftest.er1
17592 grep -v '^ *+' conftest.er1 >conftest.err
17594 cat conftest.err >&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); } &&
17597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; } &&
17603 { ac_try='test -s conftest$ac_exeext'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; }; then
17609 wine_cv_linux_gethostbyname_r_6=yes
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17614 wine_cv_linux_gethostbyname_r_6=no
17617 rm -f conftest.err conftest.$ac_objext \
17618 conftest$ac_exeext conftest.$ac_ext
17621 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17622 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17623 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17626 cat >>confdefs.h <<\_ACEOF
17627 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17632 if test "$ac_cv_header_linux_joystick_h" = "yes"
17634 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17635 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17636 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17637 echo $ECHO_N "(cached) $ECHO_C" >&6
17639 cat >conftest.$ac_ext <<_ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17646 #include <sys/ioctl.h>
17647 #include <linux/joystick.h>
17649 struct js_event blub;
17650 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17651 #error "no 2.2 header"
17662 rm -f conftest.$ac_objext
17663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17664 (eval $ac_compile) 2>conftest.er1
17666 grep -v '^ *+' conftest.er1 >conftest.err
17668 cat conftest.err >&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } &&
17671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673 (eval $ac_try) 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; } &&
17677 { ac_try='test -s conftest.$ac_objext'
17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679 (eval $ac_try) 2>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); }; }; then
17683 wine_cv_linux_joystick_22_api=yes
17685 echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.$ac_ext >&5
17688 wine_cv_linux_joystick_22_api=no
17690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17693 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17694 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17695 if test "$wine_cv_linux_joystick_22_api" = "yes"
17698 cat >>confdefs.h <<\_ACEOF
17699 #define HAVE_LINUX_22_JOYSTICK_API 1
17706 if test "$ac_cv_header_sys_vfs_h" = "yes"
17708 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17709 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17710 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 cat >conftest.$ac_ext <<_ACEOF
17716 cat confdefs.h >>conftest.$ac_ext
17717 cat >>conftest.$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17720 #include <sys/types.h>
17721 #ifdef HAVE_SYS_PARAM_H
17722 # include <sys/param.h>
17724 #include <sys/vfs.h>
17730 struct statfs stfs;
17732 memset(&stfs,0,sizeof(stfs));
17738 rm -f conftest.$ac_objext
17739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17740 (eval $ac_compile) 2>conftest.er1
17742 grep -v '^ *+' conftest.er1 >conftest.err
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } &&
17747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; } &&
17753 { ac_try='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 wine_cv_sys_vfs_has_statfs=yes
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17764 wine_cv_sys_vfs_has_statfs=no
17767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17770 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17771 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17772 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17775 cat >>confdefs.h <<\_ACEOF
17776 #define STATFS_DEFINED_BY_SYS_VFS 1
17782 if test "$ac_cv_header_sys_statfs_h" = "yes"
17784 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17785 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17786 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 cat >conftest.$ac_ext <<_ACEOF
17792 cat confdefs.h >>conftest.$ac_ext
17793 cat >>conftest.$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17796 #include <sys/types.h>
17797 #ifdef HAVE_SYS_PARAM_H
17798 # include <sys/param.h>
17800 #include <sys/statfs.h>
17806 struct statfs stfs;
17812 rm -f conftest.$ac_objext
17813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17814 (eval $ac_compile) 2>conftest.er1
17816 grep -v '^ *+' conftest.er1 >conftest.err
17818 cat conftest.err >&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } &&
17821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823 (eval $ac_try) 2>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); }; } &&
17827 { ac_try='test -s conftest.$ac_objext'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; }; then
17833 wine_cv_sys_statfs_has_statfs=yes
17835 echo "$as_me: failed program was:" >&5
17836 sed 's/^/| /' conftest.$ac_ext >&5
17838 wine_cv_sys_statfs_has_statfs=no
17841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17844 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
17845 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
17846 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
17849 cat >>confdefs.h <<\_ACEOF
17850 #define STATFS_DEFINED_BY_SYS_STATFS 1
17856 if test "$ac_cv_header_sys_mount_h" = "yes"
17858 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
17859 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
17860 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17863 cat >conftest.$ac_ext <<_ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17870 #include <sys/types.h>
17871 #ifdef HAVE_SYS_PARAM_H
17872 # include <sys/param.h>
17874 #include <sys/mount.h>
17880 struct statfs stfs;
17886 rm -f conftest.$ac_objext
17887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17888 (eval $ac_compile) 2>conftest.er1
17890 grep -v '^ *+' conftest.er1 >conftest.err
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } &&
17895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; } &&
17901 { ac_try='test -s conftest.$ac_objext'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; }; then
17907 wine_cv_sys_mount_has_statfs=yes
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17912 wine_cv_sys_mount_has_statfs=no
17915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17918 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
17919 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
17920 if test "$wine_cv_sys_mount_has_statfs" = "yes"
17923 cat >>confdefs.h <<\_ACEOF
17924 #define STATFS_DEFINED_BY_SYS_MOUNT 1
17931 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17932 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
17933 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17934 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 cat >conftest.$ac_ext <<_ACEOF
17939 cat confdefs.h >>conftest.$ac_ext
17940 cat >>conftest.$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17942 #include <sys/types.h>
17943 #ifdef HAVE_SYS_PARAM_H
17944 # include <sys/param.h>
17946 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17947 # include <sys/mount.h>
17949 # ifdef STATFS_DEFINED_BY_SYS_VFS
17950 # include <sys/vfs.h>
17952 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17953 # include <sys/statfs.h>
17961 static struct statfs ac_aggr;
17962 if (ac_aggr.f_bfree)
17968 rm -f conftest.$ac_objext
17969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17970 (eval $ac_compile) 2>conftest.er1
17972 grep -v '^ *+' conftest.er1 >conftest.err
17974 cat conftest.err >&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); } &&
17977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; } &&
17983 { ac_try='test -s conftest.$ac_objext'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; }; then
17989 ac_cv_member_struct_statfs_f_bfree=yes
17991 echo "$as_me: failed program was:" >&5
17992 sed 's/^/| /' conftest.$ac_ext >&5
17994 cat >conftest.$ac_ext <<_ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 #include <sys/types.h>
18001 #ifdef HAVE_SYS_PARAM_H
18002 # include <sys/param.h>
18004 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18005 # include <sys/mount.h>
18007 # ifdef STATFS_DEFINED_BY_SYS_VFS
18008 # include <sys/vfs.h>
18010 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18011 # include <sys/statfs.h>
18019 static struct statfs ac_aggr;
18020 if (sizeof ac_aggr.f_bfree)
18026 rm -f conftest.$ac_objext
18027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18028 (eval $ac_compile) 2>conftest.er1
18030 grep -v '^ *+' conftest.er1 >conftest.err
18032 cat conftest.err >&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } &&
18035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; } &&
18041 { ac_try='test -s conftest.$ac_objext'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; }; then
18047 ac_cv_member_struct_statfs_f_bfree=yes
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18052 ac_cv_member_struct_statfs_f_bfree=no
18054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18058 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18059 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18060 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18062 cat >>confdefs.h <<_ACEOF
18063 #define HAVE_STRUCT_STATFS_F_BFREE 1
18068 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18069 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18070 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 cat >conftest.$ac_ext <<_ACEOF
18076 cat confdefs.h >>conftest.$ac_ext
18077 cat >>conftest.$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079 #include <sys/types.h>
18080 #ifdef HAVE_SYS_PARAM_H
18081 # include <sys/param.h>
18083 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18084 # include <sys/mount.h>
18086 # ifdef STATFS_DEFINED_BY_SYS_VFS
18087 # include <sys/vfs.h>
18089 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18090 # include <sys/statfs.h>
18098 static struct statfs ac_aggr;
18099 if (ac_aggr.f_bavail)
18105 rm -f conftest.$ac_objext
18106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18107 (eval $ac_compile) 2>conftest.er1
18109 grep -v '^ *+' conftest.er1 >conftest.err
18111 cat conftest.err >&5
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); } &&
18114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; } &&
18120 { ac_try='test -s conftest.$ac_objext'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 ac_cv_member_struct_statfs_f_bavail=yes
18128 echo "$as_me: failed program was:" >&5
18129 sed 's/^/| /' conftest.$ac_ext >&5
18131 cat >conftest.$ac_ext <<_ACEOF
18134 cat confdefs.h >>conftest.$ac_ext
18135 cat >>conftest.$ac_ext <<_ACEOF
18136 /* end confdefs.h. */
18137 #include <sys/types.h>
18138 #ifdef HAVE_SYS_PARAM_H
18139 # include <sys/param.h>
18141 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18142 # include <sys/mount.h>
18144 # ifdef STATFS_DEFINED_BY_SYS_VFS
18145 # include <sys/vfs.h>
18147 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18148 # include <sys/statfs.h>
18156 static struct statfs ac_aggr;
18157 if (sizeof ac_aggr.f_bavail)
18163 rm -f conftest.$ac_objext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18165 (eval $ac_compile) 2>conftest.er1
18167 grep -v '^ *+' conftest.er1 >conftest.err
18169 cat conftest.err >&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } &&
18172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; } &&
18178 { ac_try='test -s conftest.$ac_objext'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; }; then
18184 ac_cv_member_struct_statfs_f_bavail=yes
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.$ac_ext >&5
18189 ac_cv_member_struct_statfs_f_bavail=no
18191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18195 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18196 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18197 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18199 cat >>confdefs.h <<_ACEOF
18200 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18207 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18208 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18209 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18210 echo $ECHO_N "(cached) $ECHO_C" >&6
18212 cat >conftest.$ac_ext <<_ACEOF
18215 cat confdefs.h >>conftest.$ac_ext
18216 cat >>conftest.$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 #include <sys/types.h>
18219 #ifdef HAVE_SYS_SOCKET_H
18220 # include <sys/socket.h>
18222 #ifdef HAVE_SYS_UN_H
18223 # include <sys/un.h>
18229 static struct msghdr ac_aggr;
18230 if (ac_aggr.msg_accrights)
18236 rm -f conftest.$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18240 grep -v '^ *+' conftest.er1 >conftest.err
18242 cat conftest.err >&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18247 (eval $ac_try) 2>&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); }; } &&
18251 { ac_try='test -s conftest.$ac_objext'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; }; then
18257 ac_cv_member_struct_msghdr_msg_accrights=yes
18259 echo "$as_me: failed program was:" >&5
18260 sed 's/^/| /' conftest.$ac_ext >&5
18262 cat >conftest.$ac_ext <<_ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 #include <sys/types.h>
18269 #ifdef HAVE_SYS_SOCKET_H
18270 # include <sys/socket.h>
18272 #ifdef HAVE_SYS_UN_H
18273 # include <sys/un.h>
18279 static struct msghdr ac_aggr;
18280 if (sizeof ac_aggr.msg_accrights)
18286 rm -f conftest.$ac_objext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18288 (eval $ac_compile) 2>conftest.er1
18290 grep -v '^ *+' conftest.er1 >conftest.err
18292 cat conftest.err >&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try='test -s conftest.$ac_objext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_cv_member_struct_msghdr_msg_accrights=yes
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.$ac_ext >&5
18312 ac_cv_member_struct_msghdr_msg_accrights=no
18314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18318 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18319 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18320 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18322 cat >>confdefs.h <<_ACEOF
18323 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18328 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18329 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18330 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18331 echo $ECHO_N "(cached) $ECHO_C" >&6
18333 cat >conftest.$ac_ext <<_ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 #include <sys/types.h>
18340 #ifdef HAVE_SYS_SOCKET_H
18341 # include <sys/socket.h>
18343 #ifdef HAVE_SYS_UN_H
18344 # include <sys/un.h>
18350 static struct sockaddr ac_aggr;
18351 if (ac_aggr.sa_len)
18357 rm -f conftest.$ac_objext
18358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18359 (eval $ac_compile) 2>conftest.er1
18361 grep -v '^ *+' conftest.er1 >conftest.err
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try='test -s conftest.$ac_objext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_cv_member_struct_sockaddr_sa_len=yes
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18383 cat >conftest.$ac_ext <<_ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 #include <sys/types.h>
18390 #ifdef HAVE_SYS_SOCKET_H
18391 # include <sys/socket.h>
18393 #ifdef HAVE_SYS_UN_H
18394 # include <sys/un.h>
18400 static struct sockaddr ac_aggr;
18401 if (sizeof ac_aggr.sa_len)
18407 rm -f conftest.$ac_objext
18408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18409 (eval $ac_compile) 2>conftest.er1
18411 grep -v '^ *+' conftest.er1 >conftest.err
18413 cat conftest.err >&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } &&
18416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try='test -s conftest.$ac_objext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 ac_cv_member_struct_sockaddr_sa_len=yes
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.$ac_ext >&5
18433 ac_cv_member_struct_sockaddr_sa_len=no
18435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18439 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18440 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18441 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18443 cat >>confdefs.h <<_ACEOF
18444 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18449 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18450 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18451 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18452 echo $ECHO_N "(cached) $ECHO_C" >&6
18454 cat >conftest.$ac_ext <<_ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 #include <sys/types.h>
18461 #ifdef HAVE_SYS_SOCKET_H
18462 # include <sys/socket.h>
18464 #ifdef HAVE_SYS_UN_H
18465 # include <sys/un.h>
18471 static struct sockaddr_un ac_aggr;
18472 if (ac_aggr.sun_len)
18478 rm -f conftest.$ac_objext
18479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18480 (eval $ac_compile) 2>conftest.er1
18482 grep -v '^ *+' conftest.er1 >conftest.err
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } &&
18487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18489 (eval $ac_try) 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; } &&
18493 { ac_try='test -s conftest.$ac_objext'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; }; then
18499 ac_cv_member_struct_sockaddr_un_sun_len=yes
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 cat >conftest.$ac_ext <<_ACEOF
18507 cat confdefs.h >>conftest.$ac_ext
18508 cat >>conftest.$ac_ext <<_ACEOF
18509 /* end confdefs.h. */
18510 #include <sys/types.h>
18511 #ifdef HAVE_SYS_SOCKET_H
18512 # include <sys/socket.h>
18514 #ifdef HAVE_SYS_UN_H
18515 # include <sys/un.h>
18521 static struct sockaddr_un ac_aggr;
18522 if (sizeof ac_aggr.sun_len)
18528 rm -f conftest.$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530 (eval $ac_compile) 2>conftest.er1
18532 grep -v '^ *+' conftest.er1 >conftest.err
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; } &&
18543 { ac_try='test -s conftest.$ac_objext'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; }; then
18549 ac_cv_member_struct_sockaddr_un_sun_len=yes
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18554 ac_cv_member_struct_sockaddr_un_sun_len=no
18556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18560 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18561 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18562 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18564 cat >>confdefs.h <<_ACEOF
18565 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18572 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18573 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18574 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18575 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 cat >conftest.$ac_ext <<_ACEOF
18580 cat confdefs.h >>conftest.$ac_ext
18581 cat >>conftest.$ac_ext <<_ACEOF
18582 /* end confdefs.h. */
18583 #include <signal.h>
18588 static siginfo_t ac_aggr;
18595 rm -f conftest.$ac_objext
18596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18597 (eval $ac_compile) 2>conftest.er1
18599 grep -v '^ *+' conftest.er1 >conftest.err
18601 cat conftest.err >&5
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); } &&
18604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; } &&
18610 { ac_try='test -s conftest.$ac_objext'
18611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18612 (eval $ac_try) 2>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); }; }; then
18616 ac_cv_member_siginfo_t_si_fd=yes
18618 echo "$as_me: failed program was:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18621 cat >conftest.$ac_ext <<_ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18627 #include <signal.h>
18632 static siginfo_t ac_aggr;
18633 if (sizeof ac_aggr.si_fd)
18639 rm -f conftest.$ac_objext
18640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18641 (eval $ac_compile) 2>conftest.er1
18643 grep -v '^ *+' conftest.er1 >conftest.err
18645 cat conftest.err >&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } &&
18648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18650 (eval $ac_try) 2>&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; } &&
18654 { ac_try='test -s conftest.$ac_objext'
18655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18656 (eval $ac_try) 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; }; then
18660 ac_cv_member_siginfo_t_si_fd=yes
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.$ac_ext >&5
18665 ac_cv_member_siginfo_t_si_fd=no
18667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18671 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18672 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18673 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18675 cat >>confdefs.h <<_ACEOF
18676 #define HAVE_SIGINFO_T_SI_FD 1
18683 echo "$as_me:$LINENO: checking for struct option.name" >&5
18684 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
18685 if test "${ac_cv_member_struct_option_name+set}" = set; then
18686 echo $ECHO_N "(cached) $ECHO_C" >&6
18688 cat >conftest.$ac_ext <<_ACEOF
18691 cat confdefs.h >>conftest.$ac_ext
18692 cat >>conftest.$ac_ext <<_ACEOF
18693 /* end confdefs.h. */
18694 #ifdef HAVE_GETOPT_H
18695 #include <getopt.h>
18701 static struct option ac_aggr;
18708 rm -f conftest.$ac_objext
18709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18710 (eval $ac_compile) 2>conftest.er1
18712 grep -v '^ *+' conftest.er1 >conftest.err
18714 cat conftest.err >&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } &&
18717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; } &&
18723 { ac_try='test -s conftest.$ac_objext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_cv_member_struct_option_name=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18734 cat >conftest.$ac_ext <<_ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 #ifdef HAVE_GETOPT_H
18741 #include <getopt.h>
18747 static struct option ac_aggr;
18748 if (sizeof ac_aggr.name)
18754 rm -f conftest.$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18758 grep -v '^ *+' conftest.er1 >conftest.err
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try='test -s conftest.$ac_objext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_member_struct_option_name=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18780 ac_cv_member_struct_option_name=no
18782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18786 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
18787 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
18788 if test $ac_cv_member_struct_option_name = yes; then
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT_OPTION_NAME 1
18798 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18799 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18800 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 cat >conftest.$ac_ext <<_ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 $ac_includes_default
18813 static struct stat ac_aggr;
18814 if (ac_aggr.st_blocks)
18820 rm -f conftest.$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18824 grep -v '^ *+' conftest.er1 >conftest.err
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_cv_member_struct_stat_st_blocks=yes
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18846 cat >conftest.$ac_ext <<_ACEOF
18849 cat confdefs.h >>conftest.$ac_ext
18850 cat >>conftest.$ac_ext <<_ACEOF
18851 /* end confdefs.h. */
18852 $ac_includes_default
18856 static struct stat ac_aggr;
18857 if (sizeof ac_aggr.st_blocks)
18863 rm -f conftest.$ac_objext
18864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18865 (eval $ac_compile) 2>conftest.er1
18867 grep -v '^ *+' conftest.er1 >conftest.err
18869 cat conftest.err >&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } &&
18872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; } &&
18878 { ac_try='test -s conftest.$ac_objext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18884 ac_cv_member_struct_stat_st_blocks=yes
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18889 ac_cv_member_struct_stat_st_blocks=no
18891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18895 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18896 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18897 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18899 cat >>confdefs.h <<_ACEOF
18900 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18909 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
18910 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
18911 if test "${ac_cv_cpp_def___i386__+set}" = set; then
18912 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 cat >conftest.$ac_ext <<_ACEOF
18917 cat confdefs.h >>conftest.$ac_ext
18918 cat >>conftest.$ac_ext <<_ACEOF
18919 /* end confdefs.h. */
18924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18925 $EGREP "yes" >/dev/null 2>&1; then
18926 ac_cv_cpp_def___i386__=yes
18928 ac_cv_cpp_def___i386__=no
18933 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
18934 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
18935 if test $ac_cv_cpp_def___i386__ = yes; then
18936 CFLAGS="$CFLAGS -D__i386__"
18937 LINTFLAGS="$LINTFLAGS -D__i386__"
18940 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
18941 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
18942 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 cat >conftest.$ac_ext <<_ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18956 $EGREP "yes" >/dev/null 2>&1; then
18957 ac_cv_cpp_def___ALPHA__=yes
18959 ac_cv_cpp_def___ALPHA__=no
18964 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
18965 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
18966 if test $ac_cv_cpp_def___ALPHA__ = yes; then
18967 CFLAGS="$CFLAGS -D__ALPHA__"
18968 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
18971 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
18972 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
18973 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 cat >conftest.$ac_ext <<_ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18987 $EGREP "yes" >/dev/null 2>&1; then
18988 ac_cv_cpp_def___sparc__=yes
18990 ac_cv_cpp_def___sparc__=no
18995 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
18996 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
18997 if test $ac_cv_cpp_def___sparc__ = yes; then
18998 CFLAGS="$CFLAGS -D__sparc__"
18999 LINTFLAGS="$LINTFLAGS -D__sparc__"
19002 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19003 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19004 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19005 echo $ECHO_N "(cached) $ECHO_C" >&6
19007 cat >conftest.$ac_ext <<_ACEOF
19010 cat confdefs.h >>conftest.$ac_ext
19011 cat >>conftest.$ac_ext <<_ACEOF
19012 /* end confdefs.h. */
19013 #ifndef __powerpc__
19017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19018 $EGREP "yes" >/dev/null 2>&1; then
19019 ac_cv_cpp_def___powerpc__=yes
19021 ac_cv_cpp_def___powerpc__=no
19026 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19027 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19028 if test $ac_cv_cpp_def___powerpc__ = yes; then
19029 CFLAGS="$CFLAGS -D__powerpc__"
19030 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19035 case $host_vendor in
19036 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19037 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19038 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19039 echo $ECHO_N "(cached) $ECHO_C" >&6
19041 cat >conftest.$ac_ext <<_ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19052 $EGREP "yes" >/dev/null 2>&1; then
19053 ac_cv_cpp_def___sun__=yes
19055 ac_cv_cpp_def___sun__=no
19060 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19061 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19062 if test $ac_cv_cpp_def___sun__ = yes; then
19063 CFLAGS="$CFLAGS -D__sun__"
19064 LINTFLAGS="$LINTFLAGS -D__sun__"
19073 ac_config_commands="$ac_config_commands controls"
19075 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19077 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19079 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19081 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19083 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19085 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19087 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
19089 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
19091 ac_config_commands="$ac_config_commands dlls/kernel/messages"
19093 ac_config_commands="$ac_config_commands dlls/user/dde"
19095 ac_config_commands="$ac_config_commands dlls/user/resources"
19097 ac_config_commands="$ac_config_commands dlls/wineps/data"
19099 ac_config_commands="$ac_config_commands files"
19101 ac_config_commands="$ac_config_commands include/wine"
19103 ac_config_commands="$ac_config_commands misc"
19105 ac_config_commands="$ac_config_commands objects"
19107 ac_config_commands="$ac_config_commands programs/regedit/tests"
19109 ac_config_commands="$ac_config_commands windows"
19112 MAKE_RULES=Make.rules
19115 MAKE_DLL_RULES=dlls/Makedll.rules
19118 MAKE_TEST_RULES=dlls/Maketest.rules
19121 MAKE_LIB_RULES=libs/Makelib.rules
19124 MAKE_PROG_RULES=programs/Makeprog.rules
19127 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/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/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/version/Makefile dlls/vmm.vxd/Makefile dlls/vnb.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
19130 cat >confcache <<\_ACEOF
19131 # This file is a shell script that caches the results of configure
19132 # tests run on this system so they can be shared between configure
19133 # scripts and configure runs, see configure's option --config-cache.
19134 # It is not useful on other systems. If it contains results you don't
19135 # want to keep, you may remove or edit it.
19137 # config.status only pays attention to the cache file if you give it
19138 # the --recheck option to rerun configure.
19140 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19141 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19142 # following values.
19146 # The following way of writing the cache mishandles newlines in values,
19147 # but we know of no workaround that is simple, portable, and efficient.
19148 # So, don't put newlines in cache variables' values.
19149 # Ultrix sh set writes to stderr and can't be redirected directly,
19150 # and sets the high bit in the cache file unless we assign to the vars.
19153 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19155 # `set' does not quote correctly, so add quotes (double-quote
19156 # substitution turns \\\\ into \\, and sed turns \\ into \).
19159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19162 # `set' quotes correctly as required by POSIX, so do not add quotes.
19164 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19171 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19173 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19175 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19176 if test -w $cache_file; then
19177 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19178 cat confcache >$cache_file
19180 echo "not updating unwritable cache $cache_file"
19185 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19186 # Let make expand exec_prefix.
19187 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19189 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19190 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19191 # trailing colons and then remove the whole line if VPATH becomes empty
19192 # (actually we leave an empty line to preserve line numbers).
19193 if test "x$srcdir" = x.; then
19194 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19195 s/:*\$(srcdir):*/:/;
19196 s/:*\${srcdir}:*/:/;
19198 s/^\([^=]*=[ ]*\):*/\1/;
19204 DEFS=-DHAVE_CONFIG_H
19208 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19209 # 1. Remove the extension, and $U if already installed.
19210 ac_i=`echo "$ac_i" |
19211 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19213 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19214 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
19216 LIBOBJS=$ac_libobjs
19218 LTLIBOBJS=$ac_ltlibobjs
19222 : ${CONFIG_STATUS=./config.status}
19223 ac_clean_files_save=$ac_clean_files
19224 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19225 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19226 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19227 cat >$CONFIG_STATUS <<_ACEOF
19229 # Generated by $as_me.
19230 # Run this file to recreate the current configuration.
19231 # Compiler output produced by configure, useful for debugging
19232 # configure, is in config.log if it exists.
19235 ac_cs_recheck=false
19237 SHELL=\${CONFIG_SHELL-$SHELL}
19240 cat >>$CONFIG_STATUS <<\_ACEOF
19241 ## --------------------- ##
19242 ## M4sh Initialization. ##
19243 ## --------------------- ##
19245 # Be Bourne compatible
19246 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19249 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19250 # is contrary to our usage. Disable this feature.
19251 alias -g '${1+"$@"}'='"$@"'
19252 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19255 DUALCASE=1; export DUALCASE # for MKS sh
19257 # Support unset when possible.
19258 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19265 # Work around bugs in pre-3.0 UWIN ksh.
19266 $as_unset ENV MAIL MAILPATH
19273 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19274 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19275 LC_TELEPHONE LC_TIME
19277 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19278 eval $as_var=C; export $as_var
19284 # Required to use basename.
19285 if expr a : '\(a\)' >/dev/null 2>&1; then
19291 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
19292 as_basename=basename
19298 # Name of the executable.
19299 as_me=`$as_basename "$0" ||
19300 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19301 X"$0" : 'X\(//\)$' \| \
19302 X"$0" : 'X\(/\)$' \| \
19303 . : '\(.\)' 2>/dev/null ||
19305 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19306 /^X\/\(\/\/\)$/{ s//\1/; q; }
19307 /^X\/\(\/\).*/{ s//\1/; q; }
19311 # PATH needs CR, and LINENO needs CR and PATH.
19312 # Avoid depending upon Character Ranges.
19313 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19314 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19315 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19316 as_cr_digits='0123456789'
19317 as_cr_alnum=$as_cr_Letters$as_cr_digits
19319 # The user is always right.
19320 if test "${PATH_SEPARATOR+set}" != set; then
19321 echo "#! /bin/sh" >conf$$.sh
19322 echo "exit 0" >>conf$$.sh
19324 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19333 as_lineno_1=$LINENO
19334 as_lineno_2=$LINENO
19335 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19336 test "x$as_lineno_1" != "x$as_lineno_2" &&
19337 test "x$as_lineno_3" = "x$as_lineno_2" || {
19338 # Find who we are. Look in the path if we contain no path at all
19341 *[\\/]* ) as_myself=$0 ;;
19342 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19343 for as_dir in $PATH
19346 test -z "$as_dir" && as_dir=.
19347 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19352 # We did not find ourselves, most probably we were run as `sh COMMAND'
19353 # in which case we are not to be found in the path.
19354 if test "x$as_myself" = x; then
19357 if test ! -f "$as_myself"; then
19358 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19359 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19360 { (exit 1); exit 1; }; }
19362 case $CONFIG_SHELL in
19364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19365 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
19368 test -z "$as_dir" && as_dir=.
19369 for as_base in sh bash ksh sh5; do
19372 if ("$as_dir/$as_base" -c '
19373 as_lineno_1=$LINENO
19374 as_lineno_2=$LINENO
19375 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19376 test "x$as_lineno_1" != "x$as_lineno_2" &&
19377 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
19378 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
19379 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
19380 CONFIG_SHELL=$as_dir/$as_base
19381 export CONFIG_SHELL
19382 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19390 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19391 # uniformly replaced by the line number. The first 'sed' inserts a
19392 # line-number line before each line; the second 'sed' does the real
19393 # work. The second script uses 'N' to pair each line-number line
19394 # with the numbered line, and appends trailing '-' during
19395 # substitution so that $LINENO is not a special case at line end.
19396 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19397 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19398 sed '=' <$as_myself |
19403 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19406 s,^['$as_cr_digits']*\n,,
19407 ' >$as_me.lineno &&
19408 chmod +x $as_me.lineno ||
19409 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19410 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19411 { (exit 1); exit 1; }; }
19413 # Don't try to exec as it changes $[0], causing all sort of problems
19414 # (the dirname of $[0] is not the place where we might find the
19415 # original and so on. Autoconf is especially sensible to this).
19417 # Exit status is that of the last command.
19422 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19423 *c*,-n*) ECHO_N= ECHO_C='
19425 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
19426 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
19429 if expr a : '\(a\)' >/dev/null 2>&1; then
19435 rm -f conf$$ conf$$.exe conf$$.file
19437 if ln -s conf$$.file conf$$ 2>/dev/null; then
19438 # We could just check for DJGPP; but this test a) works b) is more generic
19439 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19440 if test -f conf$$.exe; then
19441 # Don't use ln at all; we don't have any links
19446 elif ln conf$$.file conf$$ 2>/dev/null; then
19451 rm -f conf$$ conf$$.exe conf$$.file
19453 if mkdir -p . 2>/dev/null; then
19456 test -d ./-p && rmdir ./-p
19460 as_executable_p="test -f"
19462 # Sed expression to map a string onto a valid CPP name.
19463 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19465 # Sed expression to map a string onto a valid variable name.
19466 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19470 # We need space, tab and new line, in precisely that order.
19480 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19481 # report actual input values of CONFIG_FILES etc. instead of their
19482 # values after options handling. Logging --version etc. is OK.
19486 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19487 ## Running $as_me. ##
19492 This file was extended by Wine $as_me 20040213, which was
19493 generated by GNU Autoconf 2.59. Invocation command line was
19495 CONFIG_FILES = $CONFIG_FILES
19496 CONFIG_HEADERS = $CONFIG_HEADERS
19497 CONFIG_LINKS = $CONFIG_LINKS
19498 CONFIG_COMMANDS = $CONFIG_COMMANDS
19502 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19506 # Files that config.status was made for.
19507 if test -n "$ac_config_files"; then
19508 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19511 if test -n "$ac_config_headers"; then
19512 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19515 if test -n "$ac_config_links"; then
19516 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19519 if test -n "$ac_config_commands"; then
19520 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19523 cat >>$CONFIG_STATUS <<\_ACEOF
19526 \`$as_me' instantiates files from templates according to the
19527 current configuration.
19529 Usage: $0 [OPTIONS] [FILE]...
19531 -h, --help print this help, then exit
19532 -V, --version print version number, then exit
19533 -q, --quiet do not print progress messages
19534 -d, --debug don't remove temporary files
19535 --recheck update $as_me by reconfiguring in the same conditions
19536 --file=FILE[:TEMPLATE]
19537 instantiate the configuration file FILE
19538 --header=FILE[:TEMPLATE]
19539 instantiate the configuration header FILE
19541 Configuration files:
19544 Configuration headers:
19547 Configuration commands:
19550 Report bugs to <bug-autoconf@gnu.org>."
19553 cat >>$CONFIG_STATUS <<_ACEOF
19555 Wine config.status 20040213
19556 configured by $0, generated by GNU Autoconf 2.59,
19557 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19559 Copyright (C) 2003 Free Software Foundation, Inc.
19560 This config.status script is free software; the Free Software Foundation
19561 gives unlimited permission to copy, distribute and modify it."
19566 cat >>$CONFIG_STATUS <<\_ACEOF
19567 # If no file are specified by the user, then we need to provide default
19568 # value. By we need to know if files were specified by the user.
19574 ac_option=`expr "x$1" : 'x\([^=]*\)='`
19575 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
19583 *) # This is not an option, so the user has probably given explicit
19586 ac_need_defaults=false;;
19590 # Handling of the options.
19592 cat >>$CONFIG_STATUS <<\_ACEOF
19593 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19595 --version | --vers* | -V )
19596 echo "$ac_cs_version"; exit 0 ;;
19598 # Conflict between --help and --header
19599 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19600 Try \`$0 --help' for more information." >&5
19601 echo "$as_me: error: ambiguous option: $1
19602 Try \`$0 --help' for more information." >&2;}
19603 { (exit 1); exit 1; }; };;
19604 --help | --hel | -h )
19605 echo "$ac_cs_usage"; exit 0 ;;
19606 --debug | --d* | -d )
19608 --file | --fil | --fi | --f )
19610 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
19611 ac_need_defaults=false;;
19612 --header | --heade | --head | --hea )
19614 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
19615 ac_need_defaults=false;;
19616 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19617 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19620 # This is an error.
19621 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19622 Try \`$0 --help' for more information." >&5
19623 echo "$as_me: error: unrecognized option: $1
19624 Try \`$0 --help' for more information." >&2;}
19625 { (exit 1); exit 1; }; } ;;
19627 *) ac_config_targets="$ac_config_targets $1" ;;
19633 ac_configure_extra_args=
19635 if $ac_cs_silent; then
19637 ac_configure_extra_args="$ac_configure_extra_args --silent"
19641 cat >>$CONFIG_STATUS <<_ACEOF
19642 if \$ac_cs_recheck; then
19643 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19644 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19653 cat >>$CONFIG_STATUS <<\_ACEOF
19654 for ac_config_target in $ac_config_targets
19656 case "$ac_config_target" in
19657 # Handling of arguments.
19658 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
19659 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
19660 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
19661 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
19662 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
19663 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19664 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
19665 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
19666 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
19667 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
19668 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
19669 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
19670 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
19671 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
19672 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
19673 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
19674 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
19675 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
19676 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
19677 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
19678 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
19679 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
19680 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
19681 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
19682 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
19683 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
19684 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
19685 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
19686 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
19687 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
19688 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
19689 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
19690 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
19691 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
19692 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
19693 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
19694 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
19695 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
19696 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
19697 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
19698 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
19699 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
19700 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
19701 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
19702 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
19703 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
19704 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
19705 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
19706 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
19707 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
19708 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
19709 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
19710 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
19711 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
19712 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
19713 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
19714 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
19715 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
19716 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
19717 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
19718 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
19719 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
19720 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
19721 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
19722 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
19723 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
19724 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
19725 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
19726 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
19727 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
19728 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
19729 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
19730 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
19731 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
19732 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
19733 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
19734 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
19735 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
19736 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
19737 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
19738 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
19739 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
19740 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
19741 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
19742 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
19743 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
19744 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
19745 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
19746 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
19747 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
19748 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
19749 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
19750 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
19751 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
19752 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
19753 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
19754 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
19755 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
19756 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
19757 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
19758 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
19759 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
19760 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
19761 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
19762 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
19763 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
19764 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
19765 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
19766 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
19767 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
19768 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
19769 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
19770 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
19771 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
19772 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
19773 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
19774 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
19775 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
19776 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
19777 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
19778 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
19779 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
19780 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
19781 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
19782 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
19783 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
19784 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
19785 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
19786 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
19787 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
19788 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
19789 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
19790 "dlls/vnb.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnb.vxd/Makefile" ;;
19791 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
19792 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
19793 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
19794 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
19795 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
19796 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
19797 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
19798 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
19799 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
19800 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
19801 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
19802 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
19803 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
19804 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
19805 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
19806 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
19807 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
19808 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
19809 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
19810 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
19811 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
19812 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
19813 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
19814 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
19815 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
19816 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
19817 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
19818 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
19819 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
19820 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
19821 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
19822 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
19823 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
19824 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
19825 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
19826 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
19827 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
19828 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
19829 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
19830 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
19831 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
19832 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
19833 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
19834 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
19835 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
19836 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
19837 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
19838 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
19839 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
19840 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
19841 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
19842 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
19843 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
19844 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
19845 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
19846 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
19847 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
19848 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
19849 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
19850 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
19851 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
19852 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
19853 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
19854 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
19855 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
19856 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
19857 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
19858 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
19859 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
19860 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
19861 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
19862 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
19863 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
19864 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
19865 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
19866 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
19867 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
19868 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
19869 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
19870 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
19871 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
19872 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
19873 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
19874 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
19875 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
19876 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
19877 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
19878 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
19879 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
19880 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
19881 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
19882 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
19883 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
19884 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
19885 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
19886 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
19887 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
19888 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
19889 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
19890 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
19891 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
19892 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19893 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19894 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19895 { (exit 1); exit 1; }; };;
19899 # If the user did not use the arguments to specify the items to instantiate,
19900 # then the envvar interface is used. Set only those that are not.
19901 # We use the long form for the default assignment because of an extremely
19902 # bizarre bug on SunOS 4.1.3.
19903 if $ac_need_defaults; then
19904 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19905 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19906 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19909 # Have a temporary directory for convenience. Make it in the build tree
19910 # simply because there is no reason to put it here, and in addition,
19911 # creating and moving files from /tmp can sometimes cause problems.
19912 # Create a temporary directory, and hook for its removal unless debugging.
19915 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19916 trap '{ (exit 1); exit 1; }' 1 2 13 15
19919 # Create a (secure) tmp directory for tmp files.
19922 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19923 test -n "$tmp" && test -d "$tmp"
19926 tmp=./confstat$$-$RANDOM
19927 (umask 077 && mkdir $tmp)
19930 echo "$me: cannot create a temporary directory in ." >&2
19931 { (exit 1); exit 1; }
19936 cat >>$CONFIG_STATUS <<_ACEOF
19939 # CONFIG_FILES section.
19942 # No need to generate the scripts if there are no CONFIG_FILES.
19943 # This happens for instance when ./config.status config.h
19944 if test -n "\$CONFIG_FILES"; then
19945 # Protect against being on the right side of a sed subst in config.status.
19946 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19947 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19948 s,@SHELL@,$SHELL,;t t
19949 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19950 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19951 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19952 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19953 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19954 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19955 s,@exec_prefix@,$exec_prefix,;t t
19956 s,@prefix@,$prefix,;t t
19957 s,@program_transform_name@,$program_transform_name,;t t
19958 s,@bindir@,$bindir,;t t
19959 s,@sbindir@,$sbindir,;t t
19960 s,@libexecdir@,$libexecdir,;t t
19961 s,@datadir@,$datadir,;t t
19962 s,@sysconfdir@,$sysconfdir,;t t
19963 s,@sharedstatedir@,$sharedstatedir,;t t
19964 s,@localstatedir@,$localstatedir,;t t
19965 s,@libdir@,$libdir,;t t
19966 s,@includedir@,$includedir,;t t
19967 s,@oldincludedir@,$oldincludedir,;t t
19968 s,@infodir@,$infodir,;t t
19969 s,@mandir@,$mandir,;t t
19970 s,@build_alias@,$build_alias,;t t
19971 s,@host_alias@,$host_alias,;t t
19972 s,@target_alias@,$target_alias,;t t
19973 s,@DEFS@,$DEFS,;t t
19974 s,@ECHO_C@,$ECHO_C,;t t
19975 s,@ECHO_N@,$ECHO_N,;t t
19976 s,@ECHO_T@,$ECHO_T,;t t
19977 s,@LIBS@,$LIBS,;t t
19978 s,@WIN16_FILES@,$WIN16_FILES,;t t
19979 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
19980 s,@build@,$build,;t t
19981 s,@build_cpu@,$build_cpu,;t t
19982 s,@build_vendor@,$build_vendor,;t t
19983 s,@build_os@,$build_os,;t t
19984 s,@host@,$host,;t t
19985 s,@host_cpu@,$host_cpu,;t t
19986 s,@host_vendor@,$host_vendor,;t t
19987 s,@host_os@,$host_os,;t t
19988 s,@SET_MAKE@,$SET_MAKE,;t t
19990 s,@CFLAGS@,$CFLAGS,;t t
19991 s,@LDFLAGS@,$LDFLAGS,;t t
19992 s,@CPPFLAGS@,$CPPFLAGS,;t t
19993 s,@ac_ct_CC@,$ac_ct_CC,;t t
19994 s,@EXEEXT@,$EXEEXT,;t t
19995 s,@OBJEXT@,$OBJEXT,;t t
19997 s,@TOOLSDIR@,$TOOLSDIR,;t t
19998 s,@X_CFLAGS@,$X_CFLAGS,;t t
19999 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20000 s,@X_LIBS@,$X_LIBS,;t t
20001 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20002 s,@YACC@,$YACC,;t t
20004 s,@LEXLIB@,$LEXLIB,;t t
20005 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20006 s,@XYACC@,$XYACC,;t t
20007 s,@XLEX@,$XLEX,;t t
20009 s,@ac_ct_AS@,$ac_ct_AS,;t t
20011 s,@ac_ct_LD@,$ac_ct_LD,;t t
20013 s,@ac_ct_AR@,$ac_ct_AR,;t t
20014 s,@RANLIB@,$RANLIB,;t t
20015 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20016 s,@STRIP@,$STRIP,;t t
20017 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20018 s,@WINDRES@,$WINDRES,;t t
20019 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20020 s,@LN_S@,$LN_S,;t t
20022 s,@LDCONFIG@,$LDCONFIG,;t t
20023 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20024 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20025 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20026 s,@LINT@,$LINT,;t t
20027 s,@LINTFLAGS@,$LINTFLAGS,;t t
20028 s,@DB2HTML@,$DB2HTML,;t t
20029 s,@DB2PDF@,$DB2PDF,;t t
20030 s,@DB2PS@,$DB2PS,;t t
20031 s,@DB2TXT@,$DB2TXT,;t t
20032 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20033 s,@JPEGLIB@,$JPEGLIB,;t t
20034 s,@EGREP@,$EGREP,;t t
20035 s,@GIFLIB@,$GIFLIB,;t t
20036 s,@XLIB@,$XLIB,;t t
20037 s,@XFILES@,$XFILES,;t t
20038 s,@OPENGLFILES@,$OPENGLFILES,;t t
20039 s,@GLU32FILES@,$GLU32FILES,;t t
20040 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20041 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20042 s,@GLUT32FILES@,$GLUT32FILES,;t t
20043 s,@NASLIBS@,$NASLIBS,;t t
20044 s,@CURSESLIBS@,$CURSESLIBS,;t t
20045 s,@sane_devel@,$sane_devel,;t t
20046 s,@SANELIBS@,$SANELIBS,;t t
20047 s,@SANEINCL@,$SANEINCL,;t t
20048 s,@ICULIBS@,$ICULIBS,;t t
20049 s,@ft_devel@,$ft_devel,;t t
20050 s,@ft_devel2@,$ft_devel2,;t t
20051 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20052 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20053 s,@ARTSLIBS@,$ARTSLIBS,;t t
20054 s,@ARTSINCL@,$ARTSINCL,;t t
20055 s,@ALSALIBS@,$ALSALIBS,;t t
20056 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20057 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20058 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20059 s,@DLLEXT@,$DLLEXT,;t t
20060 s,@DLLFLAGS@,$DLLFLAGS,;t t
20061 s,@DLLIBS@,$DLLIBS,;t t
20062 s,@LDSHARED@,$LDSHARED,;t t
20063 s,@LDDLL@,$LDDLL,;t t
20064 s,@LIBEXT@,$LIBEXT,;t t
20065 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20066 s,@DLLTOOL@,$DLLTOOL,;t t
20067 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20068 s,@DLLWRAP@,$DLLWRAP,;t t
20069 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20070 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20071 s,@CROSSTEST@,$CROSSTEST,;t t
20072 s,@CROSSCC@,$CROSSCC,;t t
20073 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20074 s,@LDPATH@,$LDPATH,;t t
20075 s,@CRTLIBS@,$CRTLIBS,;t t
20076 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20077 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20079 s,@ALLOCA@,$ALLOCA,;t t
20080 s,@LIBOBJS@,$LIBOBJS,;t t
20081 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20082 /@MAKE_RULES@/r $MAKE_RULES
20083 s,@MAKE_RULES@,,;t t
20084 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20085 s,@MAKE_DLL_RULES@,,;t t
20086 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20087 s,@MAKE_TEST_RULES@,,;t t
20088 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20089 s,@MAKE_LIB_RULES@,,;t t
20090 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20091 s,@MAKE_PROG_RULES@,,;t t
20096 cat >>$CONFIG_STATUS <<\_ACEOF
20097 # Split the substitutions into bite-sized pieces for seds with
20098 # small command number limits, like on Digital OSF/1 and HP-UX.
20099 ac_max_sed_lines=48
20100 ac_sed_frag=1 # Number of current file.
20101 ac_beg=1 # First line for current file.
20102 ac_end=$ac_max_sed_lines # Line after last line for current file.
20105 while $ac_more_lines; do
20106 if test $ac_beg -gt 1; then
20107 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20109 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20111 if test ! -s $tmp/subs.frag; then
20112 ac_more_lines=false
20114 # The purpose of the label and of the branching condition is to
20115 # speed up the sed processing (if there are no `@' at all, there
20116 # is no need to browse any of the substitutions).
20117 # These are the two extra sed commands mentioned above.
20119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20120 if test -z "$ac_sed_cmds"; then
20121 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20123 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20125 ac_sed_frag=`expr $ac_sed_frag + 1`
20127 ac_end=`expr $ac_end + $ac_max_sed_lines`
20130 if test -z "$ac_sed_cmds"; then
20133 fi # test -n "$CONFIG_FILES"
20136 cat >>$CONFIG_STATUS <<\_ACEOF
20137 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20138 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20140 - | *:- | *:-:* ) # input from stdin
20142 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20143 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20144 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20145 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20146 * ) ac_file_in=$ac_file.in ;;
20149 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20150 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20151 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20152 X"$ac_file" : 'X\(//\)[^/]' \| \
20153 X"$ac_file" : 'X\(//\)$' \| \
20154 X"$ac_file" : 'X\(/\)' \| \
20155 . : '\(.\)' 2>/dev/null ||
20157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20159 /^X\(\/\/\)$/{ s//\1/; q; }
20160 /^X\(\/\).*/{ s//\1/; q; }
20162 { if $as_mkdir_p; then
20167 while test ! -d "$as_dir"; do
20168 as_dirs="$as_dir $as_dirs"
20169 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20171 X"$as_dir" : 'X\(//\)[^/]' \| \
20172 X"$as_dir" : 'X\(//\)$' \| \
20173 X"$as_dir" : 'X\(/\)' \| \
20174 . : '\(.\)' 2>/dev/null ||
20176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20178 /^X\(\/\/\)$/{ s//\1/; q; }
20179 /^X\(\/\).*/{ s//\1/; q; }
20182 test ! -n "$as_dirs" || mkdir $as_dirs
20183 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20184 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20185 { (exit 1); exit 1; }; }; }
20189 if test "$ac_dir" != .; then
20190 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20191 # A "../" for each directory in $ac_dir_suffix.
20192 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20194 ac_dir_suffix= ac_top_builddir=
20198 .) # No --srcdir option. We are building in place.
20200 if test -z "$ac_top_builddir"; then
20203 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20205 [\\/]* | ?:[\\/]* ) # Absolute path.
20206 ac_srcdir=$srcdir$ac_dir_suffix;
20207 ac_top_srcdir=$srcdir ;;
20208 *) # Relative path.
20209 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20210 ac_top_srcdir=$ac_top_builddir$srcdir ;;
20213 # Do not use `cd foo && pwd` to compute absolute paths, because
20214 # the directories may not exist.
20216 .) ac_abs_builddir="$ac_dir";;
20219 .) ac_abs_builddir=`pwd`;;
20220 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20221 *) ac_abs_builddir=`pwd`/"$ac_dir";;
20224 case $ac_abs_builddir in
20225 .) ac_abs_top_builddir=${ac_top_builddir}.;;
20227 case ${ac_top_builddir}. in
20228 .) ac_abs_top_builddir=$ac_abs_builddir;;
20229 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20230 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20233 case $ac_abs_builddir in
20234 .) ac_abs_srcdir=$ac_srcdir;;
20237 .) ac_abs_srcdir=$ac_abs_builddir;;
20238 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20239 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20242 case $ac_abs_builddir in
20243 .) ac_abs_top_srcdir=$ac_top_srcdir;;
20245 case $ac_top_srcdir in
20246 .) ac_abs_top_srcdir=$ac_abs_builddir;;
20247 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20248 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20254 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20255 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20258 # Let's still pretend it is `configure' which instantiates (i.e., don't
20259 # use $as_me), people would be surprised to read:
20260 # /* config.h. Generated by config.status. */
20261 if test x"$ac_file" = x-; then
20264 configure_input="$ac_file. "
20266 configure_input=$configure_input"Generated from `echo $ac_file_in |
20267 sed 's,.*/,,'` by configure."
20269 # First look for the input files in the build tree, otherwise in the
20271 ac_file_inputs=`IFS=:
20272 for f in $ac_file_in; do
20274 -) echo $tmp/stdin ;;
20276 # Absolute (can't be DOS-style, as IFS=:)
20277 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20278 echo "$as_me: error: cannot find input file: $f" >&2;}
20279 { (exit 1); exit 1; }; }
20282 if test -f "$f"; then
20285 elif test -f "$srcdir/$f"; then
20290 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20291 echo "$as_me: error: cannot find input file: $f" >&2;}
20292 { (exit 1); exit 1; }; }
20295 done` || { (exit 1); exit 1; }
20297 if test x"$ac_file" != x-; then
20298 { echo "$as_me:$LINENO: creating $ac_file" >&5
20299 echo "$as_me: creating $ac_file" >&6;}
20303 cat >>$CONFIG_STATUS <<_ACEOF
20307 cat >>$CONFIG_STATUS <<\_ACEOF
20309 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20310 s,@configure_input@,$configure_input,;t t
20311 s,@srcdir@,$ac_srcdir,;t t
20312 s,@abs_srcdir@,$ac_abs_srcdir,;t t
20313 s,@top_srcdir@,$ac_top_srcdir,;t t
20314 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20315 s,@builddir@,$ac_builddir,;t t
20316 s,@abs_builddir@,$ac_abs_builddir,;t t
20317 s,@top_builddir@,$ac_top_builddir,;t t
20318 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20319 s,@INSTALL@,$ac_INSTALL,;t t
20320 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20322 if test x"$ac_file" != x-; then
20323 mv $tmp/out $ac_file
20331 cat >>$CONFIG_STATUS <<\_ACEOF
20334 # CONFIG_HEADER section.
20337 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20338 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20340 # ac_d sets the value in "#define NAME VALUE" lines.
20341 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20342 ac_dB='[ ].*$,\1#\2'
20345 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20346 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20347 ac_uB='$,\1#\2define\3'
20351 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
20352 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20354 - | *:- | *:-:* ) # input from stdin
20356 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20357 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20358 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20359 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20360 * ) ac_file_in=$ac_file.in ;;
20363 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
20364 echo "$as_me: creating $ac_file" >&6;}
20366 # First look for the input files in the build tree, otherwise in the
20368 ac_file_inputs=`IFS=:
20369 for f in $ac_file_in; do
20371 -) echo $tmp/stdin ;;
20373 # Absolute (can't be DOS-style, as IFS=:)
20374 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20375 echo "$as_me: error: cannot find input file: $f" >&2;}
20376 { (exit 1); exit 1; }; }
20377 # Do quote $f, to prevent DOS paths from being IFS'd.
20380 if test -f "$f"; then
20383 elif test -f "$srcdir/$f"; then
20388 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20389 echo "$as_me: error: cannot find input file: $f" >&2;}
20390 { (exit 1); exit 1; }; }
20393 done` || { (exit 1); exit 1; }
20394 # Remove the trailing spaces.
20395 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20399 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20400 # `conftest.undefs', that substitutes the proper values into
20401 # config.h.in to produce config.h. The first handles `#define'
20402 # templates, and the second `#undef' templates.
20403 # And first: Protect against being on the right side of a sed subst in
20404 # config.status. Protect against being in an unquoted here document
20405 # in config.status.
20406 rm -f conftest.defines conftest.undefs
20407 # Using a here document instead of a string reduces the quoting nightmare.
20408 # Putting comments in sed scripts is not portable.
20410 # `end' is used to avoid that the second main sed command (meant for
20411 # 0-ary CPP macros) applies to n-ary macro definitions.
20412 # See the Autoconf documentation for `clear'.
20413 cat >confdef2sed.sed <<\_ACEOF
20418 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20420 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20423 # If some macros were called several times there might be several times
20424 # the same #defines, which is useless. Nevertheless, we may not want to
20425 # sort them, since we want the *last* AC-DEFINE to be honored.
20426 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20427 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20428 rm -f confdef2sed.sed
20430 # This sed command replaces #undef with comments. This is necessary, for
20431 # example, in the case of _POSIX_SOURCE, which is predefined and required
20432 # on some systems where configure will not decide to define it.
20433 cat >>conftest.undefs <<\_ACEOF
20434 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20437 # Break up conftest.defines because some shells have a limit on the size
20438 # of here documents, and old seds have small limits too (100 cmds).
20439 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20440 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20441 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20442 echo ' :' >>$CONFIG_STATUS
20443 rm -f conftest.tail
20444 while grep . conftest.defines >/dev/null
20446 # Write a limited-size here document to $tmp/defines.sed.
20447 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20448 # Speed up: don't consider the non `#define' lines.
20449 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20450 # Work around the forget-to-reset-the-flag bug.
20451 echo 't clr' >>$CONFIG_STATUS
20452 echo ': clr' >>$CONFIG_STATUS
20453 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
20455 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20457 mv $tmp/out $tmp/in
20459 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
20460 rm -f conftest.defines
20461 mv conftest.tail conftest.defines
20463 rm -f conftest.defines
20464 echo ' fi # grep' >>$CONFIG_STATUS
20465 echo >>$CONFIG_STATUS
20467 # Break up conftest.undefs because some shells have a limit on the size
20468 # of here documents, and old seds have small limits too (100 cmds).
20469 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20470 rm -f conftest.tail
20471 while grep . conftest.undefs >/dev/null
20473 # Write a limited-size here document to $tmp/undefs.sed.
20474 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20475 # Speed up: don't consider the non `#undef'
20476 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20477 # Work around the forget-to-reset-the-flag bug.
20478 echo 't clr' >>$CONFIG_STATUS
20479 echo ': clr' >>$CONFIG_STATUS
20480 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20482 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20484 mv $tmp/out $tmp/in
20486 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20487 rm -f conftest.undefs
20488 mv conftest.tail conftest.undefs
20490 rm -f conftest.undefs
20492 cat >>$CONFIG_STATUS <<\_ACEOF
20493 # Let's still pretend it is `configure' which instantiates (i.e., don't
20494 # use $as_me), people would be surprised to read:
20495 # /* config.h. Generated by config.status. */
20496 if test x"$ac_file" = x-; then
20497 echo "/* Generated by configure. */" >$tmp/config.h
20499 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20501 cat $tmp/in >>$tmp/config.h
20503 if test x"$ac_file" != x-; then
20504 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
20505 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20506 echo "$as_me: $ac_file is unchanged" >&6;}
20508 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20510 X"$ac_file" : 'X\(//\)[^/]' \| \
20511 X"$ac_file" : 'X\(//\)$' \| \
20512 X"$ac_file" : 'X\(/\)' \| \
20513 . : '\(.\)' 2>/dev/null ||
20515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20517 /^X\(\/\/\)$/{ s//\1/; q; }
20518 /^X\(\/\).*/{ s//\1/; q; }
20520 { if $as_mkdir_p; then
20525 while test ! -d "$as_dir"; do
20526 as_dirs="$as_dir $as_dirs"
20527 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20529 X"$as_dir" : 'X\(//\)[^/]' \| \
20530 X"$as_dir" : 'X\(//\)$' \| \
20531 X"$as_dir" : 'X\(/\)' \| \
20532 . : '\(.\)' 2>/dev/null ||
20534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20536 /^X\(\/\/\)$/{ s//\1/; q; }
20537 /^X\(\/\).*/{ s//\1/; q; }
20540 test ! -n "$as_dirs" || mkdir $as_dirs
20541 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20542 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20543 { (exit 1); exit 1; }; }; }
20546 mv $tmp/config.h $ac_file
20550 rm -f $tmp/config.h
20554 cat >>$CONFIG_STATUS <<\_ACEOF
20557 # CONFIG_COMMANDS section.
20559 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20560 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20561 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20562 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20563 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20564 X"$ac_dest" : 'X\(//\)[^/]' \| \
20565 X"$ac_dest" : 'X\(//\)$' \| \
20566 X"$ac_dest" : 'X\(/\)' \| \
20567 . : '\(.\)' 2>/dev/null ||
20569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20571 /^X\(\/\/\)$/{ s//\1/; q; }
20572 /^X\(\/\).*/{ s//\1/; q; }
20574 { if $as_mkdir_p; then
20579 while test ! -d "$as_dir"; do
20580 as_dirs="$as_dir $as_dirs"
20581 as_dir=`(dirname "$as_dir") 2>/dev/null ||
20582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20583 X"$as_dir" : 'X\(//\)[^/]' \| \
20584 X"$as_dir" : 'X\(//\)$' \| \
20585 X"$as_dir" : 'X\(/\)' \| \
20586 . : '\(.\)' 2>/dev/null ||
20588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20589 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20590 /^X\(\/\/\)$/{ s//\1/; q; }
20591 /^X\(\/\).*/{ s//\1/; q; }
20594 test ! -n "$as_dirs" || mkdir $as_dirs
20595 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20596 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20597 { (exit 1); exit 1; }; }; }
20601 if test "$ac_dir" != .; then
20602 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20603 # A "../" for each directory in $ac_dir_suffix.
20604 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20606 ac_dir_suffix= ac_top_builddir=
20610 .) # No --srcdir option. We are building in place.
20612 if test -z "$ac_top_builddir"; then
20615 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20617 [\\/]* | ?:[\\/]* ) # Absolute path.
20618 ac_srcdir=$srcdir$ac_dir_suffix;
20619 ac_top_srcdir=$srcdir ;;
20620 *) # Relative path.
20621 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20622 ac_top_srcdir=$ac_top_builddir$srcdir ;;
20625 # Do not use `cd foo && pwd` to compute absolute paths, because
20626 # the directories may not exist.
20628 .) ac_abs_builddir="$ac_dir";;
20631 .) ac_abs_builddir=`pwd`;;
20632 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20633 *) ac_abs_builddir=`pwd`/"$ac_dir";;
20636 case $ac_abs_builddir in
20637 .) ac_abs_top_builddir=${ac_top_builddir}.;;
20639 case ${ac_top_builddir}. in
20640 .) ac_abs_top_builddir=$ac_abs_builddir;;
20641 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20642 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20645 case $ac_abs_builddir in
20646 .) ac_abs_srcdir=$ac_srcdir;;
20649 .) ac_abs_srcdir=$ac_abs_builddir;;
20650 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20651 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20654 case $ac_abs_builddir in
20655 .) ac_abs_top_srcdir=$ac_top_srcdir;;
20657 case $ac_top_srcdir in
20658 .) ac_abs_top_srcdir=$ac_abs_builddir;;
20659 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20660 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20665 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20666 echo "$as_me: executing $ac_dest commands" >&6;}
20668 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
20669 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
20670 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
20671 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
20672 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
20673 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
20674 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
20675 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
20676 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
20677 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
20678 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
20679 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
20680 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
20681 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
20682 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
20683 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
20684 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
20685 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
20686 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
20687 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
20688 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
20689 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
20690 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
20691 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
20692 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
20693 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
20694 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
20695 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
20696 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
20697 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
20698 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
20699 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
20700 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
20701 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
20702 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
20703 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
20704 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
20705 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
20710 cat >>$CONFIG_STATUS <<\_ACEOF
20712 { (exit 0); exit 0; }
20714 chmod +x $CONFIG_STATUS
20715 ac_clean_files=$ac_clean_files_save
20718 # configure is writing to config.log, and then calls config.status.
20719 # config.status does its own redirection, appending to config.log.
20720 # Unfortunately, on DOS this fails, as config.log is still kept open
20721 # by configure, so config.status won't be able to write to it; its
20722 # output is simply discarded. So we exec the FD to /dev/null,
20723 # effectively closing config.log, so it can be properly (re)opened and
20724 # appended to by config.status. When coming back to configure, we
20725 # need to make the FD available again.
20726 if test "$no_create" != yes; then
20728 ac_config_status_args=
20729 test "$silent" = yes &&
20730 ac_config_status_args="$ac_config_status_args --quiet"
20732 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20735 # would make configure fail if this is the last instruction.
20736 $ac_cs_success || { (exit 1); exit 1; }
20740 if test "$have_x" = "no"
20743 echo "*** Warning: X development files not found. Wine will be built without"
20744 echo "*** X support, which currently does not work, and would probably not be"
20745 echo "*** what you want anyway. You will need to install devel packages of"
20746 echo "*** Xlib/Xfree86 at the very least."
20749 if test "$wine_cv_opengl_version_OK" = "no"
20752 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
20753 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
20756 if test "$wine_cv_msg_freetype" = "yes"
20759 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
20760 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
20761 echo "*** freetype-devel package (or its equivalent on your distribution) to"
20762 echo "*** enable Wine to use TrueType fonts."
20766 echo "Configure finished. Do 'make depend && make' to compile Wine."