2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20041019.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME='wine'
272 PACKAGE_VERSION='20041019'
273 PACKAGE_STRING='Wine 20041019'
274 PACKAGE_BUGREPORT='wine-devel@winehq.org'
276 ac_unique_file="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CXX_set=${CXX+set}
772 ac_env_CXX_value=$CXX
773 ac_cv_env_CXX_set=${CXX+set}
774 ac_cv_env_CXX_value=$CXX
775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20041019 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are in DIR
846 --x-libraries=DIR X library files are in DIR
849 --build=BUILD configure for building on BUILD [guessed]
850 --host=HOST cross-compile to build programs to run on HOST [BUILD]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of Wine 20041019:";;
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
866 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
877 Some influential environment variables:
878 CC C compiler command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
881 nonstandard directory <lib dir>
882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
883 headers in a nonstandard directory <include dir>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
888 Use these variables to override the choices made by `configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
891 Report bugs to <wine-devel@winehq.org>.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix= ac_top_builddir=
911 .) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .) ac_abs_builddir="$ac_dir";;
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
987 Wine configure 20041019
988 generated by GNU Autoconf 2.59
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20041019, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next=false
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next=true ;;
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers include/config.h"
1341 for ac_dir in tools $srcdir/tools; do
1342 if test -f $ac_dir/install-sh; then
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh; then
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool; then
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval="$with_wine_tools"
1407 WIN16_FILES="\$(WIN16_FILES)"
1409 WIN16_INSTALL="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1419 if test "x$enable_debug" = "xno"
1421 DLLDEFS="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1425 DLLDEFS="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4 >/dev/null 2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 ac_cv_build_alias=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1456 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_host_alias=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias=$ac_cv_build_alias
1469 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1478 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 if test "x$enable_win64" != "xyes"
1487 test -n "$CC" || CC="gcc -m32"
1488 test -n "$LD" || LD="ld -m elf_i386"
1489 test -n "$AS" || AS="as --32"
1494 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1495 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1496 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1497 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 cat >conftest.make <<\_ACEOF
1502 @echo 'ac_maketemp="$(MAKE)"'
1504 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1505 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1506 if test -n "$ac_maketemp"; then
1507 eval ac_cv_prog_make_${ac_make}_set=yes
1509 eval ac_cv_prog_make_${ac_make}_set=no
1513 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1514 echo "$as_me:$LINENO: result: yes" >&5
1515 echo "${ECHO_T}yes" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1520 SET_MAKE="MAKE=${MAKE-make}"
1524 ac_cpp='$CPP $CPPFLAGS'
1525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1528 if test -n "$ac_tool_prefix"; then
1529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_CC+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$CC"; then
1537 ac_cv_prog_CC="$CC" # Let the user override the test.
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir=.
1544 for ac_exec_ext in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 if test -n "$CC"; then
1557 echo "$as_me:$LINENO: result: $CC" >&5
1558 echo "${ECHO_T}$CC" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1565 if test -z "$ac_cv_prog_CC"; then
1567 # Extract the first word of "gcc", so it can be a program name with args.
1568 set dummy gcc; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$ac_ct_CC"; then
1575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir=.
1582 for ac_exec_ext in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_ac_ct_CC="gcc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1594 if test -n "$ac_ct_CC"; then
1595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1596 echo "${ECHO_T}$ac_ct_CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1607 if test -z "$CC"; then
1608 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1610 set dummy ${ac_tool_prefix}cc; ac_word=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC="$CC" # Let the user override the test.
1619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir=.
1624 for ac_exec_ext in '' $ac_executable_extensions; do
1625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626 ac_cv_prog_CC="${ac_tool_prefix}cc"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636 if test -n "$CC"; then
1637 echo "$as_me:$LINENO: result: $CC" >&5
1638 echo "${ECHO_T}$CC" >&6
1640 echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1645 if test -z "$ac_cv_prog_CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC="cc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1674 if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676 echo "${ECHO_T}$ac_ct_CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1688 if test -z "$CC"; then
1689 # Extract the first word of "cc", so it can be a program name with args.
1690 set dummy cc; ac_word=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC="$CC" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1708 ac_prog_rejected=yes
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test $ac_prog_rejected = yes; then
1719 # We found a bogon in the path, so make sure we never use it.
1720 set dummy $ac_cv_prog_CC
1722 if test $# != 0; then
1723 # We chose a different compiler from the bogus one.
1724 # However, it has the same basename, so the bogon will be chosen
1725 # first if we set CC to just the basename; use the full file name.
1727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC="$CC" # Let the user override the test.
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir=.
1761 for ac_exec_ext in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$CC" && break
1784 if test -z "$CC"; then
1788 # Extract the first word of "$ac_prog", so it can be a program name with args.
1789 set dummy $ac_prog; ac_word=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_CC"; then
1796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir=.
1803 for ac_exec_ext in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_ac_ct_CC="$ac_prog"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1815 if test -n "$ac_ct_CC"; then
1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1817 echo "${ECHO_T}$ac_ct_CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1823 test -n "$ac_ct_CC" && break
1832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: no acceptable C compiler found in \$PATH
1835 See \`config.log' for more details." >&2;}
1836 { (exit 1); exit 1; }; }
1838 # Provide some information about the compiler.
1839 echo "$as_me:$LINENO:" \
1840 "checking for C compiler version" >&5
1841 ac_compiler=`set X $ac_compile; echo $2`
1842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1843 (eval $ac_compiler --version </dev/null >&5) 2>&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }
1847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1848 (eval $ac_compiler -v </dev/null >&5) 2>&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1853 (eval $ac_compiler -V </dev/null >&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1858 cat >conftest.$ac_ext <<_ACEOF
1861 cat confdefs.h >>conftest.$ac_ext
1862 cat >>conftest.$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1873 ac_clean_files_save=$ac_clean_files
1874 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1875 # Try to create an executable without -o first, disregard a.out.
1876 # It will help us diagnose broken compilers, and finding out an intuition
1878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1880 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1882 (eval $ac_link_default) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # Find the output, starting from the most likely. This scheme is
1887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1890 # Be careful to initialize this variable, since it used to be cached.
1891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1893 # b.out is created by i960 compilers.
1894 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1896 test -f "$ac_file" || continue
1898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1901 # This is the source file.
1904 # We found the default executable, but exeext='' is most
1908 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1909 # FIXME: I believe we export ac_cv_exeext for Libtool,
1910 # but it would be cool to find out if it's true. Does anybody
1911 # maintain Libtool? --akim.
1919 echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1923 See \`config.log' for more details." >&5
1924 echo "$as_me: error: C compiler cannot create executables
1925 See \`config.log' for more details." >&2;}
1926 { (exit 77); exit 77; }; }
1929 ac_exeext=$ac_cv_exeext
1930 echo "$as_me:$LINENO: result: $ac_file" >&5
1931 echo "${ECHO_T}$ac_file" >&6
1933 # Check the compiler produces executables we can run. If not, either
1934 # the compiler is broken, or we cross compile.
1935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1938 # If not cross compiling, check that we can run a simple program.
1939 if test "$cross_compiling" != yes; then
1940 if { ac_try='./$ac_file'
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; }; then
1948 if test "$cross_compiling" = maybe; then
1951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1952 If you meant to cross compile, use \`--host'.
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot run C compiled programs.
1955 If you meant to cross compile, use \`--host'.
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1964 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1965 ac_clean_files=$ac_clean_files_save
1966 # Check the compiler produces executables we can run. If not, either
1967 # the compiler is broken, or we cross compile.
1968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1971 echo "${ECHO_T}$cross_compiling" >&6
1973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1976 (eval $ac_link) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }; then
1980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1982 # work properly (i.e., refer to `conftest.exe'), while it won't with
1984 for ac_file in conftest.exe conftest conftest.*; do
1985 test -f "$ac_file" || continue
1987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1988 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1996 See \`config.log' for more details." >&5
1997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1998 See \`config.log' for more details." >&2;}
1999 { (exit 1); exit 1; }; }
2002 rm -f conftest$ac_cv_exeext
2003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2004 echo "${ECHO_T}$ac_cv_exeext" >&6
2006 rm -f conftest.$ac_ext
2007 EXEEXT=$ac_cv_exeext
2009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2011 if test "${ac_cv_objext+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 cat >conftest.$ac_ext <<_ACEOF
2017 cat confdefs.h >>conftest.$ac_ext
2018 cat >>conftest.$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 rm -f conftest.o conftest.obj
2030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2031 (eval $ac_compile) 2>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; then
2035 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2038 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2043 echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2047 See \`config.log' for more details." >&5
2048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2049 See \`config.log' for more details." >&2;}
2050 { (exit 1); exit 1; }; }
2053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2056 echo "${ECHO_T}$ac_cv_objext" >&6
2057 OBJEXT=$ac_cv_objext
2059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.$ac_ext <<_ACEOF
2067 cat confdefs.h >>conftest.$ac_ext
2068 cat >>conftest.$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2082 rm -f conftest.$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084 (eval $ac_compile) 2>conftest.er1
2086 grep -v '^ *+' conftest.er1 >conftest.err
2088 cat conftest.err >&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; } &&
2097 { ac_try='test -s conftest.$ac_objext'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2111 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2114 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2115 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2116 GCC=`test $ac_compiler_gnu = yes && echo yes`
2117 ac_test_CFLAGS=${CFLAGS+set}
2118 ac_save_CFLAGS=$CFLAGS
2120 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2121 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2122 if test "${ac_cv_prog_cc_g+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 cat >conftest.$ac_ext <<_ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 rm -f conftest.$ac_objext
2141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142 (eval $ac_compile) 2>conftest.er1
2144 grep -v '^ *+' conftest.er1 >conftest.err
2146 cat conftest.err >&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.$ac_ext >&5
2168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2170 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2171 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2172 if test "$ac_test_CFLAGS" = set; then
2173 CFLAGS=$ac_save_CFLAGS
2174 elif test $ac_cv_prog_cc_g = yes; then
2175 if test "$GCC" = yes; then
2181 if test "$GCC" = yes; then
2187 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2188 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2189 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 ac_cv_prog_cc_stdc=no
2194 cat >conftest.$ac_ext <<_ACEOF
2197 cat confdefs.h >>conftest.$ac_ext
2198 cat >>conftest.$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2202 #include <sys/types.h>
2203 #include <sys/stat.h>
2204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2205 struct buf { int x; };
2206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2207 static char *e (p, i)
2213 static char *f (char * (*g) (char **, int), char **p, ...)
2218 s = g (p, va_arg (v,int));
2223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2224 function prototypes and stuff, but not '\xHH' hex character constants.
2225 These don't provoke an error unfortunately, instead are silently treated
2226 as 'x'. The following induces an error, until -std1 is added to get
2227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2228 array size at least. It's necessary to write '\x00'==0 to get something
2229 that's true only with -std1. */
2230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2232 int test (int i, double x);
2233 struct s1 {int (*f) (int a);};
2234 struct s2 {int (*f) (double a);};
2235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2246 # Don't try gcc -ansi; that turns off useful extensions and
2247 # breaks some systems' header files.
2248 # AIX -qlanglvl=ansi
2249 # Ultrix and OSF/1 -std1
2250 # HP-UX 10.20 and later -Ae
2251 # HP-UX older versions -Aa -D_HPUX_SOURCE
2252 # SVR4 -Xc -D__EXTENSIONS__
2253 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2255 CC="$ac_save_CC $ac_arg"
2256 rm -f conftest.$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1 >conftest.err
2262 cat conftest.err >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; } &&
2271 { ac_try='test -s conftest.$ac_objext'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2277 ac_cv_prog_cc_stdc=$ac_arg
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2284 rm -f conftest.err conftest.$ac_objext
2286 rm -f conftest.$ac_ext conftest.$ac_objext
2291 case "x$ac_cv_prog_cc_stdc" in
2293 echo "$as_me:$LINENO: result: none needed" >&5
2294 echo "${ECHO_T}none needed" >&6 ;;
2296 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2297 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2298 CC="$CC $ac_cv_prog_cc_stdc" ;;
2301 # Some people use a C++ compiler to compile C. Since we use `exit',
2302 # in C++ we need to declare it. In case someone uses the same compiler
2303 # for both compiling C and C++ we need to have the C++ compiler decide
2304 # the declaration of exit, since it's the most demanding environment.
2305 cat >conftest.$ac_ext <<_ACEOF
2310 rm -f conftest.$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1 >conftest.err
2316 cat conftest.err >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2331 for ac_declaration in \
2333 'extern "C" void std::exit (int) throw (); using std::exit;' \
2334 'extern "C" void std::exit (int); using std::exit;' \
2335 'extern "C" void exit (int) throw ();' \
2336 'extern "C" void exit (int);' \
2339 cat >conftest.$ac_ext <<_ACEOF
2342 cat confdefs.h >>conftest.$ac_ext
2343 cat >>conftest.$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2355 rm -f conftest.$ac_objext
2356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357 (eval $ac_compile) 2>conftest.er1
2359 grep -v '^ *+' conftest.er1 >conftest.err
2361 cat conftest.err >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } &&
2364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.$ac_ext >&5
2383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2384 cat >conftest.$ac_ext <<_ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 rm -f conftest.$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1 >conftest.err
2405 cat conftest.err >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2429 if test -n "$ac_declaration"; then
2430 echo '#ifdef __cplusplus' >>confdefs.h
2431 echo $ac_declaration >>confdefs.h
2432 echo '#endif' >>confdefs.h
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2442 ac_cpp='$CPP $CPPFLAGS'
2443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448 ac_cpp='$CXXCPP $CPPFLAGS'
2449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_CXX+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$CXX"; then
2463 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CXX"; then
2483 echo "$as_me:$LINENO: result: $CXX" >&5
2484 echo "${ECHO_T}$CXX" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2490 test -n "$CXX" && break
2493 if test -z "$CXX"; then
2495 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy $ac_prog; ac_word=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$ac_ct_CXX"; then
2505 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_ac_ct_CXX="$ac_prog"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2524 if test -n "$ac_ct_CXX"; then
2525 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2526 echo "${ECHO_T}$ac_ct_CXX" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2532 test -n "$ac_ct_CXX" && break
2534 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO:" \
2542 "checking for C++ compiler version" >&5
2543 ac_compiler=`set X $ac_compile; echo $2`
2544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2545 (eval $ac_compiler --version </dev/null >&5) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }
2549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2550 (eval $ac_compiler -v </dev/null >&5) 2>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2555 (eval $ac_compiler -V </dev/null >&5) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2560 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2561 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2562 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 cat >conftest.$ac_ext <<_ACEOF
2568 cat confdefs.h >>conftest.$ac_ext
2569 cat >>conftest.$ac_ext <<_ACEOF
2570 /* end confdefs.h. */
2583 rm -f conftest.$ac_objext
2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 (eval $ac_compile) 2>conftest.er1
2587 grep -v '^ *+' conftest.er1 >conftest.err
2589 cat conftest.err >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); } &&
2592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; } &&
2598 { ac_try='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2617 GXX=`test $ac_compiler_gnu = yes && echo yes`
2618 ac_test_CXXFLAGS=${CXXFLAGS+set}
2619 ac_save_CXXFLAGS=$CXXFLAGS
2621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2623 if test "${ac_cv_prog_cxx_g+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.$ac_ext <<_ACEOF
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cxx_g=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2673 if test "$ac_test_CXXFLAGS" = set; then
2674 CXXFLAGS=$ac_save_CXXFLAGS
2675 elif test $ac_cv_prog_cxx_g = yes; then
2676 if test "$GXX" = yes; then
2682 if test "$GXX" = yes; then
2688 for ac_declaration in \
2690 'extern "C" void std::exit (int) throw (); using std::exit;' \
2691 'extern "C" void std::exit (int); using std::exit;' \
2692 'extern "C" void exit (int) throw ();' \
2693 'extern "C" void exit (int);' \
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2712 rm -f conftest.$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1 >conftest.err
2718 cat conftest.err >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2741 cat >conftest.$ac_ext <<_ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1 >conftest.err
2762 cat conftest.err >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; } &&
2771 { ac_try='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2786 if test -n "$ac_declaration"; then
2787 echo '#ifdef __cplusplus' >>confdefs.h
2788 echo $ac_declaration >>confdefs.h
2789 echo '#endif' >>confdefs.h
2793 ac_cpp='$CPP $CPPFLAGS'
2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$CPPBIN"; then
2807 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 CPPBIN=$ac_cv_prog_CPPBIN
2826 if test -n "$CPPBIN"; then
2827 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2828 echo "${ECHO_T}$CPPBIN" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 if test -z "$ac_cv_prog_CPPBIN"; then
2836 ac_ct_CPPBIN=$CPPBIN
2837 # Extract the first word of "cpp", so it can be a program name with args.
2838 set dummy cpp; ac_word=$2
2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2841 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$ac_ct_CPPBIN"; then
2845 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_CPPBIN="cpp"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2864 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2865 if test -n "$ac_ct_CPPBIN"; then
2866 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2867 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2873 CPPBIN=$ac_ct_CPPBIN
2875 CPPBIN="$ac_cv_prog_CPPBIN"
2879 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2880 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2881 if test "${wine_cv_toolsdir+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -z "$with_wine_tools"; then
2885 if test "$cross_compiling" = "yes"; then
2886 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2887 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2888 { (exit 1); exit 1; }; }
2890 wine_cv_toolsdir="\$(TOPOBJDIR)"
2892 elif test -d "$with_wine_tools/tools/winebuild"; then
2893 case $with_wine_tools in
2894 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2895 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2898 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2899 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2900 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2904 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2905 TOOLSDIR=$wine_cv_toolsdir
2910 ac_cpp='$CPP $CPPFLAGS'
2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2916 # On Suns, sometimes $CPP names a directory.
2917 if test -n "$CPP" && test -d "$CPP"; then
2920 if test -z "$CPP"; then
2921 if test "${ac_cv_prog_CPP+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 # Double quotes because CPP needs to be expanded
2925 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928 for ac_c_preproc_warn_flag in '' yes
2930 # Use a header file that comes with gcc, so configuring glibc
2931 # with a fresh cross-compiler works.
2932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2933 # <limits.h> exists even on freestanding compilers.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.$ac_ext <<_ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2943 # include <limits.h>
2945 # include <assert.h>
2949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1 >conftest.err
2954 cat conftest.err >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } >/dev/null; then
2957 if test -s conftest.err; then
2958 ac_cpp_err=$ac_c_preproc_warn_flag
2959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2966 if test -z "$ac_cpp_err"; then
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2972 # Broken: fails on valid input.
2975 rm -f conftest.err conftest.$ac_ext
2977 # OK, works on sane cases. Now check whether non-existent headers
2978 # can be detected and how.
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 #include <ac_nonexistent.h>
2987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } >/dev/null; then
2995 if test -s conftest.err; then
2996 ac_cpp_err=$ac_c_preproc_warn_flag
2997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3004 if test -z "$ac_cpp_err"; then
3005 # Broken: success on invalid input.
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3011 # Passes both tests.
3015 rm -f conftest.err conftest.$ac_ext
3018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3019 rm -f conftest.err conftest.$ac_ext
3020 if $ac_preproc_ok; then
3032 echo "$as_me:$LINENO: result: $CPP" >&5
3033 echo "${ECHO_T}$CPP" >&6
3035 for ac_c_preproc_warn_flag in '' yes
3037 # Use a header file that comes with gcc, so configuring glibc
3038 # with a fresh cross-compiler works.
3039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3040 # <limits.h> exists even on freestanding compilers.
3041 # On the NeXT, cc -E runs the code through the compiler's parser,
3042 # not just through cpp. "Syntax error" is here to catch this case.
3043 cat >conftest.$ac_ext <<_ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3050 # include <limits.h>
3052 # include <assert.h>
3056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1 >conftest.err
3061 cat conftest.err >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } >/dev/null; then
3064 if test -s conftest.err; then
3065 ac_cpp_err=$ac_c_preproc_warn_flag
3066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3073 if test -z "$ac_cpp_err"; then
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.$ac_ext >&5
3079 # Broken: fails on valid input.
3082 rm -f conftest.err conftest.$ac_ext
3084 # OK, works on sane cases. Now check whether non-existent headers
3085 # can be detected and how.
3086 cat >conftest.$ac_ext <<_ACEOF
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1 >conftest.err
3099 cat conftest.err >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev/null; then
3102 if test -s conftest.err; then
3103 ac_cpp_err=$ac_c_preproc_warn_flag
3104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3111 if test -z "$ac_cpp_err"; then
3112 # Broken: success on invalid input.
3115 echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.$ac_ext >&5
3118 # Passes both tests.
3122 rm -f conftest.err conftest.$ac_ext
3125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3126 rm -f conftest.err conftest.$ac_ext
3127 if $ac_preproc_ok; then
3130 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3131 See \`config.log' for more details." >&5
3132 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3133 See \`config.log' for more details." >&2;}
3134 { (exit 1); exit 1; }; }
3138 ac_cpp='$CPP $CPPFLAGS'
3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3145 if test "x$ac_path_x_has_been_run" != xyes; then
3146 echo "$as_me:$LINENO: checking for X" >&5
3147 echo $ECHO_N "checking for X... $ECHO_C" >&6
3149 ac_path_x_has_been_run=yes
3151 # Check whether --with-x or --without-x was given.
3152 if test "${with_x+set}" = set; then
3156 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3157 if test "x$with_x" = xno; then
3158 # The user explicitly disabled X.
3161 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3162 # Both variables are already set.
3165 if test "${ac_cv_have_x+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 # One or both of the vars are not set, and there is no cached value.
3169 ac_x_includes=no ac_x_libraries=no
3171 if mkdir conftest.dir; then
3173 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3174 cat >Imakefile <<'_ACEOF'
3176 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3178 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3180 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3181 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3182 for ac_extension in a so sl; do
3183 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3184 test -f $ac_im_libdir/libX11.$ac_extension; then
3185 ac_im_usrlibdir=$ac_im_libdir; break
3188 # Screen out bogus values from the imake configuration. They are
3189 # bogus both because they are the default anyway, and because
3190 # using them would break gcc on systems where it needs fixed includes.
3191 case $ac_im_incroot in
3193 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3195 case $ac_im_usrlibdir in
3197 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3204 # Standard set of common directories for X headers.
3205 # Check X11 before X11Rn because it is often a symlink to the current release.
3217 /usr/local/X11/include
3218 /usr/local/X11R6/include
3219 /usr/local/X11R5/include
3220 /usr/local/X11R4/include
3222 /usr/local/include/X11
3223 /usr/local/include/X11R6
3224 /usr/local/include/X11R5
3225 /usr/local/include/X11R4
3229 /usr/XFree86/include/X11
3233 /usr/unsupported/include
3235 /usr/local/x11r5/include
3236 /usr/lpp/Xamples/include
3238 /usr/openwin/include
3239 /usr/openwin/share/include'
3241 if test "$ac_x_includes" = no; then
3242 # Guess where to find include files, by looking for a specified header file.
3243 # First, try using that file with no special directory specified.
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 #include <X11/Intrinsic.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev/null; then
3260 if test -s conftest.err; then
3261 ac_cpp_err=$ac_c_preproc_warn_flag
3262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3270 # We can compile using X headers with no special include directory.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3276 for ac_dir in $ac_x_header_dirs; do
3277 if test -r "$ac_dir/X11/Intrinsic.h"; then
3278 ac_x_includes=$ac_dir
3283 rm -f conftest.err conftest.$ac_ext
3284 fi # $ac_x_includes = no
3286 if test "$ac_x_libraries" = no; then
3287 # Check for the libraries.
3288 # See if we find them without any special options.
3289 # Don't add to $LIBS permanently.
3292 cat >conftest.$ac_ext <<_ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 #include <X11/Intrinsic.h>
3307 rm -f conftest.$ac_objext conftest$ac_exeext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3309 (eval $ac_link) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1 >conftest.err
3313 cat conftest.err >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try='test -s conftest$ac_exeext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3329 # We can link X programs with no special library path.
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3338 # Don't even attempt the hair of trying to link an X program!
3339 for ac_extension in a so sl; do
3340 if test -r $ac_dir/libXt.$ac_extension; then
3341 ac_x_libraries=$ac_dir
3347 rm -f conftest.err conftest.$ac_objext \
3348 conftest$ac_exeext conftest.$ac_ext
3349 fi # $ac_x_libraries = no
3351 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3352 # Didn't find X anywhere. Cache the known absence of X.
3353 ac_cv_have_x="have_x=no"
3355 # Record where we found X for the cache.
3356 ac_cv_have_x="have_x=yes \
3357 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3362 eval "$ac_cv_have_x"
3365 if test "$have_x" != yes; then
3366 echo "$as_me:$LINENO: result: $have_x" >&5
3367 echo "${ECHO_T}$have_x" >&6
3370 # If each of the values was on the command line, it overrides each guess.
3371 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3372 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3373 # Update the cache value to reflect the command line values.
3374 ac_cv_have_x="have_x=yes \
3375 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3376 # It might be that x_includes is empty (headers are found in the
3377 # standard search path. Then output the corresponding message
3378 ac_out_x_includes=$x_includes
3379 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3380 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3381 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3385 if test "$no_x" = yes; then
3386 # Not all programs may use this symbol, but it does not hurt to define it.
3388 cat >>confdefs.h <<\_ACEOF
3389 #define X_DISPLAY_MISSING 1
3392 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3394 if test -n "$x_includes"; then
3395 X_CFLAGS="$X_CFLAGS -I$x_includes"
3398 # It would also be nice to do this for all -L options, not just this one.
3399 if test -n "$x_libraries"; then
3400 X_LIBS="$X_LIBS -L$x_libraries"
3401 # For Solaris; some versions of Sun CC require a space after -R and
3402 # others require no space. Words are not sufficient . . . .
3403 case `(uname -sr) 2>/dev/null` in
3405 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3406 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3407 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3408 cat >conftest.$ac_ext <<_ACEOF
3411 cat confdefs.h >>conftest.$ac_ext
3412 cat >>conftest.$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3423 rm -f conftest.$ac_objext conftest$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1 >conftest.err
3429 cat conftest.err >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } &&
3432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; } &&
3438 { ac_try='test -s conftest$ac_exeext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3451 rm -f conftest.err conftest.$ac_objext \
3452 conftest$ac_exeext conftest.$ac_ext
3453 if test $ac_R_nospace = yes; then
3454 echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3456 X_LIBS="$X_LIBS -R$x_libraries"
3458 LIBS="$ac_xsave_LIBS -R $x_libraries"
3459 cat >conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.$ac_objext conftest$ac_exeext
3475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3476 (eval $ac_link) 2>conftest.er1
3478 grep -v '^ *+' conftest.er1 >conftest.err
3480 cat conftest.err >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } &&
3483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try='test -s conftest$ac_exeext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3502 rm -f conftest.err conftest.$ac_objext \
3503 conftest$ac_exeext conftest.$ac_ext
3504 if test $ac_R_space = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3507 X_LIBS="$X_LIBS -R $x_libraries"
3509 echo "$as_me:$LINENO: result: neither works" >&5
3510 echo "${ECHO_T}neither works" >&6
3517 # Check for system-dependent libraries X programs must link with.
3518 # Do this before checking for the system-independent R6 libraries
3519 # (-lICE), since we may need -lsocket or whatever for X linking.
3521 if test "$ISC" = yes; then
3522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3524 # Martyn Johnson says this is needed for Ultrix, if the X
3525 # libraries were built with DECnet support. And Karl Berry says
3526 # the Alpha needs dnet_stub (dnet does not exist).
3527 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3528 cat >conftest.$ac_ext <<_ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3535 /* Override any gcc2 internal prototype to avoid an error. */
3539 /* We use char because int might match the return type of a gcc2
3540 builtin and then its argument prototype would still apply. */
3541 char XOpenDisplay ();
3550 rm -f conftest.$ac_objext conftest$ac_exeext
3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3552 (eval $ac_link) 2>conftest.er1
3554 grep -v '^ *+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } &&
3559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try='test -s conftest$ac_exeext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3576 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3577 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3578 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_check_lib_save_LIBS=$LIBS
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 /* Override any gcc2 internal prototype to avoid an error. */
3594 /* We use char because int might match the return type of a gcc2
3595 builtin and then its argument prototype would still apply. */
3605 rm -f conftest.$ac_objext conftest$ac_exeext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607 (eval $ac_link) 2>conftest.er1
3609 grep -v '^ *+' conftest.er1 >conftest.err
3611 cat conftest.err >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try='test -s conftest$ac_exeext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 ac_cv_lib_dnet_dnet_ntoa=yes
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3631 ac_cv_lib_dnet_dnet_ntoa=no
3633 rm -f conftest.err conftest.$ac_objext \
3634 conftest$ac_exeext conftest.$ac_ext
3635 LIBS=$ac_check_lib_save_LIBS
3637 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3638 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3639 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3640 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3643 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3644 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3645 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3646 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 ac_check_lib_save_LIBS=$LIBS
3650 LIBS="-ldnet_stub $LIBS"
3651 cat >conftest.$ac_ext <<_ACEOF
3654 cat confdefs.h >>conftest.$ac_ext
3655 cat >>conftest.$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3658 /* Override any gcc2 internal prototype to avoid an error. */
3662 /* We use char because int might match the return type of a gcc2
3663 builtin and then its argument prototype would still apply. */
3673 rm -f conftest.$ac_objext conftest$ac_exeext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1 >conftest.err
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try='test -s conftest$ac_exeext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3694 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3699 ac_cv_lib_dnet_stub_dnet_ntoa=no
3701 rm -f conftest.err conftest.$ac_objext \
3702 conftest$ac_exeext conftest.$ac_ext
3703 LIBS=$ac_check_lib_save_LIBS
3705 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3706 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3707 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3708 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3713 rm -f conftest.err conftest.$ac_objext \
3714 conftest$ac_exeext conftest.$ac_ext
3715 LIBS="$ac_xsave_LIBS"
3717 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3718 # to get the SysV transport functions.
3719 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3721 # The nsl library prevents programs from opening the X display
3722 # on Irix 5.2, according to T.E. Dickey.
3723 # The functions gethostbyname, getservbyname, and inet_addr are
3724 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3725 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3726 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3727 if test "${ac_cv_func_gethostbyname+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.$ac_ext <<_ACEOF
3733 cat confdefs.h >>conftest.$ac_ext
3734 cat >>conftest.$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3738 #define gethostbyname innocuous_gethostbyname
3740 /* System header to define __stub macros and hopefully few prototypes,
3741 which can conflict with char gethostbyname (); below.
3742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3743 <limits.h> exists even on freestanding compilers. */
3746 # include <limits.h>
3748 # include <assert.h>
3751 #undef gethostbyname
3753 /* Override any gcc2 internal prototype to avoid an error. */
3758 /* We use char because int might match the return type of a gcc2
3759 builtin and then its argument prototype would still apply. */
3760 char gethostbyname ();
3761 /* The GNU C library defines this for functions which it implements
3762 to always fail with ENOSYS. Some functions are actually named
3763 something starting with __ and the normal name is an alias. */
3764 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3767 char (*f) () = gethostbyname;
3776 return f != gethostbyname;
3781 rm -f conftest.$ac_objext conftest$ac_exeext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3783 (eval $ac_link) 2>conftest.er1
3785 grep -v '^ *+' conftest.er1 >conftest.err
3787 cat conftest.err >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; } &&
3796 { ac_try='test -s conftest$ac_exeext'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 ac_cv_func_gethostbyname=yes
3804 echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.$ac_ext >&5
3807 ac_cv_func_gethostbyname=no
3809 rm -f conftest.err conftest.$ac_objext \
3810 conftest$ac_exeext conftest.$ac_ext
3812 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3813 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3815 if test $ac_cv_func_gethostbyname = no; then
3816 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3817 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3818 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 ac_check_lib_save_LIBS=$LIBS
3823 cat >conftest.$ac_ext <<_ACEOF
3826 cat confdefs.h >>conftest.$ac_ext
3827 cat >>conftest.$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3830 /* Override any gcc2 internal prototype to avoid an error. */
3834 /* We use char because int might match the return type of a gcc2
3835 builtin and then its argument prototype would still apply. */
3836 char gethostbyname ();
3845 rm -f conftest.$ac_objext conftest$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1 >conftest.err
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try='test -s conftest$ac_exeext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 ac_cv_lib_nsl_gethostbyname=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3871 ac_cv_lib_nsl_gethostbyname=no
3873 rm -f conftest.err conftest.$ac_objext \
3874 conftest$ac_exeext conftest.$ac_ext
3875 LIBS=$ac_check_lib_save_LIBS
3877 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3878 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3879 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3880 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3883 if test $ac_cv_lib_nsl_gethostbyname = no; then
3884 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3885 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3886 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 ac_check_lib_save_LIBS=$LIBS
3891 cat >conftest.$ac_ext <<_ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3898 /* Override any gcc2 internal prototype to avoid an error. */
3902 /* We use char because int might match the return type of a gcc2
3903 builtin and then its argument prototype would still apply. */
3904 char gethostbyname ();
3913 rm -f conftest.$ac_objext conftest$ac_exeext
3914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3915 (eval $ac_link) 2>conftest.er1
3917 grep -v '^ *+' conftest.er1 >conftest.err
3919 cat conftest.err >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } &&
3922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3928 { ac_try='test -s conftest$ac_exeext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_cv_lib_bsd_gethostbyname=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3939 ac_cv_lib_bsd_gethostbyname=no
3941 rm -f conftest.err conftest.$ac_objext \
3942 conftest$ac_exeext conftest.$ac_ext
3943 LIBS=$ac_check_lib_save_LIBS
3945 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3946 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3947 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3948 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3954 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3955 # socket/setsockopt and other routines are undefined under SCO ODT
3956 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3957 # on later versions), says Simon Leinen: it contains gethostby*
3958 # variants that don't use the name server (or something). -lsocket
3959 # must be given before -lnsl if both are needed. We assume that
3960 # if connect needs -lnsl, so does gethostbyname.
3961 echo "$as_me:$LINENO: checking for connect" >&5
3962 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3963 if test "${ac_cv_func_connect+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 cat >conftest.$ac_ext <<_ACEOF
3969 cat confdefs.h >>conftest.$ac_ext
3970 cat >>conftest.$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3974 #define connect innocuous_connect
3976 /* System header to define __stub macros and hopefully few prototypes,
3977 which can conflict with char connect (); below.
3978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3979 <limits.h> exists even on freestanding compilers. */
3982 # include <limits.h>
3984 # include <assert.h>
3989 /* Override any gcc2 internal prototype to avoid an error. */
3994 /* We use char because int might match the return type of a gcc2
3995 builtin and then its argument prototype would still apply. */
3997 /* The GNU C library defines this for functions which it implements
3998 to always fail with ENOSYS. Some functions are actually named
3999 something starting with __ and the normal name is an alias. */
4000 #if defined (__stub_connect) || defined (__stub___connect)
4003 char (*f) () = connect;
4012 return f != connect;
4017 rm -f conftest.$ac_objext conftest$ac_exeext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4019 (eval $ac_link) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1 >conftest.err
4023 cat conftest.err >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try='test -s conftest$ac_exeext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_cv_func_connect=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 ac_cv_func_connect=no
4045 rm -f conftest.err conftest.$ac_objext \
4046 conftest$ac_exeext conftest.$ac_ext
4048 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4049 echo "${ECHO_T}$ac_cv_func_connect" >&6
4051 if test $ac_cv_func_connect = no; then
4052 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4053 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4054 if test "${ac_cv_lib_socket_connect+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 ac_check_lib_save_LIBS=$LIBS
4058 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4059 cat >conftest.$ac_ext <<_ACEOF
4062 cat confdefs.h >>conftest.$ac_ext
4063 cat >>conftest.$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4066 /* Override any gcc2 internal prototype to avoid an error. */
4070 /* We use char because int might match the return type of a gcc2
4071 builtin and then its argument prototype would still apply. */
4081 rm -f conftest.$ac_objext conftest$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083 (eval $ac_link) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1 >conftest.err
4087 cat conftest.err >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try='test -s conftest$ac_exeext'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; }; then
4102 ac_cv_lib_socket_connect=yes
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4107 ac_cv_lib_socket_connect=no
4109 rm -f conftest.err conftest.$ac_objext \
4110 conftest$ac_exeext conftest.$ac_ext
4111 LIBS=$ac_check_lib_save_LIBS
4113 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4115 if test $ac_cv_lib_socket_connect = yes; then
4116 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4121 # Guillermo Gomez says -lposix is necessary on A/UX.
4122 echo "$as_me:$LINENO: checking for remove" >&5
4123 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4124 if test "${ac_cv_func_remove+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 cat >conftest.$ac_ext <<_ACEOF
4130 cat confdefs.h >>conftest.$ac_ext
4131 cat >>conftest.$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4135 #define remove innocuous_remove
4137 /* System header to define __stub macros and hopefully few prototypes,
4138 which can conflict with char remove (); below.
4139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140 <limits.h> exists even on freestanding compilers. */
4143 # include <limits.h>
4145 # include <assert.h>
4150 /* Override any gcc2 internal prototype to avoid an error. */
4155 /* We use char because int might match the return type of a gcc2
4156 builtin and then its argument prototype would still apply. */
4158 /* The GNU C library defines this for functions which it implements
4159 to always fail with ENOSYS. Some functions are actually named
4160 something starting with __ and the normal name is an alias. */
4161 #if defined (__stub_remove) || defined (__stub___remove)
4164 char (*f) () = remove;
4178 rm -f conftest.$ac_objext conftest$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180 (eval $ac_link) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1 >conftest.err
4184 cat conftest.err >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; } &&
4193 { ac_try='test -s conftest$ac_exeext'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4199 ac_cv_func_remove=yes
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 ac_cv_func_remove=no
4206 rm -f conftest.err conftest.$ac_objext \
4207 conftest$ac_exeext conftest.$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4210 echo "${ECHO_T}$ac_cv_func_remove" >&6
4212 if test $ac_cv_func_remove = no; then
4213 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4214 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4215 if test "${ac_cv_lib_posix_remove+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 ac_check_lib_save_LIBS=$LIBS
4219 LIBS="-lposix $LIBS"
4220 cat >conftest.$ac_ext <<_ACEOF
4223 cat confdefs.h >>conftest.$ac_ext
4224 cat >>conftest.$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4227 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4242 rm -f conftest.$ac_objext conftest$ac_exeext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4244 (eval $ac_link) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1 >conftest.err
4248 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; } &&
4257 { ac_try='test -s conftest$ac_exeext'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then
4263 ac_cv_lib_posix_remove=yes
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 ac_cv_lib_posix_remove=no
4270 rm -f conftest.err conftest.$ac_objext \
4271 conftest$ac_exeext conftest.$ac_ext
4272 LIBS=$ac_check_lib_save_LIBS
4274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4275 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4276 if test $ac_cv_lib_posix_remove = yes; then
4277 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4282 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4283 echo "$as_me:$LINENO: checking for shmat" >&5
4284 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4285 if test "${ac_cv_func_shmat+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 cat >conftest.$ac_ext <<_ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4294 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4296 #define shmat innocuous_shmat
4298 /* System header to define __stub macros and hopefully few prototypes,
4299 which can conflict with char shmat (); below.
4300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4301 <limits.h> exists even on freestanding compilers. */
4304 # include <limits.h>
4306 # include <assert.h>
4311 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_shmat) || defined (__stub___shmat)
4325 char (*f) () = shmat;
4339 rm -f conftest.$ac_objext conftest$ac_exeext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4341 (eval $ac_link) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1 >conftest.err
4345 cat conftest.err >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try='test -s conftest$ac_exeext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_cv_func_shmat=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4367 rm -f conftest.err conftest.$ac_objext \
4368 conftest$ac_exeext conftest.$ac_ext
4370 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4371 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4373 if test $ac_cv_func_shmat = no; then
4374 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4375 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4376 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 ac_check_lib_save_LIBS=$LIBS
4381 cat >conftest.$ac_ext <<_ACEOF
4384 cat confdefs.h >>conftest.$ac_ext
4385 cat >>conftest.$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4388 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4403 rm -f conftest.$ac_objext conftest$ac_exeext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4405 (eval $ac_link) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 ac_cv_lib_ipc_shmat=yes
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.$ac_ext >&5
4429 ac_cv_lib_ipc_shmat=no
4431 rm -f conftest.err conftest.$ac_objext \
4432 conftest$ac_exeext conftest.$ac_ext
4433 LIBS=$ac_check_lib_save_LIBS
4435 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4436 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4437 if test $ac_cv_lib_ipc_shmat = yes; then
4438 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4444 # Check for libraries that X11R6 Xt/Xaw programs need.
4445 ac_save_LDFLAGS=$LDFLAGS
4446 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4447 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4448 # check for ICE first), but we must link in the order -lSM -lICE or
4449 # we get undefined symbols. So assume we have SM if we have ICE.
4450 # These have to be linked with before -lX11, unlike the other
4451 # libraries we check for below, so use a different variable.
4452 # John Interrante, Karl Berry
4453 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4454 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4455 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 ac_check_lib_save_LIBS=$LIBS
4459 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4460 cat >conftest.$ac_ext <<_ACEOF
4463 cat confdefs.h >>conftest.$ac_ext
4464 cat >>conftest.$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4467 /* Override any gcc2 internal prototype to avoid an error. */
4471 /* We use char because int might match the return type of a gcc2
4472 builtin and then its argument prototype would still apply. */
4473 char IceConnectionNumber ();
4477 IceConnectionNumber ();
4482 rm -f conftest.$ac_objext conftest$ac_exeext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4484 (eval $ac_link) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1 >conftest.err
4488 cat conftest.err >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try='test -s conftest$ac_exeext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_cv_lib_ICE_IceConnectionNumber=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.$ac_ext >&5
4508 ac_cv_lib_ICE_IceConnectionNumber=no
4510 rm -f conftest.err conftest.$ac_objext \
4511 conftest$ac_exeext conftest.$ac_ext
4512 LIBS=$ac_check_lib_save_LIBS
4514 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4515 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4516 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4517 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4520 LDFLAGS=$ac_save_LDFLAGS
4524 for ac_prog in flex lex
4526 # Extract the first word of "$ac_prog", so it can be a program name with args.
4527 set dummy $ac_prog; ac_word=$2
4528 echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4530 if test "${ac_cv_prog_LEX+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$LEX"; then
4534 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir=.
4541 for ac_exec_ext in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_LEX="$ac_prog"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$LEX"; then
4554 echo "$as_me:$LINENO: result: $LEX" >&5
4555 echo "${ECHO_T}$LEX" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 test -n "$LEX" && break
4563 test -n "$LEX" || LEX=":"
4565 if test -z "$LEXLIB"
4567 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4568 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4569 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS=$LIBS
4574 cat >conftest.$ac_ext <<_ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any gcc2 internal prototype to avoid an error. */
4585 /* We use char because int might match the return type of a gcc2
4586 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4598 (eval $ac_link) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1 >conftest.err
4602 cat conftest.err >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_lib_fl_yywrap=yes
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.$ac_ext >&5
4622 ac_cv_lib_fl_yywrap=no
4624 rm -f conftest.err conftest.$ac_objext \
4625 conftest$ac_exeext conftest.$ac_ext
4626 LIBS=$ac_check_lib_save_LIBS
4628 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4629 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4630 if test $ac_cv_lib_fl_yywrap = yes; then
4633 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4634 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4635 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS=$LIBS
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4662 rm -f conftest.$ac_objext conftest$ac_exeext
4663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664 (eval $ac_link) 2>conftest.er1
4666 grep -v '^ *+' conftest.er1 >conftest.err
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; } &&
4677 { ac_try='test -s conftest$ac_exeext'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4683 ac_cv_lib_l_yywrap=yes
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 ac_cv_lib_l_yywrap=no
4690 rm -f conftest.err conftest.$ac_objext \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4695 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4696 if test $ac_cv_lib_l_yywrap = yes; then
4704 if test "x$LEX" != "x:"; then
4705 echo "$as_me:$LINENO: checking lex output file root" >&5
4706 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4707 if test "${ac_cv_prog_lex_root+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 # The minimal lex program is just a single line: %%. But some broken lexes
4711 # (Solaris, I think it was) want two %% lines, so accommodate them.
4712 cat >conftest.l <<_ACEOF
4716 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4717 (eval $LEX conftest.l) 2>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }
4721 if test -f lex.yy.c; then
4722 ac_cv_prog_lex_root=lex.yy
4723 elif test -f lexyy.c; then
4724 ac_cv_prog_lex_root=lexyy
4726 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4727 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4728 { (exit 1); exit 1; }; }
4731 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4732 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4734 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4736 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4737 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4738 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 # POSIX says lex can declare yytext either as a pointer or an array; the
4742 # default is implementation-dependent. Figure out which it is, since
4743 # not all implementations provide the %pointer and %array declarations.
4744 ac_cv_prog_lex_yytext_pointer=no
4745 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4747 LIBS="$LIBS $LEXLIB"
4748 cat >conftest.$ac_ext <<_ACEOF
4749 `cat $LEX_OUTPUT_ROOT.c`
4751 rm -f conftest.$ac_objext conftest$ac_exeext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4753 (eval $ac_link) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; } &&
4766 { ac_try='test -s conftest$ac_exeext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4772 ac_cv_prog_lex_yytext_pointer=yes
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4778 rm -f conftest.err conftest.$ac_objext \
4779 conftest$ac_exeext conftest.$ac_ext
4781 rm -f "${LEX_OUTPUT_ROOT}.c"
4784 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4785 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4786 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4788 cat >>confdefs.h <<\_ACEOF
4789 #define YYTEXT_POINTER 1
4796 for ac_prog in $LEX flex lex
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy $ac_prog; ac_word=$2
4800 echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802 if test "${ac_cv_prog_XLEX+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -n "$XLEX"; then
4806 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_XLEX="$ac_prog"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 XLEX=$ac_cv_prog_XLEX
4825 if test -n "$XLEX"; then
4826 echo "$as_me:$LINENO: result: $XLEX" >&5
4827 echo "${ECHO_T}$XLEX" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4833 test -n "$XLEX" && break
4835 test -n "$XLEX" || XLEX="none"
4837 if test "$XLEX" = "none"
4839 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4840 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4841 { (exit 1); exit 1; }; }
4844 for ac_prog in bison
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 echo "$as_me:$LINENO: checking for $ac_word" >&5
4849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4850 if test "${ac_cv_prog_BISON+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 if test -n "$BISON"; then
4854 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_BISON="$ac_prog"
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 BISON=$ac_cv_prog_BISON
4873 if test -n "$BISON"; then
4874 echo "$as_me:$LINENO: result: $BISON" >&5
4875 echo "${ECHO_T}$BISON" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4881 test -n "$BISON" && break
4883 test -n "$BISON" || BISON="none"
4885 if test "$BISON" = "none"
4887 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4888 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4889 { (exit 1); exit 1; }; }
4892 if test -n "$ac_tool_prefix"; then
4893 for ac_prog in gas as
4895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4897 echo "$as_me:$LINENO: checking for $ac_word" >&5
4898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899 if test "${ac_cv_prog_AS+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 if test -n "$AS"; then
4903 ac_cv_prog_AS="$AS" # Let the user override the test.
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 if test -n "$AS"; then
4923 echo "$as_me:$LINENO: result: $AS" >&5
4924 echo "${ECHO_T}$AS" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4930 test -n "$AS" && break
4933 if test -z "$AS"; then
4935 for ac_prog in gas as
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy $ac_prog; ac_word=$2
4939 echo "$as_me:$LINENO: checking for $ac_word" >&5
4940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4941 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 if test -n "$ac_ct_AS"; then
4945 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_AS="$ac_prog"
4955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4966 echo "${ECHO_T}$ac_ct_AS" >&6
4968 echo "$as_me:$LINENO: result: no" >&5
4969 echo "${ECHO_T}no" >&6
4972 test -n "$ac_ct_AS" && break
4974 test -n "$ac_ct_AS" || ac_ct_AS="as"
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}ld; ac_word=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_LD+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$LD"; then
4988 ac_cv_prog_LD="$LD" # Let the user override the test.
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_LD="${ac_tool_prefix}ld"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 if test -n "$LD"; then
5008 echo "$as_me:$LINENO: result: $LD" >&5
5009 echo "${ECHO_T}$LD" >&6
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5016 if test -z "$ac_cv_prog_LD"; then
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld; ac_word=$2
5020 echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5022 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD="ld"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5045 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5048 echo "${ECHO_T}$ac_ct_LD" >&6
5050 echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6
5059 if test -n "$ac_tool_prefix"; then
5060 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5061 set dummy ${ac_tool_prefix}ar; ac_word=$2
5062 echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 if test "${ac_cv_prog_AR+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -n "$AR"; then
5068 ac_cv_prog_AR="$AR" # Let the user override the test.
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir=.
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_AR="${ac_tool_prefix}ar"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 if test -n "$AR"; then
5088 echo "$as_me:$LINENO: result: $AR" >&5
5089 echo "${ECHO_T}$AR" >&6
5091 echo "$as_me:$LINENO: result: no" >&5
5092 echo "${ECHO_T}no" >&6
5096 if test -z "$ac_cv_prog_AR"; then
5098 # Extract the first word of "ar", so it can be a program name with args.
5099 set dummy ar; ac_word=$2
5100 echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5102 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$ac_ct_AR"; then
5106 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_ac_ct_AR="ar"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5125 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5126 if test -n "$ac_ct_AR"; then
5127 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5128 echo "${ECHO_T}$ac_ct_AR" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5142 echo "$as_me:$LINENO: checking for $ac_word" >&5
5143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 RANLIB=$ac_cv_prog_RANLIB
5167 if test -n "$RANLIB"; then
5168 echo "$as_me:$LINENO: result: $RANLIB" >&5
5169 echo "${ECHO_T}$RANLIB" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5176 if test -z "$ac_cv_prog_RANLIB"; then
5177 ac_ct_RANLIB=$RANLIB
5178 # Extract the first word of "ranlib", so it can be a program name with args.
5179 set dummy ranlib; ac_word=$2
5180 echo "$as_me:$LINENO: checking for $ac_word" >&5
5181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 if test -n "$ac_ct_RANLIB"; then
5186 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_RANLIB="ranlib"
5196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5205 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5206 if test -n "$ac_ct_RANLIB"; then
5207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5214 RANLIB=$ac_ct_RANLIB
5216 RANLIB="$ac_cv_prog_RANLIB"
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}strip; ac_word=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 STRIP=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip; ac_word=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 STRIP="$ac_cv_prog_STRIP"
5299 if test -n "$ac_tool_prefix"; then
5300 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5301 set dummy ${ac_tool_prefix}windres; ac_word=$2
5302 echo "$as_me:$LINENO: checking for $ac_word" >&5
5303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5304 if test "${ac_cv_prog_WINDRES+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 if test -n "$WINDRES"; then
5308 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir=.
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 WINDRES=$ac_cv_prog_WINDRES
5327 if test -n "$WINDRES"; then
5328 echo "$as_me:$LINENO: result: $WINDRES" >&5
5329 echo "${ECHO_T}$WINDRES" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5336 if test -z "$ac_cv_prog_WINDRES"; then
5337 ac_ct_WINDRES=$WINDRES
5338 # Extract the first word of "windres", so it can be a program name with args.
5339 set dummy windres; ac_word=$2
5340 echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5342 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_WINDRES"; then
5346 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_ac_ct_WINDRES="windres"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5365 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5366 if test -n "$ac_ct_WINDRES"; then
5367 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5368 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5374 WINDRES=$ac_ct_WINDRES
5376 WINDRES="$ac_cv_prog_WINDRES"
5379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5382 if test "$LN_S" = "ln -s"; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5387 echo "${ECHO_T}no, using $LN_S" >&6
5390 echo "$as_me:$LINENO: checking whether ln works" >&5
5391 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5392 rm -f conf$$ conf$$.file
5394 if ln conf$$.file conf$$ 2>/dev/null; then
5397 echo "$as_me:$LINENO: result: yes" >&5
5398 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no, using $LN" >&5
5403 echo "${ECHO_T}no, using $LN" >&6
5405 rm -f conf$$ conf$$.file
5406 echo "$as_me:$LINENO: checking for egrep" >&5
5407 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5408 if test "${ac_cv_prog_egrep+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5412 then ac_cv_prog_egrep='grep -E'
5413 else ac_cv_prog_egrep='egrep'
5416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5418 EGREP=$ac_cv_prog_egrep
5421 # Extract the first word of "ldconfig", so it can be a program name with args.
5422 set dummy ldconfig; ac_word=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in /sbin /usr/sbin $PATH
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5451 LDCONFIG=$ac_cv_path_LDCONFIG
5453 if test -n "$LDCONFIG"; then
5454 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5455 echo "${ECHO_T}$LDCONFIG" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5461 # Find a good install program. We prefer a C program (faster),
5462 # so one script is as good as another. But avoid the broken or
5463 # incompatible versions:
5464 # SysV /etc/install, /usr/sbin/install
5465 # SunOS /usr/etc/install
5466 # IRIX /sbin/install
5468 # AmigaOS /C/install, which installs bootblocks on floppy discs
5469 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5470 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5471 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5472 # OS/2's system install, which has a completely different semantic
5473 # ./install, which can be erroneously created by make from ./install.sh.
5474 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5475 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5476 if test -z "$INSTALL"; then
5477 if test "${ac_cv_path_install+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir=.
5485 # Account for people who put trailing slashes in PATH elements.
5487 ./ | .// | /cC/* | \
5488 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5489 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5492 # OSF1 and SCO ODT 3.0 have their own names for install.
5493 # Don't use installbsd from OSF since it installs stuff as root
5495 for ac_prog in ginstall scoinst install; do
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5498 if test $ac_prog = install &&
5499 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5500 # AIX install. It has an incompatible calling convention.
5502 elif test $ac_prog = install &&
5503 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5504 # program-specific install script used by HP pwplus--don't use.
5507 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5519 if test "${ac_cv_path_install+set}" = set; then
5520 INSTALL=$ac_cv_path_install
5522 # As a last resort, use the slow shell script. We don't cache a
5523 # path for INSTALL within a source directory, because that will
5524 # break other packages using the cache if that directory is
5525 # removed, or if the path is relative.
5526 INSTALL=$ac_install_sh
5529 echo "$as_me:$LINENO: result: $INSTALL" >&5
5530 echo "${ECHO_T}$INSTALL" >&6
5532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5533 # It thinks the first close brace ends the variable substitution.
5534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5538 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5541 [\\/$]* | ?:[\\/]* ) ;;
5542 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5545 for ac_prog in lclint lint
5547 # Extract the first word of "$ac_prog", so it can be a program name with args.
5548 set dummy $ac_prog; ac_word=$2
5549 echo "$as_me:$LINENO: checking for $ac_word" >&5
5550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5551 if test "${ac_cv_prog_LINT+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 if test -n "$LINT"; then
5555 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_LINT="$ac_prog"
5565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 LINT=$ac_cv_prog_LINT
5574 if test -n "$LINT"; then
5575 echo "$as_me:$LINENO: result: $LINT" >&5
5576 echo "${ECHO_T}$LINT" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5582 test -n "$LINT" && break
5585 if test "$LINT" = "lint"
5587 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5592 for ac_prog in docbook2html db2html
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy $ac_prog; ac_word=$2
5596 echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5598 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$DB2HTML"; then
5602 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_DB2HTML="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 DB2HTML=$ac_cv_prog_DB2HTML
5621 if test -n "$DB2HTML"; then
5622 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5623 echo "${ECHO_T}$DB2HTML" >&6
5625 echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6
5629 test -n "$DB2HTML" && break
5631 test -n "$DB2HTML" || DB2HTML="false"
5633 for ac_prog in docbook2pdf db2pdf
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy $ac_prog; ac_word=$2
5637 echo "$as_me:$LINENO: checking for $ac_word" >&5
5638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5639 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 if test -n "$DB2PDF"; then
5643 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_DB2PDF="$ac_prog"
5653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 DB2PDF=$ac_cv_prog_DB2PDF
5662 if test -n "$DB2PDF"; then
5663 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5664 echo "${ECHO_T}$DB2PDF" >&6
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5670 test -n "$DB2PDF" && break
5672 test -n "$DB2PDF" || DB2PDF="false"
5674 for ac_prog in docbook2ps db2ps
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5680 if test "${ac_cv_prog_DB2PS+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$DB2PS"; then
5684 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_DB2PS="$ac_prog"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 DB2PS=$ac_cv_prog_DB2PS
5703 if test -n "$DB2PS"; then
5704 echo "$as_me:$LINENO: result: $DB2PS" >&5
5705 echo "${ECHO_T}$DB2PS" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5711 test -n "$DB2PS" && break
5713 test -n "$DB2PS" || DB2PS="false"
5715 for ac_prog in docbook2txt db2txt
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy $ac_prog; ac_word=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$DB2TXT"; then
5725 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_DB2TXT="$ac_prog"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 DB2TXT=$ac_cv_prog_DB2TXT
5744 if test -n "$DB2TXT"; then
5745 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5746 echo "${ECHO_T}$DB2TXT" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5752 test -n "$DB2TXT" && break
5754 test -n "$DB2TXT" || DB2TXT="false"
5756 for ac_prog in fontforge
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy $ac_prog; ac_word=$2
5760 echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5762 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$FONTFORGE"; then
5766 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_FONTFORGE="$ac_prog"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 FONTFORGE=$ac_cv_prog_FONTFORGE
5785 if test -n "$FONTFORGE"; then
5786 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5787 echo "${ECHO_T}$FONTFORGE" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 test -n "$FONTFORGE" && break
5795 test -n "$FONTFORGE" || FONTFORGE="false"
5800 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5801 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5802 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_check_lib_save_LIBS=$LIBS
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 /* Override any gcc2 internal prototype to avoid an error. */
5818 /* We use char because int might match the return type of a gcc2
5819 builtin and then its argument prototype would still apply. */
5820 char i386_set_ldt ();
5829 rm -f conftest.$ac_objext conftest$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1 >conftest.err
5835 cat conftest.err >&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; } &&
5844 { ac_try='test -s conftest$ac_exeext'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; }; then
5850 ac_cv_lib_i386_i386_set_ldt=yes
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.$ac_ext >&5
5855 ac_cv_lib_i386_i386_set_ldt=no
5857 rm -f conftest.err conftest.$ac_objext \
5858 conftest$ac_exeext conftest.$ac_ext
5859 LIBS=$ac_check_lib_save_LIBS
5861 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5862 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5863 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5864 cat >>confdefs.h <<_ACEOF
5865 #define HAVE_LIBI386 1
5873 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5874 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5875 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_check_lib_save_LIBS=$LIBS
5879 LIBS="-lossaudio $LIBS"
5880 cat >conftest.$ac_ext <<_ACEOF
5883 cat confdefs.h >>conftest.$ac_ext
5884 cat >>conftest.$ac_ext <<_ACEOF
5885 /* end confdefs.h. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5891 /* We use char because int might match the return type of a gcc2
5892 builtin and then its argument prototype would still apply. */
5902 rm -f conftest.$ac_objext conftest$ac_exeext
5903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904 (eval $ac_link) 2>conftest.er1
5906 grep -v '^ *+' conftest.er1 >conftest.err
5908 cat conftest.err >&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } &&
5911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try='test -s conftest$ac_exeext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; }; then
5923 ac_cv_lib_ossaudio__oss_ioctl=yes
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.$ac_ext >&5
5928 ac_cv_lib_ossaudio__oss_ioctl=no
5930 rm -f conftest.err conftest.$ac_objext \
5931 conftest$ac_exeext conftest.$ac_ext
5932 LIBS=$ac_check_lib_save_LIBS
5934 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5935 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5936 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5937 cat >>confdefs.h <<_ACEOF
5938 #define HAVE_LIBOSSAUDIO 1
5941 LIBS="-lossaudio $LIBS"
5946 for ac_func in iswalnum
5948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5949 echo "$as_me:$LINENO: checking for $ac_func" >&5
5950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5951 if eval "test \"\${$as_ac_var+set}\" = set"; then
5952 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 cat >conftest.$ac_ext <<_ACEOF
5957 cat confdefs.h >>conftest.$ac_ext
5958 cat >>conftest.$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5962 #define $ac_func innocuous_$ac_func
5964 /* System header to define __stub macros and hopefully few prototypes,
5965 which can conflict with char $ac_func (); below.
5966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5967 <limits.h> exists even on freestanding compilers. */
5970 # include <limits.h>
5972 # include <assert.h>
5977 /* Override any gcc2 internal prototype to avoid an error. */
5982 /* We use char because int might match the return type of a gcc2
5983 builtin and then its argument prototype would still apply. */
5985 /* The GNU C library defines this for functions which it implements
5986 to always fail with ENOSYS. Some functions are actually named
5987 something starting with __ and the normal name is an alias. */
5988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5991 char (*f) () = $ac_func;
6000 return f != $ac_func;
6005 rm -f conftest.$ac_objext conftest$ac_exeext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6007 (eval $ac_link) 2>conftest.er1
6009 grep -v '^ *+' conftest.er1 >conftest.err
6011 cat conftest.err >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } &&
6014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try='test -s conftest$ac_exeext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 eval "$as_ac_var=yes"
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.$ac_ext >&5
6031 eval "$as_ac_var=no"
6033 rm -f conftest.err conftest.$ac_objext \
6034 conftest$ac_exeext conftest.$ac_ext
6036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6038 if test `eval echo '${'$as_ac_var'}'` = yes; then
6039 cat >>confdefs.h <<_ACEOF
6040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6045 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6046 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6047 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 ac_check_lib_save_LIBS=$LIBS
6052 cat >conftest.$ac_ext <<_ACEOF
6055 cat confdefs.h >>conftest.$ac_ext
6056 cat >>conftest.$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6059 /* Override any gcc2 internal prototype to avoid an error. */
6063 /* We use char because int might match the return type of a gcc2
6064 builtin and then its argument prototype would still apply. */
6074 rm -f conftest.$ac_objext conftest$ac_exeext
6075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6076 (eval $ac_link) 2>conftest.er1
6078 grep -v '^ *+' conftest.er1 >conftest.err
6080 cat conftest.err >&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try='test -s conftest$ac_exeext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 ac_cv_lib_w_iswalnum=yes
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.$ac_ext >&5
6100 ac_cv_lib_w_iswalnum=no
6102 rm -f conftest.err conftest.$ac_objext \
6103 conftest$ac_exeext conftest.$ac_ext
6104 LIBS=$ac_check_lib_save_LIBS
6106 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6107 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6108 if test $ac_cv_lib_w_iswalnum = yes; then
6109 cat >>confdefs.h <<_ACEOF
6121 for ac_func in gethostbyname
6123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6124 echo "$as_me:$LINENO: checking for $ac_func" >&5
6125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6126 if eval "test \"\${$as_ac_var+set}\" = set"; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 cat >conftest.$ac_ext <<_ACEOF
6132 cat confdefs.h >>conftest.$ac_ext
6133 cat >>conftest.$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6137 #define $ac_func innocuous_$ac_func
6139 /* System header to define __stub macros and hopefully few prototypes,
6140 which can conflict with char $ac_func (); below.
6141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6142 <limits.h> exists even on freestanding compilers. */
6145 # include <limits.h>
6147 # include <assert.h>
6152 /* Override any gcc2 internal prototype to avoid an error. */
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6160 /* The GNU C library defines this for functions which it implements
6161 to always fail with ENOSYS. Some functions are actually named
6162 something starting with __ and the normal name is an alias. */
6163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6166 char (*f) () = $ac_func;
6175 return f != $ac_func;
6180 rm -f conftest.$ac_objext conftest$ac_exeext
6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6182 (eval $ac_link) 2>conftest.er1
6184 grep -v '^ *+' conftest.er1 >conftest.err
6186 cat conftest.err >&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } &&
6189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); }; } &&
6195 { ac_try='test -s conftest$ac_exeext'
6196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); }; }; then
6201 eval "$as_ac_var=yes"
6203 echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.$ac_ext >&5
6206 eval "$as_ac_var=no"
6208 rm -f conftest.err conftest.$ac_objext \
6209 conftest$ac_exeext conftest.$ac_ext
6211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6213 if test `eval echo '${'$as_ac_var'}'` = yes; then
6214 cat >>confdefs.h <<_ACEOF
6215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6220 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6221 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6222 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 ac_check_lib_save_LIBS=$LIBS
6227 cat >conftest.$ac_ext <<_ACEOF
6230 cat confdefs.h >>conftest.$ac_ext
6231 cat >>conftest.$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6234 /* Override any gcc2 internal prototype to avoid an error. */
6238 /* We use char because int might match the return type of a gcc2
6239 builtin and then its argument prototype would still apply. */
6240 char gethostbyname ();
6249 rm -f conftest.$ac_objext conftest$ac_exeext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6251 (eval $ac_link) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1 >conftest.err
6255 cat conftest.err >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try='test -s conftest$ac_exeext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 ac_cv_lib_nsl_gethostbyname=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.$ac_ext >&5
6275 ac_cv_lib_nsl_gethostbyname=no
6277 rm -f conftest.err conftest.$ac_objext \
6278 conftest$ac_exeext conftest.$ac_ext
6279 LIBS=$ac_check_lib_save_LIBS
6281 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6284 cat >>confdefs.h <<_ACEOF
6285 #define HAVE_LIBNSL 1
6296 for ac_func in connect
6298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6299 echo "$as_me:$LINENO: checking for $ac_func" >&5
6300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6301 if eval "test \"\${$as_ac_var+set}\" = set"; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.$ac_ext <<_ACEOF
6307 cat confdefs.h >>conftest.$ac_ext
6308 cat >>conftest.$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6312 #define $ac_func innocuous_$ac_func
6314 /* System header to define __stub macros and hopefully few prototypes,
6315 which can conflict with char $ac_func (); below.
6316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 <limits.h> exists even on freestanding compilers. */
6320 # include <limits.h>
6322 # include <assert.h>
6327 /* Override any gcc2 internal prototype to avoid an error. */
6332 /* We use char because int might match the return type of a gcc2
6333 builtin and then its argument prototype would still apply. */
6335 /* The GNU C library defines this for functions which it implements
6336 to always fail with ENOSYS. Some functions are actually named
6337 something starting with __ and the normal name is an alias. */
6338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6341 char (*f) () = $ac_func;
6350 return f != $ac_func;
6355 rm -f conftest.$ac_objext conftest$ac_exeext
6356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6357 (eval $ac_link) 2>conftest.er1
6359 grep -v '^ *+' conftest.er1 >conftest.err
6361 cat conftest.err >&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } &&
6364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; } &&
6370 { ac_try='test -s conftest$ac_exeext'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then
6376 eval "$as_ac_var=yes"
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.$ac_ext >&5
6381 eval "$as_ac_var=no"
6383 rm -f conftest.err conftest.$ac_objext \
6384 conftest$ac_exeext conftest.$ac_ext
6386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6388 if test `eval echo '${'$as_ac_var'}'` = yes; then
6389 cat >>confdefs.h <<_ACEOF
6390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6395 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6396 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6397 if test "${ac_cv_lib_socket_connect+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 ac_check_lib_save_LIBS=$LIBS
6401 LIBS="-lsocket $LIBS"
6402 cat >conftest.$ac_ext <<_ACEOF
6405 cat confdefs.h >>conftest.$ac_ext
6406 cat >>conftest.$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6409 /* Override any gcc2 internal prototype to avoid an error. */
6413 /* We use char because int might match the return type of a gcc2
6414 builtin and then its argument prototype would still apply. */
6424 rm -f conftest.$ac_objext conftest$ac_exeext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6426 (eval $ac_link) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } &&
6433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; } &&
6439 { ac_try='test -s conftest$ac_exeext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_lib_socket_connect=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6450 ac_cv_lib_socket_connect=no
6452 rm -f conftest.err conftest.$ac_objext \
6453 conftest$ac_exeext conftest.$ac_ext
6454 LIBS=$ac_check_lib_save_LIBS
6456 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6457 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6458 if test $ac_cv_lib_socket_connect = yes; then
6459 cat >>confdefs.h <<_ACEOF
6460 #define HAVE_LIBSOCKET 1
6463 LIBS="-lsocket $LIBS"
6471 for ac_func in inet_aton
6473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6474 echo "$as_me:$LINENO: checking for $ac_func" >&5
6475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6476 if eval "test \"\${$as_ac_var+set}\" = set"; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.$ac_ext <<_ACEOF
6482 cat confdefs.h >>conftest.$ac_ext
6483 cat >>conftest.$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6487 #define $ac_func innocuous_$ac_func
6489 /* System header to define __stub macros and hopefully few prototypes,
6490 which can conflict with char $ac_func (); below.
6491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6492 <limits.h> exists even on freestanding compilers. */
6495 # include <limits.h>
6497 # include <assert.h>
6502 /* Override any gcc2 internal prototype to avoid an error. */
6507 /* We use char because int might match the return type of a gcc2
6508 builtin and then its argument prototype would still apply. */
6510 /* The GNU C library defines this for functions which it implements
6511 to always fail with ENOSYS. Some functions are actually named
6512 something starting with __ and the normal name is an alias. */
6513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6516 char (*f) () = $ac_func;
6525 return f != $ac_func;
6530 rm -f conftest.$ac_objext conftest$ac_exeext
6531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6532 (eval $ac_link) 2>conftest.er1
6534 grep -v '^ *+' conftest.er1 >conftest.err
6536 cat conftest.err >&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try='test -s conftest$ac_exeext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 eval "$as_ac_var=yes"
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6556 eval "$as_ac_var=no"
6558 rm -f conftest.err conftest.$ac_objext \
6559 conftest$ac_exeext conftest.$ac_ext
6561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6563 if test `eval echo '${'$as_ac_var'}'` = yes; then
6564 cat >>confdefs.h <<_ACEOF
6565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6570 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6571 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6572 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_check_lib_save_LIBS=$LIBS
6576 LIBS="-lresolv $LIBS"
6577 cat >conftest.$ac_ext <<_ACEOF
6580 cat confdefs.h >>conftest.$ac_ext
6581 cat >>conftest.$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6584 /* Override any gcc2 internal prototype to avoid an error. */
6588 /* We use char because int might match the return type of a gcc2
6589 builtin and then its argument prototype would still apply. */
6599 rm -f conftest.$ac_objext conftest$ac_exeext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6601 (eval $ac_link) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1 >conftest.err
6605 cat conftest.err >&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; } &&
6614 { ac_try='test -s conftest$ac_exeext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 ac_cv_lib_resolv_inet_aton=yes
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ac_cv_lib_resolv_inet_aton=no
6627 rm -f conftest.err conftest.$ac_objext \
6628 conftest$ac_exeext conftest.$ac_ext
6629 LIBS=$ac_check_lib_save_LIBS
6631 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6632 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6633 if test $ac_cv_lib_resolv_inet_aton = yes; then
6634 cat >>confdefs.h <<_ACEOF
6635 #define HAVE_LIBRESOLV 1
6638 LIBS="-lresolv $LIBS"
6646 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6647 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6648 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 ac_check_lib_save_LIBS=$LIBS
6653 cat >conftest.$ac_ext <<_ACEOF
6656 cat confdefs.h >>conftest.$ac_ext
6657 cat >>conftest.$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6660 /* Override any gcc2 internal prototype to avoid an error. */
6664 /* We use char because int might match the return type of a gcc2
6665 builtin and then its argument prototype would still apply. */
6666 char _xpg4_setrunelocale ();
6670 _xpg4_setrunelocale ();
6675 rm -f conftest.$ac_objext conftest$ac_exeext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677 (eval $ac_link) 2>conftest.er1
6679 grep -v '^ *+' conftest.er1 >conftest.err
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; } &&
6690 { ac_try='test -s conftest$ac_exeext'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6696 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5
6701 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6703 rm -f conftest.err conftest.$ac_objext \
6704 conftest$ac_exeext conftest.$ac_ext
6705 LIBS=$ac_check_lib_save_LIBS
6707 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6708 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6709 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6710 cat >>confdefs.h <<_ACEOF
6711 #define HAVE_LIBXPG4 1
6719 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6720 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6721 if test "${ac_cv_lib_poll_poll+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 ac_check_lib_save_LIBS=$LIBS
6726 cat >conftest.$ac_ext <<_ACEOF
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6733 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6748 rm -f conftest.$ac_objext conftest$ac_exeext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6750 (eval $ac_link) 2>conftest.er1
6752 grep -v '^ *+' conftest.er1 >conftest.err
6754 cat conftest.err >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try='test -s conftest$ac_exeext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_cv_lib_poll_poll=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_cv_lib_poll_poll=no
6776 rm -f conftest.err conftest.$ac_objext \
6777 conftest$ac_exeext conftest.$ac_ext
6778 LIBS=$ac_check_lib_save_LIBS
6780 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6781 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6782 if test $ac_cv_lib_poll_poll = yes; then
6783 cat >>confdefs.h <<_ACEOF
6784 #define HAVE_LIBPOLL 1
6792 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6793 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6794 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_check_lib_save_LIBS=$LIBS
6798 LIBS="-lresolv $LIBS"
6799 cat >conftest.$ac_ext <<_ACEOF
6802 cat confdefs.h >>conftest.$ac_ext
6803 cat >>conftest.$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6806 /* Override any gcc2 internal prototype to avoid an error. */
6810 /* We use char because int might match the return type of a gcc2
6811 builtin and then its argument prototype would still apply. */
6821 rm -f conftest.$ac_objext conftest$ac_exeext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6823 (eval $ac_link) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1 >conftest.err
6827 cat conftest.err >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; } &&
6836 { ac_try='test -s conftest$ac_exeext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_lib_resolv_res_9_init=yes
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.$ac_ext >&5
6847 ac_cv_lib_resolv_res_9_init=no
6849 rm -f conftest.err conftest.$ac_objext \
6850 conftest$ac_exeext conftest.$ac_ext
6851 LIBS=$ac_check_lib_save_LIBS
6853 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6854 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6855 if test $ac_cv_lib_resolv_res_9_init = yes; then
6856 cat >>confdefs.h <<_ACEOF
6857 #define HAVE_LIBRESOLV 1
6860 LIBS="-lresolv $LIBS"
6864 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6865 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6866 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 ac_check_lib_save_LIBS=$LIBS
6870 LIBS="-lpthread $LIBS"
6871 cat >conftest.$ac_ext <<_ACEOF
6874 cat confdefs.h >>conftest.$ac_ext
6875 cat >>conftest.$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6878 /* Override any gcc2 internal prototype to avoid an error. */
6882 /* We use char because int might match the return type of a gcc2
6883 builtin and then its argument prototype would still apply. */
6884 char pthread_create ();
6893 rm -f conftest.$ac_objext conftest$ac_exeext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1 >conftest.err
6899 cat conftest.err >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_lib_pthread_pthread_create=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.$ac_ext >&5
6919 ac_cv_lib_pthread_pthread_create=no
6921 rm -f conftest.err conftest.$ac_objext \
6922 conftest$ac_exeext conftest.$ac_ext
6923 LIBS=$ac_check_lib_save_LIBS
6925 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6926 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6927 if test $ac_cv_lib_pthread_pthread_create = yes; then
6928 LIBPTHREAD="-lpthread"
6942 if test "$have_x" = "yes"
6945 ac_save_CPPFLAGS="$CPPFLAGS"
6946 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6948 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6949 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6950 if test "${ac_cv_header_stdc+set}" = set; then
6951 echo $ECHO_N "(cached) $ECHO_C" >&6
6953 cat >conftest.$ac_ext <<_ACEOF
6956 cat confdefs.h >>conftest.$ac_ext
6957 cat >>conftest.$ac_ext <<_ACEOF
6958 /* end confdefs.h. */
6972 rm -f conftest.$ac_objext
6973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6974 (eval $ac_compile) 2>conftest.er1
6976 grep -v '^ *+' conftest.er1 >conftest.err
6978 cat conftest.err >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); } &&
6981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; } &&
6987 { ac_try='test -s conftest.$ac_objext'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; }; then
6993 ac_cv_header_stdc=yes
6995 echo "$as_me: failed program was:" >&5
6996 sed 's/^/| /' conftest.$ac_ext >&5
6998 ac_cv_header_stdc=no
7000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7002 if test $ac_cv_header_stdc = yes; then
7003 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7004 cat >conftest.$ac_ext <<_ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7014 $EGREP "memchr" >/dev/null 2>&1; then
7017 ac_cv_header_stdc=no
7023 if test $ac_cv_header_stdc = yes; then
7024 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7025 cat >conftest.$ac_ext <<_ACEOF
7028 cat confdefs.h >>conftest.$ac_ext
7029 cat >>conftest.$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7035 $EGREP "free" >/dev/null 2>&1; then
7038 ac_cv_header_stdc=no
7044 if test $ac_cv_header_stdc = yes; then
7045 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7046 if test "$cross_compiling" = yes; then
7049 cat >conftest.$ac_ext <<_ACEOF
7052 cat confdefs.h >>conftest.$ac_ext
7053 cat >>conftest.$ac_ext <<_ACEOF
7054 /* end confdefs.h. */
7056 #if ((' ' & 0x0FF) == 0x020)
7057 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7058 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7060 # define ISLOWER(c) \
7061 (('a' <= (c) && (c) <= 'i') \
7062 || ('j' <= (c) && (c) <= 'r') \
7063 || ('s' <= (c) && (c) <= 'z'))
7064 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7067 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7072 for (i = 0; i < 256; i++)
7073 if (XOR (islower (i), ISLOWER (i))
7074 || toupper (i) != TOUPPER (i))
7079 rm -f conftest$ac_exeext
7080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7081 (eval $ac_link) 2>&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); }; }; then
7092 echo "$as_me: program exited with status $ac_status" >&5
7093 echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.$ac_ext >&5
7097 ac_cv_header_stdc=no
7099 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7103 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7104 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7105 if test $ac_cv_header_stdc = yes; then
7107 cat >>confdefs.h <<\_ACEOF
7108 #define STDC_HEADERS 1
7113 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7123 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7124 inttypes.h stdint.h unistd.h
7126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 echo "$as_me:$LINENO: checking for $ac_header" >&5
7128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7130 echo $ECHO_N "(cached) $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
7140 #include <$ac_header>
7142 rm -f conftest.$ac_objext
7143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7144 (eval $ac_compile) 2>conftest.er1
7146 grep -v '^ *+' conftest.er1 >conftest.err
7148 cat conftest.err >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } &&
7151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; } &&
7157 { ac_try='test -s conftest.$ac_objext'
7158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); }; }; then
7163 eval "$as_ac_Header=yes"
7165 echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.$ac_ext >&5
7168 eval "$as_ac_Header=no"
7170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7175 cat >>confdefs.h <<_ACEOF
7176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7185 for ac_header in X11/Xlib.h
7187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7189 echo "$as_me:$LINENO: checking for $ac_header" >&5
7190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7197 # Is the header compilable?
7198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7200 cat >conftest.$ac_ext <<_ACEOF
7203 cat confdefs.h >>conftest.$ac_ext
7204 cat >>conftest.$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 $ac_includes_default
7207 #include <$ac_header>
7209 rm -f conftest.$ac_objext
7210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7211 (eval $ac_compile) 2>conftest.er1
7213 grep -v '^ *+' conftest.er1 >conftest.err
7215 cat conftest.err >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } &&
7218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; } &&
7224 { ac_try='test -s conftest.$ac_objext'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; }; then
7230 ac_header_compiler=yes
7232 echo "$as_me: failed program was:" >&5
7233 sed 's/^/| /' conftest.$ac_ext >&5
7235 ac_header_compiler=no
7237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7239 echo "${ECHO_T}$ac_header_compiler" >&6
7241 # Is the header present?
7242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7244 cat >conftest.$ac_ext <<_ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 #include <$ac_header>
7252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7255 grep -v '^ *+' conftest.er1 >conftest.err
7257 cat conftest.err >&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } >/dev/null; then
7260 if test -s conftest.err; then
7261 ac_cpp_err=$ac_c_preproc_warn_flag
7262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7269 if test -z "$ac_cpp_err"; then
7270 ac_header_preproc=yes
7272 echo "$as_me: failed program was:" >&5
7273 sed 's/^/| /' conftest.$ac_ext >&5
7275 ac_header_preproc=no
7277 rm -f conftest.err conftest.$ac_ext
7278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7279 echo "${ECHO_T}$ac_header_preproc" >&6
7281 # So? What about this header?
7282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7288 ac_header_preproc=yes
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7305 ## ------------------------------------ ##
7306 ## Report this to wine-devel@winehq.org ##
7307 ## ------------------------------------ ##
7310 sed "s/^/$as_me: WARNING: /" >&2
7313 echo "$as_me:$LINENO: checking for $ac_header" >&5
7314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7316 echo $ECHO_N "(cached) $ECHO_C" >&6
7318 eval "$as_ac_Header=\$ac_header_preproc"
7320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7325 cat >>confdefs.h <<_ACEOF
7326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 for ac_header in X11/XKBlib.h \
7341 X11/extensions/shape.h \
7342 X11/extensions/XInput.h \
7343 X11/extensions/XShm.h \
7344 X11/extensions/Xrandr.h \
7345 X11/extensions/Xrender.h \
7346 X11/extensions/Xvlib.h \
7347 X11/extensions/xf86dga.h \
7348 X11/extensions/xf86vmode.h
7350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 cat >conftest.$ac_ext <<_ACEOF
7359 cat confdefs.h >>conftest.$ac_ext
7360 cat >>conftest.$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 #include <X11/Xlib.h>
7363 #ifdef HAVE_X11_XUTIL_H
7364 # include <X11/Xutil.h>
7367 #include <$ac_header>
7369 rm -f conftest.$ac_objext
7370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>conftest.er1
7373 grep -v '^ *+' conftest.er1 >conftest.err
7375 cat conftest.err >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } &&
7378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try='test -s conftest.$ac_objext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 eval "$as_ac_Header=yes"
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7395 eval "$as_ac_Header=no"
7397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7402 cat >>confdefs.h <<_ACEOF
7403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7411 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7413 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7414 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7415 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 ac_check_lib_save_LIBS=$LIBS
7419 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7420 cat >conftest.$ac_ext <<_ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7427 /* Override any gcc2 internal prototype to avoid an error. */
7431 /* We use char because int might match the return type of a gcc2
7432 builtin and then its argument prototype would still apply. */
7433 char XkbQueryExtension ();
7437 XkbQueryExtension ();
7442 rm -f conftest.$ac_objext conftest$ac_exeext
7443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7444 (eval $ac_link) 2>conftest.er1
7446 grep -v '^ *+' conftest.er1 >conftest.err
7448 cat conftest.err >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); } &&
7451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }; } &&
7457 { ac_try='test -s conftest$ac_exeext'
7458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; }; then
7463 ac_cv_lib_X11_XkbQueryExtension=yes
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.$ac_ext >&5
7468 ac_cv_lib_X11_XkbQueryExtension=no
7470 rm -f conftest.err conftest.$ac_objext \
7471 conftest$ac_exeext conftest.$ac_ext
7472 LIBS=$ac_check_lib_save_LIBS
7474 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7475 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7476 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7478 cat >>confdefs.h <<\_ACEOF
7486 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7488 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7489 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7490 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 ac_check_lib_save_LIBS=$LIBS
7494 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7495 cat >conftest.$ac_ext <<_ACEOF
7498 cat confdefs.h >>conftest.$ac_ext
7499 cat >>conftest.$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7502 /* Override any gcc2 internal prototype to avoid an error. */
7506 /* We use char because int might match the return type of a gcc2
7507 builtin and then its argument prototype would still apply. */
7508 char XShmQueryExtension ();
7512 XShmQueryExtension ();
7517 rm -f conftest.$ac_objext conftest$ac_exeext
7518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7519 (eval $ac_link) 2>conftest.er1
7521 grep -v '^ *+' conftest.er1 >conftest.err
7523 cat conftest.err >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } &&
7526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); }; } &&
7532 { ac_try='test -s conftest$ac_exeext'
7533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); }; }; then
7538 ac_cv_lib_Xext_XShmQueryExtension=yes
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7543 ac_cv_lib_Xext_XShmQueryExtension=no
7545 rm -f conftest.err conftest.$ac_objext \
7546 conftest$ac_exeext conftest.$ac_ext
7547 LIBS=$ac_check_lib_save_LIBS
7549 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7550 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7551 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7553 cat >>confdefs.h <<\_ACEOF
7554 #define HAVE_LIBXXSHM 1
7561 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7563 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7564 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7565 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 ac_check_lib_save_LIBS=$LIBS
7569 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7570 cat >conftest.$ac_ext <<_ACEOF
7573 cat confdefs.h >>conftest.$ac_ext
7574 cat >>conftest.$ac_ext <<_ACEOF
7575 /* end confdefs.h. */
7577 /* Override any gcc2 internal prototype to avoid an error. */
7581 /* We use char because int might match the return type of a gcc2
7582 builtin and then its argument prototype would still apply. */
7583 char XShapeQueryExtension ();
7587 XShapeQueryExtension ();
7592 rm -f conftest.$ac_objext conftest$ac_exeext
7593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7594 (eval $ac_link) 2>conftest.er1
7596 grep -v '^ *+' conftest.er1 >conftest.err
7598 cat conftest.err >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); }; } &&
7607 { ac_try='test -s conftest$ac_exeext'
7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); }; }; then
7613 ac_cv_lib_Xext_XShapeQueryExtension=yes
7615 echo "$as_me: failed program was:" >&5
7616 sed 's/^/| /' conftest.$ac_ext >&5
7618 ac_cv_lib_Xext_XShapeQueryExtension=no
7620 rm -f conftest.err conftest.$ac_objext \
7621 conftest$ac_exeext conftest.$ac_ext
7622 LIBS=$ac_check_lib_save_LIBS
7624 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7625 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7626 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7628 cat >>confdefs.h <<\_ACEOF
7629 #define HAVE_LIBXSHAPE 1
7636 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7638 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7639 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7640 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 ac_check_lib_save_LIBS=$LIBS
7644 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7645 cat >conftest.$ac_ext <<_ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7652 /* Override any gcc2 internal prototype to avoid an error. */
7656 /* We use char because int might match the return type of a gcc2
7657 builtin and then its argument prototype would still apply. */
7658 char XDGAQueryExtension ();
7662 XDGAQueryExtension ();
7667 rm -f conftest.$ac_objext conftest$ac_exeext
7668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7669 (eval $ac_link) 2>conftest.er1
7671 grep -v '^ *+' conftest.er1 >conftest.err
7673 cat conftest.err >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } &&
7676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); }; } &&
7682 { ac_try='test -s conftest$ac_exeext'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then
7688 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7690 echo "$as_me: failed program was:" >&5
7691 sed 's/^/| /' conftest.$ac_ext >&5
7693 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7695 rm -f conftest.err conftest.$ac_objext \
7696 conftest$ac_exeext conftest.$ac_ext
7697 LIBS=$ac_check_lib_save_LIBS
7699 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7700 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7701 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7703 cat >>confdefs.h <<\_ACEOF
7704 #define HAVE_LIBXXF86DGA2 1
7707 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7710 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7711 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7712 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7713 echo $ECHO_N "(cached) $ECHO_C" >&6
7715 ac_check_lib_save_LIBS=$LIBS
7716 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7718 cat >conftest.$ac_ext <<_ACEOF
7721 cat confdefs.h >>conftest.$ac_ext
7722 cat >>conftest.$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7725 /* Override any gcc2 internal prototype to avoid an error. */
7729 /* We use char because int might match the return type of a gcc2
7730 builtin and then its argument prototype would still apply. */
7731 char XF86DGAQueryExtension ();
7735 XF86DGAQueryExtension ();
7740 rm -f conftest.$ac_objext conftest$ac_exeext
7741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7742 (eval $ac_link) 2>conftest.er1
7744 grep -v '^ *+' conftest.er1 >conftest.err
7746 cat conftest.err >&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } &&
7749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 (exit $ac_status); }; } &&
7755 { ac_try='test -s conftest$ac_exeext'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; }; then
7761 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
7763 echo "$as_me: failed program was:" >&5
7764 sed 's/^/| /' conftest.$ac_ext >&5
7766 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
7768 rm -f conftest.err conftest.$ac_objext \
7769 conftest$ac_exeext conftest.$ac_ext
7770 LIBS=$ac_check_lib_save_LIBS
7772 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7773 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7774 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7776 cat >>confdefs.h <<\_ACEOF
7777 #define HAVE_LIBXXF86DGA 1
7780 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7789 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7791 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7792 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7793 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 ac_check_lib_save_LIBS=$LIBS
7797 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7798 cat >conftest.$ac_ext <<_ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7805 /* Override any gcc2 internal prototype to avoid an error. */
7809 /* We use char because int might match the return type of a gcc2
7810 builtin and then its argument prototype would still apply. */
7811 char XF86VidModeQueryExtension ();
7815 XF86VidModeQueryExtension ();
7820 rm -f conftest.$ac_objext conftest$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>conftest.er1
7824 grep -v '^ *+' conftest.er1 >conftest.err
7826 cat conftest.err >&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); } &&
7829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); }; } &&
7835 { ac_try='test -s conftest$ac_exeext'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; }; then
7841 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.$ac_ext >&5
7846 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7848 rm -f conftest.err conftest.$ac_objext \
7849 conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7852 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7853 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7854 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7856 cat >>confdefs.h <<\_ACEOF
7857 #define HAVE_LIBXXF86VM 1
7860 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7866 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7868 cat >conftest.$ac_ext <<_ACEOF
7871 cat confdefs.h >>conftest.$ac_ext
7872 cat >>conftest.$ac_ext <<_ACEOF
7873 /* end confdefs.h. */
7874 #include <X11/Xlib.h>
7875 #include <X11/extensions/Xrandr.h>
7879 static typeof(XRRSetScreenConfigAndRate) * func;
7884 rm -f conftest.$ac_objext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7886 (eval $ac_compile) 2>conftest.er1
7888 grep -v '^ *+' conftest.er1 >conftest.err
7890 cat conftest.err >&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } &&
7893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); }; } &&
7899 { ac_try='test -s conftest.$ac_objext'
7900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }; }; then
7906 cat >>confdefs.h <<\_ACEOF
7907 #define HAVE_LIBXRANDR 1
7911 echo "$as_me: failed program was:" >&5
7912 sed 's/^/| /' conftest.$ac_ext >&5
7915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7918 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
7920 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7921 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7922 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 ac_check_lib_save_LIBS=$LIBS
7926 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7927 cat >conftest.$ac_ext <<_ACEOF
7930 cat confdefs.h >>conftest.$ac_ext
7931 cat >>conftest.$ac_ext <<_ACEOF
7932 /* end confdefs.h. */
7934 /* Override any gcc2 internal prototype to avoid an error. */
7938 /* We use char because int might match the return type of a gcc2
7939 builtin and then its argument prototype would still apply. */
7940 char XvShmCreateImage ();
7944 XvShmCreateImage ();
7949 rm -f conftest.$ac_objext conftest$ac_exeext
7950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7951 (eval $ac_link) 2>conftest.er1
7953 grep -v '^ *+' conftest.er1 >conftest.err
7955 cat conftest.err >&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } &&
7958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; } &&
7964 { ac_try='test -s conftest$ac_exeext'
7965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); }; }; then
7970 ac_cv_lib_Xv_XvShmCreateImage=yes
7972 echo "$as_me: failed program was:" >&5
7973 sed 's/^/| /' conftest.$ac_ext >&5
7975 ac_cv_lib_Xv_XvShmCreateImage=no
7977 rm -f conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 LIBS=$ac_check_lib_save_LIBS
7981 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7982 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7983 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7985 cat >>confdefs.h <<\_ACEOF
7986 #define HAVE_XVIDEO 1
7989 X_PRE_LIBS="$X_PRE_LIBS -lXv"
7995 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
7997 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
7998 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
7999 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8000 echo $ECHO_N "(cached) $ECHO_C" >&6
8002 ac_check_lib_save_LIBS=$LIBS
8003 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8004 cat >conftest.$ac_ext <<_ACEOF
8007 cat confdefs.h >>conftest.$ac_ext
8008 cat >>conftest.$ac_ext <<_ACEOF
8009 /* end confdefs.h. */
8011 /* Override any gcc2 internal prototype to avoid an error. */
8015 /* We use char because int might match the return type of a gcc2
8016 builtin and then its argument prototype would still apply. */
8017 char XRenderSetPictureTransform ();
8021 XRenderSetPictureTransform ();
8026 rm -f conftest.$ac_objext conftest$ac_exeext
8027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8028 (eval $ac_link) 2>conftest.er1
8030 grep -v '^ *+' conftest.er1 >conftest.err
8032 cat conftest.err >&5
8033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); } &&
8035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; } &&
8041 { ac_try='test -s conftest$ac_exeext'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; }; then
8047 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8052 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8054 rm -f conftest.err conftest.$ac_objext \
8055 conftest$ac_exeext conftest.$ac_ext
8056 LIBS=$ac_check_lib_save_LIBS
8058 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8059 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8060 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8062 cat >>confdefs.h <<\_ACEOF
8063 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8075 if test "x$with_opengl" != "xno"
8077 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8079 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8080 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8081 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8082 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8083 { (exit 1); exit 1; }; }
8088 for ac_header in GL/gl.h GL/glx.h
8090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8092 echo "$as_me:$LINENO: checking for $ac_header" >&5
8093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8100 # Is the header compilable?
8101 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8102 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8103 cat >conftest.$ac_ext <<_ACEOF
8106 cat confdefs.h >>conftest.$ac_ext
8107 cat >>conftest.$ac_ext <<_ACEOF
8108 /* end confdefs.h. */
8109 $ac_includes_default
8110 #include <$ac_header>
8112 rm -f conftest.$ac_objext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8114 (eval $ac_compile) 2>conftest.er1
8116 grep -v '^ *+' conftest.er1 >conftest.err
8118 cat conftest.err >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; } &&
8127 { ac_try='test -s conftest.$ac_objext'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; }; then
8133 ac_header_compiler=yes
8135 echo "$as_me: failed program was:" >&5
8136 sed 's/^/| /' conftest.$ac_ext >&5
8138 ac_header_compiler=no
8140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8142 echo "${ECHO_T}$ac_header_compiler" >&6
8144 # Is the header present?
8145 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8147 cat >conftest.$ac_ext <<_ACEOF
8150 cat confdefs.h >>conftest.$ac_ext
8151 cat >>conftest.$ac_ext <<_ACEOF
8152 /* end confdefs.h. */
8153 #include <$ac_header>
8155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8158 grep -v '^ *+' conftest.er1 >conftest.err
8160 cat conftest.err >&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); } >/dev/null; then
8163 if test -s conftest.err; then
8164 ac_cpp_err=$ac_c_preproc_warn_flag
8165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8172 if test -z "$ac_cpp_err"; then
8173 ac_header_preproc=yes
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8178 ac_header_preproc=no
8180 rm -f conftest.err conftest.$ac_ext
8181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8182 echo "${ECHO_T}$ac_header_preproc" >&6
8184 # So? What about this header?
8185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8187 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8188 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8190 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8191 ac_header_preproc=yes
8194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8198 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8199 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8200 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8201 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8204 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8205 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8208 ## ------------------------------------ ##
8209 ## Report this to wine-devel@winehq.org ##
8210 ## ------------------------------------ ##
8213 sed "s/^/$as_me: WARNING: /" >&2
8216 echo "$as_me:$LINENO: checking for $ac_header" >&5
8217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 eval "$as_ac_Header=\$ac_header_preproc"
8223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8228 cat >>confdefs.h <<_ACEOF
8229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8236 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8239 for ac_header in GL/glext.h
8241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8242 echo "$as_me:$LINENO: checking for $ac_header" >&5
8243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8245 echo $ECHO_N "(cached) $ECHO_C" >&6
8247 cat >conftest.$ac_ext <<_ACEOF
8250 cat confdefs.h >>conftest.$ac_ext
8251 cat >>conftest.$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8255 #include <$ac_header>
8257 rm -f conftest.$ac_objext
8258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8259 (eval $ac_compile) 2>conftest.er1
8261 grep -v '^ *+' conftest.er1 >conftest.err
8263 cat conftest.err >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } &&
8266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); }; } &&
8272 { ac_try='test -s conftest.$ac_objext'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; }; then
8278 eval "$as_ac_Header=yes"
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8283 eval "$as_ac_Header=no"
8285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8290 cat >>confdefs.h <<_ACEOF
8291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8298 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8299 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8300 if test "${wine_cv_opengl_version_OK+set}" = set; then
8301 echo $ECHO_N "(cached) $ECHO_C" >&6
8303 cat >conftest.$ac_ext <<_ACEOF
8306 cat confdefs.h >>conftest.$ac_ext
8307 cat >>conftest.$ac_ext <<_ACEOF
8308 /* end confdefs.h. */
8313 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8318 rm -f conftest.$ac_objext
8319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8320 (eval $ac_compile) 2>conftest.er1
8322 grep -v '^ *+' conftest.er1 >conftest.err
8324 cat conftest.err >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } &&
8327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; } &&
8333 { ac_try='test -s conftest.$ac_objext'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; }; then
8339 wine_cv_opengl_version_OK="yes"
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.$ac_ext >&5
8344 wine_cv_opengl_version_OK="no"
8347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8350 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8351 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8353 if test "$wine_cv_opengl_version_OK" = "yes"
8355 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8356 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8357 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 ac_check_lib_save_LIBS=$LIBS
8361 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8362 cat >conftest.$ac_ext <<_ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8369 /* Override any gcc2 internal prototype to avoid an error. */
8373 /* We use char because int might match the return type of a gcc2
8374 builtin and then its argument prototype would still apply. */
8375 char glXCreateContext ();
8379 glXCreateContext ();
8384 rm -f conftest.$ac_objext conftest$ac_exeext
8385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8386 (eval $ac_link) 2>conftest.er1
8388 grep -v '^ *+' conftest.er1 >conftest.err
8390 cat conftest.err >&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } &&
8393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; } &&
8399 { ac_try='test -s conftest$ac_exeext'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; }; then
8405 ac_cv_lib_GL_glXCreateContext=yes
8407 echo "$as_me: failed program was:" >&5
8408 sed 's/^/| /' conftest.$ac_ext >&5
8410 ac_cv_lib_GL_glXCreateContext=no
8412 rm -f conftest.err conftest.$ac_objext \
8413 conftest$ac_exeext conftest.$ac_ext
8414 LIBS=$ac_check_lib_save_LIBS
8416 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8417 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8418 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8424 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8426 OPENGLFILES='$(OPENGLFILES)'
8428 cat >>confdefs.h <<\_ACEOF
8429 #define HAVE_OPENGL 1
8433 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8434 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8435 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 ac_check_lib_save_LIBS=$LIBS
8439 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8440 cat >conftest.$ac_ext <<_ACEOF
8443 cat confdefs.h >>conftest.$ac_ext
8444 cat >>conftest.$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8447 /* Override any gcc2 internal prototype to avoid an error. */
8451 /* We use char because int might match the return type of a gcc2
8452 builtin and then its argument prototype would still apply. */
8453 char glXGetProcAddressARB ();
8457 glXGetProcAddressARB ();
8462 rm -f conftest.$ac_objext conftest$ac_exeext
8463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8464 (eval $ac_link) 2>conftest.er1
8466 grep -v '^ *+' conftest.er1 >conftest.err
8468 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } &&
8471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; } &&
8477 { ac_try='test -s conftest$ac_exeext'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); }; }; then
8483 ac_cv_lib_GL_glXGetProcAddressARB=yes
8485 echo "$as_me: failed program was:" >&5
8486 sed 's/^/| /' conftest.$ac_ext >&5
8488 ac_cv_lib_GL_glXGetProcAddressARB=no
8490 rm -f conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
8492 LIBS=$ac_check_lib_save_LIBS
8494 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8495 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8496 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8498 cat >>confdefs.h <<\_ACEOF
8499 #define HAVE_GLX_GETPROCADDRESS 1
8505 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8507 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8508 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8509 if test "${wine_cv_extension_prototypes+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8512 cat >conftest.$ac_ext <<_ACEOF
8515 cat confdefs.h >>conftest.$ac_ext
8516 cat >>conftest.$ac_ext <<_ACEOF
8517 /* end confdefs.h. */
8519 #ifdef HAVE_GL_GLEXT_H
8520 # include <GL/glext.h>
8526 PFNGLCOLORTABLEEXTPROC test_proc;
8531 rm -f conftest.$ac_objext
8532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8533 (eval $ac_compile) 2>conftest.er1
8535 grep -v '^ *+' conftest.er1 >conftest.err
8537 cat conftest.err >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } &&
8540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; } &&
8546 { ac_try='test -s conftest.$ac_objext'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; }; then
8552 wine_cv_extension_prototypes="yes"
8554 echo "$as_me: failed program was:" >&5
8555 sed 's/^/| /' conftest.$ac_ext >&5
8557 wine_cv_extension_prototypes="no"
8560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8563 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8564 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8565 if test "$wine_cv_extension_prototypes" = "yes"
8568 cat >>confdefs.h <<\_ACEOF
8569 #define HAVE_GLEXT_PROTOTYPES 1
8576 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8577 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8578 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8579 echo $ECHO_N "(cached) $ECHO_C" >&6
8581 ac_check_lib_save_LIBS=$LIBS
8582 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8584 cat >conftest.$ac_ext <<_ACEOF
8587 cat confdefs.h >>conftest.$ac_ext
8588 cat >>conftest.$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8591 /* Override any gcc2 internal prototype to avoid an error. */
8595 /* We use char because int might match the return type of a gcc2
8596 builtin and then its argument prototype would still apply. */
8606 rm -f conftest.$ac_objext conftest$ac_exeext
8607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8608 (eval $ac_link) 2>conftest.er1
8610 grep -v '^ *+' conftest.er1 >conftest.err
8612 cat conftest.err >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } &&
8615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; } &&
8621 { ac_try='test -s conftest$ac_exeext'
8622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); }; }; then
8627 ac_cv_lib_GLU_gluLookAt=yes
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.$ac_ext >&5
8632 ac_cv_lib_GLU_gluLookAt=no
8634 rm -f conftest.err conftest.$ac_objext \
8635 conftest$ac_exeext conftest.$ac_ext
8636 LIBS=$ac_check_lib_save_LIBS
8638 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8639 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8640 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8641 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8642 GLU32FILES='$(GLU32FILES)'
8648 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8649 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8650 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 ac_check_lib_save_LIBS=$LIBS
8654 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8655 cat >conftest.$ac_ext <<_ACEOF
8658 cat confdefs.h >>conftest.$ac_ext
8659 cat >>conftest.$ac_ext <<_ACEOF
8660 /* end confdefs.h. */
8662 /* Override any gcc2 internal prototype to avoid an error. */
8666 /* We use char because int might match the return type of a gcc2
8667 builtin and then its argument prototype would still apply. */
8668 char glutMainLoop ();
8677 rm -f conftest.$ac_objext conftest$ac_exeext
8678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8679 (eval $ac_link) 2>conftest.er1
8681 grep -v '^ *+' conftest.er1 >conftest.err
8683 cat conftest.err >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } &&
8686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; } &&
8692 { ac_try='test -s conftest$ac_exeext'
8693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); }; }; then
8698 ac_cv_lib_glut_glutMainLoop=yes
8700 echo "$as_me: failed program was:" >&5
8701 sed 's/^/| /' conftest.$ac_ext >&5
8703 ac_cv_lib_glut_glutMainLoop=no
8705 rm -f conftest.err conftest.$ac_objext \
8706 conftest$ac_exeext conftest.$ac_ext
8707 LIBS=$ac_check_lib_save_LIBS
8709 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8710 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8711 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8712 GLUT_LIBS="-lglut -lXmu -lXi"
8714 GLUT32FILES='$(GLUT32FILES)'
8724 for ac_header in audio/audiolib.h
8726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8728 echo "$as_me:$LINENO: checking for $ac_header" >&5
8729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8731 echo $ECHO_N "(cached) $ECHO_C" >&6
8733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8736 # Is the header compilable?
8737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8739 cat >conftest.$ac_ext <<_ACEOF
8742 cat confdefs.h >>conftest.$ac_ext
8743 cat >>conftest.$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8745 $ac_includes_default
8746 #include <$ac_header>
8748 rm -f conftest.$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750 (eval $ac_compile) 2>conftest.er1
8752 grep -v '^ *+' conftest.er1 >conftest.err
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; } &&
8763 { ac_try='test -s conftest.$ac_objext'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; }; then
8769 ac_header_compiler=yes
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5
8774 ac_header_compiler=no
8776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8778 echo "${ECHO_T}$ac_header_compiler" >&6
8780 # Is the header present?
8781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8783 cat >conftest.$ac_ext <<_ACEOF
8786 cat confdefs.h >>conftest.$ac_ext
8787 cat >>conftest.$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8789 #include <$ac_header>
8791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8794 grep -v '^ *+' conftest.er1 >conftest.err
8796 cat conftest.err >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); } >/dev/null; then
8799 if test -s conftest.err; then
8800 ac_cpp_err=$ac_c_preproc_warn_flag
8801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8808 if test -z "$ac_cpp_err"; then
8809 ac_header_preproc=yes
8811 echo "$as_me: failed program was:" >&5
8812 sed 's/^/| /' conftest.$ac_ext >&5
8814 ac_header_preproc=no
8816 rm -f conftest.err conftest.$ac_ext
8817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8818 echo "${ECHO_T}$ac_header_preproc" >&6
8820 # So? What about this header?
8821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8827 ac_header_preproc=yes
8830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8844 ## ------------------------------------ ##
8845 ## Report this to wine-devel@winehq.org ##
8846 ## ------------------------------------ ##
8849 sed "s/^/$as_me: WARNING: /" >&2
8852 echo "$as_me:$LINENO: checking for $ac_header" >&5
8853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 eval "$as_ac_Header=\$ac_header_preproc"
8859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8864 cat >>confdefs.h <<_ACEOF
8865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8868 for ac_header in audio/soundlib.h
8870 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8871 echo "$as_me:$LINENO: checking for $ac_header" >&5
8872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 cat >conftest.$ac_ext <<_ACEOF
8879 cat confdefs.h >>conftest.$ac_ext
8880 cat >>conftest.$ac_ext <<_ACEOF
8881 /* end confdefs.h. */
8882 #include <audio/audiolib.h>
8884 #include <$ac_header>
8886 rm -f conftest.$ac_objext
8887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8888 (eval $ac_compile) 2>conftest.er1
8890 grep -v '^ *+' conftest.er1 >conftest.err
8892 cat conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } &&
8895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; } &&
8901 { ac_try='test -s conftest.$ac_objext'
8902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; }; then
8907 eval "$as_ac_Header=yes"
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.$ac_ext >&5
8912 eval "$as_ac_Header=no"
8914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8919 cat >>confdefs.h <<_ACEOF
8920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8927 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8928 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8929 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8932 ac_check_lib_save_LIBS=$LIBS
8933 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8934 cat >conftest.$ac_ext <<_ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8941 /* Override any gcc2 internal prototype to avoid an error. */
8945 /* We use char because int might match the return type of a gcc2
8946 builtin and then its argument prototype would still apply. */
8947 char AuCreateFlow ();
8956 rm -f conftest.$ac_objext conftest$ac_exeext
8957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8958 (eval $ac_link) 2>conftest.er1
8960 grep -v '^ *+' conftest.er1 >conftest.err
8962 cat conftest.err >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); } &&
8965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; } &&
8971 { ac_try='test -s conftest$ac_exeext'
8972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); }; }; then
8977 ac_cv_lib_audio_AuCreateFlow=yes
8979 echo "$as_me: failed program was:" >&5
8980 sed 's/^/| /' conftest.$ac_ext >&5
8982 ac_cv_lib_audio_AuCreateFlow=no
8984 rm -f conftest.err conftest.$ac_objext \
8985 conftest$ac_exeext conftest.$ac_ext
8986 LIBS=$ac_check_lib_save_LIBS
8988 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8989 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8990 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8992 cat >>confdefs.h <<\_ACEOF
8996 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9004 CPPFLAGS="$ac_save_CPPFLAGS"
9013 if test "x$with_curses" != "xno"
9016 for ac_header in ncurses.h
9018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9020 echo "$as_me:$LINENO: checking for $ac_header" >&5
9021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9028 # Is the header compilable?
9029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9031 cat >conftest.$ac_ext <<_ACEOF
9034 cat confdefs.h >>conftest.$ac_ext
9035 cat >>conftest.$ac_ext <<_ACEOF
9036 /* end confdefs.h. */
9037 $ac_includes_default
9038 #include <$ac_header>
9040 rm -f conftest.$ac_objext
9041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9042 (eval $ac_compile) 2>conftest.er1
9044 grep -v '^ *+' conftest.er1 >conftest.err
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } &&
9049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); }; } &&
9055 { ac_try='test -s conftest.$ac_objext'
9056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); }; }; then
9061 ac_header_compiler=yes
9063 echo "$as_me: failed program was:" >&5
9064 sed 's/^/| /' conftest.$ac_ext >&5
9066 ac_header_compiler=no
9068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9070 echo "${ECHO_T}$ac_header_compiler" >&6
9072 # Is the header present?
9073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9075 cat >conftest.$ac_ext <<_ACEOF
9078 cat confdefs.h >>conftest.$ac_ext
9079 cat >>conftest.$ac_ext <<_ACEOF
9080 /* end confdefs.h. */
9081 #include <$ac_header>
9083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9086 grep -v '^ *+' conftest.er1 >conftest.err
9088 cat conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); } >/dev/null; then
9091 if test -s conftest.err; then
9092 ac_cpp_err=$ac_c_preproc_warn_flag
9093 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9100 if test -z "$ac_cpp_err"; then
9101 ac_header_preproc=yes
9103 echo "$as_me: failed program was:" >&5
9104 sed 's/^/| /' conftest.$ac_ext >&5
9106 ac_header_preproc=no
9108 rm -f conftest.err conftest.$ac_ext
9109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9110 echo "${ECHO_T}$ac_header_preproc" >&6
9112 # So? What about this header?
9113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9119 ac_header_preproc=yes
9122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9136 ## ------------------------------------ ##
9137 ## Report this to wine-devel@winehq.org ##
9138 ## ------------------------------------ ##
9141 sed "s/^/$as_me: WARNING: /" >&2
9144 echo "$as_me:$LINENO: checking for $ac_header" >&5
9145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9147 echo $ECHO_N "(cached) $ECHO_C" >&6
9149 eval "$as_ac_Header=\$ac_header_preproc"
9151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9156 cat >>confdefs.h <<_ACEOF
9157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9159 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9160 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9161 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9164 ac_check_lib_save_LIBS=$LIBS
9165 LIBS="-lncurses $LIBS"
9166 cat >conftest.$ac_ext <<_ACEOF
9169 cat confdefs.h >>conftest.$ac_ext
9170 cat >>conftest.$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9173 /* Override any gcc2 internal prototype to avoid an error. */
9177 /* We use char because int might match the return type of a gcc2
9178 builtin and then its argument prototype would still apply. */
9188 rm -f conftest.$ac_objext conftest$ac_exeext
9189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9190 (eval $ac_link) 2>conftest.er1
9192 grep -v '^ *+' conftest.er1 >conftest.err
9194 cat conftest.err >&5
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); } &&
9197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); }; } &&
9203 { ac_try='test -s conftest$ac_exeext'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; }; then
9209 ac_cv_lib_ncurses_waddch=yes
9211 echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.$ac_ext >&5
9214 ac_cv_lib_ncurses_waddch=no
9216 rm -f conftest.err conftest.$ac_objext \
9217 conftest$ac_exeext conftest.$ac_ext
9218 LIBS=$ac_check_lib_save_LIBS
9220 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9221 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9222 if test $ac_cv_lib_ncurses_waddch = yes; then
9224 cat >>confdefs.h <<\_ACEOF
9225 #define HAVE_LIBNCURSES 1
9228 CURSESLIBS="-lncurses"
9231 for ac_header in curses.h
9233 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9235 echo "$as_me:$LINENO: checking for $ac_header" >&5
9236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9238 echo $ECHO_N "(cached) $ECHO_C" >&6
9240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9243 # Is the header compilable?
9244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9246 cat >conftest.$ac_ext <<_ACEOF
9249 cat confdefs.h >>conftest.$ac_ext
9250 cat >>conftest.$ac_ext <<_ACEOF
9251 /* end confdefs.h. */
9252 $ac_includes_default
9253 #include <$ac_header>
9255 rm -f conftest.$ac_objext
9256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9257 (eval $ac_compile) 2>conftest.er1
9259 grep -v '^ *+' conftest.er1 >conftest.err
9261 cat conftest.err >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); } &&
9264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); }; } &&
9270 { ac_try='test -s conftest.$ac_objext'
9271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); }; }; then
9276 ac_header_compiler=yes
9278 echo "$as_me: failed program was:" >&5
9279 sed 's/^/| /' conftest.$ac_ext >&5
9281 ac_header_compiler=no
9283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9285 echo "${ECHO_T}$ac_header_compiler" >&6
9287 # Is the header present?
9288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9290 cat >conftest.$ac_ext <<_ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9296 #include <$ac_header>
9298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9301 grep -v '^ *+' conftest.er1 >conftest.err
9303 cat conftest.err >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); } >/dev/null; then
9306 if test -s conftest.err; then
9307 ac_cpp_err=$ac_c_preproc_warn_flag
9308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9315 if test -z "$ac_cpp_err"; then
9316 ac_header_preproc=yes
9318 echo "$as_me: failed program was:" >&5
9319 sed 's/^/| /' conftest.$ac_ext >&5
9321 ac_header_preproc=no
9323 rm -f conftest.err conftest.$ac_ext
9324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9325 echo "${ECHO_T}$ac_header_preproc" >&6
9327 # So? What about this header?
9328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9334 ac_header_preproc=yes
9337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9351 ## ------------------------------------ ##
9352 ## Report this to wine-devel@winehq.org ##
9353 ## ------------------------------------ ##
9356 sed "s/^/$as_me: WARNING: /" >&2
9359 echo "$as_me:$LINENO: checking for $ac_header" >&5
9360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9362 echo $ECHO_N "(cached) $ECHO_C" >&6
9364 eval "$as_ac_Header=\$ac_header_preproc"
9366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9371 cat >>confdefs.h <<_ACEOF
9372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9374 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9375 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9376 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9379 ac_check_lib_save_LIBS=$LIBS
9380 LIBS="-lcurses $LIBS"
9381 cat >conftest.$ac_ext <<_ACEOF
9384 cat confdefs.h >>conftest.$ac_ext
9385 cat >>conftest.$ac_ext <<_ACEOF
9386 /* end confdefs.h. */
9388 /* Override any gcc2 internal prototype to avoid an error. */
9392 /* We use char because int might match the return type of a gcc2
9393 builtin and then its argument prototype would still apply. */
9403 rm -f conftest.$ac_objext conftest$ac_exeext
9404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9405 (eval $ac_link) 2>conftest.er1
9407 grep -v '^ *+' conftest.er1 >conftest.err
9409 cat conftest.err >&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); } &&
9412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; } &&
9418 { ac_try='test -s conftest$ac_exeext'
9419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); }; }; then
9424 ac_cv_lib_curses_waddch=yes
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.$ac_ext >&5
9429 ac_cv_lib_curses_waddch=no
9431 rm -f conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 LIBS=$ac_check_lib_save_LIBS
9435 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9436 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9437 if test $ac_cv_lib_curses_waddch = yes; then
9439 cat >>confdefs.h <<\_ACEOF
9440 #define HAVE_LIBCURSES 1
9443 CURSESLIBS="-lcurses"
9457 LIBS="$CURSESLIBS $LIBS"
9460 for ac_func in getbkgd resizeterm
9462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9463 echo "$as_me:$LINENO: checking for $ac_func" >&5
9464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9465 if eval "test \"\${$as_ac_var+set}\" = set"; then
9466 echo $ECHO_N "(cached) $ECHO_C" >&6
9468 cat >conftest.$ac_ext <<_ACEOF
9471 cat confdefs.h >>conftest.$ac_ext
9472 cat >>conftest.$ac_ext <<_ACEOF
9473 /* end confdefs.h. */
9474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9476 #define $ac_func innocuous_$ac_func
9478 /* System header to define __stub macros and hopefully few prototypes,
9479 which can conflict with char $ac_func (); below.
9480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9481 <limits.h> exists even on freestanding compilers. */
9484 # include <limits.h>
9486 # include <assert.h>
9491 /* Override any gcc2 internal prototype to avoid an error. */
9496 /* We use char because int might match the return type of a gcc2
9497 builtin and then its argument prototype would still apply. */
9499 /* The GNU C library defines this for functions which it implements
9500 to always fail with ENOSYS. Some functions are actually named
9501 something starting with __ and the normal name is an alias. */
9502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9505 char (*f) () = $ac_func;
9514 return f != $ac_func;
9519 rm -f conftest.$ac_objext conftest$ac_exeext
9520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9521 (eval $ac_link) 2>conftest.er1
9523 grep -v '^ *+' conftest.er1 >conftest.err
9525 cat conftest.err >&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); } &&
9528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); }; } &&
9534 { ac_try='test -s conftest$ac_exeext'
9535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); }; }; then
9540 eval "$as_ac_var=yes"
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9545 eval "$as_ac_var=no"
9547 rm -f conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9552 if test `eval echo '${'$as_ac_var'}'` = yes; then
9553 cat >>confdefs.h <<_ACEOF
9554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9564 # Extract the first word of "sane-config", so it can be a program name with args.
9565 set dummy sane-config; ac_word=$2
9566 echo "$as_me:$LINENO: checking for $ac_word" >&5
9567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9568 if test "${ac_cv_prog_sane_devel+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9571 if test -n "$sane_devel"; then
9572 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9578 test -z "$as_dir" && as_dir=.
9579 for ac_exec_ext in '' $ac_executable_extensions; do
9580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9581 ac_cv_prog_sane_devel="sane-config"
9582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9588 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9591 sane_devel=$ac_cv_prog_sane_devel
9592 if test -n "$sane_devel"; then
9593 echo "$as_me:$LINENO: result: $sane_devel" >&5
9594 echo "${ECHO_T}$sane_devel" >&6
9596 echo "$as_me:$LINENO: result: no" >&5
9597 echo "${ECHO_T}no" >&6
9600 if test "$sane_devel" = "no"
9605 SANELIBS="`$sane_devel --libs`"
9606 SANEINCL="`$sane_devel --cflags`"
9607 ac_save_CPPFLAGS="$CPPFLAGS"
9608 ac_save_LIBS="$LIBS"
9609 CPPFLAGS="$CPPFLAGS $SANEINCL"
9610 LIBS="$LIBS $SANELIBS"
9611 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9612 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9613 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9614 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9618 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9620 # Is the header compilable?
9621 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9622 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9623 cat >conftest.$ac_ext <<_ACEOF
9626 cat confdefs.h >>conftest.$ac_ext
9627 cat >>conftest.$ac_ext <<_ACEOF
9628 /* end confdefs.h. */
9629 $ac_includes_default
9630 #include <sane/sane.h>
9632 rm -f conftest.$ac_objext
9633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9634 (eval $ac_compile) 2>conftest.er1
9636 grep -v '^ *+' conftest.er1 >conftest.err
9638 cat conftest.err >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); } &&
9641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest.$ac_objext'
9648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); }; }; then
9653 ac_header_compiler=yes
9655 echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.$ac_ext >&5
9658 ac_header_compiler=no
9660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9662 echo "${ECHO_T}$ac_header_compiler" >&6
9664 # Is the header present?
9665 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9666 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9667 cat >conftest.$ac_ext <<_ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9673 #include <sane/sane.h>
9675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9678 grep -v '^ *+' conftest.er1 >conftest.err
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } >/dev/null; then
9683 if test -s conftest.err; then
9684 ac_cpp_err=$ac_c_preproc_warn_flag
9685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9692 if test -z "$ac_cpp_err"; then
9693 ac_header_preproc=yes
9695 echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.$ac_ext >&5
9698 ac_header_preproc=no
9700 rm -f conftest.err conftest.$ac_ext
9701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9702 echo "${ECHO_T}$ac_header_preproc" >&6
9704 # So? What about this header?
9705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9707 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9708 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9709 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9710 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9711 ac_header_preproc=yes
9714 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9715 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9716 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9717 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9718 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9719 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9720 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9721 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9722 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9723 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9724 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9725 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9728 ## ------------------------------------ ##
9729 ## Report this to wine-devel@winehq.org ##
9730 ## ------------------------------------ ##
9733 sed "s/^/$as_me: WARNING: /" >&2
9736 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9737 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9738 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9739 echo $ECHO_N "(cached) $ECHO_C" >&6
9741 ac_cv_header_sane_sane_h=$ac_header_preproc
9743 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9744 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9747 if test $ac_cv_header_sane_sane_h = yes; then
9748 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9749 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9750 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9751 echo $ECHO_N "(cached) $ECHO_C" >&6
9753 ac_check_lib_save_LIBS=$LIBS
9755 cat >conftest.$ac_ext <<_ACEOF
9758 cat confdefs.h >>conftest.$ac_ext
9759 cat >>conftest.$ac_ext <<_ACEOF
9760 /* end confdefs.h. */
9762 /* Override any gcc2 internal prototype to avoid an error. */
9766 /* We use char because int might match the return type of a gcc2
9767 builtin and then its argument prototype would still apply. */
9777 rm -f conftest.$ac_objext conftest$ac_exeext
9778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9779 (eval $ac_link) 2>conftest.er1
9781 grep -v '^ *+' conftest.er1 >conftest.err
9783 cat conftest.err >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } &&
9786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); }; } &&
9792 { ac_try='test -s conftest$ac_exeext'
9793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); }; }; then
9798 ac_cv_lib_sane_sane_open=yes
9800 echo "$as_me: failed program was:" >&5
9801 sed 's/^/| /' conftest.$ac_ext >&5
9803 ac_cv_lib_sane_sane_open=no
9805 rm -f conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_lib_save_LIBS
9809 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9810 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9811 if test $ac_cv_lib_sane_sane_open = yes; then
9813 cat >>confdefs.h <<\_ACEOF
9828 LIBS="$ac_save_LIBS"
9829 CPPFLAGS="$ac_save_CPPFLAGS"
9835 for ac_header in unicode/ubidi.h
9837 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9839 echo "$as_me:$LINENO: checking for $ac_header" >&5
9840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9847 # Is the header compilable?
9848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9850 cat >conftest.$ac_ext <<_ACEOF
9853 cat confdefs.h >>conftest.$ac_ext
9854 cat >>conftest.$ac_ext <<_ACEOF
9855 /* end confdefs.h. */
9856 $ac_includes_default
9857 #include <$ac_header>
9859 rm -f conftest.$ac_objext
9860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9861 (eval $ac_compile) 2>conftest.er1
9863 grep -v '^ *+' conftest.er1 >conftest.err
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } &&
9868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); }; } &&
9874 { ac_try='test -s conftest.$ac_objext'
9875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); }; }; then
9880 ac_header_compiler=yes
9882 echo "$as_me: failed program was:" >&5
9883 sed 's/^/| /' conftest.$ac_ext >&5
9885 ac_header_compiler=no
9887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9889 echo "${ECHO_T}$ac_header_compiler" >&6
9891 # Is the header present?
9892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9894 cat >conftest.$ac_ext <<_ACEOF
9897 cat confdefs.h >>conftest.$ac_ext
9898 cat >>conftest.$ac_ext <<_ACEOF
9899 /* end confdefs.h. */
9900 #include <$ac_header>
9902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9905 grep -v '^ *+' conftest.er1 >conftest.err
9907 cat conftest.err >&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); } >/dev/null; then
9910 if test -s conftest.err; then
9911 ac_cpp_err=$ac_c_preproc_warn_flag
9912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9919 if test -z "$ac_cpp_err"; then
9920 ac_header_preproc=yes
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.$ac_ext >&5
9925 ac_header_preproc=no
9927 rm -f conftest.err conftest.$ac_ext
9928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9929 echo "${ECHO_T}$ac_header_preproc" >&6
9931 # So? What about this header?
9932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9938 ac_header_preproc=yes
9941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9955 ## ------------------------------------ ##
9956 ## Report this to wine-devel@winehq.org ##
9957 ## ------------------------------------ ##
9960 sed "s/^/$as_me: WARNING: /" >&2
9963 echo "$as_me:$LINENO: checking for $ac_header" >&5
9964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 eval "$as_ac_Header=\$ac_header_preproc"
9970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9975 cat >>confdefs.h <<_ACEOF
9976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9983 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9986 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9987 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9988 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9989 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9990 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9991 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9992 cat >conftest.$ac_ext <<_ACEOF
9995 cat confdefs.h >>conftest.$ac_ext
9996 cat >>conftest.$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9998 #include <unicode/ubidi.h>
10007 rm -f conftest.$ac_objext conftest$ac_exeext
10008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10009 (eval $ac_link) 2>conftest.er1
10011 grep -v '^ *+' conftest.er1 >conftest.err
10013 cat conftest.err >&5
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); } &&
10016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10018 (eval $ac_try) 2>&5
10020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021 (exit $ac_status); }; } &&
10022 { ac_try='test -s conftest$ac_exeext'
10023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10024 (eval $ac_try) 2>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); }; }; then
10029 cat >>confdefs.h <<\_ACEOF
10033 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10035 echo "$as_me:$LINENO: result: yes" >&5
10036 echo "${ECHO_T}yes" >&6
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10044 rm -f conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10049 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10050 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10051 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 ac_check_lib_save_LIBS=$LIBS
10055 LIBS="-lfreetype $X_LIBS $LIBS"
10056 cat >conftest.$ac_ext <<_ACEOF
10059 cat confdefs.h >>conftest.$ac_ext
10060 cat >>conftest.$ac_ext <<_ACEOF
10061 /* end confdefs.h. */
10063 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10069 char FT_Init_FreeType ();
10073 FT_Init_FreeType ();
10078 rm -f conftest.$ac_objext conftest$ac_exeext
10079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10080 (eval $ac_link) 2>conftest.er1
10082 grep -v '^ *+' conftest.er1 >conftest.err
10084 cat conftest.err >&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); } &&
10087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; } &&
10093 { ac_try='test -s conftest$ac_exeext'
10094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10095 (eval $ac_try) 2>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; }; then
10099 ac_cv_lib_freetype_FT_Init_FreeType=yes
10101 echo "$as_me: failed program was:" >&5
10102 sed 's/^/| /' conftest.$ac_ext >&5
10104 ac_cv_lib_freetype_FT_Init_FreeType=no
10106 rm -f conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 LIBS=$ac_check_lib_save_LIBS
10110 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10111 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10112 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10118 if test "$ft_lib" = "no"
10122 wine_cv_msg_freetype=no
10124 # Extract the first word of "freetype-config", so it can be a program name with args.
10125 set dummy freetype-config; ac_word=$2
10126 echo "$as_me:$LINENO: checking for $ac_word" >&5
10127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10128 if test "${ac_cv_prog_ft_devel+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 if test -n "$ft_devel"; then
10132 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10135 for as_dir in $PATH
10138 test -z "$as_dir" && as_dir=.
10139 for ac_exec_ext in '' $ac_executable_extensions; do
10140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10141 ac_cv_prog_ft_devel="freetype-config"
10142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10148 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10151 ft_devel=$ac_cv_prog_ft_devel
10152 if test -n "$ft_devel"; then
10153 echo "$as_me:$LINENO: result: $ft_devel" >&5
10154 echo "${ECHO_T}$ft_devel" >&6
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10160 if test "$ft_devel" = "no"
10162 # Extract the first word of "freetype2-config", so it can be a program name with args.
10163 set dummy freetype2-config; ac_word=$2
10164 echo "$as_me:$LINENO: checking for $ac_word" >&5
10165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10166 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 if test -n "$ft_devel2"; then
10170 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10173 for as_dir in $PATH
10176 test -z "$as_dir" && as_dir=.
10177 for ac_exec_ext in '' $ac_executable_extensions; do
10178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10179 ac_cv_prog_ft_devel2="freetype2-config"
10180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10186 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10189 ft_devel2=$ac_cv_prog_ft_devel2
10190 if test -n "$ft_devel2"; then
10191 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10192 echo "${ECHO_T}$ft_devel2" >&6
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10198 if test "$ft_devel2" = "freetype2-config"
10200 ft_devel=$ft_devel2
10203 if test "$ft_devel" = "no"
10207 wine_cv_msg_freetype=yes
10209 FREETYPELIBS=`$ft_devel --libs`
10210 FREETYPEINCL=`$ft_devel --cflags`
10211 ac_save_CPPFLAGS="$CPPFLAGS"
10212 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10223 for ac_header in ft2build.h \
10224 freetype/freetype.h \
10225 freetype/ftglyph.h \
10226 freetype/tttables.h \
10227 freetype/ftnames.h \
10228 freetype/ftsnames.h \
10229 freetype/ttnameid.h \
10230 freetype/ftoutln.h \
10231 freetype/ftwinfnt.h \
10232 freetype/internal/sfnt.h
10234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10235 echo "$as_me:$LINENO: checking for $ac_header" >&5
10236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 cat >conftest.$ac_ext <<_ACEOF
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 #if HAVE_FT2BUILD_H
10247 #include <ft2build.h>
10250 #include <$ac_header>
10252 rm -f conftest.$ac_objext
10253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10254 (eval $ac_compile) 2>conftest.er1
10256 grep -v '^ *+' conftest.er1 >conftest.err
10258 cat conftest.err >&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } &&
10261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; } &&
10267 { ac_try='test -s conftest.$ac_objext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 eval "$as_ac_Header=yes"
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.$ac_ext >&5
10278 eval "$as_ac_Header=no"
10280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10285 cat >>confdefs.h <<_ACEOF
10286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10293 cat >conftest.$ac_ext <<_ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10299 #include <ft2build.h>
10300 #include <freetype/fttrigon.h>
10302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10305 grep -v '^ *+' conftest.er1 >conftest.err
10307 cat conftest.err >&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } >/dev/null; then
10310 if test -s conftest.err; then
10311 ac_cpp_err=$ac_c_preproc_warn_flag
10312 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10319 if test -z "$ac_cpp_err"; then
10321 cat >>confdefs.h <<\_ACEOF
10322 #define HAVE_FREETYPE_FTTRIGON_H 1
10325 wine_cv_fttrigon=yes
10327 echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.$ac_ext >&5
10330 wine_cv_fttrigon=no
10332 rm -f conftest.err conftest.$ac_ext
10333 CPPFLAGS="$ac_save_CPPFLAGS"
10334 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10337 cat >>confdefs.h <<\_ACEOF
10338 #define HAVE_FREETYPE 1
10341 wine_cv_msg_freetype=no
10345 wine_cv_msg_freetype=yes
10352 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10354 FONTSSUBDIRS="fonts"
10358 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10359 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10360 if test "${ac_cv_c_ppdev+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 cat >conftest.$ac_ext <<_ACEOF
10366 cat confdefs.h >>conftest.$ac_ext
10367 cat >>conftest.$ac_ext <<_ACEOF
10368 /* end confdefs.h. */
10369 #include <linux/ppdev.h>
10373 ioctl (1,PPCLAIM,0)
10378 rm -f conftest.$ac_objext
10379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10380 (eval $ac_compile) 2>conftest.er1
10382 grep -v '^ *+' conftest.er1 >conftest.err
10384 cat conftest.err >&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } &&
10387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 (eval $ac_try) 2>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; } &&
10393 { ac_try='test -s conftest.$ac_objext'
10394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395 (eval $ac_try) 2>&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); }; }; then
10399 ac_cv_c_ppdev="yes"
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10409 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10410 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10411 if test "$ac_cv_c_ppdev" = "yes"
10414 cat >>confdefs.h <<\_ACEOF
10415 #define HAVE_PPDEV 1
10420 echo "$as_me:$LINENO: checking for va_copy" >&5
10421 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10422 if test "${ac_cv_c_va_copy+set}" = set; then
10423 echo $ECHO_N "(cached) $ECHO_C" >&6
10425 cat >conftest.$ac_ext <<_ACEOF
10428 cat confdefs.h >>conftest.$ac_ext
10429 cat >>conftest.$ac_ext <<_ACEOF
10430 /* end confdefs.h. */
10431 #include <stdarg.h>
10442 rm -f conftest.$ac_objext conftest$ac_exeext
10443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10444 (eval $ac_link) 2>conftest.er1
10446 grep -v '^ *+' conftest.er1 >conftest.err
10448 cat conftest.err >&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); } &&
10451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; } &&
10457 { ac_try='test -s conftest$ac_exeext'
10458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10459 (eval $ac_try) 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; }; then
10463 ac_cv_c_va_copy="yes"
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.$ac_ext >&5
10468 ac_cv_c_va_copy="no"
10470 rm -f conftest.err conftest.$ac_objext \
10471 conftest$ac_exeext conftest.$ac_ext
10474 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10475 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10476 if test "$ac_cv_c_va_copy" = "yes"
10479 cat >>confdefs.h <<\_ACEOF
10480 #define HAVE_VA_COPY 1
10484 echo "$as_me:$LINENO: checking for __va_copy" >&5
10485 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10486 if test "${ac_cv_c___va_copy+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 cat >conftest.$ac_ext <<_ACEOF
10492 cat confdefs.h >>conftest.$ac_ext
10493 cat >>conftest.$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10495 #include <stdarg.h>
10500 __va_copy(ap1,ap2);
10506 rm -f conftest.$ac_objext conftest$ac_exeext
10507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10508 (eval $ac_link) 2>conftest.er1
10510 grep -v '^ *+' conftest.er1 >conftest.err
10512 cat conftest.err >&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); } &&
10515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; } &&
10521 { ac_try='test -s conftest$ac_exeext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 ac_cv_c___va_copy="yes"
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10532 ac_cv_c___va_copy="no"
10534 rm -f conftest.err conftest.$ac_objext \
10535 conftest$ac_exeext conftest.$ac_ext
10538 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10539 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10540 if test "$ac_cv_c___va_copy" = "yes"
10543 cat >>confdefs.h <<\_ACEOF
10544 #define HAVE___VA_COPY 1
10549 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10550 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10551 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10554 cat >conftest.$ac_ext <<_ACEOF
10557 cat confdefs.h >>conftest.$ac_ext
10558 cat >>conftest.$ac_ext <<_ACEOF
10559 /* end confdefs.h. */
10560 #include <setjmp.h>
10565 sigsetjmp( buf, 1 );
10566 siglongjmp( buf, 1 );
10571 rm -f conftest.$ac_objext conftest$ac_exeext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10573 (eval $ac_link) 2>conftest.er1
10575 grep -v '^ *+' conftest.er1 >conftest.err
10577 cat conftest.err >&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } &&
10580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; } &&
10586 { ac_try='test -s conftest$ac_exeext'
10587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588 (eval $ac_try) 2>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); }; }; then
10592 ac_cv_c_sigsetjmp="yes"
10594 echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.$ac_ext >&5
10597 ac_cv_c_sigsetjmp="no"
10599 rm -f conftest.err conftest.$ac_objext \
10600 conftest$ac_exeext conftest.$ac_ext
10603 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10604 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10605 if test "$ac_cv_c_sigsetjmp" = "yes"
10608 cat >>confdefs.h <<\_ACEOF
10609 #define HAVE_SIGSETJMP 1
10614 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10615 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10616 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10617 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 cat >conftest.$ac_ext <<_ACEOF
10622 cat confdefs.h >>conftest.$ac_ext
10623 cat >>conftest.$ac_ext <<_ACEOF
10624 /* end confdefs.h. */
10625 #define _GNU_SOURCE
10626 #include <pthread.h>
10631 if ((pthread_rwlock_t *) 0)
10633 if (sizeof (pthread_rwlock_t))
10639 rm -f conftest.$ac_objext
10640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10641 (eval $ac_compile) 2>conftest.er1
10643 grep -v '^ *+' conftest.er1 >conftest.err
10645 cat conftest.err >&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); } &&
10648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; } &&
10654 { ac_try='test -s conftest.$ac_objext'
10655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10656 (eval $ac_try) 2>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); }; }; then
10660 ac_cv_type_pthread_rwlock_t=yes
10662 echo "$as_me: failed program was:" >&5
10663 sed 's/^/| /' conftest.$ac_ext >&5
10665 ac_cv_type_pthread_rwlock_t=no
10667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10669 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10670 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10671 if test $ac_cv_type_pthread_rwlock_t = yes; then
10673 cat >>confdefs.h <<_ACEOF
10674 #define HAVE_PTHREAD_RWLOCK_T 1
10679 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10680 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10681 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10684 cat >conftest.$ac_ext <<_ACEOF
10687 cat confdefs.h >>conftest.$ac_ext
10688 cat >>conftest.$ac_ext <<_ACEOF
10689 /* end confdefs.h. */
10690 #define _GNU_SOURCE
10691 #include <pthread.h>
10696 if ((pthread_rwlockattr_t *) 0)
10698 if (sizeof (pthread_rwlockattr_t))
10704 rm -f conftest.$ac_objext
10705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10706 (eval $ac_compile) 2>conftest.er1
10708 grep -v '^ *+' conftest.er1 >conftest.err
10710 cat conftest.err >&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); } &&
10713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715 (eval $ac_try) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }; } &&
10719 { ac_try='test -s conftest.$ac_objext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 ac_cv_type_pthread_rwlockattr_t=yes
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.$ac_ext >&5
10730 ac_cv_type_pthread_rwlockattr_t=no
10732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10734 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10735 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10736 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10738 cat >>confdefs.h <<_ACEOF
10739 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10746 ac_save_LIBS="$LIBS"
10747 LIBS="$LIBS $LIBPTHREAD"
10752 pthread_getattr_np \
10753 pthread_get_stackaddr_np \
10754 pthread_get_stacksize_np \
10757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10758 echo "$as_me:$LINENO: checking for $ac_func" >&5
10759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10760 if eval "test \"\${$as_ac_var+set}\" = set"; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 cat >conftest.$ac_ext <<_ACEOF
10766 cat confdefs.h >>conftest.$ac_ext
10767 cat >>conftest.$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10771 #define $ac_func innocuous_$ac_func
10773 /* System header to define __stub macros and hopefully few prototypes,
10774 which can conflict with char $ac_func (); below.
10775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10776 <limits.h> exists even on freestanding compilers. */
10779 # include <limits.h>
10781 # include <assert.h>
10786 /* Override any gcc2 internal prototype to avoid an error. */
10791 /* We use char because int might match the return type of a gcc2
10792 builtin and then its argument prototype would still apply. */
10794 /* The GNU C library defines this for functions which it implements
10795 to always fail with ENOSYS. Some functions are actually named
10796 something starting with __ and the normal name is an alias. */
10797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10800 char (*f) () = $ac_func;
10809 return f != $ac_func;
10814 rm -f conftest.$ac_objext conftest$ac_exeext
10815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10816 (eval $ac_link) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1 >conftest.err
10820 cat conftest.err >&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; } &&
10829 { ac_try='test -s conftest$ac_exeext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 eval "$as_ac_var=yes"
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.$ac_ext >&5
10840 eval "$as_ac_var=no"
10842 rm -f conftest.err conftest.$ac_objext \
10843 conftest$ac_exeext conftest.$ac_ext
10845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10847 if test `eval echo '${'$as_ac_var'}'` = yes; then
10848 cat >>confdefs.h <<_ACEOF
10849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10855 LIBS="$ac_save_LIBS"
10860 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10864 echo "$as_me:$LINENO: checking for $ac_header" >&5
10865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10872 # Is the header compilable?
10873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10875 cat >conftest.$ac_ext <<_ACEOF
10878 cat confdefs.h >>conftest.$ac_ext
10879 cat >>conftest.$ac_ext <<_ACEOF
10880 /* end confdefs.h. */
10881 $ac_includes_default
10882 #include <$ac_header>
10884 rm -f conftest.$ac_objext
10885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10886 (eval $ac_compile) 2>conftest.er1
10888 grep -v '^ *+' conftest.er1 >conftest.err
10890 cat conftest.err >&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } &&
10893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895 (eval $ac_try) 2>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); }; } &&
10899 { ac_try='test -s conftest.$ac_objext'
10900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901 (eval $ac_try) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; }; then
10905 ac_header_compiler=yes
10907 echo "$as_me: failed program was:" >&5
10908 sed 's/^/| /' conftest.$ac_ext >&5
10910 ac_header_compiler=no
10912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10914 echo "${ECHO_T}$ac_header_compiler" >&6
10916 # Is the header present?
10917 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10919 cat >conftest.$ac_ext <<_ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10925 #include <$ac_header>
10927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10930 grep -v '^ *+' conftest.er1 >conftest.err
10932 cat conftest.err >&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } >/dev/null; then
10935 if test -s conftest.err; then
10936 ac_cpp_err=$ac_c_preproc_warn_flag
10937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10944 if test -z "$ac_cpp_err"; then
10945 ac_header_preproc=yes
10947 echo "$as_me: failed program was:" >&5
10948 sed 's/^/| /' conftest.$ac_ext >&5
10950 ac_header_preproc=no
10952 rm -f conftest.err conftest.$ac_ext
10953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10954 echo "${ECHO_T}$ac_header_preproc" >&6
10956 # So? What about this header?
10957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10963 ac_header_preproc=yes
10966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10980 ## ------------------------------------ ##
10981 ## Report this to wine-devel@winehq.org ##
10982 ## ------------------------------------ ##
10985 sed "s/^/$as_me: WARNING: /" >&2
10988 echo "$as_me:$LINENO: checking for $ac_header" >&5
10989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10991 echo $ECHO_N "(cached) $ECHO_C" >&6
10993 eval "$as_ac_Header=\$ac_header_preproc"
10995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10999 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11000 cat >>confdefs.h <<_ACEOF
11001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11009 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11010 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11011 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 cat >conftest.$ac_ext <<_ACEOF
11017 cat confdefs.h >>conftest.$ac_ext
11018 cat >>conftest.$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11021 #if defined(HAVE_SYS_SOUNDCARD_H)
11022 #include <sys/soundcard.h>
11023 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11024 #include <machine/soundcard.h>
11025 #elif defined(HAVE_SOUNDCARD_H)
11026 #include <soundcard.h>
11034 /* check for one of the Open Sound System specific SNDCTL_ defines */
11035 #if !defined(SNDCTL_DSP_STEREO)
11036 #error No open sound system
11043 rm -f conftest.$ac_objext
11044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11045 (eval $ac_compile) 2>conftest.er1
11047 grep -v '^ *+' conftest.er1 >conftest.err
11049 cat conftest.err >&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } &&
11052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11054 (eval $ac_try) 2>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; } &&
11058 { ac_try='test -s conftest.$ac_objext'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; }; then
11064 ac_cv_c_opensoundsystem="yes"
11066 echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.$ac_ext >&5
11069 ac_cv_c_opensoundsystem="no"
11071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11073 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11074 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11076 if test "$ac_cv_c_opensoundsystem" = "yes"
11079 cat >>confdefs.h <<\_ACEOF
11085 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11086 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11087 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11088 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 cat >conftest.$ac_ext <<_ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11097 #if defined(HAVE_SYS_SOUNDCARD_H)
11098 #include <sys/soundcard.h>
11099 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11100 #include <machine/soundcard.h>
11101 #elif defined(HAVE_SOUNDCARD_H)
11102 #include <soundcard.h>
11110 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11111 #if !defined(SNDCTL_SEQ_SYNC)
11112 #error No open sound system MIDI interface
11119 rm -f conftest.$ac_objext
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>conftest.er1
11123 grep -v '^ *+' conftest.er1 >conftest.err
11125 cat conftest.err >&5
11126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11127 (exit $ac_status); } &&
11128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11130 (eval $ac_try) 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; } &&
11134 { ac_try='test -s conftest.$ac_objext'
11135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11136 (eval $ac_try) 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); }; }; then
11140 ac_cv_c_opensoundsystem_midi="yes"
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11145 ac_cv_c_opensoundsystem_midi="no"
11147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11149 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11150 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11152 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11155 cat >>confdefs.h <<\_ACEOF
11156 #define HAVE_OSS_MIDI 1
11161 # Extract the first word of "artsc-config", so it can be a program name with args.
11162 set dummy artsc-config; ac_word=$2
11163 echo "$as_me:$LINENO: checking for $ac_word" >&5
11164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11165 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 case $ARTSCCONFIG in
11170 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11174 for as_dir in $PATH
11177 test -z "$as_dir" && as_dir=.
11178 for ac_exec_ext in '' $ac_executable_extensions; do
11179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11180 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11190 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11192 if test -n "$ARTSCCONFIG"; then
11193 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11194 echo "${ECHO_T}$ARTSCCONFIG" >&6
11196 echo "$as_me:$LINENO: result: no" >&5
11197 echo "${ECHO_T}no" >&6
11200 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11203 for i in `$ARTSCCONFIG --cflags`
11206 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11209 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11210 save_CFLAGS="$CFLAGS"
11211 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11212 cat >conftest.$ac_ext <<_ACEOF
11215 cat confdefs.h >>conftest.$ac_ext
11216 cat >>conftest.$ac_ext <<_ACEOF
11217 /* end confdefs.h. */
11222 arts_stream_t stream;
11227 rm -f conftest.$ac_objext
11228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11229 (eval $ac_compile) 2>conftest.er1
11231 grep -v '^ *+' conftest.er1 >conftest.err
11233 cat conftest.err >&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); } &&
11236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238 (eval $ac_try) 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); }; } &&
11242 { ac_try='test -s conftest.$ac_objext'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; }; then
11248 ARTSLIBS=$ARTSC_LIBS
11250 ARTSINCL=$ARTSC_CFLAGS
11253 cat >>confdefs.h <<\_ACEOF
11254 #define HAVE_ARTS 1
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.$ac_ext >&5
11262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11263 CFLAGS="$save_CFLAGS"
11270 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11274 echo "$as_me:$LINENO: checking for $ac_header" >&5
11275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11282 # Is the header compilable?
11283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11285 cat >conftest.$ac_ext <<_ACEOF
11288 cat confdefs.h >>conftest.$ac_ext
11289 cat >>conftest.$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11291 $ac_includes_default
11292 #include <$ac_header>
11294 rm -f conftest.$ac_objext
11295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11296 (eval $ac_compile) 2>conftest.er1
11298 grep -v '^ *+' conftest.er1 >conftest.err
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } &&
11303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; } &&
11309 { ac_try='test -s conftest.$ac_objext'
11310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11311 (eval $ac_try) 2>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; }; then
11315 ac_header_compiler=yes
11317 echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.$ac_ext >&5
11320 ac_header_compiler=no
11322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11323 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11324 echo "${ECHO_T}$ac_header_compiler" >&6
11326 # Is the header present?
11327 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11328 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11329 cat >conftest.$ac_ext <<_ACEOF
11332 cat confdefs.h >>conftest.$ac_ext
11333 cat >>conftest.$ac_ext <<_ACEOF
11334 /* end confdefs.h. */
11335 #include <$ac_header>
11337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11340 grep -v '^ *+' conftest.er1 >conftest.err
11342 cat conftest.err >&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); } >/dev/null; then
11345 if test -s conftest.err; then
11346 ac_cpp_err=$ac_c_preproc_warn_flag
11347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11354 if test -z "$ac_cpp_err"; then
11355 ac_header_preproc=yes
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11360 ac_header_preproc=no
11362 rm -f conftest.err conftest.$ac_ext
11363 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11364 echo "${ECHO_T}$ac_header_preproc" >&6
11366 # So? What about this header?
11367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11369 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11373 ac_header_preproc=yes
11376 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11378 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11379 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11380 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11382 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11383 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11386 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11390 ## ------------------------------------ ##
11391 ## Report this to wine-devel@winehq.org ##
11392 ## ------------------------------------ ##
11395 sed "s/^/$as_me: WARNING: /" >&2
11398 echo "$as_me:$LINENO: checking for $ac_header" >&5
11399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11401 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 eval "$as_ac_Header=\$ac_header_preproc"
11405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11410 cat >>confdefs.h <<_ACEOF
11411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11418 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11420 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11421 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11422 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 ac_check_lib_save_LIBS=$LIBS
11426 LIBS="-lasound $LIBS"
11427 cat >conftest.$ac_ext <<_ACEOF
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11434 /* Override any gcc2 internal prototype to avoid an error. */
11438 /* We use char because int might match the return type of a gcc2
11439 builtin and then its argument prototype would still apply. */
11440 char snd_pcm_open ();
11449 rm -f conftest.$ac_objext conftest$ac_exeext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11451 (eval $ac_link) 2>conftest.er1
11453 grep -v '^ *+' conftest.er1 >conftest.err
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } &&
11458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try='test -s conftest$ac_exeext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; }; then
11470 ac_cv_lib_asound_snd_pcm_open=yes
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 ac_cv_lib_asound_snd_pcm_open=no
11477 rm -f conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_lib_save_LIBS
11481 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11482 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11483 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11485 cat >>confdefs.h <<\_ACEOF
11486 #define HAVE_ALSA 1
11489 ALSALIBS="-lasound"
11498 for ac_header in libaudioio.h
11500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11502 echo "$as_me:$LINENO: checking for $ac_header" >&5
11503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11510 # Is the header compilable?
11511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11513 cat >conftest.$ac_ext <<_ACEOF
11516 cat confdefs.h >>conftest.$ac_ext
11517 cat >>conftest.$ac_ext <<_ACEOF
11518 /* end confdefs.h. */
11519 $ac_includes_default
11520 #include <$ac_header>
11522 rm -f conftest.$ac_objext
11523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11524 (eval $ac_compile) 2>conftest.er1
11526 grep -v '^ *+' conftest.er1 >conftest.err
11528 cat conftest.err >&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); } &&
11531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11533 (eval $ac_try) 2>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); }; } &&
11537 { ac_try='test -s conftest.$ac_objext'
11538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11539 (eval $ac_try) 2>&5
11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); }; }; then
11543 ac_header_compiler=yes
11545 echo "$as_me: failed program was:" >&5
11546 sed 's/^/| /' conftest.$ac_ext >&5
11548 ac_header_compiler=no
11550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11552 echo "${ECHO_T}$ac_header_compiler" >&6
11554 # Is the header present?
11555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11557 cat >conftest.$ac_ext <<_ACEOF
11560 cat confdefs.h >>conftest.$ac_ext
11561 cat >>conftest.$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11563 #include <$ac_header>
11565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11568 grep -v '^ *+' conftest.er1 >conftest.err
11570 cat conftest.err >&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); } >/dev/null; then
11573 if test -s conftest.err; then
11574 ac_cpp_err=$ac_c_preproc_warn_flag
11575 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11582 if test -z "$ac_cpp_err"; then
11583 ac_header_preproc=yes
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.$ac_ext >&5
11588 ac_header_preproc=no
11590 rm -f conftest.err conftest.$ac_ext
11591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11592 echo "${ECHO_T}$ac_header_preproc" >&6
11594 # So? What about this header?
11595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11601 ac_header_preproc=yes
11604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11618 ## ------------------------------------ ##
11619 ## Report this to wine-devel@winehq.org ##
11620 ## ------------------------------------ ##
11623 sed "s/^/$as_me: WARNING: /" >&2
11626 echo "$as_me:$LINENO: checking for $ac_header" >&5
11627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 eval "$as_ac_Header=\$ac_header_preproc"
11633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11638 cat >>confdefs.h <<_ACEOF
11639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11641 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11642 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11643 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11646 ac_check_lib_save_LIBS=$LIBS
11647 LIBS="-laudioio $LIBS"
11648 cat >conftest.$ac_ext <<_ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11655 /* Override any gcc2 internal prototype to avoid an error. */
11659 /* We use char because int might match the return type of a gcc2
11660 builtin and then its argument prototype would still apply. */
11661 char AudioIOGetVersion ();
11665 AudioIOGetVersion ();
11670 rm -f conftest.$ac_objext conftest$ac_exeext
11671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11672 (eval $ac_link) 2>conftest.er1
11674 grep -v '^ *+' conftest.er1 >conftest.err
11676 cat conftest.err >&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } &&
11679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; } &&
11685 { ac_try='test -s conftest$ac_exeext'
11686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; }; then
11691 ac_cv_lib_audioio_AudioIOGetVersion=yes
11693 echo "$as_me: failed program was:" >&5
11694 sed 's/^/| /' conftest.$ac_ext >&5
11696 ac_cv_lib_audioio_AudioIOGetVersion=no
11698 rm -f conftest.err conftest.$ac_objext \
11699 conftest$ac_exeext conftest.$ac_ext
11700 LIBS=$ac_check_lib_save_LIBS
11702 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11703 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11704 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11705 AUDIOIOLIBS="-laudioio"
11707 cat >>confdefs.h <<\_ACEOF
11708 #define HAVE_LIBAUDIOIO 1
11720 for ac_header in capi20.h
11722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11724 echo "$as_me:$LINENO: checking for $ac_header" >&5
11725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11732 # Is the header compilable?
11733 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11735 cat >conftest.$ac_ext <<_ACEOF
11738 cat confdefs.h >>conftest.$ac_ext
11739 cat >>conftest.$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741 $ac_includes_default
11742 #include <$ac_header>
11744 rm -f conftest.$ac_objext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11746 (eval $ac_compile) 2>conftest.er1
11748 grep -v '^ *+' conftest.er1 >conftest.err
11750 cat conftest.err >&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; } &&
11759 { ac_try='test -s conftest.$ac_objext'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 ac_header_compiler=yes
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.$ac_ext >&5
11770 ac_header_compiler=no
11772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11774 echo "${ECHO_T}$ac_header_compiler" >&6
11776 # Is the header present?
11777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11779 cat >conftest.$ac_ext <<_ACEOF
11782 cat confdefs.h >>conftest.$ac_ext
11783 cat >>conftest.$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11785 #include <$ac_header>
11787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11790 grep -v '^ *+' conftest.er1 >conftest.err
11792 cat conftest.err >&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } >/dev/null; then
11795 if test -s conftest.err; then
11796 ac_cpp_err=$ac_c_preproc_warn_flag
11797 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11804 if test -z "$ac_cpp_err"; then
11805 ac_header_preproc=yes
11807 echo "$as_me: failed program was:" >&5
11808 sed 's/^/| /' conftest.$ac_ext >&5
11810 ac_header_preproc=no
11812 rm -f conftest.err conftest.$ac_ext
11813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11814 echo "${ECHO_T}$ac_header_preproc" >&6
11816 # So? What about this header?
11817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11823 ac_header_preproc=yes
11826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11840 ## ------------------------------------ ##
11841 ## Report this to wine-devel@winehq.org ##
11842 ## ------------------------------------ ##
11845 sed "s/^/$as_me: WARNING: /" >&2
11848 echo "$as_me:$LINENO: checking for $ac_header" >&5
11849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 eval "$as_ac_Header=\$ac_header_preproc"
11855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11860 cat >>confdefs.h <<_ACEOF
11861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11865 for ac_header in linux/capi.h
11867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11869 echo "$as_me:$LINENO: checking for $ac_header" >&5
11870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11877 # Is the header compilable?
11878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11880 cat >conftest.$ac_ext <<_ACEOF
11883 cat confdefs.h >>conftest.$ac_ext
11884 cat >>conftest.$ac_ext <<_ACEOF
11885 /* end confdefs.h. */
11886 $ac_includes_default
11887 #include <$ac_header>
11889 rm -f conftest.$ac_objext
11890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11891 (eval $ac_compile) 2>conftest.er1
11893 grep -v '^ *+' conftest.er1 >conftest.err
11895 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; } &&
11904 { ac_try='test -s conftest.$ac_objext'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; }; then
11910 ac_header_compiler=yes
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.$ac_ext >&5
11915 ac_header_compiler=no
11917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11919 echo "${ECHO_T}$ac_header_compiler" >&6
11921 # Is the header present?
11922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11924 cat >conftest.$ac_ext <<_ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11930 #include <$ac_header>
11932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11933 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11935 grep -v '^ *+' conftest.er1 >conftest.err
11937 cat conftest.err >&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } >/dev/null; then
11940 if test -s conftest.err; then
11941 ac_cpp_err=$ac_c_preproc_warn_flag
11942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11949 if test -z "$ac_cpp_err"; then
11950 ac_header_preproc=yes
11952 echo "$as_me: failed program was:" >&5
11953 sed 's/^/| /' conftest.$ac_ext >&5
11955 ac_header_preproc=no
11957 rm -f conftest.err conftest.$ac_ext
11958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11959 echo "${ECHO_T}$ac_header_preproc" >&6
11961 # So? What about this header?
11962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11968 ac_header_preproc=yes
11971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11985 ## ------------------------------------ ##
11986 ## Report this to wine-devel@winehq.org ##
11987 ## ------------------------------------ ##
11990 sed "s/^/$as_me: WARNING: /" >&2
11993 echo "$as_me:$LINENO: checking for $ac_header" >&5
11994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11996 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 eval "$as_ac_Header=\$ac_header_preproc"
12000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12005 cat >>confdefs.h <<_ACEOF
12006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12009 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12010 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12011 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12012 echo $ECHO_N "(cached) $ECHO_C" >&6
12014 ac_check_lib_save_LIBS=$LIBS
12015 LIBS="-lcapi20 $LIBS"
12016 cat >conftest.$ac_ext <<_ACEOF
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12023 /* Override any gcc2 internal prototype to avoid an error. */
12027 /* We use char because int might match the return type of a gcc2
12028 builtin and then its argument prototype would still apply. */
12029 char capi20_register ();
12033 capi20_register ();
12038 rm -f conftest.$ac_objext conftest$ac_exeext
12039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12040 (eval $ac_link) 2>conftest.er1
12042 grep -v '^ *+' conftest.er1 >conftest.err
12044 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12049 (eval $ac_try) 2>&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); }; } &&
12053 { ac_try='test -s conftest$ac_exeext'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); }; }; then
12059 ac_cv_lib_capi20_capi20_register=yes
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.$ac_ext >&5
12064 ac_cv_lib_capi20_capi20_register=no
12066 rm -f conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12071 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12072 if test $ac_cv_lib_capi20_capi20_register = yes; then
12075 cat >>confdefs.h <<\_ACEOF
12076 #define HAVE_CAPI4LINUX 1
12079 CAPI4LINUXLIBS="-lcapi20"
12096 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12097 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12098 if test "${ac_cv_mmap64_works+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 if test "$cross_compiling" = yes; then
12102 ac_cv_mmap64_works="no"
12104 cat >conftest.$ac_ext <<_ACEOF
12107 cat confdefs.h >>conftest.$ac_ext
12108 cat >>conftest.$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12111 #define _FILE_OFFSET_BITS 64
12113 #include <unistd.h>
12115 #include <sys/mman.h>
12118 int main(int argc,char **argv) {
12119 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12120 if (fd == -1) exit(1);
12122 unlink("conftest.map");
12124 write(fd,"test",4);
12126 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12132 fprintf(stderr,"success!\n");
12138 rm -f conftest$ac_exeext
12139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12140 (eval $ac_link) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
12149 ac_cv_mmap64_works="yes"
12151 echo "$as_me: program exited with status $ac_status" >&5
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.$ac_ext >&5
12155 ( exit $ac_status )
12156 ac_cv_mmap64_works="no"
12158 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12161 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12162 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12164 if test "$ac_cv_mmap64_works" = "yes"
12167 cat >>confdefs.h <<\_ACEOF
12168 #define _FILE_OFFSET_BITS 64
12176 if test "x${GCC}" = "xyes"
12178 EXTRACFLAGS="-Wall -pipe"
12180 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12181 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12182 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12183 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 if test "$cross_compiling" = yes; then
12186 ac_cv_c_gcc_strength_bug="yes"
12188 cat >conftest.$ac_ext <<_ACEOF
12191 cat confdefs.h >>conftest.$ac_ext
12192 cat >>conftest.$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12195 int L[4] = {0,1,2,3};
12197 static int Array[3];
12198 unsigned int B = 3;
12200 for(i=0; i<B; i++) Array[i] = i - 3;
12201 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12204 exit( Array[1] != -2 || L[2] != 3);
12207 rm -f conftest$ac_exeext
12208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12209 (eval $ac_link) 2>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214 (eval $ac_try) 2>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); }; }; then
12218 ac_cv_c_gcc_strength_bug="no"
12220 echo "$as_me: program exited with status $ac_status" >&5
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.$ac_ext >&5
12224 ( exit $ac_status )
12225 ac_cv_c_gcc_strength_bug="yes"
12227 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12230 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12231 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12232 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12234 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12237 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12238 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12239 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 ac_wine_try_cflags_saved=$CFLAGS
12243 CFLAGS="$CFLAGS -fshort-wchar"
12244 cat >conftest.$ac_ext <<_ACEOF
12247 cat confdefs.h >>conftest.$ac_ext
12248 cat >>conftest.$ac_ext <<_ACEOF
12249 /* end confdefs.h. */
12259 rm -f conftest.$ac_objext conftest$ac_exeext
12260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12261 (eval $ac_link) 2>conftest.er1
12263 grep -v '^ *+' conftest.er1 >conftest.err
12265 cat conftest.err >&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } &&
12268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; } &&
12274 { ac_try='test -s conftest$ac_exeext'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; }; then
12280 ac_cv_c_gcc_fshort_wchar="yes"
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.$ac_ext >&5
12285 ac_cv_c_gcc_fshort_wchar="no"
12287 rm -f conftest.err conftest.$ac_objext \
12288 conftest$ac_exeext conftest.$ac_ext
12289 CFLAGS=$ac_wine_try_cflags_saved
12291 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12292 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12293 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12296 cat >>confdefs.h <<\_ACEOF
12297 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12302 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12303 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12304 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 ac_wine_try_cflags_saved=$CFLAGS
12308 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12309 cat >conftest.$ac_ext <<_ACEOF
12312 cat confdefs.h >>conftest.$ac_ext
12313 cat >>conftest.$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12324 rm -f conftest.$ac_objext conftest$ac_exeext
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12326 (eval $ac_link) 2>conftest.er1
12328 grep -v '^ *+' conftest.er1 >conftest.err
12330 cat conftest.err >&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); } &&
12333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; } &&
12339 { ac_try='test -s conftest$ac_exeext'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; }; then
12345 ac_cv_c_gcc_stack_boundary="yes"
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12350 ac_cv_c_gcc_stack_boundary="no"
12352 rm -f conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 CFLAGS=$ac_wine_try_cflags_saved
12356 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12357 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12358 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12360 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12363 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12364 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12365 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12368 ac_wine_try_cflags_saved=$CFLAGS
12369 CFLAGS="$CFLAGS -fno-strict-aliasing"
12370 cat >conftest.$ac_ext <<_ACEOF
12373 cat confdefs.h >>conftest.$ac_ext
12374 cat >>conftest.$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12385 rm -f conftest.$ac_objext conftest$ac_exeext
12386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12387 (eval $ac_link) 2>conftest.er1
12389 grep -v '^ *+' conftest.er1 >conftest.err
12391 cat conftest.err >&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); } &&
12394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; } &&
12400 { ac_try='test -s conftest$ac_exeext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_cv_c_gcc_no_strict_aliasing="yes"
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12411 ac_cv_c_gcc_no_strict_aliasing="no"
12413 rm -f conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 CFLAGS=$ac_wine_try_cflags_saved
12417 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12418 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12419 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12421 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12424 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12425 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12426 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 ac_wine_try_cflags_saved=$CFLAGS
12430 CFLAGS="$CFLAGS -gstabs+"
12431 cat >conftest.$ac_ext <<_ACEOF
12434 cat confdefs.h >>conftest.$ac_ext
12435 cat >>conftest.$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12446 rm -f conftest.$ac_objext conftest$ac_exeext
12447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12448 (eval $ac_link) 2>conftest.er1
12450 grep -v '^ *+' conftest.er1 >conftest.err
12452 cat conftest.err >&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } &&
12455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12457 (eval $ac_try) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); }; } &&
12461 { ac_try='test -s conftest$ac_exeext'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; }; then
12467 ac_cv_c_gcc_gstabs="yes"
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.$ac_ext >&5
12472 ac_cv_c_gcc_gstabs="no"
12474 rm -f conftest.err conftest.$ac_objext \
12475 conftest$ac_exeext conftest.$ac_ext
12476 CFLAGS=$ac_wine_try_cflags_saved
12478 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12479 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12480 if test "$ac_cv_c_gcc_gstabs" = "yes"
12482 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12485 saved_CFLAGS="$CFLAGS"
12486 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12487 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12488 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12489 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12490 echo $ECHO_N "(cached) $ECHO_C" >&6
12492 cat >conftest.$ac_ext <<_ACEOF
12495 cat confdefs.h >>conftest.$ac_ext
12496 cat >>conftest.$ac_ext <<_ACEOF
12497 /* end confdefs.h. */
12498 #include <string.h>
12507 rm -f conftest.$ac_objext
12508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12509 (eval $ac_compile) 2>conftest.er1
12511 grep -v '^ *+' conftest.er1 >conftest.err
12513 cat conftest.err >&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } &&
12516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; } &&
12522 { ac_try='test -s conftest.$ac_objext'
12523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12524 (eval $ac_try) 2>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); }; }; then
12528 ac_cv_c_string_h_warnings=no
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12533 ac_cv_c_string_h_warnings=yes
12535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12537 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12538 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12539 CFLAGS="$saved_CFLAGS"
12540 if test "$ac_cv_c_string_h_warnings" = "no"
12542 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12547 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12548 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12549 if test "${ac_cv_asm_func_def+set}" = set; then
12550 echo $ECHO_N "(cached) $ECHO_C" >&6
12552 cat >conftest.$ac_ext <<_ACEOF
12555 cat confdefs.h >>conftest.$ac_ext
12556 cat >>conftest.$ac_ext <<_ACEOF
12557 /* end confdefs.h. */
12558 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"); }
12568 rm -f conftest.$ac_objext conftest$ac_exeext
12569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12570 (eval $ac_link) 2>conftest.er1
12572 grep -v '^ *+' conftest.er1 >conftest.err
12574 cat conftest.err >&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); } &&
12577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12579 (eval $ac_try) 2>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); }; } &&
12583 { ac_try='test -s conftest$ac_exeext'
12584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12585 (eval $ac_try) 2>&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }; }; then
12589 ac_cv_asm_func_def=".def"
12591 echo "$as_me: failed program was:" >&5
12592 sed 's/^/| /' conftest.$ac_ext >&5
12594 cat >conftest.$ac_ext <<_ACEOF
12597 cat confdefs.h >>conftest.$ac_ext
12598 cat >>conftest.$ac_ext <<_ACEOF
12599 /* end confdefs.h. */
12600 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12610 rm -f conftest.$ac_objext conftest$ac_exeext
12611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12612 (eval $ac_link) 2>conftest.er1
12614 grep -v '^ *+' conftest.er1 >conftest.err
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } &&
12619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; } &&
12625 { ac_try='test -s conftest$ac_exeext'
12626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12627 (eval $ac_try) 2>&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); }; }; then
12631 ac_cv_asm_func_def=".type @function"
12633 echo "$as_me: failed program was:" >&5
12634 sed 's/^/| /' conftest.$ac_ext >&5
12636 cat >conftest.$ac_ext <<_ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12642 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12652 rm -f conftest.$ac_objext conftest$ac_exeext
12653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12654 (eval $ac_link) 2>conftest.er1
12656 grep -v '^ *+' conftest.er1 >conftest.err
12658 cat conftest.err >&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); } &&
12661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; } &&
12667 { ac_try='test -s conftest$ac_exeext'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; }; then
12673 ac_cv_asm_func_def=".type 2"
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.$ac_ext >&5
12678 ac_cv_asm_func_def="unknown"
12680 rm -f conftest.err conftest.$ac_objext \
12681 conftest$ac_exeext conftest.$ac_ext
12683 rm -f conftest.err conftest.$ac_objext \
12684 conftest$ac_exeext conftest.$ac_ext
12686 rm -f conftest.err conftest.$ac_objext \
12687 conftest$ac_exeext conftest.$ac_ext
12689 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12690 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12694 case "$ac_cv_asm_func_def" in
12696 cat >>confdefs.h <<\_ACEOF
12697 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12701 cat >>confdefs.h <<\_ACEOF
12702 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12706 cat >>confdefs.h <<\_ACEOF
12707 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12711 cat >>confdefs.h <<\_ACEOF
12712 #define __ASM_FUNC(name) ""
12718 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12719 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12720 if test "${ac_cv_c_extern_prefix+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12723 cat >conftest.$ac_ext <<_ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12730 extern int ac_test;
12734 if (ac_test) return 1
12739 rm -f conftest.$ac_objext conftest$ac_exeext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12741 (eval $ac_link) 2>conftest.er1
12743 grep -v '^ *+' conftest.er1 >conftest.err
12745 cat conftest.err >&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } &&
12748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try='test -s conftest$ac_exeext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_cv_c_extern_prefix="yes"
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.$ac_ext >&5
12765 ac_cv_c_extern_prefix="no"
12767 rm -f conftest.err conftest.$ac_objext \
12768 conftest$ac_exeext conftest.$ac_ext
12770 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12771 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12775 if test "$ac_cv_c_extern_prefix" = "yes"
12777 cat >>confdefs.h <<\_ACEOF
12778 #define __ASM_NAME(name) "_" name
12782 cat >>confdefs.h <<\_ACEOF
12783 #define __ASM_NAME(name) name
12789 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12790 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12791 if test "${ac_cv_c_asm_string+set}" = set; then
12792 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 cat >conftest.$ac_ext <<_ACEOF
12797 cat confdefs.h >>conftest.$ac_ext
12798 cat >>conftest.$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12810 rm -f conftest.$ac_objext conftest$ac_exeext
12811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12812 (eval $ac_link) 2>conftest.er1
12814 grep -v '^ *+' conftest.er1 >conftest.err
12816 cat conftest.err >&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); } &&
12819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12821 (eval $ac_try) 2>&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); }; } &&
12825 { ac_try='test -s conftest$ac_exeext'
12826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12827 (eval $ac_try) 2>&5
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); }; }; then
12831 ac_cv_c_asm_string=".string"
12833 echo "$as_me: failed program was:" >&5
12834 sed 's/^/| /' conftest.$ac_ext >&5
12836 cat >conftest.$ac_ext <<_ACEOF
12839 cat confdefs.h >>conftest.$ac_ext
12840 cat >>conftest.$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12852 rm -f conftest.$ac_objext conftest$ac_exeext
12853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12854 (eval $ac_link) 2>conftest.er1
12856 grep -v '^ *+' conftest.er1 >conftest.err
12858 cat conftest.err >&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); } &&
12861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } &&
12867 { ac_try='test -s conftest$ac_exeext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 ac_cv_c_asm_string=".asciz"
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12878 cat >conftest.$ac_ext <<_ACEOF
12881 cat confdefs.h >>conftest.$ac_ext
12882 cat >>conftest.$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12894 rm -f conftest.$ac_objext conftest$ac_exeext
12895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12896 (eval $ac_link) 2>conftest.er1
12898 grep -v '^ *+' conftest.er1 >conftest.err
12900 cat conftest.err >&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } &&
12903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; } &&
12909 { ac_try='test -s conftest$ac_exeext'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 ac_cv_c_asm_string=".ascii"
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.$ac_ext >&5
12920 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12921 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12922 { (exit 1); exit 1; }; }
12924 rm -f conftest.err conftest.$ac_objext \
12925 conftest$ac_exeext conftest.$ac_ext
12927 rm -f conftest.err conftest.$ac_objext \
12928 conftest$ac_exeext conftest.$ac_ext
12930 rm -f conftest.err conftest.$ac_objext \
12931 conftest$ac_exeext conftest.$ac_ext
12933 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12934 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12937 cat >>confdefs.h <<_ACEOF
12938 #define __ASM_STRING "$ac_cv_c_asm_string"
12943 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12944 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12945 if test "${ac_cv_c_asm_short+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 cat >conftest.$ac_ext <<_ACEOF
12951 cat confdefs.h >>conftest.$ac_ext
12952 cat >>conftest.$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12954 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12964 rm -f conftest.$ac_objext conftest$ac_exeext
12965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12966 (eval $ac_link) 2>conftest.er1
12968 grep -v '^ *+' conftest.er1 >conftest.err
12970 cat conftest.err >&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); } &&
12973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
12979 { ac_try='test -s conftest$ac_exeext'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; }; then
12985 ac_cv_c_asm_short=".short"
12987 echo "$as_me: failed program was:" >&5
12988 sed 's/^/| /' conftest.$ac_ext >&5
12990 cat >conftest.$ac_ext <<_ACEOF
12993 cat confdefs.h >>conftest.$ac_ext
12994 cat >>conftest.$ac_ext <<_ACEOF
12995 /* end confdefs.h. */
12996 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13006 rm -f conftest.$ac_objext conftest$ac_exeext
13007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13008 (eval $ac_link) 2>conftest.er1
13010 grep -v '^ *+' conftest.er1 >conftest.err
13012 cat conftest.err >&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); } &&
13015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13021 { ac_try='test -s conftest$ac_exeext'
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023 (eval $ac_try) 2>&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); }; }; then
13027 ac_cv_c_asm_short=".half"
13029 echo "$as_me: failed program was:" >&5
13030 sed 's/^/| /' conftest.$ac_ext >&5
13032 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13033 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13034 { (exit 1); exit 1; }; }
13036 rm -f conftest.err conftest.$ac_objext \
13037 conftest$ac_exeext conftest.$ac_ext
13039 rm -f conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13042 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13043 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13046 cat >>confdefs.h <<_ACEOF
13047 #define __ASM_SHORT "$ac_cv_c_asm_short"
13052 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13053 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13054 if test "${ac_cv_c_asm_size+set}" = set; then
13055 echo $ECHO_N "(cached) $ECHO_C" >&6
13057 cat >conftest.$ac_ext <<_ACEOF
13060 cat confdefs.h >>conftest.$ac_ext
13061 cat >>conftest.$ac_ext <<_ACEOF
13062 /* end confdefs.h. */
13063 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13073 rm -f conftest.$ac_objext conftest$ac_exeext
13074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13075 (eval $ac_link) 2>conftest.er1
13077 grep -v '^ *+' conftest.er1 >conftest.err
13079 cat conftest.err >&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); } &&
13082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13084 (eval $ac_try) 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; } &&
13088 { ac_try='test -s conftest$ac_exeext'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; }; then
13094 ac_cv_c_asm_size="yes"
13096 echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13099 ac_cv_c_asm_size="no"
13101 rm -f conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13104 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13105 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13107 if test "$ac_cv_c_asm_size" = "yes"
13110 cat >>confdefs.h <<\_ACEOF
13111 #define HAVE_ASM_DOT_SIZE 1
13119 DLLFLAGS="-D_REENTRANT"
13134 if test -n "$ac_tool_prefix"; then
13135 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13136 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13137 echo "$as_me:$LINENO: checking for $ac_word" >&5
13138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13139 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 if test -n "$DLLTOOL"; then
13143 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13146 for as_dir in $PATH
13149 test -z "$as_dir" && as_dir=.
13150 for ac_exec_ext in '' $ac_executable_extensions; do
13151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13152 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13161 DLLTOOL=$ac_cv_prog_DLLTOOL
13162 if test -n "$DLLTOOL"; then
13163 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13164 echo "${ECHO_T}$DLLTOOL" >&6
13166 echo "$as_me:$LINENO: result: no" >&5
13167 echo "${ECHO_T}no" >&6
13171 if test -z "$ac_cv_prog_DLLTOOL"; then
13172 ac_ct_DLLTOOL=$DLLTOOL
13173 # Extract the first word of "dlltool", so it can be a program name with args.
13174 set dummy dlltool; ac_word=$2
13175 echo "$as_me:$LINENO: checking for $ac_word" >&5
13176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13177 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 if test -n "$ac_ct_DLLTOOL"; then
13181 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $PATH
13187 test -z "$as_dir" && as_dir=.
13188 for ac_exec_ext in '' $ac_executable_extensions; do
13189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13190 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13197 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13200 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13201 if test -n "$ac_ct_DLLTOOL"; then
13202 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13203 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13205 echo "$as_me:$LINENO: result: no" >&5
13206 echo "${ECHO_T}no" >&6
13209 DLLTOOL=$ac_ct_DLLTOOL
13211 DLLTOOL="$ac_cv_prog_DLLTOOL"
13214 if test -n "$ac_tool_prefix"; then
13215 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13216 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13217 echo "$as_me:$LINENO: checking for $ac_word" >&5
13218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13219 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 if test -n "$DLLWRAP"; then
13223 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13226 for as_dir in $PATH
13229 test -z "$as_dir" && as_dir=.
13230 for ac_exec_ext in '' $ac_executable_extensions; do
13231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13232 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13241 DLLWRAP=$ac_cv_prog_DLLWRAP
13242 if test -n "$DLLWRAP"; then
13243 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13244 echo "${ECHO_T}$DLLWRAP" >&6
13246 echo "$as_me:$LINENO: result: no" >&5
13247 echo "${ECHO_T}no" >&6
13251 if test -z "$ac_cv_prog_DLLWRAP"; then
13252 ac_ct_DLLWRAP=$DLLWRAP
13253 # Extract the first word of "dllwrap", so it can be a program name with args.
13254 set dummy dllwrap; ac_word=$2
13255 echo "$as_me:$LINENO: checking for $ac_word" >&5
13256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13257 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13260 if test -n "$ac_ct_DLLWRAP"; then
13261 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13264 for as_dir in $PATH
13267 test -z "$as_dir" && as_dir=.
13268 for ac_exec_ext in '' $ac_executable_extensions; do
13269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13270 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13277 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13280 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13281 if test -n "$ac_ct_DLLWRAP"; then
13282 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13283 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13285 echo "$as_me:$LINENO: result: no" >&5
13286 echo "${ECHO_T}no" >&6
13289 DLLWRAP=$ac_ct_DLLWRAP
13291 DLLWRAP="$ac_cv_prog_DLLWRAP"
13294 if test "$DLLWRAP" = "false"; then
13305 for ac_header in dlfcn.h
13307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13317 # Is the header compilable?
13318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13320 cat >conftest.$ac_ext <<_ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13326 $ac_includes_default
13327 #include <$ac_header>
13329 rm -f conftest.$ac_objext
13330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13331 (eval $ac_compile) 2>conftest.er1
13333 grep -v '^ *+' conftest.er1 >conftest.err
13335 cat conftest.err >&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); } &&
13338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13340 (eval $ac_try) 2>&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }; } &&
13344 { ac_try='test -s conftest.$ac_objext'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; }; then
13350 ac_header_compiler=yes
13352 echo "$as_me: failed program was:" >&5
13353 sed 's/^/| /' conftest.$ac_ext >&5
13355 ac_header_compiler=no
13357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13359 echo "${ECHO_T}$ac_header_compiler" >&6
13361 # Is the header present?
13362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13364 cat >conftest.$ac_ext <<_ACEOF
13367 cat confdefs.h >>conftest.$ac_ext
13368 cat >>conftest.$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
13370 #include <$ac_header>
13372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13375 grep -v '^ *+' conftest.er1 >conftest.err
13377 cat conftest.err >&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); } >/dev/null; then
13380 if test -s conftest.err; then
13381 ac_cpp_err=$ac_c_preproc_warn_flag
13382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13389 if test -z "$ac_cpp_err"; then
13390 ac_header_preproc=yes
13392 echo "$as_me: failed program was:" >&5
13393 sed 's/^/| /' conftest.$ac_ext >&5
13395 ac_header_preproc=no
13397 rm -f conftest.err conftest.$ac_ext
13398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13399 echo "${ECHO_T}$ac_header_preproc" >&6
13401 # So? What about this header?
13402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13408 ac_header_preproc=yes
13411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13425 ## ------------------------------------ ##
13426 ## Report this to wine-devel@winehq.org ##
13427 ## ------------------------------------ ##
13430 sed "s/^/$as_me: WARNING: /" >&2
13433 echo "$as_me:$LINENO: checking for $ac_header" >&5
13434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13438 eval "$as_ac_Header=\$ac_header_preproc"
13440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13445 cat >>confdefs.h <<_ACEOF
13446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13449 for ac_func in dlopen
13451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13452 echo "$as_me:$LINENO: checking for $ac_func" >&5
13453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13454 if eval "test \"\${$as_ac_var+set}\" = set"; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 cat >conftest.$ac_ext <<_ACEOF
13460 cat confdefs.h >>conftest.$ac_ext
13461 cat >>conftest.$ac_ext <<_ACEOF
13462 /* end confdefs.h. */
13463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13465 #define $ac_func innocuous_$ac_func
13467 /* System header to define __stub macros and hopefully few prototypes,
13468 which can conflict with char $ac_func (); below.
13469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13470 <limits.h> exists even on freestanding compilers. */
13473 # include <limits.h>
13475 # include <assert.h>
13480 /* Override any gcc2 internal prototype to avoid an error. */
13485 /* We use char because int might match the return type of a gcc2
13486 builtin and then its argument prototype would still apply. */
13488 /* The GNU C library defines this for functions which it implements
13489 to always fail with ENOSYS. Some functions are actually named
13490 something starting with __ and the normal name is an alias. */
13491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13494 char (*f) () = $ac_func;
13503 return f != $ac_func;
13508 rm -f conftest.$ac_objext conftest$ac_exeext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13510 (eval $ac_link) 2>conftest.er1
13512 grep -v '^ *+' conftest.er1 >conftest.err
13514 cat conftest.err >&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try='test -s conftest$ac_exeext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 eval "$as_ac_var=yes"
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.$ac_ext >&5
13534 eval "$as_ac_var=no"
13536 rm -f conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13541 if test `eval echo '${'$as_ac_var'}'` = yes; then
13542 cat >>confdefs.h <<_ACEOF
13543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13547 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13548 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13549 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13550 echo $ECHO_N "(cached) $ECHO_C" >&6
13552 ac_check_lib_save_LIBS=$LIBS
13554 cat >conftest.$ac_ext <<_ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13561 /* Override any gcc2 internal prototype to avoid an error. */
13565 /* We use char because int might match the return type of a gcc2
13566 builtin and then its argument prototype would still apply. */
13576 rm -f conftest.$ac_objext conftest$ac_exeext
13577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13578 (eval $ac_link) 2>conftest.er1
13580 grep -v '^ *+' conftest.er1 >conftest.err
13582 cat conftest.err >&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } &&
13585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; } &&
13591 { ac_try='test -s conftest$ac_exeext'
13592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 (eval $ac_try) 2>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; }; then
13597 ac_cv_lib_dl_dlopen=yes
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.$ac_ext >&5
13602 ac_cv_lib_dl_dlopen=no
13604 rm -f conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_lib_save_LIBS
13608 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13609 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13610 if test $ac_cv_lib_dl_dlopen = yes; then
13612 cat >>confdefs.h <<\_ACEOF
13613 #define HAVE_DLOPEN 1
13631 if test "$LIBEXT" = "so"
13633 DLLFLAGS="$DLLFLAGS -fPIC"
13635 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13636 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13637 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13640 ac_wine_try_cflags_saved=$CFLAGS
13641 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13642 cat >conftest.$ac_ext <<_ACEOF
13645 rm -f conftest.$ac_objext conftest$ac_exeext
13646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13647 (eval $ac_link) 2>conftest.er1
13649 grep -v '^ *+' conftest.er1 >conftest.err
13651 cat conftest.err >&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); } &&
13654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13656 (eval $ac_try) 2>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); }; } &&
13660 { ac_try='test -s conftest$ac_exeext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_cv_c_dll_gnuelf="yes"
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13671 ac_cv_c_dll_gnuelf="no"
13673 rm -f conftest.err conftest.$ac_objext \
13674 conftest$ac_exeext conftest.$ac_ext
13675 CFLAGS=$ac_wine_try_cflags_saved
13677 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13678 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13679 if test "$ac_cv_c_dll_gnuelf" = "yes"
13681 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13682 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13683 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13684 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13685 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 ac_wine_try_cflags_saved=$CFLAGS
13689 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13690 cat >conftest.$ac_ext <<_ACEOF
13693 cat confdefs.h >>conftest.$ac_ext
13694 cat >>conftest.$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13705 rm -f conftest.$ac_objext conftest$ac_exeext
13706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13707 (eval $ac_link) 2>conftest.er1
13709 grep -v '^ *+' conftest.er1 >conftest.err
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } &&
13714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; } &&
13720 { ac_try='test -s conftest$ac_exeext'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; }; then
13726 ac_cv_c_dll_zdefs="yes"
13728 echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.$ac_ext >&5
13731 ac_cv_c_dll_zdefs="no"
13733 rm -f conftest.err conftest.$ac_objext \
13734 conftest$ac_exeext conftest.$ac_ext
13735 CFLAGS=$ac_wine_try_cflags_saved
13737 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13738 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13739 if test "$ac_cv_c_dll_zdefs" = "yes"
13741 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13744 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13745 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13746 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 ac_wine_try_cflags_saved=$CFLAGS
13750 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13751 cat >conftest.$ac_ext <<_ACEOF
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13766 rm -f conftest.$ac_objext conftest$ac_exeext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13768 (eval $ac_link) 2>conftest.er1
13770 grep -v '^ *+' conftest.er1 >conftest.err
13772 cat conftest.err >&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); } &&
13775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; } &&
13781 { ac_try='test -s conftest$ac_exeext'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13787 ac_cv_c_dll_init_fini="yes"
13789 echo "$as_me: failed program was:" >&5
13790 sed 's/^/| /' conftest.$ac_ext >&5
13792 ac_cv_c_dll_init_fini="no"
13794 rm -f conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 CFLAGS=$ac_wine_try_cflags_saved
13798 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13799 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13800 if test "$ac_cv_c_dll_init_fini" = "yes"
13802 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13805 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13806 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13807 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13808 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 echo '{ global: *; };' >conftest.map
13811 ac_wine_try_cflags_saved=$CFLAGS
13812 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13813 cat >conftest.$ac_ext <<_ACEOF
13816 cat confdefs.h >>conftest.$ac_ext
13817 cat >>conftest.$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13830 (eval $ac_link) 2>conftest.er1
13832 grep -v '^ *+' conftest.er1 >conftest.err
13834 cat conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; } &&
13843 { ac_try='test -s conftest$ac_exeext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 ac_cv_c_ld_version_scripts="yes"
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13854 ac_cv_c_ld_version_scripts="no"
13856 rm -f conftest.err conftest.$ac_objext \
13857 conftest$ac_exeext conftest.$ac_ext
13858 CFLAGS=$ac_wine_try_cflags_saved
13861 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13862 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13863 if test "$ac_cv_c_ld_version_scripts" = "yes"
13865 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13868 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13869 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13870 if test "${ac_cv_c_export_dynamic+set}" = set; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13873 ac_wine_try_cflags_saved=$CFLAGS
13874 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13875 cat >conftest.$ac_ext <<_ACEOF
13878 cat confdefs.h >>conftest.$ac_ext
13879 cat >>conftest.$ac_ext <<_ACEOF
13880 /* end confdefs.h. */
13890 rm -f conftest.$ac_objext conftest$ac_exeext
13891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13892 (eval $ac_link) 2>conftest.er1
13894 grep -v '^ *+' conftest.er1 >conftest.err
13896 cat conftest.err >&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); } &&
13899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; } &&
13905 { ac_try='test -s conftest$ac_exeext'
13906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 (eval $ac_try) 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; }; then
13911 ac_cv_c_export_dynamic="yes"
13913 echo "$as_me: failed program was:" >&5
13914 sed 's/^/| /' conftest.$ac_ext >&5
13916 ac_cv_c_export_dynamic="no"
13918 rm -f conftest.err conftest.$ac_objext \
13919 conftest$ac_exeext conftest.$ac_ext
13920 CFLAGS=$ac_wine_try_cflags_saved
13922 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13923 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13924 if test "$ac_cv_c_export_dynamic" = "yes"
13926 LDEXECFLAGS="-Wl,--export-dynamic"
13932 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13933 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13934 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 ac_wine_try_cflags_saved=$CFLAGS
13938 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13939 cat >conftest.$ac_ext <<_ACEOF
13942 cat confdefs.h >>conftest.$ac_ext
13943 cat >>conftest.$ac_ext <<_ACEOF
13944 /* end confdefs.h. */
13954 rm -f conftest.$ac_objext conftest$ac_exeext
13955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13956 (eval $ac_link) 2>conftest.er1
13958 grep -v '^ *+' conftest.er1 >conftest.err
13960 cat conftest.err >&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); } &&
13963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13965 (eval $ac_try) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }; } &&
13969 { ac_try='test -s conftest$ac_exeext'
13970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13971 (eval $ac_try) 2>&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); }; }; then
13975 ac_cv_ld_reloc_exec="yes"
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.$ac_ext >&5
13980 ac_cv_ld_reloc_exec="no"
13982 rm -f conftest.err conftest.$ac_objext \
13983 conftest$ac_exeext conftest.$ac_ext
13984 CFLAGS=$ac_wine_try_cflags_saved
13986 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13987 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13988 if test "$ac_cv_ld_reloc_exec" = "yes"
13990 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13996 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13997 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13998 if test "${ac_cv_c_dll_unixware+set}" = set; then
13999 echo $ECHO_N "(cached) $ECHO_C" >&6
14001 ac_wine_try_cflags_saved=$CFLAGS
14002 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14003 cat >conftest.$ac_ext <<_ACEOF
14006 rm -f conftest.$ac_objext conftest$ac_exeext
14007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14008 (eval $ac_link) 2>conftest.er1
14010 grep -v '^ *+' conftest.er1 >conftest.err
14012 cat conftest.err >&5
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } &&
14015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; } &&
14021 { ac_try='test -s conftest$ac_exeext'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14027 ac_cv_c_dll_unixware="yes"
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.$ac_ext >&5
14032 ac_cv_c_dll_unixware="no"
14034 rm -f conftest.err conftest.$ac_objext \
14035 conftest$ac_exeext conftest.$ac_ext
14036 CFLAGS=$ac_wine_try_cflags_saved
14038 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14039 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14040 if test "$ac_cv_c_dll_unixware" = "yes"
14042 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14043 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14046 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14047 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14048 if test "${ac_cv_c_dll_macho+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 ac_wine_try_cflags_saved=$CFLAGS
14052 CFLAGS="$CFLAGS -bundle"
14053 cat >conftest.$ac_ext <<_ACEOF
14056 rm -f conftest.$ac_objext conftest$ac_exeext
14057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14058 (eval $ac_link) 2>conftest.er1
14060 grep -v '^ *+' conftest.er1 >conftest.err
14062 cat conftest.err >&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } &&
14065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14067 (eval $ac_try) 2>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); }; } &&
14071 { ac_try='test -s conftest$ac_exeext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14077 ac_cv_c_dll_macho="yes"
14079 echo "$as_me: failed program was:" >&5
14080 sed 's/^/| /' conftest.$ac_ext >&5
14082 ac_cv_c_dll_macho="no"
14084 rm -f conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 CFLAGS=$ac_wine_try_cflags_saved
14088 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14089 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14090 if test "$ac_cv_c_dll_macho" = "yes"
14093 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
14094 LDSHARED="\$(CC) -dynamiclib"
14095 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14096 STRIP="$STRIP -u -r"
14097 LDEXECFLAGS="-seg1addr 0x120000"
14099 LDLIBWINEFLAGS="-seg1addr 0x140000"
14101 COREFOUNDATIONLIB="-framework CoreFoundation"
14103 IOKITLIB="-framework IOKit"
14105 IOKITLIB = "$IOKITLIB $COREFOUNDATIONLIB"
14107 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14108 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14109 if test "${ac_cv_c_dll_hpux+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 ac_wine_try_cflags_saved=$CFLAGS
14113 CFLAGS="$CFLAGS -shared"
14114 cat >conftest.$ac_ext <<_ACEOF
14117 rm -f conftest.$ac_objext conftest$ac_exeext
14118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14119 (eval $ac_link) 2>conftest.er1
14121 grep -v '^ *+' conftest.er1 >conftest.err
14123 cat conftest.err >&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); } &&
14126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; } &&
14132 { ac_try='test -s conftest$ac_exeext'
14133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14134 (eval $ac_try) 2>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; }; then
14138 ac_cv_c_dll_hpux="yes"
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.$ac_ext >&5
14143 ac_cv_c_dll_hpux="no"
14145 rm -f conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14147 CFLAGS=$ac_wine_try_cflags_saved
14149 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14150 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14151 if test "$ac_cv_c_dll_hpux" = "yes"
14155 LDDLLFLAGS="-shared -fPIC"
14156 LDSHARED="\$(CC) -shared"
14165 if test "$cross_compiling" = "no"
14167 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14169 # Extract the first word of "$ac_prog", so it can be a program name with args.
14170 set dummy $ac_prog; ac_word=$2
14171 echo "$as_me:$LINENO: checking for $ac_word" >&5
14172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14173 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 if test -n "$CROSSCC"; then
14177 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14180 for as_dir in $PATH
14183 test -z "$as_dir" && as_dir=.
14184 for ac_exec_ext in '' $ac_executable_extensions; do
14185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14186 ac_cv_prog_CROSSCC="$ac_prog"
14187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14195 CROSSCC=$ac_cv_prog_CROSSCC
14196 if test -n "$CROSSCC"; then
14197 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14198 echo "${ECHO_T}$CROSSCC" >&6
14200 echo "$as_me:$LINENO: result: no" >&5
14201 echo "${ECHO_T}no" >&6
14204 test -n "$CROSSCC" && break
14206 test -n "$CROSSCC" || CROSSCC="false"
14208 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14210 # Extract the first word of "$ac_prog", so it can be a program name with args.
14211 set dummy $ac_prog; ac_word=$2
14212 echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14214 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 if test -n "$DLLTOOL"; then
14218 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14221 for as_dir in $PATH
14224 test -z "$as_dir" && as_dir=.
14225 for ac_exec_ext in '' $ac_executable_extensions; do
14226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14227 ac_cv_prog_DLLTOOL="$ac_prog"
14228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 DLLTOOL=$ac_cv_prog_DLLTOOL
14237 if test -n "$DLLTOOL"; then
14238 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14239 echo "${ECHO_T}$DLLTOOL" >&6
14241 echo "$as_me:$LINENO: result: no" >&5
14242 echo "${ECHO_T}no" >&6
14245 test -n "$DLLTOOL" && break
14247 test -n "$DLLTOOL" || DLLTOOL="false"
14249 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14251 # Extract the first word of "$ac_prog", so it can be a program name with args.
14252 set dummy $ac_prog; ac_word=$2
14253 echo "$as_me:$LINENO: checking for $ac_word" >&5
14254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14255 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 if test -n "$CROSSWINDRES"; then
14259 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14262 for as_dir in $PATH
14265 test -z "$as_dir" && as_dir=.
14266 for ac_exec_ext in '' $ac_executable_extensions; do
14267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14268 ac_cv_prog_CROSSWINDRES="$ac_prog"
14269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14277 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14278 if test -n "$CROSSWINDRES"; then
14279 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14280 echo "${ECHO_T}$CROSSWINDRES" >&6
14282 echo "$as_me:$LINENO: result: no" >&5
14283 echo "${ECHO_T}no" >&6
14286 test -n "$CROSSWINDRES" && break
14288 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14290 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14295 if test "$LIBEXT" = "a"; then
14296 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14297 It is currently not possible to build Wine without shared library
14298 (.so) support to allow transparent switch between .so and .dll files.
14299 If you are using Linux, you will need a newer binutils.
14301 echo "$as_me: error: could not find a way to build shared libraries.
14302 It is currently not possible to build Wine without shared library
14303 (.so) support to allow transparent switch between .so and .dll files.
14304 If you are using Linux, you will need a newer binutils.
14306 { (exit 1); exit 1; }; }
14311 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14314 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14317 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14325 SOCKETLIBS="-lws2_32"
14333 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14335 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14338 MAIN_BINARY="wine-glibc"
14342 WINE_BINARIES="wine-pthread"
14344 MAIN_BINARY="wine-pthread"
14348 WINE_BINARIES="wine-kthread"
14350 MAIN_BINARY="wine-kthread"
14356 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14358 # Extract the first word of "ldd", so it can be a program name with args.
14359 set dummy ldd; ac_word=$2
14360 echo "$as_me:$LINENO: checking for $ac_word" >&5
14361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14362 if test "${ac_cv_path_LDD+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14367 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 as_dummy="/sbin:/usr/sbin:$PATH"
14372 for as_dir in $as_dummy
14375 test -z "$as_dir" && as_dir=.
14376 for ac_exec_ext in '' $ac_executable_extensions; do
14377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14378 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14385 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14389 LDD=$ac_cv_path_LDD
14391 if test -n "$LDD"; then
14392 echo "$as_me:$LINENO: result: $LDD" >&5
14393 echo "${ECHO_T}$LDD" >&6
14395 echo "$as_me:$LINENO: result: no" >&5
14396 echo "${ECHO_T}no" >&6
14400 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14401 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14402 if test "${ac_cv_lib_soname_X11+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 ac_get_soname_save_LIBS=$LIBS
14406 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14407 cat >conftest.$ac_ext <<_ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14414 /* Override any gcc2 internal prototype to avoid an error. */
14418 /* We use char because int might match the return type of a gcc2
14419 builtin and then its argument prototype would still apply. */
14420 char XCreateWindow ();
14429 rm -f conftest.$ac_objext conftest$ac_exeext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14431 (eval $ac_link) 2>conftest.er1
14433 grep -v '^ *+' conftest.er1 >conftest.err
14435 cat conftest.err >&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; } &&
14444 { ac_try='test -s conftest$ac_exeext'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; }; then
14450 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14451 if test "x$ac_cv_lib_soname_X11" = "x"
14453 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.$ac_ext >&5
14459 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14461 rm -f conftest.err conftest.$ac_objext \
14462 conftest$ac_exeext conftest.$ac_ext
14463 LIBS=$ac_get_soname_save_LIBS
14465 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14466 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14467 if test "x$ac_cv_lib_soname_X11" != xNONE
14469 cat >>confdefs.h <<_ACEOF
14470 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14474 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14475 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14476 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 ac_get_soname_save_LIBS=$LIBS
14480 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14481 cat >conftest.$ac_ext <<_ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14488 /* Override any gcc2 internal prototype to avoid an error. */
14492 /* We use char because int might match the return type of a gcc2
14493 builtin and then its argument prototype would still apply. */
14494 char XextCreateExtension ();
14498 XextCreateExtension ();
14503 rm -f conftest.$ac_objext conftest$ac_exeext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14505 (eval $ac_link) 2>conftest.er1
14507 grep -v '^ *+' conftest.er1 >conftest.err
14509 cat conftest.err >&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try='test -s conftest$ac_exeext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14525 if test "x$ac_cv_lib_soname_Xext" = "x"
14527 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14530 echo "$as_me: failed program was:" >&5
14531 sed 's/^/| /' conftest.$ac_ext >&5
14533 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14535 rm -f conftest.err conftest.$ac_objext \
14536 conftest$ac_exeext conftest.$ac_ext
14537 LIBS=$ac_get_soname_save_LIBS
14539 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14540 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14541 if test "x$ac_cv_lib_soname_Xext" != xNONE
14543 cat >>confdefs.h <<_ACEOF
14544 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14548 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14549 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14550 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 ac_get_soname_save_LIBS=$LIBS
14554 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14555 cat >conftest.$ac_ext <<_ACEOF
14558 cat confdefs.h >>conftest.$ac_ext
14559 cat >>conftest.$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14562 /* Override any gcc2 internal prototype to avoid an error. */
14566 /* We use char because int might match the return type of a gcc2
14567 builtin and then its argument prototype would still apply. */
14568 char XOpenDevice ();
14577 rm -f conftest.$ac_objext conftest$ac_exeext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14579 (eval $ac_link) 2>conftest.er1
14581 grep -v '^ *+' conftest.er1 >conftest.err
14583 cat conftest.err >&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try='test -s conftest$ac_exeext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14599 if test "x$ac_cv_lib_soname_Xi" = "x"
14601 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14607 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14609 rm -f conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14611 LIBS=$ac_get_soname_save_LIBS
14613 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14614 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14615 if test "x$ac_cv_lib_soname_Xi" != xNONE
14617 cat >>confdefs.h <<_ACEOF
14618 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14622 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14623 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14624 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 ac_get_soname_save_LIBS=$LIBS
14628 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14629 cat >conftest.$ac_ext <<_ACEOF
14632 cat confdefs.h >>conftest.$ac_ext
14633 cat >>conftest.$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14636 /* Override any gcc2 internal prototype to avoid an error. */
14640 /* We use char because int might match the return type of a gcc2
14641 builtin and then its argument prototype would still apply. */
14642 char XRenderQueryExtension ();
14646 XRenderQueryExtension ();
14651 rm -f conftest.$ac_objext conftest$ac_exeext
14652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14653 (eval $ac_link) 2>conftest.er1
14655 grep -v '^ *+' conftest.er1 >conftest.err
14657 cat conftest.err >&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } &&
14660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; } &&
14666 { ac_try='test -s conftest$ac_exeext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14673 if test "x$ac_cv_lib_soname_Xrender" = "x"
14675 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14678 echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.$ac_ext >&5
14681 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14683 rm -f conftest.err conftest.$ac_objext \
14684 conftest$ac_exeext conftest.$ac_ext
14685 LIBS=$ac_get_soname_save_LIBS
14687 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14688 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14689 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14691 cat >>confdefs.h <<_ACEOF
14692 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14696 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14697 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14698 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14699 echo $ECHO_N "(cached) $ECHO_C" >&6
14701 ac_get_soname_save_LIBS=$LIBS
14702 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14703 cat >conftest.$ac_ext <<_ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14710 /* Override any gcc2 internal prototype to avoid an error. */
14714 /* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14716 char XRRQueryExtension ();
14720 XRRQueryExtension ();
14725 rm -f conftest.$ac_objext conftest$ac_exeext
14726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14727 (eval $ac_link) 2>conftest.er1
14729 grep -v '^ *+' conftest.er1 >conftest.err
14731 cat conftest.err >&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } &&
14734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14736 (eval $ac_try) 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); }; } &&
14740 { ac_try='test -s conftest$ac_exeext'
14741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14742 (eval $ac_try) 2>&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); }; }; then
14746 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14747 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14749 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14755 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14757 rm -f conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_get_soname_save_LIBS
14761 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14762 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14763 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14765 cat >>confdefs.h <<_ACEOF
14766 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14770 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14771 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14772 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 ac_get_soname_save_LIBS=$LIBS
14776 LIBS="-lfreetype $X_LIBS $LIBS"
14777 cat >conftest.$ac_ext <<_ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14784 /* Override any gcc2 internal prototype to avoid an error. */
14788 /* We use char because int might match the return type of a gcc2
14789 builtin and then its argument prototype would still apply. */
14790 char FT_Init_FreeType ();
14794 FT_Init_FreeType ();
14799 rm -f conftest.$ac_objext conftest$ac_exeext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14801 (eval $ac_link) 2>conftest.er1
14803 grep -v '^ *+' conftest.er1 >conftest.err
14805 cat conftest.err >&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest$ac_exeext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14821 if test "x$ac_cv_lib_soname_freetype" = "x"
14823 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14826 echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.$ac_ext >&5
14829 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14831 rm -f conftest.err conftest.$ac_objext \
14832 conftest$ac_exeext conftest.$ac_ext
14833 LIBS=$ac_get_soname_save_LIBS
14835 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14836 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14837 if test "x$ac_cv_lib_soname_freetype" != xNONE
14839 cat >>confdefs.h <<_ACEOF
14840 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14844 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14845 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14846 if test "${ac_cv_lib_soname_GL+set}" = set; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 ac_get_soname_save_LIBS=$LIBS
14850 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14851 cat >conftest.$ac_ext <<_ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14858 /* Override any gcc2 internal prototype to avoid an error. */
14862 /* We use char because int might match the return type of a gcc2
14863 builtin and then its argument prototype would still apply. */
14864 char glXQueryExtension ();
14868 glXQueryExtension ();
14873 rm -f conftest.$ac_objext conftest$ac_exeext
14874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14875 (eval $ac_link) 2>conftest.er1
14877 grep -v '^ *+' conftest.er1 >conftest.err
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } &&
14882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14884 (eval $ac_try) 2>&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; } &&
14888 { ac_try='test -s conftest$ac_exeext'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; }; then
14894 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14895 if test "x$ac_cv_lib_soname_GL" = "x"
14897 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14903 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14905 rm -f conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_get_soname_save_LIBS
14909 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14910 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14911 if test "x$ac_cv_lib_soname_GL" != xNONE
14913 cat >>confdefs.h <<_ACEOF
14914 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14918 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14919 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14920 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14921 echo $ECHO_N "(cached) $ECHO_C" >&6
14923 ac_get_soname_save_LIBS=$LIBS
14924 LIBS="-ltxc_dxtn $LIBS"
14925 cat >conftest.$ac_ext <<_ACEOF
14928 cat confdefs.h >>conftest.$ac_ext
14929 cat >>conftest.$ac_ext <<_ACEOF
14930 /* end confdefs.h. */
14932 /* Override any gcc2 internal prototype to avoid an error. */
14936 /* We use char because int might match the return type of a gcc2
14937 builtin and then its argument prototype would still apply. */
14938 char fetch_2d_texel_rgba_dxt1 ();
14942 fetch_2d_texel_rgba_dxt1 ();
14947 rm -f conftest.$ac_objext conftest$ac_exeext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14949 (eval $ac_link) 2>conftest.er1
14951 grep -v '^ *+' conftest.er1 >conftest.err
14953 cat conftest.err >&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); } &&
14956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; } &&
14962 { ac_try='test -s conftest$ac_exeext'
14963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14964 (eval $ac_try) 2>&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); }; }; then
14968 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14969 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14971 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14977 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14979 rm -f conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14981 LIBS=$ac_get_soname_save_LIBS
14983 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14984 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14985 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14987 cat >>confdefs.h <<_ACEOF
14988 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14992 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14993 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14994 if test "${ac_cv_lib_soname_cups+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 ac_get_soname_save_LIBS=$LIBS
14998 LIBS="-lcups $LIBS"
14999 cat >conftest.$ac_ext <<_ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15006 /* Override any gcc2 internal prototype to avoid an error. */
15010 /* We use char because int might match the return type of a gcc2
15011 builtin and then its argument prototype would still apply. */
15012 char cupsGetDefault ();
15021 rm -f conftest.$ac_objext conftest$ac_exeext
15022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15023 (eval $ac_link) 2>conftest.er1
15025 grep -v '^ *+' conftest.er1 >conftest.err
15027 cat conftest.err >&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); } &&
15030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15032 (eval $ac_try) 2>&5
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); }; } &&
15036 { ac_try='test -s conftest$ac_exeext'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; }; then
15042 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15043 if test "x$ac_cv_lib_soname_cups" = "x"
15045 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.$ac_ext >&5
15051 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15053 rm -f conftest.err conftest.$ac_objext \
15054 conftest$ac_exeext conftest.$ac_ext
15055 LIBS=$ac_get_soname_save_LIBS
15057 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15058 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15059 if test "x$ac_cv_lib_soname_cups" != xNONE
15061 cat >>confdefs.h <<_ACEOF
15062 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15066 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15067 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15068 if test "${ac_cv_lib_soname_jack+set}" = set; then
15069 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 ac_get_soname_save_LIBS=$LIBS
15072 LIBS="-ljack $LIBS"
15073 cat >conftest.$ac_ext <<_ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15080 /* Override any gcc2 internal prototype to avoid an error. */
15084 /* We use char because int might match the return type of a gcc2
15085 builtin and then its argument prototype would still apply. */
15086 char jack_client_new ();
15090 jack_client_new ();
15095 rm -f conftest.$ac_objext conftest$ac_exeext
15096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15097 (eval $ac_link) 2>conftest.er1
15099 grep -v '^ *+' conftest.er1 >conftest.err
15101 cat conftest.err >&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } &&
15104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; } &&
15110 { ac_try='test -s conftest$ac_exeext'
15111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15112 (eval $ac_try) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15117 if test "x$ac_cv_lib_soname_jack" = "x"
15119 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15122 echo "$as_me: failed program was:" >&5
15123 sed 's/^/| /' conftest.$ac_ext >&5
15125 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15127 rm -f conftest.err conftest.$ac_objext \
15128 conftest$ac_exeext conftest.$ac_ext
15129 LIBS=$ac_get_soname_save_LIBS
15131 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15132 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15133 if test "x$ac_cv_lib_soname_jack" != xNONE
15135 cat >>confdefs.h <<_ACEOF
15136 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15140 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15141 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15142 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 ac_get_soname_save_LIBS=$LIBS
15146 LIBS="-lfontconfig $LIBS"
15147 cat >conftest.$ac_ext <<_ACEOF
15150 cat confdefs.h >>conftest.$ac_ext
15151 cat >>conftest.$ac_ext <<_ACEOF
15152 /* end confdefs.h. */
15154 /* Override any gcc2 internal prototype to avoid an error. */
15158 /* We use char because int might match the return type of a gcc2
15159 builtin and then its argument prototype would still apply. */
15169 rm -f conftest.$ac_objext conftest$ac_exeext
15170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15171 (eval $ac_link) 2>conftest.er1
15173 grep -v '^ *+' conftest.er1 >conftest.err
15175 cat conftest.err >&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); } &&
15178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; } &&
15184 { ac_try='test -s conftest$ac_exeext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15191 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15193 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15196 echo "$as_me: failed program was:" >&5
15197 sed 's/^/| /' conftest.$ac_ext >&5
15199 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15201 rm -f conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_get_soname_save_LIBS
15205 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15206 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15207 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15209 cat >>confdefs.h <<_ACEOF
15210 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15214 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15215 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15216 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 ac_get_soname_save_LIBS=$LIBS
15221 cat >conftest.$ac_ext <<_ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15228 /* Override any gcc2 internal prototype to avoid an error. */
15232 /* We use char because int might match the return type of a gcc2
15233 builtin and then its argument prototype would still apply. */
15234 char SSL_library_init ();
15238 SSL_library_init ();
15243 rm -f conftest.$ac_objext conftest$ac_exeext
15244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15245 (eval $ac_link) 2>conftest.er1
15247 grep -v '^ *+' conftest.er1 >conftest.err
15249 cat conftest.err >&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; } &&
15258 { ac_try='test -s conftest$ac_exeext'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; }; then
15264 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15265 if test "x$ac_cv_lib_soname_ssl" = "x"
15267 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.$ac_ext >&5
15273 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15275 rm -f conftest.err conftest.$ac_objext \
15276 conftest$ac_exeext conftest.$ac_ext
15277 LIBS=$ac_get_soname_save_LIBS
15279 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15280 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15281 if test "x$ac_cv_lib_soname_ssl" != xNONE
15283 cat >>confdefs.h <<_ACEOF
15284 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15288 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15289 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15290 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15291 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 ac_get_soname_save_LIBS=$LIBS
15294 LIBS="-lcrypto $LIBS"
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15302 /* Override any gcc2 internal prototype to avoid an error. */
15306 /* We use char because int might match the return type of a gcc2
15307 builtin and then its argument prototype would still apply. */
15308 char BIO_new_socket ();
15317 rm -f conftest.$ac_objext conftest$ac_exeext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15319 (eval $ac_link) 2>conftest.er1
15321 grep -v '^ *+' conftest.er1 >conftest.err
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; } &&
15332 { ac_try='test -s conftest$ac_exeext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15339 if test "x$ac_cv_lib_soname_crypto" = "x"
15341 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15344 echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.$ac_ext >&5
15347 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15349 rm -f conftest.err conftest.$ac_objext \
15350 conftest$ac_exeext conftest.$ac_ext
15351 LIBS=$ac_get_soname_save_LIBS
15353 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15354 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15355 if test "x$ac_cv_lib_soname_crypto" != xNONE
15357 cat >>confdefs.h <<_ACEOF
15358 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15362 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15363 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15364 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15367 ac_get_soname_save_LIBS=$LIBS
15368 LIBS="-lncurses $LIBS"
15369 cat >conftest.$ac_ext <<_ACEOF
15372 cat confdefs.h >>conftest.$ac_ext
15373 cat >>conftest.$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15376 /* Override any gcc2 internal prototype to avoid an error. */
15380 /* We use char because int might match the return type of a gcc2
15381 builtin and then its argument prototype would still apply. */
15391 rm -f conftest.$ac_objext conftest$ac_exeext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15393 (eval $ac_link) 2>conftest.er1
15395 grep -v '^ *+' conftest.er1 >conftest.err
15397 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } &&
15400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; } &&
15406 { ac_try='test -s conftest$ac_exeext'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; }; then
15412 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15413 if test "x$ac_cv_lib_soname_ncurses" = "x"
15415 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.$ac_ext >&5
15421 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15423 rm -f conftest.err conftest.$ac_objext \
15424 conftest$ac_exeext conftest.$ac_ext
15425 LIBS=$ac_get_soname_save_LIBS
15427 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15428 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15429 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15431 cat >>confdefs.h <<_ACEOF
15432 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15436 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15437 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15438 if test "${ac_cv_lib_soname_curses+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 ac_get_soname_save_LIBS=$LIBS
15442 LIBS="-lcurses $LIBS"
15443 cat >conftest.$ac_ext <<_ACEOF
15446 cat confdefs.h >>conftest.$ac_ext
15447 cat >>conftest.$ac_ext <<_ACEOF
15448 /* end confdefs.h. */
15450 /* Override any gcc2 internal prototype to avoid an error. */
15454 /* We use char because int might match the return type of a gcc2
15455 builtin and then its argument prototype would still apply. */
15465 rm -f conftest.$ac_objext conftest$ac_exeext
15466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15467 (eval $ac_link) 2>conftest.er1
15469 grep -v '^ *+' conftest.er1 >conftest.err
15471 cat conftest.err >&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); } &&
15474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476 (eval $ac_try) 2>&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }; } &&
15480 { ac_try='test -s conftest$ac_exeext'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; }; then
15486 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15487 if test "x$ac_cv_lib_soname_curses" = "x"
15489 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.$ac_ext >&5
15495 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15497 rm -f conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15499 LIBS=$ac_get_soname_save_LIBS
15501 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15502 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15503 if test "x$ac_cv_lib_soname_curses" != xNONE
15505 cat >>confdefs.h <<_ACEOF
15506 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15510 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15511 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15512 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 ac_get_soname_save_LIBS=$LIBS
15516 LIBS="-ljpeg $LIBS"
15517 cat >conftest.$ac_ext <<_ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15524 /* Override any gcc2 internal prototype to avoid an error. */
15528 /* We use char because int might match the return type of a gcc2
15529 builtin and then its argument prototype would still apply. */
15530 char jpeg_start_decompress ();
15534 jpeg_start_decompress ();
15539 rm -f conftest.$ac_objext conftest$ac_exeext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15541 (eval $ac_link) 2>conftest.er1
15543 grep -v '^ *+' conftest.er1 >conftest.err
15545 cat conftest.err >&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; } &&
15554 { ac_try='test -s conftest$ac_exeext'
15555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15556 (eval $ac_try) 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; }; then
15560 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15561 if test "x$ac_cv_lib_soname_jpeg" = "x"
15563 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.$ac_ext >&5
15569 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15571 rm -f conftest.err conftest.$ac_objext \
15572 conftest$ac_exeext conftest.$ac_ext
15573 LIBS=$ac_get_soname_save_LIBS
15575 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15576 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15577 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15579 cat >>confdefs.h <<_ACEOF
15580 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15584 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15585 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15586 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15587 echo $ECHO_N "(cached) $ECHO_C" >&6
15589 ac_get_soname_save_LIBS=$LIBS
15590 LIBS="-lungif $LIBS"
15591 cat >conftest.$ac_ext <<_ACEOF
15594 cat confdefs.h >>conftest.$ac_ext
15595 cat >>conftest.$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15598 /* Override any gcc2 internal prototype to avoid an error. */
15602 /* We use char because int might match the return type of a gcc2
15603 builtin and then its argument prototype would still apply. */
15613 rm -f conftest.$ac_objext conftest$ac_exeext
15614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15615 (eval $ac_link) 2>conftest.er1
15617 grep -v '^ *+' conftest.er1 >conftest.err
15619 cat conftest.err >&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } &&
15622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15624 (eval $ac_try) 2>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; } &&
15628 { ac_try='test -s conftest$ac_exeext'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; }; then
15634 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15635 if test "x$ac_cv_lib_soname_ungif" = "x"
15637 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15643 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15645 rm -f conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_get_soname_save_LIBS
15649 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15650 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15651 if test "x$ac_cv_lib_soname_ungif" != xNONE
15653 cat >>confdefs.h <<_ACEOF
15654 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15658 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15659 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15660 if test "${ac_cv_lib_soname_gif+set}" = set; then
15661 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 ac_get_soname_save_LIBS=$LIBS
15665 cat >conftest.$ac_ext <<_ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15672 /* Override any gcc2 internal prototype to avoid an error. */
15676 /* We use char because int might match the return type of a gcc2
15677 builtin and then its argument prototype would still apply. */
15687 rm -f conftest.$ac_objext conftest$ac_exeext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15689 (eval $ac_link) 2>conftest.er1
15691 grep -v '^ *+' conftest.er1 >conftest.err
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; } &&
15702 { ac_try='test -s conftest$ac_exeext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15708 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15709 if test "x$ac_cv_lib_soname_gif" = "x"
15711 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15717 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15719 rm -f conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_get_soname_save_LIBS
15723 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15724 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15725 if test "x$ac_cv_lib_soname_gif" != xNONE
15727 cat >>confdefs.h <<_ACEOF
15728 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15732 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15733 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15734 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 ac_get_soname_save_LIBS=$LIBS
15738 LIBS="-llcms $LIBS"
15739 cat >conftest.$ac_ext <<_ACEOF
15742 cat confdefs.h >>conftest.$ac_ext
15743 cat >>conftest.$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15746 /* Override any gcc2 internal prototype to avoid an error. */
15750 /* We use char because int might match the return type of a gcc2
15751 builtin and then its argument prototype would still apply. */
15752 char cmsOpenProfileFromFile ();
15756 cmsOpenProfileFromFile ();
15761 rm -f conftest.$ac_objext conftest$ac_exeext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15763 (eval $ac_link) 2>conftest.er1
15765 grep -v '^ *+' conftest.er1 >conftest.err
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try='test -s conftest$ac_exeext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_cv_lib_soname_lcms=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15783 if test "x$ac_cv_lib_soname_lcms" = "x"
15785 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.$ac_ext >&5
15791 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15793 rm -f conftest.err conftest.$ac_objext \
15794 conftest$ac_exeext conftest.$ac_ext
15795 LIBS=$ac_get_soname_save_LIBS
15797 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15798 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15799 if test "x$ac_cv_lib_soname_lcms" != xNONE
15801 cat >>confdefs.h <<_ACEOF
15802 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15809 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15810 # for constant arguments. Useless!
15811 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15812 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15813 if test "${ac_cv_working_alloca_h+set}" = set; then
15814 echo $ECHO_N "(cached) $ECHO_C" >&6
15816 cat >conftest.$ac_ext <<_ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15822 #include <alloca.h>
15826 char *p = (char *) alloca (2 * sizeof (int));
15831 rm -f conftest.$ac_objext conftest$ac_exeext
15832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15833 (eval $ac_link) 2>conftest.er1
15835 grep -v '^ *+' conftest.er1 >conftest.err
15837 cat conftest.err >&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } &&
15840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; } &&
15846 { ac_try='test -s conftest$ac_exeext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 ac_cv_working_alloca_h=yes
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15857 ac_cv_working_alloca_h=no
15859 rm -f conftest.err conftest.$ac_objext \
15860 conftest$ac_exeext conftest.$ac_ext
15862 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15863 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15864 if test $ac_cv_working_alloca_h = yes; then
15866 cat >>confdefs.h <<\_ACEOF
15867 #define HAVE_ALLOCA_H 1
15872 echo "$as_me:$LINENO: checking for alloca" >&5
15873 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15874 if test "${ac_cv_func_alloca_works+set}" = set; then
15875 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 cat >conftest.$ac_ext <<_ACEOF
15880 cat confdefs.h >>conftest.$ac_ext
15881 cat >>conftest.$ac_ext <<_ACEOF
15882 /* end confdefs.h. */
15884 # define alloca __builtin_alloca
15887 # include <malloc.h>
15888 # define alloca _alloca
15891 # include <alloca.h>
15896 # ifndef alloca /* predefined by HP cc +Olibcalls */
15907 char *p = (char *) alloca (1);
15912 rm -f conftest.$ac_objext conftest$ac_exeext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15914 (eval $ac_link) 2>conftest.er1
15916 grep -v '^ *+' conftest.er1 >conftest.err
15918 cat conftest.err >&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } &&
15921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; } &&
15927 { ac_try='test -s conftest$ac_exeext'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; }; then
15933 ac_cv_func_alloca_works=yes
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15938 ac_cv_func_alloca_works=no
15940 rm -f conftest.err conftest.$ac_objext \
15941 conftest$ac_exeext conftest.$ac_ext
15943 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15944 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15946 if test $ac_cv_func_alloca_works = yes; then
15948 cat >>confdefs.h <<\_ACEOF
15949 #define HAVE_ALLOCA 1
15953 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15954 # that cause trouble. Some versions do not even contain alloca or
15955 # contain a buggy version. If you still want to use their alloca,
15956 # use ar to extract alloca.o from them instead of compiling alloca.c.
15958 ALLOCA=alloca.$ac_objext
15960 cat >>confdefs.h <<\_ACEOF
15965 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15966 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15967 if test "${ac_cv_os_cray+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 cat >conftest.$ac_ext <<_ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 #if defined(CRAY) && ! defined(CRAY2)
15983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15984 $EGREP "webecray" >/dev/null 2>&1; then
15992 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15993 echo "${ECHO_T}$ac_cv_os_cray" >&6
15994 if test $ac_cv_os_cray = yes; then
15995 for ac_func in _getb67 GETB67 getb67; do
15996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15997 echo "$as_me:$LINENO: checking for $ac_func" >&5
15998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15999 if eval "test \"\${$as_ac_var+set}\" = set"; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 cat >conftest.$ac_ext <<_ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16010 #define $ac_func innocuous_$ac_func
16012 /* System header to define __stub macros and hopefully few prototypes,
16013 which can conflict with char $ac_func (); below.
16014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16015 <limits.h> exists even on freestanding compilers. */
16018 # include <limits.h>
16020 # include <assert.h>
16025 /* Override any gcc2 internal prototype to avoid an error. */
16030 /* We use char because int might match the return type of a gcc2
16031 builtin and then its argument prototype would still apply. */
16033 /* The GNU C library defines this for functions which it implements
16034 to always fail with ENOSYS. Some functions are actually named
16035 something starting with __ and the normal name is an alias. */
16036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16039 char (*f) () = $ac_func;
16048 return f != $ac_func;
16053 rm -f conftest.$ac_objext conftest$ac_exeext
16054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16055 (eval $ac_link) 2>conftest.er1
16057 grep -v '^ *+' conftest.er1 >conftest.err
16059 cat conftest.err >&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } &&
16062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; } &&
16068 { ac_try='test -s conftest$ac_exeext'
16069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16070 (eval $ac_try) 2>&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); }; }; then
16074 eval "$as_ac_var=yes"
16076 echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.$ac_ext >&5
16079 eval "$as_ac_var=no"
16081 rm -f conftest.err conftest.$ac_objext \
16082 conftest$ac_exeext conftest.$ac_ext
16084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16086 if test `eval echo '${'$as_ac_var'}'` = yes; then
16088 cat >>confdefs.h <<_ACEOF
16089 #define CRAY_STACKSEG_END $ac_func
16098 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16099 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16100 if test "${ac_cv_c_stack_direction+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 if test "$cross_compiling" = yes; then
16104 ac_cv_c_stack_direction=0
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16113 find_stack_direction ()
16115 static char *addr = 0;
16120 return find_stack_direction ();
16123 return (&dummy > addr) ? 1 : -1;
16129 exit (find_stack_direction () < 0);
16132 rm -f conftest$ac_exeext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16139 (eval $ac_try) 2>&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); }; }; then
16143 ac_cv_c_stack_direction=1
16145 echo "$as_me: program exited with status $ac_status" >&5
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 ( exit $ac_status )
16150 ac_cv_c_stack_direction=-1
16152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16155 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16156 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16158 cat >>confdefs.h <<_ACEOF
16159 #define STACK_DIRECTION $ac_cv_c_stack_direction
16292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16293 echo "$as_me:$LINENO: checking for $ac_func" >&5
16294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16295 if eval "test \"\${$as_ac_var+set}\" = set"; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 cat >conftest.$ac_ext <<_ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16306 #define $ac_func innocuous_$ac_func
16308 /* System header to define __stub macros and hopefully few prototypes,
16309 which can conflict with char $ac_func (); below.
16310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16311 <limits.h> exists even on freestanding compilers. */
16314 # include <limits.h>
16316 # include <assert.h>
16321 /* Override any gcc2 internal prototype to avoid an error. */
16326 /* We use char because int might match the return type of a gcc2
16327 builtin and then its argument prototype would still apply. */
16329 /* The GNU C library defines this for functions which it implements
16330 to always fail with ENOSYS. Some functions are actually named
16331 something starting with __ and the normal name is an alias. */
16332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16335 char (*f) () = $ac_func;
16344 return f != $ac_func;
16349 rm -f conftest.$ac_objext conftest$ac_exeext
16350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16351 (eval $ac_link) 2>conftest.er1
16353 grep -v '^ *+' conftest.er1 >conftest.err
16355 cat conftest.err >&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } &&
16358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; } &&
16364 { ac_try='test -s conftest$ac_exeext'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; }; then
16370 eval "$as_ac_var=yes"
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.$ac_ext >&5
16375 eval "$as_ac_var=no"
16377 rm -f conftest.err conftest.$ac_objext \
16378 conftest$ac_exeext conftest.$ac_ext
16380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16382 if test `eval echo '${'$as_ac_var'}'` = yes; then
16383 cat >>confdefs.h <<_ACEOF
16384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16489 fontconfig/fontconfig.h \
16514 netinet/in_systm.h \
16516 netinet/tcp_fsm.h \
16526 scsi/scsi_ioctl.h \
16572 valgrind/memcheck.h
16575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16577 echo "$as_me:$LINENO: checking for $ac_header" >&5
16578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16580 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16585 # Is the header compilable?
16586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16588 cat >conftest.$ac_ext <<_ACEOF
16591 cat confdefs.h >>conftest.$ac_ext
16592 cat >>conftest.$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594 $ac_includes_default
16595 #include <$ac_header>
16597 rm -f conftest.$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 2>conftest.er1
16601 grep -v '^ *+' conftest.er1 >conftest.err
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16618 ac_header_compiler=yes
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.$ac_ext >&5
16623 ac_header_compiler=no
16625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16627 echo "${ECHO_T}$ac_header_compiler" >&6
16629 # Is the header present?
16630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16632 cat >conftest.$ac_ext <<_ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 #include <$ac_header>
16640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16643 grep -v '^ *+' conftest.er1 >conftest.err
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } >/dev/null; then
16648 if test -s conftest.err; then
16649 ac_cpp_err=$ac_c_preproc_warn_flag
16650 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16657 if test -z "$ac_cpp_err"; then
16658 ac_header_preproc=yes
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16663 ac_header_preproc=no
16665 rm -f conftest.err conftest.$ac_ext
16666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16667 echo "${ECHO_T}$ac_header_preproc" >&6
16669 # So? What about this header?
16670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16676 ac_header_preproc=yes
16679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16693 ## ------------------------------------ ##
16694 ## Report this to wine-devel@winehq.org ##
16695 ## ------------------------------------ ##
16698 sed "s/^/$as_me: WARNING: /" >&2
16701 echo "$as_me:$LINENO: checking for $ac_header" >&5
16702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16706 eval "$as_ac_Header=\$ac_header_preproc"
16708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16713 cat >>confdefs.h <<_ACEOF
16714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16721 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16722 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16723 if test "${ac_cv_header_stat_broken+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 cat >conftest.$ac_ext <<_ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 #include <sys/types.h>
16733 #include <sys/stat.h>
16735 #if defined(S_ISBLK) && defined(S_IFDIR)
16736 # if S_ISBLK (S_IFDIR)
16741 #if defined(S_ISBLK) && defined(S_IFCHR)
16742 # if S_ISBLK (S_IFCHR)
16747 #if defined(S_ISLNK) && defined(S_IFREG)
16748 # if S_ISLNK (S_IFREG)
16753 #if defined(S_ISSOCK) && defined(S_IFREG)
16754 # if S_ISSOCK (S_IFREG)
16760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16761 $EGREP "You lose" >/dev/null 2>&1; then
16762 ac_cv_header_stat_broken=yes
16764 ac_cv_header_stat_broken=no
16769 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16770 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16771 if test $ac_cv_header_stat_broken = yes; then
16773 cat >>confdefs.h <<\_ACEOF
16774 #define STAT_MACROS_BROKEN 1
16783 for ac_header in sys/mount.h sys/user.h
16785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16786 echo "$as_me:$LINENO: checking for $ac_header" >&5
16787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 cat >conftest.$ac_ext <<_ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16797 #include <sys/types.h>
16798 #if HAVE_SYS_PARAM_H
16799 # include <sys/param.h>
16802 #include <$ac_header>
16804 rm -f conftest.$ac_objext
16805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16806 (eval $ac_compile) 2>conftest.er1
16808 grep -v '^ *+' conftest.er1 >conftest.err
16810 cat conftest.err >&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); } &&
16813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; } &&
16819 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
16825 eval "$as_ac_Header=yes"
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16830 eval "$as_ac_Header=no"
16832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16837 cat >>confdefs.h <<_ACEOF
16838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16851 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16854 echo "$as_me:$LINENO: checking for $ac_header" >&5
16855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16857 echo $ECHO_N "(cached) $ECHO_C" >&6
16859 cat >conftest.$ac_ext <<_ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #include <sys/types.h>
16866 #if HAVE_SYS_SOCKET_H
16867 # include <sys/socket.h>
16870 #include <$ac_header>
16872 rm -f conftest.$ac_objext
16873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16874 (eval $ac_compile) 2>conftest.er1
16876 grep -v '^ *+' conftest.er1 >conftest.err
16878 cat conftest.err >&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } &&
16881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; } &&
16887 { ac_try='test -s conftest.$ac_objext'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; }; then
16893 eval "$as_ac_Header=yes"
16895 echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.$ac_ext >&5
16898 eval "$as_ac_Header=no"
16900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16905 cat >>confdefs.h <<_ACEOF
16906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16915 for ac_header in resolv.h
16917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16918 echo "$as_me:$LINENO: checking for $ac_header" >&5
16919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16921 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 cat >conftest.$ac_ext <<_ACEOF
16926 cat confdefs.h >>conftest.$ac_ext
16927 cat >>conftest.$ac_ext <<_ACEOF
16928 /* end confdefs.h. */
16929 #include <sys/types.h>
16930 #if HAVE_SYS_SOCKET_H
16931 # include <sys/socket.h>
16933 #if HAVE_NETINET_IN_H
16934 # include <netinet/in.h>
16936 #if HAVE_ARPA_NAMESER_H
16937 # include <arpa/nameser.h>
16940 #include <$ac_header>
16942 rm -f conftest.$ac_objext
16943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16944 (eval $ac_compile) 2>conftest.er1
16946 grep -v '^ *+' conftest.er1 >conftest.err
16948 cat conftest.err >&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } &&
16951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 eval "$as_ac_Header=yes"
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16968 eval "$as_ac_Header=no"
16970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16975 cat >>confdefs.h <<_ACEOF
16976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16985 for ac_header in netinet/ip.h
16987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16988 echo "$as_me:$LINENO: checking for $ac_header" >&5
16989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 cat >conftest.$ac_ext <<_ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 #include <sys/types.h>
17000 #if HAVE_SYS_SOCKET_H
17001 # include <sys/socket.h>
17003 #if HAVE_NETINET_IN_SYSTM_H
17004 # include <netinet/in_systm.h>
17007 #include <$ac_header>
17009 rm -f conftest.$ac_objext
17010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17011 (eval $ac_compile) 2>conftest.er1
17013 grep -v '^ *+' conftest.er1 >conftest.err
17015 cat conftest.err >&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } &&
17018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; } &&
17024 { ac_try='test -s conftest.$ac_objext'
17025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 (eval $ac_try) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; }; then
17030 eval "$as_ac_Header=yes"
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.$ac_ext >&5
17035 eval "$as_ac_Header=no"
17037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17042 cat >>confdefs.h <<_ACEOF
17043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17052 for ac_header in ucontext.h
17054 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17055 echo "$as_me:$LINENO: checking for $ac_header" >&5
17056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17058 echo $ECHO_N "(cached) $ECHO_C" >&6
17060 cat >conftest.$ac_ext <<_ACEOF
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17066 #include <signal.h>
17068 #include <$ac_header>
17070 rm -f conftest.$ac_objext
17071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17072 (eval $ac_compile) 2>conftest.er1
17074 grep -v '^ *+' conftest.er1 >conftest.err
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; } &&
17085 { ac_try='test -s conftest.$ac_objext'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; }; then
17091 eval "$as_ac_Header=yes"
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17096 eval "$as_ac_Header=no"
17098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17103 cat >>confdefs.h <<_ACEOF
17104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17113 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
17114 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
17115 if test "${ac_cv_c_ipx_gnu+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 cat >conftest.$ac_ext <<_ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 #include <sys/types.h>
17125 #ifdef HAVE_SYS_SOCKET_H
17126 # include <sys/socket.h>
17128 #include <netipx/ipx.h>
17132 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17137 rm -f conftest.$ac_objext
17138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17139 (eval $ac_compile) 2>conftest.er1
17141 grep -v '^ *+' conftest.er1 >conftest.err
17143 cat conftest.err >&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); } &&
17146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; } &&
17152 { ac_try='test -s conftest.$ac_objext'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; }; then
17158 ac_cv_c_ipx_gnu="yes"
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.$ac_ext >&5
17163 ac_cv_c_ipx_gnu="no"
17165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17168 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17169 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17170 if test "$ac_cv_c_ipx_gnu" = "yes"
17173 cat >>confdefs.h <<\_ACEOF
17174 #define HAVE_IPX_GNU 1
17179 if test "$ac_cv_c_ipx_gnu" = "no"
17181 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17182 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17183 if test "${ac_cv_c_ipx_linux+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 cat >conftest.$ac_ext <<_ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 #include <sys/types.h>
17193 #ifdef HAVE_SYS_SOCKET_H
17194 # include <sys/socket.h>
17196 #include <asm/types.h>
17197 #include <linux/ipx.h>
17201 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17206 rm -f conftest.$ac_objext
17207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17208 (eval $ac_compile) 2>conftest.er1
17210 grep -v '^ *+' conftest.er1 >conftest.err
17212 cat conftest.err >&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); } &&
17215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; } &&
17221 { ac_try='test -s conftest.$ac_objext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_cv_c_ipx_linux="yes"
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17232 ac_cv_c_ipx_linux="no"
17234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17237 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17238 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17239 if test "$ac_cv_c_ipx_linux" = "yes"
17242 cat >>confdefs.h <<\_ACEOF
17243 #define HAVE_IPX_LINUX 1
17250 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17251 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17252 if test "${ac_cv_c_const+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 cat >conftest.$ac_ext <<_ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17265 /* FIXME: Include the comments suggested by Paul. */
17266 #ifndef __cplusplus
17267 /* Ultrix mips cc rejects this. */
17268 typedef int charset[2];
17270 /* SunOS 4.1.1 cc rejects this. */
17271 char const *const *ccp;
17273 /* NEC SVR4.0.2 mips cc rejects this. */
17274 struct point {int x, y;};
17275 static struct point const zero = {0,0};
17276 /* AIX XL C 1.02.0.0 rejects this.
17277 It does not let you subtract one const X* pointer from another in
17278 an arm of an if-expression whose if-part is not a constant
17280 const char *g = "string";
17281 ccp = &g + (g ? g-g : 0);
17282 /* HPUX 7.0 cc rejects these. */
17285 ccp = (char const *const *) p;
17286 { /* SCO 3.2v4 cc rejects this. */
17288 char const *s = 0 ? (char *) 0 : (char const *) 0;
17292 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17293 int x[] = {25, 17};
17294 const int *foo = &x[0];
17297 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17298 typedef const int *iptr;
17302 { /* AIX XL C 1.02.0.0 rejects this saying
17303 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17304 struct s { int j; const int *ap[3]; };
17305 struct s *b; b->j = 5;
17307 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17308 const int foo = 10;
17316 rm -f conftest.$ac_objext
17317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17318 (eval $ac_compile) 2>conftest.er1
17320 grep -v '^ *+' conftest.er1 >conftest.err
17322 cat conftest.err >&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } &&
17325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17327 (eval $ac_try) 2>&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); }; } &&
17331 { ac_try='test -s conftest.$ac_objext'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; }; then
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.$ac_ext >&5
17344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17346 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17347 echo "${ECHO_T}$ac_cv_c_const" >&6
17348 if test $ac_cv_c_const = no; then
17350 cat >>confdefs.h <<\_ACEOF
17356 echo "$as_me:$LINENO: checking for inline" >&5
17357 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17358 if test "${ac_cv_c_inline+set}" = set; then
17359 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 for ac_kw in inline __inline__ __inline; do
17363 cat >conftest.$ac_ext <<_ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17369 #ifndef __cplusplus
17371 static $ac_kw foo_t static_foo () {return 0; }
17372 $ac_kw foo_t foo () {return 0; }
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_c_inline=$ac_kw; break
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.$ac_ext >&5
17403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17407 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17408 echo "${ECHO_T}$ac_cv_c_inline" >&6
17411 case $ac_cv_c_inline in
17414 case $ac_cv_c_inline in
17416 *) ac_val=$ac_cv_c_inline;;
17418 cat >>confdefs.h <<_ACEOF
17419 #ifndef __cplusplus
17420 #define inline $ac_val
17426 echo "$as_me:$LINENO: checking for mode_t" >&5
17427 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17428 if test "${ac_cv_type_mode_t+set}" = set; then
17429 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 cat >conftest.$ac_ext <<_ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 $ac_includes_default
17443 if (sizeof (mode_t))
17449 rm -f conftest.$ac_objext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>conftest.er1
17453 grep -v '^ *+' conftest.er1 >conftest.err
17455 cat conftest.err >&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_cv_type_mode_t=yes
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.$ac_ext >&5
17475 ac_cv_type_mode_t=no
17477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17479 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17480 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17481 if test $ac_cv_type_mode_t = yes; then
17483 cat >>confdefs.h <<_ACEOF
17484 #define HAVE_MODE_T 1
17489 echo "$as_me:$LINENO: checking for off_t" >&5
17490 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17491 if test "${ac_cv_type_off_t+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 cat >conftest.$ac_ext <<_ACEOF
17497 cat confdefs.h >>conftest.$ac_ext
17498 cat >>conftest.$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 $ac_includes_default
17506 if (sizeof (off_t))
17512 rm -f conftest.$ac_objext
17513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17514 (eval $ac_compile) 2>conftest.er1
17516 grep -v '^ *+' conftest.er1 >conftest.err
17518 cat conftest.err >&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); } &&
17521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17523 (eval $ac_try) 2>&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); }; } &&
17527 { ac_try='test -s conftest.$ac_objext'
17528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529 (eval $ac_try) 2>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); }; }; then
17533 ac_cv_type_off_t=yes
17535 echo "$as_me: failed program was:" >&5
17536 sed 's/^/| /' conftest.$ac_ext >&5
17538 ac_cv_type_off_t=no
17540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17542 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17543 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17544 if test $ac_cv_type_off_t = yes; then
17546 cat >>confdefs.h <<_ACEOF
17547 #define HAVE_OFF_T 1
17552 echo "$as_me:$LINENO: checking for pid_t" >&5
17553 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17554 if test "${ac_cv_type_pid_t+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 cat >conftest.$ac_ext <<_ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 $ac_includes_default
17569 if (sizeof (pid_t))
17575 rm -f conftest.$ac_objext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17577 (eval $ac_compile) 2>conftest.er1
17579 grep -v '^ *+' conftest.er1 >conftest.err
17581 cat conftest.err >&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); } &&
17584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 ac_cv_type_pid_t=yes
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17601 ac_cv_type_pid_t=no
17603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17605 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17606 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17607 if test $ac_cv_type_pid_t = yes; then
17609 cat >>confdefs.h <<_ACEOF
17610 #define HAVE_PID_T 1
17615 echo "$as_me:$LINENO: checking for size_t" >&5
17616 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17617 if test "${ac_cv_type_size_t+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 cat >conftest.$ac_ext <<_ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 $ac_includes_default
17632 if (sizeof (size_t))
17638 rm -f conftest.$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640 (eval $ac_compile) 2>conftest.er1
17642 grep -v '^ *+' conftest.er1 >conftest.err
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } &&
17647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try='test -s conftest.$ac_objext'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; }; then
17659 ac_cv_type_size_t=yes
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17664 ac_cv_type_size_t=no
17666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17668 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17669 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17670 if test $ac_cv_type_size_t = yes; then
17672 cat >>confdefs.h <<_ACEOF
17673 #define HAVE_SIZE_T 1
17678 echo "$as_me:$LINENO: checking for ssize_t" >&5
17679 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17680 if test "${ac_cv_type_ssize_t+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 cat >conftest.$ac_ext <<_ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17695 if (sizeof (ssize_t))
17701 rm -f conftest.$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1 >conftest.err
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_cv_type_ssize_t=yes
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17727 ac_cv_type_ssize_t=no
17729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17731 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17732 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17733 if test $ac_cv_type_ssize_t = yes; then
17735 cat >>confdefs.h <<_ACEOF
17736 #define HAVE_SSIZE_T 1
17741 echo "$as_me:$LINENO: checking for long long" >&5
17742 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17743 if test "${ac_cv_type_long_long+set}" = set; then
17744 echo $ECHO_N "(cached) $ECHO_C" >&6
17746 cat >conftest.$ac_ext <<_ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 $ac_includes_default
17756 if ((long long *) 0)
17758 if (sizeof (long long))
17764 rm -f conftest.$ac_objext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17766 (eval $ac_compile) 2>conftest.er1
17768 grep -v '^ *+' conftest.er1 >conftest.err
17770 cat conftest.err >&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } &&
17773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try='test -s conftest.$ac_objext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 ac_cv_type_long_long=yes
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 ac_cv_type_long_long=no
17792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17794 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17795 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17796 if test $ac_cv_type_long_long = yes; then
17798 cat >>confdefs.h <<_ACEOF
17799 #define HAVE_LONG_LONG 1
17804 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17805 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17806 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 cat >conftest.$ac_ext <<_ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815 $ac_includes_default
17819 if ((fsblkcnt_t *) 0)
17821 if (sizeof (fsblkcnt_t))
17827 rm -f conftest.$ac_objext
17828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17829 (eval $ac_compile) 2>conftest.er1
17831 grep -v '^ *+' conftest.er1 >conftest.err
17833 cat conftest.err >&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } &&
17836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; } &&
17842 { ac_try='test -s conftest.$ac_objext'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; }; then
17848 ac_cv_type_fsblkcnt_t=yes
17850 echo "$as_me: failed program was:" >&5
17851 sed 's/^/| /' conftest.$ac_ext >&5
17853 ac_cv_type_fsblkcnt_t=no
17855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17857 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17858 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17859 if test $ac_cv_type_fsblkcnt_t = yes; then
17861 cat >>confdefs.h <<_ACEOF
17862 #define HAVE_FSBLKCNT_T 1
17867 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17868 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17869 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 cat >conftest.$ac_ext <<_ACEOF
17875 cat confdefs.h >>conftest.$ac_ext
17876 cat >>conftest.$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878 $ac_includes_default
17882 if ((fsfilcnt_t *) 0)
17884 if (sizeof (fsfilcnt_t))
17890 rm -f conftest.$ac_objext
17891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17892 (eval $ac_compile) 2>conftest.er1
17894 grep -v '^ *+' conftest.er1 >conftest.err
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } &&
17899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try='test -s conftest.$ac_objext'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; }; then
17911 ac_cv_type_fsfilcnt_t=yes
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17916 ac_cv_type_fsfilcnt_t=no
17918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17920 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17921 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17922 if test $ac_cv_type_fsfilcnt_t = yes; then
17924 cat >>confdefs.h <<_ACEOF
17925 #define HAVE_FSFILCNT_T 1
17932 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17933 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17934 if test "${wine_cv_linux_input_h+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17937 cat >conftest.$ac_ext <<_ACEOF
17940 cat confdefs.h >>conftest.$ac_ext
17941 cat >>conftest.$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17944 #include <linux/input.h>
17950 int foo = EVIOCGBIT(EV_ABS,42);
17951 int bar = BTN_PINKIE;
17958 rm -f conftest.$ac_objext
17959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17960 (eval $ac_compile) 2>conftest.er1
17962 grep -v '^ *+' conftest.er1 >conftest.err
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } &&
17967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969 (eval $ac_try) 2>&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); }; } &&
17973 { ac_try='test -s conftest.$ac_objext'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; }; then
17979 wine_cv_linux_input_h=yes
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.$ac_ext >&5
17984 wine_cv_linux_input_h=no
17986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17989 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17990 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17991 if test "$wine_cv_linux_input_h" = "yes"
17994 cat >>confdefs.h <<\_ACEOF
17995 #define HAVE_CORRECT_LINUXINPUT_H 1
18001 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18002 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
18003 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 cat >conftest.$ac_ext <<_ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18021 struct hostent *result;
18028 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18029 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18035 rm -f conftest.$ac_objext conftest$ac_exeext
18036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18037 (eval $ac_link) 2>conftest.er1
18039 grep -v '^ *+' conftest.er1 >conftest.err
18041 cat conftest.err >&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try='test -s conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 wine_cv_linux_gethostbyname_r_6=yes
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18061 wine_cv_linux_gethostbyname_r_6=no
18064 rm -f conftest.err conftest.$ac_objext \
18065 conftest$ac_exeext conftest.$ac_ext
18068 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18069 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
18070 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18073 cat >>confdefs.h <<\_ACEOF
18074 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18079 if test "$ac_cv_header_linux_joystick_h" = "yes"
18081 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18082 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
18083 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 cat >conftest.$ac_ext <<_ACEOF
18089 cat confdefs.h >>conftest.$ac_ext
18090 cat >>conftest.$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18093 #include <sys/ioctl.h>
18094 #include <linux/joystick.h>
18096 struct js_event blub;
18097 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18098 #error "no 2.2 header"
18109 rm -f conftest.$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>conftest.er1
18113 grep -v '^ *+' conftest.er1 >conftest.err
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; } &&
18124 { ac_try='test -s conftest.$ac_objext'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18130 wine_cv_linux_joystick_22_api=yes
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5
18135 wine_cv_linux_joystick_22_api=no
18137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18140 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18141 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
18142 if test "$wine_cv_linux_joystick_22_api" = "yes"
18145 cat >>confdefs.h <<\_ACEOF
18146 #define HAVE_LINUX_22_JOYSTICK_API 1
18153 if test "$ac_cv_header_sys_vfs_h" = "yes"
18155 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
18156 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
18157 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 cat >conftest.$ac_ext <<_ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18167 #include <sys/types.h>
18168 #ifdef HAVE_SYS_PARAM_H
18169 # include <sys/param.h>
18171 #include <sys/vfs.h>
18177 struct statfs stfs;
18179 memset(&stfs,0,sizeof(stfs));
18185 rm -f conftest.$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>conftest.er1
18189 grep -v '^ *+' conftest.er1 >conftest.err
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18196 (eval $ac_try) 2>&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); }; } &&
18200 { ac_try='test -s conftest.$ac_objext'
18201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202 (eval $ac_try) 2>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; }; then
18206 wine_cv_sys_vfs_has_statfs=yes
18208 echo "$as_me: failed program was:" >&5
18209 sed 's/^/| /' conftest.$ac_ext >&5
18211 wine_cv_sys_vfs_has_statfs=no
18214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18217 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18218 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18219 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18222 cat >>confdefs.h <<\_ACEOF
18223 #define STATFS_DEFINED_BY_SYS_VFS 1
18229 if test "$ac_cv_header_sys_statfs_h" = "yes"
18231 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18232 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18233 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 cat >conftest.$ac_ext <<_ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18243 #include <sys/types.h>
18244 #ifdef HAVE_SYS_PARAM_H
18245 # include <sys/param.h>
18247 #include <sys/statfs.h>
18253 struct statfs stfs;
18259 rm -f conftest.$ac_objext
18260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18261 (eval $ac_compile) 2>conftest.er1
18263 grep -v '^ *+' conftest.er1 >conftest.err
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } &&
18268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; } &&
18274 { ac_try='test -s conftest.$ac_objext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 wine_cv_sys_statfs_has_statfs=yes
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18285 wine_cv_sys_statfs_has_statfs=no
18288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18291 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18292 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18293 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18296 cat >>confdefs.h <<\_ACEOF
18297 #define STATFS_DEFINED_BY_SYS_STATFS 1
18303 if test "$ac_cv_header_sys_mount_h" = "yes"
18305 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18306 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18307 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 cat >conftest.$ac_ext <<_ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18317 #include <sys/types.h>
18318 #ifdef HAVE_SYS_PARAM_H
18319 # include <sys/param.h>
18321 #include <sys/mount.h>
18327 struct statfs stfs;
18333 rm -f conftest.$ac_objext
18334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18335 (eval $ac_compile) 2>conftest.er1
18337 grep -v '^ *+' conftest.er1 >conftest.err
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } &&
18342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; } &&
18348 { ac_try='test -s conftest.$ac_objext'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; }; then
18354 wine_cv_sys_mount_has_statfs=yes
18356 echo "$as_me: failed program was:" >&5
18357 sed 's/^/| /' conftest.$ac_ext >&5
18359 wine_cv_sys_mount_has_statfs=no
18362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18365 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18366 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18367 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18370 cat >>confdefs.h <<\_ACEOF
18371 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18378 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18379 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18380 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18383 cat >conftest.$ac_ext <<_ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 #include <sys/types.h>
18390 #ifdef HAVE_SYS_PARAM_H
18391 # include <sys/param.h>
18393 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18394 # include <sys/mount.h>
18396 # ifdef STATFS_DEFINED_BY_SYS_VFS
18397 # include <sys/vfs.h>
18399 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18400 # include <sys/statfs.h>
18408 static struct statfs ac_aggr;
18409 if (ac_aggr.f_bfree)
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18419 grep -v '^ *+' conftest.er1 >conftest.err
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_cv_member_struct_statfs_f_bfree=yes
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18441 cat >conftest.$ac_ext <<_ACEOF
18444 cat confdefs.h >>conftest.$ac_ext
18445 cat >>conftest.$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18447 #include <sys/types.h>
18448 #ifdef HAVE_SYS_PARAM_H
18449 # include <sys/param.h>
18451 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18452 # include <sys/mount.h>
18454 # ifdef STATFS_DEFINED_BY_SYS_VFS
18455 # include <sys/vfs.h>
18457 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18458 # include <sys/statfs.h>
18466 static struct statfs ac_aggr;
18467 if (sizeof ac_aggr.f_bfree)
18473 rm -f conftest.$ac_objext
18474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18475 (eval $ac_compile) 2>conftest.er1
18477 grep -v '^ *+' conftest.er1 >conftest.err
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; } &&
18488 { ac_try='test -s conftest.$ac_objext'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; }; then
18494 ac_cv_member_struct_statfs_f_bfree=yes
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18499 ac_cv_member_struct_statfs_f_bfree=no
18501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18505 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18506 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18507 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18509 cat >>confdefs.h <<_ACEOF
18510 #define HAVE_STRUCT_STATFS_F_BFREE 1
18515 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18516 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18517 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 cat >conftest.$ac_ext <<_ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 #include <sys/types.h>
18527 #ifdef HAVE_SYS_PARAM_H
18528 # include <sys/param.h>
18530 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18531 # include <sys/mount.h>
18533 # ifdef STATFS_DEFINED_BY_SYS_VFS
18534 # include <sys/vfs.h>
18536 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18537 # include <sys/statfs.h>
18545 static struct statfs ac_aggr;
18546 if (ac_aggr.f_bavail)
18552 rm -f conftest.$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18556 grep -v '^ *+' conftest.er1 >conftest.err
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; } &&
18567 { ac_try='test -s conftest.$ac_objext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_cv_member_struct_statfs_f_bavail=yes
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.$ac_ext >&5
18578 cat >conftest.$ac_ext <<_ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 #include <sys/types.h>
18585 #ifdef HAVE_SYS_PARAM_H
18586 # include <sys/param.h>
18588 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18589 # include <sys/mount.h>
18591 # ifdef STATFS_DEFINED_BY_SYS_VFS
18592 # include <sys/vfs.h>
18594 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18595 # include <sys/statfs.h>
18603 static struct statfs ac_aggr;
18604 if (sizeof ac_aggr.f_bavail)
18610 rm -f conftest.$ac_objext
18611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18612 (eval $ac_compile) 2>conftest.er1
18614 grep -v '^ *+' conftest.er1 >conftest.err
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } &&
18619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_cv_member_struct_statfs_f_bavail=yes
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18636 ac_cv_member_struct_statfs_f_bavail=no
18638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18642 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18643 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18644 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18646 cat >>confdefs.h <<_ACEOF
18647 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18652 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18653 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18654 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 cat >conftest.$ac_ext <<_ACEOF
18660 cat confdefs.h >>conftest.$ac_ext
18661 cat >>conftest.$ac_ext <<_ACEOF
18662 /* end confdefs.h. */
18663 #include <sys/types.h>
18664 #ifdef HAVE_SYS_PARAM_H
18665 # include <sys/param.h>
18667 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18668 # include <sys/mount.h>
18670 # ifdef STATFS_DEFINED_BY_SYS_VFS
18671 # include <sys/vfs.h>
18673 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18674 # include <sys/statfs.h>
18682 static struct statfs ac_aggr;
18683 if (ac_aggr.f_frsize)
18689 rm -f conftest.$ac_objext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18691 (eval $ac_compile) 2>conftest.er1
18693 grep -v '^ *+' conftest.er1 >conftest.err
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; } &&
18704 { ac_try='test -s conftest.$ac_objext'
18705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18706 (eval $ac_try) 2>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); }; }; then
18710 ac_cv_member_struct_statfs_f_frsize=yes
18712 echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.$ac_ext >&5
18715 cat >conftest.$ac_ext <<_ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 #include <sys/types.h>
18722 #ifdef HAVE_SYS_PARAM_H
18723 # include <sys/param.h>
18725 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18726 # include <sys/mount.h>
18728 # ifdef STATFS_DEFINED_BY_SYS_VFS
18729 # include <sys/vfs.h>
18731 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18732 # include <sys/statfs.h>
18740 static struct statfs ac_aggr;
18741 if (sizeof ac_aggr.f_frsize)
18747 rm -f conftest.$ac_objext
18748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18749 (eval $ac_compile) 2>conftest.er1
18751 grep -v '^ *+' conftest.er1 >conftest.err
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } &&
18756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; } &&
18762 { ac_try='test -s conftest.$ac_objext'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; }; then
18768 ac_cv_member_struct_statfs_f_frsize=yes
18770 echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18773 ac_cv_member_struct_statfs_f_frsize=no
18775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18779 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18780 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18781 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18783 cat >>confdefs.h <<_ACEOF
18784 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18789 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18790 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18791 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 cat >conftest.$ac_ext <<_ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800 #include <sys/types.h>
18801 #ifdef HAVE_SYS_PARAM_H
18802 # include <sys/param.h>
18804 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18805 # include <sys/mount.h>
18807 # ifdef STATFS_DEFINED_BY_SYS_VFS
18808 # include <sys/vfs.h>
18810 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18811 # include <sys/statfs.h>
18819 static struct statfs ac_aggr;
18820 if (ac_aggr.f_ffree)
18826 rm -f conftest.$ac_objext
18827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18828 (eval $ac_compile) 2>conftest.er1
18830 grep -v '^ *+' conftest.er1 >conftest.err
18832 cat conftest.err >&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } &&
18835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; } &&
18841 { ac_try='test -s conftest.$ac_objext'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; }; then
18847 ac_cv_member_struct_statfs_f_ffree=yes
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.$ac_ext >&5
18852 cat >conftest.$ac_ext <<_ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858 #include <sys/types.h>
18859 #ifdef HAVE_SYS_PARAM_H
18860 # include <sys/param.h>
18862 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18863 # include <sys/mount.h>
18865 # ifdef STATFS_DEFINED_BY_SYS_VFS
18866 # include <sys/vfs.h>
18868 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18869 # include <sys/statfs.h>
18877 static struct statfs ac_aggr;
18878 if (sizeof ac_aggr.f_ffree)
18884 rm -f conftest.$ac_objext
18885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18886 (eval $ac_compile) 2>conftest.er1
18888 grep -v '^ *+' conftest.er1 >conftest.err
18890 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; } &&
18899 { ac_try='test -s conftest.$ac_objext'
18900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18901 (eval $ac_try) 2>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); }; }; then
18905 ac_cv_member_struct_statfs_f_ffree=yes
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18910 ac_cv_member_struct_statfs_f_ffree=no
18912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18916 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18917 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18918 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_STRUCT_STATFS_F_FFREE 1
18926 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18927 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18928 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18931 cat >conftest.$ac_ext <<_ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18937 #include <sys/types.h>
18938 #ifdef HAVE_SYS_PARAM_H
18939 # include <sys/param.h>
18941 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18942 # include <sys/mount.h>
18944 # ifdef STATFS_DEFINED_BY_SYS_VFS
18945 # include <sys/vfs.h>
18947 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18948 # include <sys/statfs.h>
18956 static struct statfs ac_aggr;
18957 if (ac_aggr.f_favail)
18963 rm -f conftest.$ac_objext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18965 (eval $ac_compile) 2>conftest.er1
18967 grep -v '^ *+' conftest.er1 >conftest.err
18969 cat conftest.err >&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest.$ac_objext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_member_struct_statfs_f_favail=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 cat >conftest.$ac_ext <<_ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 #include <sys/types.h>
18996 #ifdef HAVE_SYS_PARAM_H
18997 # include <sys/param.h>
18999 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19000 # include <sys/mount.h>
19002 # ifdef STATFS_DEFINED_BY_SYS_VFS
19003 # include <sys/vfs.h>
19005 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19006 # include <sys/statfs.h>
19014 static struct statfs ac_aggr;
19015 if (sizeof ac_aggr.f_favail)
19021 rm -f conftest.$ac_objext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023 (eval $ac_compile) 2>conftest.er1
19025 grep -v '^ *+' conftest.er1 >conftest.err
19027 cat conftest.err >&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } &&
19030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try='test -s conftest.$ac_objext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 ac_cv_member_struct_statfs_f_favail=yes
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19047 ac_cv_member_struct_statfs_f_favail=no
19049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19053 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19054 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
19055 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19057 cat >>confdefs.h <<_ACEOF
19058 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19063 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19064 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
19065 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 cat >conftest.$ac_ext <<_ACEOF
19071 cat confdefs.h >>conftest.$ac_ext
19072 cat >>conftest.$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 #include <sys/types.h>
19075 #ifdef HAVE_SYS_PARAM_H
19076 # include <sys/param.h>
19078 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19079 # include <sys/mount.h>
19081 # ifdef STATFS_DEFINED_BY_SYS_VFS
19082 # include <sys/vfs.h>
19084 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19085 # include <sys/statfs.h>
19093 static struct statfs ac_aggr;
19094 if (ac_aggr.f_namelen)
19100 rm -f conftest.$ac_objext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19102 (eval $ac_compile) 2>conftest.er1
19104 grep -v '^ *+' conftest.er1 >conftest.err
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } &&
19109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; } &&
19115 { ac_try='test -s conftest.$ac_objext'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; }; then
19121 ac_cv_member_struct_statfs_f_namelen=yes
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19126 cat >conftest.$ac_ext <<_ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <sys/types.h>
19133 #ifdef HAVE_SYS_PARAM_H
19134 # include <sys/param.h>
19136 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19137 # include <sys/mount.h>
19139 # ifdef STATFS_DEFINED_BY_SYS_VFS
19140 # include <sys/vfs.h>
19142 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19143 # include <sys/statfs.h>
19151 static struct statfs ac_aggr;
19152 if (sizeof ac_aggr.f_namelen)
19158 rm -f conftest.$ac_objext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19160 (eval $ac_compile) 2>conftest.er1
19162 grep -v '^ *+' conftest.er1 >conftest.err
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_cv_member_struct_statfs_f_namelen=yes
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19184 ac_cv_member_struct_statfs_f_namelen=no
19186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19190 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19191 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19192 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19202 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19203 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19204 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19207 cat >conftest.$ac_ext <<_ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 #ifdef HAVE_SYS_STATVFS_H
19214 #include <sys/statvfs.h>
19220 static struct statvfs ac_aggr;
19221 if (ac_aggr.f_blocks)
19227 rm -f conftest.$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>conftest.er1
19231 grep -v '^ *+' conftest.er1 >conftest.err
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; } &&
19242 { ac_try='test -s conftest.$ac_objext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_cv_member_struct_statvfs_f_blocks=yes
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19253 cat >conftest.$ac_ext <<_ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 #ifdef HAVE_SYS_STATVFS_H
19260 #include <sys/statvfs.h>
19266 static struct statvfs ac_aggr;
19267 if (sizeof ac_aggr.f_blocks)
19273 rm -f conftest.$ac_objext
19274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19275 (eval $ac_compile) 2>conftest.er1
19277 grep -v '^ *+' conftest.er1 >conftest.err
19279 cat conftest.err >&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } &&
19282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284 (eval $ac_try) 2>&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); }; } &&
19288 { ac_try='test -s conftest.$ac_objext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19294 ac_cv_member_struct_statvfs_f_blocks=yes
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19299 ac_cv_member_struct_statvfs_f_blocks=no
19301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19305 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19306 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19307 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19309 cat >>confdefs.h <<_ACEOF
19310 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19317 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19318 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19319 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 #include <sys/types.h>
19329 #ifdef HAVE_SYS_SOCKET_H
19330 # include <sys/socket.h>
19332 #ifdef HAVE_SYS_UN_H
19333 # include <sys/un.h>
19339 static struct msghdr ac_aggr;
19340 if (ac_aggr.msg_accrights)
19346 rm -f conftest.$ac_objext
19347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19348 (eval $ac_compile) 2>conftest.er1
19350 grep -v '^ *+' conftest.er1 >conftest.err
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; } &&
19361 { ac_try='test -s conftest.$ac_objext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_member_struct_msghdr_msg_accrights=yes
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.$ac_ext >&5
19372 cat >conftest.$ac_ext <<_ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <sys/types.h>
19379 #ifdef HAVE_SYS_SOCKET_H
19380 # include <sys/socket.h>
19382 #ifdef HAVE_SYS_UN_H
19383 # include <sys/un.h>
19389 static struct msghdr ac_aggr;
19390 if (sizeof ac_aggr.msg_accrights)
19396 rm -f conftest.$ac_objext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19398 (eval $ac_compile) 2>conftest.er1
19400 grep -v '^ *+' conftest.er1 >conftest.err
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; } &&
19411 { ac_try='test -s conftest.$ac_objext'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; }; then
19417 ac_cv_member_struct_msghdr_msg_accrights=yes
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.$ac_ext >&5
19422 ac_cv_member_struct_msghdr_msg_accrights=no
19424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19428 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19429 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19430 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19432 cat >>confdefs.h <<_ACEOF
19433 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19438 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19439 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19440 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19441 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 cat >conftest.$ac_ext <<_ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 #include <sys/types.h>
19450 #ifdef HAVE_SYS_SOCKET_H
19451 # include <sys/socket.h>
19453 #ifdef HAVE_SYS_UN_H
19454 # include <sys/un.h>
19460 static struct sockaddr ac_aggr;
19461 if (ac_aggr.sa_len)
19467 rm -f conftest.$ac_objext
19468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19469 (eval $ac_compile) 2>conftest.er1
19471 grep -v '^ *+' conftest.er1 >conftest.err
19473 cat conftest.err >&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } &&
19476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; } &&
19482 { ac_try='test -s conftest.$ac_objext'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; }; then
19488 ac_cv_member_struct_sockaddr_sa_len=yes
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19493 cat >conftest.$ac_ext <<_ACEOF
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19499 #include <sys/types.h>
19500 #ifdef HAVE_SYS_SOCKET_H
19501 # include <sys/socket.h>
19503 #ifdef HAVE_SYS_UN_H
19504 # include <sys/un.h>
19510 static struct sockaddr ac_aggr;
19511 if (sizeof ac_aggr.sa_len)
19517 rm -f conftest.$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19521 grep -v '^ *+' conftest.er1 >conftest.err
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; } &&
19532 { ac_try='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19538 ac_cv_member_struct_sockaddr_sa_len=yes
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19543 ac_cv_member_struct_sockaddr_sa_len=no
19545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19549 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19550 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19551 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19553 cat >>confdefs.h <<_ACEOF
19554 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19559 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19560 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19561 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19564 cat >conftest.$ac_ext <<_ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 #include <sys/types.h>
19571 #ifdef HAVE_SYS_SOCKET_H
19572 # include <sys/socket.h>
19574 #ifdef HAVE_SYS_UN_H
19575 # include <sys/un.h>
19581 static struct sockaddr_un ac_aggr;
19582 if (ac_aggr.sun_len)
19588 rm -f conftest.$ac_objext
19589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19590 (eval $ac_compile) 2>conftest.er1
19592 grep -v '^ *+' conftest.er1 >conftest.err
19594 cat conftest.err >&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); } &&
19597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; } &&
19603 { ac_try='test -s conftest.$ac_objext'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; }; then
19609 ac_cv_member_struct_sockaddr_un_sun_len=yes
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19614 cat >conftest.$ac_ext <<_ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 #include <sys/types.h>
19621 #ifdef HAVE_SYS_SOCKET_H
19622 # include <sys/socket.h>
19624 #ifdef HAVE_SYS_UN_H
19625 # include <sys/un.h>
19631 static struct sockaddr_un ac_aggr;
19632 if (sizeof ac_aggr.sun_len)
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19642 grep -v '^ *+' conftest.er1 >conftest.err
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; } &&
19653 { ac_try='test -s conftest.$ac_objext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 ac_cv_member_struct_sockaddr_un_sun_len=yes
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19664 ac_cv_member_struct_sockaddr_un_sun_len=no
19666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19670 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19671 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19672 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19674 cat >>confdefs.h <<_ACEOF
19675 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19682 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19683 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19684 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 cat >conftest.$ac_ext <<_ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #include <signal.h>
19698 static siginfo_t ac_aggr;
19705 rm -f conftest.$ac_objext
19706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19707 (eval $ac_compile) 2>conftest.er1
19709 grep -v '^ *+' conftest.er1 >conftest.err
19711 cat conftest.err >&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } &&
19714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 ac_cv_member_siginfo_t_si_fd=yes
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19731 cat >conftest.$ac_ext <<_ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 #include <signal.h>
19742 static siginfo_t ac_aggr;
19743 if (sizeof ac_aggr.si_fd)
19749 rm -f conftest.$ac_objext
19750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19751 (eval $ac_compile) 2>conftest.er1
19753 grep -v '^ *+' conftest.er1 >conftest.err
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; } &&
19764 { ac_try='test -s conftest.$ac_objext'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_cv_member_siginfo_t_si_fd=yes
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19775 ac_cv_member_siginfo_t_si_fd=no
19777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19781 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19782 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19783 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19785 cat >>confdefs.h <<_ACEOF
19786 #define HAVE_SIGINFO_T_SI_FD 1
19793 echo "$as_me:$LINENO: checking for struct option.name" >&5
19794 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19795 if test "${ac_cv_member_struct_option_name+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 cat >conftest.$ac_ext <<_ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 #ifdef HAVE_GETOPT_H
19805 #include <getopt.h>
19811 static struct option ac_aggr;
19818 rm -f conftest.$ac_objext
19819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19820 (eval $ac_compile) 2>conftest.er1
19822 grep -v '^ *+' conftest.er1 >conftest.err
19824 cat conftest.err >&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); } &&
19827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; } &&
19833 { ac_try='test -s conftest.$ac_objext'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; }; then
19839 ac_cv_member_struct_option_name=yes
19841 echo "$as_me: failed program was:" >&5
19842 sed 's/^/| /' conftest.$ac_ext >&5
19844 cat >conftest.$ac_ext <<_ACEOF
19847 cat confdefs.h >>conftest.$ac_ext
19848 cat >>conftest.$ac_ext <<_ACEOF
19849 /* end confdefs.h. */
19850 #ifdef HAVE_GETOPT_H
19851 #include <getopt.h>
19857 static struct option ac_aggr;
19858 if (sizeof ac_aggr.name)
19864 rm -f conftest.$ac_objext
19865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19866 (eval $ac_compile) 2>conftest.er1
19868 grep -v '^ *+' conftest.er1 >conftest.err
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } &&
19873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; } &&
19879 { ac_try='test -s conftest.$ac_objext'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; }; then
19885 ac_cv_member_struct_option_name=yes
19887 echo "$as_me: failed program was:" >&5
19888 sed 's/^/| /' conftest.$ac_ext >&5
19890 ac_cv_member_struct_option_name=no
19892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19896 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19897 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19898 if test $ac_cv_member_struct_option_name = yes; then
19900 cat >>confdefs.h <<_ACEOF
19901 #define HAVE_STRUCT_OPTION_NAME 1
19908 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19909 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19910 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19911 echo $ECHO_N "(cached) $ECHO_C" >&6
19913 cat >conftest.$ac_ext <<_ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919 $ac_includes_default
19923 static struct stat ac_aggr;
19924 if (ac_aggr.st_blocks)
19930 rm -f conftest.$ac_objext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19932 (eval $ac_compile) 2>conftest.er1
19934 grep -v '^ *+' conftest.er1 >conftest.err
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 ac_cv_member_struct_stat_st_blocks=yes
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 cat >conftest.$ac_ext <<_ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19966 static struct stat ac_aggr;
19967 if (sizeof ac_aggr.st_blocks)
19973 rm -f conftest.$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19977 grep -v '^ *+' conftest.er1 >conftest.err
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; } &&
19988 { ac_try='test -s conftest.$ac_objext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19994 ac_cv_member_struct_stat_st_blocks=yes
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
19999 ac_cv_member_struct_stat_st_blocks=no
20001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20005 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20006 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
20007 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20009 cat >>confdefs.h <<_ACEOF
20010 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20019 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20020 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
20021 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20022 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 cat >conftest.$ac_ext <<_ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20035 $EGREP "yes" >/dev/null 2>&1; then
20036 ac_cv_cpp_def___i386__=yes
20038 ac_cv_cpp_def___i386__=no
20043 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20044 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
20045 if test $ac_cv_cpp_def___i386__ = yes; then
20046 CFLAGS="$CFLAGS -D__i386__"
20047 LINTFLAGS="$LINTFLAGS -D__i386__"
20050 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20051 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
20052 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20055 cat >conftest.$ac_ext <<_ACEOF
20058 cat confdefs.h >>conftest.$ac_ext
20059 cat >>conftest.$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20066 $EGREP "yes" >/dev/null 2>&1; then
20067 ac_cv_cpp_def___ALPHA__=yes
20069 ac_cv_cpp_def___ALPHA__=no
20074 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20075 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
20076 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20077 CFLAGS="$CFLAGS -D__ALPHA__"
20078 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20081 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20082 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
20083 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 cat >conftest.$ac_ext <<_ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20097 $EGREP "yes" >/dev/null 2>&1; then
20098 ac_cv_cpp_def___sparc__=yes
20100 ac_cv_cpp_def___sparc__=no
20105 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20106 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20107 if test $ac_cv_cpp_def___sparc__ = yes; then
20108 CFLAGS="$CFLAGS -D__sparc__"
20109 LINTFLAGS="$LINTFLAGS -D__sparc__"
20112 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20113 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20114 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20115 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 cat >conftest.$ac_ext <<_ACEOF
20120 cat confdefs.h >>conftest.$ac_ext
20121 cat >>conftest.$ac_ext <<_ACEOF
20122 /* end confdefs.h. */
20123 #ifndef __powerpc__
20127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20128 $EGREP "yes" >/dev/null 2>&1; then
20129 ac_cv_cpp_def___powerpc__=yes
20131 ac_cv_cpp_def___powerpc__=no
20136 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20137 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20138 if test $ac_cv_cpp_def___powerpc__ = yes; then
20139 CFLAGS="$CFLAGS -D__powerpc__"
20140 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20145 case $host_vendor in
20146 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20147 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20148 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 cat >conftest.$ac_ext <<_ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20162 $EGREP "yes" >/dev/null 2>&1; then
20163 ac_cv_cpp_def___sun__=yes
20165 ac_cv_cpp_def___sun__=no
20170 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20171 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20172 if test $ac_cv_cpp_def___sun__ = yes; then
20173 CFLAGS="$CFLAGS -D__sun__"
20174 LINTFLAGS="$LINTFLAGS -D__sun__"
20183 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
20185 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
20187 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
20189 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
20191 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
20193 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
20195 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
20197 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
20199 ac_config_commands="$ac_config_commands dlls/kernel/messages"
20201 ac_config_commands="$ac_config_commands dlls/user/dde"
20203 ac_config_commands="$ac_config_commands dlls/user/resources"
20205 ac_config_commands="$ac_config_commands dlls/wineps/data"
20207 ac_config_commands="$ac_config_commands include/wine"
20209 ac_config_commands="$ac_config_commands misc"
20211 ac_config_commands="$ac_config_commands programs/regedit/tests"
20213 ac_config_commands="$ac_config_commands windows"
20216 MAKE_RULES=Make.rules
20219 MAKE_DLL_RULES=dlls/Makedll.rules
20222 MAKE_TEST_RULES=dlls/Maketest.rules
20225 MAKE_LIB_RULES=libs/Makelib.rules
20228 MAKE_PROG_RULES=programs/Makeprog.rules
20231 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20234 cat >confcache <<\_ACEOF
20235 # This file is a shell script that caches the results of configure
20236 # tests run on this system so they can be shared between configure
20237 # scripts and configure runs, see configure's option --config-cache.
20238 # It is not useful on other systems. If it contains results you don't
20239 # want to keep, you may remove or edit it.
20241 # config.status only pays attention to the cache file if you give it
20242 # the --recheck option to rerun configure.
20244 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20246 # following values.
20250 # The following way of writing the cache mishandles newlines in values,
20251 # but we know of no workaround that is simple, portable, and efficient.
20252 # So, don't put newlines in cache variables' values.
20253 # Ultrix sh set writes to stderr and can't be redirected directly,
20254 # and sets the high bit in the cache file unless we assign to the vars.
20257 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20259 # `set' does not quote correctly, so add quotes (double-quote
20260 # substitution turns \\\\ into \\, and sed turns \\ into \).
20263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20266 # `set' quotes correctly as required by POSIX, so do not add quotes.
20268 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20277 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20279 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20280 if test -w $cache_file; then
20281 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20282 cat confcache >$cache_file
20284 echo "not updating unwritable cache $cache_file"
20289 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20290 # Let make expand exec_prefix.
20291 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20293 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20294 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20295 # trailing colons and then remove the whole line if VPATH becomes empty
20296 # (actually we leave an empty line to preserve line numbers).
20297 if test "x$srcdir" = x.; then
20298 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20299 s/:*\$(srcdir):*/:/;
20300 s/:*\${srcdir}:*/:/;
20302 s/^\([^=]*=[ ]*\):*/\1/;
20308 DEFS=-DHAVE_CONFIG_H
20312 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20313 # 1. Remove the extension, and $U if already installed.
20314 ac_i=`echo "$ac_i" |
20315 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20317 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20318 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20320 LIBOBJS=$ac_libobjs
20322 LTLIBOBJS=$ac_ltlibobjs
20326 : ${CONFIG_STATUS=./config.status}
20327 ac_clean_files_save=$ac_clean_files
20328 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20329 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20330 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20331 cat >$CONFIG_STATUS <<_ACEOF
20333 # Generated by $as_me.
20334 # Run this file to recreate the current configuration.
20335 # Compiler output produced by configure, useful for debugging
20336 # configure, is in config.log if it exists.
20339 ac_cs_recheck=false
20341 SHELL=\${CONFIG_SHELL-$SHELL}
20344 cat >>$CONFIG_STATUS <<\_ACEOF
20345 ## --------------------- ##
20346 ## M4sh Initialization. ##
20347 ## --------------------- ##
20349 # Be Bourne compatible
20350 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20353 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20354 # is contrary to our usage. Disable this feature.
20355 alias -g '${1+"$@"}'='"$@"'
20356 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20359 DUALCASE=1; export DUALCASE # for MKS sh
20361 # Support unset when possible.
20362 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20369 # Work around bugs in pre-3.0 UWIN ksh.
20370 $as_unset ENV MAIL MAILPATH
20377 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20378 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20379 LC_TELEPHONE LC_TIME
20381 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20382 eval $as_var=C; export $as_var
20388 # Required to use basename.
20389 if expr a : '\(a\)' >/dev/null 2>&1; then
20395 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20396 as_basename=basename
20402 # Name of the executable.
20403 as_me=`$as_basename "$0" ||
20404 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20405 X"$0" : 'X\(//\)$' \| \
20406 X"$0" : 'X\(/\)$' \| \
20407 . : '\(.\)' 2>/dev/null ||
20409 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20410 /^X\/\(\/\/\)$/{ s//\1/; q; }
20411 /^X\/\(\/\).*/{ s//\1/; q; }
20415 # PATH needs CR, and LINENO needs CR and PATH.
20416 # Avoid depending upon Character Ranges.
20417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20420 as_cr_digits='0123456789'
20421 as_cr_alnum=$as_cr_Letters$as_cr_digits
20423 # The user is always right.
20424 if test "${PATH_SEPARATOR+set}" != set; then
20425 echo "#! /bin/sh" >conf$$.sh
20426 echo "exit 0" >>conf$$.sh
20428 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20437 as_lineno_1=$LINENO
20438 as_lineno_2=$LINENO
20439 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20440 test "x$as_lineno_1" != "x$as_lineno_2" &&
20441 test "x$as_lineno_3" = "x$as_lineno_2" || {
20442 # Find who we are. Look in the path if we contain no path at all
20445 *[\\/]* ) as_myself=$0 ;;
20446 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20447 for as_dir in $PATH
20450 test -z "$as_dir" && as_dir=.
20451 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20456 # We did not find ourselves, most probably we were run as `sh COMMAND'
20457 # in which case we are not to be found in the path.
20458 if test "x$as_myself" = x; then
20461 if test ! -f "$as_myself"; then
20462 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20463 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20464 { (exit 1); exit 1; }; }
20466 case $CONFIG_SHELL in
20468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20469 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20472 test -z "$as_dir" && as_dir=.
20473 for as_base in sh bash ksh sh5; do
20476 if ("$as_dir/$as_base" -c '
20477 as_lineno_1=$LINENO
20478 as_lineno_2=$LINENO
20479 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20480 test "x$as_lineno_1" != "x$as_lineno_2" &&
20481 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20482 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20483 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20484 CONFIG_SHELL=$as_dir/$as_base
20485 export CONFIG_SHELL
20486 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20494 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20495 # uniformly replaced by the line number. The first 'sed' inserts a
20496 # line-number line before each line; the second 'sed' does the real
20497 # work. The second script uses 'N' to pair each line-number line
20498 # with the numbered line, and appends trailing '-' during
20499 # substitution so that $LINENO is not a special case at line end.
20500 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20501 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20502 sed '=' <$as_myself |
20507 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20510 s,^['$as_cr_digits']*\n,,
20511 ' >$as_me.lineno &&
20512 chmod +x $as_me.lineno ||
20513 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20514 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20515 { (exit 1); exit 1; }; }
20517 # Don't try to exec as it changes $[0], causing all sort of problems
20518 # (the dirname of $[0] is not the place where we might find the
20519 # original and so on. Autoconf is especially sensible to this).
20521 # Exit status is that of the last command.
20526 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20527 *c*,-n*) ECHO_N= ECHO_C='
20529 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20530 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20533 if expr a : '\(a\)' >/dev/null 2>&1; then
20539 rm -f conf$$ conf$$.exe conf$$.file
20541 if ln -s conf$$.file conf$$ 2>/dev/null; then
20542 # We could just check for DJGPP; but this test a) works b) is more generic
20543 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20544 if test -f conf$$.exe; then
20545 # Don't use ln at all; we don't have any links
20550 elif ln conf$$.file conf$$ 2>/dev/null; then
20555 rm -f conf$$ conf$$.exe conf$$.file
20557 if mkdir -p . 2>/dev/null; then
20560 test -d ./-p && rmdir ./-p
20564 as_executable_p="test -f"
20566 # Sed expression to map a string onto a valid CPP name.
20567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20569 # Sed expression to map a string onto a valid variable name.
20570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20574 # We need space, tab and new line, in precisely that order.
20584 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20585 # report actual input values of CONFIG_FILES etc. instead of their
20586 # values after options handling. Logging --version etc. is OK.
20590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20591 ## Running $as_me. ##
20596 This file was extended by Wine $as_me 20041019, which was
20597 generated by GNU Autoconf 2.59. Invocation command line was
20599 CONFIG_FILES = $CONFIG_FILES
20600 CONFIG_HEADERS = $CONFIG_HEADERS
20601 CONFIG_LINKS = $CONFIG_LINKS
20602 CONFIG_COMMANDS = $CONFIG_COMMANDS
20606 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20610 # Files that config.status was made for.
20611 if test -n "$ac_config_files"; then
20612 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20615 if test -n "$ac_config_headers"; then
20616 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20619 if test -n "$ac_config_links"; then
20620 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20623 if test -n "$ac_config_commands"; then
20624 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20627 cat >>$CONFIG_STATUS <<\_ACEOF
20630 \`$as_me' instantiates files from templates according to the
20631 current configuration.
20633 Usage: $0 [OPTIONS] [FILE]...
20635 -h, --help print this help, then exit
20636 -V, --version print version number, then exit
20637 -q, --quiet do not print progress messages
20638 -d, --debug don't remove temporary files
20639 --recheck update $as_me by reconfiguring in the same conditions
20640 --file=FILE[:TEMPLATE]
20641 instantiate the configuration file FILE
20642 --header=FILE[:TEMPLATE]
20643 instantiate the configuration header FILE
20645 Configuration files:
20648 Configuration headers:
20651 Configuration commands:
20654 Report bugs to <bug-autoconf@gnu.org>."
20657 cat >>$CONFIG_STATUS <<_ACEOF
20659 Wine config.status 20041019
20660 configured by $0, generated by GNU Autoconf 2.59,
20661 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20663 Copyright (C) 2003 Free Software Foundation, Inc.
20664 This config.status script is free software; the Free Software Foundation
20665 gives unlimited permission to copy, distribute and modify it."
20670 cat >>$CONFIG_STATUS <<\_ACEOF
20671 # If no file are specified by the user, then we need to provide default
20672 # value. By we need to know if files were specified by the user.
20678 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20679 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20687 *) # This is not an option, so the user has probably given explicit
20690 ac_need_defaults=false;;
20694 # Handling of the options.
20696 cat >>$CONFIG_STATUS <<\_ACEOF
20697 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20699 --version | --vers* | -V )
20700 echo "$ac_cs_version"; exit 0 ;;
20702 # Conflict between --help and --header
20703 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20704 Try \`$0 --help' for more information." >&5
20705 echo "$as_me: error: ambiguous option: $1
20706 Try \`$0 --help' for more information." >&2;}
20707 { (exit 1); exit 1; }; };;
20708 --help | --hel | -h )
20709 echo "$ac_cs_usage"; exit 0 ;;
20710 --debug | --d* | -d )
20712 --file | --fil | --fi | --f )
20714 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20715 ac_need_defaults=false;;
20716 --header | --heade | --head | --hea )
20718 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20719 ac_need_defaults=false;;
20720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20721 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20724 # This is an error.
20725 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20726 Try \`$0 --help' for more information." >&5
20727 echo "$as_me: error: unrecognized option: $1
20728 Try \`$0 --help' for more information." >&2;}
20729 { (exit 1); exit 1; }; } ;;
20731 *) ac_config_targets="$ac_config_targets $1" ;;
20737 ac_configure_extra_args=
20739 if $ac_cs_silent; then
20741 ac_configure_extra_args="$ac_configure_extra_args --silent"
20745 cat >>$CONFIG_STATUS <<_ACEOF
20746 if \$ac_cs_recheck; then
20747 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20748 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20757 cat >>$CONFIG_STATUS <<\_ACEOF
20758 for ac_config_target in $ac_config_targets
20760 case "$ac_config_target" in
20761 # Handling of arguments.
20762 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20763 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20764 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20765 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20766 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20767 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20768 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20769 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20770 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20771 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20772 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20773 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20774 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20775 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20776 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20777 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20778 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20779 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20780 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20781 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20782 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20783 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20784 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20785 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20786 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20787 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20788 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20789 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20790 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20791 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20792 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20793 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20794 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20795 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20796 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20797 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20798 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20799 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20800 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20801 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20802 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20803 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20804 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20805 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20806 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20807 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20808 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20809 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20810 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20811 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20812 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20813 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20814 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20815 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20816 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20817 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20818 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20819 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20820 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20821 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20822 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20823 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20824 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20825 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20826 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20827 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20828 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20829 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20830 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20831 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20832 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20833 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20834 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20835 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20836 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20837 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20838 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20839 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20840 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20841 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20842 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20843 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20844 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20845 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20846 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20847 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20848 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20849 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20850 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20851 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20852 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20853 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20854 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20855 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20856 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20857 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20858 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20859 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20860 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20861 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20862 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20863 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20864 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20865 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20866 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20867 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20868 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20869 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20870 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20871 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20872 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20873 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20874 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20875 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20876 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20877 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20878 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20879 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20880 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20881 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20882 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20883 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20884 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20885 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20886 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20887 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20888 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20889 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20890 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20891 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20892 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20893 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20894 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20895 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20896 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20897 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20898 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20899 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20900 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20901 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20902 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20903 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20904 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20905 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20906 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20907 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20908 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20909 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20910 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20911 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20912 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20913 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20914 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20915 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20916 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20917 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20918 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20919 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20920 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20921 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20922 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20923 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20924 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20925 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20926 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20927 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20928 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20929 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20930 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20931 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20932 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20933 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20934 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20935 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20936 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20937 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20938 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20939 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20940 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20941 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20942 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20943 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20944 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20945 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20946 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20947 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20948 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20949 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20950 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20951 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20952 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20953 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20954 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20955 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20956 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20957 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20958 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20959 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20960 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20961 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20962 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20963 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20964 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20965 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20966 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20967 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20968 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20969 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20970 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20971 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20972 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20973 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20974 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20975 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20976 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20977 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20978 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20979 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20980 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20981 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20982 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20983 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20984 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20985 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20986 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20987 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20988 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20989 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20990 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20991 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20992 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20993 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20994 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20995 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20996 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20997 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20998 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20999 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21000 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21001 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21002 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
21003 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21004 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21005 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21006 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21007 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21008 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
21009 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
21010 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
21011 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
21012 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
21013 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
21014 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
21015 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
21016 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
21017 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
21018 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
21019 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
21020 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21021 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
21022 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
21023 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
21024 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21025 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21026 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21027 { (exit 1); exit 1; }; };;
21031 # If the user did not use the arguments to specify the items to instantiate,
21032 # then the envvar interface is used. Set only those that are not.
21033 # We use the long form for the default assignment because of an extremely
21034 # bizarre bug on SunOS 4.1.3.
21035 if $ac_need_defaults; then
21036 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21037 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21038 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21041 # Have a temporary directory for convenience. Make it in the build tree
21042 # simply because there is no reason to put it here, and in addition,
21043 # creating and moving files from /tmp can sometimes cause problems.
21044 # Create a temporary directory, and hook for its removal unless debugging.
21047 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21048 trap '{ (exit 1); exit 1; }' 1 2 13 15
21051 # Create a (secure) tmp directory for tmp files.
21054 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21055 test -n "$tmp" && test -d "$tmp"
21058 tmp=./confstat$$-$RANDOM
21059 (umask 077 && mkdir $tmp)
21062 echo "$me: cannot create a temporary directory in ." >&2
21063 { (exit 1); exit 1; }
21068 cat >>$CONFIG_STATUS <<_ACEOF
21071 # CONFIG_FILES section.
21074 # No need to generate the scripts if there are no CONFIG_FILES.
21075 # This happens for instance when ./config.status config.h
21076 if test -n "\$CONFIG_FILES"; then
21077 # Protect against being on the right side of a sed subst in config.status.
21078 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21079 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21080 s,@SHELL@,$SHELL,;t t
21081 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21082 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21083 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21084 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21085 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21086 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21087 s,@exec_prefix@,$exec_prefix,;t t
21088 s,@prefix@,$prefix,;t t
21089 s,@program_transform_name@,$program_transform_name,;t t
21090 s,@bindir@,$bindir,;t t
21091 s,@sbindir@,$sbindir,;t t
21092 s,@libexecdir@,$libexecdir,;t t
21093 s,@datadir@,$datadir,;t t
21094 s,@sysconfdir@,$sysconfdir,;t t
21095 s,@sharedstatedir@,$sharedstatedir,;t t
21096 s,@localstatedir@,$localstatedir,;t t
21097 s,@libdir@,$libdir,;t t
21098 s,@includedir@,$includedir,;t t
21099 s,@oldincludedir@,$oldincludedir,;t t
21100 s,@infodir@,$infodir,;t t
21101 s,@mandir@,$mandir,;t t
21102 s,@build_alias@,$build_alias,;t t
21103 s,@host_alias@,$host_alias,;t t
21104 s,@target_alias@,$target_alias,;t t
21105 s,@DEFS@,$DEFS,;t t
21106 s,@ECHO_C@,$ECHO_C,;t t
21107 s,@ECHO_N@,$ECHO_N,;t t
21108 s,@ECHO_T@,$ECHO_T,;t t
21109 s,@LIBS@,$LIBS,;t t
21110 s,@WIN16_FILES@,$WIN16_FILES,;t t
21111 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21112 s,@DLLDEFS@,$DLLDEFS,;t t
21113 s,@build@,$build,;t t
21114 s,@build_cpu@,$build_cpu,;t t
21115 s,@build_vendor@,$build_vendor,;t t
21116 s,@build_os@,$build_os,;t t
21117 s,@host@,$host,;t t
21118 s,@host_cpu@,$host_cpu,;t t
21119 s,@host_vendor@,$host_vendor,;t t
21120 s,@host_os@,$host_os,;t t
21121 s,@SET_MAKE@,$SET_MAKE,;t t
21123 s,@CFLAGS@,$CFLAGS,;t t
21124 s,@LDFLAGS@,$LDFLAGS,;t t
21125 s,@CPPFLAGS@,$CPPFLAGS,;t t
21126 s,@ac_ct_CC@,$ac_ct_CC,;t t
21127 s,@EXEEXT@,$EXEEXT,;t t
21128 s,@OBJEXT@,$OBJEXT,;t t
21130 s,@CXXFLAGS@,$CXXFLAGS,;t t
21131 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21132 s,@CPPBIN@,$CPPBIN,;t t
21133 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21134 s,@TOOLSDIR@,$TOOLSDIR,;t t
21136 s,@X_CFLAGS@,$X_CFLAGS,;t t
21137 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21138 s,@X_LIBS@,$X_LIBS,;t t
21139 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21141 s,@LEXLIB@,$LEXLIB,;t t
21142 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21143 s,@XLEX@,$XLEX,;t t
21144 s,@BISON@,$BISON,;t t
21146 s,@ac_ct_AS@,$ac_ct_AS,;t t
21148 s,@ac_ct_LD@,$ac_ct_LD,;t t
21150 s,@ac_ct_AR@,$ac_ct_AR,;t t
21151 s,@RANLIB@,$RANLIB,;t t
21152 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21153 s,@STRIP@,$STRIP,;t t
21154 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21155 s,@WINDRES@,$WINDRES,;t t
21156 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21157 s,@LN_S@,$LN_S,;t t
21159 s,@EGREP@,$EGREP,;t t
21160 s,@LDCONFIG@,$LDCONFIG,;t t
21161 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21162 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21163 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21164 s,@LINT@,$LINT,;t t
21165 s,@LINTFLAGS@,$LINTFLAGS,;t t
21166 s,@DB2HTML@,$DB2HTML,;t t
21167 s,@DB2PDF@,$DB2PDF,;t t
21168 s,@DB2PS@,$DB2PS,;t t
21169 s,@DB2TXT@,$DB2TXT,;t t
21170 s,@FONTFORGE@,$FONTFORGE,;t t
21171 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21172 s,@XLIB@,$XLIB,;t t
21173 s,@XFILES@,$XFILES,;t t
21174 s,@OPENGLFILES@,$OPENGLFILES,;t t
21175 s,@GLU32FILES@,$GLU32FILES,;t t
21176 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21177 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21178 s,@GLUT32FILES@,$GLUT32FILES,;t t
21179 s,@NASLIBS@,$NASLIBS,;t t
21180 s,@CURSESLIBS@,$CURSESLIBS,;t t
21181 s,@sane_devel@,$sane_devel,;t t
21182 s,@SANELIBS@,$SANELIBS,;t t
21183 s,@SANEINCL@,$SANEINCL,;t t
21184 s,@ICULIBS@,$ICULIBS,;t t
21185 s,@ft_devel@,$ft_devel,;t t
21186 s,@ft_devel2@,$ft_devel2,;t t
21187 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21188 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21189 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21190 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21191 s,@ARTSLIBS@,$ARTSLIBS,;t t
21192 s,@ARTSINCL@,$ARTSINCL,;t t
21193 s,@ALSALIBS@,$ALSALIBS,;t t
21194 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21195 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21196 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21197 s,@DLLEXT@,$DLLEXT,;t t
21198 s,@DLLFLAGS@,$DLLFLAGS,;t t
21199 s,@DLLIBS@,$DLLIBS,;t t
21200 s,@LDSHARED@,$LDSHARED,;t t
21201 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21202 s,@LIBEXT@,$LIBEXT,;t t
21203 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21204 s,@DLLTOOL@,$DLLTOOL,;t t
21205 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21206 s,@DLLWRAP@,$DLLWRAP,;t t
21207 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21208 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21209 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21210 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21211 s,@IOKITLIB@,$IOKITLIB,;t t
21212 s,@CROSSTEST@,$CROSSTEST,;t t
21213 s,@CROSSCC@,$CROSSCC,;t t
21214 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21215 s,@LDPATH@,$LDPATH,;t t
21216 s,@CRTLIBS@,$CRTLIBS,;t t
21217 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21218 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21219 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21221 s,@ALLOCA@,$ALLOCA,;t t
21222 s,@LIBOBJS@,$LIBOBJS,;t t
21223 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21224 /@MAKE_RULES@/r $MAKE_RULES
21225 s,@MAKE_RULES@,,;t t
21226 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21227 s,@MAKE_DLL_RULES@,,;t t
21228 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21229 s,@MAKE_TEST_RULES@,,;t t
21230 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21231 s,@MAKE_LIB_RULES@,,;t t
21232 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21233 s,@MAKE_PROG_RULES@,,;t t
21238 cat >>$CONFIG_STATUS <<\_ACEOF
21239 # Split the substitutions into bite-sized pieces for seds with
21240 # small command number limits, like on Digital OSF/1 and HP-UX.
21241 ac_max_sed_lines=48
21242 ac_sed_frag=1 # Number of current file.
21243 ac_beg=1 # First line for current file.
21244 ac_end=$ac_max_sed_lines # Line after last line for current file.
21247 while $ac_more_lines; do
21248 if test $ac_beg -gt 1; then
21249 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21251 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21253 if test ! -s $tmp/subs.frag; then
21254 ac_more_lines=false
21256 # The purpose of the label and of the branching condition is to
21257 # speed up the sed processing (if there are no `@' at all, there
21258 # is no need to browse any of the substitutions).
21259 # These are the two extra sed commands mentioned above.
21261 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21262 if test -z "$ac_sed_cmds"; then
21263 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21265 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21267 ac_sed_frag=`expr $ac_sed_frag + 1`
21269 ac_end=`expr $ac_end + $ac_max_sed_lines`
21272 if test -z "$ac_sed_cmds"; then
21275 fi # test -n "$CONFIG_FILES"
21278 cat >>$CONFIG_STATUS <<\_ACEOF
21279 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21280 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21282 - | *:- | *:-:* ) # input from stdin
21284 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21285 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21286 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21287 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21288 * ) ac_file_in=$ac_file.in ;;
21291 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21292 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21293 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21294 X"$ac_file" : 'X\(//\)[^/]' \| \
21295 X"$ac_file" : 'X\(//\)$' \| \
21296 X"$ac_file" : 'X\(/\)' \| \
21297 . : '\(.\)' 2>/dev/null ||
21299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21300 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21301 /^X\(\/\/\)$/{ s//\1/; q; }
21302 /^X\(\/\).*/{ s//\1/; q; }
21304 { if $as_mkdir_p; then
21309 while test ! -d "$as_dir"; do
21310 as_dirs="$as_dir $as_dirs"
21311 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21313 X"$as_dir" : 'X\(//\)[^/]' \| \
21314 X"$as_dir" : 'X\(//\)$' \| \
21315 X"$as_dir" : 'X\(/\)' \| \
21316 . : '\(.\)' 2>/dev/null ||
21318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21320 /^X\(\/\/\)$/{ s//\1/; q; }
21321 /^X\(\/\).*/{ s//\1/; q; }
21324 test ! -n "$as_dirs" || mkdir $as_dirs
21325 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21326 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21327 { (exit 1); exit 1; }; }; }
21331 if test "$ac_dir" != .; then
21332 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21333 # A "../" for each directory in $ac_dir_suffix.
21334 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21336 ac_dir_suffix= ac_top_builddir=
21340 .) # No --srcdir option. We are building in place.
21342 if test -z "$ac_top_builddir"; then
21345 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21347 [\\/]* | ?:[\\/]* ) # Absolute path.
21348 ac_srcdir=$srcdir$ac_dir_suffix;
21349 ac_top_srcdir=$srcdir ;;
21350 *) # Relative path.
21351 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21352 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21355 # Do not use `cd foo && pwd` to compute absolute paths, because
21356 # the directories may not exist.
21358 .) ac_abs_builddir="$ac_dir";;
21361 .) ac_abs_builddir=`pwd`;;
21362 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21363 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21366 case $ac_abs_builddir in
21367 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21369 case ${ac_top_builddir}. in
21370 .) ac_abs_top_builddir=$ac_abs_builddir;;
21371 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21372 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21375 case $ac_abs_builddir in
21376 .) ac_abs_srcdir=$ac_srcdir;;
21379 .) ac_abs_srcdir=$ac_abs_builddir;;
21380 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21381 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21384 case $ac_abs_builddir in
21385 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21387 case $ac_top_srcdir in
21388 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21389 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21390 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21396 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21397 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21400 # Let's still pretend it is `configure' which instantiates (i.e., don't
21401 # use $as_me), people would be surprised to read:
21402 # /* config.h. Generated by config.status. */
21403 if test x"$ac_file" = x-; then
21406 configure_input="$ac_file. "
21408 configure_input=$configure_input"Generated from `echo $ac_file_in |
21409 sed 's,.*/,,'` by configure."
21411 # First look for the input files in the build tree, otherwise in the
21413 ac_file_inputs=`IFS=:
21414 for f in $ac_file_in; do
21416 -) echo $tmp/stdin ;;
21418 # Absolute (can't be DOS-style, as IFS=:)
21419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21420 echo "$as_me: error: cannot find input file: $f" >&2;}
21421 { (exit 1); exit 1; }; }
21424 if test -f "$f"; then
21427 elif test -f "$srcdir/$f"; then
21432 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21433 echo "$as_me: error: cannot find input file: $f" >&2;}
21434 { (exit 1); exit 1; }; }
21437 done` || { (exit 1); exit 1; }
21439 if test x"$ac_file" != x-; then
21440 { echo "$as_me:$LINENO: creating $ac_file" >&5
21441 echo "$as_me: creating $ac_file" >&6;}
21445 cat >>$CONFIG_STATUS <<_ACEOF
21449 cat >>$CONFIG_STATUS <<\_ACEOF
21451 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21452 s,@configure_input@,$configure_input,;t t
21453 s,@srcdir@,$ac_srcdir,;t t
21454 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21455 s,@top_srcdir@,$ac_top_srcdir,;t t
21456 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21457 s,@builddir@,$ac_builddir,;t t
21458 s,@abs_builddir@,$ac_abs_builddir,;t t
21459 s,@top_builddir@,$ac_top_builddir,;t t
21460 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21461 s,@INSTALL@,$ac_INSTALL,;t t
21462 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21464 if test x"$ac_file" != x-; then
21465 mv $tmp/out $ac_file
21473 cat >>$CONFIG_STATUS <<\_ACEOF
21476 # CONFIG_HEADER section.
21479 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21480 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21482 # ac_d sets the value in "#define NAME VALUE" lines.
21483 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21484 ac_dB='[ ].*$,\1#\2'
21487 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21488 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21489 ac_uB='$,\1#\2define\3'
21493 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21494 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21496 - | *:- | *:-:* ) # input from stdin
21498 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21499 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21500 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21501 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21502 * ) ac_file_in=$ac_file.in ;;
21505 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21506 echo "$as_me: creating $ac_file" >&6;}
21508 # First look for the input files in the build tree, otherwise in the
21510 ac_file_inputs=`IFS=:
21511 for f in $ac_file_in; do
21513 -) echo $tmp/stdin ;;
21515 # Absolute (can't be DOS-style, as IFS=:)
21516 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21517 echo "$as_me: error: cannot find input file: $f" >&2;}
21518 { (exit 1); exit 1; }; }
21519 # Do quote $f, to prevent DOS paths from being IFS'd.
21522 if test -f "$f"; then
21525 elif test -f "$srcdir/$f"; then
21530 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21531 echo "$as_me: error: cannot find input file: $f" >&2;}
21532 { (exit 1); exit 1; }; }
21535 done` || { (exit 1); exit 1; }
21536 # Remove the trailing spaces.
21537 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21541 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21542 # `conftest.undefs', that substitutes the proper values into
21543 # config.h.in to produce config.h. The first handles `#define'
21544 # templates, and the second `#undef' templates.
21545 # And first: Protect against being on the right side of a sed subst in
21546 # config.status. Protect against being in an unquoted here document
21547 # in config.status.
21548 rm -f conftest.defines conftest.undefs
21549 # Using a here document instead of a string reduces the quoting nightmare.
21550 # Putting comments in sed scripts is not portable.
21552 # `end' is used to avoid that the second main sed command (meant for
21553 # 0-ary CPP macros) applies to n-ary macro definitions.
21554 # See the Autoconf documentation for `clear'.
21555 cat >confdef2sed.sed <<\_ACEOF
21560 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21562 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21565 # If some macros were called several times there might be several times
21566 # the same #defines, which is useless. Nevertheless, we may not want to
21567 # sort them, since we want the *last* AC-DEFINE to be honored.
21568 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21569 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21570 rm -f confdef2sed.sed
21572 # This sed command replaces #undef with comments. This is necessary, for
21573 # example, in the case of _POSIX_SOURCE, which is predefined and required
21574 # on some systems where configure will not decide to define it.
21575 cat >>conftest.undefs <<\_ACEOF
21576 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21579 # Break up conftest.defines because some shells have a limit on the size
21580 # of here documents, and old seds have small limits too (100 cmds).
21581 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21582 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21583 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21584 echo ' :' >>$CONFIG_STATUS
21585 rm -f conftest.tail
21586 while grep . conftest.defines >/dev/null
21588 # Write a limited-size here document to $tmp/defines.sed.
21589 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21590 # Speed up: don't consider the non `#define' lines.
21591 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21592 # Work around the forget-to-reset-the-flag bug.
21593 echo 't clr' >>$CONFIG_STATUS
21594 echo ': clr' >>$CONFIG_STATUS
21595 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21597 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21599 mv $tmp/out $tmp/in
21601 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21602 rm -f conftest.defines
21603 mv conftest.tail conftest.defines
21605 rm -f conftest.defines
21606 echo ' fi # grep' >>$CONFIG_STATUS
21607 echo >>$CONFIG_STATUS
21609 # Break up conftest.undefs because some shells have a limit on the size
21610 # of here documents, and old seds have small limits too (100 cmds).
21611 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21612 rm -f conftest.tail
21613 while grep . conftest.undefs >/dev/null
21615 # Write a limited-size here document to $tmp/undefs.sed.
21616 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21617 # Speed up: don't consider the non `#undef'
21618 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21619 # Work around the forget-to-reset-the-flag bug.
21620 echo 't clr' >>$CONFIG_STATUS
21621 echo ': clr' >>$CONFIG_STATUS
21622 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21624 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21626 mv $tmp/out $tmp/in
21628 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21629 rm -f conftest.undefs
21630 mv conftest.tail conftest.undefs
21632 rm -f conftest.undefs
21634 cat >>$CONFIG_STATUS <<\_ACEOF
21635 # Let's still pretend it is `configure' which instantiates (i.e., don't
21636 # use $as_me), people would be surprised to read:
21637 # /* config.h. Generated by config.status. */
21638 if test x"$ac_file" = x-; then
21639 echo "/* Generated by configure. */" >$tmp/config.h
21641 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21643 cat $tmp/in >>$tmp/config.h
21645 if test x"$ac_file" != x-; then
21646 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21647 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21648 echo "$as_me: $ac_file is unchanged" >&6;}
21650 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21652 X"$ac_file" : 'X\(//\)[^/]' \| \
21653 X"$ac_file" : 'X\(//\)$' \| \
21654 X"$ac_file" : 'X\(/\)' \| \
21655 . : '\(.\)' 2>/dev/null ||
21657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21658 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21659 /^X\(\/\/\)$/{ s//\1/; q; }
21660 /^X\(\/\).*/{ s//\1/; q; }
21662 { if $as_mkdir_p; then
21667 while test ! -d "$as_dir"; do
21668 as_dirs="$as_dir $as_dirs"
21669 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21671 X"$as_dir" : 'X\(//\)[^/]' \| \
21672 X"$as_dir" : 'X\(//\)$' \| \
21673 X"$as_dir" : 'X\(/\)' \| \
21674 . : '\(.\)' 2>/dev/null ||
21676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21677 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21678 /^X\(\/\/\)$/{ s//\1/; q; }
21679 /^X\(\/\).*/{ s//\1/; q; }
21682 test ! -n "$as_dirs" || mkdir $as_dirs
21683 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21684 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21685 { (exit 1); exit 1; }; }; }
21688 mv $tmp/config.h $ac_file
21692 rm -f $tmp/config.h
21696 cat >>$CONFIG_STATUS <<\_ACEOF
21699 # CONFIG_COMMANDS section.
21701 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21702 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21703 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21704 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21705 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21706 X"$ac_dest" : 'X\(//\)[^/]' \| \
21707 X"$ac_dest" : 'X\(//\)$' \| \
21708 X"$ac_dest" : 'X\(/\)' \| \
21709 . : '\(.\)' 2>/dev/null ||
21711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21713 /^X\(\/\/\)$/{ s//\1/; q; }
21714 /^X\(\/\).*/{ s//\1/; q; }
21716 { if $as_mkdir_p; then
21721 while test ! -d "$as_dir"; do
21722 as_dirs="$as_dir $as_dirs"
21723 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21725 X"$as_dir" : 'X\(//\)[^/]' \| \
21726 X"$as_dir" : 'X\(//\)$' \| \
21727 X"$as_dir" : 'X\(/\)' \| \
21728 . : '\(.\)' 2>/dev/null ||
21730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21732 /^X\(\/\/\)$/{ s//\1/; q; }
21733 /^X\(\/\).*/{ s//\1/; q; }
21736 test ! -n "$as_dirs" || mkdir $as_dirs
21737 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21738 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21739 { (exit 1); exit 1; }; }; }
21743 if test "$ac_dir" != .; then
21744 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21745 # A "../" for each directory in $ac_dir_suffix.
21746 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21748 ac_dir_suffix= ac_top_builddir=
21752 .) # No --srcdir option. We are building in place.
21754 if test -z "$ac_top_builddir"; then
21757 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21759 [\\/]* | ?:[\\/]* ) # Absolute path.
21760 ac_srcdir=$srcdir$ac_dir_suffix;
21761 ac_top_srcdir=$srcdir ;;
21762 *) # Relative path.
21763 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21764 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21767 # Do not use `cd foo && pwd` to compute absolute paths, because
21768 # the directories may not exist.
21770 .) ac_abs_builddir="$ac_dir";;
21773 .) ac_abs_builddir=`pwd`;;
21774 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21775 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21778 case $ac_abs_builddir in
21779 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21781 case ${ac_top_builddir}. in
21782 .) ac_abs_top_builddir=$ac_abs_builddir;;
21783 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21784 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21787 case $ac_abs_builddir in
21788 .) ac_abs_srcdir=$ac_srcdir;;
21791 .) ac_abs_srcdir=$ac_abs_builddir;;
21792 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21793 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21796 case $ac_abs_builddir in
21797 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21799 case $ac_top_srcdir in
21800 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21801 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21802 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21807 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21808 echo "$as_me: executing $ac_dest commands" >&6;}
21810 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21811 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21812 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21813 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21814 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21815 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21816 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21817 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21818 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21819 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21820 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21821 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21822 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21823 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21824 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21825 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21826 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21827 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21828 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21829 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21830 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21831 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21832 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21833 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21834 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21835 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21836 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
21837 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
21838 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21839 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21840 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21841 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21846 cat >>$CONFIG_STATUS <<\_ACEOF
21848 { (exit 0); exit 0; }
21850 chmod +x $CONFIG_STATUS
21851 ac_clean_files=$ac_clean_files_save
21854 # configure is writing to config.log, and then calls config.status.
21855 # config.status does its own redirection, appending to config.log.
21856 # Unfortunately, on DOS this fails, as config.log is still kept open
21857 # by configure, so config.status won't be able to write to it; its
21858 # output is simply discarded. So we exec the FD to /dev/null,
21859 # effectively closing config.log, so it can be properly (re)opened and
21860 # appended to by config.status. When coming back to configure, we
21861 # need to make the FD available again.
21862 if test "$no_create" != yes; then
21864 ac_config_status_args=
21865 test "$silent" = yes &&
21866 ac_config_status_args="$ac_config_status_args --quiet"
21868 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21871 # would make configure fail if this is the last instruction.
21872 $ac_cs_success || { (exit 1); exit 1; }
21876 if test "$have_x" = "no"
21879 echo "*** Warning: X development files not found. Wine will be built without"
21880 echo "*** X support, which currently does not work, and would probably not be"
21881 echo "*** what you want anyway. You will need to install devel packages of"
21882 echo "*** Xlib/Xfree86 at the very least."
21885 if test "$wine_cv_opengl_version_OK" = "no"
21888 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21889 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21892 if test "$wine_cv_msg_freetype" = "yes"
21895 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21896 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21897 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21898 echo "*** enable Wine to use TrueType fonts."
21902 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."