2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040309.
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='20040309'
273 PACKAGE_STRING='Wine 20040309'
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 CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN 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 LDDLLFLAGS 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_CXX_set=${CXX+set}
772 ac_env_CXX_value=$CXX
773 ac_cv_env_CXX_set=${CXX+set}
774 ac_cv_env_CXX_value=$CXX
775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20040309 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are in DIR
846 --x-libraries=DIR X library files are in DIR
849 --build=BUILD configure for building on BUILD [guessed]
850 --host=HOST cross-compile to build programs to run on HOST [BUILD]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of Wine 20040309:";;
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
870 --without-opengl do not use OpenGL
871 --without-curses do not use curses
872 --with-wine-tools=<dir> use Wine tools from directory <dir>
873 --with-x use the X Window System
875 Some influential environment variables:
876 CC C compiler command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879 nonstandard directory <lib dir>
880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881 headers in a nonstandard directory <include dir>
882 CXX C++ compiler command
883 CXXFLAGS C++ compiler flags
886 Use these variables to override the choices made by `configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
889 Report bugs to <wine-devel@winehq.org>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo && pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
985 Wine configure 20040309
986 generated by GNU Autoconf 2.59
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by Wine $as_me 20040309, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1023 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next=false
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next=true ;;
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close' the trap.
1106 trap 'exit_status=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var in $ac_subst_vars
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var in $ac_subst_files
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h; then
1169 sed "/^$/d" confdefs.h | sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core *.core &&
1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's/^/| /' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 ac_config_headers="$ac_config_headers include/config.h"
1339 for ac_dir in tools $srcdir/tools; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval="$enable_win16"
1370 # Check whether --enable-debug or --disable-debug was given.
1371 if test "${enable_debug+set}" = set; then
1372 enableval="$enable_debug"
1375 # Check whether --enable-trace or --disable-trace was given.
1376 if test "${enable_trace+set}" = set; then
1377 enableval="$enable_trace"
1382 # Check whether --with-opengl or --without-opengl was given.
1383 if test "${with_opengl+set}" = set; then
1384 withval="$with_opengl"
1388 # Check whether --with-curses or --without-curses was given.
1389 if test "${with_curses+set}" = set; then
1390 withval="$with_curses"
1394 # Check whether --with-wine-tools or --without-wine-tools was given.
1395 if test "${with_wine_tools+set}" = set; then
1396 withval="$with_wine_tools"
1400 WIN16_FILES="\$(WIN16_FILES)"
1402 WIN16_INSTALL="\$(WIN16_INSTALL)"
1404 if test "x$enable_win16" = "xno"
1409 if test "x$enable_debug" = "xno"
1412 cat >>confdefs.h <<\_ACEOF
1413 #define NO_DEBUG_MSGS 1
1417 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1420 cat >>confdefs.h <<\_ACEOF
1421 #define NO_TRACE_MSGS 1
1427 # Make sure we can run config.sub.
1428 $ac_config_sub sun4 >/dev/null 2>&1 ||
1429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: checking build system type" >&5
1434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1435 if test "${ac_cv_build+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_build_alias=$build_alias
1439 test -z "$ac_cv_build_alias" &&
1440 ac_cv_build_alias=`$ac_config_guess`
1441 test -z "$ac_cv_build_alias" &&
1442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1444 { (exit 1); exit 1; }; }
1445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1448 { (exit 1); exit 1; }; }
1451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1452 echo "${ECHO_T}$ac_cv_build" >&6
1454 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1455 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1456 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1459 echo "$as_me:$LINENO: checking host system type" >&5
1460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1461 if test "${ac_cv_host+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 ac_cv_host_alias=$host_alias
1465 test -z "$ac_cv_host_alias" &&
1466 ac_cv_host_alias=$ac_cv_build_alias
1467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1474 echo "${ECHO_T}$ac_cv_host" >&6
1476 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1477 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1478 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 cat >conftest.make <<\_ACEOF
1489 @echo 'ac_maketemp="$(MAKE)"'
1491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1492 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1493 if test -n "$ac_maketemp"; then
1494 eval ac_cv_prog_make_${ac_make}_set=yes
1496 eval ac_cv_prog_make_${ac_make}_set=no
1500 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE="MAKE=${MAKE-make}"
1511 ac_cpp='$CPP $CPPFLAGS'
1512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "gcc", so it can be a program name with args.
1555 set dummy gcc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="gcc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597 set dummy ${ac_tool_prefix}cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC="${ac_tool_prefix}cc"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir=.
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC="cc"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1675 if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args.
1677 set dummy cc; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC="$CC" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695 ac_prog_rejected=yes
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test $ac_prog_rejected = yes; then
1706 # We found a bogon in the path, so make sure we never use it.
1707 set dummy $ac_cv_prog_CC
1709 if test $# != 0; then
1710 # We chose a different compiler from the bogus one.
1711 # However, it has the same basename, so the bogon will be chosen
1712 # first if we set CC to just the basename; use the full file name.
1714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC="$CC" # Let the user override the test.
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 for ac_exec_ext in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1771 if test -z "$CC"; then
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy $ac_prog; ac_word=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820 See \`config.log' for more details." >&5
1821 echo "$as_me: error: no acceptable C compiler found in \$PATH
1822 See \`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1825 # Provide some information about the compiler.
1826 echo "$as_me:$LINENO:" \
1827 "checking for C compiler version" >&5
1828 ac_compiler=`set X $ac_compile; echo $2`
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830 (eval $ac_compiler --version </dev/null >&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1835 (eval $ac_compiler -v </dev/null >&5) 2>&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1840 (eval $ac_compiler -V </dev/null >&5) 2>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.$ac_ext <<_ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1860 ac_clean_files_save=$ac_clean_files
1861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1862 # Try to create an executable without -o first, disregard a.out.
1863 # It will help us diagnose broken compilers, and finding out an intuition
1865 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1867 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869 (eval $ac_link_default) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # Find the output, starting from the most likely. This scheme is
1874 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1877 # Be careful to initialize this variable, since it used to be cached.
1878 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1880 # b.out is created by i960 compilers.
1881 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1883 test -f "$ac_file" || continue
1885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1888 # This is the source file.
1891 # We found the default executable, but exeext='' is most
1895 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 # FIXME: I believe we export ac_cv_exeext for Libtool,
1897 # but it would be cool to find out if it's true. Does anybody
1898 # maintain Libtool? --akim.
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910 See \`config.log' for more details." >&5
1911 echo "$as_me: error: C compiler cannot create executables
1912 See \`config.log' for more details." >&2;}
1913 { (exit 77); exit 77; }; }
1916 ac_exeext=$ac_cv_exeext
1917 echo "$as_me:$LINENO: result: $ac_file" >&5
1918 echo "${ECHO_T}$ac_file" >&6
1920 # Check the compiler produces executables we can run. If not, either
1921 # the compiler is broken, or we cross compile.
1922 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1923 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925 # If not cross compiling, check that we can run a simple program.
1926 if test "$cross_compiling" != yes; then
1927 if { ac_try='./$ac_file'
1928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }; }; then
1935 if test "$cross_compiling" = maybe; then
1938 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1939 If you meant to cross compile, use \`--host'.
1940 See \`config.log' for more details." >&5
1941 echo "$as_me: error: cannot run C compiled programs.
1942 If you meant to cross compile, use \`--host'.
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1948 echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6
1951 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1952 ac_clean_files=$ac_clean_files_save
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1956 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1957 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1958 echo "${ECHO_T}$cross_compiling" >&6
1960 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1961 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1963 (eval $ac_link) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1969 # work properly (i.e., refer to `conftest.exe'), while it won't with
1971 for ac_file in conftest.exe conftest conftest.*; do
1972 test -f "$ac_file" || continue
1974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1985 See \`config.log' for more details." >&2;}
1986 { (exit 1); exit 1; }; }
1989 rm -f conftest$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1991 echo "${ECHO_T}$ac_cv_exeext" >&6
1993 rm -f conftest.$ac_ext
1994 EXEEXT=$ac_cv_exeext
1996 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1997 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1998 if test "${ac_cv_objext+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 cat >conftest.$ac_ext <<_ACEOF
2004 cat confdefs.h >>conftest.$ac_ext
2005 cat >>conftest.$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; then
2022 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2025 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2040 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2042 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2043 echo "${ECHO_T}$ac_cv_objext" >&6
2044 OBJEXT=$ac_cv_objext
2046 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 cat >conftest.$ac_ext <<_ACEOF
2054 cat confdefs.h >>conftest.$ac_ext
2055 cat >>conftest.$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2069 rm -f conftest.$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1 >conftest.err
2075 cat conftest.err >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2098 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2101 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103 GCC=`test $ac_compiler_gnu = yes && echo yes`
2104 ac_test_CFLAGS=${CFLAGS+set}
2105 ac_save_CFLAGS=$CFLAGS
2107 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109 if test "${ac_cv_prog_cc_g+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 cat >conftest.$ac_ext <<_ACEOF
2115 cat confdefs.h >>conftest.$ac_ext
2116 cat >>conftest.$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2127 rm -f conftest.$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2131 grep -v '^ *+' conftest.er1 >conftest.err
2133 cat conftest.err >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; } &&
2142 { ac_try='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159 if test "$ac_test_CFLAGS" = set; then
2160 CFLAGS=$ac_save_CFLAGS
2161 elif test $ac_cv_prog_cc_g = yes; then
2162 if test "$GCC" = yes; then
2168 if test "$GCC" = yes; then
2174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 ac_cv_prog_cc_stdc=no
2181 cat >conftest.$ac_ext <<_ACEOF
2184 cat confdefs.h >>conftest.$ac_ext
2185 cat >>conftest.$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2205 s = g (p, va_arg (v,int));
2210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2211 function prototypes and stuff, but not '\xHH' hex character constants.
2212 These don't provoke an error unfortunately, instead are silently treated
2213 as 'x'. The following induces an error, until -std1 is added to get
2214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2215 array size at least. It's necessary to write '\x00'==0 to get something
2216 that's true only with -std1. */
2217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2233 # Don't try gcc -ansi; that turns off useful extensions and
2234 # breaks some systems' header files.
2235 # AIX -qlanglvl=ansi
2236 # Ultrix and OSF/1 -std1
2237 # HP-UX 10.20 and later -Ae
2238 # HP-UX older versions -Aa -D_HPUX_SOURCE
2239 # SVR4 -Xc -D__EXTENSIONS__
2240 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2242 CC="$ac_save_CC $ac_arg"
2243 rm -f conftest.$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2247 grep -v '^ *+' conftest.er1 >conftest.err
2249 cat conftest.err >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc=$ac_arg
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.$ac_ext >&5
2271 rm -f conftest.err conftest.$ac_objext
2273 rm -f conftest.$ac_ext conftest.$ac_objext
2278 case "x$ac_cv_prog_cc_stdc" in
2280 echo "$as_me:$LINENO: result: none needed" >&5
2281 echo "${ECHO_T}none needed" >&6 ;;
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285 CC="$CC $ac_cv_prog_cc_stdc" ;;
2288 # Some people use a C++ compiler to compile C. Since we use `exit',
2289 # in C++ we need to declare it. In case someone uses the same compiler
2290 # for both compiling C and C++ we need to have the C++ compiler decide
2291 # the declaration of exit, since it's the most demanding environment.
2292 cat >conftest.$ac_ext <<_ACEOF
2297 rm -f conftest.$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2301 grep -v '^ *+' conftest.er1 >conftest.err
2303 cat conftest.err >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration in \
2320 'extern "C" void std::exit (int) throw (); using std::exit;' \
2321 'extern "C" void std::exit (int); using std::exit;' \
2322 'extern "C" void exit (int) throw ();' \
2323 'extern "C" void exit (int);' \
2326 cat >conftest.$ac_ext <<_ACEOF
2329 cat confdefs.h >>conftest.$ac_ext
2330 cat >>conftest.$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2342 rm -f conftest.$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1 >conftest.err
2348 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2371 cat >conftest.$ac_ext <<_ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 rm -f conftest.$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1 >conftest.err
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.$ac_ext >&5
2413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435 ac_cpp='$CXXCPP $CPPFLAGS'
2436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2480 if test -z "$CXX"; then
2482 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy $ac_prog; ac_word=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CXX="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2511 if test -n "$ac_ct_CXX"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2513 echo "${ECHO_T}$ac_ct_CXX" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2521 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C++ compiler version" >&5
2530 ac_compiler=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev/null >&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev/null >&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev/null >&5) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.$ac_ext <<_ACEOF
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 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); } &&
2579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2599 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS=$CXXFLAGS
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.$ac_ext <<_ACEOF
2616 cat confdefs.h >>conftest.$ac_ext
2617 cat >>conftest.$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2632 grep -v '^ *+' conftest.er1 >conftest.err
2634 cat conftest.err >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g=yes
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2669 if test "$GXX" = yes; then
2675 for ac_declaration in \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2683 cat >conftest.$ac_ext <<_ACEOF
2686 cat confdefs.h >>conftest.$ac_ext
2687 cat >>conftest.$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2699 rm -f conftest.$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1 >conftest.err
2705 cat conftest.err >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2728 cat >conftest.$ac_ext <<_ACEOF
2731 cat confdefs.h >>conftest.$ac_ext
2732 cat >>conftest.$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1 >conftest.err
2749 cat conftest.err >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2780 ac_cpp='$CPP $CPPFLAGS'
2781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2787 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$CPPBIN"; then
2794 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 CPPBIN=$ac_cv_prog_CPPBIN
2813 if test -n "$CPPBIN"; then
2814 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2815 echo "${ECHO_T}$CPPBIN" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_CPPBIN"; then
2823 ac_ct_CPPBIN=$CPPBIN
2824 # Extract the first word of "cpp", so it can be a program name with args.
2825 set dummy cpp; ac_word=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_CPPBIN"; then
2832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CPPBIN="cpp"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2851 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2852 if test -n "$ac_ct_CPPBIN"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2854 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 CPPBIN=$ac_ct_CPPBIN
2862 CPPBIN="$ac_cv_prog_CPPBIN"
2866 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2867 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2868 if test "${wine_cv_toolsdir+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -z "$with_wine_tools"; then
2872 if test "$cross_compiling" = "yes"; then
2873 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2874 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2875 { (exit 1); exit 1; }; }
2877 wine_cv_toolsdir="\$(TOPOBJDIR)"
2879 elif test -d "$with_wine_tools/tools/winebuild"; then
2880 case $with_wine_tools in
2881 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2882 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2885 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2886 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2887 { (exit 1); exit 1; }; }
2890 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2891 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2892 TOOLSDIR=$wine_cv_toolsdir
2897 ac_cpp='$CPP $CPPFLAGS'
2898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2901 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2902 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2903 # On Suns, sometimes $CPP names a directory.
2904 if test -n "$CPP" && test -d "$CPP"; then
2907 if test -z "$CPP"; then
2908 if test "${ac_cv_prog_CPP+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 # Double quotes because CPP needs to be expanded
2912 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2915 for ac_c_preproc_warn_flag in '' yes
2917 # Use a header file that comes with gcc, so configuring glibc
2918 # with a fresh cross-compiler works.
2919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2920 # <limits.h> exists even on freestanding compilers.
2921 # On the NeXT, cc -E runs the code through the compiler's parser,
2922 # not just through cpp. "Syntax error" is here to catch this case.
2923 cat >conftest.$ac_ext <<_ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2930 # include <limits.h>
2932 # include <assert.h>
2936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2939 grep -v '^ *+' conftest.er1 >conftest.err
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } >/dev/null; then
2944 if test -s conftest.err; then
2945 ac_cpp_err=$ac_c_preproc_warn_flag
2946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2953 if test -z "$ac_cpp_err"; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 # Broken: fails on valid input.
2962 rm -f conftest.err conftest.$ac_ext
2964 # OK, works on sane cases. Now check whether non-existent headers
2965 # can be detected and how.
2966 cat >conftest.$ac_ext <<_ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #include <ac_nonexistent.h>
2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2977 grep -v '^ *+' conftest.er1 >conftest.err
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } >/dev/null; then
2982 if test -s conftest.err; then
2983 ac_cpp_err=$ac_c_preproc_warn_flag
2984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2998 # Passes both tests.
3002 rm -f conftest.err conftest.$ac_ext
3005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3006 rm -f conftest.err conftest.$ac_ext
3007 if $ac_preproc_ok; then
3019 echo "$as_me:$LINENO: result: $CPP" >&5
3020 echo "${ECHO_T}$CPP" >&6
3022 for ac_c_preproc_warn_flag in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027 # <limits.h> exists even on freestanding compilers.
3028 # On the NeXT, cc -E runs the code through the compiler's parser,
3029 # not just through cpp. "Syntax error" is here to catch this case.
3030 cat >conftest.$ac_ext <<_ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3037 # include <limits.h>
3039 # include <assert.h>
3043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } >/dev/null; then
3051 if test -s conftest.err; then
3052 ac_cpp_err=$ac_c_preproc_warn_flag
3053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3060 if test -z "$ac_cpp_err"; then
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3066 # Broken: fails on valid input.
3069 rm -f conftest.err conftest.$ac_ext
3071 # OK, works on sane cases. Now check whether non-existent headers
3072 # can be detected and how.
3073 cat >conftest.$ac_ext <<_ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3084 grep -v '^ *+' conftest.er1 >conftest.err
3086 cat conftest.err >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev/null; then
3089 if test -s conftest.err; then
3090 ac_cpp_err=$ac_c_preproc_warn_flag
3091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3098 if test -z "$ac_cpp_err"; then
3099 # Broken: success on invalid input.
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 # Passes both tests.
3109 rm -f conftest.err conftest.$ac_ext
3112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3113 rm -f conftest.err conftest.$ac_ext
3114 if $ac_preproc_ok; then
3117 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }
3125 ac_cpp='$CPP $CPPFLAGS'
3126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131 echo "$as_me:$LINENO: checking for X" >&5
3132 echo $ECHO_N "checking for X... $ECHO_C" >&6
3135 # Check whether --with-x or --without-x was given.
3136 if test "${with_x+set}" = set; then
3140 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3141 if test "x$with_x" = xno; then
3142 # The user explicitly disabled X.
3145 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3146 # Both variables are already set.
3149 if test "${ac_cv_have_x+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 # One or both of the vars are not set, and there is no cached value.
3153 ac_x_includes=no ac_x_libraries=no
3155 if mkdir conftest.dir; then
3157 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3158 cat >Imakefile <<'_ACEOF'
3160 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3162 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3163 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3164 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3165 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3166 for ac_extension in a so sl; do
3167 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3168 test -f $ac_im_libdir/libX11.$ac_extension; then
3169 ac_im_usrlibdir=$ac_im_libdir; break
3172 # Screen out bogus values from the imake configuration. They are
3173 # bogus both because they are the default anyway, and because
3174 # using them would break gcc on systems where it needs fixed includes.
3175 case $ac_im_incroot in
3177 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3179 case $ac_im_usrlibdir in
3181 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3188 # Standard set of common directories for X headers.
3189 # Check X11 before X11Rn because it is often a symlink to the current release.
3201 /usr/local/X11/include
3202 /usr/local/X11R6/include
3203 /usr/local/X11R5/include
3204 /usr/local/X11R4/include
3206 /usr/local/include/X11
3207 /usr/local/include/X11R6
3208 /usr/local/include/X11R5
3209 /usr/local/include/X11R4
3213 /usr/XFree86/include/X11
3217 /usr/unsupported/include
3219 /usr/local/x11r5/include
3220 /usr/lpp/Xamples/include
3222 /usr/openwin/include
3223 /usr/openwin/share/include'
3225 if test "$ac_x_includes" = no; then
3226 # Guess where to find include files, by looking for Intrinsic.h.
3227 # First, try using that file with no special directory specified.
3228 cat >conftest.$ac_ext <<_ACEOF
3231 cat confdefs.h >>conftest.$ac_ext
3232 cat >>conftest.$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3234 #include <X11/Intrinsic.h>
3236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3239 grep -v '^ *+' conftest.er1 >conftest.err
3241 cat conftest.err >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } >/dev/null; then
3244 if test -s conftest.err; then
3245 ac_cpp_err=$ac_c_preproc_warn_flag
3246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3253 if test -z "$ac_cpp_err"; then
3254 # We can compile using X headers with no special include directory.
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 for ac_dir in $ac_x_header_dirs; do
3261 if test -r "$ac_dir/X11/Intrinsic.h"; then
3262 ac_x_includes=$ac_dir
3267 rm -f conftest.err conftest.$ac_ext
3268 fi # $ac_x_includes = no
3270 if test "$ac_x_libraries" = no; then
3271 # Check for the libraries.
3272 # See if we find them without any special options.
3273 # Don't add to $LIBS permanently.
3276 cat >conftest.$ac_ext <<_ACEOF
3279 cat confdefs.h >>conftest.$ac_ext
3280 cat >>conftest.$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3282 #include <X11/Intrinsic.h>
3291 rm -f conftest.$ac_objext conftest$ac_exeext
3292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3293 (eval $ac_link) 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } &&
3300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; } &&
3306 { ac_try='test -s conftest$ac_exeext'
3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; }; then
3313 # We can link X programs with no special library path.
3316 echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.$ac_ext >&5
3320 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3322 # Don't even attempt the hair of trying to link an X program!
3323 for ac_extension in a so sl; do
3324 if test -r $ac_dir/libXt.$ac_extension; then
3325 ac_x_libraries=$ac_dir
3331 rm -f conftest.err conftest.$ac_objext \
3332 conftest$ac_exeext conftest.$ac_ext
3333 fi # $ac_x_libraries = no
3335 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3336 # Didn't find X anywhere. Cache the known absence of X.
3337 ac_cv_have_x="have_x=no"
3339 # Record where we found X for the cache.
3340 ac_cv_have_x="have_x=yes \
3341 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3346 eval "$ac_cv_have_x"
3349 if test "$have_x" != yes; then
3350 echo "$as_me:$LINENO: result: $have_x" >&5
3351 echo "${ECHO_T}$have_x" >&6
3354 # If each of the values was on the command line, it overrides each guess.
3355 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3356 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3357 # Update the cache value to reflect the command line values.
3358 ac_cv_have_x="have_x=yes \
3359 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3360 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3361 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3364 if test "$no_x" = yes; then
3365 # Not all programs may use this symbol, but it does not hurt to define it.
3367 cat >>confdefs.h <<\_ACEOF
3368 #define X_DISPLAY_MISSING 1
3371 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3373 if test -n "$x_includes"; then
3374 X_CFLAGS="$X_CFLAGS -I$x_includes"
3377 # It would also be nice to do this for all -L options, not just this one.
3378 if test -n "$x_libraries"; then
3379 X_LIBS="$X_LIBS -L$x_libraries"
3380 # For Solaris; some versions of Sun CC require a space after -R and
3381 # others require no space. Words are not sufficient . . . .
3382 case `(uname -sr) 2>/dev/null` in
3384 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3385 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3386 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3387 cat >conftest.$ac_ext <<_ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3402 rm -f conftest.$ac_objext conftest$ac_exeext
3403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3404 (eval $ac_link) 2>conftest.er1
3406 grep -v '^ *+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; } &&
3417 { ac_try='test -s conftest$ac_exeext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3430 rm -f conftest.err conftest.$ac_objext \
3431 conftest$ac_exeext conftest.$ac_ext
3432 if test $ac_R_nospace = yes; then
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3435 X_LIBS="$X_LIBS -R$x_libraries"
3437 LIBS="$ac_xsave_LIBS -R $x_libraries"
3438 cat >conftest.$ac_ext <<_ACEOF
3441 cat confdefs.h >>conftest.$ac_ext
3442 cat >>conftest.$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3453 rm -f conftest.$ac_objext conftest$ac_exeext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3455 (eval $ac_link) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1 >conftest.err
3459 cat conftest.err >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; } &&
3468 { ac_try='test -s conftest$ac_exeext'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; }; then
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3481 rm -f conftest.err conftest.$ac_objext \
3482 conftest$ac_exeext conftest.$ac_ext
3483 if test $ac_R_space = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485 echo "${ECHO_T}yes" >&6
3486 X_LIBS="$X_LIBS -R $x_libraries"
3488 echo "$as_me:$LINENO: result: neither works" >&5
3489 echo "${ECHO_T}neither works" >&6
3496 # Check for system-dependent libraries X programs must link with.
3497 # Do this before checking for the system-independent R6 libraries
3498 # (-lICE), since we may need -lsocket or whatever for X linking.
3500 if test "$ISC" = yes; then
3501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3503 # Martyn Johnson says this is needed for Ultrix, if the X
3504 # libraries were built with DECnet support. And Karl Berry says
3505 # the Alpha needs dnet_stub (dnet does not exist).
3506 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3507 cat >conftest.$ac_ext <<_ACEOF
3510 cat confdefs.h >>conftest.$ac_ext
3511 cat >>conftest.$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3514 /* Override any gcc2 internal prototype to avoid an error. */
3518 /* We use char because int might match the return type of a gcc2
3519 builtin and then its argument prototype would still apply. */
3520 char XOpenDisplay ();
3529 rm -f conftest.$ac_objext conftest$ac_exeext
3530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3531 (eval $ac_link) 2>conftest.er1
3533 grep -v '^ *+' conftest.er1 >conftest.err
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); }; } &&
3544 { ac_try='test -s conftest$ac_exeext'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; }; then
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.$ac_ext >&5
3555 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3556 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3557 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 ac_check_lib_save_LIBS=$LIBS
3562 cat >conftest.$ac_ext <<_ACEOF
3565 cat confdefs.h >>conftest.$ac_ext
3566 cat >>conftest.$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3569 /* Override any gcc2 internal prototype to avoid an error. */
3573 /* We use char because int might match the return type of a gcc2
3574 builtin and then its argument prototype would still apply. */
3584 rm -f conftest.$ac_objext conftest$ac_exeext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3586 (eval $ac_link) 2>conftest.er1
3588 grep -v '^ *+' conftest.er1 >conftest.err
3590 cat conftest.err >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; } &&
3599 { ac_try='test -s conftest$ac_exeext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 ac_cv_lib_dnet_dnet_ntoa=yes
3607 echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.$ac_ext >&5
3610 ac_cv_lib_dnet_dnet_ntoa=no
3612 rm -f conftest.err conftest.$ac_objext \
3613 conftest$ac_exeext conftest.$ac_ext
3614 LIBS=$ac_check_lib_save_LIBS
3616 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3617 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3618 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3619 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3622 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3623 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3624 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3625 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 ac_check_lib_save_LIBS=$LIBS
3629 LIBS="-ldnet_stub $LIBS"
3630 cat >conftest.$ac_ext <<_ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3637 /* Override any gcc2 internal prototype to avoid an error. */
3641 /* We use char because int might match the return type of a gcc2
3642 builtin and then its argument prototype would still apply. */
3652 rm -f conftest.$ac_objext conftest$ac_exeext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3654 (eval $ac_link) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1 >conftest.err
3658 cat conftest.err >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; } &&
3667 { ac_try='test -s conftest$ac_exeext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3678 ac_cv_lib_dnet_stub_dnet_ntoa=no
3680 rm -f conftest.err conftest.$ac_objext \
3681 conftest$ac_exeext conftest.$ac_ext
3682 LIBS=$ac_check_lib_save_LIBS
3684 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3685 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3686 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3687 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3692 rm -f conftest.err conftest.$ac_objext \
3693 conftest$ac_exeext conftest.$ac_ext
3694 LIBS="$ac_xsave_LIBS"
3696 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3697 # to get the SysV transport functions.
3698 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3700 # The nsl library prevents programs from opening the X display
3701 # on Irix 5.2, according to T.E. Dickey.
3702 # The functions gethostbyname, getservbyname, and inet_addr are
3703 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3704 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3705 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3706 if test "${ac_cv_func_gethostbyname+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 cat >conftest.$ac_ext <<_ACEOF
3712 cat confdefs.h >>conftest.$ac_ext
3713 cat >>conftest.$ac_ext <<_ACEOF
3714 /* end confdefs.h. */
3715 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3717 #define gethostbyname innocuous_gethostbyname
3719 /* System header to define __stub macros and hopefully few prototypes,
3720 which can conflict with char gethostbyname (); below.
3721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3722 <limits.h> exists even on freestanding compilers. */
3725 # include <limits.h>
3727 # include <assert.h>
3730 #undef gethostbyname
3732 /* Override any gcc2 internal prototype to avoid an error. */
3737 /* We use char because int might match the return type of a gcc2
3738 builtin and then its argument prototype would still apply. */
3739 char gethostbyname ();
3740 /* The GNU C library defines this for functions which it implements
3741 to always fail with ENOSYS. Some functions are actually named
3742 something starting with __ and the normal name is an alias. */
3743 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3746 char (*f) () = gethostbyname;
3755 return f != gethostbyname;
3760 rm -f conftest.$ac_objext conftest$ac_exeext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3762 (eval $ac_link) 2>conftest.er1
3764 grep -v '^ *+' conftest.er1 >conftest.err
3766 cat conftest.err >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; } &&
3775 { ac_try='test -s conftest$ac_exeext'
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; }; then
3781 ac_cv_func_gethostbyname=yes
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.$ac_ext >&5
3786 ac_cv_func_gethostbyname=no
3788 rm -f conftest.err conftest.$ac_objext \
3789 conftest$ac_exeext conftest.$ac_ext
3791 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3792 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3794 if test $ac_cv_func_gethostbyname = no; then
3795 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3796 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3797 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 ac_check_lib_save_LIBS=$LIBS
3802 cat >conftest.$ac_ext <<_ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3809 /* Override any gcc2 internal prototype to avoid an error. */
3813 /* We use char because int might match the return type of a gcc2
3814 builtin and then its argument prototype would still apply. */
3815 char gethostbyname ();
3824 rm -f conftest.$ac_objext conftest$ac_exeext
3825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3826 (eval $ac_link) 2>conftest.er1
3828 grep -v '^ *+' conftest.er1 >conftest.err
3830 cat conftest.err >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } &&
3833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try='test -s conftest$ac_exeext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3845 ac_cv_lib_nsl_gethostbyname=yes
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.$ac_ext >&5
3850 ac_cv_lib_nsl_gethostbyname=no
3852 rm -f conftest.err conftest.$ac_objext \
3853 conftest$ac_exeext conftest.$ac_ext
3854 LIBS=$ac_check_lib_save_LIBS
3856 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3857 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3858 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3859 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3862 if test $ac_cv_lib_nsl_gethostbyname = no; then
3863 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3864 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3865 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_check_lib_save_LIBS=$LIBS
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3877 /* Override any gcc2 internal prototype to avoid an error. */
3881 /* We use char because int might match the return type of a gcc2
3882 builtin and then its argument prototype would still apply. */
3883 char gethostbyname ();
3892 rm -f conftest.$ac_objext conftest$ac_exeext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3894 (eval $ac_link) 2>conftest.er1
3896 grep -v '^ *+' conftest.er1 >conftest.err
3898 cat conftest.err >&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } &&
3901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); }; } &&
3907 { ac_try='test -s conftest$ac_exeext'
3908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; }; then
3913 ac_cv_lib_bsd_gethostbyname=yes
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 ac_cv_lib_bsd_gethostbyname=no
3920 rm -f conftest.err conftest.$ac_objext \
3921 conftest$ac_exeext conftest.$ac_ext
3922 LIBS=$ac_check_lib_save_LIBS
3924 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3925 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3926 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3927 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3933 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3934 # socket/setsockopt and other routines are undefined under SCO ODT
3935 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3936 # on later versions), says Simon Leinen: it contains gethostby*
3937 # variants that don't use the name server (or something). -lsocket
3938 # must be given before -lnsl if both are needed. We assume that
3939 # if connect needs -lnsl, so does gethostbyname.
3940 echo "$as_me:$LINENO: checking for connect" >&5
3941 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3942 if test "${ac_cv_func_connect+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 cat >conftest.$ac_ext <<_ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3953 #define connect innocuous_connect
3955 /* System header to define __stub macros and hopefully few prototypes,
3956 which can conflict with char connect (); below.
3957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3958 <limits.h> exists even on freestanding compilers. */
3961 # include <limits.h>
3963 # include <assert.h>
3968 /* Override any gcc2 internal prototype to avoid an error. */
3973 /* We use char because int might match the return type of a gcc2
3974 builtin and then its argument prototype would still apply. */
3976 /* The GNU C library defines this for functions which it implements
3977 to always fail with ENOSYS. Some functions are actually named
3978 something starting with __ and the normal name is an alias. */
3979 #if defined (__stub_connect) || defined (__stub___connect)
3982 char (*f) () = connect;
3991 return f != connect;
3996 rm -f conftest.$ac_objext conftest$ac_exeext
3997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3998 (eval $ac_link) 2>conftest.er1
4000 grep -v '^ *+' conftest.er1 >conftest.err
4002 cat conftest.err >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } &&
4005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; } &&
4011 { ac_try='test -s conftest$ac_exeext'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; }; then
4017 ac_cv_func_connect=yes
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 ac_cv_func_connect=no
4024 rm -f conftest.err conftest.$ac_objext \
4025 conftest$ac_exeext conftest.$ac_ext
4027 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4028 echo "${ECHO_T}$ac_cv_func_connect" >&6
4030 if test $ac_cv_func_connect = no; then
4031 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4032 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4033 if test "${ac_cv_lib_socket_connect+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 ac_check_lib_save_LIBS=$LIBS
4037 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4038 cat >conftest.$ac_ext <<_ACEOF
4041 cat confdefs.h >>conftest.$ac_ext
4042 cat >>conftest.$ac_ext <<_ACEOF
4043 /* end confdefs.h. */
4045 /* Override any gcc2 internal prototype to avoid an error. */
4049 /* We use char because int might match the return type of a gcc2
4050 builtin and then its argument prototype would still apply. */
4060 rm -f conftest.$ac_objext conftest$ac_exeext
4061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4062 (eval $ac_link) 2>conftest.er1
4064 grep -v '^ *+' conftest.er1 >conftest.err
4066 cat conftest.err >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } &&
4069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; } &&
4075 { ac_try='test -s conftest$ac_exeext'
4076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; }; then
4081 ac_cv_lib_socket_connect=yes
4083 echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.$ac_ext >&5
4086 ac_cv_lib_socket_connect=no
4088 rm -f conftest.err conftest.$ac_objext \
4089 conftest$ac_exeext conftest.$ac_ext
4090 LIBS=$ac_check_lib_save_LIBS
4092 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4093 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4094 if test $ac_cv_lib_socket_connect = yes; then
4095 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4100 # Guillermo Gomez says -lposix is necessary on A/UX.
4101 echo "$as_me:$LINENO: checking for remove" >&5
4102 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4103 if test "${ac_cv_func_remove+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 cat >conftest.$ac_ext <<_ACEOF
4109 cat confdefs.h >>conftest.$ac_ext
4110 cat >>conftest.$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4114 #define remove innocuous_remove
4116 /* System header to define __stub macros and hopefully few prototypes,
4117 which can conflict with char remove (); below.
4118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 <limits.h> exists even on freestanding compilers. */
4122 # include <limits.h>
4124 # include <assert.h>
4129 /* Override any gcc2 internal prototype to avoid an error. */
4134 /* We use char because int might match the return type of a gcc2
4135 builtin and then its argument prototype would still apply. */
4137 /* The GNU C library defines this for functions which it implements
4138 to always fail with ENOSYS. Some functions are actually named
4139 something starting with __ and the normal name is an alias. */
4140 #if defined (__stub_remove) || defined (__stub___remove)
4143 char (*f) () = remove;
4157 rm -f conftest.$ac_objext conftest$ac_exeext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>conftest.er1
4161 grep -v '^ *+' conftest.er1 >conftest.err
4163 cat conftest.err >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; } &&
4172 { ac_try='test -s conftest$ac_exeext'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 ac_cv_func_remove=yes
4180 echo "$as_me: failed program was:" >&5
4181 sed 's/^/| /' conftest.$ac_ext >&5
4183 ac_cv_func_remove=no
4185 rm -f conftest.err conftest.$ac_objext \
4186 conftest$ac_exeext conftest.$ac_ext
4188 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4189 echo "${ECHO_T}$ac_cv_func_remove" >&6
4191 if test $ac_cv_func_remove = no; then
4192 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4193 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4194 if test "${ac_cv_lib_posix_remove+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 ac_check_lib_save_LIBS=$LIBS
4198 LIBS="-lposix $LIBS"
4199 cat >conftest.$ac_ext <<_ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4206 /* Override any gcc2 internal prototype to avoid an error. */
4210 /* We use char because int might match the return type of a gcc2
4211 builtin and then its argument prototype would still apply. */
4221 rm -f conftest.$ac_objext conftest$ac_exeext
4222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4223 (eval $ac_link) 2>conftest.er1
4225 grep -v '^ *+' conftest.er1 >conftest.err
4227 cat conftest.err >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try='test -s conftest$ac_exeext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 ac_cv_lib_posix_remove=yes
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.$ac_ext >&5
4247 ac_cv_lib_posix_remove=no
4249 rm -f conftest.err conftest.$ac_objext \
4250 conftest$ac_exeext conftest.$ac_ext
4251 LIBS=$ac_check_lib_save_LIBS
4253 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4254 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4255 if test $ac_cv_lib_posix_remove = yes; then
4256 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4261 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4262 echo "$as_me:$LINENO: checking for shmat" >&5
4263 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4264 if test "${ac_cv_func_shmat+set}" = set; then
4265 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 cat >conftest.$ac_ext <<_ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4273 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4275 #define shmat innocuous_shmat
4277 /* System header to define __stub macros and hopefully few prototypes,
4278 which can conflict with char shmat (); below.
4279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4280 <limits.h> exists even on freestanding compilers. */
4283 # include <limits.h>
4285 # include <assert.h>
4290 /* Override any gcc2 internal prototype to avoid an error. */
4295 /* We use char because int might match the return type of a gcc2
4296 builtin and then its argument prototype would still apply. */
4298 /* The GNU C library defines this for functions which it implements
4299 to always fail with ENOSYS. Some functions are actually named
4300 something starting with __ and the normal name is an alias. */
4301 #if defined (__stub_shmat) || defined (__stub___shmat)
4304 char (*f) () = shmat;
4318 rm -f conftest.$ac_objext conftest$ac_exeext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4320 (eval $ac_link) 2>conftest.er1
4322 grep -v '^ *+' conftest.er1 >conftest.err
4324 cat conftest.err >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } &&
4327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; } &&
4333 { ac_try='test -s conftest$ac_exeext'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; }; then
4339 ac_cv_func_shmat=yes
4341 echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.$ac_ext >&5
4346 rm -f conftest.err conftest.$ac_objext \
4347 conftest$ac_exeext conftest.$ac_ext
4349 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4350 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4352 if test $ac_cv_func_shmat = no; then
4353 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4354 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4355 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 ac_check_lib_save_LIBS=$LIBS
4360 cat >conftest.$ac_ext <<_ACEOF
4363 cat confdefs.h >>conftest.$ac_ext
4364 cat >>conftest.$ac_ext <<_ACEOF
4365 /* end confdefs.h. */
4367 /* Override any gcc2 internal prototype to avoid an error. */
4371 /* We use char because int might match the return type of a gcc2
4372 builtin and then its argument prototype would still apply. */
4382 rm -f conftest.$ac_objext conftest$ac_exeext
4383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4384 (eval $ac_link) 2>conftest.er1
4386 grep -v '^ *+' conftest.er1 >conftest.err
4388 cat conftest.err >&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } &&
4391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); }; } &&
4397 { ac_try='test -s conftest$ac_exeext'
4398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; }; then
4403 ac_cv_lib_ipc_shmat=yes
4405 echo "$as_me: failed program was:" >&5
4406 sed 's/^/| /' conftest.$ac_ext >&5
4408 ac_cv_lib_ipc_shmat=no
4410 rm -f conftest.err conftest.$ac_objext \
4411 conftest$ac_exeext conftest.$ac_ext
4412 LIBS=$ac_check_lib_save_LIBS
4414 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4415 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4416 if test $ac_cv_lib_ipc_shmat = yes; then
4417 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4423 # Check for libraries that X11R6 Xt/Xaw programs need.
4424 ac_save_LDFLAGS=$LDFLAGS
4425 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4426 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4427 # check for ICE first), but we must link in the order -lSM -lICE or
4428 # we get undefined symbols. So assume we have SM if we have ICE.
4429 # These have to be linked with before -lX11, unlike the other
4430 # libraries we check for below, so use a different variable.
4431 # John Interrante, Karl Berry
4432 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4433 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4434 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 ac_check_lib_save_LIBS=$LIBS
4438 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4439 cat >conftest.$ac_ext <<_ACEOF
4442 cat confdefs.h >>conftest.$ac_ext
4443 cat >>conftest.$ac_ext <<_ACEOF
4444 /* end confdefs.h. */
4446 /* Override any gcc2 internal prototype to avoid an error. */
4450 /* We use char because int might match the return type of a gcc2
4451 builtin and then its argument prototype would still apply. */
4452 char IceConnectionNumber ();
4456 IceConnectionNumber ();
4461 rm -f conftest.$ac_objext conftest$ac_exeext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4463 (eval $ac_link) 2>conftest.er1
4465 grep -v '^ *+' conftest.er1 >conftest.err
4467 cat conftest.err >&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); } &&
4470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; } &&
4476 { ac_try='test -s conftest$ac_exeext'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 ac_cv_lib_ICE_IceConnectionNumber=yes
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4487 ac_cv_lib_ICE_IceConnectionNumber=no
4489 rm -f conftest.err conftest.$ac_objext \
4490 conftest$ac_exeext conftest.$ac_ext
4491 LIBS=$ac_check_lib_save_LIBS
4493 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4494 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4495 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4496 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4499 LDFLAGS=$ac_save_LDFLAGS
4503 for ac_prog in flex lex
4505 # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy $ac_prog; ac_word=$2
4507 echo "$as_me:$LINENO: checking for $ac_word" >&5
4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4509 if test "${ac_cv_prog_LEX+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 if test -n "$LEX"; then
4513 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_prog_LEX="$ac_prog"
4523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$LEX"; then
4533 echo "$as_me:$LINENO: result: $LEX" >&5
4534 echo "${ECHO_T}$LEX" >&6
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4540 test -n "$LEX" && break
4542 test -n "$LEX" || LEX=":"
4544 if test -z "$LEXLIB"
4546 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4547 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4548 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 ac_check_lib_save_LIBS=$LIBS
4553 cat >conftest.$ac_ext <<_ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any gcc2 internal prototype to avoid an error. */
4564 /* We use char because int might match the return type of a gcc2
4565 builtin and then its argument prototype would still apply. */
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4577 (eval $ac_link) 2>conftest.er1
4579 grep -v '^ *+' conftest.er1 >conftest.err
4581 cat conftest.err >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } &&
4584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; } &&
4590 { ac_try='test -s conftest$ac_exeext'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then
4596 ac_cv_lib_fl_yywrap=yes
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4601 ac_cv_lib_fl_yywrap=no
4603 rm -f conftest.err conftest.$ac_objext \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4608 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4609 if test $ac_cv_lib_fl_yywrap = yes; then
4612 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4613 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4614 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 ac_check_lib_save_LIBS=$LIBS
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4626 /* Override any gcc2 internal prototype to avoid an error. */
4630 /* We use char because int might match the return type of a gcc2
4631 builtin and then its argument prototype would still apply. */
4641 rm -f conftest.$ac_objext conftest$ac_exeext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4643 (eval $ac_link) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; } &&
4656 { ac_try='test -s conftest$ac_exeext'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 ac_cv_lib_l_yywrap=yes
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.$ac_ext >&5
4667 ac_cv_lib_l_yywrap=no
4669 rm -f conftest.err conftest.$ac_objext \
4670 conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4673 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4674 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4675 if test $ac_cv_lib_l_yywrap = yes; then
4683 if test "x$LEX" != "x:"; then
4684 echo "$as_me:$LINENO: checking lex output file root" >&5
4685 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4686 if test "${ac_cv_prog_lex_root+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 # The minimal lex program is just a single line: %%. But some broken lexes
4690 # (Solaris, I think it was) want two %% lines, so accommodate them.
4691 cat >conftest.l <<_ACEOF
4695 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4696 (eval $LEX conftest.l) 2>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }
4700 if test -f lex.yy.c; then
4701 ac_cv_prog_lex_root=lex.yy
4702 elif test -f lexyy.c; then
4703 ac_cv_prog_lex_root=lexyy
4705 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4706 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4707 { (exit 1); exit 1; }; }
4710 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4711 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4713 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4715 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4716 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4717 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 # POSIX says lex can declare yytext either as a pointer or an array; the
4721 # default is implementation-dependent. Figure out which it is, since
4722 # not all implementations provide the %pointer and %array declarations.
4723 ac_cv_prog_lex_yytext_pointer=no
4724 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4726 LIBS="$LIBS $LEXLIB"
4727 cat >conftest.$ac_ext <<_ACEOF
4728 `cat $LEX_OUTPUT_ROOT.c`
4730 rm -f conftest.$ac_objext conftest$ac_exeext
4731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4732 (eval $ac_link) 2>conftest.er1
4734 grep -v '^ *+' conftest.er1 >conftest.err
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; } &&
4745 { ac_try='test -s conftest$ac_exeext'
4746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 ac_cv_prog_lex_yytext_pointer=yes
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4757 rm -f conftest.err conftest.$ac_objext \
4758 conftest$ac_exeext conftest.$ac_ext
4760 rm -f "${LEX_OUTPUT_ROOT}.c"
4763 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4764 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4765 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4767 cat >>confdefs.h <<\_ACEOF
4768 #define YYTEXT_POINTER 1
4775 for ac_prog in $LEX flex lex
4777 # Extract the first word of "$ac_prog", so it can be a program name with args.
4778 set dummy $ac_prog; ac_word=$2
4779 echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4781 if test "${ac_cv_prog_XLEX+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 if test -n "$XLEX"; then
4785 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794 ac_cv_prog_XLEX="$ac_prog"
4795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 XLEX=$ac_cv_prog_XLEX
4804 if test -n "$XLEX"; then
4805 echo "$as_me:$LINENO: result: $XLEX" >&5
4806 echo "${ECHO_T}$XLEX" >&6
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4812 test -n "$XLEX" && break
4814 test -n "$XLEX" || XLEX="none"
4816 if test "$XLEX" = "none"
4818 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4819 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4820 { (exit 1); exit 1; }; }
4823 for ac_prog in bison
4825 # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy $ac_prog; ac_word=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_prog_BISON+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 if test -n "$BISON"; then
4833 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_BISON="$ac_prog"
4843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 BISON=$ac_cv_prog_BISON
4852 if test -n "$BISON"; then
4853 echo "$as_me:$LINENO: result: $BISON" >&5
4854 echo "${ECHO_T}$BISON" >&6
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4860 test -n "$BISON" && break
4862 test -n "$BISON" || BISON="none"
4864 if test "$BISON" = "none"
4866 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4867 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4868 { (exit 1); exit 1; }; }
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog in gas as
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4876 echo "$as_me:$LINENO: checking for $ac_word" >&5
4877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4878 if test "${ac_cv_prog_AS+set}" = set; then
4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 if test -n "$AS"; then
4882 ac_cv_prog_AS="$AS" # Let the user override the test.
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 if test -n "$AS"; then
4902 echo "$as_me:$LINENO: result: $AS" >&5
4903 echo "${ECHO_T}$AS" >&6
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4909 test -n "$AS" && break
4912 if test -z "$AS"; then
4914 for ac_prog in gas as
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; 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_AS+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$ac_ct_AS"; then
4924 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # 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_AS="$ac_prog"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4943 if test -n "$ac_ct_AS"; then
4944 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4945 echo "${ECHO_T}$ac_ct_AS" >&6
4947 echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6
4951 test -n "$ac_ct_AS" && break
4953 test -n "$ac_ct_AS" || ac_ct_AS="as"
4958 if test -n "$ac_tool_prefix"; then
4959 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4960 set dummy ${ac_tool_prefix}ld; ac_word=$2
4961 echo "$as_me:$LINENO: checking for $ac_word" >&5
4962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4963 if test "${ac_cv_prog_LD+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 if test -n "$LD"; then
4967 ac_cv_prog_LD="$LD" # Let the user override the test.
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir=.
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_LD="${ac_tool_prefix}ld"
4977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 if test -n "$LD"; then
4987 echo "$as_me:$LINENO: result: $LD" >&5
4988 echo "${ECHO_T}$LD" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4995 if test -z "$ac_cv_prog_LD"; then
4997 # Extract the first word of "ld", so it can be a program name with args.
4998 set dummy ld; ac_word=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$ac_ct_LD"; then
5005 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_ac_ct_LD="ld"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5024 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5025 if test -n "$ac_ct_LD"; then
5026 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5027 echo "${ECHO_T}$ac_ct_LD" >&6
5029 echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5040 set dummy ${ac_tool_prefix}ar; ac_word=$2
5041 echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5043 if test "${ac_cv_prog_AR+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 if test -n "$AR"; then
5047 ac_cv_prog_AR="$AR" # Let the user override the test.
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_AR="${ac_tool_prefix}ar"
5057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 if test -n "$AR"; then
5067 echo "$as_me:$LINENO: result: $AR" >&5
5068 echo "${ECHO_T}$AR" >&6
5070 echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6
5075 if test -z "$ac_cv_prog_AR"; then
5077 # Extract the first word of "ar", so it can be a program name with args.
5078 set dummy ar; ac_word=$2
5079 echo "$as_me:$LINENO: checking for $ac_word" >&5
5080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5081 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 if test -n "$ac_ct_AR"; then
5085 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_AR="ar"
5095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5104 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5105 if test -n "$ac_ct_AR"; then
5106 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5107 echo "${ECHO_T}$ac_ct_AR" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5121 echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5123 if test "${ac_cv_prog_RANLIB+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 RANLIB=$ac_cv_prog_RANLIB
5146 if test -n "$RANLIB"; then
5147 echo "$as_me:$LINENO: result: $RANLIB" >&5
5148 echo "${ECHO_T}$RANLIB" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5155 if test -z "$ac_cv_prog_RANLIB"; then
5156 ac_ct_RANLIB=$RANLIB
5157 # Extract the first word of "ranlib", so it can be a program name with args.
5158 set dummy ranlib; 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_ac_ct_RANLIB+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$ac_ct_RANLIB"; then
5165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5185 if test -n "$ac_ct_RANLIB"; then
5186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5193 RANLIB=$ac_ct_RANLIB
5195 RANLIB="$ac_cv_prog_RANLIB"
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}strip; ac_word=$2
5201 echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5203 if test "${ac_cv_prog_STRIP+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 if test -n "$STRIP"; then
5207 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 STRIP=$ac_cv_prog_STRIP
5226 if test -n "$STRIP"; then
5227 echo "$as_me:$LINENO: result: $STRIP" >&5
5228 echo "${ECHO_T}$STRIP" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5235 if test -z "$ac_cv_prog_STRIP"; then
5237 # Extract the first word of "strip", so it can be a program name with args.
5238 set dummy strip; ac_word=$2
5239 echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5241 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 if test -n "$ac_ct_STRIP"; then
5245 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_ac_ct_STRIP="strip"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5264 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5265 if test -n "$ac_ct_STRIP"; then
5266 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5267 echo "${ECHO_T}$ac_ct_STRIP" >&6
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5275 STRIP="$ac_cv_prog_STRIP"
5278 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5280 set dummy ${ac_tool_prefix}windres; ac_word=$2
5281 echo "$as_me:$LINENO: checking for $ac_word" >&5
5282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5283 if test "${ac_cv_prog_WINDRES+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 if test -n "$WINDRES"; then
5287 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 WINDRES=$ac_cv_prog_WINDRES
5306 if test -n "$WINDRES"; then
5307 echo "$as_me:$LINENO: result: $WINDRES" >&5
5308 echo "${ECHO_T}$WINDRES" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5315 if test -z "$ac_cv_prog_WINDRES"; then
5316 ac_ct_WINDRES=$WINDRES
5317 # Extract the first word of "windres", so it can be a program name with args.
5318 set dummy windres; ac_word=$2
5319 echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$ac_ct_WINDRES"; then
5325 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334 ac_cv_prog_ac_ct_WINDRES="windres"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5344 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5345 if test -n "$ac_ct_WINDRES"; then
5346 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5347 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5353 WINDRES=$ac_ct_WINDRES
5355 WINDRES="$ac_cv_prog_WINDRES"
5358 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5359 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5361 if test "$LN_S" = "ln -s"; then
5362 echo "$as_me:$LINENO: result: yes" >&5
5363 echo "${ECHO_T}yes" >&6
5365 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5366 echo "${ECHO_T}no, using $LN_S" >&6
5369 echo "$as_me:$LINENO: checking whether ln works" >&5
5370 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5371 rm -f conf$$ conf$$.file
5373 if ln conf$$.file conf$$ 2>/dev/null; then
5376 echo "$as_me:$LINENO: result: yes" >&5
5377 echo "${ECHO_T}yes" >&6
5381 echo "$as_me:$LINENO: result: no, using $LN" >&5
5382 echo "${ECHO_T}no, using $LN" >&6
5384 rm -f conf$$ conf$$.file
5385 # Extract the first word of "ldconfig", so it can be a program name with args.
5386 set dummy ldconfig; ac_word=$2
5387 echo "$as_me:$LINENO: checking for $ac_word" >&5
5388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5389 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in /sbin /usr/sbin $PATH
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5415 LDCONFIG=$ac_cv_path_LDCONFIG
5417 if test -n "$LDCONFIG"; then
5418 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5419 echo "${ECHO_T}$LDCONFIG" >&6
5421 echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6
5425 # Find a good install program. We prefer a C program (faster),
5426 # so one script is as good as another. But avoid the broken or
5427 # incompatible versions:
5428 # SysV /etc/install, /usr/sbin/install
5429 # SunOS /usr/etc/install
5430 # IRIX /sbin/install
5432 # AmigaOS /C/install, which installs bootblocks on floppy discs
5433 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5434 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5435 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5436 # OS/2's system install, which has a completely different semantic
5437 # ./install, which can be erroneously created by make from ./install.sh.
5438 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5439 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5440 if test -z "$INSTALL"; then
5441 if test "${ac_cv_path_install+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 # Account for people who put trailing slashes in PATH elements.
5451 ./ | .// | /cC/* | \
5452 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5453 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5456 # OSF1 and SCO ODT 3.0 have their own names for install.
5457 # Don't use installbsd from OSF since it installs stuff as root
5459 for ac_prog in ginstall scoinst install; do
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5462 if test $ac_prog = install &&
5463 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5464 # AIX install. It has an incompatible calling convention.
5466 elif test $ac_prog = install &&
5467 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5468 # program-specific install script used by HP pwplus--don't use.
5471 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5483 if test "${ac_cv_path_install+set}" = set; then
5484 INSTALL=$ac_cv_path_install
5486 # As a last resort, use the slow shell script. We don't cache a
5487 # path for INSTALL within a source directory, because that will
5488 # break other packages using the cache if that directory is
5489 # removed, or if the path is relative.
5490 INSTALL=$ac_install_sh
5493 echo "$as_me:$LINENO: result: $INSTALL" >&5
5494 echo "${ECHO_T}$INSTALL" >&6
5496 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5497 # It thinks the first close brace ends the variable substitution.
5498 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5500 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5502 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5505 [\\/$]* | ?:[\\/]* ) ;;
5506 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5509 for ac_prog in lclint lint
5511 # Extract the first word of "$ac_prog", so it can be a program name with args.
5512 set dummy $ac_prog; ac_word=$2
5513 echo "$as_me:$LINENO: checking for $ac_word" >&5
5514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5515 if test "${ac_cv_prog_LINT+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 if test -n "$LINT"; then
5519 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_LINT="$ac_prog"
5529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 LINT=$ac_cv_prog_LINT
5538 if test -n "$LINT"; then
5539 echo "$as_me:$LINENO: result: $LINT" >&5
5540 echo "${ECHO_T}$LINT" >&6
5542 echo "$as_me:$LINENO: result: no" >&5
5543 echo "${ECHO_T}no" >&6
5546 test -n "$LINT" && break
5549 if test "$LINT" = "lint"
5551 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5556 for ac_prog in docbook2html db2html
5558 # Extract the first word of "$ac_prog", so it can be a program name with args.
5559 set dummy $ac_prog; ac_word=$2
5560 echo "$as_me:$LINENO: checking for $ac_word" >&5
5561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5562 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 if test -n "$DB2HTML"; then
5566 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_DB2HTML="$ac_prog"
5576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 DB2HTML=$ac_cv_prog_DB2HTML
5585 if test -n "$DB2HTML"; then
5586 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5587 echo "${ECHO_T}$DB2HTML" >&6
5589 echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6
5593 test -n "$DB2HTML" && break
5595 test -n "$DB2HTML" || DB2HTML="false"
5599 for ac_prog in docbook2pdf db2pdf
5601 # Extract the first word of "$ac_prog", so it can be a program name with args.
5602 set dummy $ac_prog; ac_word=$2
5603 echo "$as_me:$LINENO: checking for $ac_word" >&5
5604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5605 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 if test -n "$DB2PDF"; then
5609 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_DB2PDF="$ac_prog"
5619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 DB2PDF=$ac_cv_prog_DB2PDF
5628 if test -n "$DB2PDF"; then
5629 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5630 echo "${ECHO_T}$DB2PDF" >&6
5632 echo "$as_me:$LINENO: result: no" >&5
5633 echo "${ECHO_T}no" >&6
5636 test -n "$DB2PDF" && break
5638 test -n "$DB2PDF" || DB2PDF="false"
5642 for ac_prog in docbook2ps db2ps
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy $ac_prog; ac_word=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_prog_DB2PS+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$DB2PS"; then
5652 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_DB2PS="$ac_prog"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 DB2PS=$ac_cv_prog_DB2PS
5671 if test -n "$DB2PS"; then
5672 echo "$as_me:$LINENO: result: $DB2PS" >&5
5673 echo "${ECHO_T}$DB2PS" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5679 test -n "$DB2PS" && break
5681 test -n "$DB2PS" || DB2PS="false"
5685 for ac_prog in docbook2txt db2txt
5687 # Extract the first word of "$ac_prog", so it can be a program name with args.
5688 set dummy $ac_prog; ac_word=$2
5689 echo "$as_me:$LINENO: checking for $ac_word" >&5
5690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5691 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 if test -n "$DB2TXT"; then
5695 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_DB2TXT="$ac_prog"
5705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 DB2TXT=$ac_cv_prog_DB2TXT
5714 if test -n "$DB2TXT"; then
5715 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5716 echo "${ECHO_T}$DB2TXT" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5722 test -n "$DB2TXT" && break
5724 test -n "$DB2TXT" || DB2TXT="false"
5730 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5731 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5732 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 ac_check_lib_save_LIBS=$LIBS
5737 cat >conftest.$ac_ext <<_ACEOF
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5744 /* Override any gcc2 internal prototype to avoid an error. */
5748 /* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5759 rm -f conftest.$ac_objext conftest$ac_exeext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5761 (eval $ac_link) 2>conftest.er1
5763 grep -v '^ *+' conftest.er1 >conftest.err
5765 cat conftest.err >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } &&
5768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; } &&
5774 { ac_try='test -s conftest$ac_exeext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); }; }; then
5780 ac_cv_lib_m_sqrt=yes
5782 echo "$as_me: failed program was:" >&5
5783 sed 's/^/| /' conftest.$ac_ext >&5
5787 rm -f conftest.err conftest.$ac_objext \
5788 conftest$ac_exeext conftest.$ac_ext
5789 LIBS=$ac_check_lib_save_LIBS
5791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5792 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5793 if test $ac_cv_lib_m_sqrt = yes; then
5794 cat >>confdefs.h <<_ACEOF
5803 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5804 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5805 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 ac_check_lib_save_LIBS=$LIBS
5810 cat >conftest.$ac_ext <<_ACEOF
5813 cat confdefs.h >>conftest.$ac_ext
5814 cat >>conftest.$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5817 /* Override any gcc2 internal prototype to avoid an error. */
5821 /* We use char because int might match the return type of a gcc2
5822 builtin and then its argument prototype would still apply. */
5823 char i386_set_ldt ();
5832 rm -f conftest.$ac_objext conftest$ac_exeext
5833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5834 (eval $ac_link) 2>conftest.er1
5836 grep -v '^ *+' conftest.er1 >conftest.err
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } &&
5841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; } &&
5847 { ac_try='test -s conftest$ac_exeext'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; }; then
5853 ac_cv_lib_i386_i386_set_ldt=yes
5855 echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.$ac_ext >&5
5858 ac_cv_lib_i386_i386_set_ldt=no
5860 rm -f conftest.err conftest.$ac_objext \
5861 conftest$ac_exeext conftest.$ac_ext
5862 LIBS=$ac_check_lib_save_LIBS
5864 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5865 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5866 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5867 cat >>confdefs.h <<_ACEOF
5868 #define HAVE_LIBI386 1
5876 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5877 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5878 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5879 echo $ECHO_N "(cached) $ECHO_C" >&6
5881 ac_check_lib_save_LIBS=$LIBS
5882 LIBS="-lossaudio $LIBS"
5883 cat >conftest.$ac_ext <<_ACEOF
5886 cat confdefs.h >>conftest.$ac_ext
5887 cat >>conftest.$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5890 /* Override any gcc2 internal prototype to avoid an error. */
5894 /* We use char because int might match the return type of a gcc2
5895 builtin and then its argument prototype would still apply. */
5905 rm -f conftest.$ac_objext conftest$ac_exeext
5906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5907 (eval $ac_link) 2>conftest.er1
5909 grep -v '^ *+' conftest.er1 >conftest.err
5911 cat conftest.err >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); } &&
5914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; } &&
5920 { ac_try='test -s conftest$ac_exeext'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_cv_lib_ossaudio__oss_ioctl=yes
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.$ac_ext >&5
5931 ac_cv_lib_ossaudio__oss_ioctl=no
5933 rm -f conftest.err conftest.$ac_objext \
5934 conftest$ac_exeext conftest.$ac_ext
5935 LIBS=$ac_check_lib_save_LIBS
5937 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5938 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5939 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5940 cat >>confdefs.h <<_ACEOF
5941 #define HAVE_LIBOSSAUDIO 1
5944 LIBS="-lossaudio $LIBS"
5949 for ac_func in iswalnum
5951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5952 echo "$as_me:$LINENO: checking for $ac_func" >&5
5953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5954 if eval "test \"\${$as_ac_var+set}\" = set"; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 cat >conftest.$ac_ext <<_ACEOF
5960 cat confdefs.h >>conftest.$ac_ext
5961 cat >>conftest.$ac_ext <<_ACEOF
5962 /* end confdefs.h. */
5963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5965 #define $ac_func innocuous_$ac_func
5967 /* System header to define __stub macros and hopefully few prototypes,
5968 which can conflict with char $ac_func (); below.
5969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5970 <limits.h> exists even on freestanding compilers. */
5973 # include <limits.h>
5975 # include <assert.h>
5980 /* Override any gcc2 internal prototype to avoid an error. */
5985 /* We use char because int might match the return type of a gcc2
5986 builtin and then its argument prototype would still apply. */
5988 /* The GNU C library defines this for functions which it implements
5989 to always fail with ENOSYS. Some functions are actually named
5990 something starting with __ and the normal name is an alias. */
5991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5994 char (*f) () = $ac_func;
6003 return f != $ac_func;
6008 rm -f conftest.$ac_objext conftest$ac_exeext
6009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6010 (eval $ac_link) 2>conftest.er1
6012 grep -v '^ *+' conftest.er1 >conftest.err
6014 cat conftest.err >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); } &&
6017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; } &&
6023 { ac_try='test -s conftest$ac_exeext'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; }; then
6029 eval "$as_ac_var=yes"
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 eval "$as_ac_var=no"
6036 rm -f conftest.err conftest.$ac_objext \
6037 conftest$ac_exeext conftest.$ac_ext
6039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6041 if test `eval echo '${'$as_ac_var'}'` = yes; then
6042 cat >>confdefs.h <<_ACEOF
6043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6048 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6049 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6050 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 ac_check_lib_save_LIBS=$LIBS
6055 cat >conftest.$ac_ext <<_ACEOF
6058 cat confdefs.h >>conftest.$ac_ext
6059 cat >>conftest.$ac_ext <<_ACEOF
6060 /* end confdefs.h. */
6062 /* Override any gcc2 internal prototype to avoid an error. */
6066 /* We use char because int might match the return type of a gcc2
6067 builtin and then its argument prototype would still apply. */
6077 rm -f conftest.$ac_objext conftest$ac_exeext
6078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6079 (eval $ac_link) 2>conftest.er1
6081 grep -v '^ *+' conftest.er1 >conftest.err
6083 cat conftest.err >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); } &&
6086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; } &&
6092 { ac_try='test -s conftest$ac_exeext'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6098 ac_cv_lib_w_iswalnum=yes
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.$ac_ext >&5
6103 ac_cv_lib_w_iswalnum=no
6105 rm -f conftest.err conftest.$ac_objext \
6106 conftest$ac_exeext conftest.$ac_ext
6107 LIBS=$ac_check_lib_save_LIBS
6109 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6110 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6111 if test $ac_cv_lib_w_iswalnum = yes; then
6112 cat >>confdefs.h <<_ACEOF
6124 for ac_func in gethostbyname
6126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6127 echo "$as_me:$LINENO: checking for $ac_func" >&5
6128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6129 if eval "test \"\${$as_ac_var+set}\" = set"; then
6130 echo $ECHO_N "(cached) $ECHO_C" >&6
6132 cat >conftest.$ac_ext <<_ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6140 #define $ac_func innocuous_$ac_func
6142 /* System header to define __stub macros and hopefully few prototypes,
6143 which can conflict with char $ac_func (); below.
6144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6145 <limits.h> exists even on freestanding compilers. */
6148 # include <limits.h>
6150 # include <assert.h>
6155 /* Override any gcc2 internal prototype to avoid an error. */
6160 /* We use char because int might match the return type of a gcc2
6161 builtin and then its argument prototype would still apply. */
6163 /* The GNU C library defines this for functions which it implements
6164 to always fail with ENOSYS. Some functions are actually named
6165 something starting with __ and the normal name is an alias. */
6166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6169 char (*f) () = $ac_func;
6178 return f != $ac_func;
6183 rm -f conftest.$ac_objext conftest$ac_exeext
6184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6185 (eval $ac_link) 2>conftest.er1
6187 grep -v '^ *+' conftest.er1 >conftest.err
6189 cat conftest.err >&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } &&
6192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; } &&
6198 { ac_try='test -s conftest$ac_exeext'
6199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); }; }; then
6204 eval "$as_ac_var=yes"
6206 echo "$as_me: failed program was:" >&5
6207 sed 's/^/| /' conftest.$ac_ext >&5
6209 eval "$as_ac_var=no"
6211 rm -f conftest.err conftest.$ac_objext \
6212 conftest$ac_exeext conftest.$ac_ext
6214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6216 if test `eval echo '${'$as_ac_var'}'` = yes; then
6217 cat >>confdefs.h <<_ACEOF
6218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6223 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6224 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6225 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 ac_check_lib_save_LIBS=$LIBS
6230 cat >conftest.$ac_ext <<_ACEOF
6233 cat confdefs.h >>conftest.$ac_ext
6234 cat >>conftest.$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6237 /* Override any gcc2 internal prototype to avoid an error. */
6241 /* We use char because int might match the return type of a gcc2
6242 builtin and then its argument prototype would still apply. */
6243 char gethostbyname ();
6252 rm -f conftest.$ac_objext conftest$ac_exeext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6254 (eval $ac_link) 2>conftest.er1
6256 grep -v '^ *+' conftest.er1 >conftest.err
6258 cat conftest.err >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); } &&
6261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; } &&
6267 { ac_try='test -s conftest$ac_exeext'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; }; then
6273 ac_cv_lib_nsl_gethostbyname=yes
6275 echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.$ac_ext >&5
6278 ac_cv_lib_nsl_gethostbyname=no
6280 rm -f conftest.err conftest.$ac_objext \
6281 conftest$ac_exeext conftest.$ac_ext
6282 LIBS=$ac_check_lib_save_LIBS
6284 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6285 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6286 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6287 cat >>confdefs.h <<_ACEOF
6288 #define HAVE_LIBNSL 1
6299 for ac_func in connect
6301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6302 echo "$as_me:$LINENO: checking for $ac_func" >&5
6303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6304 if eval "test \"\${$as_ac_var+set}\" = set"; then
6305 echo $ECHO_N "(cached) $ECHO_C" >&6
6307 cat >conftest.$ac_ext <<_ACEOF
6310 cat confdefs.h >>conftest.$ac_ext
6311 cat >>conftest.$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6315 #define $ac_func innocuous_$ac_func
6317 /* System header to define __stub macros and hopefully few prototypes,
6318 which can conflict with char $ac_func (); below.
6319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6320 <limits.h> exists even on freestanding compilers. */
6323 # include <limits.h>
6325 # include <assert.h>
6330 /* Override any gcc2 internal prototype to avoid an error. */
6335 /* We use char because int might match the return type of a gcc2
6336 builtin and then its argument prototype would still apply. */
6338 /* The GNU C library defines this for functions which it implements
6339 to always fail with ENOSYS. Some functions are actually named
6340 something starting with __ and the normal name is an alias. */
6341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6344 char (*f) () = $ac_func;
6353 return f != $ac_func;
6358 rm -f conftest.$ac_objext conftest$ac_exeext
6359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6360 (eval $ac_link) 2>conftest.er1
6362 grep -v '^ *+' conftest.er1 >conftest.err
6364 cat conftest.err >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); } &&
6367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; } &&
6373 { ac_try='test -s conftest$ac_exeext'
6374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378 (exit $ac_status); }; }; then
6379 eval "$as_ac_var=yes"
6381 echo "$as_me: failed program was:" >&5
6382 sed 's/^/| /' conftest.$ac_ext >&5
6384 eval "$as_ac_var=no"
6386 rm -f conftest.err conftest.$ac_objext \
6387 conftest$ac_exeext conftest.$ac_ext
6389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6391 if test `eval echo '${'$as_ac_var'}'` = yes; then
6392 cat >>confdefs.h <<_ACEOF
6393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6398 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6399 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6400 if test "${ac_cv_lib_socket_connect+set}" = set; then
6401 echo $ECHO_N "(cached) $ECHO_C" >&6
6403 ac_check_lib_save_LIBS=$LIBS
6404 LIBS="-lsocket $LIBS"
6405 cat >conftest.$ac_ext <<_ACEOF
6408 cat confdefs.h >>conftest.$ac_ext
6409 cat >>conftest.$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6412 /* Override any gcc2 internal prototype to avoid an error. */
6416 /* We use char because int might match the return type of a gcc2
6417 builtin and then its argument prototype would still apply. */
6427 rm -f conftest.$ac_objext conftest$ac_exeext
6428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6429 (eval $ac_link) 2>conftest.er1
6431 grep -v '^ *+' conftest.er1 >conftest.err
6433 cat conftest.err >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; } &&
6442 { ac_try='test -s conftest$ac_exeext'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; }; then
6448 ac_cv_lib_socket_connect=yes
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.$ac_ext >&5
6453 ac_cv_lib_socket_connect=no
6455 rm -f conftest.err conftest.$ac_objext \
6456 conftest$ac_exeext conftest.$ac_ext
6457 LIBS=$ac_check_lib_save_LIBS
6459 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6460 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6461 if test $ac_cv_lib_socket_connect = yes; then
6462 cat >>confdefs.h <<_ACEOF
6463 #define HAVE_LIBSOCKET 1
6466 LIBS="-lsocket $LIBS"
6474 for ac_func in inet_aton
6476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6477 echo "$as_me:$LINENO: checking for $ac_func" >&5
6478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6479 if eval "test \"\${$as_ac_var+set}\" = set"; then
6480 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 cat >conftest.$ac_ext <<_ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6490 #define $ac_func innocuous_$ac_func
6492 /* System header to define __stub macros and hopefully few prototypes,
6493 which can conflict with char $ac_func (); below.
6494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6495 <limits.h> exists even on freestanding compilers. */
6498 # include <limits.h>
6500 # include <assert.h>
6505 /* Override any gcc2 internal prototype to avoid an error. */
6510 /* We use char because int might match the return type of a gcc2
6511 builtin and then its argument prototype would still apply. */
6513 /* The GNU C library defines this for functions which it implements
6514 to always fail with ENOSYS. Some functions are actually named
6515 something starting with __ and the normal name is an alias. */
6516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6519 char (*f) () = $ac_func;
6528 return f != $ac_func;
6533 rm -f conftest.$ac_objext conftest$ac_exeext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6535 (eval $ac_link) 2>conftest.er1
6537 grep -v '^ *+' conftest.er1 >conftest.err
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } &&
6542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; } &&
6548 { ac_try='test -s conftest$ac_exeext'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }; then
6554 eval "$as_ac_var=yes"
6556 echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.$ac_ext >&5
6559 eval "$as_ac_var=no"
6561 rm -f conftest.err conftest.$ac_objext \
6562 conftest$ac_exeext conftest.$ac_ext
6564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6566 if test `eval echo '${'$as_ac_var'}'` = yes; then
6567 cat >>confdefs.h <<_ACEOF
6568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6573 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6574 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6575 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6576 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 ac_check_lib_save_LIBS=$LIBS
6579 LIBS="-lresolv $LIBS"
6580 cat >conftest.$ac_ext <<_ACEOF
6583 cat confdefs.h >>conftest.$ac_ext
6584 cat >>conftest.$ac_ext <<_ACEOF
6585 /* end confdefs.h. */
6587 /* Override any gcc2 internal prototype to avoid an error. */
6591 /* We use char because int might match the return type of a gcc2
6592 builtin and then its argument prototype would still apply. */
6602 rm -f conftest.$ac_objext conftest$ac_exeext
6603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6604 (eval $ac_link) 2>conftest.er1
6606 grep -v '^ *+' conftest.er1 >conftest.err
6608 cat conftest.err >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } &&
6611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; } &&
6617 { ac_try='test -s conftest$ac_exeext'
6618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6623 ac_cv_lib_resolv_inet_aton=yes
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6628 ac_cv_lib_resolv_inet_aton=no
6630 rm -f conftest.err conftest.$ac_objext \
6631 conftest$ac_exeext conftest.$ac_ext
6632 LIBS=$ac_check_lib_save_LIBS
6634 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6635 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6636 if test $ac_cv_lib_resolv_inet_aton = yes; then
6637 cat >>confdefs.h <<_ACEOF
6638 #define HAVE_LIBRESOLV 1
6641 LIBS="-lresolv $LIBS"
6649 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6650 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6651 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 ac_check_lib_save_LIBS=$LIBS
6656 cat >conftest.$ac_ext <<_ACEOF
6659 cat confdefs.h >>conftest.$ac_ext
6660 cat >>conftest.$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6663 /* Override any gcc2 internal prototype to avoid an error. */
6667 /* We use char because int might match the return type of a gcc2
6668 builtin and then its argument prototype would still apply. */
6669 char _xpg4_setrunelocale ();
6673 _xpg4_setrunelocale ();
6678 rm -f conftest.$ac_objext conftest$ac_exeext
6679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6680 (eval $ac_link) 2>conftest.er1
6682 grep -v '^ *+' conftest.er1 >conftest.err
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } &&
6687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; } &&
6693 { ac_try='test -s conftest$ac_exeext'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; }; then
6699 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6701 echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.$ac_ext >&5
6704 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6706 rm -f conftest.err conftest.$ac_objext \
6707 conftest$ac_exeext conftest.$ac_ext
6708 LIBS=$ac_check_lib_save_LIBS
6710 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6711 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6712 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6713 cat >>confdefs.h <<_ACEOF
6714 #define HAVE_LIBXPG4 1
6722 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6723 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6724 if test "${ac_cv_lib_poll_poll+set}" = set; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 ac_check_lib_save_LIBS=$LIBS
6729 cat >conftest.$ac_ext <<_ACEOF
6732 cat confdefs.h >>conftest.$ac_ext
6733 cat >>conftest.$ac_ext <<_ACEOF
6734 /* end confdefs.h. */
6736 /* Override any gcc2 internal prototype to avoid an error. */
6740 /* We use char because int might match the return type of a gcc2
6741 builtin and then its argument prototype would still apply. */
6751 rm -f conftest.$ac_objext conftest$ac_exeext
6752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6753 (eval $ac_link) 2>conftest.er1
6755 grep -v '^ *+' conftest.er1 >conftest.err
6757 cat conftest.err >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } &&
6760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; } &&
6766 { ac_try='test -s conftest$ac_exeext'
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; }; then
6772 ac_cv_lib_poll_poll=yes
6774 echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.$ac_ext >&5
6777 ac_cv_lib_poll_poll=no
6779 rm -f conftest.err conftest.$ac_objext \
6780 conftest$ac_exeext conftest.$ac_ext
6781 LIBS=$ac_check_lib_save_LIBS
6783 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6784 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6785 if test $ac_cv_lib_poll_poll = yes; then
6786 cat >>confdefs.h <<_ACEOF
6787 #define HAVE_LIBPOLL 1
6794 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6795 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6796 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 ac_check_lib_save_LIBS=$LIBS
6800 LIBS="-lpthread $LIBS"
6801 cat >conftest.$ac_ext <<_ACEOF
6804 cat confdefs.h >>conftest.$ac_ext
6805 cat >>conftest.$ac_ext <<_ACEOF
6806 /* end confdefs.h. */
6808 /* Override any gcc2 internal prototype to avoid an error. */
6812 /* We use char because int might match the return type of a gcc2
6813 builtin and then its argument prototype would still apply. */
6814 char pthread_create ();
6823 rm -f conftest.$ac_objext conftest$ac_exeext
6824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6825 (eval $ac_link) 2>conftest.er1
6827 grep -v '^ *+' conftest.er1 >conftest.err
6829 cat conftest.err >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } &&
6832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; } &&
6838 { ac_try='test -s conftest$ac_exeext'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); }; }; then
6844 ac_cv_lib_pthread_pthread_create=yes
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.$ac_ext >&5
6849 ac_cv_lib_pthread_pthread_create=no
6851 rm -f conftest.err conftest.$ac_objext \
6852 conftest$ac_exeext conftest.$ac_ext
6853 LIBS=$ac_check_lib_save_LIBS
6855 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6856 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6857 if test $ac_cv_lib_pthread_pthread_create = yes; then
6858 LIBPTHREAD="-lpthread"
6865 echo "$as_me:$LINENO: checking for egrep" >&5
6866 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6867 if test "${ac_cv_prog_egrep+set}" = set; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6871 then ac_cv_prog_egrep='grep -E'
6872 else ac_cv_prog_egrep='egrep'
6875 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6876 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6877 EGREP=$ac_cv_prog_egrep
6880 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6881 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6882 if test "${ac_cv_header_stdc+set}" = set; then
6883 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 cat >conftest.$ac_ext <<_ACEOF
6888 cat confdefs.h >>conftest.$ac_ext
6889 cat >>conftest.$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6904 rm -f conftest.$ac_objext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6906 (eval $ac_compile) 2>conftest.er1
6908 grep -v '^ *+' conftest.er1 >conftest.err
6910 cat conftest.err >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } &&
6913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; } &&
6919 { ac_try='test -s conftest.$ac_objext'
6920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); }; }; then
6925 ac_cv_header_stdc=yes
6927 echo "$as_me: failed program was:" >&5
6928 sed 's/^/| /' conftest.$ac_ext >&5
6930 ac_cv_header_stdc=no
6932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6934 if test $ac_cv_header_stdc = yes; then
6935 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6936 cat >conftest.$ac_ext <<_ACEOF
6939 cat confdefs.h >>conftest.$ac_ext
6940 cat >>conftest.$ac_ext <<_ACEOF
6941 /* end confdefs.h. */
6945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6946 $EGREP "memchr" >/dev/null 2>&1; then
6949 ac_cv_header_stdc=no
6955 if test $ac_cv_header_stdc = yes; then
6956 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6957 cat >conftest.$ac_ext <<_ACEOF
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6967 $EGREP "free" >/dev/null 2>&1; then
6970 ac_cv_header_stdc=no
6976 if test $ac_cv_header_stdc = yes; then
6977 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6978 if test "$cross_compiling" = yes; then
6981 cat >conftest.$ac_ext <<_ACEOF
6984 cat confdefs.h >>conftest.$ac_ext
6985 cat >>conftest.$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6988 #if ((' ' & 0x0FF) == 0x020)
6989 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6990 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6992 # define ISLOWER(c) \
6993 (('a' <= (c) && (c) <= 'i') \
6994 || ('j' <= (c) && (c) <= 'r') \
6995 || ('s' <= (c) && (c) <= 'z'))
6996 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6999 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7004 for (i = 0; i < 256; i++)
7005 if (XOR (islower (i), ISLOWER (i))
7006 || toupper (i) != TOUPPER (i))
7011 rm -f conftest$ac_exeext
7012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7013 (eval $ac_link) 2>&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then
7024 echo "$as_me: program exited with status $ac_status" >&5
7025 echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.$ac_ext >&5
7029 ac_cv_header_stdc=no
7031 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7035 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7036 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7037 if test $ac_cv_header_stdc = yes; then
7039 cat >>confdefs.h <<\_ACEOF
7040 #define STDC_HEADERS 1
7045 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7055 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7056 inttypes.h stdint.h unistd.h
7058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7059 echo "$as_me:$LINENO: checking for $ac_header" >&5
7060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 cat >conftest.$ac_ext <<_ACEOF
7067 cat confdefs.h >>conftest.$ac_ext
7068 cat >>conftest.$ac_ext <<_ACEOF
7069 /* end confdefs.h. */
7070 $ac_includes_default
7072 #include <$ac_header>
7074 rm -f conftest.$ac_objext
7075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7076 (eval $ac_compile) 2>conftest.er1
7078 grep -v '^ *+' conftest.er1 >conftest.err
7080 cat conftest.err >&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); } &&
7083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; } &&
7089 { ac_try='test -s conftest.$ac_objext'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7095 eval "$as_ac_Header=yes"
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.$ac_ext >&5
7100 eval "$as_ac_Header=no"
7102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7107 cat >>confdefs.h <<_ACEOF
7108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7117 for ac_header in jpeglib.h
7119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7121 echo "$as_me:$LINENO: checking for $ac_header" >&5
7122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7129 # Is the header compilable?
7130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7132 cat >conftest.$ac_ext <<_ACEOF
7135 cat confdefs.h >>conftest.$ac_ext
7136 cat >>conftest.$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 $ac_includes_default
7139 #include <$ac_header>
7141 rm -f conftest.$ac_objext
7142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7143 (eval $ac_compile) 2>conftest.er1
7145 grep -v '^ *+' conftest.er1 >conftest.err
7147 cat conftest.err >&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } &&
7150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try='test -s conftest.$ac_objext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 ac_header_compiler=yes
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7167 ac_header_compiler=no
7169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7171 echo "${ECHO_T}$ac_header_compiler" >&6
7173 # Is the header present?
7174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7176 cat >conftest.$ac_ext <<_ACEOF
7179 cat confdefs.h >>conftest.$ac_ext
7180 cat >>conftest.$ac_ext <<_ACEOF
7181 /* end confdefs.h. */
7182 #include <$ac_header>
7184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7187 grep -v '^ *+' conftest.er1 >conftest.err
7189 cat conftest.err >&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); } >/dev/null; then
7192 if test -s conftest.err; then
7193 ac_cpp_err=$ac_c_preproc_warn_flag
7194 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7201 if test -z "$ac_cpp_err"; then
7202 ac_header_preproc=yes
7204 echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.$ac_ext >&5
7207 ac_header_preproc=no
7209 rm -f conftest.err conftest.$ac_ext
7210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7211 echo "${ECHO_T}$ac_header_preproc" >&6
7213 # So? What about this header?
7214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7220 ac_header_preproc=yes
7223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7237 ## ------------------------------------ ##
7238 ## Report this to wine-devel@winehq.org ##
7239 ## ------------------------------------ ##
7242 sed "s/^/$as_me: WARNING: /" >&2
7245 echo "$as_me:$LINENO: checking for $ac_header" >&5
7246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7248 echo $ECHO_N "(cached) $ECHO_C" >&6
7250 eval "$as_ac_Header=\$ac_header_preproc"
7252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7257 cat >>confdefs.h <<_ACEOF
7258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7260 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
7261 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
7262 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
7263 echo $ECHO_N "(cached) $ECHO_C" >&6
7265 ac_check_lib_save_LIBS=$LIBS
7267 cat >conftest.$ac_ext <<_ACEOF
7270 cat confdefs.h >>conftest.$ac_ext
7271 cat >>conftest.$ac_ext <<_ACEOF
7272 /* end confdefs.h. */
7274 /* Override any gcc2 internal prototype to avoid an error. */
7278 /* We use char because int might match the return type of a gcc2
7279 builtin and then its argument prototype would still apply. */
7280 char jpeg_start_decompress ();
7284 jpeg_start_decompress ();
7289 rm -f conftest.$ac_objext conftest$ac_exeext
7290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7291 (eval $ac_link) 2>conftest.er1
7293 grep -v '^ *+' conftest.er1 >conftest.err
7295 cat conftest.err >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } &&
7298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; } &&
7304 { ac_try='test -s conftest$ac_exeext'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; }; then
7310 ac_cv_lib_jpeg_jpeg_start_decompress=yes
7312 echo "$as_me: failed program was:" >&5
7313 sed 's/^/| /' conftest.$ac_ext >&5
7315 ac_cv_lib_jpeg_jpeg_start_decompress=no
7317 rm -f conftest.err conftest.$ac_objext \
7318 conftest$ac_exeext conftest.$ac_ext
7319 LIBS=$ac_check_lib_save_LIBS
7321 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
7322 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
7323 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
7325 cat >>confdefs.h <<\_ACEOF
7326 #define HAVE_LIBJPEG 1
7342 for ac_header in gif_lib.h
7344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7346 echo "$as_me:$LINENO: checking for $ac_header" >&5
7347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7354 # Is the header compilable?
7355 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7356 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7357 cat >conftest.$ac_ext <<_ACEOF
7360 cat confdefs.h >>conftest.$ac_ext
7361 cat >>conftest.$ac_ext <<_ACEOF
7362 /* end confdefs.h. */
7363 $ac_includes_default
7364 #include <$ac_header>
7366 rm -f conftest.$ac_objext
7367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7368 (eval $ac_compile) 2>conftest.er1
7370 grep -v '^ *+' conftest.er1 >conftest.err
7372 cat conftest.err >&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); } &&
7375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; } &&
7381 { ac_try='test -s conftest.$ac_objext'
7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); }; }; then
7387 ac_header_compiler=yes
7389 echo "$as_me: failed program was:" >&5
7390 sed 's/^/| /' conftest.$ac_ext >&5
7392 ac_header_compiler=no
7394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7396 echo "${ECHO_T}$ac_header_compiler" >&6
7398 # Is the header present?
7399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7401 cat >conftest.$ac_ext <<_ACEOF
7404 cat confdefs.h >>conftest.$ac_ext
7405 cat >>conftest.$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7407 #include <$ac_header>
7409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7412 grep -v '^ *+' conftest.er1 >conftest.err
7414 cat conftest.err >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); } >/dev/null; then
7417 if test -s conftest.err; then
7418 ac_cpp_err=$ac_c_preproc_warn_flag
7419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7426 if test -z "$ac_cpp_err"; then
7427 ac_header_preproc=yes
7429 echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7432 ac_header_preproc=no
7434 rm -f conftest.err conftest.$ac_ext
7435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7436 echo "${ECHO_T}$ac_header_preproc" >&6
7438 # So? What about this header?
7439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7445 ac_header_preproc=yes
7448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7462 ## ------------------------------------ ##
7463 ## Report this to wine-devel@winehq.org ##
7464 ## ------------------------------------ ##
7467 sed "s/^/$as_me: WARNING: /" >&2
7470 echo "$as_me:$LINENO: checking for $ac_header" >&5
7471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 eval "$as_ac_Header=\$ac_header_preproc"
7477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7482 cat >>confdefs.h <<_ACEOF
7483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7485 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7486 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7487 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7488 echo $ECHO_N "(cached) $ECHO_C" >&6
7490 ac_check_lib_save_LIBS=$LIBS
7491 LIBS="-lungif $LIBS"
7492 cat >conftest.$ac_ext <<_ACEOF
7495 cat confdefs.h >>conftest.$ac_ext
7496 cat >>conftest.$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7499 /* Override any gcc2 internal prototype to avoid an error. */
7503 /* We use char because int might match the return type of a gcc2
7504 builtin and then its argument prototype would still apply. */
7514 rm -f conftest.$ac_objext conftest$ac_exeext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7516 (eval $ac_link) 2>conftest.er1
7518 grep -v '^ *+' conftest.er1 >conftest.err
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } &&
7523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); }; } &&
7529 { ac_try='test -s conftest$ac_exeext'
7530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); }; }; then
7535 ac_cv_lib_ungif_DGifOpen=yes
7537 echo "$as_me: failed program was:" >&5
7538 sed 's/^/| /' conftest.$ac_ext >&5
7540 ac_cv_lib_ungif_DGifOpen=no
7542 rm -f conftest.err conftest.$ac_objext \
7543 conftest$ac_exeext conftest.$ac_ext
7544 LIBS=$ac_check_lib_save_LIBS
7546 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7547 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7548 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7550 cat >>confdefs.h <<\_ACEOF
7551 #define HAVE_LIBGIF 1
7556 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7557 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7558 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 ac_check_lib_save_LIBS=$LIBS
7563 cat >conftest.$ac_ext <<_ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7570 /* Override any gcc2 internal prototype to avoid an error. */
7574 /* We use char because int might match the return type of a gcc2
7575 builtin and then its argument prototype would still apply. */
7585 rm -f conftest.$ac_objext conftest$ac_exeext
7586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7587 (eval $ac_link) 2>conftest.er1
7589 grep -v '^ *+' conftest.er1 >conftest.err
7591 cat conftest.err >&5
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); } &&
7594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest$ac_exeext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7606 ac_cv_lib_gif_DGifOpen=yes
7608 echo "$as_me: failed program was:" >&5
7609 sed 's/^/| /' conftest.$ac_ext >&5
7611 ac_cv_lib_gif_DGifOpen=no
7613 rm -f conftest.err conftest.$ac_objext \
7614 conftest$ac_exeext conftest.$ac_ext
7615 LIBS=$ac_check_lib_save_LIBS
7617 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7618 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7619 if test $ac_cv_lib_gif_DGifOpen = yes; then
7620 cat >>confdefs.h <<\_ACEOF
7621 #define HAVE_LIBGIF 1
7643 if test "$have_x" = "yes"
7646 ac_save_CPPFLAGS="$CPPFLAGS"
7647 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7650 for ac_header in X11/Xlib.h
7652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7654 echo "$as_me:$LINENO: checking for $ac_header" >&5
7655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7662 # Is the header compilable?
7663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7665 cat >conftest.$ac_ext <<_ACEOF
7668 cat confdefs.h >>conftest.$ac_ext
7669 cat >>conftest.$ac_ext <<_ACEOF
7670 /* end confdefs.h. */
7671 $ac_includes_default
7672 #include <$ac_header>
7674 rm -f conftest.$ac_objext
7675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7676 (eval $ac_compile) 2>conftest.er1
7678 grep -v '^ *+' conftest.er1 >conftest.err
7680 cat conftest.err >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } &&
7683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; } &&
7689 { ac_try='test -s conftest.$ac_objext'
7690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); }; }; then
7695 ac_header_compiler=yes
7697 echo "$as_me: failed program was:" >&5
7698 sed 's/^/| /' conftest.$ac_ext >&5
7700 ac_header_compiler=no
7702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7704 echo "${ECHO_T}$ac_header_compiler" >&6
7706 # Is the header present?
7707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7709 cat >conftest.$ac_ext <<_ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7715 #include <$ac_header>
7717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7720 grep -v '^ *+' conftest.er1 >conftest.err
7722 cat conftest.err >&5
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); } >/dev/null; then
7725 if test -s conftest.err; then
7726 ac_cpp_err=$ac_c_preproc_warn_flag
7727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7734 if test -z "$ac_cpp_err"; then
7735 ac_header_preproc=yes
7737 echo "$as_me: failed program was:" >&5
7738 sed 's/^/| /' conftest.$ac_ext >&5
7740 ac_header_preproc=no
7742 rm -f conftest.err conftest.$ac_ext
7743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7744 echo "${ECHO_T}$ac_header_preproc" >&6
7746 # So? What about this header?
7747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7749 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7753 ac_header_preproc=yes
7756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7760 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7762 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7763 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7766 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7770 ## ------------------------------------ ##
7771 ## Report this to wine-devel@winehq.org ##
7772 ## ------------------------------------ ##
7775 sed "s/^/$as_me: WARNING: /" >&2
7778 echo "$as_me:$LINENO: checking for $ac_header" >&5
7779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7781 echo $ECHO_N "(cached) $ECHO_C" >&6
7783 eval "$as_ac_Header=\$ac_header_preproc"
7785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7790 cat >>confdefs.h <<_ACEOF
7791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7804 for ac_header in X11/XKBlib.h \
7806 X11/extensions/shape.h \
7807 X11/extensions/XInput.h \
7808 X11/extensions/XShm.h \
7809 X11/extensions/Xrandr.h \
7810 X11/extensions/Xrender.h \
7811 X11/extensions/Xvlib.h \
7812 X11/extensions/xf86dga.h \
7813 X11/extensions/xf86vmode.h
7815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7816 echo "$as_me:$LINENO: checking for $ac_header" >&5
7817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7819 echo $ECHO_N "(cached) $ECHO_C" >&6
7821 cat >conftest.$ac_ext <<_ACEOF
7824 cat confdefs.h >>conftest.$ac_ext
7825 cat >>conftest.$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7827 #include <X11/Xlib.h>
7828 #ifdef HAVE_X11_XUTIL_H
7829 # include <X11/Xutil.h>
7832 #include <$ac_header>
7834 rm -f conftest.$ac_objext
7835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7836 (eval $ac_compile) 2>conftest.er1
7838 grep -v '^ *+' conftest.er1 >conftest.err
7840 cat conftest.err >&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); } &&
7843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); }; } &&
7849 { ac_try='test -s conftest.$ac_objext'
7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); }; }; then
7855 eval "$as_ac_Header=yes"
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.$ac_ext >&5
7860 eval "$as_ac_Header=no"
7862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7867 cat >>confdefs.h <<_ACEOF
7868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7876 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7878 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7879 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7880 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7881 echo $ECHO_N "(cached) $ECHO_C" >&6
7883 ac_check_lib_save_LIBS=$LIBS
7884 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7885 cat >conftest.$ac_ext <<_ACEOF
7888 cat confdefs.h >>conftest.$ac_ext
7889 cat >>conftest.$ac_ext <<_ACEOF
7890 /* end confdefs.h. */
7892 /* Override any gcc2 internal prototype to avoid an error. */
7896 /* We use char because int might match the return type of a gcc2
7897 builtin and then its argument prototype would still apply. */
7898 char XkbQueryExtension ();
7902 XkbQueryExtension ();
7907 rm -f conftest.$ac_objext conftest$ac_exeext
7908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7909 (eval $ac_link) 2>conftest.er1
7911 grep -v '^ *+' conftest.er1 >conftest.err
7913 cat conftest.err >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); } &&
7916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; } &&
7922 { ac_try='test -s conftest$ac_exeext'
7923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; }; then
7928 ac_cv_lib_X11_XkbQueryExtension=yes
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.$ac_ext >&5
7933 ac_cv_lib_X11_XkbQueryExtension=no
7935 rm -f conftest.err conftest.$ac_objext \
7936 conftest$ac_exeext conftest.$ac_ext
7937 LIBS=$ac_check_lib_save_LIBS
7939 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7940 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7941 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7943 cat >>confdefs.h <<\_ACEOF
7951 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7953 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7954 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7955 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7956 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 ac_check_lib_save_LIBS=$LIBS
7959 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7960 cat >conftest.$ac_ext <<_ACEOF
7963 cat confdefs.h >>conftest.$ac_ext
7964 cat >>conftest.$ac_ext <<_ACEOF
7965 /* end confdefs.h. */
7967 /* Override any gcc2 internal prototype to avoid an error. */
7971 /* We use char because int might match the return type of a gcc2
7972 builtin and then its argument prototype would still apply. */
7973 char XShmQueryExtension ();
7977 XShmQueryExtension ();
7982 rm -f conftest.$ac_objext conftest$ac_exeext
7983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7984 (eval $ac_link) 2>conftest.er1
7986 grep -v '^ *+' conftest.er1 >conftest.err
7988 cat conftest.err >&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); } &&
7991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; } &&
7997 { ac_try='test -s conftest$ac_exeext'
7998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); }; }; then
8003 ac_cv_lib_Xext_XShmQueryExtension=yes
8005 echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.$ac_ext >&5
8008 ac_cv_lib_Xext_XShmQueryExtension=no
8010 rm -f conftest.err conftest.$ac_objext \
8011 conftest$ac_exeext conftest.$ac_ext
8012 LIBS=$ac_check_lib_save_LIBS
8014 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8015 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
8016 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8018 cat >>confdefs.h <<\_ACEOF
8019 #define HAVE_LIBXXSHM 1
8026 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8028 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8029 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
8030 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8031 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 ac_check_lib_save_LIBS=$LIBS
8034 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8035 cat >conftest.$ac_ext <<_ACEOF
8038 cat confdefs.h >>conftest.$ac_ext
8039 cat >>conftest.$ac_ext <<_ACEOF
8040 /* end confdefs.h. */
8042 /* Override any gcc2 internal prototype to avoid an error. */
8046 /* We use char because int might match the return type of a gcc2
8047 builtin and then its argument prototype would still apply. */
8048 char XShapeQueryExtension ();
8052 XShapeQueryExtension ();
8057 rm -f conftest.$ac_objext conftest$ac_exeext
8058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8059 (eval $ac_link) 2>conftest.er1
8061 grep -v '^ *+' conftest.er1 >conftest.err
8063 cat conftest.err >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); } &&
8066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); }; } &&
8072 { ac_try='test -s conftest$ac_exeext'
8073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); }; }; then
8078 ac_cv_lib_Xext_XShapeQueryExtension=yes
8080 echo "$as_me: failed program was:" >&5
8081 sed 's/^/| /' conftest.$ac_ext >&5
8083 ac_cv_lib_Xext_XShapeQueryExtension=no
8085 rm -f conftest.err conftest.$ac_objext \
8086 conftest$ac_exeext conftest.$ac_ext
8087 LIBS=$ac_check_lib_save_LIBS
8089 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8090 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8091 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8093 cat >>confdefs.h <<\_ACEOF
8094 #define HAVE_LIBXSHAPE 1
8101 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8103 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8104 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8105 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 ac_check_lib_save_LIBS=$LIBS
8109 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8110 cat >conftest.$ac_ext <<_ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8117 /* Override any gcc2 internal prototype to avoid an error. */
8121 /* We use char because int might match the return type of a gcc2
8122 builtin and then its argument prototype would still apply. */
8123 char XDGAQueryExtension ();
8127 XDGAQueryExtension ();
8132 rm -f conftest.$ac_objext conftest$ac_exeext
8133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8134 (eval $ac_link) 2>conftest.er1
8136 grep -v '^ *+' conftest.er1 >conftest.err
8138 cat conftest.err >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } &&
8141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; } &&
8147 { ac_try='test -s conftest$ac_exeext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.$ac_ext >&5
8158 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
8160 rm -f conftest.err conftest.$ac_objext \
8161 conftest$ac_exeext conftest.$ac_ext
8162 LIBS=$ac_check_lib_save_LIBS
8164 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8165 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8166 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8168 cat >>confdefs.h <<\_ACEOF
8169 #define HAVE_LIBXXF86DGA2 1
8172 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8175 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
8176 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8177 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 ac_check_lib_save_LIBS=$LIBS
8181 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
8183 cat >conftest.$ac_ext <<_ACEOF
8186 cat confdefs.h >>conftest.$ac_ext
8187 cat >>conftest.$ac_ext <<_ACEOF
8188 /* end confdefs.h. */
8190 /* Override any gcc2 internal prototype to avoid an error. */
8194 /* We use char because int might match the return type of a gcc2
8195 builtin and then its argument prototype would still apply. */
8196 char XF86DGAQueryExtension ();
8200 XF86DGAQueryExtension ();
8205 rm -f conftest.$ac_objext conftest$ac_exeext
8206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8207 (eval $ac_link) 2>conftest.er1
8209 grep -v '^ *+' conftest.er1 >conftest.err
8211 cat conftest.err >&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } &&
8214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); }; } &&
8220 { ac_try='test -s conftest$ac_exeext'
8221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8231 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
8233 rm -f conftest.err conftest.$ac_objext \
8234 conftest$ac_exeext conftest.$ac_ext
8235 LIBS=$ac_check_lib_save_LIBS
8237 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
8238 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
8239 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
8241 cat >>confdefs.h <<\_ACEOF
8242 #define HAVE_LIBXXF86DGA 1
8245 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8254 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8256 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8257 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8258 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 ac_check_lib_save_LIBS=$LIBS
8262 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8263 cat >conftest.$ac_ext <<_ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8270 /* Override any gcc2 internal prototype to avoid an error. */
8274 /* We use char because int might match the return type of a gcc2
8275 builtin and then its argument prototype would still apply. */
8276 char XF86VidModeQueryExtension ();
8280 XF86VidModeQueryExtension ();
8285 rm -f conftest.$ac_objext conftest$ac_exeext
8286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8287 (eval $ac_link) 2>conftest.er1
8289 grep -v '^ *+' conftest.er1 >conftest.err
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } &&
8294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; } &&
8300 { ac_try='test -s conftest$ac_exeext'
8301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then
8306 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.$ac_ext >&5
8311 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8313 rm -f conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 LIBS=$ac_check_lib_save_LIBS
8317 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8318 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8319 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8321 cat >>confdefs.h <<\_ACEOF
8322 #define HAVE_LIBXXF86VM 1
8325 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8331 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8333 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
8334 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
8335 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 ac_check_lib_save_LIBS=$LIBS
8339 LIBS="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8340 cat >conftest.$ac_ext <<_ACEOF
8343 cat confdefs.h >>conftest.$ac_ext
8344 cat >>conftest.$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8347 /* Override any gcc2 internal prototype to avoid an error. */
8351 /* We use char because int might match the return type of a gcc2
8352 builtin and then its argument prototype would still apply. */
8353 char XRRSetScreenConfigAndRate ();
8357 XRRSetScreenConfigAndRate ();
8362 rm -f conftest.$ac_objext conftest$ac_exeext
8363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8364 (eval $ac_link) 2>conftest.er1
8366 grep -v '^ *+' conftest.er1 >conftest.err
8368 cat conftest.err >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } &&
8371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; } &&
8377 { ac_try='test -s conftest$ac_exeext'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; }; then
8383 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=yes
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.$ac_ext >&5
8388 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=no
8390 rm -f conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 LIBS=$ac_check_lib_save_LIBS
8394 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
8395 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
8396 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
8398 cat >>confdefs.h <<\_ACEOF
8399 #define HAVE_LIBXRANDR 1
8402 X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
8408 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8410 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8411 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8412 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 ac_check_lib_save_LIBS=$LIBS
8416 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8417 cat >conftest.$ac_ext <<_ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any gcc2 internal prototype to avoid an error. */
8428 /* We use char because int might match the return type of a gcc2
8429 builtin and then its argument prototype would still apply. */
8430 char XvShmCreateImage ();
8434 XvShmCreateImage ();
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8441 (eval $ac_link) 2>conftest.er1
8443 grep -v '^ *+' conftest.er1 >conftest.err
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } &&
8448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; } &&
8454 { ac_try='test -s conftest$ac_exeext'
8455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); }; }; then
8460 ac_cv_lib_Xv_XvShmCreateImage=yes
8462 echo "$as_me: failed program was:" >&5
8463 sed 's/^/| /' conftest.$ac_ext >&5
8465 ac_cv_lib_Xv_XvShmCreateImage=no
8467 rm -f conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 LIBS=$ac_check_lib_save_LIBS
8471 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8472 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8473 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8475 cat >>confdefs.h <<\_ACEOF
8476 #define HAVE_XVIDEO 1
8479 X_PRE_LIBS="$X_PRE_LIBS -lXv"
8490 if test "x$with_opengl" != "xno"
8492 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8494 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8495 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8496 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8497 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8498 { (exit 1); exit 1; }; }
8503 for ac_header in GL/gl.h GL/glx.h
8505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8507 echo "$as_me:$LINENO: checking for $ac_header" >&5
8508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8515 # Is the header compilable?
8516 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8518 cat >conftest.$ac_ext <<_ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8524 $ac_includes_default
8525 #include <$ac_header>
8527 rm -f conftest.$ac_objext
8528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8529 (eval $ac_compile) 2>conftest.er1
8531 grep -v '^ *+' conftest.er1 >conftest.err
8533 cat conftest.err >&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); } &&
8536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; } &&
8542 { ac_try='test -s conftest.$ac_objext'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; }; then
8548 ac_header_compiler=yes
8550 echo "$as_me: failed program was:" >&5
8551 sed 's/^/| /' conftest.$ac_ext >&5
8553 ac_header_compiler=no
8555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8557 echo "${ECHO_T}$ac_header_compiler" >&6
8559 # Is the header present?
8560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8562 cat >conftest.$ac_ext <<_ACEOF
8565 cat confdefs.h >>conftest.$ac_ext
8566 cat >>conftest.$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 #include <$ac_header>
8570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8573 grep -v '^ *+' conftest.er1 >conftest.err
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); } >/dev/null; then
8578 if test -s conftest.err; then
8579 ac_cpp_err=$ac_c_preproc_warn_flag
8580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8587 if test -z "$ac_cpp_err"; then
8588 ac_header_preproc=yes
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.$ac_ext >&5
8593 ac_header_preproc=no
8595 rm -f conftest.err conftest.$ac_ext
8596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8597 echo "${ECHO_T}$ac_header_preproc" >&6
8599 # So? What about this header?
8600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8606 ac_header_preproc=yes
8609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8623 ## ------------------------------------ ##
8624 ## Report this to wine-devel@winehq.org ##
8625 ## ------------------------------------ ##
8628 sed "s/^/$as_me: WARNING: /" >&2
8631 echo "$as_me:$LINENO: checking for $ac_header" >&5
8632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8634 echo $ECHO_N "(cached) $ECHO_C" >&6
8636 eval "$as_ac_Header=\$ac_header_preproc"
8638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8643 cat >>confdefs.h <<_ACEOF
8644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8651 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8654 for ac_header in GL/glext.h
8656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8657 echo "$as_me:$LINENO: checking for $ac_header" >&5
8658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8660 echo $ECHO_N "(cached) $ECHO_C" >&6
8662 cat >conftest.$ac_ext <<_ACEOF
8665 cat confdefs.h >>conftest.$ac_ext
8666 cat >>conftest.$ac_ext <<_ACEOF
8667 /* end confdefs.h. */
8670 #include <$ac_header>
8672 rm -f conftest.$ac_objext
8673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8674 (eval $ac_compile) 2>conftest.er1
8676 grep -v '^ *+' conftest.er1 >conftest.err
8678 cat conftest.err >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } &&
8681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; } &&
8687 { ac_try='test -s conftest.$ac_objext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 eval "$as_ac_Header=yes"
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8698 eval "$as_ac_Header=no"
8700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8705 cat >>confdefs.h <<_ACEOF
8706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8713 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8714 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8715 if test "${wine_cv_opengl_version_OK+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 cat >conftest.$ac_ext <<_ACEOF
8721 cat confdefs.h >>conftest.$ac_ext
8722 cat >>conftest.$ac_ext <<_ACEOF
8723 /* end confdefs.h. */
8728 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8733 rm -f conftest.$ac_objext
8734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8735 (eval $ac_compile) 2>conftest.er1
8737 grep -v '^ *+' conftest.er1 >conftest.err
8739 cat conftest.err >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } &&
8742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; } &&
8748 { ac_try='test -s conftest.$ac_objext'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; }; then
8754 wine_cv_opengl_version_OK="yes"
8756 echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.$ac_ext >&5
8759 wine_cv_opengl_version_OK="no"
8762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8765 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8766 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8768 if test "$wine_cv_opengl_version_OK" = "yes"
8770 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8771 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8772 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8773 echo $ECHO_N "(cached) $ECHO_C" >&6
8775 ac_check_lib_save_LIBS=$LIBS
8776 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8777 cat >conftest.$ac_ext <<_ACEOF
8780 cat confdefs.h >>conftest.$ac_ext
8781 cat >>conftest.$ac_ext <<_ACEOF
8782 /* end confdefs.h. */
8784 /* Override any gcc2 internal prototype to avoid an error. */
8788 /* We use char because int might match the return type of a gcc2
8789 builtin and then its argument prototype would still apply. */
8790 char glXCreateContext ();
8794 glXCreateContext ();
8799 rm -f conftest.$ac_objext conftest$ac_exeext
8800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8801 (eval $ac_link) 2>conftest.er1
8803 grep -v '^ *+' conftest.er1 >conftest.err
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } &&
8808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); }; } &&
8814 { ac_try='test -s conftest$ac_exeext'
8815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; }; then
8820 ac_cv_lib_GL_glXCreateContext=yes
8822 echo "$as_me: failed program was:" >&5
8823 sed 's/^/| /' conftest.$ac_ext >&5
8825 ac_cv_lib_GL_glXCreateContext=no
8827 rm -f conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829 LIBS=$ac_check_lib_save_LIBS
8831 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8832 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8833 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8839 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8841 OPENGLFILES='$(OPENGLFILES)'
8843 cat >>confdefs.h <<\_ACEOF
8844 #define HAVE_OPENGL 1
8848 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8849 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8850 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 ac_check_lib_save_LIBS=$LIBS
8854 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8855 cat >conftest.$ac_ext <<_ACEOF
8858 cat confdefs.h >>conftest.$ac_ext
8859 cat >>conftest.$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8862 /* Override any gcc2 internal prototype to avoid an error. */
8866 /* We use char because int might match the return type of a gcc2
8867 builtin and then its argument prototype would still apply. */
8868 char glXGetProcAddressARB ();
8872 glXGetProcAddressARB ();
8877 rm -f conftest.$ac_objext conftest$ac_exeext
8878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8879 (eval $ac_link) 2>conftest.er1
8881 grep -v '^ *+' conftest.er1 >conftest.err
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); }; } &&
8892 { ac_try='test -s conftest$ac_exeext'
8893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); }; }; then
8898 ac_cv_lib_GL_glXGetProcAddressARB=yes
8900 echo "$as_me: failed program was:" >&5
8901 sed 's/^/| /' conftest.$ac_ext >&5
8903 ac_cv_lib_GL_glXGetProcAddressARB=no
8905 rm -f conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 LIBS=$ac_check_lib_save_LIBS
8909 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8910 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8911 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8913 cat >>confdefs.h <<\_ACEOF
8914 #define HAVE_GLX_GETPROCADDRESS 1
8920 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8922 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8923 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8924 if test "${wine_cv_extension_prototypes+set}" = set; then
8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 cat >conftest.$ac_ext <<_ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8934 #ifdef HAVE_GL_GLEXT_H
8935 # include <GL/glext.h>
8941 PFNGLCOLORTABLEEXTPROC test_proc;
8946 rm -f conftest.$ac_objext
8947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8948 (eval $ac_compile) 2>conftest.er1
8950 grep -v '^ *+' conftest.er1 >conftest.err
8952 cat conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } &&
8955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); }; } &&
8961 { ac_try='test -s conftest.$ac_objext'
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); }; }; then
8967 wine_cv_extension_prototypes="yes"
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 wine_cv_extension_prototypes="no"
8975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8978 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8979 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8980 if test "$wine_cv_extension_prototypes" = "yes"
8983 cat >>confdefs.h <<\_ACEOF
8984 #define HAVE_GLEXT_PROTOTYPES 1
8991 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8992 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8993 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 ac_check_lib_save_LIBS=$LIBS
8997 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8999 cat >conftest.$ac_ext <<_ACEOF
9002 cat confdefs.h >>conftest.$ac_ext
9003 cat >>conftest.$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9006 /* Override any gcc2 internal prototype to avoid an error. */
9010 /* We use char because int might match the return type of a gcc2
9011 builtin and then its argument prototype would still apply. */
9021 rm -f conftest.$ac_objext conftest$ac_exeext
9022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9023 (eval $ac_link) 2>conftest.er1
9025 grep -v '^ *+' conftest.er1 >conftest.err
9027 cat conftest.err >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); } &&
9030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 (exit $ac_status); }; } &&
9036 { ac_try='test -s conftest$ac_exeext'
9037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); }; }; then
9042 ac_cv_lib_GLU_gluLookAt=yes
9044 echo "$as_me: failed program was:" >&5
9045 sed 's/^/| /' conftest.$ac_ext >&5
9047 ac_cv_lib_GLU_gluLookAt=no
9049 rm -f conftest.err conftest.$ac_objext \
9050 conftest$ac_exeext conftest.$ac_ext
9051 LIBS=$ac_check_lib_save_LIBS
9053 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9054 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
9055 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9056 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9057 GLU32FILES='$(GLU32FILES)'
9063 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9064 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
9065 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6
9068 ac_check_lib_save_LIBS=$LIBS
9069 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9070 cat >conftest.$ac_ext <<_ACEOF
9073 cat confdefs.h >>conftest.$ac_ext
9074 cat >>conftest.$ac_ext <<_ACEOF
9075 /* end confdefs.h. */
9077 /* Override any gcc2 internal prototype to avoid an error. */
9081 /* We use char because int might match the return type of a gcc2
9082 builtin and then its argument prototype would still apply. */
9083 char glutMainLoop ();
9092 rm -f conftest.$ac_objext conftest$ac_exeext
9093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9094 (eval $ac_link) 2>conftest.er1
9096 grep -v '^ *+' conftest.er1 >conftest.err
9098 cat conftest.err >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); } &&
9101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); }; } &&
9107 { ac_try='test -s conftest$ac_exeext'
9108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); }; }; then
9113 ac_cv_lib_glut_glutMainLoop=yes
9115 echo "$as_me: failed program was:" >&5
9116 sed 's/^/| /' conftest.$ac_ext >&5
9118 ac_cv_lib_glut_glutMainLoop=no
9120 rm -f conftest.err conftest.$ac_objext \
9121 conftest$ac_exeext conftest.$ac_ext
9122 LIBS=$ac_check_lib_save_LIBS
9124 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9125 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9126 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9127 GLUT_LIBS="-lglut -lXmu -lXi"
9129 GLUT32FILES='$(GLUT32FILES)'
9139 for ac_header in audio/audiolib.h
9141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9143 echo "$as_me:$LINENO: checking for $ac_header" >&5
9144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9146 echo $ECHO_N "(cached) $ECHO_C" >&6
9148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9151 # Is the header compilable?
9152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9154 cat >conftest.$ac_ext <<_ACEOF
9157 cat confdefs.h >>conftest.$ac_ext
9158 cat >>conftest.$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9160 $ac_includes_default
9161 #include <$ac_header>
9163 rm -f conftest.$ac_objext
9164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9165 (eval $ac_compile) 2>conftest.er1
9167 grep -v '^ *+' conftest.er1 >conftest.err
9169 cat conftest.err >&5
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } &&
9172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177 (exit $ac_status); }; } &&
9178 { ac_try='test -s conftest.$ac_objext'
9179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); }; }; then
9184 ac_header_compiler=yes
9186 echo "$as_me: failed program was:" >&5
9187 sed 's/^/| /' conftest.$ac_ext >&5
9189 ac_header_compiler=no
9191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9193 echo "${ECHO_T}$ac_header_compiler" >&6
9195 # Is the header present?
9196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9198 cat >conftest.$ac_ext <<_ACEOF
9201 cat confdefs.h >>conftest.$ac_ext
9202 cat >>conftest.$ac_ext <<_ACEOF
9203 /* end confdefs.h. */
9204 #include <$ac_header>
9206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9209 grep -v '^ *+' conftest.er1 >conftest.err
9211 cat conftest.err >&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); } >/dev/null; then
9214 if test -s conftest.err; then
9215 ac_cpp_err=$ac_c_preproc_warn_flag
9216 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9223 if test -z "$ac_cpp_err"; then
9224 ac_header_preproc=yes
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9229 ac_header_preproc=no
9231 rm -f conftest.err conftest.$ac_ext
9232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9233 echo "${ECHO_T}$ac_header_preproc" >&6
9235 # So? What about this header?
9236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9242 ac_header_preproc=yes
9245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9259 ## ------------------------------------ ##
9260 ## Report this to wine-devel@winehq.org ##
9261 ## ------------------------------------ ##
9264 sed "s/^/$as_me: WARNING: /" >&2
9267 echo "$as_me:$LINENO: checking for $ac_header" >&5
9268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9270 echo $ECHO_N "(cached) $ECHO_C" >&6
9272 eval "$as_ac_Header=\$ac_header_preproc"
9274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9279 cat >>confdefs.h <<_ACEOF
9280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9283 for ac_header in audio/soundlib.h
9285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9286 echo "$as_me:$LINENO: checking for $ac_header" >&5
9287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 cat >conftest.$ac_ext <<_ACEOF
9294 cat confdefs.h >>conftest.$ac_ext
9295 cat >>conftest.$ac_ext <<_ACEOF
9296 /* end confdefs.h. */
9297 #include <audio/audiolib.h>
9299 #include <$ac_header>
9301 rm -f conftest.$ac_objext
9302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9303 (eval $ac_compile) 2>conftest.er1
9305 grep -v '^ *+' conftest.er1 >conftest.err
9307 cat conftest.err >&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); } &&
9310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); }; } &&
9316 { ac_try='test -s conftest.$ac_objext'
9317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); }; }; then
9322 eval "$as_ac_Header=yes"
9324 echo "$as_me: failed program was:" >&5
9325 sed 's/^/| /' conftest.$ac_ext >&5
9327 eval "$as_ac_Header=no"
9329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9334 cat >>confdefs.h <<_ACEOF
9335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9342 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9343 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9344 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9345 echo $ECHO_N "(cached) $ECHO_C" >&6
9347 ac_check_lib_save_LIBS=$LIBS
9348 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9349 cat >conftest.$ac_ext <<_ACEOF
9352 cat confdefs.h >>conftest.$ac_ext
9353 cat >>conftest.$ac_ext <<_ACEOF
9354 /* end confdefs.h. */
9356 /* Override any gcc2 internal prototype to avoid an error. */
9360 /* We use char because int might match the return type of a gcc2
9361 builtin and then its argument prototype would still apply. */
9362 char AuCreateFlow ();
9371 rm -f conftest.$ac_objext conftest$ac_exeext
9372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9373 (eval $ac_link) 2>conftest.er1
9375 grep -v '^ *+' conftest.er1 >conftest.err
9377 cat conftest.err >&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); } &&
9380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); }; } &&
9386 { ac_try='test -s conftest$ac_exeext'
9387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; }; then
9392 ac_cv_lib_audio_AuCreateFlow=yes
9394 echo "$as_me: failed program was:" >&5
9395 sed 's/^/| /' conftest.$ac_ext >&5
9397 ac_cv_lib_audio_AuCreateFlow=no
9399 rm -f conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 LIBS=$ac_check_lib_save_LIBS
9403 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9404 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9405 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9407 cat >>confdefs.h <<\_ACEOF
9411 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9419 CPPFLAGS="$ac_save_CPPFLAGS"
9428 if test "x$with_curses" != "xno"
9431 for ac_header in ncurses.h
9433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9435 echo "$as_me:$LINENO: checking for $ac_header" >&5
9436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9438 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9443 # Is the header compilable?
9444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9446 cat >conftest.$ac_ext <<_ACEOF
9449 cat confdefs.h >>conftest.$ac_ext
9450 cat >>conftest.$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9452 $ac_includes_default
9453 #include <$ac_header>
9455 rm -f conftest.$ac_objext
9456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9457 (eval $ac_compile) 2>conftest.er1
9459 grep -v '^ *+' conftest.er1 >conftest.err
9461 cat conftest.err >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); } &&
9464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; } &&
9470 { ac_try='test -s conftest.$ac_objext'
9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; }; then
9476 ac_header_compiler=yes
9478 echo "$as_me: failed program was:" >&5
9479 sed 's/^/| /' conftest.$ac_ext >&5
9481 ac_header_compiler=no
9483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9485 echo "${ECHO_T}$ac_header_compiler" >&6
9487 # Is the header present?
9488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9490 cat >conftest.$ac_ext <<_ACEOF
9493 cat confdefs.h >>conftest.$ac_ext
9494 cat >>conftest.$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9496 #include <$ac_header>
9498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9501 grep -v '^ *+' conftest.er1 >conftest.err
9503 cat conftest.err >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } >/dev/null; then
9506 if test -s conftest.err; then
9507 ac_cpp_err=$ac_c_preproc_warn_flag
9508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9515 if test -z "$ac_cpp_err"; then
9516 ac_header_preproc=yes
9518 echo "$as_me: failed program was:" >&5
9519 sed 's/^/| /' conftest.$ac_ext >&5
9521 ac_header_preproc=no
9523 rm -f conftest.err conftest.$ac_ext
9524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9525 echo "${ECHO_T}$ac_header_preproc" >&6
9527 # So? What about this header?
9528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9534 ac_header_preproc=yes
9537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9551 ## ------------------------------------ ##
9552 ## Report this to wine-devel@winehq.org ##
9553 ## ------------------------------------ ##
9556 sed "s/^/$as_me: WARNING: /" >&2
9559 echo "$as_me:$LINENO: checking for $ac_header" >&5
9560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 eval "$as_ac_Header=\$ac_header_preproc"
9566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9571 cat >>confdefs.h <<_ACEOF
9572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9574 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9575 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9576 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9579 ac_check_lib_save_LIBS=$LIBS
9580 LIBS="-lncurses $LIBS"
9581 cat >conftest.$ac_ext <<_ACEOF
9584 cat confdefs.h >>conftest.$ac_ext
9585 cat >>conftest.$ac_ext <<_ACEOF
9586 /* end confdefs.h. */
9588 /* Override any gcc2 internal prototype to avoid an error. */
9592 /* We use char because int might match the return type of a gcc2
9593 builtin and then its argument prototype would still apply. */
9603 rm -f conftest.$ac_objext conftest$ac_exeext
9604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9605 (eval $ac_link) 2>conftest.er1
9607 grep -v '^ *+' conftest.er1 >conftest.err
9609 cat conftest.err >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); } &&
9612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; } &&
9618 { ac_try='test -s conftest$ac_exeext'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; }; then
9624 ac_cv_lib_ncurses_waddch=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_cv_lib_ncurses_waddch=no
9631 rm -f conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 LIBS=$ac_check_lib_save_LIBS
9635 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9636 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9637 if test $ac_cv_lib_ncurses_waddch = yes; then
9639 cat >>confdefs.h <<\_ACEOF
9640 #define HAVE_LIBNCURSES 1
9643 CURSESLIBS="-lncurses"
9646 for ac_header in curses.h
9648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9650 echo "$as_me:$LINENO: checking for $ac_header" >&5
9651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9653 echo $ECHO_N "(cached) $ECHO_C" >&6
9655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9658 # Is the header compilable?
9659 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9660 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9661 cat >conftest.$ac_ext <<_ACEOF
9664 cat confdefs.h >>conftest.$ac_ext
9665 cat >>conftest.$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9667 $ac_includes_default
9668 #include <$ac_header>
9670 rm -f conftest.$ac_objext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9672 (eval $ac_compile) 2>conftest.er1
9674 grep -v '^ *+' conftest.er1 >conftest.err
9676 cat conftest.err >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } &&
9679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try='test -s conftest.$ac_objext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
9691 ac_header_compiler=yes
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9696 ac_header_compiler=no
9698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9700 echo "${ECHO_T}$ac_header_compiler" >&6
9702 # Is the header present?
9703 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9705 cat >conftest.$ac_ext <<_ACEOF
9708 cat confdefs.h >>conftest.$ac_ext
9709 cat >>conftest.$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9711 #include <$ac_header>
9713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9716 grep -v '^ *+' conftest.er1 >conftest.err
9718 cat conftest.err >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); } >/dev/null; then
9721 if test -s conftest.err; then
9722 ac_cpp_err=$ac_c_preproc_warn_flag
9723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9730 if test -z "$ac_cpp_err"; then
9731 ac_header_preproc=yes
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.$ac_ext >&5
9736 ac_header_preproc=no
9738 rm -f conftest.err conftest.$ac_ext
9739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9740 echo "${ECHO_T}$ac_header_preproc" >&6
9742 # So? What about this header?
9743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9749 ac_header_preproc=yes
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9766 ## ------------------------------------ ##
9767 ## Report this to wine-devel@winehq.org ##
9768 ## ------------------------------------ ##
9771 sed "s/^/$as_me: WARNING: /" >&2
9774 echo "$as_me:$LINENO: checking for $ac_header" >&5
9775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 eval "$as_ac_Header=\$ac_header_preproc"
9781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9786 cat >>confdefs.h <<_ACEOF
9787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9789 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9790 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9791 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 ac_check_lib_save_LIBS=$LIBS
9795 LIBS="-lcurses $LIBS"
9796 cat >conftest.$ac_ext <<_ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h. */
9803 /* Override any gcc2 internal prototype to avoid an error. */
9807 /* We use char because int might match the return type of a gcc2
9808 builtin and then its argument prototype would still apply. */
9818 rm -f conftest.$ac_objext conftest$ac_exeext
9819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9820 (eval $ac_link) 2>conftest.er1
9822 grep -v '^ *+' conftest.er1 >conftest.err
9824 cat conftest.err >&5
9825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826 (exit $ac_status); } &&
9827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); }; } &&
9833 { ac_try='test -s conftest$ac_exeext'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; }; then
9839 ac_cv_lib_curses_waddch=yes
9841 echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9844 ac_cv_lib_curses_waddch=no
9846 rm -f conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_lib_save_LIBS
9850 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9851 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9852 if test $ac_cv_lib_curses_waddch = yes; then
9854 cat >>confdefs.h <<\_ACEOF
9855 #define HAVE_LIBCURSES 1
9858 CURSESLIBS="-lcurses"
9872 LIBS="$CURSESLIBS $LIBS"
9875 for ac_func in getbkgd resizeterm
9877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9878 echo "$as_me:$LINENO: checking for $ac_func" >&5
9879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9880 if eval "test \"\${$as_ac_var+set}\" = set"; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 cat >conftest.$ac_ext <<_ACEOF
9886 cat confdefs.h >>conftest.$ac_ext
9887 cat >>conftest.$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9891 #define $ac_func innocuous_$ac_func
9893 /* System header to define __stub macros and hopefully few prototypes,
9894 which can conflict with char $ac_func (); below.
9895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9896 <limits.h> exists even on freestanding compilers. */
9899 # include <limits.h>
9901 # include <assert.h>
9906 /* Override any gcc2 internal prototype to avoid an error. */
9911 /* We use char because int might match the return type of a gcc2
9912 builtin and then its argument prototype would still apply. */
9914 /* The GNU C library defines this for functions which it implements
9915 to always fail with ENOSYS. Some functions are actually named
9916 something starting with __ and the normal name is an alias. */
9917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9920 char (*f) () = $ac_func;
9929 return f != $ac_func;
9934 rm -f conftest.$ac_objext conftest$ac_exeext
9935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9936 (eval $ac_link) 2>conftest.er1
9938 grep -v '^ *+' conftest.er1 >conftest.err
9940 cat conftest.err >&5
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); } &&
9943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; } &&
9949 { ac_try='test -s conftest$ac_exeext'
9950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); }; }; then
9955 eval "$as_ac_var=yes"
9957 echo "$as_me: failed program was:" >&5
9958 sed 's/^/| /' conftest.$ac_ext >&5
9960 eval "$as_ac_var=no"
9962 rm -f conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9967 if test `eval echo '${'$as_ac_var'}'` = yes; then
9968 cat >>confdefs.h <<_ACEOF
9969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9979 # Extract the first word of "sane-config", so it can be a program name with args.
9980 set dummy sane-config; ac_word=$2
9981 echo "$as_me:$LINENO: checking for $ac_word" >&5
9982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9983 if test "${ac_cv_prog_sane_devel+set}" = set; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 if test -n "$sane_devel"; then
9987 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9993 test -z "$as_dir" && as_dir=.
9994 for ac_exec_ext in '' $ac_executable_extensions; do
9995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9996 ac_cv_prog_sane_devel="sane-config"
9997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10003 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10006 sane_devel=$ac_cv_prog_sane_devel
10007 if test -n "$sane_devel"; then
10008 echo "$as_me:$LINENO: result: $sane_devel" >&5
10009 echo "${ECHO_T}$sane_devel" >&6
10011 echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6
10015 if test "$sane_devel" = "no"
10020 SANELIBS="`$sane_devel --libs`"
10021 SANEINCL="`$sane_devel --cflags`"
10022 ac_save_CPPFLAGS="$CPPFLAGS"
10023 ac_save_LIBS="$LIBS"
10024 CPPFLAGS="$CPPFLAGS $SANEINCL"
10025 LIBS="$LIBS $SANELIBS"
10026 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10027 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10028 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10029 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10030 echo $ECHO_N "(cached) $ECHO_C" >&6
10032 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10033 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10035 # Is the header compilable?
10036 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10037 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
10038 cat >conftest.$ac_ext <<_ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10044 $ac_includes_default
10045 #include <sane/sane.h>
10047 rm -f conftest.$ac_objext
10048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10049 (eval $ac_compile) 2>conftest.er1
10051 grep -v '^ *+' conftest.er1 >conftest.err
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; } &&
10062 { ac_try='test -s conftest.$ac_objext'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; }; then
10068 ac_header_compiler=yes
10070 echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.$ac_ext >&5
10073 ac_header_compiler=no
10075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10077 echo "${ECHO_T}$ac_header_compiler" >&6
10079 # Is the header present?
10080 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10081 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
10082 cat >conftest.$ac_ext <<_ACEOF
10085 cat confdefs.h >>conftest.$ac_ext
10086 cat >>conftest.$ac_ext <<_ACEOF
10087 /* end confdefs.h. */
10088 #include <sane/sane.h>
10090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10093 grep -v '^ *+' conftest.er1 >conftest.err
10095 cat conftest.err >&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); } >/dev/null; then
10098 if test -s conftest.err; then
10099 ac_cpp_err=$ac_c_preproc_warn_flag
10100 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10107 if test -z "$ac_cpp_err"; then
10108 ac_header_preproc=yes
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.$ac_ext >&5
10113 ac_header_preproc=no
10115 rm -f conftest.err conftest.$ac_ext
10116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10117 echo "${ECHO_T}$ac_header_preproc" >&6
10119 # So? What about this header?
10120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10122 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10123 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10124 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10125 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10126 ac_header_preproc=yes
10129 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10130 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10131 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10132 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10133 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10134 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10135 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10136 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10137 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10138 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10139 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10140 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10143 ## ------------------------------------ ##
10144 ## Report this to wine-devel@winehq.org ##
10145 ## ------------------------------------ ##
10148 sed "s/^/$as_me: WARNING: /" >&2
10151 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10152 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10153 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10156 ac_cv_header_sane_sane_h=$ac_header_preproc
10158 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10159 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10162 if test $ac_cv_header_sane_sane_h = yes; then
10163 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10164 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10165 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 ac_check_lib_save_LIBS=$LIBS
10169 LIBS="-lsane $LIBS"
10170 cat >conftest.$ac_ext <<_ACEOF
10173 cat confdefs.h >>conftest.$ac_ext
10174 cat >>conftest.$ac_ext <<_ACEOF
10175 /* end confdefs.h. */
10177 /* Override any gcc2 internal prototype to avoid an error. */
10181 /* We use char because int might match the return type of a gcc2
10182 builtin and then its argument prototype would still apply. */
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10196 grep -v '^ *+' conftest.er1 >conftest.err
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; } &&
10207 { ac_try='test -s conftest$ac_exeext'
10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209 (eval $ac_try) 2>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); }; }; then
10213 ac_cv_lib_sane_sane_open=yes
10215 echo "$as_me: failed program was:" >&5
10216 sed 's/^/| /' conftest.$ac_ext >&5
10218 ac_cv_lib_sane_sane_open=no
10220 rm -f conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS
10224 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10225 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10226 if test $ac_cv_lib_sane_sane_open = yes; then
10228 cat >>confdefs.h <<\_ACEOF
10229 #define HAVE_SANE 1
10243 LIBS="$ac_save_LIBS"
10244 CPPFLAGS="$ac_save_CPPFLAGS"
10250 for ac_header in unicode/ubidi.h
10252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10254 echo "$as_me:$LINENO: checking for $ac_header" >&5
10255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10262 # Is the header compilable?
10263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10265 cat >conftest.$ac_ext <<_ACEOF
10268 cat confdefs.h >>conftest.$ac_ext
10269 cat >>conftest.$ac_ext <<_ACEOF
10270 /* end confdefs.h. */
10271 $ac_includes_default
10272 #include <$ac_header>
10274 rm -f conftest.$ac_objext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10276 (eval $ac_compile) 2>conftest.er1
10278 grep -v '^ *+' conftest.er1 >conftest.err
10280 cat conftest.err >&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); } &&
10283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10285 (eval $ac_try) 2>&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }; } &&
10289 { ac_try='test -s conftest.$ac_objext'
10290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10291 (eval $ac_try) 2>&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; }; then
10295 ac_header_compiler=yes
10297 echo "$as_me: failed program was:" >&5
10298 sed 's/^/| /' conftest.$ac_ext >&5
10300 ac_header_compiler=no
10302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10304 echo "${ECHO_T}$ac_header_compiler" >&6
10306 # Is the header present?
10307 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10308 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10309 cat >conftest.$ac_ext <<_ACEOF
10312 cat confdefs.h >>conftest.$ac_ext
10313 cat >>conftest.$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10315 #include <$ac_header>
10317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10320 grep -v '^ *+' conftest.er1 >conftest.err
10322 cat conftest.err >&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } >/dev/null; then
10325 if test -s conftest.err; then
10326 ac_cpp_err=$ac_c_preproc_warn_flag
10327 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10334 if test -z "$ac_cpp_err"; then
10335 ac_header_preproc=yes
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10340 ac_header_preproc=no
10342 rm -f conftest.err conftest.$ac_ext
10343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10344 echo "${ECHO_T}$ac_header_preproc" >&6
10346 # So? What about this header?
10347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10353 ac_header_preproc=yes
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10370 ## ------------------------------------ ##
10371 ## Report this to wine-devel@winehq.org ##
10372 ## ------------------------------------ ##
10375 sed "s/^/$as_me: WARNING: /" >&2
10378 echo "$as_me:$LINENO: checking for $ac_header" >&5
10379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10383 eval "$as_ac_Header=\$ac_header_preproc"
10385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10390 cat >>confdefs.h <<_ACEOF
10391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10398 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10401 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
10402 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10403 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10404 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10405 cat >conftest.$ac_ext <<_ACEOF
10408 cat confdefs.h >>conftest.$ac_ext
10409 cat >>conftest.$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 #include <unicode/ubidi.h>
10420 rm -f conftest.$ac_objext conftest$ac_exeext
10421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10422 (eval $ac_link) 2>conftest.er1
10424 grep -v '^ *+' conftest.er1 >conftest.err
10426 cat conftest.err >&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } &&
10429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; } &&
10435 { ac_try='test -s conftest$ac_exeext'
10436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437 (eval $ac_try) 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; }; then
10442 cat >>confdefs.h <<\_ACEOF
10446 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10453 rm -f conftest.err conftest.$ac_objext \
10454 conftest$ac_exeext conftest.$ac_ext
10458 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10459 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10460 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 ac_check_lib_save_LIBS=$LIBS
10464 LIBS="-lfreetype $X_LIBS $LIBS"
10465 cat >conftest.$ac_ext <<_ACEOF
10468 cat confdefs.h >>conftest.$ac_ext
10469 cat >>conftest.$ac_ext <<_ACEOF
10470 /* end confdefs.h. */
10472 /* Override any gcc2 internal prototype to avoid an error. */
10476 /* We use char because int might match the return type of a gcc2
10477 builtin and then its argument prototype would still apply. */
10478 char FT_Init_FreeType ();
10482 FT_Init_FreeType ();
10487 rm -f conftest.$ac_objext conftest$ac_exeext
10488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10489 (eval $ac_link) 2>conftest.er1
10491 grep -v '^ *+' conftest.er1 >conftest.err
10493 cat conftest.err >&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } &&
10496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10498 (eval $ac_try) 2>&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); }; } &&
10502 { ac_try='test -s conftest$ac_exeext'
10503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10504 (eval $ac_try) 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }; }; then
10508 ac_cv_lib_freetype_FT_Init_FreeType=yes
10510 echo "$as_me: failed program was:" >&5
10511 sed 's/^/| /' conftest.$ac_ext >&5
10513 ac_cv_lib_freetype_FT_Init_FreeType=no
10515 rm -f conftest.err conftest.$ac_objext \
10516 conftest$ac_exeext conftest.$ac_ext
10517 LIBS=$ac_check_lib_save_LIBS
10519 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10520 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10521 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10527 if test "$ft_lib" = "no"
10530 wine_cv_msg_freetype=no
10532 # Extract the first word of "freetype-config", so it can be a program name with args.
10533 set dummy freetype-config; ac_word=$2
10534 echo "$as_me:$LINENO: checking for $ac_word" >&5
10535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10536 if test "${ac_cv_prog_ft_devel+set}" = set; then
10537 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 if test -n "$ft_devel"; then
10540 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10543 for as_dir in $PATH
10546 test -z "$as_dir" && as_dir=.
10547 for ac_exec_ext in '' $ac_executable_extensions; do
10548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10549 ac_cv_prog_ft_devel="freetype-config"
10550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10556 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10559 ft_devel=$ac_cv_prog_ft_devel
10560 if test -n "$ft_devel"; then
10561 echo "$as_me:$LINENO: result: $ft_devel" >&5
10562 echo "${ECHO_T}$ft_devel" >&6
10564 echo "$as_me:$LINENO: result: no" >&5
10565 echo "${ECHO_T}no" >&6
10568 if test "$ft_devel" = "no"
10570 # Extract the first word of "freetype2-config", so it can be a program name with args.
10571 set dummy freetype2-config; ac_word=$2
10572 echo "$as_me:$LINENO: checking for $ac_word" >&5
10573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10574 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 if test -n "$ft_devel2"; then
10578 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10581 for as_dir in $PATH
10584 test -z "$as_dir" && as_dir=.
10585 for ac_exec_ext in '' $ac_executable_extensions; do
10586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10587 ac_cv_prog_ft_devel2="freetype2-config"
10588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10594 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10597 ft_devel2=$ac_cv_prog_ft_devel2
10598 if test -n "$ft_devel2"; then
10599 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10600 echo "${ECHO_T}$ft_devel2" >&6
10602 echo "$as_me:$LINENO: result: no" >&5
10603 echo "${ECHO_T}no" >&6
10606 if test "$ft_devel2" = "freetype2-config"
10608 ft_devel=$ft_devel2
10611 if test "$ft_devel" = "no"
10614 wine_cv_msg_freetype=yes
10616 FREETYPEINCL=`$ft_devel --cflags`
10617 ac_save_CPPFLAGS="$CPPFLAGS"
10618 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10628 for ac_header in ft2build.h \
10629 freetype/freetype.h \
10630 freetype/ftglyph.h \
10631 freetype/tttables.h \
10632 freetype/ftnames.h \
10633 freetype/ftsnames.h \
10634 freetype/ttnameid.h \
10635 freetype/ftoutln.h \
10636 freetype/internal/sfnt.h
10638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10639 echo "$as_me:$LINENO: checking for $ac_header" >&5
10640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 cat >conftest.$ac_ext <<_ACEOF
10647 cat confdefs.h >>conftest.$ac_ext
10648 cat >>conftest.$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10650 #if HAVE_FT2BUILD_H
10651 #include <ft2build.h>
10654 #include <$ac_header>
10656 rm -f conftest.$ac_objext
10657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10658 (eval $ac_compile) 2>conftest.er1
10660 grep -v '^ *+' conftest.er1 >conftest.err
10662 cat conftest.err >&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); } &&
10665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667 (eval $ac_try) 2>&5
10669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); }; } &&
10671 { ac_try='test -s conftest.$ac_objext'
10672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673 (eval $ac_try) 2>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); }; }; then
10677 eval "$as_ac_Header=yes"
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 eval "$as_ac_Header=no"
10684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10689 cat >>confdefs.h <<_ACEOF
10690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10697 cat >conftest.$ac_ext <<_ACEOF
10700 cat confdefs.h >>conftest.$ac_ext
10701 cat >>conftest.$ac_ext <<_ACEOF
10702 /* end confdefs.h. */
10703 #include <ft2build.h>
10704 #include <freetype/fttrigon.h>
10706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10709 grep -v '^ *+' conftest.er1 >conftest.err
10711 cat conftest.err >&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } >/dev/null; then
10714 if test -s conftest.err; then
10715 ac_cpp_err=$ac_c_preproc_warn_flag
10716 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10723 if test -z "$ac_cpp_err"; then
10725 cat >>confdefs.h <<\_ACEOF
10726 #define HAVE_FREETYPE_FTTRIGON_H 1
10729 wine_cv_fttrigon=yes
10731 echo "$as_me: failed program was:" >&5
10732 sed 's/^/| /' conftest.$ac_ext >&5
10734 wine_cv_fttrigon=no
10736 rm -f conftest.err conftest.$ac_ext
10737 CPPFLAGS="$ac_save_CPPFLAGS"
10738 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10741 cat >>confdefs.h <<\_ACEOF
10742 #define HAVE_FREETYPE 1
10745 wine_cv_msg_freetype=no
10748 wine_cv_msg_freetype=yes
10754 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10755 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10756 if test "${ac_cv_c_ppdev+set}" = set; then
10757 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 cat >conftest.$ac_ext <<_ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #include <linux/ppdev.h>
10769 ioctl (1,PPCLAIM,0)
10774 rm -f conftest.$ac_objext
10775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10776 (eval $ac_compile) 2>conftest.er1
10778 grep -v '^ *+' conftest.er1 >conftest.err
10780 cat conftest.err >&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); } &&
10783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10785 (eval $ac_try) 2>&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); }; } &&
10789 { ac_try='test -s conftest.$ac_objext'
10790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10791 (eval $ac_try) 2>&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); }; }; then
10795 ac_cv_c_ppdev="yes"
10797 echo "$as_me: failed program was:" >&5
10798 sed 's/^/| /' conftest.$ac_ext >&5
10802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10805 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10806 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10807 if test "$ac_cv_c_ppdev" = "yes"
10810 cat >>confdefs.h <<\_ACEOF
10811 #define HAVE_PPDEV 1
10816 echo "$as_me:$LINENO: checking for va_copy" >&5
10817 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10818 if test "${ac_cv_c_va_copy+set}" = set; then
10819 echo $ECHO_N "(cached) $ECHO_C" >&6
10821 cat >conftest.$ac_ext <<_ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10827 #include <stdarg.h>
10838 rm -f conftest.$ac_objext conftest$ac_exeext
10839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10840 (eval $ac_link) 2>conftest.er1
10842 grep -v '^ *+' conftest.er1 >conftest.err
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } &&
10847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10849 (eval $ac_try) 2>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; } &&
10853 { ac_try='test -s conftest$ac_exeext'
10854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10855 (eval $ac_try) 2>&5
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); }; }; then
10859 ac_cv_c_va_copy="yes"
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.$ac_ext >&5
10864 ac_cv_c_va_copy="no"
10866 rm -f conftest.err conftest.$ac_objext \
10867 conftest$ac_exeext conftest.$ac_ext
10870 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10871 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10872 if test "$ac_cv_c_va_copy" = "yes"
10875 cat >>confdefs.h <<\_ACEOF
10876 #define HAVE_VA_COPY 1
10880 echo "$as_me:$LINENO: checking for __va_copy" >&5
10881 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10882 if test "${ac_cv_c___va_copy+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 cat >conftest.$ac_ext <<_ACEOF
10888 cat confdefs.h >>conftest.$ac_ext
10889 cat >>conftest.$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10891 #include <stdarg.h>
10896 __va_copy(ap1,ap2);
10902 rm -f conftest.$ac_objext conftest$ac_exeext
10903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 (eval $ac_link) 2>conftest.er1
10906 grep -v '^ *+' conftest.er1 >conftest.err
10908 cat conftest.err >&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); } &&
10911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10913 (eval $ac_try) 2>&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }; } &&
10917 { ac_try='test -s conftest$ac_exeext'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then
10923 ac_cv_c___va_copy="yes"
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.$ac_ext >&5
10928 ac_cv_c___va_copy="no"
10930 rm -f conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10934 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10935 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10936 if test "$ac_cv_c___va_copy" = "yes"
10939 cat >>confdefs.h <<\_ACEOF
10940 #define HAVE___VA_COPY 1
10945 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10946 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10947 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10948 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 cat >conftest.$ac_ext <<_ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956 #include <setjmp.h>
10961 sigsetjmp( buf, 1 );
10962 siglongjmp( buf, 1 );
10967 rm -f conftest.$ac_objext conftest$ac_exeext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10969 (eval $ac_link) 2>conftest.er1
10971 grep -v '^ *+' conftest.er1 >conftest.err
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } &&
10976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10978 (eval $ac_try) 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }; } &&
10982 { ac_try='test -s conftest$ac_exeext'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; }; then
10988 ac_cv_c_sigsetjmp="yes"
10990 echo "$as_me: failed program was:" >&5
10991 sed 's/^/| /' conftest.$ac_ext >&5
10993 ac_cv_c_sigsetjmp="no"
10995 rm -f conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10999 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11000 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
11001 if test "$ac_cv_c_sigsetjmp" = "yes"
11004 cat >>confdefs.h <<\_ACEOF
11005 #define HAVE_SIGSETJMP 1
11010 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11011 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11012 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 cat >conftest.$ac_ext <<_ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11021 #define _GNU_SOURCE
11022 #include <pthread.h>
11027 if ((pthread_rwlock_t *) 0)
11029 if (sizeof (pthread_rwlock_t))
11035 rm -f conftest.$ac_objext
11036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11037 (eval $ac_compile) 2>conftest.er1
11039 grep -v '^ *+' conftest.er1 >conftest.err
11041 cat conftest.err >&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); } &&
11044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11046 (eval $ac_try) 2>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); }; } &&
11050 { ac_try='test -s conftest.$ac_objext'
11051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11052 (eval $ac_try) 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; }; then
11056 ac_cv_type_pthread_rwlock_t=yes
11058 echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.$ac_ext >&5
11061 ac_cv_type_pthread_rwlock_t=no
11063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11065 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11066 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11067 if test $ac_cv_type_pthread_rwlock_t = yes; then
11069 cat >>confdefs.h <<_ACEOF
11070 #define HAVE_PTHREAD_RWLOCK_T 1
11075 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11076 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11077 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 cat >conftest.$ac_ext <<_ACEOF
11083 cat confdefs.h >>conftest.$ac_ext
11084 cat >>conftest.$ac_ext <<_ACEOF
11085 /* end confdefs.h. */
11086 #define _GNU_SOURCE
11087 #include <pthread.h>
11092 if ((pthread_rwlockattr_t *) 0)
11094 if (sizeof (pthread_rwlockattr_t))
11100 rm -f conftest.$ac_objext
11101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11102 (eval $ac_compile) 2>conftest.er1
11104 grep -v '^ *+' conftest.er1 >conftest.err
11106 cat conftest.err >&5
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); } &&
11109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11111 (eval $ac_try) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }; } &&
11115 { ac_try='test -s conftest.$ac_objext'
11116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11117 (eval $ac_try) 2>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; }; then
11121 ac_cv_type_pthread_rwlockattr_t=yes
11123 echo "$as_me: failed program was:" >&5
11124 sed 's/^/| /' conftest.$ac_ext >&5
11126 ac_cv_type_pthread_rwlockattr_t=no
11128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11130 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11131 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11132 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11134 cat >>confdefs.h <<_ACEOF
11135 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11142 ac_save_LIBS="$LIBS"
11143 LIBS="$LIBS $LIBPTHREAD"
11145 for ac_func in pthread_getattr_np
11147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11148 echo "$as_me:$LINENO: checking for $ac_func" >&5
11149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11150 if eval "test \"\${$as_ac_var+set}\" = set"; then
11151 echo $ECHO_N "(cached) $ECHO_C" >&6
11153 cat >conftest.$ac_ext <<_ACEOF
11156 cat confdefs.h >>conftest.$ac_ext
11157 cat >>conftest.$ac_ext <<_ACEOF
11158 /* end confdefs.h. */
11159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11161 #define $ac_func innocuous_$ac_func
11163 /* System header to define __stub macros and hopefully few prototypes,
11164 which can conflict with char $ac_func (); below.
11165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11166 <limits.h> exists even on freestanding compilers. */
11169 # include <limits.h>
11171 # include <assert.h>
11176 /* Override any gcc2 internal prototype to avoid an error. */
11181 /* We use char because int might match the return type of a gcc2
11182 builtin and then its argument prototype would still apply. */
11184 /* The GNU C library defines this for functions which it implements
11185 to always fail with ENOSYS. Some functions are actually named
11186 something starting with __ and the normal name is an alias. */
11187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11190 char (*f) () = $ac_func;
11199 return f != $ac_func;
11204 rm -f conftest.$ac_objext conftest$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11208 grep -v '^ *+' conftest.er1 >conftest.err
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11215 (eval $ac_try) 2>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); }; } &&
11219 { ac_try='test -s conftest$ac_exeext'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; }; then
11225 eval "$as_ac_var=yes"
11227 echo "$as_me: failed program was:" >&5
11228 sed 's/^/| /' conftest.$ac_ext >&5
11230 eval "$as_ac_var=no"
11232 rm -f conftest.err conftest.$ac_objext \
11233 conftest$ac_exeext conftest.$ac_ext
11235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11237 if test `eval echo '${'$as_ac_var'}'` = yes; then
11238 cat >>confdefs.h <<_ACEOF
11239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11245 LIBS="$ac_save_LIBS"
11250 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
11252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11254 echo "$as_me:$LINENO: checking for $ac_header" >&5
11255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11262 # Is the header compilable?
11263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11265 cat >conftest.$ac_ext <<_ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271 $ac_includes_default
11272 #include <$ac_header>
11274 rm -f conftest.$ac_objext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11276 (eval $ac_compile) 2>conftest.er1
11278 grep -v '^ *+' conftest.er1 >conftest.err
11280 cat conftest.err >&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } &&
11283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try='test -s conftest.$ac_objext'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then
11295 ac_header_compiler=yes
11297 echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.$ac_ext >&5
11300 ac_header_compiler=no
11302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11304 echo "${ECHO_T}$ac_header_compiler" >&6
11306 # Is the header present?
11307 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11308 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11309 cat >conftest.$ac_ext <<_ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11315 #include <$ac_header>
11317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11320 grep -v '^ *+' conftest.er1 >conftest.err
11322 cat conftest.err >&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } >/dev/null; then
11325 if test -s conftest.err; then
11326 ac_cpp_err=$ac_c_preproc_warn_flag
11327 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11334 if test -z "$ac_cpp_err"; then
11335 ac_header_preproc=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.$ac_ext >&5
11340 ac_header_preproc=no
11342 rm -f conftest.err conftest.$ac_ext
11343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11344 echo "${ECHO_T}$ac_header_preproc" >&6
11346 # So? What about this header?
11347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11353 ac_header_preproc=yes
11356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11370 ## ------------------------------------ ##
11371 ## Report this to wine-devel@winehq.org ##
11372 ## ------------------------------------ ##
11375 sed "s/^/$as_me: WARNING: /" >&2
11378 echo "$as_me:$LINENO: checking for $ac_header" >&5
11379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11381 echo $ECHO_N "(cached) $ECHO_C" >&6
11383 eval "$as_ac_Header=\$ac_header_preproc"
11385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11390 cat >>confdefs.h <<_ACEOF
11391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11399 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11400 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11401 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 cat >conftest.$ac_ext <<_ACEOF
11407 cat confdefs.h >>conftest.$ac_ext
11408 cat >>conftest.$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11411 #if defined(HAVE_SYS_SOUNDCARD_H)
11412 #include <sys/soundcard.h>
11413 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11414 #include <machine/soundcard.h>
11415 #elif defined(HAVE_SOUNDCARD_H)
11416 #include <soundcard.h>
11424 /* check for one of the Open Sound System specific SNDCTL_ defines */
11425 #if !defined(SNDCTL_DSP_STEREO)
11426 #error No open sound system
11433 rm -f conftest.$ac_objext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>conftest.er1
11437 grep -v '^ *+' conftest.er1 >conftest.err
11439 cat conftest.err >&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } &&
11442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444 (eval $ac_try) 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; } &&
11448 { ac_try='test -s conftest.$ac_objext'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; }; then
11454 ac_cv_c_opensoundsystem="yes"
11456 echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11459 ac_cv_c_opensoundsystem="no"
11461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11463 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11464 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11466 if test "$ac_cv_c_opensoundsystem" = "yes"
11469 cat >>confdefs.h <<\_ACEOF
11475 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11476 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11477 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 cat >conftest.$ac_ext <<_ACEOF
11483 cat confdefs.h >>conftest.$ac_ext
11484 cat >>conftest.$ac_ext <<_ACEOF
11485 /* end confdefs.h. */
11487 #if defined(HAVE_SYS_SOUNDCARD_H)
11488 #include <sys/soundcard.h>
11489 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11490 #include <machine/soundcard.h>
11491 #elif defined(HAVE_SOUNDCARD_H)
11492 #include <soundcard.h>
11500 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11501 #if !defined(SNDCTL_SEQ_SYNC)
11502 #error No open sound system MIDI interface
11509 rm -f conftest.$ac_objext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11511 (eval $ac_compile) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1 >conftest.err
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11520 (eval $ac_try) 2>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); }; } &&
11524 { ac_try='test -s conftest.$ac_objext'
11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11526 (eval $ac_try) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }; }; then
11530 ac_cv_c_opensoundsystem_midi="yes"
11532 echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.$ac_ext >&5
11535 ac_cv_c_opensoundsystem_midi="no"
11537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11539 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11540 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11542 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11545 cat >>confdefs.h <<\_ACEOF
11546 #define HAVE_OSS_MIDI 1
11551 # Extract the first word of "artsc-config", so it can be a program name with args.
11552 set dummy artsc-config; ac_word=$2
11553 echo "$as_me:$LINENO: checking for $ac_word" >&5
11554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11555 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 case $ARTSCCONFIG in
11560 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11564 for as_dir in $PATH
11567 test -z "$as_dir" && as_dir=.
11568 for ac_exec_ext in '' $ac_executable_extensions; do
11569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11570 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11580 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11582 if test -n "$ARTSCCONFIG"; then
11583 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11584 echo "${ECHO_T}$ARTSCCONFIG" >&6
11586 echo "$as_me:$LINENO: result: no" >&5
11587 echo "${ECHO_T}no" >&6
11590 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11593 for i in `$ARTSCCONFIG --cflags`
11596 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11599 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11600 save_CFLAGS="$CFLAGS"
11601 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11602 cat >conftest.$ac_ext <<_ACEOF
11605 cat confdefs.h >>conftest.$ac_ext
11606 cat >>conftest.$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11612 arts_stream_t stream;
11617 rm -f conftest.$ac_objext
11618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11619 (eval $ac_compile) 2>conftest.er1
11621 grep -v '^ *+' conftest.er1 >conftest.err
11623 cat conftest.err >&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); } &&
11626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; } &&
11632 { ac_try='test -s conftest.$ac_objext'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; }; then
11638 ARTSLIBS=$ARTSC_LIBS
11640 ARTSINCL=$ARTSC_CFLAGS
11643 cat >>confdefs.h <<\_ACEOF
11644 #define HAVE_ARTS 1
11648 echo "$as_me: failed program was:" >&5
11649 sed 's/^/| /' conftest.$ac_ext >&5
11652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11653 CFLAGS="$save_CFLAGS"
11660 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11664 echo "$as_me:$LINENO: checking for $ac_header" >&5
11665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11672 # Is the header compilable?
11673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11675 cat >conftest.$ac_ext <<_ACEOF
11678 cat confdefs.h >>conftest.$ac_ext
11679 cat >>conftest.$ac_ext <<_ACEOF
11680 /* end confdefs.h. */
11681 $ac_includes_default
11682 #include <$ac_header>
11684 rm -f conftest.$ac_objext
11685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11686 (eval $ac_compile) 2>conftest.er1
11688 grep -v '^ *+' conftest.er1 >conftest.err
11690 cat conftest.err >&5
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); } &&
11693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; } &&
11699 { ac_try='test -s conftest.$ac_objext'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; }; then
11705 ac_header_compiler=yes
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.$ac_ext >&5
11710 ac_header_compiler=no
11712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11714 echo "${ECHO_T}$ac_header_compiler" >&6
11716 # Is the header present?
11717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11719 cat >conftest.$ac_ext <<_ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11725 #include <$ac_header>
11727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11730 grep -v '^ *+' conftest.er1 >conftest.err
11732 cat conftest.err >&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } >/dev/null; then
11735 if test -s conftest.err; then
11736 ac_cpp_err=$ac_c_preproc_warn_flag
11737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11744 if test -z "$ac_cpp_err"; then
11745 ac_header_preproc=yes
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.$ac_ext >&5
11750 ac_header_preproc=no
11752 rm -f conftest.err conftest.$ac_ext
11753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11754 echo "${ECHO_T}$ac_header_preproc" >&6
11756 # So? What about this header?
11757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11763 ac_header_preproc=yes
11766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11780 ## ------------------------------------ ##
11781 ## Report this to wine-devel@winehq.org ##
11782 ## ------------------------------------ ##
11785 sed "s/^/$as_me: WARNING: /" >&2
11788 echo "$as_me:$LINENO: checking for $ac_header" >&5
11789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 eval "$as_ac_Header=\$ac_header_preproc"
11795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11800 cat >>confdefs.h <<_ACEOF
11801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11808 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11810 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11811 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11812 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 ac_check_lib_save_LIBS=$LIBS
11816 LIBS="-lasound $LIBS"
11817 cat >conftest.$ac_ext <<_ACEOF
11820 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11824 /* Override any gcc2 internal prototype to avoid an error. */
11828 /* We use char because int might match the return type of a gcc2
11829 builtin and then its argument prototype would still apply. */
11830 char snd_pcm_open ();
11839 rm -f conftest.$ac_objext conftest$ac_exeext
11840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11841 (eval $ac_link) 2>conftest.er1
11843 grep -v '^ *+' conftest.er1 >conftest.err
11845 cat conftest.err >&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } &&
11848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } &&
11854 { ac_try='test -s conftest$ac_exeext'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; }; then
11860 ac_cv_lib_asound_snd_pcm_open=yes
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.$ac_ext >&5
11865 ac_cv_lib_asound_snd_pcm_open=no
11867 rm -f conftest.err conftest.$ac_objext \
11868 conftest$ac_exeext conftest.$ac_ext
11869 LIBS=$ac_check_lib_save_LIBS
11871 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11872 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11873 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11875 cat >>confdefs.h <<\_ACEOF
11876 #define HAVE_ALSA 1
11879 ALSALIBS="-lasound"
11888 for ac_header in libaudioio.h
11890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11892 echo "$as_me:$LINENO: checking for $ac_header" >&5
11893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11895 echo $ECHO_N "(cached) $ECHO_C" >&6
11897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11900 # Is the header compilable?
11901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11903 cat >conftest.$ac_ext <<_ACEOF
11906 cat confdefs.h >>conftest.$ac_ext
11907 cat >>conftest.$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909 $ac_includes_default
11910 #include <$ac_header>
11912 rm -f conftest.$ac_objext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11914 (eval $ac_compile) 2>conftest.er1
11916 grep -v '^ *+' conftest.er1 >conftest.err
11918 cat conftest.err >&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } &&
11921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; } &&
11927 { ac_try='test -s conftest.$ac_objext'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; }; then
11933 ac_header_compiler=yes
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.$ac_ext >&5
11938 ac_header_compiler=no
11940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11942 echo "${ECHO_T}$ac_header_compiler" >&6
11944 # Is the header present?
11945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11947 cat >conftest.$ac_ext <<_ACEOF
11950 cat confdefs.h >>conftest.$ac_ext
11951 cat >>conftest.$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11953 #include <$ac_header>
11955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11958 grep -v '^ *+' conftest.er1 >conftest.err
11960 cat conftest.err >&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } >/dev/null; then
11963 if test -s conftest.err; then
11964 ac_cpp_err=$ac_c_preproc_warn_flag
11965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11972 if test -z "$ac_cpp_err"; then
11973 ac_header_preproc=yes
11975 echo "$as_me: failed program was:" >&5
11976 sed 's/^/| /' conftest.$ac_ext >&5
11978 ac_header_preproc=no
11980 rm -f conftest.err conftest.$ac_ext
11981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11982 echo "${ECHO_T}$ac_header_preproc" >&6
11984 # So? What about this header?
11985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11991 ac_header_preproc=yes
11994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12008 ## ------------------------------------ ##
12009 ## Report this to wine-devel@winehq.org ##
12010 ## ------------------------------------ ##
12013 sed "s/^/$as_me: WARNING: /" >&2
12016 echo "$as_me:$LINENO: checking for $ac_header" >&5
12017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12021 eval "$as_ac_Header=\$ac_header_preproc"
12023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12028 cat >>confdefs.h <<_ACEOF
12029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12031 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12032 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
12033 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 ac_check_lib_save_LIBS=$LIBS
12037 LIBS="-laudioio $LIBS"
12038 cat >conftest.$ac_ext <<_ACEOF
12041 cat confdefs.h >>conftest.$ac_ext
12042 cat >>conftest.$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12045 /* Override any gcc2 internal prototype to avoid an error. */
12049 /* We use char because int might match the return type of a gcc2
12050 builtin and then its argument prototype would still apply. */
12051 char AudioIOGetVersion ();
12055 AudioIOGetVersion ();
12060 rm -f conftest.$ac_objext conftest$ac_exeext
12061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12062 (eval $ac_link) 2>conftest.er1
12064 grep -v '^ *+' conftest.er1 >conftest.err
12066 cat conftest.err >&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } &&
12069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12071 (eval $ac_try) 2>&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; } &&
12075 { ac_try='test -s conftest$ac_exeext'
12076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12077 (eval $ac_try) 2>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; }; then
12081 ac_cv_lib_audioio_AudioIOGetVersion=yes
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.$ac_ext >&5
12086 ac_cv_lib_audioio_AudioIOGetVersion=no
12088 rm -f conftest.err conftest.$ac_objext \
12089 conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12092 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12093 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12094 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12095 AUDIOIOLIBS="-laudioio"
12097 cat >>confdefs.h <<\_ACEOF
12098 #define HAVE_LIBAUDIOIO 1
12110 for ac_header in capi20.h
12112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12114 echo "$as_me:$LINENO: checking for $ac_header" >&5
12115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12122 # Is the header compilable?
12123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12125 cat >conftest.$ac_ext <<_ACEOF
12128 cat confdefs.h >>conftest.$ac_ext
12129 cat >>conftest.$ac_ext <<_ACEOF
12130 /* end confdefs.h. */
12131 $ac_includes_default
12132 #include <$ac_header>
12134 rm -f conftest.$ac_objext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12136 (eval $ac_compile) 2>conftest.er1
12138 grep -v '^ *+' conftest.er1 >conftest.err
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } &&
12143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12145 (eval $ac_try) 2>&5
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); }; } &&
12149 { ac_try='test -s conftest.$ac_objext'
12150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12151 (eval $ac_try) 2>&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); }; }; then
12155 ac_header_compiler=yes
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12160 ac_header_compiler=no
12162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12164 echo "${ECHO_T}$ac_header_compiler" >&6
12166 # Is the header present?
12167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12169 cat >conftest.$ac_ext <<_ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 #include <$ac_header>
12177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12180 grep -v '^ *+' conftest.er1 >conftest.err
12182 cat conftest.err >&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); } >/dev/null; then
12185 if test -s conftest.err; then
12186 ac_cpp_err=$ac_c_preproc_warn_flag
12187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12194 if test -z "$ac_cpp_err"; then
12195 ac_header_preproc=yes
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12200 ac_header_preproc=no
12202 rm -f conftest.err conftest.$ac_ext
12203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12204 echo "${ECHO_T}$ac_header_preproc" >&6
12206 # So? What about this header?
12207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12213 ac_header_preproc=yes
12216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12230 ## ------------------------------------ ##
12231 ## Report this to wine-devel@winehq.org ##
12232 ## ------------------------------------ ##
12235 sed "s/^/$as_me: WARNING: /" >&2
12238 echo "$as_me:$LINENO: checking for $ac_header" >&5
12239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 eval "$as_ac_Header=\$ac_header_preproc"
12245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12250 cat >>confdefs.h <<_ACEOF
12251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12255 for ac_header in linux/capi.h
12257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12259 echo "$as_me:$LINENO: checking for $ac_header" >&5
12260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12267 # Is the header compilable?
12268 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12269 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12270 cat >conftest.$ac_ext <<_ACEOF
12273 cat confdefs.h >>conftest.$ac_ext
12274 cat >>conftest.$ac_ext <<_ACEOF
12275 /* end confdefs.h. */
12276 $ac_includes_default
12277 #include <$ac_header>
12279 rm -f conftest.$ac_objext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12281 (eval $ac_compile) 2>conftest.er1
12283 grep -v '^ *+' conftest.er1 >conftest.err
12285 cat conftest.err >&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } &&
12288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; } &&
12294 { ac_try='test -s conftest.$ac_objext'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; }; then
12300 ac_header_compiler=yes
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.$ac_ext >&5
12305 ac_header_compiler=no
12307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12309 echo "${ECHO_T}$ac_header_compiler" >&6
12311 # Is the header present?
12312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12314 cat >conftest.$ac_ext <<_ACEOF
12317 cat confdefs.h >>conftest.$ac_ext
12318 cat >>conftest.$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 #include <$ac_header>
12322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12323 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12325 grep -v '^ *+' conftest.er1 >conftest.err
12327 cat conftest.err >&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } >/dev/null; then
12330 if test -s conftest.err; then
12331 ac_cpp_err=$ac_c_preproc_warn_flag
12332 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12339 if test -z "$ac_cpp_err"; then
12340 ac_header_preproc=yes
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.$ac_ext >&5
12345 ac_header_preproc=no
12347 rm -f conftest.err conftest.$ac_ext
12348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12349 echo "${ECHO_T}$ac_header_preproc" >&6
12351 # So? What about this header?
12352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12355 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12357 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12358 ac_header_preproc=yes
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12366 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12367 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12368 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12371 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12372 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12375 ## ------------------------------------ ##
12376 ## Report this to wine-devel@winehq.org ##
12377 ## ------------------------------------ ##
12380 sed "s/^/$as_me: WARNING: /" >&2
12383 echo "$as_me:$LINENO: checking for $ac_header" >&5
12384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 eval "$as_ac_Header=\$ac_header_preproc"
12390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12395 cat >>confdefs.h <<_ACEOF
12396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12399 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12400 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12401 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 ac_check_lib_save_LIBS=$LIBS
12405 LIBS="-lcapi20 $LIBS"
12406 cat >conftest.$ac_ext <<_ACEOF
12409 cat confdefs.h >>conftest.$ac_ext
12410 cat >>conftest.$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12413 /* Override any gcc2 internal prototype to avoid an error. */
12417 /* We use char because int might match the return type of a gcc2
12418 builtin and then its argument prototype would still apply. */
12419 char capi20_register ();
12423 capi20_register ();
12428 rm -f conftest.$ac_objext conftest$ac_exeext
12429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12430 (eval $ac_link) 2>conftest.er1
12432 grep -v '^ *+' conftest.er1 >conftest.err
12434 cat conftest.err >&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } &&
12437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; } &&
12443 { ac_try='test -s conftest$ac_exeext'
12444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 (eval $ac_try) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }; }; then
12449 ac_cv_lib_capi20_capi20_register=yes
12451 echo "$as_me: failed program was:" >&5
12452 sed 's/^/| /' conftest.$ac_ext >&5
12454 ac_cv_lib_capi20_capi20_register=no
12456 rm -f conftest.err conftest.$ac_objext \
12457 conftest$ac_exeext conftest.$ac_ext
12458 LIBS=$ac_check_lib_save_LIBS
12460 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12461 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12462 if test $ac_cv_lib_capi20_capi20_register = yes; then
12465 cat >>confdefs.h <<\_ACEOF
12466 #define HAVE_CAPI4LINUX 1
12469 CAPI4LINUXLIBS="-lcapi20"
12486 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12487 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12488 if test "${ac_cv_mmap64_works+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 if test "$cross_compiling" = yes; then
12492 ac_cv_mmap64_works="no"
12494 cat >conftest.$ac_ext <<_ACEOF
12497 cat confdefs.h >>conftest.$ac_ext
12498 cat >>conftest.$ac_ext <<_ACEOF
12499 /* end confdefs.h. */
12501 #define _FILE_OFFSET_BITS 64
12503 #include <unistd.h>
12505 #include <sys/mman.h>
12508 int main(int argc,char **argv) {
12509 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12510 if (fd == -1) exit(1);
12512 unlink("conftest.map");
12514 write(fd,"test",4);
12516 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12522 fprintf(stderr,"success!\n");
12528 rm -f conftest$ac_exeext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12530 (eval $ac_link) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12535 (eval $ac_try) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); }; }; then
12539 ac_cv_mmap64_works="yes"
12541 echo "$as_me: program exited with status $ac_status" >&5
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.$ac_ext >&5
12545 ( exit $ac_status )
12546 ac_cv_mmap64_works="no"
12548 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12551 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12552 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12554 if test "$ac_cv_mmap64_works" = "yes"
12557 cat >>confdefs.h <<\_ACEOF
12558 #define _FILE_OFFSET_BITS 64
12566 if test "x${GCC}" = "xyes"
12568 EXTRACFLAGS="-Wall -pipe"
12570 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12571 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12572 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12575 if test "$cross_compiling" = yes; then
12576 ac_cv_c_gcc_strength_bug="yes"
12578 cat >conftest.$ac_ext <<_ACEOF
12581 cat confdefs.h >>conftest.$ac_ext
12582 cat >>conftest.$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12585 int L[4] = {0,1,2,3};
12587 static int Array[3];
12588 unsigned int B = 3;
12590 for(i=0; i<B; i++) Array[i] = i - 3;
12591 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12594 exit( Array[1] != -2 || L[2] != 3);
12597 rm -f conftest$ac_exeext
12598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12599 (eval $ac_link) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; }; then
12608 ac_cv_c_gcc_strength_bug="no"
12610 echo "$as_me: program exited with status $ac_status" >&5
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.$ac_ext >&5
12614 ( exit $ac_status )
12615 ac_cv_c_gcc_strength_bug="yes"
12617 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12620 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12621 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12622 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12624 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12627 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12628 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12629 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12630 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 ac_wine_try_cflags_saved=$CFLAGS
12633 CFLAGS="$CFLAGS -fshort-wchar"
12634 cat >conftest.$ac_ext <<_ACEOF
12637 cat confdefs.h >>conftest.$ac_ext
12638 cat >>conftest.$ac_ext <<_ACEOF
12639 /* end confdefs.h. */
12649 rm -f conftest.$ac_objext conftest$ac_exeext
12650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12651 (eval $ac_link) 2>conftest.er1
12653 grep -v '^ *+' conftest.er1 >conftest.err
12655 cat conftest.err >&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; } &&
12664 { ac_try='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 ac_cv_c_gcc_fshort_wchar="yes"
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12675 ac_cv_c_gcc_fshort_wchar="no"
12677 rm -f conftest.err conftest.$ac_objext \
12678 conftest$ac_exeext conftest.$ac_ext
12679 CFLAGS=$ac_wine_try_cflags_saved
12681 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12682 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12683 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12686 cat >>confdefs.h <<\_ACEOF
12687 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12692 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12693 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12694 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12695 echo $ECHO_N "(cached) $ECHO_C" >&6
12697 ac_wine_try_cflags_saved=$CFLAGS
12698 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12699 cat >conftest.$ac_ext <<_ACEOF
12702 cat confdefs.h >>conftest.$ac_ext
12703 cat >>conftest.$ac_ext <<_ACEOF
12704 /* end confdefs.h. */
12714 rm -f conftest.$ac_objext conftest$ac_exeext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12716 (eval $ac_link) 2>conftest.er1
12718 grep -v '^ *+' conftest.er1 >conftest.err
12720 cat conftest.err >&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } &&
12723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12725 (eval $ac_try) 2>&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); }; } &&
12729 { ac_try='test -s conftest$ac_exeext'
12730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12731 (eval $ac_try) 2>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); }; }; then
12735 ac_cv_c_gcc_stack_boundary="yes"
12737 echo "$as_me: failed program was:" >&5
12738 sed 's/^/| /' conftest.$ac_ext >&5
12740 ac_cv_c_gcc_stack_boundary="no"
12742 rm -f conftest.err conftest.$ac_objext \
12743 conftest$ac_exeext conftest.$ac_ext
12744 CFLAGS=$ac_wine_try_cflags_saved
12746 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12747 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12748 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12750 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12753 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12754 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12755 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 ac_wine_try_cflags_saved=$CFLAGS
12759 CFLAGS="$CFLAGS -fno-strict-aliasing"
12760 cat >conftest.$ac_ext <<_ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12775 rm -f conftest.$ac_objext conftest$ac_exeext
12776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12777 (eval $ac_link) 2>conftest.er1
12779 grep -v '^ *+' conftest.er1 >conftest.err
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12786 (eval $ac_try) 2>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); }; } &&
12790 { ac_try='test -s conftest$ac_exeext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12796 ac_cv_c_gcc_no_strict_aliasing="yes"
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.$ac_ext >&5
12801 ac_cv_c_gcc_no_strict_aliasing="no"
12803 rm -f conftest.err conftest.$ac_objext \
12804 conftest$ac_exeext conftest.$ac_ext
12805 CFLAGS=$ac_wine_try_cflags_saved
12807 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12808 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12809 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12811 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12814 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12815 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12816 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 ac_wine_try_cflags_saved=$CFLAGS
12820 CFLAGS="$CFLAGS -gstabs+"
12821 cat >conftest.$ac_ext <<_ACEOF
12824 cat confdefs.h >>conftest.$ac_ext
12825 cat >>conftest.$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12836 rm -f conftest.$ac_objext conftest$ac_exeext
12837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12838 (eval $ac_link) 2>conftest.er1
12840 grep -v '^ *+' conftest.er1 >conftest.err
12842 cat conftest.err >&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; } &&
12851 { ac_try='test -s conftest$ac_exeext'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; }; then
12857 ac_cv_c_gcc_gstabs="yes"
12859 echo "$as_me: failed program was:" >&5
12860 sed 's/^/| /' conftest.$ac_ext >&5
12862 ac_cv_c_gcc_gstabs="no"
12864 rm -f conftest.err conftest.$ac_objext \
12865 conftest$ac_exeext conftest.$ac_ext
12866 CFLAGS=$ac_wine_try_cflags_saved
12868 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12869 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12870 if test "$ac_cv_c_gcc_gstabs" = "yes"
12872 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12875 saved_CFLAGS="$CFLAGS"
12876 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12877 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12878 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12879 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12882 cat >conftest.$ac_ext <<_ACEOF
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12888 #include <string.h>
12897 rm -f conftest.$ac_objext
12898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12899 (eval $ac_compile) 2>conftest.er1
12901 grep -v '^ *+' conftest.er1 >conftest.err
12903 cat conftest.err >&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); } &&
12906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; } &&
12912 { ac_try='test -s conftest.$ac_objext'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; }; then
12918 ac_cv_c_string_h_warnings=no
12920 echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.$ac_ext >&5
12923 ac_cv_c_string_h_warnings=yes
12925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12927 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12928 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12929 CFLAGS="$saved_CFLAGS"
12930 if test "$ac_cv_c_string_h_warnings" = "no"
12932 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12937 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12938 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12939 if test "${ac_cv_asm_func_def+set}" = set; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12942 cat >conftest.$ac_ext <<_ACEOF
12945 cat confdefs.h >>conftest.$ac_ext
12946 cat >>conftest.$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12948 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"); }
12958 rm -f conftest.$ac_objext conftest$ac_exeext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12960 (eval $ac_link) 2>conftest.er1
12962 grep -v '^ *+' conftest.er1 >conftest.err
12964 cat conftest.err >&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); } &&
12967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try='test -s conftest$ac_exeext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 ac_cv_asm_func_def=".def"
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12984 cat >conftest.$ac_ext <<_ACEOF
12987 cat confdefs.h >>conftest.$ac_ext
12988 cat >>conftest.$ac_ext <<_ACEOF
12989 /* end confdefs.h. */
12990 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13000 rm -f conftest.$ac_objext conftest$ac_exeext
13001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13002 (eval $ac_link) 2>conftest.er1
13004 grep -v '^ *+' conftest.er1 >conftest.err
13006 cat conftest.err >&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); } &&
13009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; } &&
13015 { ac_try='test -s conftest$ac_exeext'
13016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13017 (eval $ac_try) 2>&5
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); }; }; then
13021 ac_cv_asm_func_def=".type @function"
13023 echo "$as_me: failed program was:" >&5
13024 sed 's/^/| /' conftest.$ac_ext >&5
13026 cat >conftest.$ac_ext <<_ACEOF
13029 cat confdefs.h >>conftest.$ac_ext
13030 cat >>conftest.$ac_ext <<_ACEOF
13031 /* end confdefs.h. */
13032 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13042 rm -f conftest.$ac_objext conftest$ac_exeext
13043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13044 (eval $ac_link) 2>conftest.er1
13046 grep -v '^ *+' conftest.er1 >conftest.err
13048 cat conftest.err >&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; } &&
13057 { ac_try='test -s conftest$ac_exeext'
13058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13059 (eval $ac_try) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); }; }; then
13063 ac_cv_asm_func_def=".type 2"
13065 echo "$as_me: failed program was:" >&5
13066 sed 's/^/| /' conftest.$ac_ext >&5
13068 ac_cv_asm_func_def="unknown"
13070 rm -f conftest.err conftest.$ac_objext \
13071 conftest$ac_exeext conftest.$ac_ext
13073 rm -f conftest.err conftest.$ac_objext \
13074 conftest$ac_exeext conftest.$ac_ext
13076 rm -f conftest.err conftest.$ac_objext \
13077 conftest$ac_exeext conftest.$ac_ext
13079 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13080 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13084 case "$ac_cv_asm_func_def" in
13086 cat >>confdefs.h <<\_ACEOF
13087 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13091 cat >>confdefs.h <<\_ACEOF
13092 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13096 cat >>confdefs.h <<\_ACEOF
13097 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13101 cat >>confdefs.h <<\_ACEOF
13102 #define __ASM_FUNC(name) ""
13108 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13109 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13110 if test "${ac_cv_c_extern_prefix+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 cat >conftest.$ac_ext <<_ACEOF
13116 cat confdefs.h >>conftest.$ac_ext
13117 cat >>conftest.$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13119 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13120 extern int ac_test;
13124 if (ac_test) return 1
13129 rm -f conftest.$ac_objext conftest$ac_exeext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13131 (eval $ac_link) 2>conftest.er1
13133 grep -v '^ *+' conftest.er1 >conftest.err
13135 cat conftest.err >&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try='test -s conftest$ac_exeext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 ac_cv_c_extern_prefix="yes"
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.$ac_ext >&5
13155 ac_cv_c_extern_prefix="no"
13157 rm -f conftest.err conftest.$ac_objext \
13158 conftest$ac_exeext conftest.$ac_ext
13160 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13161 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13165 if test "$ac_cv_c_extern_prefix" = "yes"
13167 cat >>confdefs.h <<\_ACEOF
13168 #define __ASM_NAME(name) "_" name
13172 cat >>confdefs.h <<\_ACEOF
13173 #define __ASM_NAME(name) name
13179 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13180 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13181 if test "${ac_cv_c_asm_string+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13184 cat >conftest.$ac_ext <<_ACEOF
13187 cat confdefs.h >>conftest.$ac_ext
13188 cat >>conftest.$ac_ext <<_ACEOF
13189 /* end confdefs.h. */
13190 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13200 rm -f conftest.$ac_objext conftest$ac_exeext
13201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13202 (eval $ac_link) 2>conftest.er1
13204 grep -v '^ *+' conftest.er1 >conftest.err
13206 cat conftest.err >&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } &&
13209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; } &&
13215 { ac_try='test -s conftest$ac_exeext'
13216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13217 (eval $ac_try) 2>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); }; }; then
13221 ac_cv_c_asm_string=".string"
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.$ac_ext >&5
13226 cat >conftest.$ac_ext <<_ACEOF
13229 cat confdefs.h >>conftest.$ac_ext
13230 cat >>conftest.$ac_ext <<_ACEOF
13231 /* end confdefs.h. */
13232 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13242 rm -f conftest.$ac_objext conftest$ac_exeext
13243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13244 (eval $ac_link) 2>conftest.er1
13246 grep -v '^ *+' conftest.er1 >conftest.err
13248 cat conftest.err >&5
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); } &&
13251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13253 (eval $ac_try) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; } &&
13257 { ac_try='test -s conftest$ac_exeext'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13263 ac_cv_c_asm_string=".asciz"
13265 echo "$as_me: failed program was:" >&5
13266 sed 's/^/| /' conftest.$ac_ext >&5
13268 cat >conftest.$ac_ext <<_ACEOF
13271 cat confdefs.h >>conftest.$ac_ext
13272 cat >>conftest.$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13284 rm -f conftest.$ac_objext conftest$ac_exeext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13286 (eval $ac_link) 2>conftest.er1
13288 grep -v '^ *+' conftest.er1 >conftest.err
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest$ac_exeext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 ac_cv_c_asm_string=".ascii"
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13310 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13311 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13312 { (exit 1); exit 1; }; }
13314 rm -f conftest.err conftest.$ac_objext \
13315 conftest$ac_exeext conftest.$ac_ext
13317 rm -f conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13320 rm -f conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13323 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13324 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13327 cat >>confdefs.h <<_ACEOF
13328 #define __ASM_STRING "$ac_cv_c_asm_string"
13333 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13334 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13335 if test "${ac_cv_c_asm_short+set}" = set; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 cat >conftest.$ac_ext <<_ACEOF
13341 cat confdefs.h >>conftest.$ac_ext
13342 cat >>conftest.$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13344 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13354 rm -f conftest.$ac_objext conftest$ac_exeext
13355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13356 (eval $ac_link) 2>conftest.er1
13358 grep -v '^ *+' conftest.er1 >conftest.err
13360 cat conftest.err >&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); } &&
13363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13365 (eval $ac_try) 2>&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); }; } &&
13369 { ac_try='test -s conftest$ac_exeext'
13370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13371 (eval $ac_try) 2>&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); }; }; then
13375 ac_cv_c_asm_short=".short"
13377 echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.$ac_ext >&5
13380 cat >conftest.$ac_ext <<_ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13386 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13396 rm -f conftest.$ac_objext conftest$ac_exeext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13398 (eval $ac_link) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1 >conftest.err
13402 cat conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13407 (eval $ac_try) 2>&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); }; } &&
13411 { ac_try='test -s conftest$ac_exeext'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; }; then
13417 ac_cv_c_asm_short=".half"
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.$ac_ext >&5
13422 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13423 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13424 { (exit 1); exit 1; }; }
13426 rm -f conftest.err conftest.$ac_objext \
13427 conftest$ac_exeext conftest.$ac_ext
13429 rm -f conftest.err conftest.$ac_objext \
13430 conftest$ac_exeext conftest.$ac_ext
13432 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13433 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13436 cat >>confdefs.h <<_ACEOF
13437 #define __ASM_SHORT "$ac_cv_c_asm_short"
13444 DLLFLAGS="-D_REENTRANT"
13459 if test -n "$ac_tool_prefix"; then
13460 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13461 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13462 echo "$as_me:$LINENO: checking for $ac_word" >&5
13463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13464 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13467 if test -n "$DLLTOOL"; then
13468 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13471 for as_dir in $PATH
13474 test -z "$as_dir" && as_dir=.
13475 for ac_exec_ext in '' $ac_executable_extensions; do
13476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13477 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13486 DLLTOOL=$ac_cv_prog_DLLTOOL
13487 if test -n "$DLLTOOL"; then
13488 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13489 echo "${ECHO_T}$DLLTOOL" >&6
13491 echo "$as_me:$LINENO: result: no" >&5
13492 echo "${ECHO_T}no" >&6
13496 if test -z "$ac_cv_prog_DLLTOOL"; then
13497 ac_ct_DLLTOOL=$DLLTOOL
13498 # Extract the first word of "dlltool", so it can be a program name with args.
13499 set dummy dlltool; ac_word=$2
13500 echo "$as_me:$LINENO: checking for $ac_word" >&5
13501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13502 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 if test -n "$ac_ct_DLLTOOL"; then
13506 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13509 for as_dir in $PATH
13512 test -z "$as_dir" && as_dir=.
13513 for ac_exec_ext in '' $ac_executable_extensions; do
13514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13515 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13522 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13525 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13526 if test -n "$ac_ct_DLLTOOL"; then
13527 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13528 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13530 echo "$as_me:$LINENO: result: no" >&5
13531 echo "${ECHO_T}no" >&6
13534 DLLTOOL=$ac_ct_DLLTOOL
13536 DLLTOOL="$ac_cv_prog_DLLTOOL"
13539 if test -n "$ac_tool_prefix"; then
13540 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13541 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13542 echo "$as_me:$LINENO: checking for $ac_word" >&5
13543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13544 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13547 if test -n "$DLLWRAP"; then
13548 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13551 for as_dir in $PATH
13554 test -z "$as_dir" && as_dir=.
13555 for ac_exec_ext in '' $ac_executable_extensions; do
13556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13557 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13566 DLLWRAP=$ac_cv_prog_DLLWRAP
13567 if test -n "$DLLWRAP"; then
13568 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13569 echo "${ECHO_T}$DLLWRAP" >&6
13571 echo "$as_me:$LINENO: result: no" >&5
13572 echo "${ECHO_T}no" >&6
13576 if test -z "$ac_cv_prog_DLLWRAP"; then
13577 ac_ct_DLLWRAP=$DLLWRAP
13578 # Extract the first word of "dllwrap", so it can be a program name with args.
13579 set dummy dllwrap; ac_word=$2
13580 echo "$as_me:$LINENO: checking for $ac_word" >&5
13581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13582 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 if test -n "$ac_ct_DLLWRAP"; then
13586 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13589 for as_dir in $PATH
13592 test -z "$as_dir" && as_dir=.
13593 for ac_exec_ext in '' $ac_executable_extensions; do
13594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13595 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13602 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13605 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13606 if test -n "$ac_ct_DLLWRAP"; then
13607 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13608 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13610 echo "$as_me:$LINENO: result: no" >&5
13611 echo "${ECHO_T}no" >&6
13614 DLLWRAP=$ac_ct_DLLWRAP
13616 DLLWRAP="$ac_cv_prog_DLLWRAP"
13619 if test "$DLLWRAP" = "false"; then
13628 for ac_header in dlfcn.h
13630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13632 echo "$as_me:$LINENO: checking for $ac_header" >&5
13633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13640 # Is the header compilable?
13641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13643 cat >conftest.$ac_ext <<_ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 $ac_includes_default
13650 #include <$ac_header>
13652 rm -f conftest.$ac_objext
13653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13654 (eval $ac_compile) 2>conftest.er1
13656 grep -v '^ *+' conftest.er1 >conftest.err
13658 cat conftest.err >&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } &&
13661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; } &&
13667 { ac_try='test -s conftest.$ac_objext'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; }; then
13673 ac_header_compiler=yes
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.$ac_ext >&5
13678 ac_header_compiler=no
13680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13682 echo "${ECHO_T}$ac_header_compiler" >&6
13684 # Is the header present?
13685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13687 cat >conftest.$ac_ext <<_ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 #include <$ac_header>
13695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13698 grep -v '^ *+' conftest.er1 >conftest.err
13700 cat conftest.err >&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); } >/dev/null; then
13703 if test -s conftest.err; then
13704 ac_cpp_err=$ac_c_preproc_warn_flag
13705 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13712 if test -z "$ac_cpp_err"; then
13713 ac_header_preproc=yes
13715 echo "$as_me: failed program was:" >&5
13716 sed 's/^/| /' conftest.$ac_ext >&5
13718 ac_header_preproc=no
13720 rm -f conftest.err conftest.$ac_ext
13721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13722 echo "${ECHO_T}$ac_header_preproc" >&6
13724 # So? What about this header?
13725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13731 ac_header_preproc=yes
13734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13748 ## ------------------------------------ ##
13749 ## Report this to wine-devel@winehq.org ##
13750 ## ------------------------------------ ##
13753 sed "s/^/$as_me: WARNING: /" >&2
13756 echo "$as_me:$LINENO: checking for $ac_header" >&5
13757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13759 echo $ECHO_N "(cached) $ECHO_C" >&6
13761 eval "$as_ac_Header=\$ac_header_preproc"
13763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13768 cat >>confdefs.h <<_ACEOF
13769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13772 for ac_func in dlopen
13774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13775 echo "$as_me:$LINENO: checking for $ac_func" >&5
13776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13777 if eval "test \"\${$as_ac_var+set}\" = set"; then
13778 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 cat >conftest.$ac_ext <<_ACEOF
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13788 #define $ac_func innocuous_$ac_func
13790 /* System header to define __stub macros and hopefully few prototypes,
13791 which can conflict with char $ac_func (); below.
13792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13793 <limits.h> exists even on freestanding compilers. */
13796 # include <limits.h>
13798 # include <assert.h>
13803 /* Override any gcc2 internal prototype to avoid an error. */
13808 /* We use char because int might match the return type of a gcc2
13809 builtin and then its argument prototype would still apply. */
13811 /* The GNU C library defines this for functions which it implements
13812 to always fail with ENOSYS. Some functions are actually named
13813 something starting with __ and the normal name is an alias. */
13814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13817 char (*f) () = $ac_func;
13826 return f != $ac_func;
13831 rm -f conftest.$ac_objext conftest$ac_exeext
13832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13833 (eval $ac_link) 2>conftest.er1
13835 grep -v '^ *+' conftest.er1 >conftest.err
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } &&
13840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842 (eval $ac_try) 2>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; } &&
13846 { ac_try='test -s conftest$ac_exeext'
13847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13848 (eval $ac_try) 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; }; then
13852 eval "$as_ac_var=yes"
13854 echo "$as_me: failed program was:" >&5
13855 sed 's/^/| /' conftest.$ac_ext >&5
13857 eval "$as_ac_var=no"
13859 rm -f conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13864 if test `eval echo '${'$as_ac_var'}'` = yes; then
13865 cat >>confdefs.h <<_ACEOF
13866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13870 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13871 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13872 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 ac_check_lib_save_LIBS=$LIBS
13877 cat >conftest.$ac_ext <<_ACEOF
13880 cat confdefs.h >>conftest.$ac_ext
13881 cat >>conftest.$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13884 /* Override any gcc2 internal prototype to avoid an error. */
13888 /* We use char because int might match the return type of a gcc2
13889 builtin and then its argument prototype would still apply. */
13899 rm -f conftest.$ac_objext conftest$ac_exeext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13901 (eval $ac_link) 2>conftest.er1
13903 grep -v '^ *+' conftest.er1 >conftest.err
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try='test -s conftest$ac_exeext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_cv_lib_dl_dlopen=yes
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.$ac_ext >&5
13925 ac_cv_lib_dl_dlopen=no
13927 rm -f conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 LIBS=$ac_check_lib_save_LIBS
13931 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13932 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13933 if test $ac_cv_lib_dl_dlopen = yes; then
13935 cat >>confdefs.h <<\_ACEOF
13936 #define HAVE_DLOPEN 1
13954 if test "$LIBEXT" = "so"
13956 DLLFLAGS="$DLLFLAGS -fPIC"
13958 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13959 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13960 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 ac_wine_try_cflags_saved=$CFLAGS
13964 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13965 cat >conftest.$ac_ext <<_ACEOF
13968 cat confdefs.h >>conftest.$ac_ext
13969 cat >>conftest.$ac_ext <<_ACEOF
13970 /* end confdefs.h. */
13980 rm -f conftest.$ac_objext conftest$ac_exeext
13981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13982 (eval $ac_link) 2>conftest.er1
13984 grep -v '^ *+' conftest.er1 >conftest.err
13986 cat conftest.err >&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } &&
13989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; } &&
13995 { ac_try='test -s conftest$ac_exeext'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14001 ac_cv_c_dll_gnuelf="yes"
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.$ac_ext >&5
14006 ac_cv_c_dll_gnuelf="no"
14008 rm -f conftest.err conftest.$ac_objext \
14009 conftest$ac_exeext conftest.$ac_ext
14010 CFLAGS=$ac_wine_try_cflags_saved
14012 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14013 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
14014 if test "$ac_cv_c_dll_gnuelf" = "yes"
14016 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14017 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
14018 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14019 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
14020 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14021 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 ac_wine_try_cflags_saved=$CFLAGS
14024 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14025 cat >conftest.$ac_ext <<_ACEOF
14028 cat confdefs.h >>conftest.$ac_ext
14029 cat >>conftest.$ac_ext <<_ACEOF
14030 /* end confdefs.h. */
14040 rm -f conftest.$ac_objext conftest$ac_exeext
14041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14042 (eval $ac_link) 2>conftest.er1
14044 grep -v '^ *+' conftest.er1 >conftest.err
14046 cat conftest.err >&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); } &&
14049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14051 (eval $ac_try) 2>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); }; } &&
14055 { ac_try='test -s conftest$ac_exeext'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; }; then
14061 ac_cv_c_dll_zdefs="yes"
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.$ac_ext >&5
14066 ac_cv_c_dll_zdefs="no"
14068 rm -f conftest.err conftest.$ac_objext \
14069 conftest$ac_exeext conftest.$ac_ext
14070 CFLAGS=$ac_wine_try_cflags_saved
14072 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14073 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14074 if test "$ac_cv_c_dll_zdefs" = "yes"
14076 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
14079 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14080 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14081 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 ac_wine_try_cflags_saved=$CFLAGS
14085 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14086 cat >conftest.$ac_ext <<_ACEOF
14089 cat confdefs.h >>conftest.$ac_ext
14090 cat >>conftest.$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14101 rm -f conftest.$ac_objext conftest$ac_exeext
14102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14103 (eval $ac_link) 2>conftest.er1
14105 grep -v '^ *+' conftest.er1 >conftest.err
14107 cat conftest.err >&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); } &&
14110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112 (eval $ac_try) 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; } &&
14116 { ac_try='test -s conftest$ac_exeext'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; }; then
14122 ac_cv_c_dll_init_fini="yes"
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.$ac_ext >&5
14127 ac_cv_c_dll_init_fini="no"
14129 rm -f conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14131 CFLAGS=$ac_wine_try_cflags_saved
14133 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14134 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14135 if test "$ac_cv_c_dll_init_fini" = "yes"
14137 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14140 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14141 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14142 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 echo '{ global: *; };' >conftest.map
14146 ac_wine_try_cflags_saved=$CFLAGS
14147 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14148 cat >conftest.$ac_ext <<_ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14163 rm -f conftest.$ac_objext conftest$ac_exeext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14165 (eval $ac_link) 2>conftest.er1
14167 grep -v '^ *+' conftest.er1 >conftest.err
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; } &&
14178 { ac_try='test -s conftest$ac_exeext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 ac_cv_c_ld_version_scripts="yes"
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14189 ac_cv_c_ld_version_scripts="no"
14191 rm -f conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 CFLAGS=$ac_wine_try_cflags_saved
14196 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14197 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14198 if test "$ac_cv_c_ld_version_scripts" = "yes"
14200 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14203 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14204 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14205 if test "${ac_cv_c_export_dynamic+set}" = set; then
14206 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 ac_wine_try_cflags_saved=$CFLAGS
14209 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
14210 cat >conftest.$ac_ext <<_ACEOF
14213 cat confdefs.h >>conftest.$ac_ext
14214 cat >>conftest.$ac_ext <<_ACEOF
14215 /* end confdefs.h. */
14225 rm -f conftest.$ac_objext conftest$ac_exeext
14226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14227 (eval $ac_link) 2>conftest.er1
14229 grep -v '^ *+' conftest.er1 >conftest.err
14231 cat conftest.err >&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); } &&
14234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try='test -s conftest$ac_exeext'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; }; then
14246 ac_cv_c_export_dynamic="yes"
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.$ac_ext >&5
14251 ac_cv_c_export_dynamic="no"
14253 rm -f conftest.err conftest.$ac_objext \
14254 conftest$ac_exeext conftest.$ac_ext
14255 CFLAGS=$ac_wine_try_cflags_saved
14257 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14258 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14259 if test "$ac_cv_c_export_dynamic" = "yes"
14261 LDEXECFLAGS="-Wl,--export-dynamic"
14267 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
14268 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
14269 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 saved_CFLAGS="$CFLAGS"
14273 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x00110400"
14274 if test "$cross_compiling" = yes; then
14275 ac_cv_ld_reloc_exec="no"
14277 cat >conftest.$ac_ext <<_ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14283 #include <unistd.h>
14284 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
14286 rm -f conftest$ac_exeext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14288 (eval $ac_link) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14293 (eval $ac_try) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }; }; then
14297 ac_cv_ld_reloc_exec="yes"
14299 echo "$as_me: program exited with status $ac_status" >&5
14300 echo "$as_me: failed program was:" >&5
14301 sed 's/^/| /' conftest.$ac_ext >&5
14303 ( exit $ac_status )
14304 ac_cv_ld_reloc_exec="no"
14306 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14308 CFLAGS="$saved_CFLAGS"
14310 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14311 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14312 if test "$ac_cv_ld_reloc_exec" = "yes"
14314 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
14320 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14321 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14322 if test "${ac_cv_c_dll_unixware+set}" = set; then
14323 echo $ECHO_N "(cached) $ECHO_C" >&6
14325 ac_wine_try_cflags_saved=$CFLAGS
14326 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14327 cat >conftest.$ac_ext <<_ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14342 rm -f conftest.$ac_objext conftest$ac_exeext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14344 (eval $ac_link) 2>conftest.er1
14346 grep -v '^ *+' conftest.er1 >conftest.err
14348 cat conftest.err >&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } &&
14351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353 (eval $ac_try) 2>&5
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); }; } &&
14357 { ac_try='test -s conftest$ac_exeext'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; }; then
14363 ac_cv_c_dll_unixware="yes"
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.$ac_ext >&5
14368 ac_cv_c_dll_unixware="no"
14370 rm -f conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14372 CFLAGS=$ac_wine_try_cflags_saved
14374 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14375 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14376 if test "$ac_cv_c_dll_unixware" = "yes"
14378 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14379 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14382 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14383 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14384 if test "${ac_cv_c_dll_macho+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 ac_wine_try_cflags_saved=$CFLAGS
14388 CFLAGS="$CFLAGS -bundle"
14389 cat >conftest.$ac_ext <<_ACEOF
14392 cat confdefs.h >>conftest.$ac_ext
14393 cat >>conftest.$ac_ext <<_ACEOF
14394 /* end confdefs.h. */
14404 rm -f conftest.$ac_objext conftest$ac_exeext
14405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14406 (eval $ac_link) 2>conftest.er1
14408 grep -v '^ *+' conftest.er1 >conftest.err
14410 cat conftest.err >&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); } &&
14413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415 (eval $ac_try) 2>&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }; } &&
14419 { ac_try='test -s conftest$ac_exeext'
14420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14421 (eval $ac_try) 2>&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); }; }; then
14425 ac_cv_c_dll_macho="yes"
14427 echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.$ac_ext >&5
14430 ac_cv_c_dll_macho="no"
14432 rm -f conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14434 CFLAGS=$ac_wine_try_cflags_saved
14436 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14437 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14438 if test "$ac_cv_c_dll_macho" = "yes"
14441 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
14442 LDSHARED="\$(CC) -dynamiclib"
14443 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14451 if test "$cross_compiling" = "no"
14453 for ac_prog in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14455 # Extract the first word of "$ac_prog", so it can be a program name with args.
14456 set dummy $ac_prog; ac_word=$2
14457 echo "$as_me:$LINENO: checking for $ac_word" >&5
14458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14459 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 if test -n "$CROSSCC"; then
14463 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14466 for as_dir in $PATH
14469 test -z "$as_dir" && as_dir=.
14470 for ac_exec_ext in '' $ac_executable_extensions; do
14471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14472 ac_cv_prog_CROSSCC="$ac_prog"
14473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14481 CROSSCC=$ac_cv_prog_CROSSCC
14482 if test -n "$CROSSCC"; then
14483 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14484 echo "${ECHO_T}$CROSSCC" >&6
14486 echo "$as_me:$LINENO: result: no" >&5
14487 echo "${ECHO_T}no" >&6
14490 test -n "$CROSSCC" && break
14492 test -n "$CROSSCC" || CROSSCC="false"
14494 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14496 # Extract the first word of "$ac_prog", so it can be a program name with args.
14497 set dummy $ac_prog; ac_word=$2
14498 echo "$as_me:$LINENO: checking for $ac_word" >&5
14499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14500 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 if test -n "$DLLTOOL"; then
14504 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14507 for as_dir in $PATH
14510 test -z "$as_dir" && as_dir=.
14511 for ac_exec_ext in '' $ac_executable_extensions; do
14512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14513 ac_cv_prog_DLLTOOL="$ac_prog"
14514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14522 DLLTOOL=$ac_cv_prog_DLLTOOL
14523 if test -n "$DLLTOOL"; then
14524 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14525 echo "${ECHO_T}$DLLTOOL" >&6
14527 echo "$as_me:$LINENO: result: no" >&5
14528 echo "${ECHO_T}no" >&6
14531 test -n "$DLLTOOL" && break
14533 test -n "$DLLTOOL" || DLLTOOL="false"
14535 for ac_prog in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14537 # Extract the first word of "$ac_prog", so it can be a program name with args.
14538 set dummy $ac_prog; ac_word=$2
14539 echo "$as_me:$LINENO: checking for $ac_word" >&5
14540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14541 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 if test -n "$CROSSWINDRES"; then
14545 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14548 for as_dir in $PATH
14551 test -z "$as_dir" && as_dir=.
14552 for ac_exec_ext in '' $ac_executable_extensions; do
14553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14554 ac_cv_prog_CROSSWINDRES="$ac_prog"
14555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14563 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14564 if test -n "$CROSSWINDRES"; then
14565 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14566 echo "${ECHO_T}$CROSSWINDRES" >&6
14568 echo "$as_me:$LINENO: result: no" >&5
14569 echo "${ECHO_T}no" >&6
14572 test -n "$CROSSWINDRES" && break
14574 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14576 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14581 if test "$LIBEXT" = "a"; then
14582 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14583 It is currently not possible to build Wine without shared library
14584 (.so) support to allow transparent switch between .so and .dll files.
14585 If you are using Linux, you will need a newer binutils.
14587 echo "$as_me: error: could not find a way to build shared libraries.
14588 It is currently not possible to build Wine without shared library
14589 (.so) support to allow transparent switch between .so and .dll files.
14590 If you are using Linux, you will need a newer binutils.
14592 { (exit 1); exit 1; }; }
14597 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14600 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14603 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14615 WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14617 MAIN_BINARY="wine-glibc"
14621 WINE_BINARIES="wine-kthread"
14623 MAIN_BINARY="wine-kthread"
14629 if test "$LIBEXT" = "so"
14631 # Extract the first word of "ldd", so it can be a program name with args.
14632 set dummy ldd; ac_word=$2
14633 echo "$as_me:$LINENO: checking for $ac_word" >&5
14634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14635 if test "${ac_cv_path_LDD+set}" = set; then
14636 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14644 as_dummy="/sbin:/usr/sbin:$PATH"
14645 for as_dir in $as_dummy
14648 test -z "$as_dir" && as_dir=.
14649 for ac_exec_ext in '' $ac_executable_extensions; do
14650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14651 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14658 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14662 LDD=$ac_cv_path_LDD
14664 if test -n "$LDD"; then
14665 echo "$as_me:$LINENO: result: $LDD" >&5
14666 echo "${ECHO_T}$LDD" >&6
14668 echo "$as_me:$LINENO: result: no" >&5
14669 echo "${ECHO_T}no" >&6
14673 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14674 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14675 if test "${ac_cv_lib_soname_X11+set}" = set; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 ac_get_soname_save_LIBS=$LIBS
14679 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14680 cat >conftest.$ac_ext <<_ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h. */
14687 /* Override any gcc2 internal prototype to avoid an error. */
14691 /* We use char because int might match the return type of a gcc2
14692 builtin and then its argument prototype would still apply. */
14693 char XCreateWindow ();
14702 rm -f conftest.$ac_objext conftest$ac_exeext
14703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14704 (eval $ac_link) 2>conftest.er1
14706 grep -v '^ *+' conftest.er1 >conftest.err
14708 cat conftest.err >&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } &&
14711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14713 (eval $ac_try) 2>&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); }; } &&
14717 { ac_try='test -s conftest$ac_exeext'
14718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14719 (eval $ac_try) 2>&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); }; }; then
14723 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14724 if test "x$ac_cv_lib_soname_X11" = "x"
14726 ac_cv_lib_soname_X11="libX11.so"
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.$ac_ext >&5
14732 ac_cv_lib_soname_X11="libX11.so"
14734 rm -f conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 LIBS=$ac_get_soname_save_LIBS
14738 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14739 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14740 if test "x$ac_cv_lib_soname_X11" != xNONE
14742 cat >>confdefs.h <<_ACEOF
14743 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14747 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14748 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14749 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 ac_get_soname_save_LIBS=$LIBS
14753 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14754 cat >conftest.$ac_ext <<_ACEOF
14757 cat confdefs.h >>conftest.$ac_ext
14758 cat >>conftest.$ac_ext <<_ACEOF
14759 /* end confdefs.h. */
14761 /* Override any gcc2 internal prototype to avoid an error. */
14765 /* We use char because int might match the return type of a gcc2
14766 builtin and then its argument prototype would still apply. */
14767 char XextCreateExtension ();
14771 XextCreateExtension ();
14776 rm -f conftest.$ac_objext conftest$ac_exeext
14777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14778 (eval $ac_link) 2>conftest.er1
14780 grep -v '^ *+' conftest.er1 >conftest.err
14782 cat conftest.err >&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } &&
14785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); }; } &&
14791 { ac_try='test -s conftest$ac_exeext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14797 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14798 if test "x$ac_cv_lib_soname_Xext" = "x"
14800 ac_cv_lib_soname_Xext="libXext.so"
14803 echo "$as_me: failed program was:" >&5
14804 sed 's/^/| /' conftest.$ac_ext >&5
14806 ac_cv_lib_soname_Xext="libXext.so"
14808 rm -f conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14810 LIBS=$ac_get_soname_save_LIBS
14812 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14813 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14814 if test "x$ac_cv_lib_soname_Xext" != xNONE
14816 cat >>confdefs.h <<_ACEOF
14817 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14821 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14822 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14823 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14826 ac_get_soname_save_LIBS=$LIBS
14827 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14828 cat >conftest.$ac_ext <<_ACEOF
14831 cat confdefs.h >>conftest.$ac_ext
14832 cat >>conftest.$ac_ext <<_ACEOF
14833 /* end confdefs.h. */
14835 /* Override any gcc2 internal prototype to avoid an error. */
14839 /* We use char because int might match the return type of a gcc2
14840 builtin and then its argument prototype would still apply. */
14841 char XOpenDevice ();
14850 rm -f conftest.$ac_objext conftest$ac_exeext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14852 (eval $ac_link) 2>conftest.er1
14854 grep -v '^ *+' conftest.er1 >conftest.err
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; } &&
14865 { ac_try='test -s conftest$ac_exeext'
14866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14867 (eval $ac_try) 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; }; then
14871 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14872 if test "x$ac_cv_lib_soname_Xi" = "x"
14874 ac_cv_lib_soname_Xi="libXi.so"
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.$ac_ext >&5
14880 ac_cv_lib_soname_Xi="libXi.so"
14882 rm -f conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_get_soname_save_LIBS
14886 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14887 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14888 if test "x$ac_cv_lib_soname_Xi" != xNONE
14890 cat >>confdefs.h <<_ACEOF
14891 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14895 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14896 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14897 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14900 ac_get_soname_save_LIBS=$LIBS
14901 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14902 cat >conftest.$ac_ext <<_ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14909 /* Override any gcc2 internal prototype to avoid an error. */
14913 /* We use char because int might match the return type of a gcc2
14914 builtin and then its argument prototype would still apply. */
14915 char XRenderQueryExtension ();
14919 XRenderQueryExtension ();
14924 rm -f conftest.$ac_objext conftest$ac_exeext
14925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14926 (eval $ac_link) 2>conftest.er1
14928 grep -v '^ *+' conftest.er1 >conftest.err
14930 cat conftest.err >&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } &&
14933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; } &&
14939 { ac_try='test -s conftest$ac_exeext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14946 if test "x$ac_cv_lib_soname_Xrender" = "x"
14948 ac_cv_lib_soname_Xrender="libXrender.so"
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.$ac_ext >&5
14954 ac_cv_lib_soname_Xrender="libXrender.so"
14956 rm -f conftest.err conftest.$ac_objext \
14957 conftest$ac_exeext conftest.$ac_ext
14958 LIBS=$ac_get_soname_save_LIBS
14960 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14961 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14962 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14964 cat >>confdefs.h <<_ACEOF
14965 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14969 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14970 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14971 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14972 echo $ECHO_N "(cached) $ECHO_C" >&6
14974 ac_get_soname_save_LIBS=$LIBS
14975 LIBS="-lfreetype $X_LIBS $LIBS"
14976 cat >conftest.$ac_ext <<_ACEOF
14979 cat confdefs.h >>conftest.$ac_ext
14980 cat >>conftest.$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14983 /* Override any gcc2 internal prototype to avoid an error. */
14987 /* We use char because int might match the return type of a gcc2
14988 builtin and then its argument prototype would still apply. */
14989 char FT_Init_FreeType ();
14993 FT_Init_FreeType ();
14998 rm -f conftest.$ac_objext conftest$ac_exeext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15000 (eval $ac_link) 2>conftest.er1
15002 grep -v '^ *+' conftest.er1 >conftest.err
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; } &&
15013 { ac_try='test -s conftest$ac_exeext'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; }; then
15019 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
15020 if test "x$ac_cv_lib_soname_freetype" = "x"
15022 ac_cv_lib_soname_freetype="libfreetype.so"
15025 echo "$as_me: failed program was:" >&5
15026 sed 's/^/| /' conftest.$ac_ext >&5
15028 ac_cv_lib_soname_freetype="libfreetype.so"
15030 rm -f conftest.err conftest.$ac_objext \
15031 conftest$ac_exeext conftest.$ac_ext
15032 LIBS=$ac_get_soname_save_LIBS
15034 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15035 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
15036 if test "x$ac_cv_lib_soname_freetype" != xNONE
15038 cat >>confdefs.h <<_ACEOF
15039 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15043 echo "$as_me:$LINENO: checking for -lGL soname" >&5
15044 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
15045 if test "${ac_cv_lib_soname_GL+set}" = set; then
15046 echo $ECHO_N "(cached) $ECHO_C" >&6
15048 ac_get_soname_save_LIBS=$LIBS
15049 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15050 cat >conftest.$ac_ext <<_ACEOF
15053 cat confdefs.h >>conftest.$ac_ext
15054 cat >>conftest.$ac_ext <<_ACEOF
15055 /* end confdefs.h. */
15057 /* Override any gcc2 internal prototype to avoid an error. */
15061 /* We use char because int might match the return type of a gcc2
15062 builtin and then its argument prototype would still apply. */
15063 char glXQueryExtension ();
15067 glXQueryExtension ();
15072 rm -f conftest.$ac_objext conftest$ac_exeext
15073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15074 (eval $ac_link) 2>conftest.er1
15076 grep -v '^ *+' conftest.er1 >conftest.err
15078 cat conftest.err >&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); } &&
15081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest$ac_exeext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
15094 if test "x$ac_cv_lib_soname_GL" = "x"
15096 ac_cv_lib_soname_GL="libGL.so"
15099 echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.$ac_ext >&5
15102 ac_cv_lib_soname_GL="libGL.so"
15104 rm -f conftest.err conftest.$ac_objext \
15105 conftest$ac_exeext conftest.$ac_ext
15106 LIBS=$ac_get_soname_save_LIBS
15108 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15109 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15110 if test "x$ac_cv_lib_soname_GL" != xNONE
15112 cat >>confdefs.h <<_ACEOF
15113 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15117 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15118 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15119 if test "${ac_cv_lib_soname_cups+set}" = set; then
15120 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 ac_get_soname_save_LIBS=$LIBS
15123 LIBS="-lcups $LIBS"
15124 cat >conftest.$ac_ext <<_ACEOF
15127 cat confdefs.h >>conftest.$ac_ext
15128 cat >>conftest.$ac_ext <<_ACEOF
15129 /* end confdefs.h. */
15131 /* Override any gcc2 internal prototype to avoid an error. */
15135 /* We use char because int might match the return type of a gcc2
15136 builtin and then its argument prototype would still apply. */
15137 char cupsGetDefault ();
15146 rm -f conftest.$ac_objext conftest$ac_exeext
15147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15148 (eval $ac_link) 2>conftest.er1
15150 grep -v '^ *+' conftest.er1 >conftest.err
15152 cat conftest.err >&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } &&
15155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; } &&
15161 { ac_try='test -s conftest$ac_exeext'
15162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15163 (eval $ac_try) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); }; }; then
15167 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
15168 if test "x$ac_cv_lib_soname_cups" = "x"
15170 ac_cv_lib_soname_cups="libcups.so"
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.$ac_ext >&5
15176 ac_cv_lib_soname_cups="libcups.so"
15178 rm -f conftest.err conftest.$ac_objext \
15179 conftest$ac_exeext conftest.$ac_ext
15180 LIBS=$ac_get_soname_save_LIBS
15182 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15183 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15184 if test "x$ac_cv_lib_soname_cups" != xNONE
15186 cat >>confdefs.h <<_ACEOF
15187 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15191 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15192 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15193 if test "${ac_cv_lib_soname_jack+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 ac_get_soname_save_LIBS=$LIBS
15197 LIBS="-ljack $LIBS"
15198 cat >conftest.$ac_ext <<_ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15205 /* Override any gcc2 internal prototype to avoid an error. */
15209 /* We use char because int might match the return type of a gcc2
15210 builtin and then its argument prototype would still apply. */
15211 char jack_client_new ();
15215 jack_client_new ();
15220 rm -f conftest.$ac_objext conftest$ac_exeext
15221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15222 (eval $ac_link) 2>conftest.er1
15224 grep -v '^ *+' conftest.er1 >conftest.err
15226 cat conftest.err >&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); } &&
15229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15231 (eval $ac_try) 2>&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; } &&
15235 { ac_try='test -s conftest$ac_exeext'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; }; then
15241 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
15242 if test "x$ac_cv_lib_soname_jack" = "x"
15244 ac_cv_lib_soname_jack="libjack.so"
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15250 ac_cv_lib_soname_jack="libjack.so"
15252 rm -f conftest.err conftest.$ac_objext \
15253 conftest$ac_exeext conftest.$ac_ext
15254 LIBS=$ac_get_soname_save_LIBS
15256 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15257 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15258 if test "x$ac_cv_lib_soname_jack" != xNONE
15260 cat >>confdefs.h <<_ACEOF
15261 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15265 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15266 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15267 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 ac_get_soname_save_LIBS=$LIBS
15271 LIBS="-lfontconfig $LIBS"
15272 cat >conftest.$ac_ext <<_ACEOF
15275 cat confdefs.h >>conftest.$ac_ext
15276 cat >>conftest.$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15279 /* Override any gcc2 internal prototype to avoid an error. */
15283 /* We use char because int might match the return type of a gcc2
15284 builtin and then its argument prototype would still apply. */
15294 rm -f conftest.$ac_objext conftest$ac_exeext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15296 (eval $ac_link) 2>conftest.er1
15298 grep -v '^ *+' conftest.er1 >conftest.err
15300 cat conftest.err >&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); } &&
15303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; } &&
15309 { ac_try='test -s conftest$ac_exeext'
15310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15311 (eval $ac_try) 2>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); }; }; then
15315 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
15316 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15318 ac_cv_lib_soname_fontconfig="libfontconfig.so"
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.$ac_ext >&5
15324 ac_cv_lib_soname_fontconfig="libfontconfig.so"
15326 rm -f conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328 LIBS=$ac_get_soname_save_LIBS
15330 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15331 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15332 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15334 cat >>confdefs.h <<_ACEOF
15335 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15339 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15340 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15341 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15344 ac_get_soname_save_LIBS=$LIBS
15346 cat >conftest.$ac_ext <<_ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15353 /* Override any gcc2 internal prototype to avoid an error. */
15357 /* We use char because int might match the return type of a gcc2
15358 builtin and then its argument prototype would still apply. */
15359 char SSL_library_init ();
15363 SSL_library_init ();
15368 rm -f conftest.$ac_objext conftest$ac_exeext
15369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370 (eval $ac_link) 2>conftest.er1
15372 grep -v '^ *+' conftest.er1 >conftest.err
15374 cat conftest.err >&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } &&
15377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; } &&
15383 { ac_try='test -s conftest$ac_exeext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
15390 if test "x$ac_cv_lib_soname_ssl" = "x"
15392 ac_cv_lib_soname_ssl="libssl.so"
15395 echo "$as_me: failed program was:" >&5
15396 sed 's/^/| /' conftest.$ac_ext >&5
15398 ac_cv_lib_soname_ssl="libssl.so"
15400 rm -f conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_get_soname_save_LIBS
15404 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15405 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15406 if test "x$ac_cv_lib_soname_ssl" != xNONE
15408 cat >>confdefs.h <<_ACEOF
15409 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15413 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15414 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15415 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 ac_get_soname_save_LIBS=$LIBS
15419 LIBS="-lcrypto $LIBS"
15420 cat >conftest.$ac_ext <<_ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15427 /* Override any gcc2 internal prototype to avoid an error. */
15431 /* We use char because int might match the return type of a gcc2
15432 builtin and then its argument prototype would still apply. */
15433 char BIO_new_socket ();
15442 rm -f conftest.$ac_objext conftest$ac_exeext
15443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15444 (eval $ac_link) 2>conftest.er1
15446 grep -v '^ *+' conftest.er1 >conftest.err
15448 cat conftest.err >&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } &&
15451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; } &&
15457 { ac_try='test -s conftest$ac_exeext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
15464 if test "x$ac_cv_lib_soname_crypto" = "x"
15466 ac_cv_lib_soname_crypto="libcrypto.so"
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15472 ac_cv_lib_soname_crypto="libcrypto.so"
15474 rm -f conftest.err conftest.$ac_objext \
15475 conftest$ac_exeext conftest.$ac_ext
15476 LIBS=$ac_get_soname_save_LIBS
15478 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15479 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15480 if test "x$ac_cv_lib_soname_crypto" != xNONE
15482 cat >>confdefs.h <<_ACEOF
15483 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15487 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15488 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15489 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 ac_get_soname_save_LIBS=$LIBS
15493 LIBS="-lncurses $LIBS"
15494 cat >conftest.$ac_ext <<_ACEOF
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15501 /* Override any gcc2 internal prototype to avoid an error. */
15505 /* We use char because int might match the return type of a gcc2
15506 builtin and then its argument prototype would still apply. */
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15518 (eval $ac_link) 2>conftest.er1
15520 grep -v '^ *+' conftest.er1 >conftest.err
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } &&
15525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527 (eval $ac_try) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); }; } &&
15531 { ac_try='test -s conftest$ac_exeext'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; }; then
15537 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15538 if test "x$ac_cv_lib_soname_ncurses" = "x"
15540 ac_cv_lib_soname_ncurses="libncurses.so"
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.$ac_ext >&5
15546 ac_cv_lib_soname_ncurses="libncurses.so"
15548 rm -f conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_get_soname_save_LIBS
15552 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15553 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15554 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15556 cat >>confdefs.h <<_ACEOF
15557 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15561 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15562 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15563 if test "${ac_cv_lib_soname_curses+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15566 ac_get_soname_save_LIBS=$LIBS
15567 LIBS="-lcurses $LIBS"
15568 cat >conftest.$ac_ext <<_ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15575 /* Override any gcc2 internal prototype to avoid an error. */
15579 /* We use char because int might match the return type of a gcc2
15580 builtin and then its argument prototype would still apply. */
15590 rm -f conftest.$ac_objext conftest$ac_exeext
15591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15592 (eval $ac_link) 2>conftest.er1
15594 grep -v '^ *+' conftest.er1 >conftest.err
15596 cat conftest.err >&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } &&
15599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15601 (eval $ac_try) 2>&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); }; } &&
15605 { ac_try='test -s conftest$ac_exeext'
15606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607 (eval $ac_try) 2>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; }; then
15611 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15612 if test "x$ac_cv_lib_soname_curses" = "x"
15614 ac_cv_lib_soname_curses="libcurses.so"
15617 echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.$ac_ext >&5
15620 ac_cv_lib_soname_curses="libcurses.so"
15622 rm -f conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_get_soname_save_LIBS
15626 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15627 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15628 if test "x$ac_cv_lib_soname_curses" != xNONE
15630 cat >>confdefs.h <<_ACEOF
15631 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15638 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15639 # for constant arguments. Useless!
15640 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15641 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15642 if test "${ac_cv_working_alloca_h+set}" = set; then
15643 echo $ECHO_N "(cached) $ECHO_C" >&6
15645 cat >conftest.$ac_ext <<_ACEOF
15648 cat confdefs.h >>conftest.$ac_ext
15649 cat >>conftest.$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15651 #include <alloca.h>
15655 char *p = (char *) alloca (2 * sizeof (int));
15660 rm -f conftest.$ac_objext conftest$ac_exeext
15661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15662 (eval $ac_link) 2>conftest.er1
15664 grep -v '^ *+' conftest.er1 >conftest.err
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671 (eval $ac_try) 2>&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; } &&
15675 { ac_try='test -s conftest$ac_exeext'
15676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15677 (eval $ac_try) 2>&5
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); }; }; then
15681 ac_cv_working_alloca_h=yes
15683 echo "$as_me: failed program was:" >&5
15684 sed 's/^/| /' conftest.$ac_ext >&5
15686 ac_cv_working_alloca_h=no
15688 rm -f conftest.err conftest.$ac_objext \
15689 conftest$ac_exeext conftest.$ac_ext
15691 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15692 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15693 if test $ac_cv_working_alloca_h = yes; then
15695 cat >>confdefs.h <<\_ACEOF
15696 #define HAVE_ALLOCA_H 1
15701 echo "$as_me:$LINENO: checking for alloca" >&5
15702 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15703 if test "${ac_cv_func_alloca_works+set}" = set; then
15704 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 cat >conftest.$ac_ext <<_ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15713 # define alloca __builtin_alloca
15716 # include <malloc.h>
15717 # define alloca _alloca
15720 # include <alloca.h>
15725 # ifndef alloca /* predefined by HP cc +Olibcalls */
15736 char *p = (char *) alloca (1);
15741 rm -f conftest.$ac_objext conftest$ac_exeext
15742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15743 (eval $ac_link) 2>conftest.er1
15745 grep -v '^ *+' conftest.er1 >conftest.err
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } &&
15750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; } &&
15756 { ac_try='test -s conftest$ac_exeext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15762 ac_cv_func_alloca_works=yes
15764 echo "$as_me: failed program was:" >&5
15765 sed 's/^/| /' conftest.$ac_ext >&5
15767 ac_cv_func_alloca_works=no
15769 rm -f conftest.err conftest.$ac_objext \
15770 conftest$ac_exeext conftest.$ac_ext
15772 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15773 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15775 if test $ac_cv_func_alloca_works = yes; then
15777 cat >>confdefs.h <<\_ACEOF
15778 #define HAVE_ALLOCA 1
15782 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15783 # that cause trouble. Some versions do not even contain alloca or
15784 # contain a buggy version. If you still want to use their alloca,
15785 # use ar to extract alloca.o from them instead of compiling alloca.c.
15787 ALLOCA=alloca.$ac_objext
15789 cat >>confdefs.h <<\_ACEOF
15794 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15795 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15796 if test "${ac_cv_os_cray+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 cat >conftest.$ac_ext <<_ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805 #if defined(CRAY) && ! defined(CRAY2)
15812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15813 $EGREP "webecray" >/dev/null 2>&1; then
15821 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15822 echo "${ECHO_T}$ac_cv_os_cray" >&6
15823 if test $ac_cv_os_cray = yes; then
15824 for ac_func in _getb67 GETB67 getb67; do
15825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15826 echo "$as_me:$LINENO: checking for $ac_func" >&5
15827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15828 if eval "test \"\${$as_ac_var+set}\" = set"; then
15829 echo $ECHO_N "(cached) $ECHO_C" >&6
15831 cat >conftest.$ac_ext <<_ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15839 #define $ac_func innocuous_$ac_func
15841 /* System header to define __stub macros and hopefully few prototypes,
15842 which can conflict with char $ac_func (); below.
15843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15844 <limits.h> exists even on freestanding compilers. */
15847 # include <limits.h>
15849 # include <assert.h>
15854 /* Override any gcc2 internal prototype to avoid an error. */
15859 /* We use char because int might match the return type of a gcc2
15860 builtin and then its argument prototype would still apply. */
15862 /* The GNU C library defines this for functions which it implements
15863 to always fail with ENOSYS. Some functions are actually named
15864 something starting with __ and the normal name is an alias. */
15865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15868 char (*f) () = $ac_func;
15877 return f != $ac_func;
15882 rm -f conftest.$ac_objext conftest$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884 (eval $ac_link) 2>conftest.er1
15886 grep -v '^ *+' conftest.er1 >conftest.err
15888 cat conftest.err >&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; } &&
15897 { ac_try='test -s conftest$ac_exeext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15903 eval "$as_ac_var=yes"
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.$ac_ext >&5
15908 eval "$as_ac_var=no"
15910 rm -f conftest.err conftest.$ac_objext \
15911 conftest$ac_exeext conftest.$ac_ext
15913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15915 if test `eval echo '${'$as_ac_var'}'` = yes; then
15917 cat >>confdefs.h <<_ACEOF
15918 #define CRAY_STACKSEG_END $ac_func
15927 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15928 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15929 if test "${ac_cv_c_stack_direction+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 if test "$cross_compiling" = yes; then
15933 ac_cv_c_stack_direction=0
15935 cat >conftest.$ac_ext <<_ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15942 find_stack_direction ()
15944 static char *addr = 0;
15949 return find_stack_direction ();
15952 return (&dummy > addr) ? 1 : -1;
15958 exit (find_stack_direction () < 0);
15961 rm -f conftest$ac_exeext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15963 (eval $ac_link) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15968 (eval $ac_try) 2>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; }; then
15972 ac_cv_c_stack_direction=1
15974 echo "$as_me: program exited with status $ac_status" >&5
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15978 ( exit $ac_status )
15979 ac_cv_c_stack_direction=-1
15981 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15984 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15985 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15987 cat >>confdefs.h <<_ACEOF
15988 #define STACK_DIRECTION $ac_cv_c_stack_direction
16105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16106 echo "$as_me:$LINENO: checking for $ac_func" >&5
16107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16108 if eval "test \"\${$as_ac_var+set}\" = set"; then
16109 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 cat >conftest.$ac_ext <<_ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16119 #define $ac_func innocuous_$ac_func
16121 /* System header to define __stub macros and hopefully few prototypes,
16122 which can conflict with char $ac_func (); below.
16123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16124 <limits.h> exists even on freestanding compilers. */
16127 # include <limits.h>
16129 # include <assert.h>
16134 /* Override any gcc2 internal prototype to avoid an error. */
16139 /* We use char because int might match the return type of a gcc2
16140 builtin and then its argument prototype would still apply. */
16142 /* The GNU C library defines this for functions which it implements
16143 to always fail with ENOSYS. Some functions are actually named
16144 something starting with __ and the normal name is an alias. */
16145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16148 char (*f) () = $ac_func;
16157 return f != $ac_func;
16162 rm -f conftest.$ac_objext conftest$ac_exeext
16163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16164 (eval $ac_link) 2>conftest.er1
16166 grep -v '^ *+' conftest.er1 >conftest.err
16168 cat conftest.err >&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } &&
16171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; } &&
16177 { ac_try='test -s conftest$ac_exeext'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; }; then
16183 eval "$as_ac_var=yes"
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16188 eval "$as_ac_var=no"
16190 rm -f conftest.err conftest.$ac_objext \
16191 conftest$ac_exeext conftest.$ac_ext
16193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16195 if test `eval echo '${'$as_ac_var'}'` = yes; then
16196 cat >>confdefs.h <<_ACEOF
16197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16296 fontconfig/fontconfig.h \
16316 netinet/in_systm.h \
16318 netinet/tcp_fsm.h \
16328 scsi/scsi_ioctl.h \
16373 valgrind/memcheck.h
16376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16378 echo "$as_me:$LINENO: checking for $ac_header" >&5
16379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16386 # Is the header compilable?
16387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16389 cat >conftest.$ac_ext <<_ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 $ac_includes_default
16396 #include <$ac_header>
16398 rm -f conftest.$ac_objext
16399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16400 (eval $ac_compile) 2>conftest.er1
16402 grep -v '^ *+' conftest.er1 >conftest.err
16404 cat conftest.err >&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); } &&
16407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; } &&
16413 { ac_try='test -s conftest.$ac_objext'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 ac_header_compiler=yes
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 ac_header_compiler=no
16426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16428 echo "${ECHO_T}$ac_header_compiler" >&6
16430 # Is the header present?
16431 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16433 cat >conftest.$ac_ext <<_ACEOF
16436 cat confdefs.h >>conftest.$ac_ext
16437 cat >>conftest.$ac_ext <<_ACEOF
16438 /* end confdefs.h. */
16439 #include <$ac_header>
16441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16444 grep -v '^ *+' conftest.er1 >conftest.err
16446 cat conftest.err >&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); } >/dev/null; then
16449 if test -s conftest.err; then
16450 ac_cpp_err=$ac_c_preproc_warn_flag
16451 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16458 if test -z "$ac_cpp_err"; then
16459 ac_header_preproc=yes
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16464 ac_header_preproc=no
16466 rm -f conftest.err conftest.$ac_ext
16467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16468 echo "${ECHO_T}$ac_header_preproc" >&6
16470 # So? What about this header?
16471 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16473 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16474 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16476 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16477 ac_header_preproc=yes
16480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16484 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16485 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16486 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16487 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16490 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16491 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16494 ## ------------------------------------ ##
16495 ## Report this to wine-devel@winehq.org ##
16496 ## ------------------------------------ ##
16499 sed "s/^/$as_me: WARNING: /" >&2
16502 echo "$as_me:$LINENO: checking for $ac_header" >&5
16503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16507 eval "$as_ac_Header=\$ac_header_preproc"
16509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16514 cat >>confdefs.h <<_ACEOF
16515 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16522 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16523 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16524 if test "${ac_cv_header_stat_broken+set}" = set; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 cat >conftest.$ac_ext <<_ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 #include <sys/types.h>
16534 #include <sys/stat.h>
16536 #if defined(S_ISBLK) && defined(S_IFDIR)
16537 # if S_ISBLK (S_IFDIR)
16542 #if defined(S_ISBLK) && defined(S_IFCHR)
16543 # if S_ISBLK (S_IFCHR)
16548 #if defined(S_ISLNK) && defined(S_IFREG)
16549 # if S_ISLNK (S_IFREG)
16554 #if defined(S_ISSOCK) && defined(S_IFREG)
16555 # if S_ISSOCK (S_IFREG)
16561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16562 $EGREP "You lose" >/dev/null 2>&1; then
16563 ac_cv_header_stat_broken=yes
16565 ac_cv_header_stat_broken=no
16570 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16571 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16572 if test $ac_cv_header_stat_broken = yes; then
16574 cat >>confdefs.h <<\_ACEOF
16575 #define STAT_MACROS_BROKEN 1
16584 for ac_header in sys/mount.h sys/user.h
16586 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16587 echo "$as_me:$LINENO: checking for $ac_header" >&5
16588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16590 echo $ECHO_N "(cached) $ECHO_C" >&6
16592 cat >conftest.$ac_ext <<_ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598 #include <sys/types.h>
16599 #if HAVE_SYS_PARAM_H
16600 # include <sys/param.h>
16603 #include <$ac_header>
16605 rm -f conftest.$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16609 grep -v '^ *+' conftest.er1 >conftest.err
16611 cat conftest.err >&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try='test -s conftest.$ac_objext'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; }; then
16626 eval "$as_ac_Header=yes"
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.$ac_ext >&5
16631 eval "$as_ac_Header=no"
16633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16638 cat >>confdefs.h <<_ACEOF
16639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16652 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16655 echo "$as_me:$LINENO: checking for $ac_header" >&5
16656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16658 echo $ECHO_N "(cached) $ECHO_C" >&6
16660 cat >conftest.$ac_ext <<_ACEOF
16663 cat confdefs.h >>conftest.$ac_ext
16664 cat >>conftest.$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16666 #include <sys/types.h>
16667 #if HAVE_SYS_SOCKET_H
16668 # include <sys/socket.h>
16671 #include <$ac_header>
16673 rm -f conftest.$ac_objext
16674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16675 (eval $ac_compile) 2>conftest.er1
16677 grep -v '^ *+' conftest.er1 >conftest.err
16679 cat conftest.err >&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } &&
16682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; } &&
16688 { ac_try='test -s conftest.$ac_objext'
16689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16690 (eval $ac_try) 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; }; then
16694 eval "$as_ac_Header=yes"
16696 echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.$ac_ext >&5
16699 eval "$as_ac_Header=no"
16701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16706 cat >>confdefs.h <<_ACEOF
16707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16716 for ac_header in resolv.h
16718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16719 echo "$as_me:$LINENO: checking for $ac_header" >&5
16720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16722 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 cat >conftest.$ac_ext <<_ACEOF
16727 cat confdefs.h >>conftest.$ac_ext
16728 cat >>conftest.$ac_ext <<_ACEOF
16729 /* end confdefs.h. */
16730 #include <sys/types.h>
16731 #if HAVE_SYS_SOCKET_H
16732 # include <sys/socket.h>
16734 #if HAVE_NETINET_IN_H
16735 # include <netinet/in.h>
16737 #if HAVE_ARPA_NAMESER_H
16738 # include <arpa/nameser.h>
16741 #include <$ac_header>
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16747 grep -v '^ *+' conftest.er1 >conftest.err
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest.$ac_objext'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; }; then
16764 eval "$as_ac_Header=yes"
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16769 eval "$as_ac_Header=no"
16771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16776 cat >>confdefs.h <<_ACEOF
16777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16786 for ac_header in netinet/ip.h
16788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16789 echo "$as_me:$LINENO: checking for $ac_header" >&5
16790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 cat >conftest.$ac_ext <<_ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800 #include <sys/types.h>
16801 #if HAVE_SYS_SOCKET_H
16802 # include <sys/socket.h>
16804 #if HAVE_NETINET_IN_SYSTM_H
16805 # include <netinet/in_systm.h>
16808 #include <$ac_header>
16810 rm -f conftest.$ac_objext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16812 (eval $ac_compile) 2>conftest.er1
16814 grep -v '^ *+' conftest.er1 >conftest.err
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } &&
16819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; } &&
16825 { ac_try='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 eval "$as_ac_Header=yes"
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16836 eval "$as_ac_Header=no"
16838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16843 cat >>confdefs.h <<_ACEOF
16844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16853 for ac_header in ucontext.h
16855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16856 echo "$as_me:$LINENO: checking for $ac_header" >&5
16857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 cat >conftest.$ac_ext <<_ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16867 #include <signal.h>
16869 #include <$ac_header>
16871 rm -f conftest.$ac_objext
16872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16873 (eval $ac_compile) 2>conftest.er1
16875 grep -v '^ *+' conftest.er1 >conftest.err
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } &&
16880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; } &&
16886 { ac_try='test -s conftest.$ac_objext'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; }; then
16892 eval "$as_ac_Header=yes"
16894 echo "$as_me: failed program was:" >&5
16895 sed 's/^/| /' conftest.$ac_ext >&5
16897 eval "$as_ac_Header=no"
16899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16904 cat >>confdefs.h <<_ACEOF
16905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16914 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16915 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16916 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 cat >conftest.$ac_ext <<_ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 #include <sys/types.h>
16926 #ifdef HAVE_SYS_SOCKET_H
16927 # include <sys/socket.h>
16929 #include <netipx/ipx.h>
16933 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16938 rm -f conftest.$ac_objext
16939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16940 (eval $ac_compile) 2>conftest.er1
16942 grep -v '^ *+' conftest.er1 >conftest.err
16944 cat conftest.err >&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); } &&
16947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; } &&
16953 { ac_try='test -s conftest.$ac_objext'
16954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955 (eval $ac_try) 2>&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16959 ac_cv_c_ipx_gnu="yes"
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.$ac_ext >&5
16964 ac_cv_c_ipx_gnu="no"
16966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16969 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16970 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16971 if test "$ac_cv_c_ipx_gnu" = "yes"
16974 cat >>confdefs.h <<\_ACEOF
16975 #define HAVE_IPX_GNU 1
16980 if test "$ac_cv_c_ipx_gnu" = "no"
16982 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16983 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16984 if test "${ac_cv_c_ipx_linux+set}" = set; then
16985 echo $ECHO_N "(cached) $ECHO_C" >&6
16987 cat >conftest.$ac_ext <<_ACEOF
16990 cat confdefs.h >>conftest.$ac_ext
16991 cat >>conftest.$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 #include <sys/types.h>
16994 #ifdef HAVE_SYS_SOCKET_H
16995 # include <sys/socket.h>
16997 #include <asm/types.h>
16998 #include <linux/ipx.h>
17002 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17007 rm -f conftest.$ac_objext
17008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17009 (eval $ac_compile) 2>conftest.er1
17011 grep -v '^ *+' conftest.er1 >conftest.err
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } &&
17016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; } &&
17022 { ac_try='test -s conftest.$ac_objext'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; }; then
17028 ac_cv_c_ipx_linux="yes"
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17033 ac_cv_c_ipx_linux="no"
17035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17038 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17039 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17040 if test "$ac_cv_c_ipx_linux" = "yes"
17043 cat >>confdefs.h <<\_ACEOF
17044 #define HAVE_IPX_LINUX 1
17051 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17052 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17053 if test "${ac_cv_c_const+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 cat >conftest.$ac_ext <<_ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17066 /* FIXME: Include the comments suggested by Paul. */
17067 #ifndef __cplusplus
17068 /* Ultrix mips cc rejects this. */
17069 typedef int charset[2];
17071 /* SunOS 4.1.1 cc rejects this. */
17072 char const *const *ccp;
17074 /* NEC SVR4.0.2 mips cc rejects this. */
17075 struct point {int x, y;};
17076 static struct point const zero = {0,0};
17077 /* AIX XL C 1.02.0.0 rejects this.
17078 It does not let you subtract one const X* pointer from another in
17079 an arm of an if-expression whose if-part is not a constant
17081 const char *g = "string";
17082 ccp = &g + (g ? g-g : 0);
17083 /* HPUX 7.0 cc rejects these. */
17086 ccp = (char const *const *) p;
17087 { /* SCO 3.2v4 cc rejects this. */
17089 char const *s = 0 ? (char *) 0 : (char const *) 0;
17093 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17094 int x[] = {25, 17};
17095 const int *foo = &x[0];
17098 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17099 typedef const int *iptr;
17103 { /* AIX XL C 1.02.0.0 rejects this saying
17104 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17105 struct s { int j; const int *ap[3]; };
17106 struct s *b; b->j = 5;
17108 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17109 const int foo = 10;
17117 rm -f conftest.$ac_objext
17118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17119 (eval $ac_compile) 2>conftest.er1
17121 grep -v '^ *+' conftest.er1 >conftest.err
17123 cat conftest.err >&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } &&
17126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; } &&
17132 { ac_try='test -s conftest.$ac_objext'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; }; then
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17147 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17148 echo "${ECHO_T}$ac_cv_c_const" >&6
17149 if test $ac_cv_c_const = no; then
17151 cat >>confdefs.h <<\_ACEOF
17157 echo "$as_me:$LINENO: checking for inline" >&5
17158 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17159 if test "${ac_cv_c_inline+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 for ac_kw in inline __inline__ __inline; do
17164 cat >conftest.$ac_ext <<_ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #ifndef __cplusplus
17172 static $ac_kw foo_t static_foo () {return 0; }
17173 $ac_kw foo_t foo () {return 0; }
17177 rm -f conftest.$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17181 grep -v '^ *+' conftest.er1 >conftest.err
17183 cat conftest.err >&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17198 ac_cv_c_inline=$ac_kw; break
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17208 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17209 echo "${ECHO_T}$ac_cv_c_inline" >&6
17212 case $ac_cv_c_inline in
17215 case $ac_cv_c_inline in
17217 *) ac_val=$ac_cv_c_inline;;
17219 cat >>confdefs.h <<_ACEOF
17220 #ifndef __cplusplus
17221 #define inline $ac_val
17227 echo "$as_me:$LINENO: checking for mode_t" >&5
17228 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17229 if test "${ac_cv_type_mode_t+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 cat >conftest.$ac_ext <<_ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 $ac_includes_default
17244 if (sizeof (mode_t))
17250 rm -f conftest.$ac_objext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17252 (eval $ac_compile) 2>conftest.er1
17254 grep -v '^ *+' conftest.er1 >conftest.err
17256 cat conftest.err >&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } &&
17259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; } &&
17265 { ac_try='test -s conftest.$ac_objext'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; }; then
17271 ac_cv_type_mode_t=yes
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.$ac_ext >&5
17276 ac_cv_type_mode_t=no
17278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17280 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17281 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17282 if test $ac_cv_type_mode_t = yes; then
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_MODE_T 1
17290 echo "$as_me:$LINENO: checking for off_t" >&5
17291 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17292 if test "${ac_cv_type_off_t+set}" = set; then
17293 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 cat >conftest.$ac_ext <<_ACEOF
17298 cat confdefs.h >>conftest.$ac_ext
17299 cat >>conftest.$ac_ext <<_ACEOF
17300 /* end confdefs.h. */
17301 $ac_includes_default
17307 if (sizeof (off_t))
17313 rm -f conftest.$ac_objext
17314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17315 (eval $ac_compile) 2>conftest.er1
17317 grep -v '^ *+' conftest.er1 >conftest.err
17319 cat conftest.err >&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); } &&
17322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } &&
17328 { ac_try='test -s conftest.$ac_objext'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; }; then
17334 ac_cv_type_off_t=yes
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17339 ac_cv_type_off_t=no
17341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17343 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17344 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17345 if test $ac_cv_type_off_t = yes; then
17347 cat >>confdefs.h <<_ACEOF
17348 #define HAVE_OFF_T 1
17353 echo "$as_me:$LINENO: checking for pid_t" >&5
17354 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17355 if test "${ac_cv_type_pid_t+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17358 cat >conftest.$ac_ext <<_ACEOF
17361 cat confdefs.h >>conftest.$ac_ext
17362 cat >>conftest.$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17364 $ac_includes_default
17370 if (sizeof (pid_t))
17376 rm -f conftest.$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>conftest.er1
17380 grep -v '^ *+' conftest.er1 >conftest.err
17382 cat conftest.err >&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } &&
17385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17387 (eval $ac_try) 2>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); }; } &&
17391 { ac_try='test -s conftest.$ac_objext'
17392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17393 (eval $ac_try) 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; }; then
17397 ac_cv_type_pid_t=yes
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.$ac_ext >&5
17402 ac_cv_type_pid_t=no
17404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17406 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17407 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17408 if test $ac_cv_type_pid_t = yes; then
17410 cat >>confdefs.h <<_ACEOF
17411 #define HAVE_PID_T 1
17416 echo "$as_me:$LINENO: checking for size_t" >&5
17417 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17418 if test "${ac_cv_type_size_t+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 cat >conftest.$ac_ext <<_ACEOF
17424 cat confdefs.h >>conftest.$ac_ext
17425 cat >>conftest.$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 $ac_includes_default
17433 if (sizeof (size_t))
17439 rm -f conftest.$ac_objext
17440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17441 (eval $ac_compile) 2>conftest.er1
17443 grep -v '^ *+' conftest.er1 >conftest.err
17445 cat conftest.err >&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); } &&
17448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; } &&
17454 { ac_try='test -s conftest.$ac_objext'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; }; then
17460 ac_cv_type_size_t=yes
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17465 ac_cv_type_size_t=no
17467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17469 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17470 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17471 if test $ac_cv_type_size_t = yes; then
17473 cat >>confdefs.h <<_ACEOF
17474 #define HAVE_SIZE_T 1
17479 echo "$as_me:$LINENO: checking for ssize_t" >&5
17480 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17481 if test "${ac_cv_type_ssize_t+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 cat >conftest.$ac_ext <<_ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490 $ac_includes_default
17496 if (sizeof (ssize_t))
17502 rm -f conftest.$ac_objext
17503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17504 (eval $ac_compile) 2>conftest.er1
17506 grep -v '^ *+' conftest.er1 >conftest.err
17508 cat conftest.err >&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); } &&
17511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; } &&
17517 { ac_try='test -s conftest.$ac_objext'
17518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17519 (eval $ac_try) 2>&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); }; }; then
17523 ac_cv_type_ssize_t=yes
17525 echo "$as_me: failed program was:" >&5
17526 sed 's/^/| /' conftest.$ac_ext >&5
17528 ac_cv_type_ssize_t=no
17530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17532 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17533 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17534 if test $ac_cv_type_ssize_t = yes; then
17536 cat >>confdefs.h <<_ACEOF
17537 #define HAVE_SSIZE_T 1
17542 echo "$as_me:$LINENO: checking for long long" >&5
17543 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17544 if test "${ac_cv_type_long_long+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17547 cat >conftest.$ac_ext <<_ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553 $ac_includes_default
17557 if ((long long *) 0)
17559 if (sizeof (long long))
17565 rm -f conftest.$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1 >conftest.err
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest.$ac_objext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 ac_cv_type_long_long=yes
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 ac_cv_type_long_long=no
17593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17595 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17596 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17597 if test $ac_cv_type_long_long = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define HAVE_LONG_LONG 1
17605 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17606 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17607 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17608 echo $ECHO_N "(cached) $ECHO_C" >&6
17610 cat >conftest.$ac_ext <<_ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616 $ac_includes_default
17620 if ((fsblkcnt_t *) 0)
17622 if (sizeof (fsblkcnt_t))
17628 rm -f conftest.$ac_objext
17629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17630 (eval $ac_compile) 2>conftest.er1
17632 grep -v '^ *+' conftest.er1 >conftest.err
17634 cat conftest.err >&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } &&
17637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17639 (eval $ac_try) 2>&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); }; } &&
17643 { ac_try='test -s conftest.$ac_objext'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 ac_cv_type_fsblkcnt_t=yes
17651 echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.$ac_ext >&5
17654 ac_cv_type_fsblkcnt_t=no
17656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17658 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17659 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17660 if test $ac_cv_type_fsblkcnt_t = yes; then
17662 cat >>confdefs.h <<_ACEOF
17663 #define HAVE_FSBLKCNT_T 1
17668 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17669 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17670 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17673 cat >conftest.$ac_ext <<_ACEOF
17676 cat confdefs.h >>conftest.$ac_ext
17677 cat >>conftest.$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 $ac_includes_default
17683 if ((fsfilcnt_t *) 0)
17685 if (sizeof (fsfilcnt_t))
17691 rm -f conftest.$ac_objext
17692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17693 (eval $ac_compile) 2>conftest.er1
17695 grep -v '^ *+' conftest.er1 >conftest.err
17697 cat conftest.err >&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try='test -s conftest.$ac_objext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 ac_cv_type_fsfilcnt_t=yes
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.$ac_ext >&5
17717 ac_cv_type_fsfilcnt_t=no
17719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17721 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17722 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17723 if test $ac_cv_type_fsfilcnt_t = yes; then
17725 cat >>confdefs.h <<_ACEOF
17726 #define HAVE_FSFILCNT_T 1
17733 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17734 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17735 if test "${wine_cv_linux_input_h+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 cat >conftest.$ac_ext <<_ACEOF
17741 cat confdefs.h >>conftest.$ac_ext
17742 cat >>conftest.$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17745 #include <linux/input.h>
17751 int foo = EVIOCGBIT(EV_ABS,42);
17752 int bar = BTN_PINKIE;
17759 rm -f conftest.$ac_objext
17760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17761 (eval $ac_compile) 2>conftest.er1
17763 grep -v '^ *+' conftest.er1 >conftest.err
17765 cat conftest.err >&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } &&
17768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try='test -s conftest.$ac_objext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 wine_cv_linux_input_h=yes
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17785 wine_cv_linux_input_h=no
17787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17790 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17791 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17792 if test "$wine_cv_linux_input_h" = "yes"
17795 cat >>confdefs.h <<\_ACEOF
17796 #define HAVE_CORRECT_LINUXINPUT_H 1
17802 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17803 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17804 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 cat >conftest.$ac_ext <<_ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17822 struct hostent *result;
17829 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17830 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17836 rm -f conftest.$ac_objext conftest$ac_exeext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17838 (eval $ac_link) 2>conftest.er1
17840 grep -v '^ *+' conftest.er1 >conftest.err
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; } &&
17851 { ac_try='test -s conftest$ac_exeext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 wine_cv_linux_gethostbyname_r_6=yes
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.$ac_ext >&5
17862 wine_cv_linux_gethostbyname_r_6=no
17865 rm -f conftest.err conftest.$ac_objext \
17866 conftest$ac_exeext conftest.$ac_ext
17869 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17870 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17871 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17874 cat >>confdefs.h <<\_ACEOF
17875 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17880 if test "$ac_cv_header_linux_joystick_h" = "yes"
17882 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17883 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17884 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17887 cat >conftest.$ac_ext <<_ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17894 #include <sys/ioctl.h>
17895 #include <linux/joystick.h>
17897 struct js_event blub;
17898 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17899 #error "no 2.2 header"
17910 rm -f conftest.$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17914 grep -v '^ *+' conftest.er1 >conftest.err
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try='test -s conftest.$ac_objext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17931 wine_cv_linux_joystick_22_api=yes
17933 echo "$as_me: failed program was:" >&5
17934 sed 's/^/| /' conftest.$ac_ext >&5
17936 wine_cv_linux_joystick_22_api=no
17938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17942 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17943 if test "$wine_cv_linux_joystick_22_api" = "yes"
17946 cat >>confdefs.h <<\_ACEOF
17947 #define HAVE_LINUX_22_JOYSTICK_API 1
17954 if test "$ac_cv_header_sys_vfs_h" = "yes"
17956 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17957 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17958 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17959 echo $ECHO_N "(cached) $ECHO_C" >&6
17961 cat >conftest.$ac_ext <<_ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17968 #include <sys/types.h>
17969 #ifdef HAVE_SYS_PARAM_H
17970 # include <sys/param.h>
17972 #include <sys/vfs.h>
17978 struct statfs stfs;
17980 memset(&stfs,0,sizeof(stfs));
17986 rm -f conftest.$ac_objext
17987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17988 (eval $ac_compile) 2>conftest.er1
17990 grep -v '^ *+' conftest.er1 >conftest.err
17992 cat conftest.err >&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } &&
17995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; } &&
18001 { ac_try='test -s conftest.$ac_objext'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; }; then
18007 wine_cv_sys_vfs_has_statfs=yes
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18012 wine_cv_sys_vfs_has_statfs=no
18015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18018 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18019 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18020 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18023 cat >>confdefs.h <<\_ACEOF
18024 #define STATFS_DEFINED_BY_SYS_VFS 1
18030 if test "$ac_cv_header_sys_statfs_h" = "yes"
18032 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18033 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18034 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18035 echo $ECHO_N "(cached) $ECHO_C" >&6
18037 cat >conftest.$ac_ext <<_ACEOF
18040 cat confdefs.h >>conftest.$ac_ext
18041 cat >>conftest.$ac_ext <<_ACEOF
18042 /* end confdefs.h. */
18044 #include <sys/types.h>
18045 #ifdef HAVE_SYS_PARAM_H
18046 # include <sys/param.h>
18048 #include <sys/statfs.h>
18054 struct statfs stfs;
18060 rm -f conftest.$ac_objext
18061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18062 (eval $ac_compile) 2>conftest.er1
18064 grep -v '^ *+' conftest.er1 >conftest.err
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } &&
18069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18071 (eval $ac_try) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); }; } &&
18075 { ac_try='test -s conftest.$ac_objext'
18076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18077 (eval $ac_try) 2>&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); }; }; then
18081 wine_cv_sys_statfs_has_statfs=yes
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.$ac_ext >&5
18086 wine_cv_sys_statfs_has_statfs=no
18089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18092 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18093 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18094 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18097 cat >>confdefs.h <<\_ACEOF
18098 #define STATFS_DEFINED_BY_SYS_STATFS 1
18104 if test "$ac_cv_header_sys_mount_h" = "yes"
18106 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18107 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18108 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 cat >conftest.$ac_ext <<_ACEOF
18114 cat confdefs.h >>conftest.$ac_ext
18115 cat >>conftest.$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18118 #include <sys/types.h>
18119 #ifdef HAVE_SYS_PARAM_H
18120 # include <sys/param.h>
18122 #include <sys/mount.h>
18128 struct statfs stfs;
18134 rm -f conftest.$ac_objext
18135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18136 (eval $ac_compile) 2>conftest.er1
18138 grep -v '^ *+' conftest.er1 >conftest.err
18140 cat conftest.err >&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } &&
18143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; } &&
18149 { ac_try='test -s conftest.$ac_objext'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; }; then
18155 wine_cv_sys_mount_has_statfs=yes
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.$ac_ext >&5
18160 wine_cv_sys_mount_has_statfs=no
18163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18166 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18167 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18168 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18171 cat >>confdefs.h <<\_ACEOF
18172 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18179 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18180 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18181 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18184 cat >conftest.$ac_ext <<_ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 #include <sys/types.h>
18191 #ifdef HAVE_SYS_PARAM_H
18192 # include <sys/param.h>
18194 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18195 # include <sys/mount.h>
18197 # ifdef STATFS_DEFINED_BY_SYS_VFS
18198 # include <sys/vfs.h>
18200 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18201 # include <sys/statfs.h>
18209 static struct statfs ac_aggr;
18210 if (ac_aggr.f_bfree)
18216 rm -f conftest.$ac_objext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18218 (eval $ac_compile) 2>conftest.er1
18220 grep -v '^ *+' conftest.er1 >conftest.err
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_cv_member_struct_statfs_f_bfree=yes
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.$ac_ext >&5
18242 cat >conftest.$ac_ext <<_ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 #include <sys/types.h>
18249 #ifdef HAVE_SYS_PARAM_H
18250 # include <sys/param.h>
18252 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18253 # include <sys/mount.h>
18255 # ifdef STATFS_DEFINED_BY_SYS_VFS
18256 # include <sys/vfs.h>
18258 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18259 # include <sys/statfs.h>
18267 static struct statfs ac_aggr;
18268 if (sizeof ac_aggr.f_bfree)
18274 rm -f conftest.$ac_objext
18275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18276 (eval $ac_compile) 2>conftest.er1
18278 grep -v '^ *+' conftest.er1 >conftest.err
18280 cat conftest.err >&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } &&
18283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; } &&
18289 { ac_try='test -s conftest.$ac_objext'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; }; then
18295 ac_cv_member_struct_statfs_f_bfree=yes
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.$ac_ext >&5
18300 ac_cv_member_struct_statfs_f_bfree=no
18302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18306 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18307 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18308 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18310 cat >>confdefs.h <<_ACEOF
18311 #define HAVE_STRUCT_STATFS_F_BFREE 1
18316 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18317 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18318 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18319 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 cat >conftest.$ac_ext <<_ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 #include <sys/types.h>
18328 #ifdef HAVE_SYS_PARAM_H
18329 # include <sys/param.h>
18331 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18332 # include <sys/mount.h>
18334 # ifdef STATFS_DEFINED_BY_SYS_VFS
18335 # include <sys/vfs.h>
18337 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18338 # include <sys/statfs.h>
18346 static struct statfs ac_aggr;
18347 if (ac_aggr.f_bavail)
18353 rm -f conftest.$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355 (eval $ac_compile) 2>conftest.er1
18357 grep -v '^ *+' conftest.er1 >conftest.err
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; } &&
18368 { ac_try='test -s conftest.$ac_objext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 ac_cv_member_struct_statfs_f_bavail=yes
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 cat >conftest.$ac_ext <<_ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385 #include <sys/types.h>
18386 #ifdef HAVE_SYS_PARAM_H
18387 # include <sys/param.h>
18389 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18390 # include <sys/mount.h>
18392 # ifdef STATFS_DEFINED_BY_SYS_VFS
18393 # include <sys/vfs.h>
18395 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18396 # include <sys/statfs.h>
18404 static struct statfs ac_aggr;
18405 if (sizeof ac_aggr.f_bavail)
18411 rm -f conftest.$ac_objext
18412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18413 (eval $ac_compile) 2>conftest.er1
18415 grep -v '^ *+' conftest.er1 >conftest.err
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } &&
18420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; } &&
18426 { ac_try='test -s conftest.$ac_objext'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; }; then
18432 ac_cv_member_struct_statfs_f_bavail=yes
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18437 ac_cv_member_struct_statfs_f_bavail=no
18439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18443 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18444 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18445 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18447 cat >>confdefs.h <<_ACEOF
18448 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18453 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18454 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18455 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18456 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 cat >conftest.$ac_ext <<_ACEOF
18461 cat confdefs.h >>conftest.$ac_ext
18462 cat >>conftest.$ac_ext <<_ACEOF
18463 /* end confdefs.h. */
18464 #include <sys/types.h>
18465 #ifdef HAVE_SYS_PARAM_H
18466 # include <sys/param.h>
18468 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18469 # include <sys/mount.h>
18471 # ifdef STATFS_DEFINED_BY_SYS_VFS
18472 # include <sys/vfs.h>
18474 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18475 # include <sys/statfs.h>
18483 static struct statfs ac_aggr;
18484 if (ac_aggr.f_frsize)
18490 rm -f conftest.$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>conftest.er1
18494 grep -v '^ *+' conftest.er1 >conftest.err
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; } &&
18505 { ac_try='test -s conftest.$ac_objext'
18506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18507 (eval $ac_try) 2>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); }; }; then
18511 ac_cv_member_struct_statfs_f_frsize=yes
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 cat >conftest.$ac_ext <<_ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #include <sys/types.h>
18523 #ifdef HAVE_SYS_PARAM_H
18524 # include <sys/param.h>
18526 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18527 # include <sys/mount.h>
18529 # ifdef STATFS_DEFINED_BY_SYS_VFS
18530 # include <sys/vfs.h>
18532 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18533 # include <sys/statfs.h>
18541 static struct statfs ac_aggr;
18542 if (sizeof ac_aggr.f_frsize)
18548 rm -f conftest.$ac_objext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18550 (eval $ac_compile) 2>conftest.er1
18552 grep -v '^ *+' conftest.er1 >conftest.err
18554 cat conftest.err >&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; } &&
18563 { ac_try='test -s conftest.$ac_objext'
18564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18565 (eval $ac_try) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; }; then
18569 ac_cv_member_struct_statfs_f_frsize=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_member_struct_statfs_f_frsize=no
18576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18580 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18581 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18582 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18584 cat >>confdefs.h <<_ACEOF
18585 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18590 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18591 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18592 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 cat >conftest.$ac_ext <<_ACEOF
18598 cat confdefs.h >>conftest.$ac_ext
18599 cat >>conftest.$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #include <sys/types.h>
18602 #ifdef HAVE_SYS_PARAM_H
18603 # include <sys/param.h>
18605 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18606 # include <sys/mount.h>
18608 # ifdef STATFS_DEFINED_BY_SYS_VFS
18609 # include <sys/vfs.h>
18611 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18612 # include <sys/statfs.h>
18620 static struct statfs ac_aggr;
18621 if (ac_aggr.f_ffree)
18627 rm -f conftest.$ac_objext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18629 (eval $ac_compile) 2>conftest.er1
18631 grep -v '^ *+' conftest.er1 >conftest.err
18633 cat conftest.err >&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try='test -s conftest.$ac_objext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_cv_member_struct_statfs_f_ffree=yes
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 cat >conftest.$ac_ext <<_ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 #include <sys/types.h>
18660 #ifdef HAVE_SYS_PARAM_H
18661 # include <sys/param.h>
18663 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18664 # include <sys/mount.h>
18666 # ifdef STATFS_DEFINED_BY_SYS_VFS
18667 # include <sys/vfs.h>
18669 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18670 # include <sys/statfs.h>
18678 static struct statfs ac_aggr;
18679 if (sizeof ac_aggr.f_ffree)
18685 rm -f conftest.$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1 >conftest.err
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try='test -s conftest.$ac_objext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 ac_cv_member_struct_statfs_f_ffree=yes
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 ac_cv_member_struct_statfs_f_ffree=no
18713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18717 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18718 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18719 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_STRUCT_STATFS_F_FFREE 1
18727 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18728 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18729 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 cat >conftest.$ac_ext <<_ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 #include <sys/types.h>
18739 #ifdef HAVE_SYS_PARAM_H
18740 # include <sys/param.h>
18742 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18743 # include <sys/mount.h>
18745 # ifdef STATFS_DEFINED_BY_SYS_VFS
18746 # include <sys/vfs.h>
18748 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18749 # include <sys/statfs.h>
18757 static struct statfs ac_aggr;
18758 if (ac_aggr.f_favail)
18764 rm -f conftest.$ac_objext
18765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18766 (eval $ac_compile) 2>conftest.er1
18768 grep -v '^ *+' conftest.er1 >conftest.err
18770 cat conftest.err >&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try='test -s conftest.$ac_objext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_cv_member_struct_statfs_f_favail=yes
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.$ac_ext >&5
18790 cat >conftest.$ac_ext <<_ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 #include <sys/types.h>
18797 #ifdef HAVE_SYS_PARAM_H
18798 # include <sys/param.h>
18800 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18801 # include <sys/mount.h>
18803 # ifdef STATFS_DEFINED_BY_SYS_VFS
18804 # include <sys/vfs.h>
18806 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18807 # include <sys/statfs.h>
18815 static struct statfs ac_aggr;
18816 if (sizeof ac_aggr.f_favail)
18822 rm -f conftest.$ac_objext
18823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18824 (eval $ac_compile) 2>conftest.er1
18826 grep -v '^ *+' conftest.er1 >conftest.err
18828 cat conftest.err >&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } &&
18831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; } &&
18837 { ac_try='test -s conftest.$ac_objext'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; }; then
18843 ac_cv_member_struct_statfs_f_favail=yes
18845 echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.$ac_ext >&5
18848 ac_cv_member_struct_statfs_f_favail=no
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18854 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18855 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18856 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18858 cat >>confdefs.h <<_ACEOF
18859 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18864 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18865 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18866 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 cat >conftest.$ac_ext <<_ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <sys/types.h>
18876 #ifdef HAVE_SYS_PARAM_H
18877 # include <sys/param.h>
18879 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18880 # include <sys/mount.h>
18882 # ifdef STATFS_DEFINED_BY_SYS_VFS
18883 # include <sys/vfs.h>
18885 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18886 # include <sys/statfs.h>
18894 static struct statfs ac_aggr;
18895 if (ac_aggr.f_namelen)
18901 rm -f conftest.$ac_objext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18903 (eval $ac_compile) 2>conftest.er1
18905 grep -v '^ *+' conftest.er1 >conftest.err
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } &&
18910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; } &&
18916 { ac_try='test -s conftest.$ac_objext'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; }; then
18922 ac_cv_member_struct_statfs_f_namelen=yes
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 cat >conftest.$ac_ext <<_ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_PARAM_H
18935 # include <sys/param.h>
18937 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18938 # include <sys/mount.h>
18940 # ifdef STATFS_DEFINED_BY_SYS_VFS
18941 # include <sys/vfs.h>
18943 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18944 # include <sys/statfs.h>
18952 static struct statfs ac_aggr;
18953 if (sizeof ac_aggr.f_namelen)
18959 rm -f conftest.$ac_objext
18960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18961 (eval $ac_compile) 2>conftest.er1
18963 grep -v '^ *+' conftest.er1 >conftest.err
18965 cat conftest.err >&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } &&
18968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; } &&
18974 { ac_try='test -s conftest.$ac_objext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18980 ac_cv_member_struct_statfs_f_namelen=yes
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18985 ac_cv_member_struct_statfs_f_namelen=no
18987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18991 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18992 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18993 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19003 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19004 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19005 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19006 echo $ECHO_N "(cached) $ECHO_C" >&6
19008 cat >conftest.$ac_ext <<_ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014 #ifdef HAVE_SYS_STATVFS_H
19015 #include <sys/statvfs.h>
19021 static struct statvfs ac_aggr;
19022 if (ac_aggr.f_blocks)
19028 rm -f conftest.$ac_objext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030 (eval $ac_compile) 2>conftest.er1
19032 grep -v '^ *+' conftest.er1 >conftest.err
19034 cat conftest.err >&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } &&
19037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; } &&
19043 { ac_try='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19049 ac_cv_member_struct_statvfs_f_blocks=yes
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19054 cat >conftest.$ac_ext <<_ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 #ifdef HAVE_SYS_STATVFS_H
19061 #include <sys/statvfs.h>
19067 static struct statvfs ac_aggr;
19068 if (sizeof ac_aggr.f_blocks)
19074 rm -f conftest.$ac_objext
19075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19076 (eval $ac_compile) 2>conftest.er1
19078 grep -v '^ *+' conftest.er1 >conftest.err
19080 cat conftest.err >&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } &&
19083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try='test -s conftest.$ac_objext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_member_struct_statvfs_f_blocks=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 ac_cv_member_struct_statvfs_f_blocks=no
19102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19106 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19107 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19108 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19118 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19119 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19120 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19123 cat >conftest.$ac_ext <<_ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 #include <sys/types.h>
19130 #ifdef HAVE_SYS_SOCKET_H
19131 # include <sys/socket.h>
19133 #ifdef HAVE_SYS_UN_H
19134 # include <sys/un.h>
19140 static struct msghdr ac_aggr;
19141 if (ac_aggr.msg_accrights)
19147 rm -f conftest.$ac_objext
19148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19149 (eval $ac_compile) 2>conftest.er1
19151 grep -v '^ *+' conftest.er1 >conftest.err
19153 cat conftest.err >&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } &&
19156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; } &&
19162 { ac_try='test -s conftest.$ac_objext'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; }; then
19168 ac_cv_member_struct_msghdr_msg_accrights=yes
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19173 cat >conftest.$ac_ext <<_ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 #include <sys/types.h>
19180 #ifdef HAVE_SYS_SOCKET_H
19181 # include <sys/socket.h>
19183 #ifdef HAVE_SYS_UN_H
19184 # include <sys/un.h>
19190 static struct msghdr ac_aggr;
19191 if (sizeof ac_aggr.msg_accrights)
19197 rm -f conftest.$ac_objext
19198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19199 (eval $ac_compile) 2>conftest.er1
19201 grep -v '^ *+' conftest.er1 >conftest.err
19203 cat conftest.err >&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } &&
19206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; } &&
19212 { ac_try='test -s conftest.$ac_objext'
19213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214 (eval $ac_try) 2>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; }; then
19218 ac_cv_member_struct_msghdr_msg_accrights=yes
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 ac_cv_member_struct_msghdr_msg_accrights=no
19225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19229 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19230 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19231 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19233 cat >>confdefs.h <<_ACEOF
19234 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19239 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19240 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19241 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19242 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 cat >conftest.$ac_ext <<_ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #include <sys/types.h>
19251 #ifdef HAVE_SYS_SOCKET_H
19252 # include <sys/socket.h>
19254 #ifdef HAVE_SYS_UN_H
19255 # include <sys/un.h>
19261 static struct sockaddr ac_aggr;
19262 if (ac_aggr.sa_len)
19268 rm -f conftest.$ac_objext
19269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19270 (eval $ac_compile) 2>conftest.er1
19272 grep -v '^ *+' conftest.er1 >conftest.err
19274 cat conftest.err >&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } &&
19277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; } &&
19283 { ac_try='test -s conftest.$ac_objext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19289 ac_cv_member_struct_sockaddr_sa_len=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19294 cat >conftest.$ac_ext <<_ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #include <sys/types.h>
19301 #ifdef HAVE_SYS_SOCKET_H
19302 # include <sys/socket.h>
19304 #ifdef HAVE_SYS_UN_H
19305 # include <sys/un.h>
19311 static struct sockaddr ac_aggr;
19312 if (sizeof ac_aggr.sa_len)
19318 rm -f conftest.$ac_objext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19320 (eval $ac_compile) 2>conftest.er1
19322 grep -v '^ *+' conftest.er1 >conftest.err
19324 cat conftest.err >&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest.$ac_objext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19339 ac_cv_member_struct_sockaddr_sa_len=yes
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19344 ac_cv_member_struct_sockaddr_sa_len=no
19346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19350 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19351 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19352 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19354 cat >>confdefs.h <<_ACEOF
19355 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19360 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19361 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19362 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19363 echo $ECHO_N "(cached) $ECHO_C" >&6
19365 cat >conftest.$ac_ext <<_ACEOF
19368 cat confdefs.h >>conftest.$ac_ext
19369 cat >>conftest.$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19371 #include <sys/types.h>
19372 #ifdef HAVE_SYS_SOCKET_H
19373 # include <sys/socket.h>
19375 #ifdef HAVE_SYS_UN_H
19376 # include <sys/un.h>
19382 static struct sockaddr_un ac_aggr;
19383 if (ac_aggr.sun_len)
19389 rm -f conftest.$ac_objext
19390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19391 (eval $ac_compile) 2>conftest.er1
19393 grep -v '^ *+' conftest.er1 >conftest.err
19395 cat conftest.err >&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } &&
19398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; } &&
19404 { ac_try='test -s conftest.$ac_objext'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; }; then
19410 ac_cv_member_struct_sockaddr_un_sun_len=yes
19412 echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.$ac_ext >&5
19415 cat >conftest.$ac_ext <<_ACEOF
19418 cat confdefs.h >>conftest.$ac_ext
19419 cat >>conftest.$ac_ext <<_ACEOF
19420 /* end confdefs.h. */
19421 #include <sys/types.h>
19422 #ifdef HAVE_SYS_SOCKET_H
19423 # include <sys/socket.h>
19425 #ifdef HAVE_SYS_UN_H
19426 # include <sys/un.h>
19432 static struct sockaddr_un ac_aggr;
19433 if (sizeof ac_aggr.sun_len)
19439 rm -f conftest.$ac_objext
19440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19441 (eval $ac_compile) 2>conftest.er1
19443 grep -v '^ *+' conftest.er1 >conftest.err
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } &&
19448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; } &&
19454 { ac_try='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_cv_member_struct_sockaddr_un_sun_len=yes
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19465 ac_cv_member_struct_sockaddr_un_sun_len=no
19467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19471 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19472 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19473 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19475 cat >>confdefs.h <<_ACEOF
19476 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19483 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19484 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19485 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19486 echo $ECHO_N "(cached) $ECHO_C" >&6
19488 cat >conftest.$ac_ext <<_ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19494 #include <signal.h>
19499 static siginfo_t ac_aggr;
19506 rm -f conftest.$ac_objext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508 (eval $ac_compile) 2>conftest.er1
19510 grep -v '^ *+' conftest.er1 >conftest.err
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; } &&
19521 { ac_try='test -s conftest.$ac_objext'
19522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19523 (eval $ac_try) 2>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); }; }; then
19527 ac_cv_member_siginfo_t_si_fd=yes
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 cat >conftest.$ac_ext <<_ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <signal.h>
19543 static siginfo_t ac_aggr;
19544 if (sizeof ac_aggr.si_fd)
19550 rm -f conftest.$ac_objext
19551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19552 (eval $ac_compile) 2>conftest.er1
19554 grep -v '^ *+' conftest.er1 >conftest.err
19556 cat conftest.err >&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } &&
19559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; } &&
19565 { ac_try='test -s conftest.$ac_objext'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; }; then
19571 ac_cv_member_siginfo_t_si_fd=yes
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 ac_cv_member_siginfo_t_si_fd=no
19578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19582 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19583 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19584 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19586 cat >>confdefs.h <<_ACEOF
19587 #define HAVE_SIGINFO_T_SI_FD 1
19594 echo "$as_me:$LINENO: checking for struct option.name" >&5
19595 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19596 if test "${ac_cv_member_struct_option_name+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 cat >conftest.$ac_ext <<_ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 #ifdef HAVE_GETOPT_H
19606 #include <getopt.h>
19612 static struct option ac_aggr;
19619 rm -f conftest.$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19623 grep -v '^ *+' conftest.er1 >conftest.err
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; } &&
19634 { ac_try='test -s conftest.$ac_objext'
19635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636 (eval $ac_try) 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; }; then
19640 ac_cv_member_struct_option_name=yes
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 cat >conftest.$ac_ext <<_ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #ifdef HAVE_GETOPT_H
19652 #include <getopt.h>
19658 static struct option ac_aggr;
19659 if (sizeof ac_aggr.name)
19665 rm -f conftest.$ac_objext
19666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19667 (eval $ac_compile) 2>conftest.er1
19669 grep -v '^ *+' conftest.er1 >conftest.err
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } &&
19674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; } &&
19680 { ac_try='test -s conftest.$ac_objext'
19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 (eval $ac_try) 2>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); }; }; then
19686 ac_cv_member_struct_option_name=yes
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.$ac_ext >&5
19691 ac_cv_member_struct_option_name=no
19693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19697 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19698 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19699 if test $ac_cv_member_struct_option_name = yes; then
19701 cat >>confdefs.h <<_ACEOF
19702 #define HAVE_STRUCT_OPTION_NAME 1
19709 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19710 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19711 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 cat >conftest.$ac_ext <<_ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19724 static struct stat ac_aggr;
19725 if (ac_aggr.st_blocks)
19731 rm -f conftest.$ac_objext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19733 (eval $ac_compile) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1 >conftest.err
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 ac_cv_member_struct_stat_st_blocks=yes
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19757 cat >conftest.$ac_ext <<_ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 $ac_includes_default
19767 static struct stat ac_aggr;
19768 if (sizeof ac_aggr.st_blocks)
19774 rm -f conftest.$ac_objext
19775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776 (eval $ac_compile) 2>conftest.er1
19778 grep -v '^ *+' conftest.er1 >conftest.err
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } &&
19783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; } &&
19789 { ac_try='test -s conftest.$ac_objext'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; }; then
19795 ac_cv_member_struct_stat_st_blocks=yes
19797 echo "$as_me: failed program was:" >&5
19798 sed 's/^/| /' conftest.$ac_ext >&5
19800 ac_cv_member_struct_stat_st_blocks=no
19802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19806 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19807 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19808 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19810 cat >>confdefs.h <<_ACEOF
19811 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19820 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19821 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19822 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19823 echo $ECHO_N "(cached) $ECHO_C" >&6
19825 cat >conftest.$ac_ext <<_ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19836 $EGREP "yes" >/dev/null 2>&1; then
19837 ac_cv_cpp_def___i386__=yes
19839 ac_cv_cpp_def___i386__=no
19844 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19845 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19846 if test $ac_cv_cpp_def___i386__ = yes; then
19847 CFLAGS="$CFLAGS -D__i386__"
19848 LINTFLAGS="$LINTFLAGS -D__i386__"
19851 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19852 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19853 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 cat >conftest.$ac_ext <<_ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19867 $EGREP "yes" >/dev/null 2>&1; then
19868 ac_cv_cpp_def___ALPHA__=yes
19870 ac_cv_cpp_def___ALPHA__=no
19875 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19876 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19877 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19878 CFLAGS="$CFLAGS -D__ALPHA__"
19879 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19882 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19883 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19884 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 cat >conftest.$ac_ext <<_ACEOF
19890 cat confdefs.h >>conftest.$ac_ext
19891 cat >>conftest.$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19898 $EGREP "yes" >/dev/null 2>&1; then
19899 ac_cv_cpp_def___sparc__=yes
19901 ac_cv_cpp_def___sparc__=no
19906 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19907 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19908 if test $ac_cv_cpp_def___sparc__ = yes; then
19909 CFLAGS="$CFLAGS -D__sparc__"
19910 LINTFLAGS="$LINTFLAGS -D__sparc__"
19913 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19914 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19915 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 cat >conftest.$ac_ext <<_ACEOF
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 #ifndef __powerpc__
19928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19929 $EGREP "yes" >/dev/null 2>&1; then
19930 ac_cv_cpp_def___powerpc__=yes
19932 ac_cv_cpp_def___powerpc__=no
19937 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19938 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19939 if test $ac_cv_cpp_def___powerpc__ = yes; then
19940 CFLAGS="$CFLAGS -D__powerpc__"
19941 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19946 case $host_vendor in
19947 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19948 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19949 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 cat >conftest.$ac_ext <<_ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19963 $EGREP "yes" >/dev/null 2>&1; then
19964 ac_cv_cpp_def___sun__=yes
19966 ac_cv_cpp_def___sun__=no
19971 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19972 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19973 if test $ac_cv_cpp_def___sun__ = yes; then
19974 CFLAGS="$CFLAGS -D__sun__"
19975 LINTFLAGS="$LINTFLAGS -D__sun__"
19984 ac_config_commands="$ac_config_commands controls"
19986 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19988 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19990 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19992 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19994 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19996 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19998 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
20000 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
20002 ac_config_commands="$ac_config_commands dlls/kernel/messages"
20004 ac_config_commands="$ac_config_commands dlls/user/dde"
20006 ac_config_commands="$ac_config_commands dlls/user/resources"
20008 ac_config_commands="$ac_config_commands dlls/wineps/data"
20010 ac_config_commands="$ac_config_commands files"
20012 ac_config_commands="$ac_config_commands include/wine"
20014 ac_config_commands="$ac_config_commands misc"
20016 ac_config_commands="$ac_config_commands objects"
20018 ac_config_commands="$ac_config_commands programs/regedit/tests"
20020 ac_config_commands="$ac_config_commands windows"
20023 MAKE_RULES=Make.rules
20026 MAKE_DLL_RULES=dlls/Makedll.rules
20029 MAKE_TEST_RULES=dlls/Maketest.rules
20032 MAKE_LIB_RULES=libs/Makelib.rules
20035 MAKE_PROG_RULES=programs/Makeprog.rules
20038 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/amstream/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/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/dxerr8/Makefile dlls/dxerr9/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/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/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/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile 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"
20041 cat >confcache <<\_ACEOF
20042 # This file is a shell script that caches the results of configure
20043 # tests run on this system so they can be shared between configure
20044 # scripts and configure runs, see configure's option --config-cache.
20045 # It is not useful on other systems. If it contains results you don't
20046 # want to keep, you may remove or edit it.
20048 # config.status only pays attention to the cache file if you give it
20049 # the --recheck option to rerun configure.
20051 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20052 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20053 # following values.
20057 # The following way of writing the cache mishandles newlines in values,
20058 # but we know of no workaround that is simple, portable, and efficient.
20059 # So, don't put newlines in cache variables' values.
20060 # Ultrix sh set writes to stderr and can't be redirected directly,
20061 # and sets the high bit in the cache file unless we assign to the vars.
20064 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20066 # `set' does not quote correctly, so add quotes (double-quote
20067 # substitution turns \\\\ into \\, and sed turns \\ into \).
20070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20073 # `set' quotes correctly as required by POSIX, so do not add quotes.
20075 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20082 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20084 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20086 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20087 if test -w $cache_file; then
20088 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20089 cat confcache >$cache_file
20091 echo "not updating unwritable cache $cache_file"
20096 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20097 # Let make expand exec_prefix.
20098 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20100 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20101 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20102 # trailing colons and then remove the whole line if VPATH becomes empty
20103 # (actually we leave an empty line to preserve line numbers).
20104 if test "x$srcdir" = x.; then
20105 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20106 s/:*\$(srcdir):*/:/;
20107 s/:*\${srcdir}:*/:/;
20109 s/^\([^=]*=[ ]*\):*/\1/;
20115 DEFS=-DHAVE_CONFIG_H
20119 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20120 # 1. Remove the extension, and $U if already installed.
20121 ac_i=`echo "$ac_i" |
20122 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20124 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20125 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20127 LIBOBJS=$ac_libobjs
20129 LTLIBOBJS=$ac_ltlibobjs
20133 : ${CONFIG_STATUS=./config.status}
20134 ac_clean_files_save=$ac_clean_files
20135 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20136 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20137 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20138 cat >$CONFIG_STATUS <<_ACEOF
20140 # Generated by $as_me.
20141 # Run this file to recreate the current configuration.
20142 # Compiler output produced by configure, useful for debugging
20143 # configure, is in config.log if it exists.
20146 ac_cs_recheck=false
20148 SHELL=\${CONFIG_SHELL-$SHELL}
20151 cat >>$CONFIG_STATUS <<\_ACEOF
20152 ## --------------------- ##
20153 ## M4sh Initialization. ##
20154 ## --------------------- ##
20156 # Be Bourne compatible
20157 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20160 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20161 # is contrary to our usage. Disable this feature.
20162 alias -g '${1+"$@"}'='"$@"'
20163 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20166 DUALCASE=1; export DUALCASE # for MKS sh
20168 # Support unset when possible.
20169 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20176 # Work around bugs in pre-3.0 UWIN ksh.
20177 $as_unset ENV MAIL MAILPATH
20184 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20185 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20186 LC_TELEPHONE LC_TIME
20188 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20189 eval $as_var=C; export $as_var
20195 # Required to use basename.
20196 if expr a : '\(a\)' >/dev/null 2>&1; then
20202 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20203 as_basename=basename
20209 # Name of the executable.
20210 as_me=`$as_basename "$0" ||
20211 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20212 X"$0" : 'X\(//\)$' \| \
20213 X"$0" : 'X\(/\)$' \| \
20214 . : '\(.\)' 2>/dev/null ||
20216 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20217 /^X\/\(\/\/\)$/{ s//\1/; q; }
20218 /^X\/\(\/\).*/{ s//\1/; q; }
20222 # PATH needs CR, and LINENO needs CR and PATH.
20223 # Avoid depending upon Character Ranges.
20224 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20225 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20226 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20227 as_cr_digits='0123456789'
20228 as_cr_alnum=$as_cr_Letters$as_cr_digits
20230 # The user is always right.
20231 if test "${PATH_SEPARATOR+set}" != set; then
20232 echo "#! /bin/sh" >conf$$.sh
20233 echo "exit 0" >>conf$$.sh
20235 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20244 as_lineno_1=$LINENO
20245 as_lineno_2=$LINENO
20246 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20247 test "x$as_lineno_1" != "x$as_lineno_2" &&
20248 test "x$as_lineno_3" = "x$as_lineno_2" || {
20249 # Find who we are. Look in the path if we contain no path at all
20252 *[\\/]* ) as_myself=$0 ;;
20253 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20254 for as_dir in $PATH
20257 test -z "$as_dir" && as_dir=.
20258 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20263 # We did not find ourselves, most probably we were run as `sh COMMAND'
20264 # in which case we are not to be found in the path.
20265 if test "x$as_myself" = x; then
20268 if test ! -f "$as_myself"; then
20269 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20270 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20271 { (exit 1); exit 1; }; }
20273 case $CONFIG_SHELL in
20275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20276 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20279 test -z "$as_dir" && as_dir=.
20280 for as_base in sh bash ksh sh5; do
20283 if ("$as_dir/$as_base" -c '
20284 as_lineno_1=$LINENO
20285 as_lineno_2=$LINENO
20286 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20287 test "x$as_lineno_1" != "x$as_lineno_2" &&
20288 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20289 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20290 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20291 CONFIG_SHELL=$as_dir/$as_base
20292 export CONFIG_SHELL
20293 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20301 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20302 # uniformly replaced by the line number. The first 'sed' inserts a
20303 # line-number line before each line; the second 'sed' does the real
20304 # work. The second script uses 'N' to pair each line-number line
20305 # with the numbered line, and appends trailing '-' during
20306 # substitution so that $LINENO is not a special case at line end.
20307 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20308 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20309 sed '=' <$as_myself |
20314 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20317 s,^['$as_cr_digits']*\n,,
20318 ' >$as_me.lineno &&
20319 chmod +x $as_me.lineno ||
20320 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20321 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20322 { (exit 1); exit 1; }; }
20324 # Don't try to exec as it changes $[0], causing all sort of problems
20325 # (the dirname of $[0] is not the place where we might find the
20326 # original and so on. Autoconf is especially sensible to this).
20328 # Exit status is that of the last command.
20333 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20334 *c*,-n*) ECHO_N= ECHO_C='
20336 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20337 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20340 if expr a : '\(a\)' >/dev/null 2>&1; then
20346 rm -f conf$$ conf$$.exe conf$$.file
20348 if ln -s conf$$.file conf$$ 2>/dev/null; then
20349 # We could just check for DJGPP; but this test a) works b) is more generic
20350 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20351 if test -f conf$$.exe; then
20352 # Don't use ln at all; we don't have any links
20357 elif ln conf$$.file conf$$ 2>/dev/null; then
20362 rm -f conf$$ conf$$.exe conf$$.file
20364 if mkdir -p . 2>/dev/null; then
20367 test -d ./-p && rmdir ./-p
20371 as_executable_p="test -f"
20373 # Sed expression to map a string onto a valid CPP name.
20374 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20376 # Sed expression to map a string onto a valid variable name.
20377 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20381 # We need space, tab and new line, in precisely that order.
20391 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20392 # report actual input values of CONFIG_FILES etc. instead of their
20393 # values after options handling. Logging --version etc. is OK.
20397 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20398 ## Running $as_me. ##
20403 This file was extended by Wine $as_me 20040309, which was
20404 generated by GNU Autoconf 2.59. Invocation command line was
20406 CONFIG_FILES = $CONFIG_FILES
20407 CONFIG_HEADERS = $CONFIG_HEADERS
20408 CONFIG_LINKS = $CONFIG_LINKS
20409 CONFIG_COMMANDS = $CONFIG_COMMANDS
20413 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20417 # Files that config.status was made for.
20418 if test -n "$ac_config_files"; then
20419 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20422 if test -n "$ac_config_headers"; then
20423 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20426 if test -n "$ac_config_links"; then
20427 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20430 if test -n "$ac_config_commands"; then
20431 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20434 cat >>$CONFIG_STATUS <<\_ACEOF
20437 \`$as_me' instantiates files from templates according to the
20438 current configuration.
20440 Usage: $0 [OPTIONS] [FILE]...
20442 -h, --help print this help, then exit
20443 -V, --version print version number, then exit
20444 -q, --quiet do not print progress messages
20445 -d, --debug don't remove temporary files
20446 --recheck update $as_me by reconfiguring in the same conditions
20447 --file=FILE[:TEMPLATE]
20448 instantiate the configuration file FILE
20449 --header=FILE[:TEMPLATE]
20450 instantiate the configuration header FILE
20452 Configuration files:
20455 Configuration headers:
20458 Configuration commands:
20461 Report bugs to <bug-autoconf@gnu.org>."
20464 cat >>$CONFIG_STATUS <<_ACEOF
20466 Wine config.status 20040309
20467 configured by $0, generated by GNU Autoconf 2.59,
20468 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20470 Copyright (C) 2003 Free Software Foundation, Inc.
20471 This config.status script is free software; the Free Software Foundation
20472 gives unlimited permission to copy, distribute and modify it."
20477 cat >>$CONFIG_STATUS <<\_ACEOF
20478 # If no file are specified by the user, then we need to provide default
20479 # value. By we need to know if files were specified by the user.
20485 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20486 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20494 *) # This is not an option, so the user has probably given explicit
20497 ac_need_defaults=false;;
20501 # Handling of the options.
20503 cat >>$CONFIG_STATUS <<\_ACEOF
20504 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20506 --version | --vers* | -V )
20507 echo "$ac_cs_version"; exit 0 ;;
20509 # Conflict between --help and --header
20510 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20511 Try \`$0 --help' for more information." >&5
20512 echo "$as_me: error: ambiguous option: $1
20513 Try \`$0 --help' for more information." >&2;}
20514 { (exit 1); exit 1; }; };;
20515 --help | --hel | -h )
20516 echo "$ac_cs_usage"; exit 0 ;;
20517 --debug | --d* | -d )
20519 --file | --fil | --fi | --f )
20521 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20522 ac_need_defaults=false;;
20523 --header | --heade | --head | --hea )
20525 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20526 ac_need_defaults=false;;
20527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20528 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20531 # This is an error.
20532 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20533 Try \`$0 --help' for more information." >&5
20534 echo "$as_me: error: unrecognized option: $1
20535 Try \`$0 --help' for more information." >&2;}
20536 { (exit 1); exit 1; }; } ;;
20538 *) ac_config_targets="$ac_config_targets $1" ;;
20544 ac_configure_extra_args=
20546 if $ac_cs_silent; then
20548 ac_configure_extra_args="$ac_configure_extra_args --silent"
20552 cat >>$CONFIG_STATUS <<_ACEOF
20553 if \$ac_cs_recheck; then
20554 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20555 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20564 cat >>$CONFIG_STATUS <<\_ACEOF
20565 for ac_config_target in $ac_config_targets
20567 case "$ac_config_target" in
20568 # Handling of arguments.
20569 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20570 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20571 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20572 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20573 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20574 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20575 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20576 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20577 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20578 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20579 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20580 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20581 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20582 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20583 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20584 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20585 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20586 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20587 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20588 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20589 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20590 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20591 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20592 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20593 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20594 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20595 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20596 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20597 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20598 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20599 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20600 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20601 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20602 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20603 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20604 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20605 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20606 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20607 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20608 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20609 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20610 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20611 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20612 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20613 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20614 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20615 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20616 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20617 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20618 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20619 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20620 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20621 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20622 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20623 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20624 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20625 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20626 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20627 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20628 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20629 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20630 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20631 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20632 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20633 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20634 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20635 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20636 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20637 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20638 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20639 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20640 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20641 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20642 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20643 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20644 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20645 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20646 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20647 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20648 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20649 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20650 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20651 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20652 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20653 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20654 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20655 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20656 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20657 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20658 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20659 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20660 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20661 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20662 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20663 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20664 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20665 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20666 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20667 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20668 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20669 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20670 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20671 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20672 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20673 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20674 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20675 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20676 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20677 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20678 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20679 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20680 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20681 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20682 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20683 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20684 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20685 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20686 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20687 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20688 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20689 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20690 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20691 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20692 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20693 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20694 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20695 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20696 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20697 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20698 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20699 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20700 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20701 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20702 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20703 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20704 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20705 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20706 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20707 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20708 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20709 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20710 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20711 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20712 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20713 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20714 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20715 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20716 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20717 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20718 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20719 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20720 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20721 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20722 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20723 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20724 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20725 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20726 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20727 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20728 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20729 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20730 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20731 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20732 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20733 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20734 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20735 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20736 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20737 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20738 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20739 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20740 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20741 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20742 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20743 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20744 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20745 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20746 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20747 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20748 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20749 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20750 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20751 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20752 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20753 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20754 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20755 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20756 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20757 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20758 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20759 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20760 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20761 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20762 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20763 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20764 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20765 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20766 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20767 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20768 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20769 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20770 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20771 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20772 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20773 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20774 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20775 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20776 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20777 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20778 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20779 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20780 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20781 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20782 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20783 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20784 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20785 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20786 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20787 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20788 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20789 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
20790 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20791 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20792 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20793 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20794 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20795 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20796 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20797 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20798 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20799 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20800 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20801 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20802 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
20803 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20804 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
20805 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
20806 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20807 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20808 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20809 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20810 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20811 { (exit 1); exit 1; }; };;
20815 # If the user did not use the arguments to specify the items to instantiate,
20816 # then the envvar interface is used. Set only those that are not.
20817 # We use the long form for the default assignment because of an extremely
20818 # bizarre bug on SunOS 4.1.3.
20819 if $ac_need_defaults; then
20820 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20821 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20822 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20825 # Have a temporary directory for convenience. Make it in the build tree
20826 # simply because there is no reason to put it here, and in addition,
20827 # creating and moving files from /tmp can sometimes cause problems.
20828 # Create a temporary directory, and hook for its removal unless debugging.
20831 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20832 trap '{ (exit 1); exit 1; }' 1 2 13 15
20835 # Create a (secure) tmp directory for tmp files.
20838 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20839 test -n "$tmp" && test -d "$tmp"
20842 tmp=./confstat$$-$RANDOM
20843 (umask 077 && mkdir $tmp)
20846 echo "$me: cannot create a temporary directory in ." >&2
20847 { (exit 1); exit 1; }
20852 cat >>$CONFIG_STATUS <<_ACEOF
20855 # CONFIG_FILES section.
20858 # No need to generate the scripts if there are no CONFIG_FILES.
20859 # This happens for instance when ./config.status config.h
20860 if test -n "\$CONFIG_FILES"; then
20861 # Protect against being on the right side of a sed subst in config.status.
20862 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20863 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20864 s,@SHELL@,$SHELL,;t t
20865 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20866 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20867 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20868 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20869 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20870 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20871 s,@exec_prefix@,$exec_prefix,;t t
20872 s,@prefix@,$prefix,;t t
20873 s,@program_transform_name@,$program_transform_name,;t t
20874 s,@bindir@,$bindir,;t t
20875 s,@sbindir@,$sbindir,;t t
20876 s,@libexecdir@,$libexecdir,;t t
20877 s,@datadir@,$datadir,;t t
20878 s,@sysconfdir@,$sysconfdir,;t t
20879 s,@sharedstatedir@,$sharedstatedir,;t t
20880 s,@localstatedir@,$localstatedir,;t t
20881 s,@libdir@,$libdir,;t t
20882 s,@includedir@,$includedir,;t t
20883 s,@oldincludedir@,$oldincludedir,;t t
20884 s,@infodir@,$infodir,;t t
20885 s,@mandir@,$mandir,;t t
20886 s,@build_alias@,$build_alias,;t t
20887 s,@host_alias@,$host_alias,;t t
20888 s,@target_alias@,$target_alias,;t t
20889 s,@DEFS@,$DEFS,;t t
20890 s,@ECHO_C@,$ECHO_C,;t t
20891 s,@ECHO_N@,$ECHO_N,;t t
20892 s,@ECHO_T@,$ECHO_T,;t t
20893 s,@LIBS@,$LIBS,;t t
20894 s,@WIN16_FILES@,$WIN16_FILES,;t t
20895 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20896 s,@build@,$build,;t t
20897 s,@build_cpu@,$build_cpu,;t t
20898 s,@build_vendor@,$build_vendor,;t t
20899 s,@build_os@,$build_os,;t t
20900 s,@host@,$host,;t t
20901 s,@host_cpu@,$host_cpu,;t t
20902 s,@host_vendor@,$host_vendor,;t t
20903 s,@host_os@,$host_os,;t t
20904 s,@SET_MAKE@,$SET_MAKE,;t t
20906 s,@CFLAGS@,$CFLAGS,;t t
20907 s,@LDFLAGS@,$LDFLAGS,;t t
20908 s,@CPPFLAGS@,$CPPFLAGS,;t t
20909 s,@ac_ct_CC@,$ac_ct_CC,;t t
20910 s,@EXEEXT@,$EXEEXT,;t t
20911 s,@OBJEXT@,$OBJEXT,;t t
20913 s,@CXXFLAGS@,$CXXFLAGS,;t t
20914 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20915 s,@CPPBIN@,$CPPBIN,;t t
20916 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20917 s,@TOOLSDIR@,$TOOLSDIR,;t t
20919 s,@X_CFLAGS@,$X_CFLAGS,;t t
20920 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20921 s,@X_LIBS@,$X_LIBS,;t t
20922 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20924 s,@LEXLIB@,$LEXLIB,;t t
20925 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20926 s,@XLEX@,$XLEX,;t t
20927 s,@BISON@,$BISON,;t t
20929 s,@ac_ct_AS@,$ac_ct_AS,;t t
20931 s,@ac_ct_LD@,$ac_ct_LD,;t t
20933 s,@ac_ct_AR@,$ac_ct_AR,;t t
20934 s,@RANLIB@,$RANLIB,;t t
20935 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20936 s,@STRIP@,$STRIP,;t t
20937 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20938 s,@WINDRES@,$WINDRES,;t t
20939 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20940 s,@LN_S@,$LN_S,;t t
20942 s,@LDCONFIG@,$LDCONFIG,;t t
20943 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20944 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20945 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20946 s,@LINT@,$LINT,;t t
20947 s,@LINTFLAGS@,$LINTFLAGS,;t t
20948 s,@DB2HTML@,$DB2HTML,;t t
20949 s,@DB2PDF@,$DB2PDF,;t t
20950 s,@DB2PS@,$DB2PS,;t t
20951 s,@DB2TXT@,$DB2TXT,;t t
20952 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20953 s,@JPEGLIB@,$JPEGLIB,;t t
20954 s,@EGREP@,$EGREP,;t t
20955 s,@GIFLIB@,$GIFLIB,;t t
20956 s,@XLIB@,$XLIB,;t t
20957 s,@XFILES@,$XFILES,;t t
20958 s,@OPENGLFILES@,$OPENGLFILES,;t t
20959 s,@GLU32FILES@,$GLU32FILES,;t t
20960 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20961 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20962 s,@GLUT32FILES@,$GLUT32FILES,;t t
20963 s,@NASLIBS@,$NASLIBS,;t t
20964 s,@CURSESLIBS@,$CURSESLIBS,;t t
20965 s,@sane_devel@,$sane_devel,;t t
20966 s,@SANELIBS@,$SANELIBS,;t t
20967 s,@SANEINCL@,$SANEINCL,;t t
20968 s,@ICULIBS@,$ICULIBS,;t t
20969 s,@ft_devel@,$ft_devel,;t t
20970 s,@ft_devel2@,$ft_devel2,;t t
20971 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20972 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20973 s,@ARTSLIBS@,$ARTSLIBS,;t t
20974 s,@ARTSINCL@,$ARTSINCL,;t t
20975 s,@ALSALIBS@,$ALSALIBS,;t t
20976 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20977 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20978 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20979 s,@DLLEXT@,$DLLEXT,;t t
20980 s,@DLLFLAGS@,$DLLFLAGS,;t t
20981 s,@DLLIBS@,$DLLIBS,;t t
20982 s,@LDSHARED@,$LDSHARED,;t t
20983 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20984 s,@LIBEXT@,$LIBEXT,;t t
20985 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20986 s,@DLLTOOL@,$DLLTOOL,;t t
20987 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20988 s,@DLLWRAP@,$DLLWRAP,;t t
20989 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20990 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20991 s,@CROSSTEST@,$CROSSTEST,;t t
20992 s,@CROSSCC@,$CROSSCC,;t t
20993 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20994 s,@LDPATH@,$LDPATH,;t t
20995 s,@CRTLIBS@,$CRTLIBS,;t t
20996 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20997 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20999 s,@ALLOCA@,$ALLOCA,;t t
21000 s,@LIBOBJS@,$LIBOBJS,;t t
21001 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21002 /@MAKE_RULES@/r $MAKE_RULES
21003 s,@MAKE_RULES@,,;t t
21004 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21005 s,@MAKE_DLL_RULES@,,;t t
21006 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21007 s,@MAKE_TEST_RULES@,,;t t
21008 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21009 s,@MAKE_LIB_RULES@,,;t t
21010 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21011 s,@MAKE_PROG_RULES@,,;t t
21016 cat >>$CONFIG_STATUS <<\_ACEOF
21017 # Split the substitutions into bite-sized pieces for seds with
21018 # small command number limits, like on Digital OSF/1 and HP-UX.
21019 ac_max_sed_lines=48
21020 ac_sed_frag=1 # Number of current file.
21021 ac_beg=1 # First line for current file.
21022 ac_end=$ac_max_sed_lines # Line after last line for current file.
21025 while $ac_more_lines; do
21026 if test $ac_beg -gt 1; then
21027 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21029 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21031 if test ! -s $tmp/subs.frag; then
21032 ac_more_lines=false
21034 # The purpose of the label and of the branching condition is to
21035 # speed up the sed processing (if there are no `@' at all, there
21036 # is no need to browse any of the substitutions).
21037 # These are the two extra sed commands mentioned above.
21039 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21040 if test -z "$ac_sed_cmds"; then
21041 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21043 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21045 ac_sed_frag=`expr $ac_sed_frag + 1`
21047 ac_end=`expr $ac_end + $ac_max_sed_lines`
21050 if test -z "$ac_sed_cmds"; then
21053 fi # test -n "$CONFIG_FILES"
21056 cat >>$CONFIG_STATUS <<\_ACEOF
21057 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21058 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21060 - | *:- | *:-:* ) # input from stdin
21062 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21064 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21065 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21066 * ) ac_file_in=$ac_file.in ;;
21069 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21070 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21071 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21072 X"$ac_file" : 'X\(//\)[^/]' \| \
21073 X"$ac_file" : 'X\(//\)$' \| \
21074 X"$ac_file" : 'X\(/\)' \| \
21075 . : '\(.\)' 2>/dev/null ||
21077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21079 /^X\(\/\/\)$/{ s//\1/; q; }
21080 /^X\(\/\).*/{ s//\1/; q; }
21082 { if $as_mkdir_p; then
21087 while test ! -d "$as_dir"; do
21088 as_dirs="$as_dir $as_dirs"
21089 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21091 X"$as_dir" : 'X\(//\)[^/]' \| \
21092 X"$as_dir" : 'X\(//\)$' \| \
21093 X"$as_dir" : 'X\(/\)' \| \
21094 . : '\(.\)' 2>/dev/null ||
21096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21098 /^X\(\/\/\)$/{ s//\1/; q; }
21099 /^X\(\/\).*/{ s//\1/; q; }
21102 test ! -n "$as_dirs" || mkdir $as_dirs
21103 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21104 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21105 { (exit 1); exit 1; }; }; }
21109 if test "$ac_dir" != .; then
21110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21111 # A "../" for each directory in $ac_dir_suffix.
21112 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21114 ac_dir_suffix= ac_top_builddir=
21118 .) # No --srcdir option. We are building in place.
21120 if test -z "$ac_top_builddir"; then
21123 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21125 [\\/]* | ?:[\\/]* ) # Absolute path.
21126 ac_srcdir=$srcdir$ac_dir_suffix;
21127 ac_top_srcdir=$srcdir ;;
21128 *) # Relative path.
21129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21130 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21133 # Do not use `cd foo && pwd` to compute absolute paths, because
21134 # the directories may not exist.
21136 .) ac_abs_builddir="$ac_dir";;
21139 .) ac_abs_builddir=`pwd`;;
21140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21141 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21144 case $ac_abs_builddir in
21145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21147 case ${ac_top_builddir}. in
21148 .) ac_abs_top_builddir=$ac_abs_builddir;;
21149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21153 case $ac_abs_builddir in
21154 .) ac_abs_srcdir=$ac_srcdir;;
21157 .) ac_abs_srcdir=$ac_abs_builddir;;
21158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21162 case $ac_abs_builddir in
21163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21165 case $ac_top_srcdir in
21166 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21174 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21175 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21178 # Let's still pretend it is `configure' which instantiates (i.e., don't
21179 # use $as_me), people would be surprised to read:
21180 # /* config.h. Generated by config.status. */
21181 if test x"$ac_file" = x-; then
21184 configure_input="$ac_file. "
21186 configure_input=$configure_input"Generated from `echo $ac_file_in |
21187 sed 's,.*/,,'` by configure."
21189 # First look for the input files in the build tree, otherwise in the
21191 ac_file_inputs=`IFS=:
21192 for f in $ac_file_in; do
21194 -) echo $tmp/stdin ;;
21196 # Absolute (can't be DOS-style, as IFS=:)
21197 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21198 echo "$as_me: error: cannot find input file: $f" >&2;}
21199 { (exit 1); exit 1; }; }
21202 if test -f "$f"; then
21205 elif test -f "$srcdir/$f"; then
21210 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21211 echo "$as_me: error: cannot find input file: $f" >&2;}
21212 { (exit 1); exit 1; }; }
21215 done` || { (exit 1); exit 1; }
21217 if test x"$ac_file" != x-; then
21218 { echo "$as_me:$LINENO: creating $ac_file" >&5
21219 echo "$as_me: creating $ac_file" >&6;}
21223 cat >>$CONFIG_STATUS <<_ACEOF
21227 cat >>$CONFIG_STATUS <<\_ACEOF
21229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21230 s,@configure_input@,$configure_input,;t t
21231 s,@srcdir@,$ac_srcdir,;t t
21232 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21233 s,@top_srcdir@,$ac_top_srcdir,;t t
21234 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21235 s,@builddir@,$ac_builddir,;t t
21236 s,@abs_builddir@,$ac_abs_builddir,;t t
21237 s,@top_builddir@,$ac_top_builddir,;t t
21238 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21239 s,@INSTALL@,$ac_INSTALL,;t t
21240 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21242 if test x"$ac_file" != x-; then
21243 mv $tmp/out $ac_file
21251 cat >>$CONFIG_STATUS <<\_ACEOF
21254 # CONFIG_HEADER section.
21257 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21258 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21260 # ac_d sets the value in "#define NAME VALUE" lines.
21261 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21262 ac_dB='[ ].*$,\1#\2'
21265 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21266 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21267 ac_uB='$,\1#\2define\3'
21271 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21272 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21274 - | *:- | *:-:* ) # input from stdin
21276 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21277 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21278 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21279 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21280 * ) ac_file_in=$ac_file.in ;;
21283 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21284 echo "$as_me: creating $ac_file" >&6;}
21286 # First look for the input files in the build tree, otherwise in the
21288 ac_file_inputs=`IFS=:
21289 for f in $ac_file_in; do
21291 -) echo $tmp/stdin ;;
21293 # Absolute (can't be DOS-style, as IFS=:)
21294 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21295 echo "$as_me: error: cannot find input file: $f" >&2;}
21296 { (exit 1); exit 1; }; }
21297 # Do quote $f, to prevent DOS paths from being IFS'd.
21300 if test -f "$f"; then
21303 elif test -f "$srcdir/$f"; then
21308 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21309 echo "$as_me: error: cannot find input file: $f" >&2;}
21310 { (exit 1); exit 1; }; }
21313 done` || { (exit 1); exit 1; }
21314 # Remove the trailing spaces.
21315 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21319 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21320 # `conftest.undefs', that substitutes the proper values into
21321 # config.h.in to produce config.h. The first handles `#define'
21322 # templates, and the second `#undef' templates.
21323 # And first: Protect against being on the right side of a sed subst in
21324 # config.status. Protect against being in an unquoted here document
21325 # in config.status.
21326 rm -f conftest.defines conftest.undefs
21327 # Using a here document instead of a string reduces the quoting nightmare.
21328 # Putting comments in sed scripts is not portable.
21330 # `end' is used to avoid that the second main sed command (meant for
21331 # 0-ary CPP macros) applies to n-ary macro definitions.
21332 # See the Autoconf documentation for `clear'.
21333 cat >confdef2sed.sed <<\_ACEOF
21338 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21340 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21343 # If some macros were called several times there might be several times
21344 # the same #defines, which is useless. Nevertheless, we may not want to
21345 # sort them, since we want the *last* AC-DEFINE to be honored.
21346 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21347 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21348 rm -f confdef2sed.sed
21350 # This sed command replaces #undef with comments. This is necessary, for
21351 # example, in the case of _POSIX_SOURCE, which is predefined and required
21352 # on some systems where configure will not decide to define it.
21353 cat >>conftest.undefs <<\_ACEOF
21354 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21357 # Break up conftest.defines because some shells have a limit on the size
21358 # of here documents, and old seds have small limits too (100 cmds).
21359 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21360 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21361 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21362 echo ' :' >>$CONFIG_STATUS
21363 rm -f conftest.tail
21364 while grep . conftest.defines >/dev/null
21366 # Write a limited-size here document to $tmp/defines.sed.
21367 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21368 # Speed up: don't consider the non `#define' lines.
21369 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21370 # Work around the forget-to-reset-the-flag bug.
21371 echo 't clr' >>$CONFIG_STATUS
21372 echo ': clr' >>$CONFIG_STATUS
21373 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21375 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21377 mv $tmp/out $tmp/in
21379 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21380 rm -f conftest.defines
21381 mv conftest.tail conftest.defines
21383 rm -f conftest.defines
21384 echo ' fi # grep' >>$CONFIG_STATUS
21385 echo >>$CONFIG_STATUS
21387 # Break up conftest.undefs because some shells have a limit on the size
21388 # of here documents, and old seds have small limits too (100 cmds).
21389 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21390 rm -f conftest.tail
21391 while grep . conftest.undefs >/dev/null
21393 # Write a limited-size here document to $tmp/undefs.sed.
21394 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21395 # Speed up: don't consider the non `#undef'
21396 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21397 # Work around the forget-to-reset-the-flag bug.
21398 echo 't clr' >>$CONFIG_STATUS
21399 echo ': clr' >>$CONFIG_STATUS
21400 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21402 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21404 mv $tmp/out $tmp/in
21406 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21407 rm -f conftest.undefs
21408 mv conftest.tail conftest.undefs
21410 rm -f conftest.undefs
21412 cat >>$CONFIG_STATUS <<\_ACEOF
21413 # Let's still pretend it is `configure' which instantiates (i.e., don't
21414 # use $as_me), people would be surprised to read:
21415 # /* config.h. Generated by config.status. */
21416 if test x"$ac_file" = x-; then
21417 echo "/* Generated by configure. */" >$tmp/config.h
21419 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21421 cat $tmp/in >>$tmp/config.h
21423 if test x"$ac_file" != x-; then
21424 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21425 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21426 echo "$as_me: $ac_file is unchanged" >&6;}
21428 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21430 X"$ac_file" : 'X\(//\)[^/]' \| \
21431 X"$ac_file" : 'X\(//\)$' \| \
21432 X"$ac_file" : 'X\(/\)' \| \
21433 . : '\(.\)' 2>/dev/null ||
21435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21437 /^X\(\/\/\)$/{ s//\1/; q; }
21438 /^X\(\/\).*/{ s//\1/; q; }
21440 { if $as_mkdir_p; then
21445 while test ! -d "$as_dir"; do
21446 as_dirs="$as_dir $as_dirs"
21447 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21449 X"$as_dir" : 'X\(//\)[^/]' \| \
21450 X"$as_dir" : 'X\(//\)$' \| \
21451 X"$as_dir" : 'X\(/\)' \| \
21452 . : '\(.\)' 2>/dev/null ||
21454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21456 /^X\(\/\/\)$/{ s//\1/; q; }
21457 /^X\(\/\).*/{ s//\1/; q; }
21460 test ! -n "$as_dirs" || mkdir $as_dirs
21461 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21462 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21463 { (exit 1); exit 1; }; }; }
21466 mv $tmp/config.h $ac_file
21470 rm -f $tmp/config.h
21474 cat >>$CONFIG_STATUS <<\_ACEOF
21477 # CONFIG_COMMANDS section.
21479 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21480 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21481 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21482 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21483 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21484 X"$ac_dest" : 'X\(//\)[^/]' \| \
21485 X"$ac_dest" : 'X\(//\)$' \| \
21486 X"$ac_dest" : 'X\(/\)' \| \
21487 . : '\(.\)' 2>/dev/null ||
21489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21491 /^X\(\/\/\)$/{ s//\1/; q; }
21492 /^X\(\/\).*/{ s//\1/; q; }
21494 { if $as_mkdir_p; then
21499 while test ! -d "$as_dir"; do
21500 as_dirs="$as_dir $as_dirs"
21501 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21502 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21503 X"$as_dir" : 'X\(//\)[^/]' \| \
21504 X"$as_dir" : 'X\(//\)$' \| \
21505 X"$as_dir" : 'X\(/\)' \| \
21506 . : '\(.\)' 2>/dev/null ||
21508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21509 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21510 /^X\(\/\/\)$/{ s//\1/; q; }
21511 /^X\(\/\).*/{ s//\1/; q; }
21514 test ! -n "$as_dirs" || mkdir $as_dirs
21515 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21516 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21517 { (exit 1); exit 1; }; }; }
21521 if test "$ac_dir" != .; then
21522 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21523 # A "../" for each directory in $ac_dir_suffix.
21524 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21526 ac_dir_suffix= ac_top_builddir=
21530 .) # No --srcdir option. We are building in place.
21532 if test -z "$ac_top_builddir"; then
21535 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21537 [\\/]* | ?:[\\/]* ) # Absolute path.
21538 ac_srcdir=$srcdir$ac_dir_suffix;
21539 ac_top_srcdir=$srcdir ;;
21540 *) # Relative path.
21541 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21542 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21545 # Do not use `cd foo && pwd` to compute absolute paths, because
21546 # the directories may not exist.
21548 .) ac_abs_builddir="$ac_dir";;
21551 .) ac_abs_builddir=`pwd`;;
21552 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21553 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21556 case $ac_abs_builddir in
21557 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21559 case ${ac_top_builddir}. in
21560 .) ac_abs_top_builddir=$ac_abs_builddir;;
21561 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21562 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21565 case $ac_abs_builddir in
21566 .) ac_abs_srcdir=$ac_srcdir;;
21569 .) ac_abs_srcdir=$ac_abs_builddir;;
21570 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21571 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21574 case $ac_abs_builddir in
21575 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21577 case $ac_top_srcdir in
21578 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21579 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21580 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21585 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21586 echo "$as_me: executing $ac_dest commands" >&6;}
21588 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
21589 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
21590 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21591 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21592 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21593 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21594 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21595 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21596 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21597 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21598 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21599 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21600 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21601 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21602 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21603 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21604 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21605 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21606 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21607 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21608 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21609 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21610 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21611 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21612 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21613 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21614 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
21615 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
21616 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21617 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21618 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
21619 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
21620 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
21621 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
21622 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21623 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21624 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21625 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21630 cat >>$CONFIG_STATUS <<\_ACEOF
21632 { (exit 0); exit 0; }
21634 chmod +x $CONFIG_STATUS
21635 ac_clean_files=$ac_clean_files_save
21638 # configure is writing to config.log, and then calls config.status.
21639 # config.status does its own redirection, appending to config.log.
21640 # Unfortunately, on DOS this fails, as config.log is still kept open
21641 # by configure, so config.status won't be able to write to it; its
21642 # output is simply discarded. So we exec the FD to /dev/null,
21643 # effectively closing config.log, so it can be properly (re)opened and
21644 # appended to by config.status. When coming back to configure, we
21645 # need to make the FD available again.
21646 if test "$no_create" != yes; then
21648 ac_config_status_args=
21649 test "$silent" = yes &&
21650 ac_config_status_args="$ac_config_status_args --quiet"
21652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21655 # would make configure fail if this is the last instruction.
21656 $ac_cs_success || { (exit 1); exit 1; }
21660 if test "$have_x" = "no"
21663 echo "*** Warning: X development files not found. Wine will be built without"
21664 echo "*** X support, which currently does not work, and would probably not be"
21665 echo "*** what you want anyway. You will need to install devel packages of"
21666 echo "*** Xlib/Xfree86 at the very least."
21669 if test "$wine_cv_opengl_version_OK" = "no"
21672 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21673 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21676 if test "$wine_cv_msg_freetype" = "yes"
21679 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21680 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21681 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21682 echo "*** enable Wine to use TrueType fonts."
21686 echo "Configure finished. Do 'make depend && make' to compile Wine."