2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20041201.
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='20041201'
273 PACKAGE_STRING='Wine 20041201'
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 20041201 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 20041201:";;
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 20041201
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 20041201, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next=false
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next=true ;;
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers include/config.h"
1341 for ac_dir in tools $srcdir/tools; do
1342 if test -f $ac_dir/install-sh; then
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh; then
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool; then
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval="$with_wine_tools"
1407 WIN16_FILES="\$(WIN16_FILES)"
1409 WIN16_INSTALL="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1419 if test "x$enable_debug" = "xno"
1421 DLLDEFS="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1425 DLLDEFS="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4 >/dev/null 2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 ac_cv_build_alias=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1456 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_host_alias=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias=$ac_cv_build_alias
1469 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1478 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 if test "x$enable_win64" != "xyes"
1487 test -n "$CC" || CC="gcc -m32"
1488 test -n "$LD" || LD="ld -m elf_i386"
1489 test -n "$AS" || AS="as --32"
1494 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1495 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1496 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1497 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 cat >conftest.make <<\_ACEOF
1502 @echo 'ac_maketemp="$(MAKE)"'
1504 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1505 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1506 if test -n "$ac_maketemp"; then
1507 eval ac_cv_prog_make_${ac_make}_set=yes
1509 eval ac_cv_prog_make_${ac_make}_set=no
1513 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1514 echo "$as_me:$LINENO: result: yes" >&5
1515 echo "${ECHO_T}yes" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1520 SET_MAKE="MAKE=${MAKE-make}"
1524 ac_cpp='$CPP $CPPFLAGS'
1525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1528 if test -n "$ac_tool_prefix"; then
1529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_CC+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$CC"; then
1537 ac_cv_prog_CC="$CC" # Let the user override the test.
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir=.
1544 for ac_exec_ext in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 if test -n "$CC"; then
1557 echo "$as_me:$LINENO: result: $CC" >&5
1558 echo "${ECHO_T}$CC" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1565 if test -z "$ac_cv_prog_CC"; then
1567 # Extract the first word of "gcc", so it can be a program name with args.
1568 set dummy gcc; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$ac_ct_CC"; then
1575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir=.
1582 for ac_exec_ext in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_ac_ct_CC="gcc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1594 if test -n "$ac_ct_CC"; then
1595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1596 echo "${ECHO_T}$ac_ct_CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1607 if test -z "$CC"; then
1608 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1610 set dummy ${ac_tool_prefix}cc; ac_word=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC="$CC" # Let the user override the test.
1619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir=.
1624 for ac_exec_ext in '' $ac_executable_extensions; do
1625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626 ac_cv_prog_CC="${ac_tool_prefix}cc"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636 if test -n "$CC"; then
1637 echo "$as_me:$LINENO: result: $CC" >&5
1638 echo "${ECHO_T}$CC" >&6
1640 echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1645 if test -z "$ac_cv_prog_CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC="cc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1674 if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676 echo "${ECHO_T}$ac_ct_CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1688 if test -z "$CC"; then
1689 # Extract the first word of "cc", so it can be a program name with args.
1690 set dummy cc; ac_word=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC="$CC" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1708 ac_prog_rejected=yes
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test $ac_prog_rejected = yes; then
1719 # We found a bogon in the path, so make sure we never use it.
1720 set dummy $ac_cv_prog_CC
1722 if test $# != 0; then
1723 # We chose a different compiler from the bogus one.
1724 # However, it has the same basename, so the bogon will be chosen
1725 # first if we set CC to just the basename; use the full file name.
1727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC="$CC" # Let the user override the test.
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir=.
1761 for ac_exec_ext in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$CC" && break
1784 if test -z "$CC"; then
1788 # Extract the first word of "$ac_prog", so it can be a program name with args.
1789 set dummy $ac_prog; ac_word=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_CC"; then
1796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir=.
1803 for ac_exec_ext in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_ac_ct_CC="$ac_prog"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1815 if test -n "$ac_ct_CC"; then
1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1817 echo "${ECHO_T}$ac_ct_CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1823 test -n "$ac_ct_CC" && break
1832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: no acceptable C compiler found in \$PATH
1835 See \`config.log' for more details." >&2;}
1836 { (exit 1); exit 1; }; }
1838 # Provide some information about the compiler.
1839 echo "$as_me:$LINENO:" \
1840 "checking for C compiler version" >&5
1841 ac_compiler=`set X $ac_compile; echo $2`
1842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1843 (eval $ac_compiler --version </dev/null >&5) 2>&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }
1847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1848 (eval $ac_compiler -v </dev/null >&5) 2>&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1853 (eval $ac_compiler -V </dev/null >&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1858 cat >conftest.$ac_ext <<_ACEOF
1861 cat confdefs.h >>conftest.$ac_ext
1862 cat >>conftest.$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1873 ac_clean_files_save=$ac_clean_files
1874 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1875 # Try to create an executable without -o first, disregard a.out.
1876 # It will help us diagnose broken compilers, and finding out an intuition
1878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1880 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1882 (eval $ac_link_default) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # Find the output, starting from the most likely. This scheme is
1887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1890 # Be careful to initialize this variable, since it used to be cached.
1891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1893 # b.out is created by i960 compilers.
1894 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1896 test -f "$ac_file" || continue
1898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1901 # This is the source file.
1904 # We found the default executable, but exeext='' is most
1908 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1909 # FIXME: I believe we export ac_cv_exeext for Libtool,
1910 # but it would be cool to find out if it's true. Does anybody
1911 # maintain Libtool? --akim.
1919 echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1923 See \`config.log' for more details." >&5
1924 echo "$as_me: error: C compiler cannot create executables
1925 See \`config.log' for more details." >&2;}
1926 { (exit 77); exit 77; }; }
1929 ac_exeext=$ac_cv_exeext
1930 echo "$as_me:$LINENO: result: $ac_file" >&5
1931 echo "${ECHO_T}$ac_file" >&6
1933 # Check the compiler produces executables we can run. If not, either
1934 # the compiler is broken, or we cross compile.
1935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1938 # If not cross compiling, check that we can run a simple program.
1939 if test "$cross_compiling" != yes; then
1940 if { ac_try='./$ac_file'
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; }; then
1948 if test "$cross_compiling" = maybe; then
1951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1952 If you meant to cross compile, use \`--host'.
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot run C compiled programs.
1955 If you meant to cross compile, use \`--host'.
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1964 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1965 ac_clean_files=$ac_clean_files_save
1966 # Check the compiler produces executables we can run. If not, either
1967 # the compiler is broken, or we cross compile.
1968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1971 echo "${ECHO_T}$cross_compiling" >&6
1973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1976 (eval $ac_link) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }; then
1980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1982 # work properly (i.e., refer to `conftest.exe'), while it won't with
1984 for ac_file in conftest.exe conftest conftest.*; do
1985 test -f "$ac_file" || continue
1987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1988 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1996 See \`config.log' for more details." >&5
1997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1998 See \`config.log' for more details." >&2;}
1999 { (exit 1); exit 1; }; }
2002 rm -f conftest$ac_cv_exeext
2003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2004 echo "${ECHO_T}$ac_cv_exeext" >&6
2006 rm -f conftest.$ac_ext
2007 EXEEXT=$ac_cv_exeext
2009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2011 if test "${ac_cv_objext+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 cat >conftest.$ac_ext <<_ACEOF
2017 cat confdefs.h >>conftest.$ac_ext
2018 cat >>conftest.$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 rm -f conftest.o conftest.obj
2030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2031 (eval $ac_compile) 2>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; then
2035 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2038 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2043 echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2047 See \`config.log' for more details." >&5
2048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2049 See \`config.log' for more details." >&2;}
2050 { (exit 1); exit 1; }; }
2053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2056 echo "${ECHO_T}$ac_cv_objext" >&6
2057 OBJEXT=$ac_cv_objext
2059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.$ac_ext <<_ACEOF
2067 cat confdefs.h >>conftest.$ac_ext
2068 cat >>conftest.$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2082 rm -f conftest.$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084 (eval $ac_compile) 2>conftest.er1
2086 grep -v '^ *+' conftest.er1 >conftest.err
2088 cat conftest.err >&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; } &&
2097 { ac_try='test -s conftest.$ac_objext'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2111 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2114 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2115 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2116 GCC=`test $ac_compiler_gnu = yes && echo yes`
2117 ac_test_CFLAGS=${CFLAGS+set}
2118 ac_save_CFLAGS=$CFLAGS
2120 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2121 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2122 if test "${ac_cv_prog_cc_g+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 cat >conftest.$ac_ext <<_ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 rm -f conftest.$ac_objext
2141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142 (eval $ac_compile) 2>conftest.er1
2144 grep -v '^ *+' conftest.er1 >conftest.err
2146 cat conftest.err >&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.$ac_ext >&5
2168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2170 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2171 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2172 if test "$ac_test_CFLAGS" = set; then
2173 CFLAGS=$ac_save_CFLAGS
2174 elif test $ac_cv_prog_cc_g = yes; then
2175 if test "$GCC" = yes; then
2181 if test "$GCC" = yes; then
2187 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2188 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2189 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 ac_cv_prog_cc_stdc=no
2194 cat >conftest.$ac_ext <<_ACEOF
2197 cat confdefs.h >>conftest.$ac_ext
2198 cat >>conftest.$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2202 #include <sys/types.h>
2203 #include <sys/stat.h>
2204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2205 struct buf { int x; };
2206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2207 static char *e (p, i)
2213 static char *f (char * (*g) (char **, int), char **p, ...)
2218 s = g (p, va_arg (v,int));
2223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2224 function prototypes and stuff, but not '\xHH' hex character constants.
2225 These don't provoke an error unfortunately, instead are silently treated
2226 as 'x'. The following induces an error, until -std1 is added to get
2227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2228 array size at least. It's necessary to write '\x00'==0 to get something
2229 that's true only with -std1. */
2230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2232 int test (int i, double x);
2233 struct s1 {int (*f) (int a);};
2234 struct s2 {int (*f) (double a);};
2235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2246 # Don't try gcc -ansi; that turns off useful extensions and
2247 # breaks some systems' header files.
2248 # AIX -qlanglvl=ansi
2249 # Ultrix and OSF/1 -std1
2250 # HP-UX 10.20 and later -Ae
2251 # HP-UX older versions -Aa -D_HPUX_SOURCE
2252 # SVR4 -Xc -D__EXTENSIONS__
2253 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2255 CC="$ac_save_CC $ac_arg"
2256 rm -f conftest.$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1 >conftest.err
2262 cat conftest.err >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; } &&
2271 { ac_try='test -s conftest.$ac_objext'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2277 ac_cv_prog_cc_stdc=$ac_arg
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2284 rm -f conftest.err conftest.$ac_objext
2286 rm -f conftest.$ac_ext conftest.$ac_objext
2291 case "x$ac_cv_prog_cc_stdc" in
2293 echo "$as_me:$LINENO: result: none needed" >&5
2294 echo "${ECHO_T}none needed" >&6 ;;
2296 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2297 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2298 CC="$CC $ac_cv_prog_cc_stdc" ;;
2301 # Some people use a C++ compiler to compile C. Since we use `exit',
2302 # in C++ we need to declare it. In case someone uses the same compiler
2303 # for both compiling C and C++ we need to have the C++ compiler decide
2304 # the declaration of exit, since it's the most demanding environment.
2305 cat >conftest.$ac_ext <<_ACEOF
2310 rm -f conftest.$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1 >conftest.err
2316 cat conftest.err >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2331 for ac_declaration in \
2333 'extern "C" void std::exit (int) throw (); using std::exit;' \
2334 'extern "C" void std::exit (int); using std::exit;' \
2335 'extern "C" void exit (int) throw ();' \
2336 'extern "C" void exit (int);' \
2339 cat >conftest.$ac_ext <<_ACEOF
2342 cat confdefs.h >>conftest.$ac_ext
2343 cat >>conftest.$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2355 rm -f conftest.$ac_objext
2356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357 (eval $ac_compile) 2>conftest.er1
2359 grep -v '^ *+' conftest.er1 >conftest.err
2361 cat conftest.err >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } &&
2364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.$ac_ext >&5
2383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2384 cat >conftest.$ac_ext <<_ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 rm -f conftest.$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1 >conftest.err
2405 cat conftest.err >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2429 if test -n "$ac_declaration"; then
2430 echo '#ifdef __cplusplus' >>confdefs.h
2431 echo $ac_declaration >>confdefs.h
2432 echo '#endif' >>confdefs.h
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2442 ac_cpp='$CPP $CPPFLAGS'
2443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448 ac_cpp='$CXXCPP $CPPFLAGS'
2449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_CXX+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$CXX"; then
2463 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir=.
2470 for ac_exec_ext in '' $ac_executable_extensions; do
2471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CXX"; then
2483 echo "$as_me:$LINENO: result: $CXX" >&5
2484 echo "${ECHO_T}$CXX" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2490 test -n "$CXX" && break
2493 if test -z "$CXX"; then
2495 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy $ac_prog; ac_word=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$ac_ct_CXX"; then
2505 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_ac_ct_CXX="$ac_prog"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2524 if test -n "$ac_ct_CXX"; then
2525 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2526 echo "${ECHO_T}$ac_ct_CXX" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2532 test -n "$ac_ct_CXX" && break
2534 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO:" \
2542 "checking for C++ compiler version" >&5
2543 ac_compiler=`set X $ac_compile; echo $2`
2544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2545 (eval $ac_compiler --version </dev/null >&5) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }
2549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2550 (eval $ac_compiler -v </dev/null >&5) 2>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2555 (eval $ac_compiler -V </dev/null >&5) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2560 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2561 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2562 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 cat >conftest.$ac_ext <<_ACEOF
2568 cat confdefs.h >>conftest.$ac_ext
2569 cat >>conftest.$ac_ext <<_ACEOF
2570 /* end confdefs.h. */
2583 rm -f conftest.$ac_objext
2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 (eval $ac_compile) 2>conftest.er1
2587 grep -v '^ *+' conftest.er1 >conftest.err
2589 cat conftest.err >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); } &&
2592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; } &&
2598 { ac_try='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2617 GXX=`test $ac_compiler_gnu = yes && echo yes`
2618 ac_test_CXXFLAGS=${CXXFLAGS+set}
2619 ac_save_CXXFLAGS=$CXXFLAGS
2621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2623 if test "${ac_cv_prog_cxx_g+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.$ac_ext <<_ACEOF
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cxx_g=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2673 if test "$ac_test_CXXFLAGS" = set; then
2674 CXXFLAGS=$ac_save_CXXFLAGS
2675 elif test $ac_cv_prog_cxx_g = yes; then
2676 if test "$GXX" = yes; then
2682 if test "$GXX" = yes; then
2688 for ac_declaration in \
2690 'extern "C" void std::exit (int) throw (); using std::exit;' \
2691 'extern "C" void std::exit (int); using std::exit;' \
2692 'extern "C" void exit (int) throw ();' \
2693 'extern "C" void exit (int);' \
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2712 rm -f conftest.$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1 >conftest.err
2718 cat conftest.err >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2741 cat >conftest.$ac_ext <<_ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1 >conftest.err
2762 cat conftest.err >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; } &&
2771 { ac_try='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2786 if test -n "$ac_declaration"; then
2787 echo '#ifdef __cplusplus' >>confdefs.h
2788 echo $ac_declaration >>confdefs.h
2789 echo '#endif' >>confdefs.h
2793 ac_cpp='$CPP $CPPFLAGS'
2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$CPPBIN"; then
2807 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 CPPBIN=$ac_cv_prog_CPPBIN
2826 if test -n "$CPPBIN"; then
2827 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2828 echo "${ECHO_T}$CPPBIN" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 if test -z "$ac_cv_prog_CPPBIN"; then
2836 ac_ct_CPPBIN=$CPPBIN
2837 # Extract the first word of "cpp", so it can be a program name with args.
2838 set dummy cpp; ac_word=$2
2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2841 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$ac_ct_CPPBIN"; then
2845 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_CPPBIN="cpp"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2864 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2865 if test -n "$ac_ct_CPPBIN"; then
2866 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2867 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2873 CPPBIN=$ac_ct_CPPBIN
2875 CPPBIN="$ac_cv_prog_CPPBIN"
2879 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2880 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2881 if test "${wine_cv_toolsdir+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -z "$with_wine_tools"; then
2885 if test "$cross_compiling" = "yes"; then
2886 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2887 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2888 { (exit 1); exit 1; }; }
2890 wine_cv_toolsdir="\$(TOPOBJDIR)"
2892 elif test -d "$with_wine_tools/tools/winebuild"; then
2893 case $with_wine_tools in
2894 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2895 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2898 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2899 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2900 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2904 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2905 TOOLSDIR=$wine_cv_toolsdir
2910 ac_cpp='$CPP $CPPFLAGS'
2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2916 # On Suns, sometimes $CPP names a directory.
2917 if test -n "$CPP" && test -d "$CPP"; then
2920 if test -z "$CPP"; then
2921 if test "${ac_cv_prog_CPP+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 # Double quotes because CPP needs to be expanded
2925 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928 for ac_c_preproc_warn_flag in '' yes
2930 # Use a header file that comes with gcc, so configuring glibc
2931 # with a fresh cross-compiler works.
2932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2933 # <limits.h> exists even on freestanding compilers.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.$ac_ext <<_ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2943 # include <limits.h>
2945 # include <assert.h>
2949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1 >conftest.err
2954 cat conftest.err >&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } >/dev/null; then
2957 if test -s conftest.err; then
2958 ac_cpp_err=$ac_c_preproc_warn_flag
2959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2966 if test -z "$ac_cpp_err"; then
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2972 # Broken: fails on valid input.
2975 rm -f conftest.err conftest.$ac_ext
2977 # OK, works on sane cases. Now check whether non-existent headers
2978 # can be detected and how.
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 #include <ac_nonexistent.h>
2987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } >/dev/null; then
2995 if test -s conftest.err; then
2996 ac_cpp_err=$ac_c_preproc_warn_flag
2997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3004 if test -z "$ac_cpp_err"; then
3005 # Broken: success on invalid input.
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3011 # Passes both tests.
3015 rm -f conftest.err conftest.$ac_ext
3018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3019 rm -f conftest.err conftest.$ac_ext
3020 if $ac_preproc_ok; then
3032 echo "$as_me:$LINENO: result: $CPP" >&5
3033 echo "${ECHO_T}$CPP" >&6
3035 for ac_c_preproc_warn_flag in '' yes
3037 # Use a header file that comes with gcc, so configuring glibc
3038 # with a fresh cross-compiler works.
3039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3040 # <limits.h> exists even on freestanding compilers.
3041 # On the NeXT, cc -E runs the code through the compiler's parser,
3042 # not just through cpp. "Syntax error" is here to catch this case.
3043 cat >conftest.$ac_ext <<_ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3050 # include <limits.h>
3052 # include <assert.h>
3056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1 >conftest.err
3061 cat conftest.err >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } >/dev/null; then
3064 if test -s conftest.err; then
3065 ac_cpp_err=$ac_c_preproc_warn_flag
3066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3073 if test -z "$ac_cpp_err"; then
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.$ac_ext >&5
3079 # Broken: fails on valid input.
3082 rm -f conftest.err conftest.$ac_ext
3084 # OK, works on sane cases. Now check whether non-existent headers
3085 # can be detected and how.
3086 cat >conftest.$ac_ext <<_ACEOF
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1 >conftest.err
3099 cat conftest.err >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev/null; then
3102 if test -s conftest.err; then
3103 ac_cpp_err=$ac_c_preproc_warn_flag
3104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3111 if test -z "$ac_cpp_err"; then
3112 # Broken: success on invalid input.
3115 echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.$ac_ext >&5
3118 # Passes both tests.
3122 rm -f conftest.err conftest.$ac_ext
3125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3126 rm -f conftest.err conftest.$ac_ext
3127 if $ac_preproc_ok; then
3130 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3131 See \`config.log' for more details." >&5
3132 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3133 See \`config.log' for more details." >&2;}
3134 { (exit 1); exit 1; }; }
3138 ac_cpp='$CPP $CPPFLAGS'
3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3145 if test "x$ac_path_x_has_been_run" != xyes; then
3146 echo "$as_me:$LINENO: checking for X" >&5
3147 echo $ECHO_N "checking for X... $ECHO_C" >&6
3149 ac_path_x_has_been_run=yes
3151 # Check whether --with-x or --without-x was given.
3152 if test "${with_x+set}" = set; then
3156 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3157 if test "x$with_x" = xno; then
3158 # The user explicitly disabled X.
3161 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3162 # Both variables are already set.
3165 if test "${ac_cv_have_x+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 # One or both of the vars are not set, and there is no cached value.
3169 ac_x_includes=no ac_x_libraries=no
3171 if mkdir conftest.dir; then
3173 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3174 cat >Imakefile <<'_ACEOF'
3176 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3178 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3180 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3181 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3182 for ac_extension in a so sl; do
3183 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3184 test -f $ac_im_libdir/libX11.$ac_extension; then
3185 ac_im_usrlibdir=$ac_im_libdir; break
3188 # Screen out bogus values from the imake configuration. They are
3189 # bogus both because they are the default anyway, and because
3190 # using them would break gcc on systems where it needs fixed includes.
3191 case $ac_im_incroot in
3193 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3195 case $ac_im_usrlibdir in
3197 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3204 # Standard set of common directories for X headers.
3205 # Check X11 before X11Rn because it is often a symlink to the current release.
3217 /usr/local/X11/include
3218 /usr/local/X11R6/include
3219 /usr/local/X11R5/include
3220 /usr/local/X11R4/include
3222 /usr/local/include/X11
3223 /usr/local/include/X11R6
3224 /usr/local/include/X11R5
3225 /usr/local/include/X11R4
3229 /usr/XFree86/include/X11
3233 /usr/unsupported/include
3235 /usr/local/x11r5/include
3236 /usr/lpp/Xamples/include
3238 /usr/openwin/include
3239 /usr/openwin/share/include'
3241 if test "$ac_x_includes" = no; then
3242 # Guess where to find include files, by looking for a specified header file.
3243 # First, try using that file with no special directory specified.
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 #include <X11/Intrinsic.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev/null; then
3260 if test -s conftest.err; then
3261 ac_cpp_err=$ac_c_preproc_warn_flag
3262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3270 # We can compile using X headers with no special include directory.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3276 for ac_dir in $ac_x_header_dirs; do
3277 if test -r "$ac_dir/X11/Intrinsic.h"; then
3278 ac_x_includes=$ac_dir
3283 rm -f conftest.err conftest.$ac_ext
3284 fi # $ac_x_includes = no
3286 if test "$ac_x_libraries" = no; then
3287 # Check for the libraries.
3288 # See if we find them without any special options.
3289 # Don't add to $LIBS permanently.
3292 cat >conftest.$ac_ext <<_ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 #include <X11/Intrinsic.h>
3307 rm -f conftest.$ac_objext conftest$ac_exeext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3309 (eval $ac_link) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1 >conftest.err
3313 cat conftest.err >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try='test -s conftest$ac_exeext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3329 # We can link X programs with no special library path.
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3338 # Don't even attempt the hair of trying to link an X program!
3339 for ac_extension in a so sl; do
3340 if test -r $ac_dir/libXt.$ac_extension; then
3341 ac_x_libraries=$ac_dir
3347 rm -f conftest.err conftest.$ac_objext \
3348 conftest$ac_exeext conftest.$ac_ext
3349 fi # $ac_x_libraries = no
3351 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3352 # Didn't find X anywhere. Cache the known absence of X.
3353 ac_cv_have_x="have_x=no"
3355 # Record where we found X for the cache.
3356 ac_cv_have_x="have_x=yes \
3357 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3362 eval "$ac_cv_have_x"
3365 if test "$have_x" != yes; then
3366 echo "$as_me:$LINENO: result: $have_x" >&5
3367 echo "${ECHO_T}$have_x" >&6
3370 # If each of the values was on the command line, it overrides each guess.
3371 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3372 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3373 # Update the cache value to reflect the command line values.
3374 ac_cv_have_x="have_x=yes \
3375 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3376 # It might be that x_includes is empty (headers are found in the
3377 # standard search path. Then output the corresponding message
3378 ac_out_x_includes=$x_includes
3379 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3380 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3381 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3385 if test "$no_x" = yes; then
3386 # Not all programs may use this symbol, but it does not hurt to define it.
3388 cat >>confdefs.h <<\_ACEOF
3389 #define X_DISPLAY_MISSING 1
3392 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3394 if test -n "$x_includes"; then
3395 X_CFLAGS="$X_CFLAGS -I$x_includes"
3398 # It would also be nice to do this for all -L options, not just this one.
3399 if test -n "$x_libraries"; then
3400 X_LIBS="$X_LIBS -L$x_libraries"
3401 # For Solaris; some versions of Sun CC require a space after -R and
3402 # others require no space. Words are not sufficient . . . .
3403 case `(uname -sr) 2>/dev/null` in
3405 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3406 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3407 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3408 cat >conftest.$ac_ext <<_ACEOF
3411 cat confdefs.h >>conftest.$ac_ext
3412 cat >>conftest.$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3423 rm -f conftest.$ac_objext conftest$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1 >conftest.err
3429 cat conftest.err >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } &&
3432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; } &&
3438 { ac_try='test -s conftest$ac_exeext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3451 rm -f conftest.err conftest.$ac_objext \
3452 conftest$ac_exeext conftest.$ac_ext
3453 if test $ac_R_nospace = yes; then
3454 echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3456 X_LIBS="$X_LIBS -R$x_libraries"
3458 LIBS="$ac_xsave_LIBS -R $x_libraries"
3459 cat >conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.$ac_objext conftest$ac_exeext
3475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3476 (eval $ac_link) 2>conftest.er1
3478 grep -v '^ *+' conftest.er1 >conftest.err
3480 cat conftest.err >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } &&
3483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try='test -s conftest$ac_exeext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3502 rm -f conftest.err conftest.$ac_objext \
3503 conftest$ac_exeext conftest.$ac_ext
3504 if test $ac_R_space = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3507 X_LIBS="$X_LIBS -R $x_libraries"
3509 echo "$as_me:$LINENO: result: neither works" >&5
3510 echo "${ECHO_T}neither works" >&6
3517 # Check for system-dependent libraries X programs must link with.
3518 # Do this before checking for the system-independent R6 libraries
3519 # (-lICE), since we may need -lsocket or whatever for X linking.
3521 if test "$ISC" = yes; then
3522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3524 # Martyn Johnson says this is needed for Ultrix, if the X
3525 # libraries were built with DECnet support. And Karl Berry says
3526 # the Alpha needs dnet_stub (dnet does not exist).
3527 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3528 cat >conftest.$ac_ext <<_ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3535 /* Override any gcc2 internal prototype to avoid an error. */
3539 /* We use char because int might match the return type of a gcc2
3540 builtin and then its argument prototype would still apply. */
3541 char XOpenDisplay ();
3550 rm -f conftest.$ac_objext conftest$ac_exeext
3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3552 (eval $ac_link) 2>conftest.er1
3554 grep -v '^ *+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } &&
3559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try='test -s conftest$ac_exeext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3576 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3577 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3578 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_check_lib_save_LIBS=$LIBS
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 /* Override any gcc2 internal prototype to avoid an error. */
3594 /* We use char because int might match the return type of a gcc2
3595 builtin and then its argument prototype would still apply. */
3605 rm -f conftest.$ac_objext conftest$ac_exeext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607 (eval $ac_link) 2>conftest.er1
3609 grep -v '^ *+' conftest.er1 >conftest.err
3611 cat conftest.err >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try='test -s conftest$ac_exeext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 ac_cv_lib_dnet_dnet_ntoa=yes
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3631 ac_cv_lib_dnet_dnet_ntoa=no
3633 rm -f conftest.err conftest.$ac_objext \
3634 conftest$ac_exeext conftest.$ac_ext
3635 LIBS=$ac_check_lib_save_LIBS
3637 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3638 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3639 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3640 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3643 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3644 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3645 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3646 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 ac_check_lib_save_LIBS=$LIBS
3650 LIBS="-ldnet_stub $LIBS"
3651 cat >conftest.$ac_ext <<_ACEOF
3654 cat confdefs.h >>conftest.$ac_ext
3655 cat >>conftest.$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3658 /* Override any gcc2 internal prototype to avoid an error. */
3662 /* We use char because int might match the return type of a gcc2
3663 builtin and then its argument prototype would still apply. */
3673 rm -f conftest.$ac_objext conftest$ac_exeext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1 >conftest.err
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try='test -s conftest$ac_exeext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3694 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3699 ac_cv_lib_dnet_stub_dnet_ntoa=no
3701 rm -f conftest.err conftest.$ac_objext \
3702 conftest$ac_exeext conftest.$ac_ext
3703 LIBS=$ac_check_lib_save_LIBS
3705 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3706 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3707 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3708 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3713 rm -f conftest.err conftest.$ac_objext \
3714 conftest$ac_exeext conftest.$ac_ext
3715 LIBS="$ac_xsave_LIBS"
3717 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3718 # to get the SysV transport functions.
3719 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3721 # The nsl library prevents programs from opening the X display
3722 # on Irix 5.2, according to T.E. Dickey.
3723 # The functions gethostbyname, getservbyname, and inet_addr are
3724 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3725 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3726 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3727 if test "${ac_cv_func_gethostbyname+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.$ac_ext <<_ACEOF
3733 cat confdefs.h >>conftest.$ac_ext
3734 cat >>conftest.$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3738 #define gethostbyname innocuous_gethostbyname
3740 /* System header to define __stub macros and hopefully few prototypes,
3741 which can conflict with char gethostbyname (); below.
3742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3743 <limits.h> exists even on freestanding compilers. */
3746 # include <limits.h>
3748 # include <assert.h>
3751 #undef gethostbyname
3753 /* Override any gcc2 internal prototype to avoid an error. */
3758 /* We use char because int might match the return type of a gcc2
3759 builtin and then its argument prototype would still apply. */
3760 char gethostbyname ();
3761 /* The GNU C library defines this for functions which it implements
3762 to always fail with ENOSYS. Some functions are actually named
3763 something starting with __ and the normal name is an alias. */
3764 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3767 char (*f) () = gethostbyname;
3776 return f != gethostbyname;
3781 rm -f conftest.$ac_objext conftest$ac_exeext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3783 (eval $ac_link) 2>conftest.er1
3785 grep -v '^ *+' conftest.er1 >conftest.err
3787 cat conftest.err >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; } &&
3796 { ac_try='test -s conftest$ac_exeext'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 ac_cv_func_gethostbyname=yes
3804 echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.$ac_ext >&5
3807 ac_cv_func_gethostbyname=no
3809 rm -f conftest.err conftest.$ac_objext \
3810 conftest$ac_exeext conftest.$ac_ext
3812 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3813 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3815 if test $ac_cv_func_gethostbyname = no; then
3816 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3817 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3818 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 ac_check_lib_save_LIBS=$LIBS
3823 cat >conftest.$ac_ext <<_ACEOF
3826 cat confdefs.h >>conftest.$ac_ext
3827 cat >>conftest.$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3830 /* Override any gcc2 internal prototype to avoid an error. */
3834 /* We use char because int might match the return type of a gcc2
3835 builtin and then its argument prototype would still apply. */
3836 char gethostbyname ();
3845 rm -f conftest.$ac_objext conftest$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1 >conftest.err
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try='test -s conftest$ac_exeext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 ac_cv_lib_nsl_gethostbyname=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3871 ac_cv_lib_nsl_gethostbyname=no
3873 rm -f conftest.err conftest.$ac_objext \
3874 conftest$ac_exeext conftest.$ac_ext
3875 LIBS=$ac_check_lib_save_LIBS
3877 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3878 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3879 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3880 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3883 if test $ac_cv_lib_nsl_gethostbyname = no; then
3884 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3885 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3886 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 ac_check_lib_save_LIBS=$LIBS
3891 cat >conftest.$ac_ext <<_ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3898 /* Override any gcc2 internal prototype to avoid an error. */
3902 /* We use char because int might match the return type of a gcc2
3903 builtin and then its argument prototype would still apply. */
3904 char gethostbyname ();
3913 rm -f conftest.$ac_objext conftest$ac_exeext
3914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3915 (eval $ac_link) 2>conftest.er1
3917 grep -v '^ *+' conftest.er1 >conftest.err
3919 cat conftest.err >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } &&
3922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3928 { ac_try='test -s conftest$ac_exeext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_cv_lib_bsd_gethostbyname=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3939 ac_cv_lib_bsd_gethostbyname=no
3941 rm -f conftest.err conftest.$ac_objext \
3942 conftest$ac_exeext conftest.$ac_ext
3943 LIBS=$ac_check_lib_save_LIBS
3945 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3946 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3947 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3948 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3954 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3955 # socket/setsockopt and other routines are undefined under SCO ODT
3956 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3957 # on later versions), says Simon Leinen: it contains gethostby*
3958 # variants that don't use the name server (or something). -lsocket
3959 # must be given before -lnsl if both are needed. We assume that
3960 # if connect needs -lnsl, so does gethostbyname.
3961 echo "$as_me:$LINENO: checking for connect" >&5
3962 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3963 if test "${ac_cv_func_connect+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 cat >conftest.$ac_ext <<_ACEOF
3969 cat confdefs.h >>conftest.$ac_ext
3970 cat >>conftest.$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3974 #define connect innocuous_connect
3976 /* System header to define __stub macros and hopefully few prototypes,
3977 which can conflict with char connect (); below.
3978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3979 <limits.h> exists even on freestanding compilers. */
3982 # include <limits.h>
3984 # include <assert.h>
3989 /* Override any gcc2 internal prototype to avoid an error. */
3994 /* We use char because int might match the return type of a gcc2
3995 builtin and then its argument prototype would still apply. */
3997 /* The GNU C library defines this for functions which it implements
3998 to always fail with ENOSYS. Some functions are actually named
3999 something starting with __ and the normal name is an alias. */
4000 #if defined (__stub_connect) || defined (__stub___connect)
4003 char (*f) () = connect;
4012 return f != connect;
4017 rm -f conftest.$ac_objext conftest$ac_exeext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4019 (eval $ac_link) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1 >conftest.err
4023 cat conftest.err >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try='test -s conftest$ac_exeext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_cv_func_connect=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 ac_cv_func_connect=no
4045 rm -f conftest.err conftest.$ac_objext \
4046 conftest$ac_exeext conftest.$ac_ext
4048 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4049 echo "${ECHO_T}$ac_cv_func_connect" >&6
4051 if test $ac_cv_func_connect = no; then
4052 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4053 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4054 if test "${ac_cv_lib_socket_connect+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 ac_check_lib_save_LIBS=$LIBS
4058 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4059 cat >conftest.$ac_ext <<_ACEOF
4062 cat confdefs.h >>conftest.$ac_ext
4063 cat >>conftest.$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4066 /* Override any gcc2 internal prototype to avoid an error. */
4070 /* We use char because int might match the return type of a gcc2
4071 builtin and then its argument prototype would still apply. */
4081 rm -f conftest.$ac_objext conftest$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083 (eval $ac_link) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1 >conftest.err
4087 cat conftest.err >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try='test -s conftest$ac_exeext'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; }; then
4102 ac_cv_lib_socket_connect=yes
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4107 ac_cv_lib_socket_connect=no
4109 rm -f conftest.err conftest.$ac_objext \
4110 conftest$ac_exeext conftest.$ac_ext
4111 LIBS=$ac_check_lib_save_LIBS
4113 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4115 if test $ac_cv_lib_socket_connect = yes; then
4116 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4121 # Guillermo Gomez says -lposix is necessary on A/UX.
4122 echo "$as_me:$LINENO: checking for remove" >&5
4123 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4124 if test "${ac_cv_func_remove+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 cat >conftest.$ac_ext <<_ACEOF
4130 cat confdefs.h >>conftest.$ac_ext
4131 cat >>conftest.$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4135 #define remove innocuous_remove
4137 /* System header to define __stub macros and hopefully few prototypes,
4138 which can conflict with char remove (); below.
4139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140 <limits.h> exists even on freestanding compilers. */
4143 # include <limits.h>
4145 # include <assert.h>
4150 /* Override any gcc2 internal prototype to avoid an error. */
4155 /* We use char because int might match the return type of a gcc2
4156 builtin and then its argument prototype would still apply. */
4158 /* The GNU C library defines this for functions which it implements
4159 to always fail with ENOSYS. Some functions are actually named
4160 something starting with __ and the normal name is an alias. */
4161 #if defined (__stub_remove) || defined (__stub___remove)
4164 char (*f) () = remove;
4178 rm -f conftest.$ac_objext conftest$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180 (eval $ac_link) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1 >conftest.err
4184 cat conftest.err >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; } &&
4193 { ac_try='test -s conftest$ac_exeext'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4199 ac_cv_func_remove=yes
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 ac_cv_func_remove=no
4206 rm -f conftest.err conftest.$ac_objext \
4207 conftest$ac_exeext conftest.$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4210 echo "${ECHO_T}$ac_cv_func_remove" >&6
4212 if test $ac_cv_func_remove = no; then
4213 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4214 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4215 if test "${ac_cv_lib_posix_remove+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 ac_check_lib_save_LIBS=$LIBS
4219 LIBS="-lposix $LIBS"
4220 cat >conftest.$ac_ext <<_ACEOF
4223 cat confdefs.h >>conftest.$ac_ext
4224 cat >>conftest.$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4227 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4242 rm -f conftest.$ac_objext conftest$ac_exeext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4244 (eval $ac_link) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1 >conftest.err
4248 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; } &&
4257 { ac_try='test -s conftest$ac_exeext'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then
4263 ac_cv_lib_posix_remove=yes
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 ac_cv_lib_posix_remove=no
4270 rm -f conftest.err conftest.$ac_objext \
4271 conftest$ac_exeext conftest.$ac_ext
4272 LIBS=$ac_check_lib_save_LIBS
4274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4275 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4276 if test $ac_cv_lib_posix_remove = yes; then
4277 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4282 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4283 echo "$as_me:$LINENO: checking for shmat" >&5
4284 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4285 if test "${ac_cv_func_shmat+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 cat >conftest.$ac_ext <<_ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4294 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4296 #define shmat innocuous_shmat
4298 /* System header to define __stub macros and hopefully few prototypes,
4299 which can conflict with char shmat (); below.
4300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4301 <limits.h> exists even on freestanding compilers. */
4304 # include <limits.h>
4306 # include <assert.h>
4311 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_shmat) || defined (__stub___shmat)
4325 char (*f) () = shmat;
4339 rm -f conftest.$ac_objext conftest$ac_exeext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4341 (eval $ac_link) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1 >conftest.err
4345 cat conftest.err >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try='test -s conftest$ac_exeext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_cv_func_shmat=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4367 rm -f conftest.err conftest.$ac_objext \
4368 conftest$ac_exeext conftest.$ac_ext
4370 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4371 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4373 if test $ac_cv_func_shmat = no; then
4374 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4375 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4376 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 ac_check_lib_save_LIBS=$LIBS
4381 cat >conftest.$ac_ext <<_ACEOF
4384 cat confdefs.h >>conftest.$ac_ext
4385 cat >>conftest.$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4388 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4403 rm -f conftest.$ac_objext conftest$ac_exeext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4405 (eval $ac_link) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 ac_cv_lib_ipc_shmat=yes
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.$ac_ext >&5
4429 ac_cv_lib_ipc_shmat=no
4431 rm -f conftest.err conftest.$ac_objext \
4432 conftest$ac_exeext conftest.$ac_ext
4433 LIBS=$ac_check_lib_save_LIBS
4435 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4436 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4437 if test $ac_cv_lib_ipc_shmat = yes; then
4438 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4444 # Check for libraries that X11R6 Xt/Xaw programs need.
4445 ac_save_LDFLAGS=$LDFLAGS
4446 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4447 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4448 # check for ICE first), but we must link in the order -lSM -lICE or
4449 # we get undefined symbols. So assume we have SM if we have ICE.
4450 # These have to be linked with before -lX11, unlike the other
4451 # libraries we check for below, so use a different variable.
4452 # John Interrante, Karl Berry
4453 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4454 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4455 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 ac_check_lib_save_LIBS=$LIBS
4459 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4460 cat >conftest.$ac_ext <<_ACEOF
4463 cat confdefs.h >>conftest.$ac_ext
4464 cat >>conftest.$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4467 /* Override any gcc2 internal prototype to avoid an error. */
4471 /* We use char because int might match the return type of a gcc2
4472 builtin and then its argument prototype would still apply. */
4473 char IceConnectionNumber ();
4477 IceConnectionNumber ();
4482 rm -f conftest.$ac_objext conftest$ac_exeext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4484 (eval $ac_link) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1 >conftest.err
4488 cat conftest.err >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try='test -s conftest$ac_exeext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_cv_lib_ICE_IceConnectionNumber=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.$ac_ext >&5
4508 ac_cv_lib_ICE_IceConnectionNumber=no
4510 rm -f conftest.err conftest.$ac_objext \
4511 conftest$ac_exeext conftest.$ac_ext
4512 LIBS=$ac_check_lib_save_LIBS
4514 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4515 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4516 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4517 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4520 LDFLAGS=$ac_save_LDFLAGS
4524 for ac_prog in flex lex
4526 # Extract the first word of "$ac_prog", so it can be a program name with args.
4527 set dummy $ac_prog; ac_word=$2
4528 echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4530 if test "${ac_cv_prog_LEX+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$LEX"; then
4534 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir=.
4541 for ac_exec_ext in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_LEX="$ac_prog"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$LEX"; then
4554 echo "$as_me:$LINENO: result: $LEX" >&5
4555 echo "${ECHO_T}$LEX" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 test -n "$LEX" && break
4563 test -n "$LEX" || LEX=":"
4565 if test -z "$LEXLIB"
4567 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4568 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4569 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS=$LIBS
4574 cat >conftest.$ac_ext <<_ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any gcc2 internal prototype to avoid an error. */
4585 /* We use char because int might match the return type of a gcc2
4586 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4598 (eval $ac_link) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1 >conftest.err
4602 cat conftest.err >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_lib_fl_yywrap=yes
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.$ac_ext >&5
4622 ac_cv_lib_fl_yywrap=no
4624 rm -f conftest.err conftest.$ac_objext \
4625 conftest$ac_exeext conftest.$ac_ext
4626 LIBS=$ac_check_lib_save_LIBS
4628 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4629 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4630 if test $ac_cv_lib_fl_yywrap = yes; then
4633 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4634 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4635 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS=$LIBS
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4662 rm -f conftest.$ac_objext conftest$ac_exeext
4663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664 (eval $ac_link) 2>conftest.er1
4666 grep -v '^ *+' conftest.er1 >conftest.err
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; } &&
4677 { ac_try='test -s conftest$ac_exeext'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4683 ac_cv_lib_l_yywrap=yes
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 ac_cv_lib_l_yywrap=no
4690 rm -f conftest.err conftest.$ac_objext \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4695 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4696 if test $ac_cv_lib_l_yywrap = yes; then
4704 if test "x$LEX" != "x:"; then
4705 echo "$as_me:$LINENO: checking lex output file root" >&5
4706 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4707 if test "${ac_cv_prog_lex_root+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 # The minimal lex program is just a single line: %%. But some broken lexes
4711 # (Solaris, I think it was) want two %% lines, so accommodate them.
4712 cat >conftest.l <<_ACEOF
4716 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4717 (eval $LEX conftest.l) 2>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }
4721 if test -f lex.yy.c; then
4722 ac_cv_prog_lex_root=lex.yy
4723 elif test -f lexyy.c; then
4724 ac_cv_prog_lex_root=lexyy
4726 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4727 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4728 { (exit 1); exit 1; }; }
4731 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4732 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4734 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4736 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4737 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4738 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 # POSIX says lex can declare yytext either as a pointer or an array; the
4742 # default is implementation-dependent. Figure out which it is, since
4743 # not all implementations provide the %pointer and %array declarations.
4744 ac_cv_prog_lex_yytext_pointer=no
4745 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4747 LIBS="$LIBS $LEXLIB"
4748 cat >conftest.$ac_ext <<_ACEOF
4749 `cat $LEX_OUTPUT_ROOT.c`
4751 rm -f conftest.$ac_objext conftest$ac_exeext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4753 (eval $ac_link) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1 >conftest.err
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; } &&
4766 { ac_try='test -s conftest$ac_exeext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4772 ac_cv_prog_lex_yytext_pointer=yes
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4778 rm -f conftest.err conftest.$ac_objext \
4779 conftest$ac_exeext conftest.$ac_ext
4781 rm -f "${LEX_OUTPUT_ROOT}.c"
4784 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4785 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4786 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4788 cat >>confdefs.h <<\_ACEOF
4789 #define YYTEXT_POINTER 1
4796 for ac_prog in $LEX flex lex
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy $ac_prog; ac_word=$2
4800 echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802 if test "${ac_cv_prog_XLEX+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -n "$XLEX"; then
4806 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_XLEX="$ac_prog"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 XLEX=$ac_cv_prog_XLEX
4825 if test -n "$XLEX"; then
4826 echo "$as_me:$LINENO: result: $XLEX" >&5
4827 echo "${ECHO_T}$XLEX" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4833 test -n "$XLEX" && break
4835 test -n "$XLEX" || XLEX="none"
4837 if test "$XLEX" = "none"
4839 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4840 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4841 { (exit 1); exit 1; }; }
4844 for ac_prog in bison
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 echo "$as_me:$LINENO: checking for $ac_word" >&5
4849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4850 if test "${ac_cv_prog_BISON+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 if test -n "$BISON"; then
4854 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_BISON="$ac_prog"
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 BISON=$ac_cv_prog_BISON
4873 if test -n "$BISON"; then
4874 echo "$as_me:$LINENO: result: $BISON" >&5
4875 echo "${ECHO_T}$BISON" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4881 test -n "$BISON" && break
4883 test -n "$BISON" || BISON="none"
4885 if test "$BISON" = "none"
4887 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4888 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4889 { (exit 1); exit 1; }; }
4892 if test -n "$ac_tool_prefix"; then
4893 for ac_prog in gas as
4895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4897 echo "$as_me:$LINENO: checking for $ac_word" >&5
4898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899 if test "${ac_cv_prog_AS+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 if test -n "$AS"; then
4903 ac_cv_prog_AS="$AS" # Let the user override the test.
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 if test -n "$AS"; then
4923 echo "$as_me:$LINENO: result: $AS" >&5
4924 echo "${ECHO_T}$AS" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4930 test -n "$AS" && break
4933 if test -z "$AS"; then
4935 for ac_prog in gas as
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy $ac_prog; ac_word=$2
4939 echo "$as_me:$LINENO: checking for $ac_word" >&5
4940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4941 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 if test -n "$ac_ct_AS"; then
4945 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_AS="$ac_prog"
4955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4966 echo "${ECHO_T}$ac_ct_AS" >&6
4968 echo "$as_me:$LINENO: result: no" >&5
4969 echo "${ECHO_T}no" >&6
4972 test -n "$ac_ct_AS" && break
4974 test -n "$ac_ct_AS" || ac_ct_AS="as"
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}ld; ac_word=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_LD+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$LD"; then
4988 ac_cv_prog_LD="$LD" # Let the user override the test.
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_LD="${ac_tool_prefix}ld"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 if test -n "$LD"; then
5008 echo "$as_me:$LINENO: result: $LD" >&5
5009 echo "${ECHO_T}$LD" >&6
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5016 if test -z "$ac_cv_prog_LD"; then
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld; ac_word=$2
5020 echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5022 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD="ld"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5045 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5048 echo "${ECHO_T}$ac_ct_LD" >&6
5050 echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6
5059 if test -n "$ac_tool_prefix"; then
5060 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5061 set dummy ${ac_tool_prefix}ar; ac_word=$2
5062 echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 if test "${ac_cv_prog_AR+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -n "$AR"; then
5068 ac_cv_prog_AR="$AR" # Let the user override the test.
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir=.
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_AR="${ac_tool_prefix}ar"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 if test -n "$AR"; then
5088 echo "$as_me:$LINENO: result: $AR" >&5
5089 echo "${ECHO_T}$AR" >&6
5091 echo "$as_me:$LINENO: result: no" >&5
5092 echo "${ECHO_T}no" >&6
5096 if test -z "$ac_cv_prog_AR"; then
5098 # Extract the first word of "ar", so it can be a program name with args.
5099 set dummy ar; ac_word=$2
5100 echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5102 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$ac_ct_AR"; then
5106 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_ac_ct_AR="ar"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5125 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5126 if test -n "$ac_ct_AR"; then
5127 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5128 echo "${ECHO_T}$ac_ct_AR" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5142 echo "$as_me:$LINENO: checking for $ac_word" >&5
5143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 RANLIB=$ac_cv_prog_RANLIB
5167 if test -n "$RANLIB"; then
5168 echo "$as_me:$LINENO: result: $RANLIB" >&5
5169 echo "${ECHO_T}$RANLIB" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5176 if test -z "$ac_cv_prog_RANLIB"; then
5177 ac_ct_RANLIB=$RANLIB
5178 # Extract the first word of "ranlib", so it can be a program name with args.
5179 set dummy ranlib; ac_word=$2
5180 echo "$as_me:$LINENO: checking for $ac_word" >&5
5181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 if test -n "$ac_ct_RANLIB"; then
5186 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_RANLIB="ranlib"
5196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5205 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5206 if test -n "$ac_ct_RANLIB"; then
5207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5214 RANLIB=$ac_ct_RANLIB
5216 RANLIB="$ac_cv_prog_RANLIB"
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}strip; ac_word=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 STRIP=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip; ac_word=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 STRIP="$ac_cv_prog_STRIP"
5299 if test -n "$ac_tool_prefix"; then
5300 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5301 set dummy ${ac_tool_prefix}windres; ac_word=$2
5302 echo "$as_me:$LINENO: checking for $ac_word" >&5
5303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5304 if test "${ac_cv_prog_WINDRES+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 if test -n "$WINDRES"; then
5308 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir=.
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 WINDRES=$ac_cv_prog_WINDRES
5327 if test -n "$WINDRES"; then
5328 echo "$as_me:$LINENO: result: $WINDRES" >&5
5329 echo "${ECHO_T}$WINDRES" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5336 if test -z "$ac_cv_prog_WINDRES"; then
5337 ac_ct_WINDRES=$WINDRES
5338 # Extract the first word of "windres", so it can be a program name with args.
5339 set dummy windres; ac_word=$2
5340 echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5342 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_WINDRES"; then
5346 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_ac_ct_WINDRES="windres"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5365 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5366 if test -n "$ac_ct_WINDRES"; then
5367 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5368 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5374 WINDRES=$ac_ct_WINDRES
5376 WINDRES="$ac_cv_prog_WINDRES"
5379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5382 if test "$LN_S" = "ln -s"; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5387 echo "${ECHO_T}no, using $LN_S" >&6
5390 echo "$as_me:$LINENO: checking whether ln works" >&5
5391 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5392 rm -f conf$$ conf$$.file
5394 if ln conf$$.file conf$$ 2>/dev/null; then
5397 echo "$as_me:$LINENO: result: yes" >&5
5398 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no, using $LN" >&5
5403 echo "${ECHO_T}no, using $LN" >&6
5405 rm -f conf$$ conf$$.file
5406 echo "$as_me:$LINENO: checking for egrep" >&5
5407 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5408 if test "${ac_cv_prog_egrep+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5412 then ac_cv_prog_egrep='grep -E'
5413 else ac_cv_prog_egrep='egrep'
5416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5418 EGREP=$ac_cv_prog_egrep
5421 # Extract the first word of "ldconfig", so it can be a program name with args.
5422 set dummy ldconfig; ac_word=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in /sbin /usr/sbin $PATH
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5451 LDCONFIG=$ac_cv_path_LDCONFIG
5453 if test -n "$LDCONFIG"; then
5454 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5455 echo "${ECHO_T}$LDCONFIG" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5461 # Find a good install program. We prefer a C program (faster),
5462 # so one script is as good as another. But avoid the broken or
5463 # incompatible versions:
5464 # SysV /etc/install, /usr/sbin/install
5465 # SunOS /usr/etc/install
5466 # IRIX /sbin/install
5468 # AmigaOS /C/install, which installs bootblocks on floppy discs
5469 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5470 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5471 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5472 # OS/2's system install, which has a completely different semantic
5473 # ./install, which can be erroneously created by make from ./install.sh.
5474 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5475 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5476 if test -z "$INSTALL"; then
5477 if test "${ac_cv_path_install+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir=.
5485 # Account for people who put trailing slashes in PATH elements.
5487 ./ | .// | /cC/* | \
5488 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5489 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5492 # OSF1 and SCO ODT 3.0 have their own names for install.
5493 # Don't use installbsd from OSF since it installs stuff as root
5495 for ac_prog in ginstall scoinst install; do
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5498 if test $ac_prog = install &&
5499 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5500 # AIX install. It has an incompatible calling convention.
5502 elif test $ac_prog = install &&
5503 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5504 # program-specific install script used by HP pwplus--don't use.
5507 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5519 if test "${ac_cv_path_install+set}" = set; then
5520 INSTALL=$ac_cv_path_install
5522 # As a last resort, use the slow shell script. We don't cache a
5523 # path for INSTALL within a source directory, because that will
5524 # break other packages using the cache if that directory is
5525 # removed, or if the path is relative.
5526 INSTALL=$ac_install_sh
5529 echo "$as_me:$LINENO: result: $INSTALL" >&5
5530 echo "${ECHO_T}$INSTALL" >&6
5532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5533 # It thinks the first close brace ends the variable substitution.
5534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5538 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5541 [\\/$]* | ?:[\\/]* ) ;;
5542 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5545 for ac_prog in lclint lint
5547 # Extract the first word of "$ac_prog", so it can be a program name with args.
5548 set dummy $ac_prog; ac_word=$2
5549 echo "$as_me:$LINENO: checking for $ac_word" >&5
5550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5551 if test "${ac_cv_prog_LINT+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 if test -n "$LINT"; then
5555 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_LINT="$ac_prog"
5565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 LINT=$ac_cv_prog_LINT
5574 if test -n "$LINT"; then
5575 echo "$as_me:$LINENO: result: $LINT" >&5
5576 echo "${ECHO_T}$LINT" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5582 test -n "$LINT" && break
5585 if test "$LINT" = "lint"
5587 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5592 for ac_prog in docbook2html db2html
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy $ac_prog; ac_word=$2
5596 echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5598 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$DB2HTML"; then
5602 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_DB2HTML="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 DB2HTML=$ac_cv_prog_DB2HTML
5621 if test -n "$DB2HTML"; then
5622 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5623 echo "${ECHO_T}$DB2HTML" >&6
5625 echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6
5629 test -n "$DB2HTML" && break
5631 test -n "$DB2HTML" || DB2HTML="false"
5633 for ac_prog in docbook2pdf db2pdf
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy $ac_prog; ac_word=$2
5637 echo "$as_me:$LINENO: checking for $ac_word" >&5
5638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5639 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 if test -n "$DB2PDF"; then
5643 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_DB2PDF="$ac_prog"
5653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 DB2PDF=$ac_cv_prog_DB2PDF
5662 if test -n "$DB2PDF"; then
5663 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5664 echo "${ECHO_T}$DB2PDF" >&6
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5670 test -n "$DB2PDF" && break
5672 test -n "$DB2PDF" || DB2PDF="false"
5674 for ac_prog in docbook2ps db2ps
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5680 if test "${ac_cv_prog_DB2PS+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$DB2PS"; then
5684 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_DB2PS="$ac_prog"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 DB2PS=$ac_cv_prog_DB2PS
5703 if test -n "$DB2PS"; then
5704 echo "$as_me:$LINENO: result: $DB2PS" >&5
5705 echo "${ECHO_T}$DB2PS" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5711 test -n "$DB2PS" && break
5713 test -n "$DB2PS" || DB2PS="false"
5715 for ac_prog in docbook2txt db2txt
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy $ac_prog; ac_word=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$DB2TXT"; then
5725 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_DB2TXT="$ac_prog"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 DB2TXT=$ac_cv_prog_DB2TXT
5744 if test -n "$DB2TXT"; then
5745 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5746 echo "${ECHO_T}$DB2TXT" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5752 test -n "$DB2TXT" && break
5754 test -n "$DB2TXT" || DB2TXT="false"
5756 for ac_prog in fontforge
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy $ac_prog; ac_word=$2
5760 echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5762 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$FONTFORGE"; then
5766 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir=.
5773 for ac_exec_ext in '' $ac_executable_extensions; do
5774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_FONTFORGE="$ac_prog"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 FONTFORGE=$ac_cv_prog_FONTFORGE
5785 if test -n "$FONTFORGE"; then
5786 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5787 echo "${ECHO_T}$FONTFORGE" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 test -n "$FONTFORGE" && break
5795 test -n "$FONTFORGE" || FONTFORGE="false"
5800 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5801 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5802 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_check_lib_save_LIBS=$LIBS
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 /* Override any gcc2 internal prototype to avoid an error. */
5818 /* We use char because int might match the return type of a gcc2
5819 builtin and then its argument prototype would still apply. */
5820 char i386_set_ldt ();
5829 rm -f conftest.$ac_objext conftest$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1 >conftest.err
5835 cat conftest.err >&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; } &&
5844 { ac_try='test -s conftest$ac_exeext'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; }; then
5850 ac_cv_lib_i386_i386_set_ldt=yes
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.$ac_ext >&5
5855 ac_cv_lib_i386_i386_set_ldt=no
5857 rm -f conftest.err conftest.$ac_objext \
5858 conftest$ac_exeext conftest.$ac_ext
5859 LIBS=$ac_check_lib_save_LIBS
5861 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5862 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5863 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5864 cat >>confdefs.h <<_ACEOF
5865 #define HAVE_LIBI386 1
5873 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5874 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5875 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_check_lib_save_LIBS=$LIBS
5879 LIBS="-lossaudio $LIBS"
5880 cat >conftest.$ac_ext <<_ACEOF
5883 cat confdefs.h >>conftest.$ac_ext
5884 cat >>conftest.$ac_ext <<_ACEOF
5885 /* end confdefs.h. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5891 /* We use char because int might match the return type of a gcc2
5892 builtin and then its argument prototype would still apply. */
5902 rm -f conftest.$ac_objext conftest$ac_exeext
5903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904 (eval $ac_link) 2>conftest.er1
5906 grep -v '^ *+' conftest.er1 >conftest.err
5908 cat conftest.err >&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } &&
5911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try='test -s conftest$ac_exeext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; }; then
5923 ac_cv_lib_ossaudio__oss_ioctl=yes
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.$ac_ext >&5
5928 ac_cv_lib_ossaudio__oss_ioctl=no
5930 rm -f conftest.err conftest.$ac_objext \
5931 conftest$ac_exeext conftest.$ac_ext
5932 LIBS=$ac_check_lib_save_LIBS
5934 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5935 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5936 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5937 cat >>confdefs.h <<_ACEOF
5938 #define HAVE_LIBOSSAUDIO 1
5941 LIBS="-lossaudio $LIBS"
5946 for ac_func in iswalnum
5948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5949 echo "$as_me:$LINENO: checking for $ac_func" >&5
5950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5951 if eval "test \"\${$as_ac_var+set}\" = set"; then
5952 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 cat >conftest.$ac_ext <<_ACEOF
5957 cat confdefs.h >>conftest.$ac_ext
5958 cat >>conftest.$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5962 #define $ac_func innocuous_$ac_func
5964 /* System header to define __stub macros and hopefully few prototypes,
5965 which can conflict with char $ac_func (); below.
5966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5967 <limits.h> exists even on freestanding compilers. */
5970 # include <limits.h>
5972 # include <assert.h>
5977 /* Override any gcc2 internal prototype to avoid an error. */
5982 /* We use char because int might match the return type of a gcc2
5983 builtin and then its argument prototype would still apply. */
5985 /* The GNU C library defines this for functions which it implements
5986 to always fail with ENOSYS. Some functions are actually named
5987 something starting with __ and the normal name is an alias. */
5988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5991 char (*f) () = $ac_func;
6000 return f != $ac_func;
6005 rm -f conftest.$ac_objext conftest$ac_exeext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6007 (eval $ac_link) 2>conftest.er1
6009 grep -v '^ *+' conftest.er1 >conftest.err
6011 cat conftest.err >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } &&
6014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try='test -s conftest$ac_exeext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 eval "$as_ac_var=yes"
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.$ac_ext >&5
6031 eval "$as_ac_var=no"
6033 rm -f conftest.err conftest.$ac_objext \
6034 conftest$ac_exeext conftest.$ac_ext
6036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6038 if test `eval echo '${'$as_ac_var'}'` = yes; then
6039 cat >>confdefs.h <<_ACEOF
6040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6045 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6046 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6047 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 ac_check_lib_save_LIBS=$LIBS
6052 cat >conftest.$ac_ext <<_ACEOF
6055 cat confdefs.h >>conftest.$ac_ext
6056 cat >>conftest.$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6059 /* Override any gcc2 internal prototype to avoid an error. */
6063 /* We use char because int might match the return type of a gcc2
6064 builtin and then its argument prototype would still apply. */
6074 rm -f conftest.$ac_objext conftest$ac_exeext
6075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6076 (eval $ac_link) 2>conftest.er1
6078 grep -v '^ *+' conftest.er1 >conftest.err
6080 cat conftest.err >&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try='test -s conftest$ac_exeext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 ac_cv_lib_w_iswalnum=yes
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.$ac_ext >&5
6100 ac_cv_lib_w_iswalnum=no
6102 rm -f conftest.err conftest.$ac_objext \
6103 conftest$ac_exeext conftest.$ac_ext
6104 LIBS=$ac_check_lib_save_LIBS
6106 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6107 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6108 if test $ac_cv_lib_w_iswalnum = yes; then
6109 cat >>confdefs.h <<_ACEOF
6121 for ac_func in gethostbyname
6123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6124 echo "$as_me:$LINENO: checking for $ac_func" >&5
6125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6126 if eval "test \"\${$as_ac_var+set}\" = set"; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 cat >conftest.$ac_ext <<_ACEOF
6132 cat confdefs.h >>conftest.$ac_ext
6133 cat >>conftest.$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6137 #define $ac_func innocuous_$ac_func
6139 /* System header to define __stub macros and hopefully few prototypes,
6140 which can conflict with char $ac_func (); below.
6141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6142 <limits.h> exists even on freestanding compilers. */
6145 # include <limits.h>
6147 # include <assert.h>
6152 /* Override any gcc2 internal prototype to avoid an error. */
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6160 /* The GNU C library defines this for functions which it implements
6161 to always fail with ENOSYS. Some functions are actually named
6162 something starting with __ and the normal name is an alias. */
6163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6166 char (*f) () = $ac_func;
6175 return f != $ac_func;
6180 rm -f conftest.$ac_objext conftest$ac_exeext
6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6182 (eval $ac_link) 2>conftest.er1
6184 grep -v '^ *+' conftest.er1 >conftest.err
6186 cat conftest.err >&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } &&
6189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); }; } &&
6195 { ac_try='test -s conftest$ac_exeext'
6196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); }; }; then
6201 eval "$as_ac_var=yes"
6203 echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.$ac_ext >&5
6206 eval "$as_ac_var=no"
6208 rm -f conftest.err conftest.$ac_objext \
6209 conftest$ac_exeext conftest.$ac_ext
6211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6213 if test `eval echo '${'$as_ac_var'}'` = yes; then
6214 cat >>confdefs.h <<_ACEOF
6215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6220 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6221 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6222 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 ac_check_lib_save_LIBS=$LIBS
6227 cat >conftest.$ac_ext <<_ACEOF
6230 cat confdefs.h >>conftest.$ac_ext
6231 cat >>conftest.$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6234 /* Override any gcc2 internal prototype to avoid an error. */
6238 /* We use char because int might match the return type of a gcc2
6239 builtin and then its argument prototype would still apply. */
6240 char gethostbyname ();
6249 rm -f conftest.$ac_objext conftest$ac_exeext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6251 (eval $ac_link) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1 >conftest.err
6255 cat conftest.err >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try='test -s conftest$ac_exeext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 ac_cv_lib_nsl_gethostbyname=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.$ac_ext >&5
6275 ac_cv_lib_nsl_gethostbyname=no
6277 rm -f conftest.err conftest.$ac_objext \
6278 conftest$ac_exeext conftest.$ac_ext
6279 LIBS=$ac_check_lib_save_LIBS
6281 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6284 cat >>confdefs.h <<_ACEOF
6285 #define HAVE_LIBNSL 1
6296 for ac_func in connect
6298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6299 echo "$as_me:$LINENO: checking for $ac_func" >&5
6300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6301 if eval "test \"\${$as_ac_var+set}\" = set"; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.$ac_ext <<_ACEOF
6307 cat confdefs.h >>conftest.$ac_ext
6308 cat >>conftest.$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6312 #define $ac_func innocuous_$ac_func
6314 /* System header to define __stub macros and hopefully few prototypes,
6315 which can conflict with char $ac_func (); below.
6316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 <limits.h> exists even on freestanding compilers. */
6320 # include <limits.h>
6322 # include <assert.h>
6327 /* Override any gcc2 internal prototype to avoid an error. */
6332 /* We use char because int might match the return type of a gcc2
6333 builtin and then its argument prototype would still apply. */
6335 /* The GNU C library defines this for functions which it implements
6336 to always fail with ENOSYS. Some functions are actually named
6337 something starting with __ and the normal name is an alias. */
6338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6341 char (*f) () = $ac_func;
6350 return f != $ac_func;
6355 rm -f conftest.$ac_objext conftest$ac_exeext
6356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6357 (eval $ac_link) 2>conftest.er1
6359 grep -v '^ *+' conftest.er1 >conftest.err
6361 cat conftest.err >&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } &&
6364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; } &&
6370 { ac_try='test -s conftest$ac_exeext'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then
6376 eval "$as_ac_var=yes"
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.$ac_ext >&5
6381 eval "$as_ac_var=no"
6383 rm -f conftest.err conftest.$ac_objext \
6384 conftest$ac_exeext conftest.$ac_ext
6386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6388 if test `eval echo '${'$as_ac_var'}'` = yes; then
6389 cat >>confdefs.h <<_ACEOF
6390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6395 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6396 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6397 if test "${ac_cv_lib_socket_connect+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 ac_check_lib_save_LIBS=$LIBS
6401 LIBS="-lsocket $LIBS"
6402 cat >conftest.$ac_ext <<_ACEOF
6405 cat confdefs.h >>conftest.$ac_ext
6406 cat >>conftest.$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6409 /* Override any gcc2 internal prototype to avoid an error. */
6413 /* We use char because int might match the return type of a gcc2
6414 builtin and then its argument prototype would still apply. */
6424 rm -f conftest.$ac_objext conftest$ac_exeext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6426 (eval $ac_link) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } &&
6433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; } &&
6439 { ac_try='test -s conftest$ac_exeext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_lib_socket_connect=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6450 ac_cv_lib_socket_connect=no
6452 rm -f conftest.err conftest.$ac_objext \
6453 conftest$ac_exeext conftest.$ac_ext
6454 LIBS=$ac_check_lib_save_LIBS
6456 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6457 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6458 if test $ac_cv_lib_socket_connect = yes; then
6459 cat >>confdefs.h <<_ACEOF
6460 #define HAVE_LIBSOCKET 1
6463 LIBS="-lsocket $LIBS"
6471 for ac_func in inet_aton
6473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6474 echo "$as_me:$LINENO: checking for $ac_func" >&5
6475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6476 if eval "test \"\${$as_ac_var+set}\" = set"; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.$ac_ext <<_ACEOF
6482 cat confdefs.h >>conftest.$ac_ext
6483 cat >>conftest.$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6487 #define $ac_func innocuous_$ac_func
6489 /* System header to define __stub macros and hopefully few prototypes,
6490 which can conflict with char $ac_func (); below.
6491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6492 <limits.h> exists even on freestanding compilers. */
6495 # include <limits.h>
6497 # include <assert.h>
6502 /* Override any gcc2 internal prototype to avoid an error. */
6507 /* We use char because int might match the return type of a gcc2
6508 builtin and then its argument prototype would still apply. */
6510 /* The GNU C library defines this for functions which it implements
6511 to always fail with ENOSYS. Some functions are actually named
6512 something starting with __ and the normal name is an alias. */
6513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6516 char (*f) () = $ac_func;
6525 return f != $ac_func;
6530 rm -f conftest.$ac_objext conftest$ac_exeext
6531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6532 (eval $ac_link) 2>conftest.er1
6534 grep -v '^ *+' conftest.er1 >conftest.err
6536 cat conftest.err >&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try='test -s conftest$ac_exeext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 eval "$as_ac_var=yes"
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6556 eval "$as_ac_var=no"
6558 rm -f conftest.err conftest.$ac_objext \
6559 conftest$ac_exeext conftest.$ac_ext
6561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6563 if test `eval echo '${'$as_ac_var'}'` = yes; then
6564 cat >>confdefs.h <<_ACEOF
6565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6570 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6571 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6572 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_check_lib_save_LIBS=$LIBS
6576 LIBS="-lresolv $LIBS"
6577 cat >conftest.$ac_ext <<_ACEOF
6580 cat confdefs.h >>conftest.$ac_ext
6581 cat >>conftest.$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6584 /* Override any gcc2 internal prototype to avoid an error. */
6588 /* We use char because int might match the return type of a gcc2
6589 builtin and then its argument prototype would still apply. */
6599 rm -f conftest.$ac_objext conftest$ac_exeext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6601 (eval $ac_link) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1 >conftest.err
6605 cat conftest.err >&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; } &&
6614 { ac_try='test -s conftest$ac_exeext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 ac_cv_lib_resolv_inet_aton=yes
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ac_cv_lib_resolv_inet_aton=no
6627 rm -f conftest.err conftest.$ac_objext \
6628 conftest$ac_exeext conftest.$ac_ext
6629 LIBS=$ac_check_lib_save_LIBS
6631 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6632 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6633 if test $ac_cv_lib_resolv_inet_aton = yes; then
6634 cat >>confdefs.h <<_ACEOF
6635 #define HAVE_LIBRESOLV 1
6638 LIBS="-lresolv $LIBS"
6646 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6647 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6648 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 ac_check_lib_save_LIBS=$LIBS
6653 cat >conftest.$ac_ext <<_ACEOF
6656 cat confdefs.h >>conftest.$ac_ext
6657 cat >>conftest.$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6660 /* Override any gcc2 internal prototype to avoid an error. */
6664 /* We use char because int might match the return type of a gcc2
6665 builtin and then its argument prototype would still apply. */
6666 char _xpg4_setrunelocale ();
6670 _xpg4_setrunelocale ();
6675 rm -f conftest.$ac_objext conftest$ac_exeext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677 (eval $ac_link) 2>conftest.er1
6679 grep -v '^ *+' conftest.er1 >conftest.err
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; } &&
6690 { ac_try='test -s conftest$ac_exeext'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6696 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.$ac_ext >&5
6701 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6703 rm -f conftest.err conftest.$ac_objext \
6704 conftest$ac_exeext conftest.$ac_ext
6705 LIBS=$ac_check_lib_save_LIBS
6707 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6708 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6709 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6710 cat >>confdefs.h <<_ACEOF
6711 #define HAVE_LIBXPG4 1
6719 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6720 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6721 if test "${ac_cv_lib_poll_poll+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 ac_check_lib_save_LIBS=$LIBS
6726 cat >conftest.$ac_ext <<_ACEOF
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6733 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6748 rm -f conftest.$ac_objext conftest$ac_exeext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6750 (eval $ac_link) 2>conftest.er1
6752 grep -v '^ *+' conftest.er1 >conftest.err
6754 cat conftest.err >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try='test -s conftest$ac_exeext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_cv_lib_poll_poll=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_cv_lib_poll_poll=no
6776 rm -f conftest.err conftest.$ac_objext \
6777 conftest$ac_exeext conftest.$ac_ext
6778 LIBS=$ac_check_lib_save_LIBS
6780 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6781 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6782 if test $ac_cv_lib_poll_poll = yes; then
6783 cat >>confdefs.h <<_ACEOF
6784 #define HAVE_LIBPOLL 1
6792 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6793 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6794 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_check_lib_save_LIBS=$LIBS
6798 LIBS="-lresolv $LIBS"
6799 cat >conftest.$ac_ext <<_ACEOF
6802 cat confdefs.h >>conftest.$ac_ext
6803 cat >>conftest.$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6806 /* Override any gcc2 internal prototype to avoid an error. */
6810 /* We use char because int might match the return type of a gcc2
6811 builtin and then its argument prototype would still apply. */
6821 rm -f conftest.$ac_objext conftest$ac_exeext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6823 (eval $ac_link) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1 >conftest.err
6827 cat conftest.err >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; } &&
6836 { ac_try='test -s conftest$ac_exeext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_lib_resolv_res_9_init=yes
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.$ac_ext >&5
6847 ac_cv_lib_resolv_res_9_init=no
6849 rm -f conftest.err conftest.$ac_objext \
6850 conftest$ac_exeext conftest.$ac_ext
6851 LIBS=$ac_check_lib_save_LIBS
6853 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6854 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6855 if test $ac_cv_lib_resolv_res_9_init = yes; then
6856 cat >>confdefs.h <<_ACEOF
6857 #define HAVE_LIBRESOLV 1
6860 LIBS="-lresolv $LIBS"
6864 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6865 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6866 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 ac_check_lib_save_LIBS=$LIBS
6870 LIBS="-lpthread $LIBS"
6871 cat >conftest.$ac_ext <<_ACEOF
6874 cat confdefs.h >>conftest.$ac_ext
6875 cat >>conftest.$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6878 /* Override any gcc2 internal prototype to avoid an error. */
6882 /* We use char because int might match the return type of a gcc2
6883 builtin and then its argument prototype would still apply. */
6884 char pthread_create ();
6893 rm -f conftest.$ac_objext conftest$ac_exeext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1 >conftest.err
6899 cat conftest.err >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_lib_pthread_pthread_create=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.$ac_ext >&5
6919 ac_cv_lib_pthread_pthread_create=no
6921 rm -f conftest.err conftest.$ac_objext \
6922 conftest$ac_exeext conftest.$ac_ext
6923 LIBS=$ac_check_lib_save_LIBS
6925 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6926 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6927 if test $ac_cv_lib_pthread_pthread_create = yes; then
6928 LIBPTHREAD="-lpthread"
6944 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6945 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6946 if test "${ac_cv_header_stdc+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 cat >conftest.$ac_ext <<_ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6968 rm -f conftest.$ac_objext
6969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6970 (eval $ac_compile) 2>conftest.er1
6972 grep -v '^ *+' conftest.er1 >conftest.err
6974 cat conftest.err >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try='test -s conftest.$ac_objext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_header_stdc=yes
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6994 ac_cv_header_stdc=no
6996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6998 if test $ac_cv_header_stdc = yes; then
6999 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7000 cat >conftest.$ac_ext <<_ACEOF
7003 cat confdefs.h >>conftest.$ac_ext
7004 cat >>conftest.$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7010 $EGREP "memchr" >/dev/null 2>&1; then
7013 ac_cv_header_stdc=no
7019 if test $ac_cv_header_stdc = yes; then
7020 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7021 cat >conftest.$ac_ext <<_ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7031 $EGREP "free" >/dev/null 2>&1; then
7034 ac_cv_header_stdc=no
7040 if test $ac_cv_header_stdc = yes; then
7041 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7042 if test "$cross_compiling" = yes; then
7045 cat >conftest.$ac_ext <<_ACEOF
7048 cat confdefs.h >>conftest.$ac_ext
7049 cat >>conftest.$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7052 #if ((' ' & 0x0FF) == 0x020)
7053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7056 # define ISLOWER(c) \
7057 (('a' <= (c) && (c) <= 'i') \
7058 || ('j' <= (c) && (c) <= 'r') \
7059 || ('s' <= (c) && (c) <= 'z'))
7060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7068 for (i = 0; i < 256; i++)
7069 if (XOR (islower (i), ISLOWER (i))
7070 || toupper (i) != TOUPPER (i))
7075 rm -f conftest$ac_exeext
7076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7077 (eval $ac_link) 2>&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7088 echo "$as_me: program exited with status $ac_status" >&5
7089 echo "$as_me: failed program was:" >&5
7090 sed 's/^/| /' conftest.$ac_ext >&5
7093 ac_cv_header_stdc=no
7095 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7099 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7100 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7101 if test $ac_cv_header_stdc = yes; then
7103 cat >>confdefs.h <<\_ACEOF
7104 #define STDC_HEADERS 1
7109 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7119 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7120 inttypes.h stdint.h unistd.h
7122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7123 echo "$as_me:$LINENO: checking for $ac_header" >&5
7124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7126 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 cat >conftest.$ac_ext <<_ACEOF
7131 cat confdefs.h >>conftest.$ac_ext
7132 cat >>conftest.$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 $ac_includes_default
7136 #include <$ac_header>
7138 rm -f conftest.$ac_objext
7139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140 (eval $ac_compile) 2>conftest.er1
7142 grep -v '^ *+' conftest.er1 >conftest.err
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; } &&
7153 { ac_try='test -s conftest.$ac_objext'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); }; }; then
7159 eval "$as_ac_Header=yes"
7161 echo "$as_me: failed program was:" >&5
7162 sed 's/^/| /' conftest.$ac_ext >&5
7164 eval "$as_ac_Header=no"
7166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7171 cat >>confdefs.h <<_ACEOF
7172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7283 fontconfig/fontconfig.h \
7309 netinet/in_systm.h \
7375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7377 echo "$as_me:$LINENO: checking for $ac_header" >&5
7378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7385 # Is the header compilable?
7386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7388 cat >conftest.$ac_ext <<_ACEOF
7391 cat confdefs.h >>conftest.$ac_ext
7392 cat >>conftest.$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 $ac_includes_default
7395 #include <$ac_header>
7397 rm -f conftest.$ac_objext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399 (eval $ac_compile) 2>conftest.er1
7401 grep -v '^ *+' conftest.er1 >conftest.err
7403 cat conftest.err >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } &&
7406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); }; } &&
7412 { ac_try='test -s conftest.$ac_objext'
7413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); }; }; then
7418 ac_header_compiler=yes
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.$ac_ext >&5
7423 ac_header_compiler=no
7425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7427 echo "${ECHO_T}$ac_header_compiler" >&6
7429 # Is the header present?
7430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7432 cat >conftest.$ac_ext <<_ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <$ac_header>
7440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7443 grep -v '^ *+' conftest.er1 >conftest.err
7445 cat conftest.err >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } >/dev/null; then
7448 if test -s conftest.err; then
7449 ac_cpp_err=$ac_c_preproc_warn_flag
7450 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7457 if test -z "$ac_cpp_err"; then
7458 ac_header_preproc=yes
7460 echo "$as_me: failed program was:" >&5
7461 sed 's/^/| /' conftest.$ac_ext >&5
7463 ac_header_preproc=no
7465 rm -f conftest.err conftest.$ac_ext
7466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7467 echo "${ECHO_T}$ac_header_preproc" >&6
7469 # So? What about this header?
7470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7476 ac_header_preproc=yes
7479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7493 ## ------------------------------------ ##
7494 ## Report this to wine-devel@winehq.org ##
7495 ## ------------------------------------ ##
7498 sed "s/^/$as_me: WARNING: /" >&2
7501 echo "$as_me:$LINENO: checking for $ac_header" >&5
7502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7504 echo $ECHO_N "(cached) $ECHO_C" >&6
7506 eval "$as_ac_Header=\$ac_header_preproc"
7508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7513 cat >>confdefs.h <<_ACEOF
7514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7521 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7522 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7523 if test "${ac_cv_header_stat_broken+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7526 cat >conftest.$ac_ext <<_ACEOF
7529 cat confdefs.h >>conftest.$ac_ext
7530 cat >>conftest.$ac_ext <<_ACEOF
7531 /* end confdefs.h. */
7532 #include <sys/types.h>
7533 #include <sys/stat.h>
7535 #if defined(S_ISBLK) && defined(S_IFDIR)
7536 # if S_ISBLK (S_IFDIR)
7541 #if defined(S_ISBLK) && defined(S_IFCHR)
7542 # if S_ISBLK (S_IFCHR)
7547 #if defined(S_ISLNK) && defined(S_IFREG)
7548 # if S_ISLNK (S_IFREG)
7553 #if defined(S_ISSOCK) && defined(S_IFREG)
7554 # if S_ISSOCK (S_IFREG)
7560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7561 $EGREP "You lose" >/dev/null 2>&1; then
7562 ac_cv_header_stat_broken=yes
7564 ac_cv_header_stat_broken=no
7569 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7570 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7571 if test $ac_cv_header_stat_broken = yes; then
7573 cat >>confdefs.h <<\_ACEOF
7574 #define STAT_MACROS_BROKEN 1
7581 if test "$have_x" = "yes"
7584 ac_save_CPPFLAGS="$CPPFLAGS"
7585 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7588 for ac_header in X11/Xlib.h
7590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7592 echo "$as_me:$LINENO: checking for $ac_header" >&5
7593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7595 echo $ECHO_N "(cached) $ECHO_C" >&6
7597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7600 # Is the header compilable?
7601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7603 cat >conftest.$ac_ext <<_ACEOF
7606 cat confdefs.h >>conftest.$ac_ext
7607 cat >>conftest.$ac_ext <<_ACEOF
7608 /* end confdefs.h. */
7609 $ac_includes_default
7610 #include <$ac_header>
7612 rm -f conftest.$ac_objext
7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7614 (eval $ac_compile) 2>conftest.er1
7616 grep -v '^ *+' conftest.er1 >conftest.err
7618 cat conftest.err >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7626 (exit $ac_status); }; } &&
7627 { ac_try='test -s conftest.$ac_objext'
7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); }; }; then
7633 ac_header_compiler=yes
7635 echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.$ac_ext >&5
7638 ac_header_compiler=no
7640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7642 echo "${ECHO_T}$ac_header_compiler" >&6
7644 # Is the header present?
7645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7647 cat >conftest.$ac_ext <<_ACEOF
7650 cat confdefs.h >>conftest.$ac_ext
7651 cat >>conftest.$ac_ext <<_ACEOF
7652 /* end confdefs.h. */
7653 #include <$ac_header>
7655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7658 grep -v '^ *+' conftest.er1 >conftest.err
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } >/dev/null; then
7663 if test -s conftest.err; then
7664 ac_cpp_err=$ac_c_preproc_warn_flag
7665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7672 if test -z "$ac_cpp_err"; then
7673 ac_header_preproc=yes
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.$ac_ext >&5
7678 ac_header_preproc=no
7680 rm -f conftest.err conftest.$ac_ext
7681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7682 echo "${ECHO_T}$ac_header_preproc" >&6
7684 # So? What about this header?
7685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7691 ac_header_preproc=yes
7694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7708 ## ------------------------------------ ##
7709 ## Report this to wine-devel@winehq.org ##
7710 ## ------------------------------------ ##
7713 sed "s/^/$as_me: WARNING: /" >&2
7716 echo "$as_me:$LINENO: checking for $ac_header" >&5
7717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6
7721 eval "$as_ac_Header=\$ac_header_preproc"
7723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7728 cat >>confdefs.h <<_ACEOF
7729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 for ac_header in X11/XKBlib.h \
7744 X11/extensions/shape.h \
7745 X11/extensions/XInput.h \
7746 X11/extensions/XShm.h \
7747 X11/extensions/Xrandr.h \
7748 X11/extensions/Xrender.h \
7749 X11/extensions/Xvlib.h \
7750 X11/extensions/xf86dga.h \
7751 X11/extensions/xf86vmode.h
7753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7754 echo "$as_me:$LINENO: checking for $ac_header" >&5
7755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 cat >conftest.$ac_ext <<_ACEOF
7762 cat confdefs.h >>conftest.$ac_ext
7763 cat >>conftest.$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <X11/Xlib.h>
7766 #ifdef HAVE_X11_XUTIL_H
7767 # include <X11/Xutil.h>
7770 #include <$ac_header>
7772 rm -f conftest.$ac_objext
7773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7774 (eval $ac_compile) 2>conftest.er1
7776 grep -v '^ *+' conftest.er1 >conftest.err
7778 cat conftest.err >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } &&
7781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); }; } &&
7787 { ac_try='test -s conftest.$ac_objext'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; }; then
7793 eval "$as_ac_Header=yes"
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 eval "$as_ac_Header=no"
7800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7805 cat >>confdefs.h <<_ACEOF
7806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7814 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7816 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7817 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7818 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7819 echo $ECHO_N "(cached) $ECHO_C" >&6
7821 ac_check_lib_save_LIBS=$LIBS
7822 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7823 cat >conftest.$ac_ext <<_ACEOF
7826 cat confdefs.h >>conftest.$ac_ext
7827 cat >>conftest.$ac_ext <<_ACEOF
7828 /* end confdefs.h. */
7830 /* Override any gcc2 internal prototype to avoid an error. */
7834 /* We use char because int might match the return type of a gcc2
7835 builtin and then its argument prototype would still apply. */
7836 char XkbQueryExtension ();
7840 XkbQueryExtension ();
7845 rm -f conftest.$ac_objext conftest$ac_exeext
7846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7847 (eval $ac_link) 2>conftest.er1
7849 grep -v '^ *+' conftest.er1 >conftest.err
7851 cat conftest.err >&5
7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); } &&
7854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; } &&
7860 { ac_try='test -s conftest$ac_exeext'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7866 ac_cv_lib_X11_XkbQueryExtension=yes
7868 echo "$as_me: failed program was:" >&5
7869 sed 's/^/| /' conftest.$ac_ext >&5
7871 ac_cv_lib_X11_XkbQueryExtension=no
7873 rm -f conftest.err conftest.$ac_objext \
7874 conftest$ac_exeext conftest.$ac_ext
7875 LIBS=$ac_check_lib_save_LIBS
7877 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7878 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7879 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7881 cat >>confdefs.h <<\_ACEOF
7889 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7891 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7892 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7893 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7894 echo $ECHO_N "(cached) $ECHO_C" >&6
7896 ac_check_lib_save_LIBS=$LIBS
7897 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7898 cat >conftest.$ac_ext <<_ACEOF
7901 cat confdefs.h >>conftest.$ac_ext
7902 cat >>conftest.$ac_ext <<_ACEOF
7903 /* end confdefs.h. */
7905 /* Override any gcc2 internal prototype to avoid an error. */
7909 /* We use char because int might match the return type of a gcc2
7910 builtin and then its argument prototype would still apply. */
7911 char XShmQueryExtension ();
7915 XShmQueryExtension ();
7920 rm -f conftest.$ac_objext conftest$ac_exeext
7921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7922 (eval $ac_link) 2>conftest.er1
7924 grep -v '^ *+' conftest.er1 >conftest.err
7926 cat conftest.err >&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } &&
7929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; } &&
7935 { ac_try='test -s conftest$ac_exeext'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; }; then
7941 ac_cv_lib_Xext_XShmQueryExtension=yes
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.$ac_ext >&5
7946 ac_cv_lib_Xext_XShmQueryExtension=no
7948 rm -f conftest.err conftest.$ac_objext \
7949 conftest$ac_exeext conftest.$ac_ext
7950 LIBS=$ac_check_lib_save_LIBS
7952 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7953 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7954 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7956 cat >>confdefs.h <<\_ACEOF
7957 #define HAVE_LIBXXSHM 1
7964 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7966 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7967 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7968 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7969 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 ac_check_lib_save_LIBS=$LIBS
7972 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7973 cat >conftest.$ac_ext <<_ACEOF
7976 cat confdefs.h >>conftest.$ac_ext
7977 cat >>conftest.$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7980 /* Override any gcc2 internal prototype to avoid an error. */
7984 /* We use char because int might match the return type of a gcc2
7985 builtin and then its argument prototype would still apply. */
7986 char XShapeQueryExtension ();
7990 XShapeQueryExtension ();
7995 rm -f conftest.$ac_objext conftest$ac_exeext
7996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7997 (eval $ac_link) 2>conftest.er1
7999 grep -v '^ *+' conftest.er1 >conftest.err
8001 cat conftest.err >&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); } &&
8004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); }; } &&
8010 { ac_try='test -s conftest$ac_exeext'
8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then
8016 ac_cv_lib_Xext_XShapeQueryExtension=yes
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.$ac_ext >&5
8021 ac_cv_lib_Xext_XShapeQueryExtension=no
8023 rm -f conftest.err conftest.$ac_objext \
8024 conftest$ac_exeext conftest.$ac_ext
8025 LIBS=$ac_check_lib_save_LIBS
8027 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8028 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8029 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8031 cat >>confdefs.h <<\_ACEOF
8032 #define HAVE_LIBXSHAPE 1
8039 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8041 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8042 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8043 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8044 echo $ECHO_N "(cached) $ECHO_C" >&6
8046 ac_check_lib_save_LIBS=$LIBS
8047 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8048 cat >conftest.$ac_ext <<_ACEOF
8051 cat confdefs.h >>conftest.$ac_ext
8052 cat >>conftest.$ac_ext <<_ACEOF
8053 /* end confdefs.h. */
8055 /* Override any gcc2 internal prototype to avoid an error. */
8059 /* We use char because int might match the return type of a gcc2
8060 builtin and then its argument prototype would still apply. */
8061 char XDGAQueryExtension ();
8065 XDGAQueryExtension ();
8070 rm -f conftest.$ac_objext conftest$ac_exeext
8071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8072 (eval $ac_link) 2>conftest.er1
8074 grep -v '^ *+' conftest.er1 >conftest.err
8076 cat conftest.err >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); } &&
8079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); }; } &&
8085 { ac_try='test -s conftest$ac_exeext'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; }; then
8091 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
8093 echo "$as_me: failed program was:" >&5
8094 sed 's/^/| /' conftest.$ac_ext >&5
8096 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
8098 rm -f conftest.err conftest.$ac_objext \
8099 conftest$ac_exeext conftest.$ac_ext
8100 LIBS=$ac_check_lib_save_LIBS
8102 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8103 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8104 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8106 cat >>confdefs.h <<\_ACEOF
8107 #define HAVE_LIBXXF86DGA2 1
8110 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8116 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8118 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8119 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8120 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8121 echo $ECHO_N "(cached) $ECHO_C" >&6
8123 ac_check_lib_save_LIBS=$LIBS
8124 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8125 cat >conftest.$ac_ext <<_ACEOF
8128 cat confdefs.h >>conftest.$ac_ext
8129 cat >>conftest.$ac_ext <<_ACEOF
8130 /* end confdefs.h. */
8132 /* Override any gcc2 internal prototype to avoid an error. */
8136 /* We use char because int might match the return type of a gcc2
8137 builtin and then its argument prototype would still apply. */
8138 char XF86VidModeQueryExtension ();
8142 XF86VidModeQueryExtension ();
8147 rm -f conftest.$ac_objext conftest$ac_exeext
8148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8149 (eval $ac_link) 2>conftest.er1
8151 grep -v '^ *+' conftest.er1 >conftest.err
8153 cat conftest.err >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); } &&
8156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; } &&
8162 { ac_try='test -s conftest$ac_exeext'
8163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); }; }; then
8168 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8170 echo "$as_me: failed program was:" >&5
8171 sed 's/^/| /' conftest.$ac_ext >&5
8173 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8175 rm -f conftest.err conftest.$ac_objext \
8176 conftest$ac_exeext conftest.$ac_ext
8177 LIBS=$ac_check_lib_save_LIBS
8179 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8180 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8181 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8183 cat >>confdefs.h <<\_ACEOF
8184 #define HAVE_LIBXXF86VM 1
8187 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8193 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8195 cat >conftest.$ac_ext <<_ACEOF
8198 cat confdefs.h >>conftest.$ac_ext
8199 cat >>conftest.$ac_ext <<_ACEOF
8200 /* end confdefs.h. */
8201 #include <X11/Xlib.h>
8202 #include <X11/extensions/Xrandr.h>
8206 static typeof(XRRSetScreenConfigAndRate) * func;
8211 rm -f conftest.$ac_objext
8212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8213 (eval $ac_compile) 2>conftest.er1
8215 grep -v '^ *+' conftest.er1 >conftest.err
8217 cat conftest.err >&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); } &&
8220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; } &&
8226 { ac_try='test -s conftest.$ac_objext'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; }; then
8233 cat >>confdefs.h <<\_ACEOF
8234 #define HAVE_LIBXRANDR 1
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.$ac_ext >&5
8242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8245 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8247 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8248 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8249 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8250 echo $ECHO_N "(cached) $ECHO_C" >&6
8252 ac_check_lib_save_LIBS=$LIBS
8253 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8254 cat >conftest.$ac_ext <<_ACEOF
8257 cat confdefs.h >>conftest.$ac_ext
8258 cat >>conftest.$ac_ext <<_ACEOF
8259 /* end confdefs.h. */
8261 /* Override any gcc2 internal prototype to avoid an error. */
8265 /* We use char because int might match the return type of a gcc2
8266 builtin and then its argument prototype would still apply. */
8267 char XvShmCreateImage ();
8271 XvShmCreateImage ();
8276 rm -f conftest.$ac_objext conftest$ac_exeext
8277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8278 (eval $ac_link) 2>conftest.er1
8280 grep -v '^ *+' conftest.er1 >conftest.err
8282 cat conftest.err >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } &&
8285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); }; } &&
8291 { ac_try='test -s conftest$ac_exeext'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; }; then
8297 ac_cv_lib_Xv_XvShmCreateImage=yes
8299 echo "$as_me: failed program was:" >&5
8300 sed 's/^/| /' conftest.$ac_ext >&5
8302 ac_cv_lib_Xv_XvShmCreateImage=no
8304 rm -f conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 LIBS=$ac_check_lib_save_LIBS
8308 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8309 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8310 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8312 cat >>confdefs.h <<\_ACEOF
8313 #define HAVE_XVIDEO 1
8316 X_PRE_LIBS="$X_PRE_LIBS -lXv"
8322 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8324 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8325 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8326 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8327 echo $ECHO_N "(cached) $ECHO_C" >&6
8329 ac_check_lib_save_LIBS=$LIBS
8330 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8331 cat >conftest.$ac_ext <<_ACEOF
8334 cat confdefs.h >>conftest.$ac_ext
8335 cat >>conftest.$ac_ext <<_ACEOF
8336 /* end confdefs.h. */
8338 /* Override any gcc2 internal prototype to avoid an error. */
8342 /* We use char because int might match the return type of a gcc2
8343 builtin and then its argument prototype would still apply. */
8344 char XRenderSetPictureTransform ();
8348 XRenderSetPictureTransform ();
8353 rm -f conftest.$ac_objext conftest$ac_exeext
8354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8355 (eval $ac_link) 2>conftest.er1
8357 grep -v '^ *+' conftest.er1 >conftest.err
8359 cat conftest.err >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); } &&
8362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; } &&
8368 { ac_try='test -s conftest$ac_exeext'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; }; then
8374 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8379 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8381 rm -f conftest.err conftest.$ac_objext \
8382 conftest$ac_exeext conftest.$ac_ext
8383 LIBS=$ac_check_lib_save_LIBS
8385 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8386 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8387 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8389 cat >>confdefs.h <<\_ACEOF
8390 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8402 if test "x$with_opengl" != "xno"
8404 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8406 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8407 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8408 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8409 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8410 { (exit 1); exit 1; }; }
8415 for ac_header in GL/gl.h GL/glx.h
8417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8419 echo "$as_me:$LINENO: checking for $ac_header" >&5
8420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8427 # Is the header compilable?
8428 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8430 cat >conftest.$ac_ext <<_ACEOF
8433 cat confdefs.h >>conftest.$ac_ext
8434 cat >>conftest.$ac_ext <<_ACEOF
8435 /* end confdefs.h. */
8436 $ac_includes_default
8437 #include <$ac_header>
8439 rm -f conftest.$ac_objext
8440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8441 (eval $ac_compile) 2>conftest.er1
8443 grep -v '^ *+' conftest.er1 >conftest.err
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } &&
8448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; } &&
8454 { ac_try='test -s conftest.$ac_objext'
8455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); }; }; then
8460 ac_header_compiler=yes
8462 echo "$as_me: failed program was:" >&5
8463 sed 's/^/| /' conftest.$ac_ext >&5
8465 ac_header_compiler=no
8467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8469 echo "${ECHO_T}$ac_header_compiler" >&6
8471 # Is the header present?
8472 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8473 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8474 cat >conftest.$ac_ext <<_ACEOF
8477 cat confdefs.h >>conftest.$ac_ext
8478 cat >>conftest.$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8480 #include <$ac_header>
8482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8485 grep -v '^ *+' conftest.er1 >conftest.err
8487 cat conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } >/dev/null; then
8490 if test -s conftest.err; then
8491 ac_cpp_err=$ac_c_preproc_warn_flag
8492 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8499 if test -z "$ac_cpp_err"; then
8500 ac_header_preproc=yes
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.$ac_ext >&5
8505 ac_header_preproc=no
8507 rm -f conftest.err conftest.$ac_ext
8508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8509 echo "${ECHO_T}$ac_header_preproc" >&6
8511 # So? What about this header?
8512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8514 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8518 ac_header_preproc=yes
8521 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8523 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8524 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8525 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8527 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8528 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8531 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8535 ## ------------------------------------ ##
8536 ## Report this to wine-devel@winehq.org ##
8537 ## ------------------------------------ ##
8540 sed "s/^/$as_me: WARNING: /" >&2
8543 echo "$as_me:$LINENO: checking for $ac_header" >&5
8544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 eval "$as_ac_Header=\$ac_header_preproc"
8550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8551 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8555 cat >>confdefs.h <<_ACEOF
8556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8563 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8566 for ac_header in GL/glext.h
8568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8569 echo "$as_me:$LINENO: checking for $ac_header" >&5
8570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8572 echo $ECHO_N "(cached) $ECHO_C" >&6
8574 cat >conftest.$ac_ext <<_ACEOF
8577 cat confdefs.h >>conftest.$ac_ext
8578 cat >>conftest.$ac_ext <<_ACEOF
8579 /* end confdefs.h. */
8582 #include <$ac_header>
8584 rm -f conftest.$ac_objext
8585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8586 (eval $ac_compile) 2>conftest.er1
8588 grep -v '^ *+' conftest.er1 >conftest.err
8590 cat conftest.err >&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); } &&
8593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); }; } &&
8599 { ac_try='test -s conftest.$ac_objext'
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; }; then
8605 eval "$as_ac_Header=yes"
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8610 eval "$as_ac_Header=no"
8612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8617 cat >>confdefs.h <<_ACEOF
8618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8625 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8626 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8627 if test "${wine_cv_opengl_version_OK+set}" = set; then
8628 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 cat >conftest.$ac_ext <<_ACEOF
8633 cat confdefs.h >>conftest.$ac_ext
8634 cat >>conftest.$ac_ext <<_ACEOF
8635 /* end confdefs.h. */
8640 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8645 rm -f conftest.$ac_objext
8646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8647 (eval $ac_compile) 2>conftest.er1
8649 grep -v '^ *+' conftest.er1 >conftest.err
8651 cat conftest.err >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); } &&
8654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; } &&
8660 { ac_try='test -s conftest.$ac_objext'
8661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; }; then
8666 wine_cv_opengl_version_OK="yes"
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.$ac_ext >&5
8671 wine_cv_opengl_version_OK="no"
8674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8677 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8678 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8680 if test "$wine_cv_opengl_version_OK" = "yes"
8682 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8683 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8684 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 ac_check_lib_save_LIBS=$LIBS
8688 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8689 cat >conftest.$ac_ext <<_ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8696 /* Override any gcc2 internal prototype to avoid an error. */
8700 /* We use char because int might match the return type of a gcc2
8701 builtin and then its argument prototype would still apply. */
8702 char glXCreateContext ();
8706 glXCreateContext ();
8711 rm -f conftest.$ac_objext conftest$ac_exeext
8712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8713 (eval $ac_link) 2>conftest.er1
8715 grep -v '^ *+' conftest.er1 >conftest.err
8717 cat conftest.err >&5
8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); } &&
8720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; } &&
8726 { ac_try='test -s conftest$ac_exeext'
8727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); }; }; then
8732 ac_cv_lib_GL_glXCreateContext=yes
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.$ac_ext >&5
8737 ac_cv_lib_GL_glXCreateContext=no
8739 rm -f conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 LIBS=$ac_check_lib_save_LIBS
8743 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8744 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8745 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8751 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8753 OPENGLFILES='$(OPENGLFILES)'
8755 cat >>confdefs.h <<\_ACEOF
8756 #define HAVE_OPENGL 1
8760 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8761 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8762 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8763 echo $ECHO_N "(cached) $ECHO_C" >&6
8765 ac_check_lib_save_LIBS=$LIBS
8766 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8767 cat >conftest.$ac_ext <<_ACEOF
8770 cat confdefs.h >>conftest.$ac_ext
8771 cat >>conftest.$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8774 /* Override any gcc2 internal prototype to avoid an error. */
8778 /* We use char because int might match the return type of a gcc2
8779 builtin and then its argument prototype would still apply. */
8780 char glXGetProcAddressARB ();
8784 glXGetProcAddressARB ();
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8791 (eval $ac_link) 2>conftest.er1
8793 grep -v '^ *+' conftest.er1 >conftest.err
8795 cat conftest.err >&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); } &&
8798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); }; } &&
8804 { ac_try='test -s conftest$ac_exeext'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; }; then
8810 ac_cv_lib_GL_glXGetProcAddressARB=yes
8812 echo "$as_me: failed program was:" >&5
8813 sed 's/^/| /' conftest.$ac_ext >&5
8815 ac_cv_lib_GL_glXGetProcAddressARB=no
8817 rm -f conftest.err conftest.$ac_objext \
8818 conftest$ac_exeext conftest.$ac_ext
8819 LIBS=$ac_check_lib_save_LIBS
8821 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8822 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8823 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8825 cat >>confdefs.h <<\_ACEOF
8826 #define HAVE_GLX_GETPROCADDRESS 1
8832 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8834 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8835 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8836 if test "${wine_cv_extension_prototypes+set}" = set; then
8837 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 cat >conftest.$ac_ext <<_ACEOF
8842 cat confdefs.h >>conftest.$ac_ext
8843 cat >>conftest.$ac_ext <<_ACEOF
8844 /* end confdefs.h. */
8846 #ifdef HAVE_GL_GLEXT_H
8847 # include <GL/glext.h>
8853 PFNGLCOLORTABLEEXTPROC test_proc;
8858 rm -f conftest.$ac_objext
8859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8860 (eval $ac_compile) 2>conftest.er1
8862 grep -v '^ *+' conftest.er1 >conftest.err
8864 cat conftest.err >&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); } &&
8867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }; } &&
8873 { ac_try='test -s conftest.$ac_objext'
8874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 wine_cv_extension_prototypes="yes"
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8884 wine_cv_extension_prototypes="no"
8887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8890 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8891 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8892 if test "$wine_cv_extension_prototypes" = "yes"
8895 cat >>confdefs.h <<\_ACEOF
8896 #define HAVE_GLEXT_PROTOTYPES 1
8903 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8904 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8905 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8906 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 ac_check_lib_save_LIBS=$LIBS
8909 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8911 cat >conftest.$ac_ext <<_ACEOF
8914 cat confdefs.h >>conftest.$ac_ext
8915 cat >>conftest.$ac_ext <<_ACEOF
8916 /* end confdefs.h. */
8918 /* Override any gcc2 internal prototype to avoid an error. */
8922 /* We use char because int might match the return type of a gcc2
8923 builtin and then its argument prototype would still apply. */
8933 rm -f conftest.$ac_objext conftest$ac_exeext
8934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8935 (eval $ac_link) 2>conftest.er1
8937 grep -v '^ *+' conftest.er1 >conftest.err
8939 cat conftest.err >&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); } &&
8942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); }; } &&
8948 { ac_try='test -s conftest$ac_exeext'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; }; then
8954 ac_cv_lib_GLU_gluLookAt=yes
8956 echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.$ac_ext >&5
8959 ac_cv_lib_GLU_gluLookAt=no
8961 rm -f conftest.err conftest.$ac_objext \
8962 conftest$ac_exeext conftest.$ac_ext
8963 LIBS=$ac_check_lib_save_LIBS
8965 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8966 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8967 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8968 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8969 GLU32FILES='$(GLU32FILES)'
8975 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8976 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8977 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8980 ac_check_lib_save_LIBS=$LIBS
8981 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8982 cat >conftest.$ac_ext <<_ACEOF
8985 cat confdefs.h >>conftest.$ac_ext
8986 cat >>conftest.$ac_ext <<_ACEOF
8987 /* end confdefs.h. */
8989 /* Override any gcc2 internal prototype to avoid an error. */
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
8995 char glutMainLoop ();
9004 rm -f conftest.$ac_objext conftest$ac_exeext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9006 (eval $ac_link) 2>conftest.er1
9008 grep -v '^ *+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } &&
9013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); }; } &&
9019 { ac_try='test -s conftest$ac_exeext'
9020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); }; }; then
9025 ac_cv_lib_glut_glutMainLoop=yes
9027 echo "$as_me: failed program was:" >&5
9028 sed 's/^/| /' conftest.$ac_ext >&5
9030 ac_cv_lib_glut_glutMainLoop=no
9032 rm -f conftest.err conftest.$ac_objext \
9033 conftest$ac_exeext conftest.$ac_ext
9034 LIBS=$ac_check_lib_save_LIBS
9036 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9037 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9038 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9039 GLUT_LIBS="-lglut -lXmu -lXi"
9041 GLUT32FILES='$(GLUT32FILES)'
9051 for ac_header in audio/audiolib.h
9053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9055 echo "$as_me:$LINENO: checking for $ac_header" >&5
9056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
9060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9063 # Is the header compilable?
9064 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9066 cat >conftest.$ac_ext <<_ACEOF
9069 cat confdefs.h >>conftest.$ac_ext
9070 cat >>conftest.$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9072 $ac_includes_default
9073 #include <$ac_header>
9075 rm -f conftest.$ac_objext
9076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9077 (eval $ac_compile) 2>conftest.er1
9079 grep -v '^ *+' conftest.er1 >conftest.err
9081 cat conftest.err >&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); } &&
9084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); }; } &&
9090 { ac_try='test -s conftest.$ac_objext'
9091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); }; }; then
9096 ac_header_compiler=yes
9098 echo "$as_me: failed program was:" >&5
9099 sed 's/^/| /' conftest.$ac_ext >&5
9101 ac_header_compiler=no
9103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9105 echo "${ECHO_T}$ac_header_compiler" >&6
9107 # Is the header present?
9108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9110 cat >conftest.$ac_ext <<_ACEOF
9113 cat confdefs.h >>conftest.$ac_ext
9114 cat >>conftest.$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9116 #include <$ac_header>
9118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9121 grep -v '^ *+' conftest.er1 >conftest.err
9123 cat conftest.err >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } >/dev/null; then
9126 if test -s conftest.err; then
9127 ac_cpp_err=$ac_c_preproc_warn_flag
9128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9135 if test -z "$ac_cpp_err"; then
9136 ac_header_preproc=yes
9138 echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.$ac_ext >&5
9141 ac_header_preproc=no
9143 rm -f conftest.err conftest.$ac_ext
9144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9145 echo "${ECHO_T}$ac_header_preproc" >&6
9147 # So? What about this header?
9148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9154 ac_header_preproc=yes
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9171 ## ------------------------------------ ##
9172 ## Report this to wine-devel@winehq.org ##
9173 ## ------------------------------------ ##
9176 sed "s/^/$as_me: WARNING: /" >&2
9179 echo "$as_me:$LINENO: checking for $ac_header" >&5
9180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 eval "$as_ac_Header=\$ac_header_preproc"
9186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9191 cat >>confdefs.h <<_ACEOF
9192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9195 for ac_header in audio/soundlib.h
9197 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9198 echo "$as_me:$LINENO: checking for $ac_header" >&5
9199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 cat >conftest.$ac_ext <<_ACEOF
9206 cat confdefs.h >>conftest.$ac_ext
9207 cat >>conftest.$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9209 #include <audio/audiolib.h>
9211 #include <$ac_header>
9213 rm -f conftest.$ac_objext
9214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9215 (eval $ac_compile) 2>conftest.er1
9217 grep -v '^ *+' conftest.er1 >conftest.err
9219 cat conftest.err >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); } &&
9222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; } &&
9228 { ac_try='test -s conftest.$ac_objext'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then
9234 eval "$as_ac_Header=yes"
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.$ac_ext >&5
9239 eval "$as_ac_Header=no"
9241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9246 cat >>confdefs.h <<_ACEOF
9247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9254 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9255 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9256 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 ac_check_lib_save_LIBS=$LIBS
9260 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9261 cat >conftest.$ac_ext <<_ACEOF
9264 cat confdefs.h >>conftest.$ac_ext
9265 cat >>conftest.$ac_ext <<_ACEOF
9266 /* end confdefs.h. */
9268 /* Override any gcc2 internal prototype to avoid an error. */
9272 /* We use char because int might match the return type of a gcc2
9273 builtin and then its argument prototype would still apply. */
9274 char AuCreateFlow ();
9283 rm -f conftest.$ac_objext conftest$ac_exeext
9284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9285 (eval $ac_link) 2>conftest.er1
9287 grep -v '^ *+' conftest.er1 >conftest.err
9289 cat conftest.err >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); } &&
9292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); }; } &&
9298 { ac_try='test -s conftest$ac_exeext'
9299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); }; }; then
9304 ac_cv_lib_audio_AuCreateFlow=yes
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.$ac_ext >&5
9309 ac_cv_lib_audio_AuCreateFlow=no
9311 rm -f conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 LIBS=$ac_check_lib_save_LIBS
9315 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9316 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9317 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9319 cat >>confdefs.h <<\_ACEOF
9323 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9331 CPPFLAGS="$ac_save_CPPFLAGS"
9340 if test "x$with_curses" != "xno"
9343 for ac_header in ncurses.h
9345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9347 echo "$as_me:$LINENO: checking for $ac_header" >&5
9348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9355 # Is the header compilable?
9356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9358 cat >conftest.$ac_ext <<_ACEOF
9361 cat confdefs.h >>conftest.$ac_ext
9362 cat >>conftest.$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 $ac_includes_default
9365 #include <$ac_header>
9367 rm -f conftest.$ac_objext
9368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9369 (eval $ac_compile) 2>conftest.er1
9371 grep -v '^ *+' conftest.er1 >conftest.err
9373 cat conftest.err >&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); } &&
9376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); }; } &&
9382 { ac_try='test -s conftest.$ac_objext'
9383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }; }; then
9388 ac_header_compiler=yes
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9393 ac_header_compiler=no
9395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9397 echo "${ECHO_T}$ac_header_compiler" >&6
9399 # Is the header present?
9400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9402 cat >conftest.$ac_ext <<_ACEOF
9405 cat confdefs.h >>conftest.$ac_ext
9406 cat >>conftest.$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9408 #include <$ac_header>
9410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9413 grep -v '^ *+' conftest.er1 >conftest.err
9415 cat conftest.err >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); } >/dev/null; then
9418 if test -s conftest.err; then
9419 ac_cpp_err=$ac_c_preproc_warn_flag
9420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9427 if test -z "$ac_cpp_err"; then
9428 ac_header_preproc=yes
9430 echo "$as_me: failed program was:" >&5
9431 sed 's/^/| /' conftest.$ac_ext >&5
9433 ac_header_preproc=no
9435 rm -f conftest.err conftest.$ac_ext
9436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9437 echo "${ECHO_T}$ac_header_preproc" >&6
9439 # So? What about this header?
9440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9442 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9445 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9446 ac_header_preproc=yes
9449 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9450 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9451 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9452 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9453 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9454 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9456 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9458 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9460 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9463 ## ------------------------------------ ##
9464 ## Report this to wine-devel@winehq.org ##
9465 ## ------------------------------------ ##
9468 sed "s/^/$as_me: WARNING: /" >&2
9471 echo "$as_me:$LINENO: checking for $ac_header" >&5
9472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 eval "$as_ac_Header=\$ac_header_preproc"
9478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9483 cat >>confdefs.h <<_ACEOF
9484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9486 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9487 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9488 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9491 ac_check_lib_save_LIBS=$LIBS
9492 LIBS="-lncurses $LIBS"
9493 cat >conftest.$ac_ext <<_ACEOF
9496 cat confdefs.h >>conftest.$ac_ext
9497 cat >>conftest.$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9500 /* Override any gcc2 internal prototype to avoid an error. */
9504 /* We use char because int might match the return type of a gcc2
9505 builtin and then its argument prototype would still apply. */
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517 (eval $ac_link) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); }; } &&
9530 { ac_try='test -s conftest$ac_exeext'
9531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); }; }; then
9536 ac_cv_lib_ncurses_waddch=yes
9538 echo "$as_me: failed program was:" >&5
9539 sed 's/^/| /' conftest.$ac_ext >&5
9541 ac_cv_lib_ncurses_waddch=no
9543 rm -f conftest.err conftest.$ac_objext \
9544 conftest$ac_exeext conftest.$ac_ext
9545 LIBS=$ac_check_lib_save_LIBS
9547 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9548 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9549 if test $ac_cv_lib_ncurses_waddch = yes; then
9551 cat >>confdefs.h <<\_ACEOF
9552 #define HAVE_LIBNCURSES 1
9555 CURSESLIBS="-lncurses"
9558 for ac_header in curses.h
9560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9562 echo "$as_me:$LINENO: checking for $ac_header" >&5
9563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9565 echo $ECHO_N "(cached) $ECHO_C" >&6
9567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9570 # Is the header compilable?
9571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9573 cat >conftest.$ac_ext <<_ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9579 $ac_includes_default
9580 #include <$ac_header>
9582 rm -f conftest.$ac_objext
9583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9584 (eval $ac_compile) 2>conftest.er1
9586 grep -v '^ *+' conftest.er1 >conftest.err
9588 cat conftest.err >&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); } &&
9591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; } &&
9597 { ac_try='test -s conftest.$ac_objext'
9598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); }; }; then
9603 ac_header_compiler=yes
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9608 ac_header_compiler=no
9610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9612 echo "${ECHO_T}$ac_header_compiler" >&6
9614 # Is the header present?
9615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9617 cat >conftest.$ac_ext <<_ACEOF
9620 cat confdefs.h >>conftest.$ac_ext
9621 cat >>conftest.$ac_ext <<_ACEOF
9622 /* end confdefs.h. */
9623 #include <$ac_header>
9625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9628 grep -v '^ *+' conftest.er1 >conftest.err
9630 cat conftest.err >&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } >/dev/null; then
9633 if test -s conftest.err; then
9634 ac_cpp_err=$ac_c_preproc_warn_flag
9635 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9642 if test -z "$ac_cpp_err"; then
9643 ac_header_preproc=yes
9645 echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.$ac_ext >&5
9648 ac_header_preproc=no
9650 rm -f conftest.err conftest.$ac_ext
9651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9652 echo "${ECHO_T}$ac_header_preproc" >&6
9654 # So? What about this header?
9655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9661 ac_header_preproc=yes
9664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9678 ## ------------------------------------ ##
9679 ## Report this to wine-devel@winehq.org ##
9680 ## ------------------------------------ ##
9683 sed "s/^/$as_me: WARNING: /" >&2
9686 echo "$as_me:$LINENO: checking for $ac_header" >&5
9687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9689 echo $ECHO_N "(cached) $ECHO_C" >&6
9691 eval "$as_ac_Header=\$ac_header_preproc"
9693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9698 cat >>confdefs.h <<_ACEOF
9699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9701 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9702 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9703 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9706 ac_check_lib_save_LIBS=$LIBS
9707 LIBS="-lcurses $LIBS"
9708 cat >conftest.$ac_ext <<_ACEOF
9711 cat confdefs.h >>conftest.$ac_ext
9712 cat >>conftest.$ac_ext <<_ACEOF
9713 /* end confdefs.h. */
9715 /* Override any gcc2 internal prototype to avoid an error. */
9719 /* We use char because int might match the return type of a gcc2
9720 builtin and then its argument prototype would still apply. */
9730 rm -f conftest.$ac_objext conftest$ac_exeext
9731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9732 (eval $ac_link) 2>conftest.er1
9734 grep -v '^ *+' conftest.er1 >conftest.err
9736 cat conftest.err >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); }; } &&
9745 { ac_try='test -s conftest$ac_exeext'
9746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; }; then
9751 ac_cv_lib_curses_waddch=yes
9753 echo "$as_me: failed program was:" >&5
9754 sed 's/^/| /' conftest.$ac_ext >&5
9756 ac_cv_lib_curses_waddch=no
9758 rm -f conftest.err conftest.$ac_objext \
9759 conftest$ac_exeext conftest.$ac_ext
9760 LIBS=$ac_check_lib_save_LIBS
9762 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9763 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9764 if test $ac_cv_lib_curses_waddch = yes; then
9766 cat >>confdefs.h <<\_ACEOF
9767 #define HAVE_LIBCURSES 1
9770 CURSESLIBS="-lcurses"
9784 LIBS="$CURSESLIBS $LIBS"
9787 for ac_func in getbkgd resizeterm
9789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9790 echo "$as_me:$LINENO: checking for $ac_func" >&5
9791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9792 if eval "test \"\${$as_ac_var+set}\" = set"; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 cat >conftest.$ac_ext <<_ACEOF
9798 cat confdefs.h >>conftest.$ac_ext
9799 cat >>conftest.$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9803 #define $ac_func innocuous_$ac_func
9805 /* System header to define __stub macros and hopefully few prototypes,
9806 which can conflict with char $ac_func (); below.
9807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9808 <limits.h> exists even on freestanding compilers. */
9811 # include <limits.h>
9813 # include <assert.h>
9818 /* Override any gcc2 internal prototype to avoid an error. */
9823 /* We use char because int might match the return type of a gcc2
9824 builtin and then its argument prototype would still apply. */
9826 /* The GNU C library defines this for functions which it implements
9827 to always fail with ENOSYS. Some functions are actually named
9828 something starting with __ and the normal name is an alias. */
9829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9832 char (*f) () = $ac_func;
9841 return f != $ac_func;
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9848 (eval $ac_link) 2>conftest.er1
9850 grep -v '^ *+' conftest.er1 >conftest.err
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } &&
9855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; } &&
9861 { ac_try='test -s conftest$ac_exeext'
9862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); }; }; then
9867 eval "$as_ac_var=yes"
9869 echo "$as_me: failed program was:" >&5
9870 sed 's/^/| /' conftest.$ac_ext >&5
9872 eval "$as_ac_var=no"
9874 rm -f conftest.err conftest.$ac_objext \
9875 conftest$ac_exeext conftest.$ac_ext
9877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9879 if test `eval echo '${'$as_ac_var'}'` = yes; then
9880 cat >>confdefs.h <<_ACEOF
9881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9891 # Extract the first word of "sane-config", so it can be a program name with args.
9892 set dummy sane-config; ac_word=$2
9893 echo "$as_me:$LINENO: checking for $ac_word" >&5
9894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9895 if test "${ac_cv_prog_sane_devel+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 if test -n "$sane_devel"; then
9899 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir=.
9906 for ac_exec_ext in '' $ac_executable_extensions; do
9907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9908 ac_cv_prog_sane_devel="sane-config"
9909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9915 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9918 sane_devel=$ac_cv_prog_sane_devel
9919 if test -n "$sane_devel"; then
9920 echo "$as_me:$LINENO: result: $sane_devel" >&5
9921 echo "${ECHO_T}$sane_devel" >&6
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9927 if test "$sane_devel" = "no"
9932 SANELIBS="`$sane_devel --libs`"
9933 SANEINCL="`$sane_devel --cflags`"
9934 ac_save_CPPFLAGS="$CPPFLAGS"
9935 ac_save_LIBS="$LIBS"
9936 CPPFLAGS="$CPPFLAGS $SANEINCL"
9937 LIBS="$LIBS $SANELIBS"
9938 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9939 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9940 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9941 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9945 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9947 # Is the header compilable?
9948 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9949 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9950 cat >conftest.$ac_ext <<_ACEOF
9953 cat confdefs.h >>conftest.$ac_ext
9954 cat >>conftest.$ac_ext <<_ACEOF
9955 /* end confdefs.h. */
9956 $ac_includes_default
9957 #include <sane/sane.h>
9959 rm -f conftest.$ac_objext
9960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9961 (eval $ac_compile) 2>conftest.er1
9963 grep -v '^ *+' conftest.er1 >conftest.err
9965 cat conftest.err >&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); } &&
9968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; } &&
9974 { ac_try='test -s conftest.$ac_objext'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 ac_header_compiler=yes
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9985 ac_header_compiler=no
9987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9989 echo "${ECHO_T}$ac_header_compiler" >&6
9991 # Is the header present?
9992 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9993 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9994 cat >conftest.$ac_ext <<_ACEOF
9997 cat confdefs.h >>conftest.$ac_ext
9998 cat >>conftest.$ac_ext <<_ACEOF
9999 /* end confdefs.h. */
10000 #include <sane/sane.h>
10002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10005 grep -v '^ *+' conftest.er1 >conftest.err
10007 cat conftest.err >&5
10008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 (exit $ac_status); } >/dev/null; then
10010 if test -s conftest.err; then
10011 ac_cpp_err=$ac_c_preproc_warn_flag
10012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10019 if test -z "$ac_cpp_err"; then
10020 ac_header_preproc=yes
10022 echo "$as_me: failed program was:" >&5
10023 sed 's/^/| /' conftest.$ac_ext >&5
10025 ac_header_preproc=no
10027 rm -f conftest.err conftest.$ac_ext
10028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10029 echo "${ECHO_T}$ac_header_preproc" >&6
10031 # So? What about this header?
10032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10034 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10035 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10036 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10037 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10038 ac_header_preproc=yes
10041 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10042 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10043 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10044 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10045 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10046 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10047 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10048 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10049 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10050 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10051 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10052 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10055 ## ------------------------------------ ##
10056 ## Report this to wine-devel@winehq.org ##
10057 ## ------------------------------------ ##
10060 sed "s/^/$as_me: WARNING: /" >&2
10063 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10064 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10065 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 ac_cv_header_sane_sane_h=$ac_header_preproc
10070 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10071 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10074 if test $ac_cv_header_sane_sane_h = yes; then
10075 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10076 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10077 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10078 echo $ECHO_N "(cached) $ECHO_C" >&6
10080 ac_check_lib_save_LIBS=$LIBS
10081 LIBS="-lsane $LIBS"
10082 cat >conftest.$ac_ext <<_ACEOF
10085 cat confdefs.h >>conftest.$ac_ext
10086 cat >>conftest.$ac_ext <<_ACEOF
10087 /* end confdefs.h. */
10089 /* Override any gcc2 internal prototype to avoid an error. */
10093 /* We use char because int might match the return type of a gcc2
10094 builtin and then its argument prototype would still apply. */
10104 rm -f conftest.$ac_objext conftest$ac_exeext
10105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10106 (eval $ac_link) 2>conftest.er1
10108 grep -v '^ *+' conftest.er1 >conftest.err
10110 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } &&
10113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; } &&
10119 { ac_try='test -s conftest$ac_exeext'
10120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10121 (eval $ac_try) 2>&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); }; }; then
10125 ac_cv_lib_sane_sane_open=yes
10127 echo "$as_me: failed program was:" >&5
10128 sed 's/^/| /' conftest.$ac_ext >&5
10130 ac_cv_lib_sane_sane_open=no
10132 rm -f conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10136 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10137 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10138 if test $ac_cv_lib_sane_sane_open = yes; then
10140 cat >>confdefs.h <<\_ACEOF
10141 #define HAVE_SANE 1
10155 LIBS="$ac_save_LIBS"
10156 CPPFLAGS="$ac_save_CPPFLAGS"
10162 for ac_header in unicode/ubidi.h
10164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10166 echo "$as_me:$LINENO: checking for $ac_header" >&5
10167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10169 echo $ECHO_N "(cached) $ECHO_C" >&6
10171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10174 # Is the header compilable?
10175 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10177 cat >conftest.$ac_ext <<_ACEOF
10180 cat confdefs.h >>conftest.$ac_ext
10181 cat >>conftest.$ac_ext <<_ACEOF
10182 /* end confdefs.h. */
10183 $ac_includes_default
10184 #include <$ac_header>
10186 rm -f conftest.$ac_objext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10188 (eval $ac_compile) 2>conftest.er1
10190 grep -v '^ *+' conftest.er1 >conftest.err
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; } &&
10201 { ac_try='test -s conftest.$ac_objext'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then
10207 ac_header_compiler=yes
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.$ac_ext >&5
10212 ac_header_compiler=no
10214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10216 echo "${ECHO_T}$ac_header_compiler" >&6
10218 # Is the header present?
10219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10221 cat >conftest.$ac_ext <<_ACEOF
10224 cat confdefs.h >>conftest.$ac_ext
10225 cat >>conftest.$ac_ext <<_ACEOF
10226 /* end confdefs.h. */
10227 #include <$ac_header>
10229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10232 grep -v '^ *+' conftest.er1 >conftest.err
10234 cat conftest.err >&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } >/dev/null; then
10237 if test -s conftest.err; then
10238 ac_cpp_err=$ac_c_preproc_warn_flag
10239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10246 if test -z "$ac_cpp_err"; then
10247 ac_header_preproc=yes
10249 echo "$as_me: failed program was:" >&5
10250 sed 's/^/| /' conftest.$ac_ext >&5
10252 ac_header_preproc=no
10254 rm -f conftest.err conftest.$ac_ext
10255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10256 echo "${ECHO_T}$ac_header_preproc" >&6
10258 # So? What about this header?
10259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10265 ac_header_preproc=yes
10268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10282 ## ------------------------------------ ##
10283 ## Report this to wine-devel@winehq.org ##
10284 ## ------------------------------------ ##
10287 sed "s/^/$as_me: WARNING: /" >&2
10290 echo "$as_me:$LINENO: checking for $ac_header" >&5
10291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10293 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 eval "$as_ac_Header=\$ac_header_preproc"
10297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10302 cat >>confdefs.h <<_ACEOF
10303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10310 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10313 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
10314 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10315 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10316 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10317 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10318 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10319 cat >conftest.$ac_ext <<_ACEOF
10322 cat confdefs.h >>conftest.$ac_ext
10323 cat >>conftest.$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10325 #include <unicode/ubidi.h>
10334 rm -f conftest.$ac_objext conftest$ac_exeext
10335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10336 (eval $ac_link) 2>conftest.er1
10338 grep -v '^ *+' conftest.er1 >conftest.err
10340 cat conftest.err >&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } &&
10343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; } &&
10349 { ac_try='test -s conftest$ac_exeext'
10350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10351 (eval $ac_try) 2>&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); }; }; then
10356 cat >>confdefs.h <<\_ACEOF
10360 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10362 echo "$as_me:$LINENO: result: yes" >&5
10363 echo "${ECHO_T}yes" >&6
10365 echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.$ac_ext >&5
10368 echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6
10371 rm -f conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10376 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10377 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10378 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10379 echo $ECHO_N "(cached) $ECHO_C" >&6
10381 ac_check_lib_save_LIBS=$LIBS
10382 LIBS="-lfreetype $X_LIBS $LIBS"
10383 cat >conftest.$ac_ext <<_ACEOF
10386 cat confdefs.h >>conftest.$ac_ext
10387 cat >>conftest.$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10390 /* Override any gcc2 internal prototype to avoid an error. */
10394 /* We use char because int might match the return type of a gcc2
10395 builtin and then its argument prototype would still apply. */
10396 char FT_Init_FreeType ();
10400 FT_Init_FreeType ();
10405 rm -f conftest.$ac_objext conftest$ac_exeext
10406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10407 (eval $ac_link) 2>conftest.er1
10409 grep -v '^ *+' conftest.er1 >conftest.err
10411 cat conftest.err >&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); } &&
10414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; } &&
10420 { ac_try='test -s conftest$ac_exeext'
10421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10422 (eval $ac_try) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10426 ac_cv_lib_freetype_FT_Init_FreeType=yes
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.$ac_ext >&5
10431 ac_cv_lib_freetype_FT_Init_FreeType=no
10433 rm -f conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_lib_save_LIBS
10437 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10438 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10439 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10445 if test "$ft_lib" = "no"
10449 wine_cv_msg_freetype=no
10451 # Extract the first word of "freetype-config", so it can be a program name with args.
10452 set dummy freetype-config; ac_word=$2
10453 echo "$as_me:$LINENO: checking for $ac_word" >&5
10454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10455 if test "${ac_cv_prog_ft_devel+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10458 if test -n "$ft_devel"; then
10459 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10462 for as_dir in $PATH
10465 test -z "$as_dir" && as_dir=.
10466 for ac_exec_ext in '' $ac_executable_extensions; do
10467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10468 ac_cv_prog_ft_devel="freetype-config"
10469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10475 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10478 ft_devel=$ac_cv_prog_ft_devel
10479 if test -n "$ft_devel"; then
10480 echo "$as_me:$LINENO: result: $ft_devel" >&5
10481 echo "${ECHO_T}$ft_devel" >&6
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10487 if test "$ft_devel" = "no"
10489 # Extract the first word of "freetype2-config", so it can be a program name with args.
10490 set dummy freetype2-config; ac_word=$2
10491 echo "$as_me:$LINENO: checking for $ac_word" >&5
10492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10493 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 if test -n "$ft_devel2"; then
10497 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10503 test -z "$as_dir" && as_dir=.
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10506 ac_cv_prog_ft_devel2="freetype2-config"
10507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10513 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10516 ft_devel2=$ac_cv_prog_ft_devel2
10517 if test -n "$ft_devel2"; then
10518 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10519 echo "${ECHO_T}$ft_devel2" >&6
10521 echo "$as_me:$LINENO: result: no" >&5
10522 echo "${ECHO_T}no" >&6
10525 if test "$ft_devel2" = "freetype2-config"
10527 ft_devel=$ft_devel2
10530 if test "$ft_devel" = "no"
10534 wine_cv_msg_freetype=yes
10536 FREETYPELIBS=`$ft_devel --libs`
10537 FREETYPEINCL=`$ft_devel --cflags`
10538 ac_save_CPPFLAGS="$CPPFLAGS"
10539 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10550 for ac_header in ft2build.h \
10551 freetype/freetype.h \
10552 freetype/ftglyph.h \
10553 freetype/tttables.h \
10554 freetype/ftnames.h \
10555 freetype/ftsnames.h \
10556 freetype/ttnameid.h \
10557 freetype/ftoutln.h \
10558 freetype/ftwinfnt.h \
10559 freetype/internal/sfnt.h
10561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10562 echo "$as_me:$LINENO: checking for $ac_header" >&5
10563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 cat >conftest.$ac_ext <<_ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
10572 /* end confdefs.h. */
10573 #if HAVE_FT2BUILD_H
10574 #include <ft2build.h>
10577 #include <$ac_header>
10579 rm -f conftest.$ac_objext
10580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10581 (eval $ac_compile) 2>conftest.er1
10583 grep -v '^ *+' conftest.er1 >conftest.err
10585 cat conftest.err >&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } &&
10588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; } &&
10594 { ac_try='test -s conftest.$ac_objext'
10595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10596 (eval $ac_try) 2>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); }; }; then
10600 eval "$as_ac_Header=yes"
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10605 eval "$as_ac_Header=no"
10607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10612 cat >>confdefs.h <<_ACEOF
10613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10620 cat >conftest.$ac_ext <<_ACEOF
10623 cat confdefs.h >>conftest.$ac_ext
10624 cat >>conftest.$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10626 #include <ft2build.h>
10627 #include <freetype/fttrigon.h>
10629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10632 grep -v '^ *+' conftest.er1 >conftest.err
10634 cat conftest.err >&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } >/dev/null; then
10637 if test -s conftest.err; then
10638 ac_cpp_err=$ac_c_preproc_warn_flag
10639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10646 if test -z "$ac_cpp_err"; then
10648 cat >>confdefs.h <<\_ACEOF
10649 #define HAVE_FREETYPE_FTTRIGON_H 1
10652 wine_cv_fttrigon=yes
10654 echo "$as_me: failed program was:" >&5
10655 sed 's/^/| /' conftest.$ac_ext >&5
10657 wine_cv_fttrigon=no
10659 rm -f conftest.err conftest.$ac_ext
10660 CPPFLAGS="$ac_save_CPPFLAGS"
10661 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10664 cat >>confdefs.h <<\_ACEOF
10665 #define HAVE_FREETYPE 1
10668 wine_cv_msg_freetype=no
10672 wine_cv_msg_freetype=yes
10679 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10681 FONTSSUBDIRS="fonts"
10685 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10686 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10687 if test "${ac_cv_c_ppdev+set}" = set; then
10688 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 cat >conftest.$ac_ext <<_ACEOF
10693 cat confdefs.h >>conftest.$ac_ext
10694 cat >>conftest.$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 #include <linux/ppdev.h>
10700 ioctl (1,PPCLAIM,0)
10705 rm -f conftest.$ac_objext
10706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10707 (eval $ac_compile) 2>conftest.er1
10709 grep -v '^ *+' conftest.er1 >conftest.err
10711 cat conftest.err >&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } &&
10714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; } &&
10720 { ac_try='test -s conftest.$ac_objext'
10721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10722 (eval $ac_try) 2>&5
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; }; then
10726 ac_cv_c_ppdev="yes"
10728 echo "$as_me: failed program was:" >&5
10729 sed 's/^/| /' conftest.$ac_ext >&5
10733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10736 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10737 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10738 if test "$ac_cv_c_ppdev" = "yes"
10741 cat >>confdefs.h <<\_ACEOF
10742 #define HAVE_PPDEV 1
10747 echo "$as_me:$LINENO: checking for va_copy" >&5
10748 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10749 if test "${ac_cv_c_va_copy+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 cat >conftest.$ac_ext <<_ACEOF
10755 cat confdefs.h >>conftest.$ac_ext
10756 cat >>conftest.$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10758 #include <stdarg.h>
10769 rm -f conftest.$ac_objext conftest$ac_exeext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10771 (eval $ac_link) 2>conftest.er1
10773 grep -v '^ *+' conftest.er1 >conftest.err
10775 cat conftest.err >&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; } &&
10784 { ac_try='test -s conftest$ac_exeext'
10785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786 (eval $ac_try) 2>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); }; }; then
10790 ac_cv_c_va_copy="yes"
10792 echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.$ac_ext >&5
10795 ac_cv_c_va_copy="no"
10797 rm -f conftest.err conftest.$ac_objext \
10798 conftest$ac_exeext conftest.$ac_ext
10801 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10802 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10803 if test "$ac_cv_c_va_copy" = "yes"
10806 cat >>confdefs.h <<\_ACEOF
10807 #define HAVE_VA_COPY 1
10811 echo "$as_me:$LINENO: checking for __va_copy" >&5
10812 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10813 if test "${ac_cv_c___va_copy+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 cat >conftest.$ac_ext <<_ACEOF
10819 cat confdefs.h >>conftest.$ac_ext
10820 cat >>conftest.$ac_ext <<_ACEOF
10821 /* end confdefs.h. */
10822 #include <stdarg.h>
10827 __va_copy(ap1,ap2);
10833 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>conftest.er1
10837 grep -v '^ *+' conftest.er1 >conftest.err
10839 cat conftest.err >&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } &&
10842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; } &&
10848 { ac_try='test -s conftest$ac_exeext'
10849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10850 (eval $ac_try) 2>&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); }; }; then
10854 ac_cv_c___va_copy="yes"
10856 echo "$as_me: failed program was:" >&5
10857 sed 's/^/| /' conftest.$ac_ext >&5
10859 ac_cv_c___va_copy="no"
10861 rm -f conftest.err conftest.$ac_objext \
10862 conftest$ac_exeext conftest.$ac_ext
10865 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10866 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10867 if test "$ac_cv_c___va_copy" = "yes"
10870 cat >>confdefs.h <<\_ACEOF
10871 #define HAVE___VA_COPY 1
10876 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10877 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10878 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10881 cat >conftest.$ac_ext <<_ACEOF
10884 cat confdefs.h >>conftest.$ac_ext
10885 cat >>conftest.$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10887 #include <setjmp.h>
10892 sigsetjmp( buf, 1 );
10893 siglongjmp( buf, 1 );
10898 rm -f conftest.$ac_objext conftest$ac_exeext
10899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10900 (eval $ac_link) 2>conftest.er1
10902 grep -v '^ *+' conftest.er1 >conftest.err
10904 cat conftest.err >&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } &&
10907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; } &&
10913 { ac_try='test -s conftest$ac_exeext'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; }; then
10919 ac_cv_c_sigsetjmp="yes"
10921 echo "$as_me: failed program was:" >&5
10922 sed 's/^/| /' conftest.$ac_ext >&5
10924 ac_cv_c_sigsetjmp="no"
10926 rm -f conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10930 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10931 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10932 if test "$ac_cv_c_sigsetjmp" = "yes"
10935 cat >>confdefs.h <<\_ACEOF
10936 #define HAVE_SIGSETJMP 1
10941 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10942 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10943 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10944 echo $ECHO_N "(cached) $ECHO_C" >&6
10946 cat >conftest.$ac_ext <<_ACEOF
10949 cat confdefs.h >>conftest.$ac_ext
10950 cat >>conftest.$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10952 #define _GNU_SOURCE
10953 #include <pthread.h>
10958 if ((pthread_rwlock_t *) 0)
10960 if (sizeof (pthread_rwlock_t))
10966 rm -f conftest.$ac_objext
10967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10968 (eval $ac_compile) 2>conftest.er1
10970 grep -v '^ *+' conftest.er1 >conftest.err
10972 cat conftest.err >&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); } &&
10975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10977 (eval $ac_try) 2>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); }; } &&
10981 { ac_try='test -s conftest.$ac_objext'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; }; then
10987 ac_cv_type_pthread_rwlock_t=yes
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.$ac_ext >&5
10992 ac_cv_type_pthread_rwlock_t=no
10994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10996 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10997 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10998 if test $ac_cv_type_pthread_rwlock_t = yes; then
11000 cat >>confdefs.h <<_ACEOF
11001 #define HAVE_PTHREAD_RWLOCK_T 1
11006 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11007 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11008 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
11011 cat >conftest.$ac_ext <<_ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11017 #define _GNU_SOURCE
11018 #include <pthread.h>
11023 if ((pthread_rwlockattr_t *) 0)
11025 if (sizeof (pthread_rwlockattr_t))
11031 rm -f conftest.$ac_objext
11032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11033 (eval $ac_compile) 2>conftest.er1
11035 grep -v '^ *+' conftest.er1 >conftest.err
11037 cat conftest.err >&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); } &&
11040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try='test -s conftest.$ac_objext'
11047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048 (eval $ac_try) 2>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }; }; then
11052 ac_cv_type_pthread_rwlockattr_t=yes
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.$ac_ext >&5
11057 ac_cv_type_pthread_rwlockattr_t=no
11059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11061 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11062 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11063 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11065 cat >>confdefs.h <<_ACEOF
11066 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11073 ac_save_LIBS="$LIBS"
11074 LIBS="$LIBS $LIBPTHREAD"
11079 pthread_getattr_np \
11080 pthread_get_stackaddr_np \
11081 pthread_get_stacksize_np \
11084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11085 echo "$as_me:$LINENO: checking for $ac_func" >&5
11086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11087 if eval "test \"\${$as_ac_var+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. */
11096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11098 #define $ac_func innocuous_$ac_func
11100 /* System header to define __stub macros and hopefully few prototypes,
11101 which can conflict with char $ac_func (); below.
11102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11103 <limits.h> exists even on freestanding compilers. */
11106 # include <limits.h>
11108 # include <assert.h>
11113 /* Override any gcc2 internal prototype to avoid an error. */
11118 /* We use char because int might match the return type of a gcc2
11119 builtin and then its argument prototype would still apply. */
11121 /* The GNU C library defines this for functions which it implements
11122 to always fail with ENOSYS. Some functions are actually named
11123 something starting with __ and the normal name is an alias. */
11124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11127 char (*f) () = $ac_func;
11136 return f != $ac_func;
11141 rm -f conftest.$ac_objext conftest$ac_exeext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11143 (eval $ac_link) 2>conftest.er1
11145 grep -v '^ *+' conftest.er1 >conftest.err
11147 cat conftest.err >&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; } &&
11156 { ac_try='test -s conftest$ac_exeext'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; }; then
11162 eval "$as_ac_var=yes"
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11167 eval "$as_ac_var=no"
11169 rm -f conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11174 if test `eval echo '${'$as_ac_var'}'` = yes; then
11175 cat >>confdefs.h <<_ACEOF
11176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11182 LIBS="$ac_save_LIBS"
11187 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
11189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11191 echo "$as_me:$LINENO: checking for $ac_header" >&5
11192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11194 echo $ECHO_N "(cached) $ECHO_C" >&6
11196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11199 # Is the header compilable?
11200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11202 cat >conftest.$ac_ext <<_ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11208 $ac_includes_default
11209 #include <$ac_header>
11211 rm -f conftest.$ac_objext
11212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11213 (eval $ac_compile) 2>conftest.er1
11215 grep -v '^ *+' conftest.er1 >conftest.err
11217 cat conftest.err >&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } &&
11220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try='test -s conftest.$ac_objext'
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then
11232 ac_header_compiler=yes
11234 echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11237 ac_header_compiler=no
11239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11241 echo "${ECHO_T}$ac_header_compiler" >&6
11243 # Is the header present?
11244 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11246 cat >conftest.$ac_ext <<_ACEOF
11249 cat confdefs.h >>conftest.$ac_ext
11250 cat >>conftest.$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11252 #include <$ac_header>
11254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11257 grep -v '^ *+' conftest.er1 >conftest.err
11259 cat conftest.err >&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); } >/dev/null; then
11262 if test -s conftest.err; then
11263 ac_cpp_err=$ac_c_preproc_warn_flag
11264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11271 if test -z "$ac_cpp_err"; then
11272 ac_header_preproc=yes
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11277 ac_header_preproc=no
11279 rm -f conftest.err conftest.$ac_ext
11280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11281 echo "${ECHO_T}$ac_header_preproc" >&6
11283 # So? What about this header?
11284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11287 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11289 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11290 ac_header_preproc=yes
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11297 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11298 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11300 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11303 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11304 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11307 ## ------------------------------------ ##
11308 ## Report this to wine-devel@winehq.org ##
11309 ## ------------------------------------ ##
11312 sed "s/^/$as_me: WARNING: /" >&2
11315 echo "$as_me:$LINENO: checking for $ac_header" >&5
11316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 eval "$as_ac_Header=\$ac_header_preproc"
11322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11327 cat >>confdefs.h <<_ACEOF
11328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11336 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11337 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11338 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11339 echo $ECHO_N "(cached) $ECHO_C" >&6
11341 cat >conftest.$ac_ext <<_ACEOF
11344 cat confdefs.h >>conftest.$ac_ext
11345 cat >>conftest.$ac_ext <<_ACEOF
11346 /* end confdefs.h. */
11348 #if defined(HAVE_SYS_SOUNDCARD_H)
11349 #include <sys/soundcard.h>
11350 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11351 #include <machine/soundcard.h>
11352 #elif defined(HAVE_SOUNDCARD_H)
11353 #include <soundcard.h>
11361 /* check for one of the Open Sound System specific SNDCTL_ defines */
11362 #if !defined(SNDCTL_DSP_STEREO)
11363 #error No open sound system
11370 rm -f conftest.$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>conftest.er1
11374 grep -v '^ *+' conftest.er1 >conftest.err
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 (eval $ac_try) 2>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); }; } &&
11385 { ac_try='test -s conftest.$ac_objext'
11386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11387 (eval $ac_try) 2>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; }; then
11391 ac_cv_c_opensoundsystem="yes"
11393 echo "$as_me: failed program was:" >&5
11394 sed 's/^/| /' conftest.$ac_ext >&5
11396 ac_cv_c_opensoundsystem="no"
11398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11400 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11401 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11403 if test "$ac_cv_c_opensoundsystem" = "yes"
11406 cat >>confdefs.h <<\_ACEOF
11412 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11413 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11414 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11417 cat >conftest.$ac_ext <<_ACEOF
11420 cat confdefs.h >>conftest.$ac_ext
11421 cat >>conftest.$ac_ext <<_ACEOF
11422 /* end confdefs.h. */
11424 #if defined(HAVE_SYS_SOUNDCARD_H)
11425 #include <sys/soundcard.h>
11426 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11427 #include <machine/soundcard.h>
11428 #elif defined(HAVE_SOUNDCARD_H)
11429 #include <soundcard.h>
11437 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11438 #if !defined(SNDCTL_SEQ_SYNC)
11439 #error No open sound system MIDI interface
11446 rm -f conftest.$ac_objext
11447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11448 (eval $ac_compile) 2>conftest.er1
11450 grep -v '^ *+' conftest.er1 >conftest.err
11452 cat conftest.err >&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } &&
11455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; } &&
11461 { ac_try='test -s conftest.$ac_objext'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; }; then
11467 ac_cv_c_opensoundsystem_midi="yes"
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.$ac_ext >&5
11472 ac_cv_c_opensoundsystem_midi="no"
11474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11476 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11477 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11479 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11482 cat >>confdefs.h <<\_ACEOF
11483 #define HAVE_OSS_MIDI 1
11488 # Extract the first word of "artsc-config", so it can be a program name with args.
11489 set dummy artsc-config; ac_word=$2
11490 echo "$as_me:$LINENO: checking for $ac_word" >&5
11491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11492 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11495 case $ARTSCCONFIG in
11497 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11507 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11517 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11519 if test -n "$ARTSCCONFIG"; then
11520 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11521 echo "${ECHO_T}$ARTSCCONFIG" >&6
11523 echo "$as_me:$LINENO: result: no" >&5
11524 echo "${ECHO_T}no" >&6
11527 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11530 for i in `$ARTSCCONFIG --cflags`
11533 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11536 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11537 save_CFLAGS="$CFLAGS"
11538 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11539 cat >conftest.$ac_ext <<_ACEOF
11542 cat confdefs.h >>conftest.$ac_ext
11543 cat >>conftest.$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11549 arts_stream_t stream;
11554 rm -f conftest.$ac_objext
11555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11556 (eval $ac_compile) 2>conftest.er1
11558 grep -v '^ *+' conftest.er1 >conftest.err
11560 cat conftest.err >&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } &&
11563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11565 (eval $ac_try) 2>&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); }; } &&
11569 { ac_try='test -s conftest.$ac_objext'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; }; then
11575 ARTSLIBS=$ARTSC_LIBS
11577 ARTSINCL=$ARTSC_CFLAGS
11580 cat >>confdefs.h <<\_ACEOF
11581 #define HAVE_ARTS 1
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.$ac_ext >&5
11589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11590 CFLAGS="$save_CFLAGS"
11597 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11601 echo "$as_me:$LINENO: checking for $ac_header" >&5
11602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11604 echo $ECHO_N "(cached) $ECHO_C" >&6
11606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11609 # Is the header compilable?
11610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11612 cat >conftest.$ac_ext <<_ACEOF
11615 cat confdefs.h >>conftest.$ac_ext
11616 cat >>conftest.$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11618 $ac_includes_default
11619 #include <$ac_header>
11621 rm -f conftest.$ac_objext
11622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11623 (eval $ac_compile) 2>conftest.er1
11625 grep -v '^ *+' conftest.er1 >conftest.err
11627 cat conftest.err >&5
11628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); } &&
11630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; } &&
11636 { ac_try='test -s conftest.$ac_objext'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; }; then
11642 ac_header_compiler=yes
11644 echo "$as_me: failed program was:" >&5
11645 sed 's/^/| /' conftest.$ac_ext >&5
11647 ac_header_compiler=no
11649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11651 echo "${ECHO_T}$ac_header_compiler" >&6
11653 # Is the header present?
11654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11656 cat >conftest.$ac_ext <<_ACEOF
11659 cat confdefs.h >>conftest.$ac_ext
11660 cat >>conftest.$ac_ext <<_ACEOF
11661 /* end confdefs.h. */
11662 #include <$ac_header>
11664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11665 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11667 grep -v '^ *+' conftest.er1 >conftest.err
11669 cat conftest.err >&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); } >/dev/null; then
11672 if test -s conftest.err; then
11673 ac_cpp_err=$ac_c_preproc_warn_flag
11674 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11681 if test -z "$ac_cpp_err"; then
11682 ac_header_preproc=yes
11684 echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.$ac_ext >&5
11687 ac_header_preproc=no
11689 rm -f conftest.err conftest.$ac_ext
11690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11691 echo "${ECHO_T}$ac_header_preproc" >&6
11693 # So? What about this header?
11694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11700 ac_header_preproc=yes
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11710 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11717 ## ------------------------------------ ##
11718 ## Report this to wine-devel@winehq.org ##
11719 ## ------------------------------------ ##
11722 sed "s/^/$as_me: WARNING: /" >&2
11725 echo "$as_me:$LINENO: checking for $ac_header" >&5
11726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11728 echo $ECHO_N "(cached) $ECHO_C" >&6
11730 eval "$as_ac_Header=\$ac_header_preproc"
11732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11737 cat >>confdefs.h <<_ACEOF
11738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11745 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11747 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11748 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11749 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11750 echo $ECHO_N "(cached) $ECHO_C" >&6
11752 ac_check_lib_save_LIBS=$LIBS
11753 LIBS="-lasound $LIBS"
11754 cat >conftest.$ac_ext <<_ACEOF
11757 cat confdefs.h >>conftest.$ac_ext
11758 cat >>conftest.$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11761 /* Override any gcc2 internal prototype to avoid an error. */
11765 /* We use char because int might match the return type of a gcc2
11766 builtin and then its argument prototype would still apply. */
11767 char snd_pcm_open ();
11776 rm -f conftest.$ac_objext conftest$ac_exeext
11777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11778 (eval $ac_link) 2>conftest.er1
11780 grep -v '^ *+' conftest.er1 >conftest.err
11782 cat conftest.err >&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } &&
11785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; } &&
11791 { ac_try='test -s conftest$ac_exeext'
11792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11793 (eval $ac_try) 2>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; }; then
11797 ac_cv_lib_asound_snd_pcm_open=yes
11799 echo "$as_me: failed program was:" >&5
11800 sed 's/^/| /' conftest.$ac_ext >&5
11802 ac_cv_lib_asound_snd_pcm_open=no
11804 rm -f conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11806 LIBS=$ac_check_lib_save_LIBS
11808 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11809 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11810 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11812 cat >>confdefs.h <<\_ACEOF
11813 #define HAVE_ALSA 1
11816 ALSALIBS="-lasound"
11825 for ac_header in libaudioio.h
11827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11829 echo "$as_me:$LINENO: checking for $ac_header" >&5
11830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11832 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11837 # Is the header compilable?
11838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11840 cat >conftest.$ac_ext <<_ACEOF
11843 cat confdefs.h >>conftest.$ac_ext
11844 cat >>conftest.$ac_ext <<_ACEOF
11845 /* end confdefs.h. */
11846 $ac_includes_default
11847 #include <$ac_header>
11849 rm -f conftest.$ac_objext
11850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11851 (eval $ac_compile) 2>conftest.er1
11853 grep -v '^ *+' conftest.er1 >conftest.err
11855 cat conftest.err >&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); } &&
11858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; } &&
11864 { ac_try='test -s conftest.$ac_objext'
11865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11866 (eval $ac_try) 2>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); }; }; then
11870 ac_header_compiler=yes
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11875 ac_header_compiler=no
11877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11879 echo "${ECHO_T}$ac_header_compiler" >&6
11881 # Is the header present?
11882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11884 cat >conftest.$ac_ext <<_ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 #include <$ac_header>
11892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11895 grep -v '^ *+' conftest.er1 >conftest.err
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } >/dev/null; then
11900 if test -s conftest.err; then
11901 ac_cpp_err=$ac_c_preproc_warn_flag
11902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11909 if test -z "$ac_cpp_err"; then
11910 ac_header_preproc=yes
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.$ac_ext >&5
11915 ac_header_preproc=no
11917 rm -f conftest.err conftest.$ac_ext
11918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11919 echo "${ECHO_T}$ac_header_preproc" >&6
11921 # So? What about this header?
11922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11928 ac_header_preproc=yes
11931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11945 ## ------------------------------------ ##
11946 ## Report this to wine-devel@winehq.org ##
11947 ## ------------------------------------ ##
11950 sed "s/^/$as_me: WARNING: /" >&2
11953 echo "$as_me:$LINENO: checking for $ac_header" >&5
11954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11956 echo $ECHO_N "(cached) $ECHO_C" >&6
11958 eval "$as_ac_Header=\$ac_header_preproc"
11960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11965 cat >>confdefs.h <<_ACEOF
11966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11968 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11969 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11970 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11971 echo $ECHO_N "(cached) $ECHO_C" >&6
11973 ac_check_lib_save_LIBS=$LIBS
11974 LIBS="-laudioio $LIBS"
11975 cat >conftest.$ac_ext <<_ACEOF
11978 cat confdefs.h >>conftest.$ac_ext
11979 cat >>conftest.$ac_ext <<_ACEOF
11980 /* end confdefs.h. */
11982 /* Override any gcc2 internal prototype to avoid an error. */
11986 /* We use char because int might match the return type of a gcc2
11987 builtin and then its argument prototype would still apply. */
11988 char AudioIOGetVersion ();
11992 AudioIOGetVersion ();
11997 rm -f conftest.$ac_objext conftest$ac_exeext
11998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11999 (eval $ac_link) 2>conftest.er1
12001 grep -v '^ *+' conftest.er1 >conftest.err
12003 cat conftest.err >&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); } &&
12006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12008 (eval $ac_try) 2>&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); }; } &&
12012 { ac_try='test -s conftest$ac_exeext'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; }; then
12018 ac_cv_lib_audioio_AudioIOGetVersion=yes
12020 echo "$as_me: failed program was:" >&5
12021 sed 's/^/| /' conftest.$ac_ext >&5
12023 ac_cv_lib_audioio_AudioIOGetVersion=no
12025 rm -f conftest.err conftest.$ac_objext \
12026 conftest$ac_exeext conftest.$ac_ext
12027 LIBS=$ac_check_lib_save_LIBS
12029 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12030 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12031 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12032 AUDIOIOLIBS="-laudioio"
12034 cat >>confdefs.h <<\_ACEOF
12035 #define HAVE_LIBAUDIOIO 1
12047 for ac_header in capi20.h
12049 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12051 echo "$as_me:$LINENO: checking for $ac_header" >&5
12052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12059 # Is the header compilable?
12060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12062 cat >conftest.$ac_ext <<_ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 $ac_includes_default
12069 #include <$ac_header>
12071 rm -f conftest.$ac_objext
12072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12073 (eval $ac_compile) 2>conftest.er1
12075 grep -v '^ *+' conftest.er1 >conftest.err
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try='test -s conftest.$ac_objext'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; }; then
12092 ac_header_compiler=yes
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.$ac_ext >&5
12097 ac_header_compiler=no
12099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12101 echo "${ECHO_T}$ac_header_compiler" >&6
12103 # Is the header present?
12104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12106 cat >conftest.$ac_ext <<_ACEOF
12109 cat confdefs.h >>conftest.$ac_ext
12110 cat >>conftest.$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12112 #include <$ac_header>
12114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12117 grep -v '^ *+' conftest.er1 >conftest.err
12119 cat conftest.err >&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } >/dev/null; then
12122 if test -s conftest.err; then
12123 ac_cpp_err=$ac_c_preproc_warn_flag
12124 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12131 if test -z "$ac_cpp_err"; then
12132 ac_header_preproc=yes
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12137 ac_header_preproc=no
12139 rm -f conftest.err conftest.$ac_ext
12140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12141 echo "${ECHO_T}$ac_header_preproc" >&6
12143 # So? What about this header?
12144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12150 ac_header_preproc=yes
12153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12167 ## ------------------------------------ ##
12168 ## Report this to wine-devel@winehq.org ##
12169 ## ------------------------------------ ##
12172 sed "s/^/$as_me: WARNING: /" >&2
12175 echo "$as_me:$LINENO: checking for $ac_header" >&5
12176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 eval "$as_ac_Header=\$ac_header_preproc"
12182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12187 cat >>confdefs.h <<_ACEOF
12188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12192 for ac_header in linux/capi.h
12194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12196 echo "$as_me:$LINENO: checking for $ac_header" >&5
12197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12199 echo $ECHO_N "(cached) $ECHO_C" >&6
12201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12204 # Is the header compilable?
12205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12207 cat >conftest.$ac_ext <<_ACEOF
12210 cat confdefs.h >>conftest.$ac_ext
12211 cat >>conftest.$ac_ext <<_ACEOF
12212 /* end confdefs.h. */
12213 $ac_includes_default
12214 #include <$ac_header>
12216 rm -f conftest.$ac_objext
12217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12218 (eval $ac_compile) 2>conftest.er1
12220 grep -v '^ *+' conftest.er1 >conftest.err
12222 cat conftest.err >&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); } &&
12225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; } &&
12231 { ac_try='test -s conftest.$ac_objext'
12232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12233 (eval $ac_try) 2>&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); }; }; then
12237 ac_header_compiler=yes
12239 echo "$as_me: failed program was:" >&5
12240 sed 's/^/| /' conftest.$ac_ext >&5
12242 ac_header_compiler=no
12244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12246 echo "${ECHO_T}$ac_header_compiler" >&6
12248 # Is the header present?
12249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12251 cat >conftest.$ac_ext <<_ACEOF
12254 cat confdefs.h >>conftest.$ac_ext
12255 cat >>conftest.$ac_ext <<_ACEOF
12256 /* end confdefs.h. */
12257 #include <$ac_header>
12259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12262 grep -v '^ *+' conftest.er1 >conftest.err
12264 cat conftest.err >&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); } >/dev/null; then
12267 if test -s conftest.err; then
12268 ac_cpp_err=$ac_c_preproc_warn_flag
12269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12276 if test -z "$ac_cpp_err"; then
12277 ac_header_preproc=yes
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.$ac_ext >&5
12282 ac_header_preproc=no
12284 rm -f conftest.err conftest.$ac_ext
12285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12286 echo "${ECHO_T}$ac_header_preproc" >&6
12288 # So? What about this header?
12289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12295 ac_header_preproc=yes
12298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12312 ## ------------------------------------ ##
12313 ## Report this to wine-devel@winehq.org ##
12314 ## ------------------------------------ ##
12317 sed "s/^/$as_me: WARNING: /" >&2
12320 echo "$as_me:$LINENO: checking for $ac_header" >&5
12321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 eval "$as_ac_Header=\$ac_header_preproc"
12327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12332 cat >>confdefs.h <<_ACEOF
12333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12336 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12337 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12338 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12339 echo $ECHO_N "(cached) $ECHO_C" >&6
12341 ac_check_lib_save_LIBS=$LIBS
12342 LIBS="-lcapi20 $LIBS"
12343 cat >conftest.$ac_ext <<_ACEOF
12346 cat confdefs.h >>conftest.$ac_ext
12347 cat >>conftest.$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12350 /* Override any gcc2 internal prototype to avoid an error. */
12354 /* We use char because int might match the return type of a gcc2
12355 builtin and then its argument prototype would still apply. */
12356 char capi20_register ();
12360 capi20_register ();
12365 rm -f conftest.$ac_objext conftest$ac_exeext
12366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12367 (eval $ac_link) 2>conftest.er1
12369 grep -v '^ *+' conftest.er1 >conftest.err
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try='test -s conftest$ac_exeext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 ac_cv_lib_capi20_capi20_register=yes
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.$ac_ext >&5
12391 ac_cv_lib_capi20_capi20_register=no
12393 rm -f conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12395 LIBS=$ac_check_lib_save_LIBS
12397 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12398 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12399 if test $ac_cv_lib_capi20_capi20_register = yes; then
12402 cat >>confdefs.h <<\_ACEOF
12403 #define HAVE_CAPI4LINUX 1
12406 CAPI4LINUXLIBS="-lcapi20"
12423 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12424 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12425 if test "${ac_cv_mmap64_works+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 if test "$cross_compiling" = yes; then
12429 ac_cv_mmap64_works="no"
12431 cat >conftest.$ac_ext <<_ACEOF
12434 cat confdefs.h >>conftest.$ac_ext
12435 cat >>conftest.$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12438 #define _FILE_OFFSET_BITS 64
12440 #include <unistd.h>
12442 #include <sys/mman.h>
12445 int main(int argc,char **argv) {
12446 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12447 if (fd == -1) exit(1);
12449 unlink("conftest.map");
12451 write(fd,"test",4);
12453 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12459 fprintf(stderr,"success!\n");
12465 rm -f conftest$ac_exeext
12466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12467 (eval $ac_link) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; }; then
12476 ac_cv_mmap64_works="yes"
12478 echo "$as_me: program exited with status $ac_status" >&5
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.$ac_ext >&5
12482 ( exit $ac_status )
12483 ac_cv_mmap64_works="no"
12485 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12488 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12489 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12491 if test "$ac_cv_mmap64_works" = "yes"
12494 cat >>confdefs.h <<\_ACEOF
12495 #define _FILE_OFFSET_BITS 64
12503 if test "x${GCC}" = "xyes"
12505 EXTRACFLAGS="-Wall -pipe"
12507 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12508 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12509 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12510 echo $ECHO_N "(cached) $ECHO_C" >&6
12512 if test "$cross_compiling" = yes; then
12513 ac_cv_c_gcc_strength_bug="yes"
12515 cat >conftest.$ac_ext <<_ACEOF
12518 cat confdefs.h >>conftest.$ac_ext
12519 cat >>conftest.$ac_ext <<_ACEOF
12520 /* end confdefs.h. */
12522 int L[4] = {0,1,2,3};
12524 static int Array[3];
12525 unsigned int B = 3;
12527 for(i=0; i<B; i++) Array[i] = i - 3;
12528 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12531 exit( Array[1] != -2 || L[2] != 3);
12534 rm -f conftest$ac_exeext
12535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12536 (eval $ac_link) 2>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; }; then
12545 ac_cv_c_gcc_strength_bug="no"
12547 echo "$as_me: program exited with status $ac_status" >&5
12548 echo "$as_me: failed program was:" >&5
12549 sed 's/^/| /' conftest.$ac_ext >&5
12551 ( exit $ac_status )
12552 ac_cv_c_gcc_strength_bug="yes"
12554 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12557 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12558 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12559 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12561 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12564 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12565 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12566 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12569 ac_wine_try_cflags_saved=$CFLAGS
12570 CFLAGS="$CFLAGS -fshort-wchar"
12571 cat >conftest.$ac_ext <<_ACEOF
12574 cat confdefs.h >>conftest.$ac_ext
12575 cat >>conftest.$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12586 rm -f conftest.$ac_objext conftest$ac_exeext
12587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12588 (eval $ac_link) 2>conftest.er1
12590 grep -v '^ *+' conftest.er1 >conftest.err
12592 cat conftest.err >&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); } &&
12595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try='test -s conftest$ac_exeext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 ac_cv_c_gcc_fshort_wchar="yes"
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12612 ac_cv_c_gcc_fshort_wchar="no"
12614 rm -f conftest.err conftest.$ac_objext \
12615 conftest$ac_exeext conftest.$ac_ext
12616 CFLAGS=$ac_wine_try_cflags_saved
12618 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12619 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12620 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12623 cat >>confdefs.h <<\_ACEOF
12624 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12629 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12630 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12631 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 ac_wine_try_cflags_saved=$CFLAGS
12635 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12636 cat >conftest.$ac_ext <<_ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12651 rm -f conftest.$ac_objext conftest$ac_exeext
12652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12653 (eval $ac_link) 2>conftest.er1
12655 grep -v '^ *+' conftest.er1 >conftest.err
12657 cat conftest.err >&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); } &&
12660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; } &&
12666 { ac_try='test -s conftest$ac_exeext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 ac_cv_c_gcc_stack_boundary="yes"
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.$ac_ext >&5
12677 ac_cv_c_gcc_stack_boundary="no"
12679 rm -f conftest.err conftest.$ac_objext \
12680 conftest$ac_exeext conftest.$ac_ext
12681 CFLAGS=$ac_wine_try_cflags_saved
12683 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12684 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12685 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12687 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12690 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12691 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12692 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12695 ac_wine_try_cflags_saved=$CFLAGS
12696 CFLAGS="$CFLAGS -fno-strict-aliasing"
12697 cat >conftest.$ac_ext <<_ACEOF
12700 cat confdefs.h >>conftest.$ac_ext
12701 cat >>conftest.$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12712 rm -f conftest.$ac_objext conftest$ac_exeext
12713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12714 (eval $ac_link) 2>conftest.er1
12716 grep -v '^ *+' conftest.er1 >conftest.err
12718 cat conftest.err >&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } &&
12721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; } &&
12727 { ac_try='test -s conftest$ac_exeext'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; }; then
12733 ac_cv_c_gcc_no_strict_aliasing="yes"
12735 echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.$ac_ext >&5
12738 ac_cv_c_gcc_no_strict_aliasing="no"
12740 rm -f conftest.err conftest.$ac_objext \
12741 conftest$ac_exeext conftest.$ac_ext
12742 CFLAGS=$ac_wine_try_cflags_saved
12744 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12745 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12746 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12748 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12751 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12752 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12753 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12756 ac_wine_try_cflags_saved=$CFLAGS
12757 CFLAGS="$CFLAGS -gstabs+"
12758 cat >conftest.$ac_ext <<_ACEOF
12761 cat confdefs.h >>conftest.$ac_ext
12762 cat >>conftest.$ac_ext <<_ACEOF
12763 /* end confdefs.h. */
12773 rm -f conftest.$ac_objext conftest$ac_exeext
12774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12775 (eval $ac_link) 2>conftest.er1
12777 grep -v '^ *+' conftest.er1 >conftest.err
12779 cat conftest.err >&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); } &&
12782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12784 (eval $ac_try) 2>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; } &&
12788 { ac_try='test -s conftest$ac_exeext'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; }; then
12794 ac_cv_c_gcc_gstabs="yes"
12796 echo "$as_me: failed program was:" >&5
12797 sed 's/^/| /' conftest.$ac_ext >&5
12799 ac_cv_c_gcc_gstabs="no"
12801 rm -f conftest.err conftest.$ac_objext \
12802 conftest$ac_exeext conftest.$ac_ext
12803 CFLAGS=$ac_wine_try_cflags_saved
12805 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12806 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12807 if test "$ac_cv_c_gcc_gstabs" = "yes"
12809 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12812 saved_CFLAGS="$CFLAGS"
12813 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12814 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12815 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12816 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 cat >conftest.$ac_ext <<_ACEOF
12822 cat confdefs.h >>conftest.$ac_ext
12823 cat >>conftest.$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825 #include <string.h>
12834 rm -f conftest.$ac_objext
12835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12836 (eval $ac_compile) 2>conftest.er1
12838 grep -v '^ *+' conftest.er1 >conftest.err
12840 cat conftest.err >&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } &&
12843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; } &&
12849 { ac_try='test -s conftest.$ac_objext'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; }; then
12855 ac_cv_c_string_h_warnings=no
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.$ac_ext >&5
12860 ac_cv_c_string_h_warnings=yes
12862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12864 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12865 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12866 CFLAGS="$saved_CFLAGS"
12867 if test "$ac_cv_c_string_h_warnings" = "no"
12869 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12874 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12875 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12876 if test "${ac_cv_asm_func_def+set}" = set; then
12877 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 cat >conftest.$ac_ext <<_ACEOF
12882 cat confdefs.h >>conftest.$ac_ext
12883 cat >>conftest.$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12885 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"); }
12895 rm -f conftest.$ac_objext conftest$ac_exeext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12897 (eval $ac_link) 2>conftest.er1
12899 grep -v '^ *+' conftest.er1 >conftest.err
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try='test -s conftest$ac_exeext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 ac_cv_asm_func_def=".def"
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.$ac_ext >&5
12921 cat >conftest.$ac_ext <<_ACEOF
12924 cat confdefs.h >>conftest.$ac_ext
12925 cat >>conftest.$ac_ext <<_ACEOF
12926 /* end confdefs.h. */
12927 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12937 rm -f conftest.$ac_objext conftest$ac_exeext
12938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12939 (eval $ac_link) 2>conftest.er1
12941 grep -v '^ *+' conftest.er1 >conftest.err
12943 cat conftest.err >&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; } &&
12952 { ac_try='test -s conftest$ac_exeext'
12953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12954 (eval $ac_try) 2>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); }; }; then
12958 ac_cv_asm_func_def=".type @function"
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.$ac_ext >&5
12963 cat >conftest.$ac_ext <<_ACEOF
12966 cat confdefs.h >>conftest.$ac_ext
12967 cat >>conftest.$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12979 rm -f conftest.$ac_objext conftest$ac_exeext
12980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12981 (eval $ac_link) 2>conftest.er1
12983 grep -v '^ *+' conftest.er1 >conftest.err
12985 cat conftest.err >&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); } &&
12988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; } &&
12994 { ac_try='test -s conftest$ac_exeext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 ac_cv_asm_func_def=".type 2"
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13005 ac_cv_asm_func_def="unknown"
13007 rm -f conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13010 rm -f conftest.err conftest.$ac_objext \
13011 conftest$ac_exeext conftest.$ac_ext
13013 rm -f conftest.err conftest.$ac_objext \
13014 conftest$ac_exeext conftest.$ac_ext
13016 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13017 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13021 case "$ac_cv_asm_func_def" in
13023 cat >>confdefs.h <<\_ACEOF
13024 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13028 cat >>confdefs.h <<\_ACEOF
13029 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13033 cat >>confdefs.h <<\_ACEOF
13034 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13038 cat >>confdefs.h <<\_ACEOF
13039 #define __ASM_FUNC(name) ""
13045 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13046 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13047 if test "${ac_cv_c_extern_prefix+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 cat >conftest.$ac_ext <<_ACEOF
13053 cat confdefs.h >>conftest.$ac_ext
13054 cat >>conftest.$ac_ext <<_ACEOF
13055 /* end confdefs.h. */
13056 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13057 extern int ac_test;
13061 if (ac_test) return 1
13066 rm -f conftest.$ac_objext conftest$ac_exeext
13067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13068 (eval $ac_link) 2>conftest.er1
13070 grep -v '^ *+' conftest.er1 >conftest.err
13072 cat conftest.err >&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } &&
13075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; } &&
13081 { ac_try='test -s conftest$ac_exeext'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; }; then
13087 ac_cv_c_extern_prefix="yes"
13089 echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.$ac_ext >&5
13092 ac_cv_c_extern_prefix="no"
13094 rm -f conftest.err conftest.$ac_objext \
13095 conftest$ac_exeext conftest.$ac_ext
13097 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13098 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13102 if test "$ac_cv_c_extern_prefix" = "yes"
13104 cat >>confdefs.h <<\_ACEOF
13105 #define __ASM_NAME(name) "_" name
13109 cat >>confdefs.h <<\_ACEOF
13110 #define __ASM_NAME(name) name
13116 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13117 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13118 if test "${ac_cv_c_asm_string+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 cat >conftest.$ac_ext <<_ACEOF
13124 cat confdefs.h >>conftest.$ac_ext
13125 cat >>conftest.$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13127 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13137 rm -f conftest.$ac_objext conftest$ac_exeext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13139 (eval $ac_link) 2>conftest.er1
13141 grep -v '^ *+' conftest.er1 >conftest.err
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try='test -s conftest$ac_exeext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 ac_cv_c_asm_string=".string"
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13163 cat >conftest.$ac_ext <<_ACEOF
13166 cat confdefs.h >>conftest.$ac_ext
13167 cat >>conftest.$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13169 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13179 rm -f conftest.$ac_objext conftest$ac_exeext
13180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13181 (eval $ac_link) 2>conftest.er1
13183 grep -v '^ *+' conftest.er1 >conftest.err
13185 cat conftest.err >&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); } &&
13188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13190 (eval $ac_try) 2>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); }; } &&
13194 { ac_try='test -s conftest$ac_exeext'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; }; then
13200 ac_cv_c_asm_string=".asciz"
13202 echo "$as_me: failed program was:" >&5
13203 sed 's/^/| /' conftest.$ac_ext >&5
13205 cat >conftest.$ac_ext <<_ACEOF
13208 cat confdefs.h >>conftest.$ac_ext
13209 cat >>conftest.$ac_ext <<_ACEOF
13210 /* end confdefs.h. */
13211 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13221 rm -f conftest.$ac_objext conftest$ac_exeext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13223 (eval $ac_link) 2>conftest.er1
13225 grep -v '^ *+' conftest.er1 >conftest.err
13227 cat conftest.err >&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; } &&
13236 { ac_try='test -s conftest$ac_exeext'
13237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13238 (eval $ac_try) 2>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); }; }; then
13242 ac_cv_c_asm_string=".ascii"
13244 echo "$as_me: failed program was:" >&5
13245 sed 's/^/| /' conftest.$ac_ext >&5
13247 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13248 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13249 { (exit 1); exit 1; }; }
13251 rm -f conftest.err conftest.$ac_objext \
13252 conftest$ac_exeext conftest.$ac_ext
13254 rm -f conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13257 rm -f conftest.err conftest.$ac_objext \
13258 conftest$ac_exeext conftest.$ac_ext
13260 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13261 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13264 cat >>confdefs.h <<_ACEOF
13265 #define __ASM_STRING "$ac_cv_c_asm_string"
13270 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13271 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13272 if test "${ac_cv_c_asm_short+set}" = set; then
13273 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 cat >conftest.$ac_ext <<_ACEOF
13278 cat confdefs.h >>conftest.$ac_ext
13279 cat >>conftest.$ac_ext <<_ACEOF
13280 /* end confdefs.h. */
13281 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13291 rm -f conftest.$ac_objext conftest$ac_exeext
13292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13293 (eval $ac_link) 2>conftest.er1
13295 grep -v '^ *+' conftest.er1 >conftest.err
13297 cat conftest.err >&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); } &&
13300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; } &&
13306 { ac_try='test -s conftest$ac_exeext'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; }; then
13312 ac_cv_c_asm_short=".short"
13314 echo "$as_me: failed program was:" >&5
13315 sed 's/^/| /' conftest.$ac_ext >&5
13317 cat >conftest.$ac_ext <<_ACEOF
13320 cat confdefs.h >>conftest.$ac_ext
13321 cat >>conftest.$ac_ext <<_ACEOF
13322 /* end confdefs.h. */
13323 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13333 rm -f conftest.$ac_objext conftest$ac_exeext
13334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13335 (eval $ac_link) 2>conftest.er1
13337 grep -v '^ *+' conftest.er1 >conftest.err
13339 cat conftest.err >&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); } &&
13342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13344 (eval $ac_try) 2>&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); }; } &&
13348 { ac_try='test -s conftest$ac_exeext'
13349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13350 (eval $ac_try) 2>&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); }; }; then
13354 ac_cv_c_asm_short=".half"
13356 echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13359 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13360 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13361 { (exit 1); exit 1; }; }
13363 rm -f conftest.err conftest.$ac_objext \
13364 conftest$ac_exeext conftest.$ac_ext
13366 rm -f conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13369 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13370 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13373 cat >>confdefs.h <<_ACEOF
13374 #define __ASM_SHORT "$ac_cv_c_asm_short"
13379 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13380 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13381 if test "${ac_cv_c_asm_size+set}" = set; then
13382 echo $ECHO_N "(cached) $ECHO_C" >&6
13384 cat >conftest.$ac_ext <<_ACEOF
13387 cat confdefs.h >>conftest.$ac_ext
13388 cat >>conftest.$ac_ext <<_ACEOF
13389 /* end confdefs.h. */
13390 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13400 rm -f conftest.$ac_objext conftest$ac_exeext
13401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13402 (eval $ac_link) 2>conftest.er1
13404 grep -v '^ *+' conftest.er1 >conftest.err
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } &&
13409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411 (eval $ac_try) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; } &&
13415 { ac_try='test -s conftest$ac_exeext'
13416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13417 (eval $ac_try) 2>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); }; }; then
13421 ac_cv_c_asm_size="yes"
13423 echo "$as_me: failed program was:" >&5
13424 sed 's/^/| /' conftest.$ac_ext >&5
13426 ac_cv_c_asm_size="no"
13428 rm -f conftest.err conftest.$ac_objext \
13429 conftest$ac_exeext conftest.$ac_ext
13431 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13432 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13434 if test "$ac_cv_c_asm_size" = "yes"
13437 cat >>confdefs.h <<\_ACEOF
13438 #define HAVE_ASM_DOT_SIZE 1
13446 DLLFLAGS="-D_REENTRANT"
13461 if test -n "$ac_tool_prefix"; then
13462 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13463 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13464 echo "$as_me:$LINENO: checking for $ac_word" >&5
13465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13466 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 if test -n "$DLLTOOL"; then
13470 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13473 for as_dir in $PATH
13476 test -z "$as_dir" && as_dir=.
13477 for ac_exec_ext in '' $ac_executable_extensions; do
13478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13479 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13488 DLLTOOL=$ac_cv_prog_DLLTOOL
13489 if test -n "$DLLTOOL"; then
13490 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13491 echo "${ECHO_T}$DLLTOOL" >&6
13493 echo "$as_me:$LINENO: result: no" >&5
13494 echo "${ECHO_T}no" >&6
13498 if test -z "$ac_cv_prog_DLLTOOL"; then
13499 ac_ct_DLLTOOL=$DLLTOOL
13500 # Extract the first word of "dlltool", so it can be a program name with args.
13501 set dummy dlltool; ac_word=$2
13502 echo "$as_me:$LINENO: checking for $ac_word" >&5
13503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13504 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 if test -n "$ac_ct_DLLTOOL"; then
13508 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13511 for as_dir in $PATH
13514 test -z "$as_dir" && as_dir=.
13515 for ac_exec_ext in '' $ac_executable_extensions; do
13516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13517 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13524 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13527 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13528 if test -n "$ac_ct_DLLTOOL"; then
13529 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13530 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13532 echo "$as_me:$LINENO: result: no" >&5
13533 echo "${ECHO_T}no" >&6
13536 DLLTOOL=$ac_ct_DLLTOOL
13538 DLLTOOL="$ac_cv_prog_DLLTOOL"
13541 if test -n "$ac_tool_prefix"; then
13542 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13543 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13544 echo "$as_me:$LINENO: checking for $ac_word" >&5
13545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13546 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 if test -n "$DLLWRAP"; then
13550 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13553 for as_dir in $PATH
13556 test -z "$as_dir" && as_dir=.
13557 for ac_exec_ext in '' $ac_executable_extensions; do
13558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13559 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13568 DLLWRAP=$ac_cv_prog_DLLWRAP
13569 if test -n "$DLLWRAP"; then
13570 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13571 echo "${ECHO_T}$DLLWRAP" >&6
13573 echo "$as_me:$LINENO: result: no" >&5
13574 echo "${ECHO_T}no" >&6
13578 if test -z "$ac_cv_prog_DLLWRAP"; then
13579 ac_ct_DLLWRAP=$DLLWRAP
13580 # Extract the first word of "dllwrap", so it can be a program name with args.
13581 set dummy dllwrap; ac_word=$2
13582 echo "$as_me:$LINENO: checking for $ac_word" >&5
13583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13584 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 if test -n "$ac_ct_DLLWRAP"; then
13588 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13591 for as_dir in $PATH
13594 test -z "$as_dir" && as_dir=.
13595 for ac_exec_ext in '' $ac_executable_extensions; do
13596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13597 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13604 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13607 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13608 if test -n "$ac_ct_DLLWRAP"; then
13609 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13610 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13612 echo "$as_me:$LINENO: result: no" >&5
13613 echo "${ECHO_T}no" >&6
13616 DLLWRAP=$ac_ct_DLLWRAP
13618 DLLWRAP="$ac_cv_prog_DLLWRAP"
13621 if test "$DLLWRAP" = "false"; then
13632 for ac_header in dlfcn.h
13634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13636 echo "$as_me:$LINENO: checking for $ac_header" >&5
13637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13639 echo $ECHO_N "(cached) $ECHO_C" >&6
13641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13644 # Is the header compilable?
13645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13647 cat >conftest.$ac_ext <<_ACEOF
13650 cat confdefs.h >>conftest.$ac_ext
13651 cat >>conftest.$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 $ac_includes_default
13654 #include <$ac_header>
13656 rm -f conftest.$ac_objext
13657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13658 (eval $ac_compile) 2>conftest.er1
13660 grep -v '^ *+' conftest.er1 >conftest.err
13662 cat conftest.err >&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); } &&
13665 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; } &&
13671 { ac_try='test -s conftest.$ac_objext'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; }; then
13677 ac_header_compiler=yes
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.$ac_ext >&5
13682 ac_header_compiler=no
13684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13686 echo "${ECHO_T}$ac_header_compiler" >&6
13688 # Is the header present?
13689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13691 cat >conftest.$ac_ext <<_ACEOF
13694 cat confdefs.h >>conftest.$ac_ext
13695 cat >>conftest.$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13697 #include <$ac_header>
13699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13702 grep -v '^ *+' conftest.er1 >conftest.err
13704 cat conftest.err >&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } >/dev/null; then
13707 if test -s conftest.err; then
13708 ac_cpp_err=$ac_c_preproc_warn_flag
13709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13716 if test -z "$ac_cpp_err"; then
13717 ac_header_preproc=yes
13719 echo "$as_me: failed program was:" >&5
13720 sed 's/^/| /' conftest.$ac_ext >&5
13722 ac_header_preproc=no
13724 rm -f conftest.err conftest.$ac_ext
13725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13726 echo "${ECHO_T}$ac_header_preproc" >&6
13728 # So? What about this header?
13729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13735 ac_header_preproc=yes
13738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13752 ## ------------------------------------ ##
13753 ## Report this to wine-devel@winehq.org ##
13754 ## ------------------------------------ ##
13757 sed "s/^/$as_me: WARNING: /" >&2
13760 echo "$as_me:$LINENO: checking for $ac_header" >&5
13761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13763 echo $ECHO_N "(cached) $ECHO_C" >&6
13765 eval "$as_ac_Header=\$ac_header_preproc"
13767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13772 cat >>confdefs.h <<_ACEOF
13773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13776 for ac_func in dlopen
13778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13779 echo "$as_me:$LINENO: checking for $ac_func" >&5
13780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13781 if eval "test \"\${$as_ac_var+set}\" = set"; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 cat >conftest.$ac_ext <<_ACEOF
13787 cat confdefs.h >>conftest.$ac_ext
13788 cat >>conftest.$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13792 #define $ac_func innocuous_$ac_func
13794 /* System header to define __stub macros and hopefully few prototypes,
13795 which can conflict with char $ac_func (); below.
13796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13797 <limits.h> exists even on freestanding compilers. */
13800 # include <limits.h>
13802 # include <assert.h>
13807 /* Override any gcc2 internal prototype to avoid an error. */
13812 /* We use char because int might match the return type of a gcc2
13813 builtin and then its argument prototype would still apply. */
13815 /* The GNU C library defines this for functions which it implements
13816 to always fail with ENOSYS. Some functions are actually named
13817 something starting with __ and the normal name is an alias. */
13818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13821 char (*f) () = $ac_func;
13830 return f != $ac_func;
13835 rm -f conftest.$ac_objext conftest$ac_exeext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13837 (eval $ac_link) 2>conftest.er1
13839 grep -v '^ *+' conftest.er1 >conftest.err
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try='test -s conftest$ac_exeext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 eval "$as_ac_var=yes"
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.$ac_ext >&5
13861 eval "$as_ac_var=no"
13863 rm -f conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13868 if test `eval echo '${'$as_ac_var'}'` = yes; then
13869 cat >>confdefs.h <<_ACEOF
13870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13874 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13875 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13876 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 ac_check_lib_save_LIBS=$LIBS
13881 cat >conftest.$ac_ext <<_ACEOF
13884 cat confdefs.h >>conftest.$ac_ext
13885 cat >>conftest.$ac_ext <<_ACEOF
13886 /* end confdefs.h. */
13888 /* Override any gcc2 internal prototype to avoid an error. */
13892 /* We use char because int might match the return type of a gcc2
13893 builtin and then its argument prototype would still apply. */
13903 rm -f conftest.$ac_objext conftest$ac_exeext
13904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13905 (eval $ac_link) 2>conftest.er1
13907 grep -v '^ *+' conftest.er1 >conftest.err
13909 cat conftest.err >&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13914 (eval $ac_try) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }; } &&
13918 { ac_try='test -s conftest$ac_exeext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 ac_cv_lib_dl_dlopen=yes
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.$ac_ext >&5
13929 ac_cv_lib_dl_dlopen=no
13931 rm -f conftest.err conftest.$ac_objext \
13932 conftest$ac_exeext conftest.$ac_ext
13933 LIBS=$ac_check_lib_save_LIBS
13935 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13936 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13937 if test $ac_cv_lib_dl_dlopen = yes; then
13939 cat >>confdefs.h <<\_ACEOF
13940 #define HAVE_DLOPEN 1
13958 if test "$LIBEXT" = "so"
13960 DLLFLAGS="$DLLFLAGS -fPIC"
13962 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13963 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13964 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 ac_wine_try_cflags_saved=$CFLAGS
13968 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13969 cat >conftest.$ac_ext <<_ACEOF
13972 rm -f conftest.$ac_objext conftest$ac_exeext
13973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13974 (eval $ac_link) 2>conftest.er1
13976 grep -v '^ *+' conftest.er1 >conftest.err
13978 cat conftest.err >&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); } &&
13981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; } &&
13987 { ac_try='test -s conftest$ac_exeext'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; }; then
13993 ac_cv_c_dll_gnuelf="yes"
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.$ac_ext >&5
13998 ac_cv_c_dll_gnuelf="no"
14000 rm -f conftest.err conftest.$ac_objext \
14001 conftest$ac_exeext conftest.$ac_ext
14002 CFLAGS=$ac_wine_try_cflags_saved
14004 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14005 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
14006 if test "$ac_cv_c_dll_gnuelf" = "yes"
14008 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14009 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
14010 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14011 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
14012 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 ac_wine_try_cflags_saved=$CFLAGS
14016 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14017 cat >conftest.$ac_ext <<_ACEOF
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14032 rm -f conftest.$ac_objext conftest$ac_exeext
14033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14034 (eval $ac_link) 2>conftest.er1
14036 grep -v '^ *+' conftest.er1 >conftest.err
14038 cat conftest.err >&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); } &&
14041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; } &&
14047 { ac_try='test -s conftest$ac_exeext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_cv_c_dll_zdefs="yes"
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.$ac_ext >&5
14058 ac_cv_c_dll_zdefs="no"
14060 rm -f conftest.err conftest.$ac_objext \
14061 conftest$ac_exeext conftest.$ac_ext
14062 CFLAGS=$ac_wine_try_cflags_saved
14064 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14065 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14066 if test "$ac_cv_c_dll_zdefs" = "yes"
14068 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
14071 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14072 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14073 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14074 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 ac_wine_try_cflags_saved=$CFLAGS
14077 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14078 cat >conftest.$ac_ext <<_ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14093 rm -f conftest.$ac_objext conftest$ac_exeext
14094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14095 (eval $ac_link) 2>conftest.er1
14097 grep -v '^ *+' conftest.er1 >conftest.err
14099 cat conftest.err >&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); } &&
14102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try='test -s conftest$ac_exeext'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; }; then
14114 ac_cv_c_dll_init_fini="yes"
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.$ac_ext >&5
14119 ac_cv_c_dll_init_fini="no"
14121 rm -f conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 CFLAGS=$ac_wine_try_cflags_saved
14125 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14126 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14127 if test "$ac_cv_c_dll_init_fini" = "yes"
14129 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14132 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14133 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14134 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14135 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 echo '{ global: *; };' >conftest.map
14138 ac_wine_try_cflags_saved=$CFLAGS
14139 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14140 cat >conftest.$ac_ext <<_ACEOF
14143 cat confdefs.h >>conftest.$ac_ext
14144 cat >>conftest.$ac_ext <<_ACEOF
14145 /* end confdefs.h. */
14155 rm -f conftest.$ac_objext conftest$ac_exeext
14156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14157 (eval $ac_link) 2>conftest.er1
14159 grep -v '^ *+' conftest.er1 >conftest.err
14161 cat conftest.err >&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); } &&
14164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14166 (eval $ac_try) 2>&5
14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 (exit $ac_status); }; } &&
14170 { ac_try='test -s conftest$ac_exeext'
14171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14172 (eval $ac_try) 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); }; }; then
14176 ac_cv_c_ld_version_scripts="yes"
14178 echo "$as_me: failed program was:" >&5
14179 sed 's/^/| /' conftest.$ac_ext >&5
14181 ac_cv_c_ld_version_scripts="no"
14183 rm -f conftest.err conftest.$ac_objext \
14184 conftest$ac_exeext conftest.$ac_ext
14185 CFLAGS=$ac_wine_try_cflags_saved
14188 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14189 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14190 if test "$ac_cv_c_ld_version_scripts" = "yes"
14192 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14195 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14196 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14197 if test "${ac_cv_c_export_dynamic+set}" = set; then
14198 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 ac_wine_try_cflags_saved=$CFLAGS
14201 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
14202 cat >conftest.$ac_ext <<_ACEOF
14205 cat confdefs.h >>conftest.$ac_ext
14206 cat >>conftest.$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14217 rm -f conftest.$ac_objext conftest$ac_exeext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14219 (eval $ac_link) 2>conftest.er1
14221 grep -v '^ *+' conftest.er1 >conftest.err
14223 cat conftest.err >&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; } &&
14232 { ac_try='test -s conftest$ac_exeext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 ac_cv_c_export_dynamic="yes"
14240 echo "$as_me: failed program was:" >&5
14241 sed 's/^/| /' conftest.$ac_ext >&5
14243 ac_cv_c_export_dynamic="no"
14245 rm -f conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14247 CFLAGS=$ac_wine_try_cflags_saved
14249 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14250 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14251 if test "$ac_cv_c_export_dynamic" = "yes"
14253 LDEXECFLAGS="-Wl,--export-dynamic"
14259 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
14260 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
14261 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 ac_wine_try_cflags_saved=$CFLAGS
14265 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
14266 cat >conftest.$ac_ext <<_ACEOF
14269 cat confdefs.h >>conftest.$ac_ext
14270 cat >>conftest.$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14281 rm -f conftest.$ac_objext conftest$ac_exeext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14283 (eval $ac_link) 2>conftest.er1
14285 grep -v '^ *+' conftest.er1 >conftest.err
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try='test -s conftest$ac_exeext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_cv_ld_reloc_exec="yes"
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14307 ac_cv_ld_reloc_exec="no"
14309 rm -f conftest.err conftest.$ac_objext \
14310 conftest$ac_exeext conftest.$ac_ext
14311 CFLAGS=$ac_wine_try_cflags_saved
14313 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14314 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14315 if test "$ac_cv_ld_reloc_exec" = "yes"
14317 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
14323 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14324 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14325 if test "${ac_cv_c_dll_unixware+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14328 ac_wine_try_cflags_saved=$CFLAGS
14329 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14330 cat >conftest.$ac_ext <<_ACEOF
14333 rm -f conftest.$ac_objext conftest$ac_exeext
14334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14335 (eval $ac_link) 2>conftest.er1
14337 grep -v '^ *+' conftest.er1 >conftest.err
14339 cat conftest.err >&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } &&
14342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; } &&
14348 { ac_try='test -s conftest$ac_exeext'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; }; then
14354 ac_cv_c_dll_unixware="yes"
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.$ac_ext >&5
14359 ac_cv_c_dll_unixware="no"
14361 rm -f conftest.err conftest.$ac_objext \
14362 conftest$ac_exeext conftest.$ac_ext
14363 CFLAGS=$ac_wine_try_cflags_saved
14365 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14366 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14367 if test "$ac_cv_c_dll_unixware" = "yes"
14369 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14370 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14373 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14374 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14375 if test "${ac_cv_c_dll_macho+set}" = set; then
14376 echo $ECHO_N "(cached) $ECHO_C" >&6
14378 ac_wine_try_cflags_saved=$CFLAGS
14379 CFLAGS="$CFLAGS -bundle"
14380 cat >conftest.$ac_ext <<_ACEOF
14383 rm -f conftest.$ac_objext conftest$ac_exeext
14384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14385 (eval $ac_link) 2>conftest.er1
14387 grep -v '^ *+' conftest.er1 >conftest.err
14389 cat conftest.err >&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); } &&
14392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; } &&
14398 { ac_try='test -s conftest$ac_exeext'
14399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400 (eval $ac_try) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }; }; then
14404 ac_cv_c_dll_macho="yes"
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.$ac_ext >&5
14409 ac_cv_c_dll_macho="no"
14411 rm -f conftest.err conftest.$ac_objext \
14412 conftest$ac_exeext conftest.$ac_ext
14413 CFLAGS=$ac_wine_try_cflags_saved
14415 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14416 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14417 if test "$ac_cv_c_dll_macho" = "yes"
14420 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
14421 LDSHARED="\$(CC) -dynamiclib"
14422 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14423 STRIP="$STRIP -u -r"
14424 LDEXECFLAGS="-seg1addr 0x120000"
14426 LDLIBWINEFLAGS="-seg1addr 0x140000"
14428 COREFOUNDATIONLIB="-framework CoreFoundation"
14430 IOKITLIB="-framework IOKit"
14432 IOKITLIB = "$IOKITLIB $COREFOUNDATIONLIB"
14434 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14435 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14436 if test "${ac_cv_c_dll_hpux+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 ac_wine_try_cflags_saved=$CFLAGS
14440 CFLAGS="$CFLAGS -shared"
14441 cat >conftest.$ac_ext <<_ACEOF
14444 rm -f conftest.$ac_objext conftest$ac_exeext
14445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446 (eval $ac_link) 2>conftest.er1
14448 grep -v '^ *+' conftest.er1 >conftest.err
14450 cat conftest.err >&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); } &&
14453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; } &&
14459 { ac_try='test -s conftest$ac_exeext'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 ac_cv_c_dll_hpux="yes"
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.$ac_ext >&5
14470 ac_cv_c_dll_hpux="no"
14472 rm -f conftest.err conftest.$ac_objext \
14473 conftest$ac_exeext conftest.$ac_ext
14474 CFLAGS=$ac_wine_try_cflags_saved
14476 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14477 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14478 if test "$ac_cv_c_dll_hpux" = "yes"
14482 LDDLLFLAGS="-shared -fPIC"
14483 LDSHARED="\$(CC) -shared"
14492 if test "$cross_compiling" = "no"
14494 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14496 # Extract the first word of "$ac_prog", so it can be a program name with args.
14497 set dummy $ac_prog; ac_word=$2
14498 echo "$as_me:$LINENO: checking for $ac_word" >&5
14499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14500 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 if test -n "$CROSSCC"; then
14504 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14507 for as_dir in $PATH
14510 test -z "$as_dir" && as_dir=.
14511 for ac_exec_ext in '' $ac_executable_extensions; do
14512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14513 ac_cv_prog_CROSSCC="$ac_prog"
14514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14522 CROSSCC=$ac_cv_prog_CROSSCC
14523 if test -n "$CROSSCC"; then
14524 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14525 echo "${ECHO_T}$CROSSCC" >&6
14527 echo "$as_me:$LINENO: result: no" >&5
14528 echo "${ECHO_T}no" >&6
14531 test -n "$CROSSCC" && break
14533 test -n "$CROSSCC" || CROSSCC="false"
14535 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14537 # Extract the first word of "$ac_prog", so it can be a program name with args.
14538 set dummy $ac_prog; ac_word=$2
14539 echo "$as_me:$LINENO: checking for $ac_word" >&5
14540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14541 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 if test -n "$DLLTOOL"; then
14545 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14548 for as_dir in $PATH
14551 test -z "$as_dir" && as_dir=.
14552 for ac_exec_ext in '' $ac_executable_extensions; do
14553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14554 ac_cv_prog_DLLTOOL="$ac_prog"
14555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14563 DLLTOOL=$ac_cv_prog_DLLTOOL
14564 if test -n "$DLLTOOL"; then
14565 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14566 echo "${ECHO_T}$DLLTOOL" >&6
14568 echo "$as_me:$LINENO: result: no" >&5
14569 echo "${ECHO_T}no" >&6
14572 test -n "$DLLTOOL" && break
14574 test -n "$DLLTOOL" || DLLTOOL="false"
14576 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14578 # Extract the first word of "$ac_prog", so it can be a program name with args.
14579 set dummy $ac_prog; ac_word=$2
14580 echo "$as_me:$LINENO: checking for $ac_word" >&5
14581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14582 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14583 echo $ECHO_N "(cached) $ECHO_C" >&6
14585 if test -n "$CROSSWINDRES"; then
14586 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14589 for as_dir in $PATH
14592 test -z "$as_dir" && as_dir=.
14593 for ac_exec_ext in '' $ac_executable_extensions; do
14594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14595 ac_cv_prog_CROSSWINDRES="$ac_prog"
14596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14604 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14605 if test -n "$CROSSWINDRES"; then
14606 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14607 echo "${ECHO_T}$CROSSWINDRES" >&6
14609 echo "$as_me:$LINENO: result: no" >&5
14610 echo "${ECHO_T}no" >&6
14613 test -n "$CROSSWINDRES" && break
14615 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14617 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14622 if test "$LIBEXT" = "a"; then
14623 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14624 It is currently not possible to build Wine without shared library
14625 (.so) support to allow transparent switch between .so and .dll files.
14626 If you are using Linux, you will need a newer binutils.
14628 echo "$as_me: error: could not find a way to build shared libraries.
14629 It is currently not possible to build Wine without shared library
14630 (.so) support to allow transparent switch between .so and .dll files.
14631 If you are using Linux, you will need a newer binutils.
14633 { (exit 1); exit 1; }; }
14638 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14641 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14644 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14652 SOCKETLIBS="-lws2_32"
14660 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14662 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14665 MAIN_BINARY="wine-glibc"
14669 WINE_BINARIES="wine-pthread"
14671 MAIN_BINARY="wine-pthread"
14675 WINE_BINARIES="wine-kthread"
14677 MAIN_BINARY="wine-kthread"
14683 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14685 # Extract the first word of "ldd", so it can be a program name with args.
14686 set dummy ldd; ac_word=$2
14687 echo "$as_me:$LINENO: checking for $ac_word" >&5
14688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14689 if test "${ac_cv_path_LDD+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14694 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14698 as_dummy="/sbin:/usr/sbin:$PATH"
14699 for as_dir in $as_dummy
14702 test -z "$as_dir" && as_dir=.
14703 for ac_exec_ext in '' $ac_executable_extensions; do
14704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14705 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14712 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14716 LDD=$ac_cv_path_LDD
14718 if test -n "$LDD"; then
14719 echo "$as_me:$LINENO: result: $LDD" >&5
14720 echo "${ECHO_T}$LDD" >&6
14722 echo "$as_me:$LINENO: result: no" >&5
14723 echo "${ECHO_T}no" >&6
14727 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14728 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14729 if test "${ac_cv_lib_soname_X11+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 ac_get_soname_save_LIBS=$LIBS
14733 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14734 cat >conftest.$ac_ext <<_ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14741 /* Override any gcc2 internal prototype to avoid an error. */
14745 /* We use char because int might match the return type of a gcc2
14746 builtin and then its argument prototype would still apply. */
14747 char XCreateWindow ();
14756 rm -f conftest.$ac_objext conftest$ac_exeext
14757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14758 (eval $ac_link) 2>conftest.er1
14760 grep -v '^ *+' conftest.er1 >conftest.err
14762 cat conftest.err >&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } &&
14765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14767 (eval $ac_try) 2>&5
14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); }; } &&
14771 { ac_try='test -s conftest$ac_exeext'
14772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14773 (eval $ac_try) 2>&5
14775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776 (exit $ac_status); }; }; then
14777 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14778 if test "x$ac_cv_lib_soname_X11" = "x"
14780 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14786 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14788 rm -f conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_get_soname_save_LIBS
14792 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14793 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14794 if test "x$ac_cv_lib_soname_X11" != xNONE
14796 cat >>confdefs.h <<_ACEOF
14797 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14801 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14802 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14803 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14804 echo $ECHO_N "(cached) $ECHO_C" >&6
14806 ac_get_soname_save_LIBS=$LIBS
14807 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14808 cat >conftest.$ac_ext <<_ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14815 /* Override any gcc2 internal prototype to avoid an error. */
14819 /* We use char because int might match the return type of a gcc2
14820 builtin and then its argument prototype would still apply. */
14821 char XextCreateExtension ();
14825 XextCreateExtension ();
14830 rm -f conftest.$ac_objext conftest$ac_exeext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14832 (eval $ac_link) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1 >conftest.err
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; } &&
14845 { ac_try='test -s conftest$ac_exeext'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; }; then
14851 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14852 if test "x$ac_cv_lib_soname_Xext" = "x"
14854 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14857 echo "$as_me: failed program was:" >&5
14858 sed 's/^/| /' conftest.$ac_ext >&5
14860 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14862 rm -f conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LIBS=$ac_get_soname_save_LIBS
14866 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14867 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14868 if test "x$ac_cv_lib_soname_Xext" != xNONE
14870 cat >>confdefs.h <<_ACEOF
14871 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14875 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14876 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14877 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 ac_get_soname_save_LIBS=$LIBS
14881 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14882 cat >conftest.$ac_ext <<_ACEOF
14885 cat confdefs.h >>conftest.$ac_ext
14886 cat >>conftest.$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14889 /* Override any gcc2 internal prototype to avoid an error. */
14893 /* We use char because int might match the return type of a gcc2
14894 builtin and then its argument prototype would still apply. */
14895 char XOpenDevice ();
14904 rm -f conftest.$ac_objext conftest$ac_exeext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14906 (eval $ac_link) 2>conftest.er1
14908 grep -v '^ *+' conftest.er1 >conftest.err
14910 cat conftest.err >&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } &&
14913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; } &&
14919 { ac_try='test -s conftest$ac_exeext'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14925 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14926 if test "x$ac_cv_lib_soname_Xi" = "x"
14928 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14934 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14936 rm -f conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14938 LIBS=$ac_get_soname_save_LIBS
14940 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14941 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14942 if test "x$ac_cv_lib_soname_Xi" != xNONE
14944 cat >>confdefs.h <<_ACEOF
14945 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14949 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14950 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14951 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14952 echo $ECHO_N "(cached) $ECHO_C" >&6
14954 ac_get_soname_save_LIBS=$LIBS
14955 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14956 cat >conftest.$ac_ext <<_ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14963 /* Override any gcc2 internal prototype to avoid an error. */
14967 /* We use char because int might match the return type of a gcc2
14968 builtin and then its argument prototype would still apply. */
14969 char XRenderQueryExtension ();
14973 XRenderQueryExtension ();
14978 rm -f conftest.$ac_objext conftest$ac_exeext
14979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14980 (eval $ac_link) 2>conftest.er1
14982 grep -v '^ *+' conftest.er1 >conftest.err
14984 cat conftest.err >&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); } &&
14987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; } &&
14993 { ac_try='test -s conftest$ac_exeext'
14994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 (eval $ac_try) 2>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; }; then
14999 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
15000 if test "x$ac_cv_lib_soname_Xrender" = "x"
15002 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
15005 echo "$as_me: failed program was:" >&5
15006 sed 's/^/| /' conftest.$ac_ext >&5
15008 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
15010 rm -f conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15012 LIBS=$ac_get_soname_save_LIBS
15014 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15015 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
15016 if test "x$ac_cv_lib_soname_Xrender" != xNONE
15018 cat >>confdefs.h <<_ACEOF
15019 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15023 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
15024 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
15025 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15026 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 ac_get_soname_save_LIBS=$LIBS
15029 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15030 cat >conftest.$ac_ext <<_ACEOF
15033 cat confdefs.h >>conftest.$ac_ext
15034 cat >>conftest.$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15037 /* Override any gcc2 internal prototype to avoid an error. */
15041 /* We use char because int might match the return type of a gcc2
15042 builtin and then its argument prototype would still apply. */
15043 char XRRQueryExtension ();
15047 XRRQueryExtension ();
15052 rm -f conftest.$ac_objext conftest$ac_exeext
15053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15054 (eval $ac_link) 2>conftest.er1
15056 grep -v '^ *+' conftest.er1 >conftest.err
15058 cat conftest.err >&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } &&
15061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; } &&
15067 { ac_try='test -s conftest$ac_exeext'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; }; then
15073 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
15074 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15076 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.$ac_ext >&5
15082 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
15084 rm -f conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext conftest.$ac_ext
15086 LIBS=$ac_get_soname_save_LIBS
15088 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15089 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
15090 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
15092 cat >>confdefs.h <<_ACEOF
15093 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15097 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
15098 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
15099 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 ac_get_soname_save_LIBS=$LIBS
15103 LIBS="-lfreetype $X_LIBS $LIBS"
15104 cat >conftest.$ac_ext <<_ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15111 /* Override any gcc2 internal prototype to avoid an error. */
15115 /* We use char because int might match the return type of a gcc2
15116 builtin and then its argument prototype would still apply. */
15117 char FT_Init_FreeType ();
15121 FT_Init_FreeType ();
15126 rm -f conftest.$ac_objext conftest$ac_exeext
15127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15128 (eval $ac_link) 2>conftest.er1
15130 grep -v '^ *+' conftest.er1 >conftest.err
15132 cat conftest.err >&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); } &&
15135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; } &&
15141 { ac_try='test -s conftest$ac_exeext'
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; }; then
15147 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
15148 if test "x$ac_cv_lib_soname_freetype" = "x"
15150 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15156 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
15158 rm -f conftest.err conftest.$ac_objext \
15159 conftest$ac_exeext conftest.$ac_ext
15160 LIBS=$ac_get_soname_save_LIBS
15162 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15163 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
15164 if test "x$ac_cv_lib_soname_freetype" != xNONE
15166 cat >>confdefs.h <<_ACEOF
15167 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15171 echo "$as_me:$LINENO: checking for -lGL soname" >&5
15172 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
15173 if test "${ac_cv_lib_soname_GL+set}" = set; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 ac_get_soname_save_LIBS=$LIBS
15177 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15178 cat >conftest.$ac_ext <<_ACEOF
15181 cat confdefs.h >>conftest.$ac_ext
15182 cat >>conftest.$ac_ext <<_ACEOF
15183 /* end confdefs.h. */
15185 /* Override any gcc2 internal prototype to avoid an error. */
15189 /* We use char because int might match the return type of a gcc2
15190 builtin and then its argument prototype would still apply. */
15191 char glXQueryExtension ();
15195 glXQueryExtension ();
15200 rm -f conftest.$ac_objext conftest$ac_exeext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15202 (eval $ac_link) 2>conftest.er1
15204 grep -v '^ *+' conftest.er1 >conftest.err
15206 cat conftest.err >&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } &&
15209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15211 (eval $ac_try) 2>&5
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); }; } &&
15215 { ac_try='test -s conftest$ac_exeext'
15216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }; }; then
15221 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
15222 if test "x$ac_cv_lib_soname_GL" = "x"
15224 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.$ac_ext >&5
15230 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15232 rm -f conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 LIBS=$ac_get_soname_save_LIBS
15236 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15237 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15238 if test "x$ac_cv_lib_soname_GL" != xNONE
15240 cat >>confdefs.h <<_ACEOF
15241 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15245 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15246 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
15247 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 ac_get_soname_save_LIBS=$LIBS
15251 LIBS="-ltxc_dxtn $LIBS"
15252 cat >conftest.$ac_ext <<_ACEOF
15255 cat confdefs.h >>conftest.$ac_ext
15256 cat >>conftest.$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15259 /* Override any gcc2 internal prototype to avoid an error. */
15263 /* We use char because int might match the return type of a gcc2
15264 builtin and then its argument prototype would still apply. */
15265 char fetch_2d_texel_rgba_dxt1 ();
15269 fetch_2d_texel_rgba_dxt1 ();
15274 rm -f conftest.$ac_objext conftest$ac_exeext
15275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15276 (eval $ac_link) 2>conftest.er1
15278 grep -v '^ *+' conftest.er1 >conftest.err
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); } &&
15283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15285 (eval $ac_try) 2>&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); }; } &&
15289 { ac_try='test -s conftest$ac_exeext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15295 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
15296 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15298 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.$ac_ext >&5
15304 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15306 rm -f conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext conftest.$ac_ext
15308 LIBS=$ac_get_soname_save_LIBS
15310 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15311 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15312 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
15314 cat >>confdefs.h <<_ACEOF
15315 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15319 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15320 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15321 if test "${ac_cv_lib_soname_cups+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 ac_get_soname_save_LIBS=$LIBS
15325 LIBS="-lcups $LIBS"
15326 cat >conftest.$ac_ext <<_ACEOF
15329 cat confdefs.h >>conftest.$ac_ext
15330 cat >>conftest.$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15333 /* Override any gcc2 internal prototype to avoid an error. */
15337 /* We use char because int might match the return type of a gcc2
15338 builtin and then its argument prototype would still apply. */
15339 char cupsGetDefault ();
15348 rm -f conftest.$ac_objext conftest$ac_exeext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15350 (eval $ac_link) 2>conftest.er1
15352 grep -v '^ *+' conftest.er1 >conftest.err
15354 cat conftest.err >&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } &&
15357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try='test -s conftest$ac_exeext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15370 if test "x$ac_cv_lib_soname_cups" = "x"
15372 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15378 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15380 rm -f conftest.err conftest.$ac_objext \
15381 conftest$ac_exeext conftest.$ac_ext
15382 LIBS=$ac_get_soname_save_LIBS
15384 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15385 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15386 if test "x$ac_cv_lib_soname_cups" != xNONE
15388 cat >>confdefs.h <<_ACEOF
15389 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15393 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15394 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15395 if test "${ac_cv_lib_soname_jack+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 ac_get_soname_save_LIBS=$LIBS
15399 LIBS="-ljack $LIBS"
15400 cat >conftest.$ac_ext <<_ACEOF
15403 cat confdefs.h >>conftest.$ac_ext
15404 cat >>conftest.$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15407 /* Override any gcc2 internal prototype to avoid an error. */
15411 /* We use char because int might match the return type of a gcc2
15412 builtin and then its argument prototype would still apply. */
15413 char jack_client_new ();
15417 jack_client_new ();
15422 rm -f conftest.$ac_objext conftest$ac_exeext
15423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15424 (eval $ac_link) 2>conftest.er1
15426 grep -v '^ *+' conftest.er1 >conftest.err
15428 cat conftest.err >&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } &&
15431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; } &&
15437 { ac_try='test -s conftest$ac_exeext'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; }; then
15443 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15444 if test "x$ac_cv_lib_soname_jack" = "x"
15446 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.$ac_ext >&5
15452 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15454 rm -f conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15456 LIBS=$ac_get_soname_save_LIBS
15458 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15459 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15460 if test "x$ac_cv_lib_soname_jack" != xNONE
15462 cat >>confdefs.h <<_ACEOF
15463 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15467 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15468 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15469 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15472 ac_get_soname_save_LIBS=$LIBS
15473 LIBS="-lfontconfig $LIBS"
15474 cat >conftest.$ac_ext <<_ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15481 /* Override any gcc2 internal prototype to avoid an error. */
15485 /* We use char because int might match the return type of a gcc2
15486 builtin and then its argument prototype would still apply. */
15496 rm -f conftest.$ac_objext conftest$ac_exeext
15497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15498 (eval $ac_link) 2>conftest.er1
15500 grep -v '^ *+' conftest.er1 >conftest.err
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } &&
15505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try='test -s conftest$ac_exeext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15517 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15518 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15520 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15523 echo "$as_me: failed program was:" >&5
15524 sed 's/^/| /' conftest.$ac_ext >&5
15526 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15528 rm -f conftest.err conftest.$ac_objext \
15529 conftest$ac_exeext conftest.$ac_ext
15530 LIBS=$ac_get_soname_save_LIBS
15532 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15533 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15534 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15536 cat >>confdefs.h <<_ACEOF
15537 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15541 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15542 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15543 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 ac_get_soname_save_LIBS=$LIBS
15548 cat >conftest.$ac_ext <<_ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15555 /* Override any gcc2 internal prototype to avoid an error. */
15559 /* We use char because int might match the return type of a gcc2
15560 builtin and then its argument prototype would still apply. */
15561 char SSL_library_init ();
15565 SSL_library_init ();
15570 rm -f conftest.$ac_objext conftest$ac_exeext
15571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15572 (eval $ac_link) 2>conftest.er1
15574 grep -v '^ *+' conftest.er1 >conftest.err
15576 cat conftest.err >&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } &&
15579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try='test -s conftest$ac_exeext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15591 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15592 if test "x$ac_cv_lib_soname_ssl" = "x"
15594 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15600 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15602 rm -f conftest.err conftest.$ac_objext \
15603 conftest$ac_exeext conftest.$ac_ext
15604 LIBS=$ac_get_soname_save_LIBS
15606 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15607 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15608 if test "x$ac_cv_lib_soname_ssl" != xNONE
15610 cat >>confdefs.h <<_ACEOF
15611 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15615 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15616 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15617 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 ac_get_soname_save_LIBS=$LIBS
15621 LIBS="-lcrypto $LIBS"
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15629 /* Override any gcc2 internal prototype to avoid an error. */
15633 /* We use char because int might match the return type of a gcc2
15634 builtin and then its argument prototype would still apply. */
15635 char BIO_new_socket ();
15644 rm -f conftest.$ac_objext conftest$ac_exeext
15645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15646 (eval $ac_link) 2>conftest.er1
15648 grep -v '^ *+' conftest.er1 >conftest.err
15650 cat conftest.err >&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; } &&
15659 { ac_try='test -s conftest$ac_exeext'
15660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15661 (eval $ac_try) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); }; }; then
15665 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15666 if test "x$ac_cv_lib_soname_crypto" = "x"
15668 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15674 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15676 rm -f conftest.err conftest.$ac_objext \
15677 conftest$ac_exeext conftest.$ac_ext
15678 LIBS=$ac_get_soname_save_LIBS
15680 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15681 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15682 if test "x$ac_cv_lib_soname_crypto" != xNONE
15684 cat >>confdefs.h <<_ACEOF
15685 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15689 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15690 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15691 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 ac_get_soname_save_LIBS=$LIBS
15695 LIBS="-lncurses $LIBS"
15696 cat >conftest.$ac_ext <<_ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15703 /* Override any gcc2 internal prototype to avoid an error. */
15707 /* We use char because int might match the return type of a gcc2
15708 builtin and then its argument prototype would still apply. */
15718 rm -f conftest.$ac_objext conftest$ac_exeext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15720 (eval $ac_link) 2>conftest.er1
15722 grep -v '^ *+' conftest.er1 >conftest.err
15724 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } &&
15727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729 (eval $ac_try) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; } &&
15733 { ac_try='test -s conftest$ac_exeext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15740 if test "x$ac_cv_lib_soname_ncurses" = "x"
15742 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15745 echo "$as_me: failed program was:" >&5
15746 sed 's/^/| /' conftest.$ac_ext >&5
15748 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15750 rm -f conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_get_soname_save_LIBS
15754 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15755 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15756 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15758 cat >>confdefs.h <<_ACEOF
15759 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15763 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15764 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15765 if test "${ac_cv_lib_soname_curses+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 ac_get_soname_save_LIBS=$LIBS
15769 LIBS="-lcurses $LIBS"
15770 cat >conftest.$ac_ext <<_ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15777 /* Override any gcc2 internal prototype to avoid an error. */
15781 /* We use char because int might match the return type of a gcc2
15782 builtin and then its argument prototype would still apply. */
15792 rm -f conftest.$ac_objext conftest$ac_exeext
15793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15794 (eval $ac_link) 2>conftest.er1
15796 grep -v '^ *+' conftest.er1 >conftest.err
15798 cat conftest.err >&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } &&
15801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; } &&
15807 { ac_try='test -s conftest$ac_exeext'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; }; then
15813 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15814 if test "x$ac_cv_lib_soname_curses" = "x"
15816 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15819 echo "$as_me: failed program was:" >&5
15820 sed 's/^/| /' conftest.$ac_ext >&5
15822 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15824 rm -f conftest.err conftest.$ac_objext \
15825 conftest$ac_exeext conftest.$ac_ext
15826 LIBS=$ac_get_soname_save_LIBS
15828 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15829 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15830 if test "x$ac_cv_lib_soname_curses" != xNONE
15832 cat >>confdefs.h <<_ACEOF
15833 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15837 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15838 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15839 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15840 echo $ECHO_N "(cached) $ECHO_C" >&6
15842 ac_get_soname_save_LIBS=$LIBS
15843 LIBS="-ljpeg $LIBS"
15844 cat >conftest.$ac_ext <<_ACEOF
15847 cat confdefs.h >>conftest.$ac_ext
15848 cat >>conftest.$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15851 /* Override any gcc2 internal prototype to avoid an error. */
15855 /* We use char because int might match the return type of a gcc2
15856 builtin and then its argument prototype would still apply. */
15857 char jpeg_start_decompress ();
15861 jpeg_start_decompress ();
15866 rm -f conftest.$ac_objext conftest$ac_exeext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15868 (eval $ac_link) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1 >conftest.err
15872 cat conftest.err >&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try='test -s conftest$ac_exeext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15888 if test "x$ac_cv_lib_soname_jpeg" = "x"
15890 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15896 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15898 rm -f conftest.err conftest.$ac_objext \
15899 conftest$ac_exeext conftest.$ac_ext
15900 LIBS=$ac_get_soname_save_LIBS
15902 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15903 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15904 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15906 cat >>confdefs.h <<_ACEOF
15907 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15911 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15912 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15913 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15914 echo $ECHO_N "(cached) $ECHO_C" >&6
15916 ac_get_soname_save_LIBS=$LIBS
15917 LIBS="-lungif $LIBS"
15918 cat >conftest.$ac_ext <<_ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15925 /* Override any gcc2 internal prototype to avoid an error. */
15929 /* We use char because int might match the return type of a gcc2
15930 builtin and then its argument prototype would still apply. */
15940 rm -f conftest.$ac_objext conftest$ac_exeext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15942 (eval $ac_link) 2>conftest.er1
15944 grep -v '^ *+' conftest.er1 >conftest.err
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try='test -s conftest$ac_exeext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15962 if test "x$ac_cv_lib_soname_ungif" = "x"
15964 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.$ac_ext >&5
15970 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15972 rm -f conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext conftest.$ac_ext
15974 LIBS=$ac_get_soname_save_LIBS
15976 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15977 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15978 if test "x$ac_cv_lib_soname_ungif" != xNONE
15980 cat >>confdefs.h <<_ACEOF
15981 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15985 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15986 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15987 if test "${ac_cv_lib_soname_gif+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15990 ac_get_soname_save_LIBS=$LIBS
15992 cat >conftest.$ac_ext <<_ACEOF
15995 cat confdefs.h >>conftest.$ac_ext
15996 cat >>conftest.$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15999 /* Override any gcc2 internal prototype to avoid an error. */
16003 /* We use char because int might match the return type of a gcc2
16004 builtin and then its argument prototype would still apply. */
16014 rm -f conftest.$ac_objext conftest$ac_exeext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16016 (eval $ac_link) 2>conftest.er1
16018 grep -v '^ *+' conftest.er1 >conftest.err
16020 cat conftest.err >&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; } &&
16029 { ac_try='test -s conftest$ac_exeext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
16036 if test "x$ac_cv_lib_soname_gif" = "x"
16038 ac_cv_lib_soname_gif="libgif.$LIBEXT"
16041 echo "$as_me: failed program was:" >&5
16042 sed 's/^/| /' conftest.$ac_ext >&5
16044 ac_cv_lib_soname_gif="libgif.$LIBEXT"
16046 rm -f conftest.err conftest.$ac_objext \
16047 conftest$ac_exeext conftest.$ac_ext
16048 LIBS=$ac_get_soname_save_LIBS
16050 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
16051 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
16052 if test "x$ac_cv_lib_soname_gif" != xNONE
16054 cat >>confdefs.h <<_ACEOF
16055 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
16059 echo "$as_me:$LINENO: checking for -llcms soname" >&5
16060 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
16061 if test "${ac_cv_lib_soname_lcms+set}" = set; then
16062 echo $ECHO_N "(cached) $ECHO_C" >&6
16064 ac_get_soname_save_LIBS=$LIBS
16065 LIBS="-llcms $LIBS"
16066 cat >conftest.$ac_ext <<_ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16073 /* Override any gcc2 internal prototype to avoid an error. */
16077 /* We use char because int might match the return type of a gcc2
16078 builtin and then its argument prototype would still apply. */
16079 char cmsOpenProfileFromFile ();
16083 cmsOpenProfileFromFile ();
16088 rm -f conftest.$ac_objext conftest$ac_exeext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16090 (eval $ac_link) 2>conftest.er1
16092 grep -v '^ *+' conftest.er1 >conftest.err
16094 cat conftest.err >&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; } &&
16103 { ac_try='test -s conftest$ac_exeext'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; }; then
16109 ac_cv_lib_soname_lcms=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
16110 if test "x$ac_cv_lib_soname_lcms" = "x"
16112 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
16115 echo "$as_me: failed program was:" >&5
16116 sed 's/^/| /' conftest.$ac_ext >&5
16118 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
16120 rm -f conftest.err conftest.$ac_objext \
16121 conftest$ac_exeext conftest.$ac_ext
16122 LIBS=$ac_get_soname_save_LIBS
16124 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
16125 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
16126 if test "x$ac_cv_lib_soname_lcms" != xNONE
16128 cat >>confdefs.h <<_ACEOF
16129 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
16136 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16137 # for constant arguments. Useless!
16138 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16139 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16140 if test "${ac_cv_working_alloca_h+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6
16143 cat >conftest.$ac_ext <<_ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16149 #include <alloca.h>
16153 char *p = (char *) alloca (2 * sizeof (int));
16158 rm -f conftest.$ac_objext conftest$ac_exeext
16159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16160 (eval $ac_link) 2>conftest.er1
16162 grep -v '^ *+' conftest.er1 >conftest.err
16164 cat conftest.err >&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; } &&
16173 { ac_try='test -s conftest$ac_exeext'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 ac_cv_working_alloca_h=yes
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16184 ac_cv_working_alloca_h=no
16186 rm -f conftest.err conftest.$ac_objext \
16187 conftest$ac_exeext conftest.$ac_ext
16189 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16190 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16191 if test $ac_cv_working_alloca_h = yes; then
16193 cat >>confdefs.h <<\_ACEOF
16194 #define HAVE_ALLOCA_H 1
16199 echo "$as_me:$LINENO: checking for alloca" >&5
16200 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16201 if test "${ac_cv_func_alloca_works+set}" = set; then
16202 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 cat >conftest.$ac_ext <<_ACEOF
16207 cat confdefs.h >>conftest.$ac_ext
16208 cat >>conftest.$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16211 # define alloca __builtin_alloca
16214 # include <malloc.h>
16215 # define alloca _alloca
16218 # include <alloca.h>
16223 # ifndef alloca /* predefined by HP cc +Olibcalls */
16234 char *p = (char *) alloca (1);
16239 rm -f conftest.$ac_objext conftest$ac_exeext
16240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16241 (eval $ac_link) 2>conftest.er1
16243 grep -v '^ *+' conftest.er1 >conftest.err
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } &&
16248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; } &&
16254 { ac_try='test -s conftest$ac_exeext'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16260 ac_cv_func_alloca_works=yes
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.$ac_ext >&5
16265 ac_cv_func_alloca_works=no
16267 rm -f conftest.err conftest.$ac_objext \
16268 conftest$ac_exeext conftest.$ac_ext
16270 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16271 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16273 if test $ac_cv_func_alloca_works = yes; then
16275 cat >>confdefs.h <<\_ACEOF
16276 #define HAVE_ALLOCA 1
16280 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16281 # that cause trouble. Some versions do not even contain alloca or
16282 # contain a buggy version. If you still want to use their alloca,
16283 # use ar to extract alloca.o from them instead of compiling alloca.c.
16285 ALLOCA=alloca.$ac_objext
16287 cat >>confdefs.h <<\_ACEOF
16292 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16293 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16294 if test "${ac_cv_os_cray+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16297 cat >conftest.$ac_ext <<_ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303 #if defined(CRAY) && ! defined(CRAY2)
16310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16311 $EGREP "webecray" >/dev/null 2>&1; then
16319 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16320 echo "${ECHO_T}$ac_cv_os_cray" >&6
16321 if test $ac_cv_os_cray = yes; then
16322 for ac_func in _getb67 GETB67 getb67; do
16323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16324 echo "$as_me:$LINENO: checking for $ac_func" >&5
16325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16326 if eval "test \"\${$as_ac_var+set}\" = set"; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 cat >conftest.$ac_ext <<_ACEOF
16332 cat confdefs.h >>conftest.$ac_ext
16333 cat >>conftest.$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16337 #define $ac_func innocuous_$ac_func
16339 /* System header to define __stub macros and hopefully few prototypes,
16340 which can conflict with char $ac_func (); below.
16341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16342 <limits.h> exists even on freestanding compilers. */
16345 # include <limits.h>
16347 # include <assert.h>
16352 /* Override any gcc2 internal prototype to avoid an error. */
16357 /* We use char because int might match the return type of a gcc2
16358 builtin and then its argument prototype would still apply. */
16360 /* The GNU C library defines this for functions which it implements
16361 to always fail with ENOSYS. Some functions are actually named
16362 something starting with __ and the normal name is an alias. */
16363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16366 char (*f) () = $ac_func;
16375 return f != $ac_func;
16380 rm -f conftest.$ac_objext conftest$ac_exeext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16382 (eval $ac_link) 2>conftest.er1
16384 grep -v '^ *+' conftest.er1 >conftest.err
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try='test -s conftest$ac_exeext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 eval "$as_ac_var=yes"
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.$ac_ext >&5
16406 eval "$as_ac_var=no"
16408 rm -f conftest.err conftest.$ac_objext \
16409 conftest$ac_exeext conftest.$ac_ext
16411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16413 if test `eval echo '${'$as_ac_var'}'` = yes; then
16415 cat >>confdefs.h <<_ACEOF
16416 #define CRAY_STACKSEG_END $ac_func
16425 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16426 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16427 if test "${ac_cv_c_stack_direction+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 if test "$cross_compiling" = yes; then
16431 ac_cv_c_stack_direction=0
16433 cat >conftest.$ac_ext <<_ACEOF
16436 cat confdefs.h >>conftest.$ac_ext
16437 cat >>conftest.$ac_ext <<_ACEOF
16438 /* end confdefs.h. */
16440 find_stack_direction ()
16442 static char *addr = 0;
16447 return find_stack_direction ();
16450 return (&dummy > addr) ? 1 : -1;
16456 exit (find_stack_direction () < 0);
16459 rm -f conftest$ac_exeext
16460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16461 (eval $ac_link) 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16470 ac_cv_c_stack_direction=1
16472 echo "$as_me: program exited with status $ac_status" >&5
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16476 ( exit $ac_status )
16477 ac_cv_c_stack_direction=-1
16479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16482 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16483 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16485 cat >>confdefs.h <<_ACEOF
16486 #define STACK_DIRECTION $ac_cv_c_stack_direction
16619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16620 echo "$as_me:$LINENO: checking for $ac_func" >&5
16621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16622 if eval "test \"\${$as_ac_var+set}\" = set"; then
16623 echo $ECHO_N "(cached) $ECHO_C" >&6
16625 cat >conftest.$ac_ext <<_ACEOF
16628 cat confdefs.h >>conftest.$ac_ext
16629 cat >>conftest.$ac_ext <<_ACEOF
16630 /* end confdefs.h. */
16631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16633 #define $ac_func innocuous_$ac_func
16635 /* System header to define __stub macros and hopefully few prototypes,
16636 which can conflict with char $ac_func (); below.
16637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16638 <limits.h> exists even on freestanding compilers. */
16641 # include <limits.h>
16643 # include <assert.h>
16648 /* Override any gcc2 internal prototype to avoid an error. */
16653 /* We use char because int might match the return type of a gcc2
16654 builtin and then its argument prototype would still apply. */
16656 /* The GNU C library defines this for functions which it implements
16657 to always fail with ENOSYS. Some functions are actually named
16658 something starting with __ and the normal name is an alias. */
16659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16662 char (*f) () = $ac_func;
16671 return f != $ac_func;
16676 rm -f conftest.$ac_objext conftest$ac_exeext
16677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16678 (eval $ac_link) 2>conftest.er1
16680 grep -v '^ *+' conftest.er1 >conftest.err
16682 cat conftest.err >&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest$ac_exeext'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; }; then
16697 eval "$as_ac_var=yes"
16699 echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5
16702 eval "$as_ac_var=no"
16704 rm -f conftest.err conftest.$ac_objext \
16705 conftest$ac_exeext conftest.$ac_ext
16707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16709 if test `eval echo '${'$as_ac_var'}'` = yes; then
16710 cat >>confdefs.h <<_ACEOF
16711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16721 for ac_header in sys/mount.h sys/user.h
16723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16724 echo "$as_me:$LINENO: checking for $ac_header" >&5
16725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 cat >conftest.$ac_ext <<_ACEOF
16732 cat confdefs.h >>conftest.$ac_ext
16733 cat >>conftest.$ac_ext <<_ACEOF
16734 /* end confdefs.h. */
16735 #include <sys/types.h>
16736 #if HAVE_SYS_PARAM_H
16737 # include <sys/param.h>
16740 #include <$ac_header>
16742 rm -f conftest.$ac_objext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16744 (eval $ac_compile) 2>conftest.er1
16746 grep -v '^ *+' conftest.er1 >conftest.err
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } &&
16751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; } &&
16757 { ac_try='test -s conftest.$ac_objext'
16758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16759 (eval $ac_try) 2>&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); }; }; then
16763 eval "$as_ac_Header=yes"
16765 echo "$as_me: failed program was:" >&5
16766 sed 's/^/| /' conftest.$ac_ext >&5
16768 eval "$as_ac_Header=no"
16770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16775 cat >>confdefs.h <<_ACEOF
16776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16789 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16791 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16792 echo "$as_me:$LINENO: checking for $ac_header" >&5
16793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 cat >conftest.$ac_ext <<_ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 #include <sys/types.h>
16804 #if HAVE_SYS_SOCKET_H
16805 # include <sys/socket.h>
16808 #include <$ac_header>
16810 rm -f conftest.$ac_objext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16812 (eval $ac_compile) 2>conftest.er1
16814 grep -v '^ *+' conftest.er1 >conftest.err
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } &&
16819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; } &&
16825 { ac_try='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 eval "$as_ac_Header=yes"
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16836 eval "$as_ac_Header=no"
16838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16843 cat >>confdefs.h <<_ACEOF
16844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16853 for ac_header in resolv.h
16855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16856 echo "$as_me:$LINENO: checking for $ac_header" >&5
16857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 cat >conftest.$ac_ext <<_ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16867 #include <sys/types.h>
16868 #if HAVE_SYS_SOCKET_H
16869 # include <sys/socket.h>
16871 #if HAVE_NETINET_IN_H
16872 # include <netinet/in.h>
16874 #if HAVE_ARPA_NAMESER_H
16875 # include <arpa/nameser.h>
16878 #include <$ac_header>
16880 rm -f conftest.$ac_objext
16881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16882 (eval $ac_compile) 2>conftest.er1
16884 grep -v '^ *+' conftest.er1 >conftest.err
16886 cat conftest.err >&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); } &&
16889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16891 (eval $ac_try) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); }; } &&
16895 { ac_try='test -s conftest.$ac_objext'
16896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16897 (eval $ac_try) 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }; }; then
16901 eval "$as_ac_Header=yes"
16903 echo "$as_me: failed program was:" >&5
16904 sed 's/^/| /' conftest.$ac_ext >&5
16906 eval "$as_ac_Header=no"
16908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16913 cat >>confdefs.h <<_ACEOF
16914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16923 for ac_header in netinet/ip.h
16925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16926 echo "$as_me:$LINENO: checking for $ac_header" >&5
16927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 cat >conftest.$ac_ext <<_ACEOF
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 #include <sys/types.h>
16938 #if HAVE_SYS_SOCKET_H
16939 # include <sys/socket.h>
16941 #if HAVE_NETINET_IN_SYSTM_H
16942 # include <netinet/in_systm.h>
16945 #include <$ac_header>
16947 rm -f conftest.$ac_objext
16948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16949 (eval $ac_compile) 2>conftest.er1
16951 grep -v '^ *+' conftest.er1 >conftest.err
16953 cat conftest.err >&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16968 eval "$as_ac_Header=yes"
16970 echo "$as_me: failed program was:" >&5
16971 sed 's/^/| /' conftest.$ac_ext >&5
16973 eval "$as_ac_Header=no"
16975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16980 cat >>confdefs.h <<_ACEOF
16981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16990 for ac_header in ucontext.h
16992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16993 echo "$as_me:$LINENO: checking for $ac_header" >&5
16994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16996 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 cat >conftest.$ac_ext <<_ACEOF
17001 cat confdefs.h >>conftest.$ac_ext
17002 cat >>conftest.$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 #include <signal.h>
17006 #include <$ac_header>
17008 rm -f conftest.$ac_objext
17009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17010 (eval $ac_compile) 2>conftest.er1
17012 grep -v '^ *+' conftest.er1 >conftest.err
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } &&
17017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17019 (eval $ac_try) 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }; } &&
17023 { ac_try='test -s conftest.$ac_objext'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; }; then
17029 eval "$as_ac_Header=yes"
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17034 eval "$as_ac_Header=no"
17036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17041 cat >>confdefs.h <<_ACEOF
17042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17051 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
17052 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
17053 if test "${ac_cv_c_ipx_gnu+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 cat >conftest.$ac_ext <<_ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 #include <sys/types.h>
17063 #ifdef HAVE_SYS_SOCKET_H
17064 # include <sys/socket.h>
17066 #include <netipx/ipx.h>
17070 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17075 rm -f conftest.$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17079 grep -v '^ *+' conftest.er1 >conftest.err
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_c_ipx_gnu="yes"
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17101 ac_cv_c_ipx_gnu="no"
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17107 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17108 if test "$ac_cv_c_ipx_gnu" = "yes"
17111 cat >>confdefs.h <<\_ACEOF
17112 #define HAVE_IPX_GNU 1
17117 if test "$ac_cv_c_ipx_gnu" = "no"
17119 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17120 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17121 if test "${ac_cv_c_ipx_linux+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 cat >conftest.$ac_ext <<_ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 #include <sys/types.h>
17131 #ifdef HAVE_SYS_SOCKET_H
17132 # include <sys/socket.h>
17134 #include <asm/types.h>
17135 #include <linux/ipx.h>
17139 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17144 rm -f conftest.$ac_objext
17145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17146 (eval $ac_compile) 2>conftest.er1
17148 grep -v '^ *+' conftest.er1 >conftest.err
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } &&
17153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_cv_c_ipx_linux="yes"
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17170 ac_cv_c_ipx_linux="no"
17172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17175 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17176 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17177 if test "$ac_cv_c_ipx_linux" = "yes"
17180 cat >>confdefs.h <<\_ACEOF
17181 #define HAVE_IPX_LINUX 1
17188 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17189 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17190 if test "${ac_cv_c_const+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 cat >conftest.$ac_ext <<_ACEOF
17196 cat confdefs.h >>conftest.$ac_ext
17197 cat >>conftest.$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17203 /* FIXME: Include the comments suggested by Paul. */
17204 #ifndef __cplusplus
17205 /* Ultrix mips cc rejects this. */
17206 typedef int charset[2];
17208 /* SunOS 4.1.1 cc rejects this. */
17209 char const *const *ccp;
17211 /* NEC SVR4.0.2 mips cc rejects this. */
17212 struct point {int x, y;};
17213 static struct point const zero = {0,0};
17214 /* AIX XL C 1.02.0.0 rejects this.
17215 It does not let you subtract one const X* pointer from another in
17216 an arm of an if-expression whose if-part is not a constant
17218 const char *g = "string";
17219 ccp = &g + (g ? g-g : 0);
17220 /* HPUX 7.0 cc rejects these. */
17223 ccp = (char const *const *) p;
17224 { /* SCO 3.2v4 cc rejects this. */
17226 char const *s = 0 ? (char *) 0 : (char const *) 0;
17230 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17231 int x[] = {25, 17};
17232 const int *foo = &x[0];
17235 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17236 typedef const int *iptr;
17240 { /* AIX XL C 1.02.0.0 rejects this saying
17241 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17242 struct s { int j; const int *ap[3]; };
17243 struct s *b; b->j = 5;
17245 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17246 const int foo = 10;
17254 rm -f conftest.$ac_objext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17256 (eval $ac_compile) 2>conftest.er1
17258 grep -v '^ *+' conftest.er1 >conftest.err
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } &&
17263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; } &&
17269 { ac_try='test -s conftest.$ac_objext'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; }; then
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17284 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17285 echo "${ECHO_T}$ac_cv_c_const" >&6
17286 if test $ac_cv_c_const = no; then
17288 cat >>confdefs.h <<\_ACEOF
17294 echo "$as_me:$LINENO: checking for inline" >&5
17295 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17296 if test "${ac_cv_c_inline+set}" = set; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 for ac_kw in inline __inline__ __inline; do
17301 cat >conftest.$ac_ext <<_ACEOF
17304 cat confdefs.h >>conftest.$ac_ext
17305 cat >>conftest.$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 #ifndef __cplusplus
17309 static $ac_kw foo_t static_foo () {return 0; }
17310 $ac_kw foo_t foo () {return 0; }
17314 rm -f conftest.$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17316 (eval $ac_compile) 2>conftest.er1
17318 grep -v '^ *+' conftest.er1 >conftest.err
17320 cat conftest.err >&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; } &&
17329 { ac_try='test -s conftest.$ac_objext'
17330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17331 (eval $ac_try) 2>&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); }; }; then
17335 ac_cv_c_inline=$ac_kw; break
17337 echo "$as_me: failed program was:" >&5
17338 sed 's/^/| /' conftest.$ac_ext >&5
17341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17345 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17346 echo "${ECHO_T}$ac_cv_c_inline" >&6
17349 case $ac_cv_c_inline in
17352 case $ac_cv_c_inline in
17354 *) ac_val=$ac_cv_c_inline;;
17356 cat >>confdefs.h <<_ACEOF
17357 #ifndef __cplusplus
17358 #define inline $ac_val
17364 echo "$as_me:$LINENO: checking for mode_t" >&5
17365 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17366 if test "${ac_cv_type_mode_t+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 cat >conftest.$ac_ext <<_ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 $ac_includes_default
17381 if (sizeof (mode_t))
17387 rm -f conftest.$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>conftest.er1
17391 grep -v '^ *+' conftest.er1 >conftest.err
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try='test -s conftest.$ac_objext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 ac_cv_type_mode_t=yes
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.$ac_ext >&5
17413 ac_cv_type_mode_t=no
17415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17417 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17418 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17419 if test $ac_cv_type_mode_t = yes; then
17421 cat >>confdefs.h <<_ACEOF
17422 #define HAVE_MODE_T 1
17427 echo "$as_me:$LINENO: checking for off_t" >&5
17428 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17429 if test "${ac_cv_type_off_t+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 cat >conftest.$ac_ext <<_ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 $ac_includes_default
17444 if (sizeof (off_t))
17450 rm -f conftest.$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452 (eval $ac_compile) 2>conftest.er1
17454 grep -v '^ *+' conftest.er1 >conftest.err
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 (eval $ac_try) 2>&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); }; } &&
17465 { ac_try='test -s conftest.$ac_objext'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; }; then
17471 ac_cv_type_off_t=yes
17473 echo "$as_me: failed program was:" >&5
17474 sed 's/^/| /' conftest.$ac_ext >&5
17476 ac_cv_type_off_t=no
17478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17480 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17481 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17482 if test $ac_cv_type_off_t = yes; then
17484 cat >>confdefs.h <<_ACEOF
17485 #define HAVE_OFF_T 1
17490 echo "$as_me:$LINENO: checking for pid_t" >&5
17491 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17492 if test "${ac_cv_type_pid_t+set}" = set; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17495 cat >conftest.$ac_ext <<_ACEOF
17498 cat confdefs.h >>conftest.$ac_ext
17499 cat >>conftest.$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17501 $ac_includes_default
17507 if (sizeof (pid_t))
17513 rm -f conftest.$ac_objext
17514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17515 (eval $ac_compile) 2>conftest.er1
17517 grep -v '^ *+' conftest.er1 >conftest.err
17519 cat conftest.err >&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } &&
17522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17524 (eval $ac_try) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); }; } &&
17528 { ac_try='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 ac_cv_type_pid_t=yes
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17539 ac_cv_type_pid_t=no
17541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17543 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17544 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17545 if test $ac_cv_type_pid_t = yes; then
17547 cat >>confdefs.h <<_ACEOF
17548 #define HAVE_PID_T 1
17553 echo "$as_me:$LINENO: checking for size_t" >&5
17554 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17555 if test "${ac_cv_type_size_t+set}" = set; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 cat >conftest.$ac_ext <<_ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17564 $ac_includes_default
17570 if (sizeof (size_t))
17576 rm -f conftest.$ac_objext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17578 (eval $ac_compile) 2>conftest.er1
17580 grep -v '^ *+' conftest.er1 >conftest.err
17582 cat conftest.err >&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; } &&
17591 { ac_try='test -s conftest.$ac_objext'
17592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17593 (eval $ac_try) 2>&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); }; }; then
17597 ac_cv_type_size_t=yes
17599 echo "$as_me: failed program was:" >&5
17600 sed 's/^/| /' conftest.$ac_ext >&5
17602 ac_cv_type_size_t=no
17604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17606 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17607 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17608 if test $ac_cv_type_size_t = yes; then
17610 cat >>confdefs.h <<_ACEOF
17611 #define HAVE_SIZE_T 1
17616 echo "$as_me:$LINENO: checking for ssize_t" >&5
17617 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17618 if test "${ac_cv_type_ssize_t+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17621 cat >conftest.$ac_ext <<_ACEOF
17624 cat confdefs.h >>conftest.$ac_ext
17625 cat >>conftest.$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627 $ac_includes_default
17633 if (sizeof (ssize_t))
17639 rm -f conftest.$ac_objext
17640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17641 (eval $ac_compile) 2>conftest.er1
17643 grep -v '^ *+' conftest.er1 >conftest.err
17645 cat conftest.err >&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } &&
17648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650 (eval $ac_try) 2>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; } &&
17654 { ac_try='test -s conftest.$ac_objext'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; }; then
17660 ac_cv_type_ssize_t=yes
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.$ac_ext >&5
17665 ac_cv_type_ssize_t=no
17667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17669 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17670 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17671 if test $ac_cv_type_ssize_t = yes; then
17673 cat >>confdefs.h <<_ACEOF
17674 #define HAVE_SSIZE_T 1
17679 echo "$as_me:$LINENO: checking for long long" >&5
17680 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17681 if test "${ac_cv_type_long_long+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17684 cat >conftest.$ac_ext <<_ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690 $ac_includes_default
17694 if ((long long *) 0)
17696 if (sizeof (long long))
17702 rm -f conftest.$ac_objext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17704 (eval $ac_compile) 2>conftest.er1
17706 grep -v '^ *+' conftest.er1 >conftest.err
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } &&
17711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; } &&
17717 { ac_try='test -s conftest.$ac_objext'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; }; then
17723 ac_cv_type_long_long=yes
17725 echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.$ac_ext >&5
17728 ac_cv_type_long_long=no
17730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17732 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17733 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17734 if test $ac_cv_type_long_long = yes; then
17736 cat >>confdefs.h <<_ACEOF
17737 #define HAVE_LONG_LONG 1
17742 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17743 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17744 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17745 echo $ECHO_N "(cached) $ECHO_C" >&6
17747 cat >conftest.$ac_ext <<_ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753 $ac_includes_default
17757 if ((fsblkcnt_t *) 0)
17759 if (sizeof (fsblkcnt_t))
17765 rm -f conftest.$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1 >conftest.err
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try='test -s conftest.$ac_objext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 ac_cv_type_fsblkcnt_t=yes
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 ac_cv_type_fsblkcnt_t=no
17793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17795 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17796 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17797 if test $ac_cv_type_fsblkcnt_t = yes; then
17799 cat >>confdefs.h <<_ACEOF
17800 #define HAVE_FSBLKCNT_T 1
17805 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17806 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17807 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17808 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 cat >conftest.$ac_ext <<_ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 $ac_includes_default
17820 if ((fsfilcnt_t *) 0)
17822 if (sizeof (fsfilcnt_t))
17828 rm -f conftest.$ac_objext
17829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17830 (eval $ac_compile) 2>conftest.er1
17832 grep -v '^ *+' conftest.er1 >conftest.err
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } &&
17837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17839 (eval $ac_try) 2>&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); }; } &&
17843 { ac_try='test -s conftest.$ac_objext'
17844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845 (eval $ac_try) 2>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; }; then
17849 ac_cv_type_fsfilcnt_t=yes
17851 echo "$as_me: failed program was:" >&5
17852 sed 's/^/| /' conftest.$ac_ext >&5
17854 ac_cv_type_fsfilcnt_t=no
17856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17858 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17859 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17860 if test $ac_cv_type_fsfilcnt_t = yes; then
17862 cat >>confdefs.h <<_ACEOF
17863 #define HAVE_FSFILCNT_T 1
17870 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17871 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17872 if test "${wine_cv_linux_input_h+set}" = set; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 cat >conftest.$ac_ext <<_ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17882 #include <linux/input.h>
17888 int foo = EVIOCGBIT(EV_ABS,42);
17889 int bar = BTN_PINKIE;
17896 rm -f conftest.$ac_objext
17897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17898 (eval $ac_compile) 2>conftest.er1
17900 grep -v '^ *+' conftest.er1 >conftest.err
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } &&
17905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
17911 { ac_try='test -s conftest.$ac_objext'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; }; then
17917 wine_cv_linux_input_h=yes
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.$ac_ext >&5
17922 wine_cv_linux_input_h=no
17924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17927 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17928 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17929 if test "$wine_cv_linux_input_h" = "yes"
17932 cat >>confdefs.h <<\_ACEOF
17933 #define HAVE_CORRECT_LINUXINPUT_H 1
17939 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17940 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17941 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17944 cat >conftest.$ac_ext <<_ACEOF
17947 cat confdefs.h >>conftest.$ac_ext
17948 cat >>conftest.$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17959 struct hostent *result;
17966 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17967 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17973 rm -f conftest.$ac_objext conftest$ac_exeext
17974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17975 (eval $ac_link) 2>conftest.er1
17977 grep -v '^ *+' conftest.er1 >conftest.err
17979 cat conftest.err >&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; } &&
17988 { ac_try='test -s conftest$ac_exeext'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; }; then
17994 wine_cv_linux_gethostbyname_r_6=yes
17996 echo "$as_me: failed program was:" >&5
17997 sed 's/^/| /' conftest.$ac_ext >&5
17999 wine_cv_linux_gethostbyname_r_6=no
18002 rm -f conftest.err conftest.$ac_objext \
18003 conftest$ac_exeext conftest.$ac_ext
18006 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18007 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
18008 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18011 cat >>confdefs.h <<\_ACEOF
18012 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18017 if test "$ac_cv_header_linux_joystick_h" = "yes"
18019 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18020 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
18021 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18022 echo $ECHO_N "(cached) $ECHO_C" >&6
18024 cat >conftest.$ac_ext <<_ACEOF
18027 cat confdefs.h >>conftest.$ac_ext
18028 cat >>conftest.$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18031 #include <sys/ioctl.h>
18032 #include <linux/joystick.h>
18034 struct js_event blub;
18035 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18036 #error "no 2.2 header"
18047 rm -f conftest.$ac_objext
18048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18049 (eval $ac_compile) 2>conftest.er1
18051 grep -v '^ *+' conftest.er1 >conftest.err
18053 cat conftest.err >&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } &&
18056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18058 (eval $ac_try) 2>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; } &&
18062 { ac_try='test -s conftest.$ac_objext'
18063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18064 (eval $ac_try) 2>&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); }; }; then
18068 wine_cv_linux_joystick_22_api=yes
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18073 wine_cv_linux_joystick_22_api=no
18075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18078 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18079 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
18080 if test "$wine_cv_linux_joystick_22_api" = "yes"
18083 cat >>confdefs.h <<\_ACEOF
18084 #define HAVE_LINUX_22_JOYSTICK_API 1
18091 if test "$ac_cv_header_sys_vfs_h" = "yes"
18093 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
18094 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
18095 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 cat >conftest.$ac_ext <<_ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18105 #include <sys/types.h>
18106 #ifdef HAVE_SYS_PARAM_H
18107 # include <sys/param.h>
18109 #include <sys/vfs.h>
18115 struct statfs stfs;
18117 memset(&stfs,0,sizeof(stfs));
18123 rm -f conftest.$ac_objext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18125 (eval $ac_compile) 2>conftest.er1
18127 grep -v '^ *+' conftest.er1 >conftest.err
18129 cat conftest.err >&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; } &&
18138 { ac_try='test -s conftest.$ac_objext'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; }; then
18144 wine_cv_sys_vfs_has_statfs=yes
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.$ac_ext >&5
18149 wine_cv_sys_vfs_has_statfs=no
18152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18155 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18156 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18157 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18160 cat >>confdefs.h <<\_ACEOF
18161 #define STATFS_DEFINED_BY_SYS_VFS 1
18167 if test "$ac_cv_header_sys_statfs_h" = "yes"
18169 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18170 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18171 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 cat >conftest.$ac_ext <<_ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18181 #include <sys/types.h>
18182 #ifdef HAVE_SYS_PARAM_H
18183 # include <sys/param.h>
18185 #include <sys/statfs.h>
18191 struct statfs stfs;
18197 rm -f conftest.$ac_objext
18198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18199 (eval $ac_compile) 2>conftest.er1
18201 grep -v '^ *+' conftest.er1 >conftest.err
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } &&
18206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; } &&
18212 { ac_try='test -s conftest.$ac_objext'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; }; then
18218 wine_cv_sys_statfs_has_statfs=yes
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18223 wine_cv_sys_statfs_has_statfs=no
18226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18229 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18230 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18231 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18234 cat >>confdefs.h <<\_ACEOF
18235 #define STATFS_DEFINED_BY_SYS_STATFS 1
18241 if test "$ac_cv_header_sys_mount_h" = "yes"
18243 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18244 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18245 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18246 echo $ECHO_N "(cached) $ECHO_C" >&6
18248 cat >conftest.$ac_ext <<_ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18255 #include <sys/types.h>
18256 #ifdef HAVE_SYS_PARAM_H
18257 # include <sys/param.h>
18259 #include <sys/mount.h>
18265 struct statfs stfs;
18271 rm -f conftest.$ac_objext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18273 (eval $ac_compile) 2>conftest.er1
18275 grep -v '^ *+' conftest.er1 >conftest.err
18277 cat conftest.err >&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; } &&
18286 { ac_try='test -s conftest.$ac_objext'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; }; then
18292 wine_cv_sys_mount_has_statfs=yes
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18297 wine_cv_sys_mount_has_statfs=no
18300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18303 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18304 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18305 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18308 cat >>confdefs.h <<\_ACEOF
18309 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18316 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18317 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18318 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18319 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 cat >conftest.$ac_ext <<_ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 #include <sys/types.h>
18328 #ifdef HAVE_SYS_PARAM_H
18329 # include <sys/param.h>
18331 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18332 # include <sys/mount.h>
18334 # ifdef STATFS_DEFINED_BY_SYS_VFS
18335 # include <sys/vfs.h>
18337 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18338 # include <sys/statfs.h>
18346 static struct statfs ac_aggr;
18347 if (ac_aggr.f_bfree)
18353 rm -f conftest.$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355 (eval $ac_compile) 2>conftest.er1
18357 grep -v '^ *+' conftest.er1 >conftest.err
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; } &&
18368 { ac_try='test -s conftest.$ac_objext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 ac_cv_member_struct_statfs_f_bfree=yes
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 cat >conftest.$ac_ext <<_ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385 #include <sys/types.h>
18386 #ifdef HAVE_SYS_PARAM_H
18387 # include <sys/param.h>
18389 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18390 # include <sys/mount.h>
18392 # ifdef STATFS_DEFINED_BY_SYS_VFS
18393 # include <sys/vfs.h>
18395 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18396 # include <sys/statfs.h>
18404 static struct statfs ac_aggr;
18405 if (sizeof ac_aggr.f_bfree)
18411 rm -f conftest.$ac_objext
18412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18413 (eval $ac_compile) 2>conftest.er1
18415 grep -v '^ *+' conftest.er1 >conftest.err
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } &&
18420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; } &&
18426 { ac_try='test -s conftest.$ac_objext'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; }; then
18432 ac_cv_member_struct_statfs_f_bfree=yes
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18437 ac_cv_member_struct_statfs_f_bfree=no
18439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18443 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18444 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18445 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18447 cat >>confdefs.h <<_ACEOF
18448 #define HAVE_STRUCT_STATFS_F_BFREE 1
18453 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18454 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18455 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18456 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 cat >conftest.$ac_ext <<_ACEOF
18461 cat confdefs.h >>conftest.$ac_ext
18462 cat >>conftest.$ac_ext <<_ACEOF
18463 /* end confdefs.h. */
18464 #include <sys/types.h>
18465 #ifdef HAVE_SYS_PARAM_H
18466 # include <sys/param.h>
18468 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18469 # include <sys/mount.h>
18471 # ifdef STATFS_DEFINED_BY_SYS_VFS
18472 # include <sys/vfs.h>
18474 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18475 # include <sys/statfs.h>
18483 static struct statfs ac_aggr;
18484 if (ac_aggr.f_bavail)
18490 rm -f conftest.$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>conftest.er1
18494 grep -v '^ *+' conftest.er1 >conftest.err
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; } &&
18505 { ac_try='test -s conftest.$ac_objext'
18506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18507 (eval $ac_try) 2>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); }; }; then
18511 ac_cv_member_struct_statfs_f_bavail=yes
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 cat >conftest.$ac_ext <<_ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #include <sys/types.h>
18523 #ifdef HAVE_SYS_PARAM_H
18524 # include <sys/param.h>
18526 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18527 # include <sys/mount.h>
18529 # ifdef STATFS_DEFINED_BY_SYS_VFS
18530 # include <sys/vfs.h>
18532 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18533 # include <sys/statfs.h>
18541 static struct statfs ac_aggr;
18542 if (sizeof ac_aggr.f_bavail)
18548 rm -f conftest.$ac_objext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18550 (eval $ac_compile) 2>conftest.er1
18552 grep -v '^ *+' conftest.er1 >conftest.err
18554 cat conftest.err >&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; } &&
18563 { ac_try='test -s conftest.$ac_objext'
18564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18565 (eval $ac_try) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; }; then
18569 ac_cv_member_struct_statfs_f_bavail=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_member_struct_statfs_f_bavail=no
18576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18580 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18581 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18582 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18584 cat >>confdefs.h <<_ACEOF
18585 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18590 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18591 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18592 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 cat >conftest.$ac_ext <<_ACEOF
18598 cat confdefs.h >>conftest.$ac_ext
18599 cat >>conftest.$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #include <sys/types.h>
18602 #ifdef HAVE_SYS_PARAM_H
18603 # include <sys/param.h>
18605 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18606 # include <sys/mount.h>
18608 # ifdef STATFS_DEFINED_BY_SYS_VFS
18609 # include <sys/vfs.h>
18611 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18612 # include <sys/statfs.h>
18620 static struct statfs ac_aggr;
18621 if (ac_aggr.f_frsize)
18627 rm -f conftest.$ac_objext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18629 (eval $ac_compile) 2>conftest.er1
18631 grep -v '^ *+' conftest.er1 >conftest.err
18633 cat conftest.err >&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try='test -s conftest.$ac_objext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_cv_member_struct_statfs_f_frsize=yes
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 cat >conftest.$ac_ext <<_ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 #include <sys/types.h>
18660 #ifdef HAVE_SYS_PARAM_H
18661 # include <sys/param.h>
18663 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18664 # include <sys/mount.h>
18666 # ifdef STATFS_DEFINED_BY_SYS_VFS
18667 # include <sys/vfs.h>
18669 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18670 # include <sys/statfs.h>
18678 static struct statfs ac_aggr;
18679 if (sizeof ac_aggr.f_frsize)
18685 rm -f conftest.$ac_objext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18687 (eval $ac_compile) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1 >conftest.err
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try='test -s conftest.$ac_objext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 ac_cv_member_struct_statfs_f_frsize=yes
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 ac_cv_member_struct_statfs_f_frsize=no
18713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18717 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18718 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18719 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18727 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18728 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18729 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 cat >conftest.$ac_ext <<_ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 #include <sys/types.h>
18739 #ifdef HAVE_SYS_PARAM_H
18740 # include <sys/param.h>
18742 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18743 # include <sys/mount.h>
18745 # ifdef STATFS_DEFINED_BY_SYS_VFS
18746 # include <sys/vfs.h>
18748 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18749 # include <sys/statfs.h>
18757 static struct statfs ac_aggr;
18758 if (ac_aggr.f_ffree)
18764 rm -f conftest.$ac_objext
18765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18766 (eval $ac_compile) 2>conftest.er1
18768 grep -v '^ *+' conftest.er1 >conftest.err
18770 cat conftest.err >&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try='test -s conftest.$ac_objext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_cv_member_struct_statfs_f_ffree=yes
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.$ac_ext >&5
18790 cat >conftest.$ac_ext <<_ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 #include <sys/types.h>
18797 #ifdef HAVE_SYS_PARAM_H
18798 # include <sys/param.h>
18800 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18801 # include <sys/mount.h>
18803 # ifdef STATFS_DEFINED_BY_SYS_VFS
18804 # include <sys/vfs.h>
18806 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18807 # include <sys/statfs.h>
18815 static struct statfs ac_aggr;
18816 if (sizeof ac_aggr.f_ffree)
18822 rm -f conftest.$ac_objext
18823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18824 (eval $ac_compile) 2>conftest.er1
18826 grep -v '^ *+' conftest.er1 >conftest.err
18828 cat conftest.err >&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } &&
18831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; } &&
18837 { ac_try='test -s conftest.$ac_objext'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; }; then
18843 ac_cv_member_struct_statfs_f_ffree=yes
18845 echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.$ac_ext >&5
18848 ac_cv_member_struct_statfs_f_ffree=no
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18854 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18855 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18856 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18858 cat >>confdefs.h <<_ACEOF
18859 #define HAVE_STRUCT_STATFS_F_FFREE 1
18864 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18865 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18866 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 cat >conftest.$ac_ext <<_ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <sys/types.h>
18876 #ifdef HAVE_SYS_PARAM_H
18877 # include <sys/param.h>
18879 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18880 # include <sys/mount.h>
18882 # ifdef STATFS_DEFINED_BY_SYS_VFS
18883 # include <sys/vfs.h>
18885 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18886 # include <sys/statfs.h>
18894 static struct statfs ac_aggr;
18895 if (ac_aggr.f_favail)
18901 rm -f conftest.$ac_objext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18903 (eval $ac_compile) 2>conftest.er1
18905 grep -v '^ *+' conftest.er1 >conftest.err
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } &&
18910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; } &&
18916 { ac_try='test -s conftest.$ac_objext'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; }; then
18922 ac_cv_member_struct_statfs_f_favail=yes
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 cat >conftest.$ac_ext <<_ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_PARAM_H
18935 # include <sys/param.h>
18937 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18938 # include <sys/mount.h>
18940 # ifdef STATFS_DEFINED_BY_SYS_VFS
18941 # include <sys/vfs.h>
18943 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18944 # include <sys/statfs.h>
18952 static struct statfs ac_aggr;
18953 if (sizeof ac_aggr.f_favail)
18959 rm -f conftest.$ac_objext
18960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18961 (eval $ac_compile) 2>conftest.er1
18963 grep -v '^ *+' conftest.er1 >conftest.err
18965 cat conftest.err >&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } &&
18968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; } &&
18974 { ac_try='test -s conftest.$ac_objext'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; }; then
18980 ac_cv_member_struct_statfs_f_favail=yes
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.$ac_ext >&5
18985 ac_cv_member_struct_statfs_f_favail=no
18987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18991 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18992 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18993 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19001 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19002 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
19003 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19004 echo $ECHO_N "(cached) $ECHO_C" >&6
19006 cat >conftest.$ac_ext <<_ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 #include <sys/types.h>
19013 #ifdef HAVE_SYS_PARAM_H
19014 # include <sys/param.h>
19016 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19017 # include <sys/mount.h>
19019 # ifdef STATFS_DEFINED_BY_SYS_VFS
19020 # include <sys/vfs.h>
19022 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19023 # include <sys/statfs.h>
19031 static struct statfs ac_aggr;
19032 if (ac_aggr.f_namelen)
19038 rm -f conftest.$ac_objext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19040 (eval $ac_compile) 2>conftest.er1
19042 grep -v '^ *+' conftest.er1 >conftest.err
19044 cat conftest.err >&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } &&
19047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; } &&
19053 { ac_try='test -s conftest.$ac_objext'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; }; then
19059 ac_cv_member_struct_statfs_f_namelen=yes
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19064 cat >conftest.$ac_ext <<_ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 #include <sys/types.h>
19071 #ifdef HAVE_SYS_PARAM_H
19072 # include <sys/param.h>
19074 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19075 # include <sys/mount.h>
19077 # ifdef STATFS_DEFINED_BY_SYS_VFS
19078 # include <sys/vfs.h>
19080 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19081 # include <sys/statfs.h>
19089 static struct statfs ac_aggr;
19090 if (sizeof ac_aggr.f_namelen)
19096 rm -f conftest.$ac_objext
19097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19098 (eval $ac_compile) 2>conftest.er1
19100 grep -v '^ *+' conftest.er1 >conftest.err
19102 cat conftest.err >&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try='test -s conftest.$ac_objext'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19117 ac_cv_member_struct_statfs_f_namelen=yes
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19122 ac_cv_member_struct_statfs_f_namelen=no
19124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19128 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19129 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19130 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19140 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19141 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19142 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 cat >conftest.$ac_ext <<_ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 #ifdef HAVE_SYS_STATVFS_H
19152 #include <sys/statvfs.h>
19158 static struct statvfs ac_aggr;
19159 if (ac_aggr.f_blocks)
19165 rm -f conftest.$ac_objext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19167 (eval $ac_compile) 2>conftest.er1
19169 grep -v '^ *+' conftest.er1 >conftest.err
19171 cat conftest.err >&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try='test -s conftest.$ac_objext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 ac_cv_member_struct_statvfs_f_blocks=yes
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19191 cat >conftest.$ac_ext <<_ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #ifdef HAVE_SYS_STATVFS_H
19198 #include <sys/statvfs.h>
19204 static struct statvfs ac_aggr;
19205 if (sizeof ac_aggr.f_blocks)
19211 rm -f conftest.$ac_objext
19212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19213 (eval $ac_compile) 2>conftest.er1
19215 grep -v '^ *+' conftest.er1 >conftest.err
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; } &&
19226 { ac_try='test -s conftest.$ac_objext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 ac_cv_member_struct_statvfs_f_blocks=yes
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 ac_cv_member_struct_statvfs_f_blocks=no
19239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19243 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19244 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19245 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19255 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19256 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19257 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19258 echo $ECHO_N "(cached) $ECHO_C" >&6
19260 cat >conftest.$ac_ext <<_ACEOF
19263 cat confdefs.h >>conftest.$ac_ext
19264 cat >>conftest.$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19266 #include <sys/types.h>
19267 #ifdef HAVE_SYS_SOCKET_H
19268 # include <sys/socket.h>
19270 #ifdef HAVE_SYS_UN_H
19271 # include <sys/un.h>
19277 static struct msghdr ac_aggr;
19278 if (ac_aggr.msg_accrights)
19284 rm -f conftest.$ac_objext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19286 (eval $ac_compile) 2>conftest.er1
19288 grep -v '^ *+' conftest.er1 >conftest.err
19290 cat conftest.err >&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; } &&
19299 { ac_try='test -s conftest.$ac_objext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19305 ac_cv_member_struct_msghdr_msg_accrights=yes
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.$ac_ext >&5
19310 cat >conftest.$ac_ext <<_ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <sys/types.h>
19317 #ifdef HAVE_SYS_SOCKET_H
19318 # include <sys/socket.h>
19320 #ifdef HAVE_SYS_UN_H
19321 # include <sys/un.h>
19327 static struct msghdr ac_aggr;
19328 if (sizeof ac_aggr.msg_accrights)
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19338 grep -v '^ *+' conftest.er1 >conftest.err
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; } &&
19349 { ac_try='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19355 ac_cv_member_struct_msghdr_msg_accrights=yes
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19360 ac_cv_member_struct_msghdr_msg_accrights=no
19362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19366 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19367 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19368 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19376 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19377 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19378 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19379 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 cat >conftest.$ac_ext <<_ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 #include <sys/types.h>
19388 #ifdef HAVE_SYS_SOCKET_H
19389 # include <sys/socket.h>
19391 #ifdef HAVE_SYS_UN_H
19392 # include <sys/un.h>
19398 static struct sockaddr ac_aggr;
19399 if (ac_aggr.sa_len)
19405 rm -f conftest.$ac_objext
19406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19407 (eval $ac_compile) 2>conftest.er1
19409 grep -v '^ *+' conftest.er1 >conftest.err
19411 cat conftest.err >&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } &&
19414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19416 (eval $ac_try) 2>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); }; } &&
19420 { ac_try='test -s conftest.$ac_objext'
19421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19422 (eval $ac_try) 2>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); }; }; then
19426 ac_cv_member_struct_sockaddr_sa_len=yes
19428 echo "$as_me: failed program was:" >&5
19429 sed 's/^/| /' conftest.$ac_ext >&5
19431 cat >conftest.$ac_ext <<_ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 #include <sys/types.h>
19438 #ifdef HAVE_SYS_SOCKET_H
19439 # include <sys/socket.h>
19441 #ifdef HAVE_SYS_UN_H
19442 # include <sys/un.h>
19448 static struct sockaddr ac_aggr;
19449 if (sizeof ac_aggr.sa_len)
19455 rm -f conftest.$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>conftest.er1
19459 grep -v '^ *+' conftest.er1 >conftest.err
19461 cat conftest.err >&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 ac_cv_member_struct_sockaddr_sa_len=yes
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19481 ac_cv_member_struct_sockaddr_sa_len=no
19483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19487 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19488 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19489 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19491 cat >>confdefs.h <<_ACEOF
19492 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19497 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19498 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19499 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19500 echo $ECHO_N "(cached) $ECHO_C" >&6
19502 cat >conftest.$ac_ext <<_ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #include <sys/types.h>
19509 #ifdef HAVE_SYS_SOCKET_H
19510 # include <sys/socket.h>
19512 #ifdef HAVE_SYS_UN_H
19513 # include <sys/un.h>
19519 static struct sockaddr_un ac_aggr;
19520 if (ac_aggr.sun_len)
19526 rm -f conftest.$ac_objext
19527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19528 (eval $ac_compile) 2>conftest.er1
19530 grep -v '^ *+' conftest.er1 >conftest.err
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } &&
19535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; } &&
19541 { ac_try='test -s conftest.$ac_objext'
19542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 (eval $ac_try) 2>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); }; }; then
19547 ac_cv_member_struct_sockaddr_un_sun_len=yes
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19552 cat >conftest.$ac_ext <<_ACEOF
19555 cat confdefs.h >>conftest.$ac_ext
19556 cat >>conftest.$ac_ext <<_ACEOF
19557 /* end confdefs.h. */
19558 #include <sys/types.h>
19559 #ifdef HAVE_SYS_SOCKET_H
19560 # include <sys/socket.h>
19562 #ifdef HAVE_SYS_UN_H
19563 # include <sys/un.h>
19569 static struct sockaddr_un ac_aggr;
19570 if (sizeof ac_aggr.sun_len)
19576 rm -f conftest.$ac_objext
19577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19578 (eval $ac_compile) 2>conftest.er1
19580 grep -v '^ *+' conftest.er1 >conftest.err
19582 cat conftest.err >&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } &&
19585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; } &&
19591 { ac_try='test -s conftest.$ac_objext'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; }; then
19597 ac_cv_member_struct_sockaddr_un_sun_len=yes
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19602 ac_cv_member_struct_sockaddr_un_sun_len=no
19604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19608 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19609 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19610 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19612 cat >>confdefs.h <<_ACEOF
19613 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19620 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19621 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19622 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 cat >conftest.$ac_ext <<_ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 #include <signal.h>
19636 static siginfo_t ac_aggr;
19643 rm -f conftest.$ac_objext
19644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19645 (eval $ac_compile) 2>conftest.er1
19647 grep -v '^ *+' conftest.er1 >conftest.err
19649 cat conftest.err >&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); } &&
19652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try='test -s conftest.$ac_objext'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; }; then
19664 ac_cv_member_siginfo_t_si_fd=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 cat >conftest.$ac_ext <<_ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 #include <signal.h>
19680 static siginfo_t ac_aggr;
19681 if (sizeof ac_aggr.si_fd)
19687 rm -f conftest.$ac_objext
19688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19689 (eval $ac_compile) 2>conftest.er1
19691 grep -v '^ *+' conftest.er1 >conftest.err
19693 cat conftest.err >&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } &&
19696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; } &&
19702 { ac_try='test -s conftest.$ac_objext'
19703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19704 (eval $ac_try) 2>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; }; then
19708 ac_cv_member_siginfo_t_si_fd=yes
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19713 ac_cv_member_siginfo_t_si_fd=no
19715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19720 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19721 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19723 cat >>confdefs.h <<_ACEOF
19724 #define HAVE_SIGINFO_T_SI_FD 1
19731 echo "$as_me:$LINENO: checking for struct option.name" >&5
19732 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19733 if test "${ac_cv_member_struct_option_name+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 cat >conftest.$ac_ext <<_ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 #ifdef HAVE_GETOPT_H
19743 #include <getopt.h>
19749 static struct option ac_aggr;
19756 rm -f conftest.$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>conftest.er1
19760 grep -v '^ *+' conftest.er1 >conftest.err
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try='test -s conftest.$ac_objext'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 ac_cv_member_struct_option_name=yes
19779 echo "$as_me: failed program was:" >&5
19780 sed 's/^/| /' conftest.$ac_ext >&5
19782 cat >conftest.$ac_ext <<_ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 #ifdef HAVE_GETOPT_H
19789 #include <getopt.h>
19795 static struct option ac_aggr;
19796 if (sizeof ac_aggr.name)
19802 rm -f conftest.$ac_objext
19803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19804 (eval $ac_compile) 2>conftest.er1
19806 grep -v '^ *+' conftest.er1 >conftest.err
19808 cat conftest.err >&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } &&
19811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813 (eval $ac_try) 2>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); }; } &&
19817 { ac_try='test -s conftest.$ac_objext'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; }; then
19823 ac_cv_member_struct_option_name=yes
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19828 ac_cv_member_struct_option_name=no
19830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19834 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19835 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19836 if test $ac_cv_member_struct_option_name = yes; then
19838 cat >>confdefs.h <<_ACEOF
19839 #define HAVE_STRUCT_OPTION_NAME 1
19846 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19847 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19848 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19849 echo $ECHO_N "(cached) $ECHO_C" >&6
19851 cat >conftest.$ac_ext <<_ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 $ac_includes_default
19861 static struct stat ac_aggr;
19862 if (ac_aggr.st_blocks)
19868 rm -f conftest.$ac_objext
19869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19870 (eval $ac_compile) 2>conftest.er1
19872 grep -v '^ *+' conftest.er1 >conftest.err
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } &&
19877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; } &&
19883 { ac_try='test -s conftest.$ac_objext'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; }; then
19889 ac_cv_member_struct_stat_st_blocks=yes
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19894 cat >conftest.$ac_ext <<_ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19904 static struct stat ac_aggr;
19905 if (sizeof ac_aggr.st_blocks)
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19915 grep -v '^ *+' conftest.er1 >conftest.err
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; } &&
19926 { ac_try='test -s conftest.$ac_objext'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19932 ac_cv_member_struct_stat_st_blocks=yes
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.$ac_ext >&5
19937 ac_cv_member_struct_stat_st_blocks=no
19939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19943 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19944 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19945 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19947 cat >>confdefs.h <<_ACEOF
19948 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19957 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19958 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19959 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 cat >conftest.$ac_ext <<_ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19973 $EGREP "yes" >/dev/null 2>&1; then
19974 ac_cv_cpp_def___i386__=yes
19976 ac_cv_cpp_def___i386__=no
19981 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19982 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19983 if test $ac_cv_cpp_def___i386__ = yes; then
19984 CFLAGS="$CFLAGS -D__i386__"
19985 LINTFLAGS="$LINTFLAGS -D__i386__"
19988 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19989 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19990 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 cat >conftest.$ac_ext <<_ACEOF
19996 cat confdefs.h >>conftest.$ac_ext
19997 cat >>conftest.$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
20003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20004 $EGREP "yes" >/dev/null 2>&1; then
20005 ac_cv_cpp_def___ALPHA__=yes
20007 ac_cv_cpp_def___ALPHA__=no
20012 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20013 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
20014 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20015 CFLAGS="$CFLAGS -D__ALPHA__"
20016 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20019 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20020 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
20021 if test "${ac_cv_cpp_def___sparc__+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___sparc__=yes
20038 ac_cv_cpp_def___sparc__=no
20043 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20044 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20045 if test $ac_cv_cpp_def___sparc__ = yes; then
20046 CFLAGS="$CFLAGS -D__sparc__"
20047 LINTFLAGS="$LINTFLAGS -D__sparc__"
20050 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20051 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20052 if test "${ac_cv_cpp_def___powerpc__+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. */
20061 #ifndef __powerpc__
20065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20066 $EGREP "yes" >/dev/null 2>&1; then
20067 ac_cv_cpp_def___powerpc__=yes
20069 ac_cv_cpp_def___powerpc__=no
20074 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20075 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20076 if test $ac_cv_cpp_def___powerpc__ = yes; then
20077 CFLAGS="$CFLAGS -D__powerpc__"
20078 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20083 case $host_vendor in
20084 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20085 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20086 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20087 echo $ECHO_N "(cached) $ECHO_C" >&6
20089 cat >conftest.$ac_ext <<_ACEOF
20092 cat confdefs.h >>conftest.$ac_ext
20093 cat >>conftest.$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20100 $EGREP "yes" >/dev/null 2>&1; then
20101 ac_cv_cpp_def___sun__=yes
20103 ac_cv_cpp_def___sun__=no
20108 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20109 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20110 if test $ac_cv_cpp_def___sun__ = yes; then
20111 CFLAGS="$CFLAGS -D__sun__"
20112 LINTFLAGS="$LINTFLAGS -D__sun__"
20121 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
20123 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
20125 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
20127 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
20129 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
20131 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
20133 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
20135 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
20137 ac_config_commands="$ac_config_commands dlls/kernel/messages"
20139 ac_config_commands="$ac_config_commands dlls/user/dde"
20141 ac_config_commands="$ac_config_commands dlls/user/resources"
20143 ac_config_commands="$ac_config_commands dlls/wineps/data"
20145 ac_config_commands="$ac_config_commands include/wine"
20147 ac_config_commands="$ac_config_commands misc"
20149 ac_config_commands="$ac_config_commands programs/regedit/tests"
20151 ac_config_commands="$ac_config_commands windows"
20154 MAKE_RULES=Make.rules
20157 MAKE_DLL_RULES=dlls/Makedll.rules
20160 MAKE_TEST_RULES=dlls/Maketest.rules
20163 MAKE_LIB_RULES=libs/Makelib.rules
20166 MAKE_PROG_RULES=programs/Makeprog.rules
20169 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/lzexpand/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20172 cat >confcache <<\_ACEOF
20173 # This file is a shell script that caches the results of configure
20174 # tests run on this system so they can be shared between configure
20175 # scripts and configure runs, see configure's option --config-cache.
20176 # It is not useful on other systems. If it contains results you don't
20177 # want to keep, you may remove or edit it.
20179 # config.status only pays attention to the cache file if you give it
20180 # the --recheck option to rerun configure.
20182 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20183 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20184 # following values.
20188 # The following way of writing the cache mishandles newlines in values,
20189 # but we know of no workaround that is simple, portable, and efficient.
20190 # So, don't put newlines in cache variables' values.
20191 # Ultrix sh set writes to stderr and can't be redirected directly,
20192 # and sets the high bit in the cache file unless we assign to the vars.
20195 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20197 # `set' does not quote correctly, so add quotes (double-quote
20198 # substitution turns \\\\ into \\, and sed turns \\ into \).
20201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20204 # `set' quotes correctly as required by POSIX, so do not add quotes.
20206 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20215 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20217 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20218 if test -w $cache_file; then
20219 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20220 cat confcache >$cache_file
20222 echo "not updating unwritable cache $cache_file"
20227 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20228 # Let make expand exec_prefix.
20229 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20231 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20232 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20233 # trailing colons and then remove the whole line if VPATH becomes empty
20234 # (actually we leave an empty line to preserve line numbers).
20235 if test "x$srcdir" = x.; then
20236 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20237 s/:*\$(srcdir):*/:/;
20238 s/:*\${srcdir}:*/:/;
20240 s/^\([^=]*=[ ]*\):*/\1/;
20246 DEFS=-DHAVE_CONFIG_H
20250 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20251 # 1. Remove the extension, and $U if already installed.
20252 ac_i=`echo "$ac_i" |
20253 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20255 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20256 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20258 LIBOBJS=$ac_libobjs
20260 LTLIBOBJS=$ac_ltlibobjs
20264 : ${CONFIG_STATUS=./config.status}
20265 ac_clean_files_save=$ac_clean_files
20266 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20267 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20268 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20269 cat >$CONFIG_STATUS <<_ACEOF
20271 # Generated by $as_me.
20272 # Run this file to recreate the current configuration.
20273 # Compiler output produced by configure, useful for debugging
20274 # configure, is in config.log if it exists.
20277 ac_cs_recheck=false
20279 SHELL=\${CONFIG_SHELL-$SHELL}
20282 cat >>$CONFIG_STATUS <<\_ACEOF
20283 ## --------------------- ##
20284 ## M4sh Initialization. ##
20285 ## --------------------- ##
20287 # Be Bourne compatible
20288 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20291 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20292 # is contrary to our usage. Disable this feature.
20293 alias -g '${1+"$@"}'='"$@"'
20294 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20297 DUALCASE=1; export DUALCASE # for MKS sh
20299 # Support unset when possible.
20300 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20307 # Work around bugs in pre-3.0 UWIN ksh.
20308 $as_unset ENV MAIL MAILPATH
20315 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20316 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20317 LC_TELEPHONE LC_TIME
20319 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20320 eval $as_var=C; export $as_var
20326 # Required to use basename.
20327 if expr a : '\(a\)' >/dev/null 2>&1; then
20333 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20334 as_basename=basename
20340 # Name of the executable.
20341 as_me=`$as_basename "$0" ||
20342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20343 X"$0" : 'X\(//\)$' \| \
20344 X"$0" : 'X\(/\)$' \| \
20345 . : '\(.\)' 2>/dev/null ||
20347 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20348 /^X\/\(\/\/\)$/{ s//\1/; q; }
20349 /^X\/\(\/\).*/{ s//\1/; q; }
20353 # PATH needs CR, and LINENO needs CR and PATH.
20354 # Avoid depending upon Character Ranges.
20355 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20356 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20357 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20358 as_cr_digits='0123456789'
20359 as_cr_alnum=$as_cr_Letters$as_cr_digits
20361 # The user is always right.
20362 if test "${PATH_SEPARATOR+set}" != set; then
20363 echo "#! /bin/sh" >conf$$.sh
20364 echo "exit 0" >>conf$$.sh
20366 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20375 as_lineno_1=$LINENO
20376 as_lineno_2=$LINENO
20377 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20378 test "x$as_lineno_1" != "x$as_lineno_2" &&
20379 test "x$as_lineno_3" = "x$as_lineno_2" || {
20380 # Find who we are. Look in the path if we contain no path at all
20383 *[\\/]* ) as_myself=$0 ;;
20384 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20385 for as_dir in $PATH
20388 test -z "$as_dir" && as_dir=.
20389 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20394 # We did not find ourselves, most probably we were run as `sh COMMAND'
20395 # in which case we are not to be found in the path.
20396 if test "x$as_myself" = x; then
20399 if test ! -f "$as_myself"; then
20400 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20401 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20402 { (exit 1); exit 1; }; }
20404 case $CONFIG_SHELL in
20406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20407 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20410 test -z "$as_dir" && as_dir=.
20411 for as_base in sh bash ksh sh5; do
20414 if ("$as_dir/$as_base" -c '
20415 as_lineno_1=$LINENO
20416 as_lineno_2=$LINENO
20417 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20418 test "x$as_lineno_1" != "x$as_lineno_2" &&
20419 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20420 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20421 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20422 CONFIG_SHELL=$as_dir/$as_base
20423 export CONFIG_SHELL
20424 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20432 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20433 # uniformly replaced by the line number. The first 'sed' inserts a
20434 # line-number line before each line; the second 'sed' does the real
20435 # work. The second script uses 'N' to pair each line-number line
20436 # with the numbered line, and appends trailing '-' during
20437 # substitution so that $LINENO is not a special case at line end.
20438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20439 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20440 sed '=' <$as_myself |
20445 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20448 s,^['$as_cr_digits']*\n,,
20449 ' >$as_me.lineno &&
20450 chmod +x $as_me.lineno ||
20451 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20452 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20453 { (exit 1); exit 1; }; }
20455 # Don't try to exec as it changes $[0], causing all sort of problems
20456 # (the dirname of $[0] is not the place where we might find the
20457 # original and so on. Autoconf is especially sensible to this).
20459 # Exit status is that of the last command.
20464 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20465 *c*,-n*) ECHO_N= ECHO_C='
20467 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20468 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20471 if expr a : '\(a\)' >/dev/null 2>&1; then
20477 rm -f conf$$ conf$$.exe conf$$.file
20479 if ln -s conf$$.file conf$$ 2>/dev/null; then
20480 # We could just check for DJGPP; but this test a) works b) is more generic
20481 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20482 if test -f conf$$.exe; then
20483 # Don't use ln at all; we don't have any links
20488 elif ln conf$$.file conf$$ 2>/dev/null; then
20493 rm -f conf$$ conf$$.exe conf$$.file
20495 if mkdir -p . 2>/dev/null; then
20498 test -d ./-p && rmdir ./-p
20502 as_executable_p="test -f"
20504 # Sed expression to map a string onto a valid CPP name.
20505 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20507 # Sed expression to map a string onto a valid variable name.
20508 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20512 # We need space, tab and new line, in precisely that order.
20522 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20523 # report actual input values of CONFIG_FILES etc. instead of their
20524 # values after options handling. Logging --version etc. is OK.
20528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20529 ## Running $as_me. ##
20534 This file was extended by Wine $as_me 20041201, which was
20535 generated by GNU Autoconf 2.59. Invocation command line was
20537 CONFIG_FILES = $CONFIG_FILES
20538 CONFIG_HEADERS = $CONFIG_HEADERS
20539 CONFIG_LINKS = $CONFIG_LINKS
20540 CONFIG_COMMANDS = $CONFIG_COMMANDS
20544 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20548 # Files that config.status was made for.
20549 if test -n "$ac_config_files"; then
20550 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20553 if test -n "$ac_config_headers"; then
20554 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20557 if test -n "$ac_config_links"; then
20558 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20561 if test -n "$ac_config_commands"; then
20562 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20565 cat >>$CONFIG_STATUS <<\_ACEOF
20568 \`$as_me' instantiates files from templates according to the
20569 current configuration.
20571 Usage: $0 [OPTIONS] [FILE]...
20573 -h, --help print this help, then exit
20574 -V, --version print version number, then exit
20575 -q, --quiet do not print progress messages
20576 -d, --debug don't remove temporary files
20577 --recheck update $as_me by reconfiguring in the same conditions
20578 --file=FILE[:TEMPLATE]
20579 instantiate the configuration file FILE
20580 --header=FILE[:TEMPLATE]
20581 instantiate the configuration header FILE
20583 Configuration files:
20586 Configuration headers:
20589 Configuration commands:
20592 Report bugs to <bug-autoconf@gnu.org>."
20595 cat >>$CONFIG_STATUS <<_ACEOF
20597 Wine config.status 20041201
20598 configured by $0, generated by GNU Autoconf 2.59,
20599 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20601 Copyright (C) 2003 Free Software Foundation, Inc.
20602 This config.status script is free software; the Free Software Foundation
20603 gives unlimited permission to copy, distribute and modify it."
20608 cat >>$CONFIG_STATUS <<\_ACEOF
20609 # If no file are specified by the user, then we need to provide default
20610 # value. By we need to know if files were specified by the user.
20616 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20617 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20625 *) # This is not an option, so the user has probably given explicit
20628 ac_need_defaults=false;;
20632 # Handling of the options.
20634 cat >>$CONFIG_STATUS <<\_ACEOF
20635 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20637 --version | --vers* | -V )
20638 echo "$ac_cs_version"; exit 0 ;;
20640 # Conflict between --help and --header
20641 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20642 Try \`$0 --help' for more information." >&5
20643 echo "$as_me: error: ambiguous option: $1
20644 Try \`$0 --help' for more information." >&2;}
20645 { (exit 1); exit 1; }; };;
20646 --help | --hel | -h )
20647 echo "$ac_cs_usage"; exit 0 ;;
20648 --debug | --d* | -d )
20650 --file | --fil | --fi | --f )
20652 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20653 ac_need_defaults=false;;
20654 --header | --heade | --head | --hea )
20656 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20657 ac_need_defaults=false;;
20658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20659 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20662 # This is an error.
20663 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20664 Try \`$0 --help' for more information." >&5
20665 echo "$as_me: error: unrecognized option: $1
20666 Try \`$0 --help' for more information." >&2;}
20667 { (exit 1); exit 1; }; } ;;
20669 *) ac_config_targets="$ac_config_targets $1" ;;
20675 ac_configure_extra_args=
20677 if $ac_cs_silent; then
20679 ac_configure_extra_args="$ac_configure_extra_args --silent"
20683 cat >>$CONFIG_STATUS <<_ACEOF
20684 if \$ac_cs_recheck; then
20685 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20686 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20695 cat >>$CONFIG_STATUS <<\_ACEOF
20696 for ac_config_target in $ac_config_targets
20698 case "$ac_config_target" in
20699 # Handling of arguments.
20700 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20701 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20702 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20703 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20704 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20705 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20706 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20707 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20708 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20709 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20710 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20711 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20712 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20713 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20714 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20715 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20716 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20717 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20718 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20719 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20720 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20721 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20722 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20723 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20724 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20725 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20726 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20727 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20728 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20729 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20730 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20731 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20732 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20733 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20734 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20735 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20736 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20737 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20738 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20739 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20740 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20741 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20742 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20743 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20744 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20745 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20746 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20747 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20748 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20749 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20750 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20751 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20752 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20753 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20754 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20755 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20756 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20757 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20758 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20759 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20760 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20761 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20762 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20763 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20764 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20765 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20766 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20767 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20768 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20769 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20770 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20771 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20772 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20773 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20774 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20775 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20776 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20777 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20778 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20779 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20780 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20781 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20782 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20783 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20784 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20785 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20786 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20787 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20788 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20789 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20790 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20791 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20792 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20793 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20794 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20795 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20796 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20797 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20798 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20799 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20800 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20801 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20802 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20803 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20804 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20805 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20806 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20807 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20808 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20809 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20810 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20811 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20812 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20813 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20814 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20815 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20816 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20817 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20818 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20819 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20820 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20821 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20822 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20823 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20824 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20825 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20826 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20827 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20828 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20829 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20830 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20831 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20832 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20833 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20834 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20835 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20836 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20837 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20838 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20839 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20840 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20841 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20842 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20843 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20844 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20845 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20846 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20847 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20848 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20849 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20850 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20851 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20852 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20853 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20854 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20855 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20856 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20857 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20858 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20859 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20860 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20861 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20862 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20863 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20864 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20865 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20866 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20867 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20868 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20869 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20870 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20871 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20872 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20873 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20874 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20875 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20876 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20877 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20878 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20879 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20880 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20881 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20882 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20883 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20884 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20885 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20886 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20887 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20888 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20889 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20890 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20891 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20892 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20893 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20894 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20895 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20896 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20897 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20898 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20899 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20900 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20901 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20902 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20903 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20904 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20905 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20906 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20907 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20908 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20909 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20910 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20911 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20912 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20913 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20914 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20915 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20916 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20917 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20918 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20919 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20920 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20921 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20922 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20923 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20924 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20925 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20926 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20927 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20928 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20929 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20930 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20931 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20932 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20933 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20934 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20935 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20936 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20937 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20938 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20939 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20940 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20941 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20942 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20943 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20944 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20945 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20946 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20947 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20948 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20949 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20950 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20951 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20952 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20953 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20954 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20955 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20956 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20957 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20958 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20959 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20960 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20961 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20962 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
20963 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20964 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20965 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20966 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20967 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20968 { (exit 1); exit 1; }; };;
20972 # If the user did not use the arguments to specify the items to instantiate,
20973 # then the envvar interface is used. Set only those that are not.
20974 # We use the long form for the default assignment because of an extremely
20975 # bizarre bug on SunOS 4.1.3.
20976 if $ac_need_defaults; then
20977 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20978 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20979 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20982 # Have a temporary directory for convenience. Make it in the build tree
20983 # simply because there is no reason to put it here, and in addition,
20984 # creating and moving files from /tmp can sometimes cause problems.
20985 # Create a temporary directory, and hook for its removal unless debugging.
20988 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20989 trap '{ (exit 1); exit 1; }' 1 2 13 15
20992 # Create a (secure) tmp directory for tmp files.
20995 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20996 test -n "$tmp" && test -d "$tmp"
20999 tmp=./confstat$$-$RANDOM
21000 (umask 077 && mkdir $tmp)
21003 echo "$me: cannot create a temporary directory in ." >&2
21004 { (exit 1); exit 1; }
21009 cat >>$CONFIG_STATUS <<_ACEOF
21012 # CONFIG_FILES section.
21015 # No need to generate the scripts if there are no CONFIG_FILES.
21016 # This happens for instance when ./config.status config.h
21017 if test -n "\$CONFIG_FILES"; then
21018 # Protect against being on the right side of a sed subst in config.status.
21019 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21020 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21021 s,@SHELL@,$SHELL,;t t
21022 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21023 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21024 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21025 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21026 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21027 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21028 s,@exec_prefix@,$exec_prefix,;t t
21029 s,@prefix@,$prefix,;t t
21030 s,@program_transform_name@,$program_transform_name,;t t
21031 s,@bindir@,$bindir,;t t
21032 s,@sbindir@,$sbindir,;t t
21033 s,@libexecdir@,$libexecdir,;t t
21034 s,@datadir@,$datadir,;t t
21035 s,@sysconfdir@,$sysconfdir,;t t
21036 s,@sharedstatedir@,$sharedstatedir,;t t
21037 s,@localstatedir@,$localstatedir,;t t
21038 s,@libdir@,$libdir,;t t
21039 s,@includedir@,$includedir,;t t
21040 s,@oldincludedir@,$oldincludedir,;t t
21041 s,@infodir@,$infodir,;t t
21042 s,@mandir@,$mandir,;t t
21043 s,@build_alias@,$build_alias,;t t
21044 s,@host_alias@,$host_alias,;t t
21045 s,@target_alias@,$target_alias,;t t
21046 s,@DEFS@,$DEFS,;t t
21047 s,@ECHO_C@,$ECHO_C,;t t
21048 s,@ECHO_N@,$ECHO_N,;t t
21049 s,@ECHO_T@,$ECHO_T,;t t
21050 s,@LIBS@,$LIBS,;t t
21051 s,@WIN16_FILES@,$WIN16_FILES,;t t
21052 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21053 s,@DLLDEFS@,$DLLDEFS,;t t
21054 s,@build@,$build,;t t
21055 s,@build_cpu@,$build_cpu,;t t
21056 s,@build_vendor@,$build_vendor,;t t
21057 s,@build_os@,$build_os,;t t
21058 s,@host@,$host,;t t
21059 s,@host_cpu@,$host_cpu,;t t
21060 s,@host_vendor@,$host_vendor,;t t
21061 s,@host_os@,$host_os,;t t
21062 s,@SET_MAKE@,$SET_MAKE,;t t
21064 s,@CFLAGS@,$CFLAGS,;t t
21065 s,@LDFLAGS@,$LDFLAGS,;t t
21066 s,@CPPFLAGS@,$CPPFLAGS,;t t
21067 s,@ac_ct_CC@,$ac_ct_CC,;t t
21068 s,@EXEEXT@,$EXEEXT,;t t
21069 s,@OBJEXT@,$OBJEXT,;t t
21071 s,@CXXFLAGS@,$CXXFLAGS,;t t
21072 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21073 s,@CPPBIN@,$CPPBIN,;t t
21074 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21075 s,@TOOLSDIR@,$TOOLSDIR,;t t
21077 s,@X_CFLAGS@,$X_CFLAGS,;t t
21078 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21079 s,@X_LIBS@,$X_LIBS,;t t
21080 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21082 s,@LEXLIB@,$LEXLIB,;t t
21083 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21084 s,@XLEX@,$XLEX,;t t
21085 s,@BISON@,$BISON,;t t
21087 s,@ac_ct_AS@,$ac_ct_AS,;t t
21089 s,@ac_ct_LD@,$ac_ct_LD,;t t
21091 s,@ac_ct_AR@,$ac_ct_AR,;t t
21092 s,@RANLIB@,$RANLIB,;t t
21093 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21094 s,@STRIP@,$STRIP,;t t
21095 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21096 s,@WINDRES@,$WINDRES,;t t
21097 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21098 s,@LN_S@,$LN_S,;t t
21100 s,@EGREP@,$EGREP,;t t
21101 s,@LDCONFIG@,$LDCONFIG,;t t
21102 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21103 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21104 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21105 s,@LINT@,$LINT,;t t
21106 s,@LINTFLAGS@,$LINTFLAGS,;t t
21107 s,@DB2HTML@,$DB2HTML,;t t
21108 s,@DB2PDF@,$DB2PDF,;t t
21109 s,@DB2PS@,$DB2PS,;t t
21110 s,@DB2TXT@,$DB2TXT,;t t
21111 s,@FONTFORGE@,$FONTFORGE,;t t
21112 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21113 s,@XLIB@,$XLIB,;t t
21114 s,@XFILES@,$XFILES,;t t
21115 s,@OPENGLFILES@,$OPENGLFILES,;t t
21116 s,@GLU32FILES@,$GLU32FILES,;t t
21117 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21118 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21119 s,@GLUT32FILES@,$GLUT32FILES,;t t
21120 s,@NASLIBS@,$NASLIBS,;t t
21121 s,@CURSESLIBS@,$CURSESLIBS,;t t
21122 s,@sane_devel@,$sane_devel,;t t
21123 s,@SANELIBS@,$SANELIBS,;t t
21124 s,@SANEINCL@,$SANEINCL,;t t
21125 s,@ICULIBS@,$ICULIBS,;t t
21126 s,@ft_devel@,$ft_devel,;t t
21127 s,@ft_devel2@,$ft_devel2,;t t
21128 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21129 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21130 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21131 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21132 s,@ARTSLIBS@,$ARTSLIBS,;t t
21133 s,@ARTSINCL@,$ARTSINCL,;t t
21134 s,@ALSALIBS@,$ALSALIBS,;t t
21135 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21136 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21137 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21138 s,@DLLEXT@,$DLLEXT,;t t
21139 s,@DLLFLAGS@,$DLLFLAGS,;t t
21140 s,@DLLIBS@,$DLLIBS,;t t
21141 s,@LDSHARED@,$LDSHARED,;t t
21142 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21143 s,@LIBEXT@,$LIBEXT,;t t
21144 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21145 s,@DLLTOOL@,$DLLTOOL,;t t
21146 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21147 s,@DLLWRAP@,$DLLWRAP,;t t
21148 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21149 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21150 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21151 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21152 s,@IOKITLIB@,$IOKITLIB,;t t
21153 s,@CROSSTEST@,$CROSSTEST,;t t
21154 s,@CROSSCC@,$CROSSCC,;t t
21155 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21156 s,@LDPATH@,$LDPATH,;t t
21157 s,@CRTLIBS@,$CRTLIBS,;t t
21158 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21159 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21160 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21162 s,@ALLOCA@,$ALLOCA,;t t
21163 s,@LIBOBJS@,$LIBOBJS,;t t
21164 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21165 /@MAKE_RULES@/r $MAKE_RULES
21166 s,@MAKE_RULES@,,;t t
21167 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21168 s,@MAKE_DLL_RULES@,,;t t
21169 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21170 s,@MAKE_TEST_RULES@,,;t t
21171 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21172 s,@MAKE_LIB_RULES@,,;t t
21173 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21174 s,@MAKE_PROG_RULES@,,;t t
21179 cat >>$CONFIG_STATUS <<\_ACEOF
21180 # Split the substitutions into bite-sized pieces for seds with
21181 # small command number limits, like on Digital OSF/1 and HP-UX.
21182 ac_max_sed_lines=48
21183 ac_sed_frag=1 # Number of current file.
21184 ac_beg=1 # First line for current file.
21185 ac_end=$ac_max_sed_lines # Line after last line for current file.
21188 while $ac_more_lines; do
21189 if test $ac_beg -gt 1; then
21190 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21192 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21194 if test ! -s $tmp/subs.frag; then
21195 ac_more_lines=false
21197 # The purpose of the label and of the branching condition is to
21198 # speed up the sed processing (if there are no `@' at all, there
21199 # is no need to browse any of the substitutions).
21200 # These are the two extra sed commands mentioned above.
21202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21203 if test -z "$ac_sed_cmds"; then
21204 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21206 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21208 ac_sed_frag=`expr $ac_sed_frag + 1`
21210 ac_end=`expr $ac_end + $ac_max_sed_lines`
21213 if test -z "$ac_sed_cmds"; then
21216 fi # test -n "$CONFIG_FILES"
21219 cat >>$CONFIG_STATUS <<\_ACEOF
21220 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21221 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21223 - | *:- | *:-:* ) # input from stdin
21225 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21226 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21227 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21228 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21229 * ) ac_file_in=$ac_file.in ;;
21232 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21233 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21235 X"$ac_file" : 'X\(//\)[^/]' \| \
21236 X"$ac_file" : 'X\(//\)$' \| \
21237 X"$ac_file" : 'X\(/\)' \| \
21238 . : '\(.\)' 2>/dev/null ||
21240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21242 /^X\(\/\/\)$/{ s//\1/; q; }
21243 /^X\(\/\).*/{ s//\1/; q; }
21245 { if $as_mkdir_p; then
21250 while test ! -d "$as_dir"; do
21251 as_dirs="$as_dir $as_dirs"
21252 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21254 X"$as_dir" : 'X\(//\)[^/]' \| \
21255 X"$as_dir" : 'X\(//\)$' \| \
21256 X"$as_dir" : 'X\(/\)' \| \
21257 . : '\(.\)' 2>/dev/null ||
21259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21261 /^X\(\/\/\)$/{ s//\1/; q; }
21262 /^X\(\/\).*/{ s//\1/; q; }
21265 test ! -n "$as_dirs" || mkdir $as_dirs
21266 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21267 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21268 { (exit 1); exit 1; }; }; }
21272 if test "$ac_dir" != .; then
21273 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21274 # A "../" for each directory in $ac_dir_suffix.
21275 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21277 ac_dir_suffix= ac_top_builddir=
21281 .) # No --srcdir option. We are building in place.
21283 if test -z "$ac_top_builddir"; then
21286 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21288 [\\/]* | ?:[\\/]* ) # Absolute path.
21289 ac_srcdir=$srcdir$ac_dir_suffix;
21290 ac_top_srcdir=$srcdir ;;
21291 *) # Relative path.
21292 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21293 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21296 # Do not use `cd foo && pwd` to compute absolute paths, because
21297 # the directories may not exist.
21299 .) ac_abs_builddir="$ac_dir";;
21302 .) ac_abs_builddir=`pwd`;;
21303 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21304 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21307 case $ac_abs_builddir in
21308 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21310 case ${ac_top_builddir}. in
21311 .) ac_abs_top_builddir=$ac_abs_builddir;;
21312 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21313 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21316 case $ac_abs_builddir in
21317 .) ac_abs_srcdir=$ac_srcdir;;
21320 .) ac_abs_srcdir=$ac_abs_builddir;;
21321 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21322 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21325 case $ac_abs_builddir in
21326 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21328 case $ac_top_srcdir in
21329 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21330 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21331 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21337 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21338 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21341 # Let's still pretend it is `configure' which instantiates (i.e., don't
21342 # use $as_me), people would be surprised to read:
21343 # /* config.h. Generated by config.status. */
21344 if test x"$ac_file" = x-; then
21347 configure_input="$ac_file. "
21349 configure_input=$configure_input"Generated from `echo $ac_file_in |
21350 sed 's,.*/,,'` by configure."
21352 # First look for the input files in the build tree, otherwise in the
21354 ac_file_inputs=`IFS=:
21355 for f in $ac_file_in; do
21357 -) echo $tmp/stdin ;;
21359 # Absolute (can't be DOS-style, as IFS=:)
21360 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21361 echo "$as_me: error: cannot find input file: $f" >&2;}
21362 { (exit 1); exit 1; }; }
21365 if test -f "$f"; then
21368 elif test -f "$srcdir/$f"; then
21373 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21374 echo "$as_me: error: cannot find input file: $f" >&2;}
21375 { (exit 1); exit 1; }; }
21378 done` || { (exit 1); exit 1; }
21380 if test x"$ac_file" != x-; then
21381 { echo "$as_me:$LINENO: creating $ac_file" >&5
21382 echo "$as_me: creating $ac_file" >&6;}
21386 cat >>$CONFIG_STATUS <<_ACEOF
21390 cat >>$CONFIG_STATUS <<\_ACEOF
21392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21393 s,@configure_input@,$configure_input,;t t
21394 s,@srcdir@,$ac_srcdir,;t t
21395 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21396 s,@top_srcdir@,$ac_top_srcdir,;t t
21397 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21398 s,@builddir@,$ac_builddir,;t t
21399 s,@abs_builddir@,$ac_abs_builddir,;t t
21400 s,@top_builddir@,$ac_top_builddir,;t t
21401 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21402 s,@INSTALL@,$ac_INSTALL,;t t
21403 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21405 if test x"$ac_file" != x-; then
21406 mv $tmp/out $ac_file
21414 cat >>$CONFIG_STATUS <<\_ACEOF
21417 # CONFIG_HEADER section.
21420 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21421 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21423 # ac_d sets the value in "#define NAME VALUE" lines.
21424 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21425 ac_dB='[ ].*$,\1#\2'
21428 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21429 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21430 ac_uB='$,\1#\2define\3'
21434 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21435 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21437 - | *:- | *:-:* ) # input from stdin
21439 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21440 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21441 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21442 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21443 * ) ac_file_in=$ac_file.in ;;
21446 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21447 echo "$as_me: creating $ac_file" >&6;}
21449 # First look for the input files in the build tree, otherwise in the
21451 ac_file_inputs=`IFS=:
21452 for f in $ac_file_in; do
21454 -) echo $tmp/stdin ;;
21456 # Absolute (can't be DOS-style, as IFS=:)
21457 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21458 echo "$as_me: error: cannot find input file: $f" >&2;}
21459 { (exit 1); exit 1; }; }
21460 # Do quote $f, to prevent DOS paths from being IFS'd.
21463 if test -f "$f"; then
21466 elif test -f "$srcdir/$f"; then
21471 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21472 echo "$as_me: error: cannot find input file: $f" >&2;}
21473 { (exit 1); exit 1; }; }
21476 done` || { (exit 1); exit 1; }
21477 # Remove the trailing spaces.
21478 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21482 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21483 # `conftest.undefs', that substitutes the proper values into
21484 # config.h.in to produce config.h. The first handles `#define'
21485 # templates, and the second `#undef' templates.
21486 # And first: Protect against being on the right side of a sed subst in
21487 # config.status. Protect against being in an unquoted here document
21488 # in config.status.
21489 rm -f conftest.defines conftest.undefs
21490 # Using a here document instead of a string reduces the quoting nightmare.
21491 # Putting comments in sed scripts is not portable.
21493 # `end' is used to avoid that the second main sed command (meant for
21494 # 0-ary CPP macros) applies to n-ary macro definitions.
21495 # See the Autoconf documentation for `clear'.
21496 cat >confdef2sed.sed <<\_ACEOF
21501 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21503 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21506 # If some macros were called several times there might be several times
21507 # the same #defines, which is useless. Nevertheless, we may not want to
21508 # sort them, since we want the *last* AC-DEFINE to be honored.
21509 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21510 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21511 rm -f confdef2sed.sed
21513 # This sed command replaces #undef with comments. This is necessary, for
21514 # example, in the case of _POSIX_SOURCE, which is predefined and required
21515 # on some systems where configure will not decide to define it.
21516 cat >>conftest.undefs <<\_ACEOF
21517 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21520 # Break up conftest.defines because some shells have a limit on the size
21521 # of here documents, and old seds have small limits too (100 cmds).
21522 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21523 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21524 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21525 echo ' :' >>$CONFIG_STATUS
21526 rm -f conftest.tail
21527 while grep . conftest.defines >/dev/null
21529 # Write a limited-size here document to $tmp/defines.sed.
21530 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21531 # Speed up: don't consider the non `#define' lines.
21532 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21533 # Work around the forget-to-reset-the-flag bug.
21534 echo 't clr' >>$CONFIG_STATUS
21535 echo ': clr' >>$CONFIG_STATUS
21536 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21538 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21540 mv $tmp/out $tmp/in
21542 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21543 rm -f conftest.defines
21544 mv conftest.tail conftest.defines
21546 rm -f conftest.defines
21547 echo ' fi # grep' >>$CONFIG_STATUS
21548 echo >>$CONFIG_STATUS
21550 # Break up conftest.undefs because some shells have a limit on the size
21551 # of here documents, and old seds have small limits too (100 cmds).
21552 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21553 rm -f conftest.tail
21554 while grep . conftest.undefs >/dev/null
21556 # Write a limited-size here document to $tmp/undefs.sed.
21557 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21558 # Speed up: don't consider the non `#undef'
21559 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21560 # Work around the forget-to-reset-the-flag bug.
21561 echo 't clr' >>$CONFIG_STATUS
21562 echo ': clr' >>$CONFIG_STATUS
21563 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21565 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21567 mv $tmp/out $tmp/in
21569 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21570 rm -f conftest.undefs
21571 mv conftest.tail conftest.undefs
21573 rm -f conftest.undefs
21575 cat >>$CONFIG_STATUS <<\_ACEOF
21576 # Let's still pretend it is `configure' which instantiates (i.e., don't
21577 # use $as_me), people would be surprised to read:
21578 # /* config.h. Generated by config.status. */
21579 if test x"$ac_file" = x-; then
21580 echo "/* Generated by configure. */" >$tmp/config.h
21582 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21584 cat $tmp/in >>$tmp/config.h
21586 if test x"$ac_file" != x-; then
21587 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21588 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21589 echo "$as_me: $ac_file is unchanged" >&6;}
21591 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21593 X"$ac_file" : 'X\(//\)[^/]' \| \
21594 X"$ac_file" : 'X\(//\)$' \| \
21595 X"$ac_file" : 'X\(/\)' \| \
21596 . : '\(.\)' 2>/dev/null ||
21598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21599 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21600 /^X\(\/\/\)$/{ s//\1/; q; }
21601 /^X\(\/\).*/{ s//\1/; q; }
21603 { if $as_mkdir_p; then
21608 while test ! -d "$as_dir"; do
21609 as_dirs="$as_dir $as_dirs"
21610 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21611 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21612 X"$as_dir" : 'X\(//\)[^/]' \| \
21613 X"$as_dir" : 'X\(//\)$' \| \
21614 X"$as_dir" : 'X\(/\)' \| \
21615 . : '\(.\)' 2>/dev/null ||
21617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21618 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21619 /^X\(\/\/\)$/{ s//\1/; q; }
21620 /^X\(\/\).*/{ s//\1/; q; }
21623 test ! -n "$as_dirs" || mkdir $as_dirs
21624 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21625 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21626 { (exit 1); exit 1; }; }; }
21629 mv $tmp/config.h $ac_file
21633 rm -f $tmp/config.h
21637 cat >>$CONFIG_STATUS <<\_ACEOF
21640 # CONFIG_COMMANDS section.
21642 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21643 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21644 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21645 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21646 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21647 X"$ac_dest" : 'X\(//\)[^/]' \| \
21648 X"$ac_dest" : 'X\(//\)$' \| \
21649 X"$ac_dest" : 'X\(/\)' \| \
21650 . : '\(.\)' 2>/dev/null ||
21652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21653 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21654 /^X\(\/\/\)$/{ s//\1/; q; }
21655 /^X\(\/\).*/{ s//\1/; q; }
21657 { if $as_mkdir_p; then
21662 while test ! -d "$as_dir"; do
21663 as_dirs="$as_dir $as_dirs"
21664 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21666 X"$as_dir" : 'X\(//\)[^/]' \| \
21667 X"$as_dir" : 'X\(//\)$' \| \
21668 X"$as_dir" : 'X\(/\)' \| \
21669 . : '\(.\)' 2>/dev/null ||
21671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21672 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21673 /^X\(\/\/\)$/{ s//\1/; q; }
21674 /^X\(\/\).*/{ s//\1/; q; }
21677 test ! -n "$as_dirs" || mkdir $as_dirs
21678 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21679 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21680 { (exit 1); exit 1; }; }; }
21684 if test "$ac_dir" != .; then
21685 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21686 # A "../" for each directory in $ac_dir_suffix.
21687 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21689 ac_dir_suffix= ac_top_builddir=
21693 .) # No --srcdir option. We are building in place.
21695 if test -z "$ac_top_builddir"; then
21698 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21700 [\\/]* | ?:[\\/]* ) # Absolute path.
21701 ac_srcdir=$srcdir$ac_dir_suffix;
21702 ac_top_srcdir=$srcdir ;;
21703 *) # Relative path.
21704 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21705 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21708 # Do not use `cd foo && pwd` to compute absolute paths, because
21709 # the directories may not exist.
21711 .) ac_abs_builddir="$ac_dir";;
21714 .) ac_abs_builddir=`pwd`;;
21715 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21716 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21719 case $ac_abs_builddir in
21720 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21722 case ${ac_top_builddir}. in
21723 .) ac_abs_top_builddir=$ac_abs_builddir;;
21724 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21725 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21728 case $ac_abs_builddir in
21729 .) ac_abs_srcdir=$ac_srcdir;;
21732 .) ac_abs_srcdir=$ac_abs_builddir;;
21733 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21734 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21737 case $ac_abs_builddir in
21738 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21740 case $ac_top_srcdir in
21741 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21742 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21743 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21748 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21749 echo "$as_me: executing $ac_dest commands" >&6;}
21751 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21752 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21753 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21754 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21755 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21756 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21757 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21758 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21759 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21760 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21761 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21762 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21763 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21764 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21765 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21766 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21767 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21768 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21769 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21770 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21771 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21772 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21773 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21774 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21775 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21776 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21777 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
21778 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
21779 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21780 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21781 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21782 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21787 cat >>$CONFIG_STATUS <<\_ACEOF
21789 { (exit 0); exit 0; }
21791 chmod +x $CONFIG_STATUS
21792 ac_clean_files=$ac_clean_files_save
21795 # configure is writing to config.log, and then calls config.status.
21796 # config.status does its own redirection, appending to config.log.
21797 # Unfortunately, on DOS this fails, as config.log is still kept open
21798 # by configure, so config.status won't be able to write to it; its
21799 # output is simply discarded. So we exec the FD to /dev/null,
21800 # effectively closing config.log, so it can be properly (re)opened and
21801 # appended to by config.status. When coming back to configure, we
21802 # need to make the FD available again.
21803 if test "$no_create" != yes; then
21805 ac_config_status_args=
21806 test "$silent" = yes &&
21807 ac_config_status_args="$ac_config_status_args --quiet"
21809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21812 # would make configure fail if this is the last instruction.
21813 $ac_cs_success || { (exit 1); exit 1; }
21817 if test "$have_x" = "no"
21820 echo "*** Warning: X development files not found. Wine will be built without"
21821 echo "*** X support, which currently does not work, and would probably not be"
21822 echo "*** what you want anyway. You will need to install devel packages of"
21823 echo "*** Xlib/Xfree86 at the very least."
21826 if test "$wine_cv_opengl_version_OK" = "no"
21829 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21830 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21833 if test "$wine_cv_msg_freetype" = "yes"
21836 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21837 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21838 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21839 echo "*** enable Wine to use TrueType fonts."
21843 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."