2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050310.
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='20050310'
273 PACKAGE_STRING='Wine 20050310'
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 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 20050310 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 20050310:";;
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 20050310
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 20050310, 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"
1495 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1496 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1497 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1498 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 cat >conftest.make <<\_ACEOF
1503 @echo 'ac_maketemp="$(MAKE)"'
1505 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1506 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1507 if test -n "$ac_maketemp"; then
1508 eval ac_cv_prog_make_${ac_make}_set=yes
1510 eval ac_cv_prog_make_${ac_make}_set=no
1514 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1515 echo "$as_me:$LINENO: result: yes" >&5
1516 echo "${ECHO_T}yes" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1521 SET_MAKE="MAKE=${MAKE-make}"
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1529 if test -n "$ac_tool_prefix"; then
1530 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1531 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1532 echo "$as_me:$LINENO: checking for $ac_word" >&5
1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534 if test "${ac_cv_prog_CC+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 if test -n "$CC"; then
1538 ac_cv_prog_CC="$CC" # Let the user override the test.
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1544 test -z "$as_dir" && as_dir=.
1545 for ac_exec_ext in '' $ac_executable_extensions; do
1546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1557 if test -n "$CC"; then
1558 echo "$as_me:$LINENO: result: $CC" >&5
1559 echo "${ECHO_T}$CC" >&6
1561 echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1566 if test -z "$ac_cv_prog_CC"; then
1568 # Extract the first word of "gcc", so it can be a program name with args.
1569 set dummy gcc; ac_word=$2
1570 echo "$as_me:$LINENO: checking for $ac_word" >&5
1571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 if test -n "$ac_ct_CC"; then
1576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 test -z "$as_dir" && as_dir=.
1583 for ac_exec_ext in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585 ac_cv_prog_ac_ct_CC="gcc"
1586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1595 if test -n "$ac_ct_CC"; then
1596 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1597 echo "${ECHO_T}$ac_ct_CC" >&6
1599 echo "$as_me:$LINENO: result: no" >&5
1600 echo "${ECHO_T}no" >&6
1608 if test -z "$CC"; then
1609 if test -n "$ac_tool_prefix"; then
1610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1611 set dummy ${ac_tool_prefix}cc; ac_word=$2
1612 echo "$as_me:$LINENO: checking for $ac_word" >&5
1613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1614 if test "${ac_cv_prog_CC+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 if test -n "$CC"; then
1618 ac_cv_prog_CC="$CC" # Let the user override the test.
1620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1624 test -z "$as_dir" && as_dir=.
1625 for ac_exec_ext in '' $ac_executable_extensions; do
1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1627 ac_cv_prog_CC="${ac_tool_prefix}cc"
1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1637 if test -n "$CC"; then
1638 echo "$as_me:$LINENO: result: $CC" >&5
1639 echo "${ECHO_T}$CC" >&6
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1646 if test -z "$ac_cv_prog_CC"; then
1648 # Extract the first word of "cc", so it can be a program name with args.
1649 set dummy cc; ac_word=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$ac_ct_CC"; then
1656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_ac_ct_CC="cc"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1675 if test -n "$ac_ct_CC"; then
1676 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1677 echo "${ECHO_T}$ac_ct_CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1689 if test -z "$CC"; then
1690 # Extract the first word of "cc", so it can be a program name with args.
1691 set dummy cc; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$CC"; then
1698 ac_cv_prog_CC="$CC" # Let the user override the test.
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 for ac_exec_ext in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1709 ac_prog_rejected=yes
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 if test $ac_prog_rejected = yes; then
1720 # We found a bogon in the path, so make sure we never use it.
1721 set dummy $ac_cv_prog_CC
1723 if test $# != 0; then
1724 # We chose a different compiler from the bogus one.
1725 # However, it has the same basename, so the bogon will be chosen
1726 # first if we set CC to just the basename; use the full file name.
1728 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1734 if test -n "$CC"; then
1735 echo "$as_me:$LINENO: result: $CC" >&5
1736 echo "${ECHO_T}$CC" >&6
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1743 if test -z "$CC"; then
1744 if test -n "$ac_tool_prefix"; then
1747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_CC+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 if test -n "$CC"; then
1755 ac_cv_prog_CC="$CC" # Let the user override the test.
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 if test -n "$CC"; then
1775 echo "$as_me:$LINENO: result: $CC" >&5
1776 echo "${ECHO_T}$CC" >&6
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$CC" && break
1785 if test -z "$CC"; then
1789 # Extract the first word of "$ac_prog", so it can be a program name with args.
1790 set dummy $ac_prog; ac_word=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 if test -n "$ac_ct_CC"; then
1797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir=.
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806 ac_cv_prog_ac_ct_CC="$ac_prog"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1824 test -n "$ac_ct_CC" && break
1833 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1834 See \`config.log' for more details." >&5
1835 echo "$as_me: error: no acceptable C compiler found in \$PATH
1836 See \`config.log' for more details." >&2;}
1837 { (exit 1); exit 1; }; }
1839 # Provide some information about the compiler.
1840 echo "$as_me:$LINENO:" \
1841 "checking for C compiler version" >&5
1842 ac_compiler=`set X $ac_compile; echo $2`
1843 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1844 (eval $ac_compiler --version </dev/null >&5) 2>&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }
1848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1849 (eval $ac_compiler -v </dev/null >&5) 2>&5
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }
1853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1854 (eval $ac_compiler -V </dev/null >&5) 2>&5
1856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857 (exit $ac_status); }
1859 cat >conftest.$ac_ext <<_ACEOF
1862 cat confdefs.h >>conftest.$ac_ext
1863 cat >>conftest.$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1874 ac_clean_files_save=$ac_clean_files
1875 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1876 # Try to create an executable without -o first, disregard a.out.
1877 # It will help us diagnose broken compilers, and finding out an intuition
1879 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1880 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1881 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1883 (eval $ac_link_default) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # Find the output, starting from the most likely. This scheme is
1888 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1891 # Be careful to initialize this variable, since it used to be cached.
1892 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1894 # b.out is created by i960 compilers.
1895 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1897 test -f "$ac_file" || continue
1899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1902 # This is the source file.
1905 # We found the default executable, but exeext='' is most
1909 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1910 # FIXME: I believe we export ac_cv_exeext for Libtool,
1911 # but it would be cool to find out if it's true. Does anybody
1912 # maintain Libtool? --akim.
1920 echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1923 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1924 See \`config.log' for more details." >&5
1925 echo "$as_me: error: C compiler cannot create executables
1926 See \`config.log' for more details." >&2;}
1927 { (exit 77); exit 77; }; }
1930 ac_exeext=$ac_cv_exeext
1931 echo "$as_me:$LINENO: result: $ac_file" >&5
1932 echo "${ECHO_T}$ac_file" >&6
1934 # Check the compiler produces executables we can run. If not, either
1935 # the compiler is broken, or we cross compile.
1936 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1939 # If not cross compiling, check that we can run a simple program.
1940 if test "$cross_compiling" != yes; then
1941 if { ac_try='./$ac_file'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; }; then
1949 if test "$cross_compiling" = maybe; then
1952 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1953 If you meant to cross compile, use \`--host'.
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot run C compiled programs.
1956 If you meant to cross compile, use \`--host'.
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1962 echo "$as_me:$LINENO: result: yes" >&5
1963 echo "${ECHO_T}yes" >&6
1965 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1966 ac_clean_files=$ac_clean_files_save
1967 # Check the compiler produces executables we can run. If not, either
1968 # the compiler is broken, or we cross compile.
1969 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1970 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1971 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1972 echo "${ECHO_T}$cross_compiling" >&6
1974 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1975 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1977 (eval $ac_link) 2>&5
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); }; then
1981 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1982 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1983 # work properly (i.e., refer to `conftest.exe'), while it won't with
1985 for ac_file in conftest.exe conftest conftest.*; do
1986 test -f "$ac_file" || continue
1988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1996 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1997 See \`config.log' for more details." >&5
1998 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1999 See \`config.log' for more details." >&2;}
2000 { (exit 1); exit 1; }; }
2003 rm -f conftest$ac_cv_exeext
2004 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2005 echo "${ECHO_T}$ac_cv_exeext" >&6
2007 rm -f conftest.$ac_ext
2008 EXEEXT=$ac_cv_exeext
2010 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2011 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2012 if test "${ac_cv_objext+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.$ac_ext <<_ACEOF
2018 cat confdefs.h >>conftest.$ac_ext
2019 cat >>conftest.$ac_ext <<_ACEOF
2020 /* end confdefs.h. */
2030 rm -f conftest.o conftest.obj
2031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2032 (eval $ac_compile) 2>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; then
2036 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2039 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2044 echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2048 See \`config.log' for more details." >&5
2049 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2050 See \`config.log' for more details." >&2;}
2051 { (exit 1); exit 1; }; }
2054 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2056 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2057 echo "${ECHO_T}$ac_cv_objext" >&6
2058 OBJEXT=$ac_cv_objext
2060 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2061 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2062 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 cat >conftest.$ac_ext <<_ACEOF
2068 cat confdefs.h >>conftest.$ac_ext
2069 cat >>conftest.$ac_ext <<_ACEOF
2070 /* end confdefs.h. */
2083 rm -f conftest.$ac_objext
2084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2085 (eval $ac_compile) 2>conftest.er1
2087 grep -v '^ *+' conftest.er1 >conftest.err
2089 cat conftest.err >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); } &&
2092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; } &&
2098 { ac_try='test -s conftest.$ac_objext'
2099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }; }; then
2106 echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.$ac_ext >&5
2111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2115 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2116 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2117 GCC=`test $ac_compiler_gnu = yes && echo yes`
2118 ac_test_CFLAGS=${CFLAGS+set}
2119 ac_save_CFLAGS=$CFLAGS
2121 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2122 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2123 if test "${ac_cv_prog_cc_g+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 cat >conftest.$ac_ext <<_ACEOF
2129 cat confdefs.h >>conftest.$ac_ext
2130 cat >>conftest.$ac_ext <<_ACEOF
2131 /* end confdefs.h. */
2141 rm -f conftest.$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2145 grep -v '^ *+' conftest.er1 >conftest.err
2147 cat conftest.err >&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; } &&
2156 { ac_try='test -s conftest.$ac_objext'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.$ac_ext >&5
2169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2171 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2172 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2173 if test "$ac_test_CFLAGS" = set; then
2174 CFLAGS=$ac_save_CFLAGS
2175 elif test $ac_cv_prog_cc_g = yes; then
2176 if test "$GCC" = yes; then
2182 if test "$GCC" = yes; then
2188 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2189 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2190 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 ac_cv_prog_cc_stdc=no
2195 cat >conftest.$ac_ext <<_ACEOF
2198 cat confdefs.h >>conftest.$ac_ext
2199 cat >>conftest.$ac_ext <<_ACEOF
2200 /* end confdefs.h. */
2203 #include <sys/types.h>
2204 #include <sys/stat.h>
2205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2206 struct buf { int x; };
2207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2208 static char *e (p, i)
2214 static char *f (char * (*g) (char **, int), char **p, ...)
2219 s = g (p, va_arg (v,int));
2224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2225 function prototypes and stuff, but not '\xHH' hex character constants.
2226 These don't provoke an error unfortunately, instead are silently treated
2227 as 'x'. The following induces an error, until -std1 is added to get
2228 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2229 array size at least. It's necessary to write '\x00'==0 to get something
2230 that's true only with -std1. */
2231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2233 int test (int i, double x);
2234 struct s1 {int (*f) (int a);};
2235 struct s2 {int (*f) (double a);};
2236 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2242 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2247 # Don't try gcc -ansi; that turns off useful extensions and
2248 # breaks some systems' header files.
2249 # AIX -qlanglvl=ansi
2250 # Ultrix and OSF/1 -std1
2251 # HP-UX 10.20 and later -Ae
2252 # HP-UX older versions -Aa -D_HPUX_SOURCE
2253 # SVR4 -Xc -D__EXTENSIONS__
2254 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2256 CC="$ac_save_CC $ac_arg"
2257 rm -f conftest.$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>conftest.er1
2261 grep -v '^ *+' conftest.er1 >conftest.err
2263 cat conftest.err >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); } &&
2266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; } &&
2272 { ac_try='test -s conftest.$ac_objext'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; }; then
2278 ac_cv_prog_cc_stdc=$ac_arg
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.$ac_ext >&5
2285 rm -f conftest.err conftest.$ac_objext
2287 rm -f conftest.$ac_ext conftest.$ac_objext
2292 case "x$ac_cv_prog_cc_stdc" in
2294 echo "$as_me:$LINENO: result: none needed" >&5
2295 echo "${ECHO_T}none needed" >&6 ;;
2297 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2298 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2299 CC="$CC $ac_cv_prog_cc_stdc" ;;
2302 # Some people use a C++ compiler to compile C. Since we use `exit',
2303 # in C++ we need to declare it. In case someone uses the same compiler
2304 # for both compiling C and C++ we need to have the C++ compiler decide
2305 # the declaration of exit, since it's the most demanding environment.
2306 cat >conftest.$ac_ext <<_ACEOF
2311 rm -f conftest.$ac_objext
2312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 (eval $ac_compile) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1 >conftest.err
2317 cat conftest.err >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2332 for ac_declaration in \
2334 'extern "C" void std::exit (int) throw (); using std::exit;' \
2335 'extern "C" void std::exit (int); using std::exit;' \
2336 'extern "C" void exit (int) throw ();' \
2337 'extern "C" void exit (int);' \
2340 cat >conftest.$ac_ext <<_ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2356 rm -f conftest.$ac_objext
2357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358 (eval $ac_compile) 2>conftest.er1
2360 grep -v '^ *+' conftest.er1 >conftest.err
2362 cat conftest.err >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } &&
2365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; } &&
2371 { ac_try='test -s conftest.$ac_objext'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2379 echo "$as_me: failed program was:" >&5
2380 sed 's/^/| /' conftest.$ac_ext >&5
2384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2385 cat >conftest.$ac_ext <<_ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 rm -f conftest.$ac_objext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402 (eval $ac_compile) 2>conftest.er1
2404 grep -v '^ *+' conftest.er1 >conftest.err
2406 cat conftest.err >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2430 if test -n "$ac_declaration"; then
2431 echo '#ifdef __cplusplus' >>confdefs.h
2432 echo $ac_declaration >>confdefs.h
2433 echo '#endif' >>confdefs.h
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2449 ac_cpp='$CXXCPP $CPPFLAGS'
2450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2453 if test -n "$ac_tool_prefix"; then
2454 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2458 echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2460 if test "${ac_cv_prog_CXX+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 if test -n "$CXX"; then
2464 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir=.
2471 for ac_exec_ext in '' $ac_executable_extensions; do
2472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2473 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 if test -n "$CXX"; then
2484 echo "$as_me:$LINENO: result: $CXX" >&5
2485 echo "${ECHO_T}$CXX" >&6
2487 echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6
2491 test -n "$CXX" && break
2494 if test -z "$CXX"; then
2496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy $ac_prog; ac_word=$2
2500 echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2502 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$ac_ct_CXX"; then
2506 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_ac_ct_CXX="$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2525 if test -n "$ac_ct_CXX"; then
2526 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2527 echo "${ECHO_T}$ac_ct_CXX" >&6
2529 echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6
2533 test -n "$ac_ct_CXX" && break
2535 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2541 # Provide some information about the compiler.
2542 echo "$as_me:$LINENO:" \
2543 "checking for C++ compiler version" >&5
2544 ac_compiler=`set X $ac_compile; echo $2`
2545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2546 (eval $ac_compiler --version </dev/null >&5) 2>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }
2550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2551 (eval $ac_compiler -v </dev/null >&5) 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }
2555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2556 (eval $ac_compiler -V </dev/null >&5) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }
2561 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 cat >conftest.$ac_ext <<_ACEOF
2569 cat confdefs.h >>conftest.$ac_ext
2570 cat >>conftest.$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2584 rm -f conftest.$ac_objext
2585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2588 grep -v '^ *+' conftest.er1 >conftest.err
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; } &&
2599 { ac_try='test -s conftest.$ac_objext'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; }; then
2607 echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2613 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2616 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2617 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2618 GXX=`test $ac_compiler_gnu = yes && echo yes`
2619 ac_test_CXXFLAGS=${CXXFLAGS+set}
2620 ac_save_CXXFLAGS=$CXXFLAGS
2622 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2623 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2624 if test "${ac_cv_prog_cxx_g+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 cat >conftest.$ac_ext <<_ACEOF
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2642 rm -f conftest.$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>conftest.er1
2646 grep -v '^ *+' conftest.er1 >conftest.err
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; } &&
2657 { ac_try='test -s conftest.$ac_objext'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; }; then
2663 ac_cv_prog_cxx_g=yes
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2674 if test "$ac_test_CXXFLAGS" = set; then
2675 CXXFLAGS=$ac_save_CXXFLAGS
2676 elif test $ac_cv_prog_cxx_g = yes; then
2677 if test "$GXX" = yes; then
2683 if test "$GXX" = yes; then
2689 for ac_declaration in \
2691 'extern "C" void std::exit (int) throw (); using std::exit;' \
2692 'extern "C" void std::exit (int); using std::exit;' \
2693 'extern "C" void exit (int) throw ();' \
2694 'extern "C" void exit (int);' \
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2713 rm -f conftest.$ac_objext
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715 (eval $ac_compile) 2>conftest.er1
2717 grep -v '^ *+' conftest.er1 >conftest.err
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } &&
2722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2742 cat >conftest.$ac_ext <<_ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1 >conftest.err
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2787 if test -n "$ac_declaration"; then
2788 echo '#ifdef __cplusplus' >>confdefs.h
2789 echo $ac_declaration >>confdefs.h
2790 echo '#endif' >>confdefs.h
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2801 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2802 echo "$as_me:$LINENO: checking for $ac_word" >&5
2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2804 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 if test -n "$CPPBIN"; then
2808 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 CPPBIN=$ac_cv_prog_CPPBIN
2827 if test -n "$CPPBIN"; then
2828 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2829 echo "${ECHO_T}$CPPBIN" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2836 if test -z "$ac_cv_prog_CPPBIN"; then
2837 ac_ct_CPPBIN=$CPPBIN
2838 # Extract the first word of "cpp", so it can be a program name with args.
2839 set dummy cpp; ac_word=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2842 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 if test -n "$ac_ct_CPPBIN"; then
2846 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_CPPBIN="cpp"
2856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2865 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2866 if test -n "$ac_ct_CPPBIN"; then
2867 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2868 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 CPPBIN=$ac_ct_CPPBIN
2876 CPPBIN="$ac_cv_prog_CPPBIN"
2880 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2881 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2882 if test "${wine_cv_toolsdir+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -z "$with_wine_tools"; then
2886 if test "$cross_compiling" = "yes"; then
2887 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2888 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2889 { (exit 1); exit 1; }; }
2891 wine_cv_toolsdir="\$(TOPOBJDIR)"
2893 elif test -d "$with_wine_tools/tools/winebuild"; then
2894 case $with_wine_tools in
2895 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2896 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2899 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2900 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2901 { (exit 1); exit 1; }; }
2904 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2905 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2906 TOOLSDIR=$wine_cv_toolsdir
2911 ac_cpp='$CPP $CPPFLAGS'
2912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2915 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2916 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2917 # On Suns, sometimes $CPP names a directory.
2918 if test -n "$CPP" && test -d "$CPP"; then
2921 if test -z "$CPP"; then
2922 if test "${ac_cv_prog_CPP+set}" = set; then
2923 echo $ECHO_N "(cached) $ECHO_C" >&6
2925 # Double quotes because CPP needs to be expanded
2926 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2929 for ac_c_preproc_warn_flag in '' yes
2931 # Use a header file that comes with gcc, so configuring glibc
2932 # with a fresh cross-compiler works.
2933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2934 # <limits.h> exists even on freestanding compilers.
2935 # On the NeXT, cc -E runs the code through the compiler's parser,
2936 # not just through cpp. "Syntax error" is here to catch this case.
2937 cat >conftest.$ac_ext <<_ACEOF
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2944 # include <limits.h>
2946 # include <assert.h>
2950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1 >conftest.err
2955 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } >/dev/null; then
2958 if test -s conftest.err; then
2959 ac_cpp_err=$ac_c_preproc_warn_flag
2960 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2967 if test -z "$ac_cpp_err"; then
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 # Broken: fails on valid input.
2976 rm -f conftest.err conftest.$ac_ext
2978 # OK, works on sane cases. Now check whether non-existent headers
2979 # can be detected and how.
2980 cat >conftest.$ac_ext <<_ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2986 #include <ac_nonexistent.h>
2988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } >/dev/null; then
2996 if test -s conftest.err; then
2997 ac_cpp_err=$ac_c_preproc_warn_flag
2998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3005 if test -z "$ac_cpp_err"; then
3006 # Broken: success on invalid input.
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3012 # Passes both tests.
3016 rm -f conftest.err conftest.$ac_ext
3019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3020 rm -f conftest.err conftest.$ac_ext
3021 if $ac_preproc_ok; then
3033 echo "$as_me:$LINENO: result: $CPP" >&5
3034 echo "${ECHO_T}$CPP" >&6
3036 for ac_c_preproc_warn_flag in '' yes
3038 # Use a header file that comes with gcc, so configuring glibc
3039 # with a fresh cross-compiler works.
3040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3041 # <limits.h> exists even on freestanding compilers.
3042 # On the NeXT, cc -E runs the code through the compiler's parser,
3043 # not just through cpp. "Syntax error" is here to catch this case.
3044 cat >conftest.$ac_ext <<_ACEOF
3047 cat confdefs.h >>conftest.$ac_ext
3048 cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3051 # include <limits.h>
3053 # include <assert.h>
3057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3060 grep -v '^ *+' conftest.er1 >conftest.err
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } >/dev/null; then
3065 if test -s conftest.err; then
3066 ac_cpp_err=$ac_c_preproc_warn_flag
3067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3074 if test -z "$ac_cpp_err"; then
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 # Broken: fails on valid input.
3083 rm -f conftest.err conftest.$ac_ext
3085 # OK, works on sane cases. Now check whether non-existent headers
3086 # can be detected and how.
3087 cat >conftest.$ac_ext <<_ACEOF
3090 cat confdefs.h >>conftest.$ac_ext
3091 cat >>conftest.$ac_ext <<_ACEOF
3092 /* end confdefs.h. */
3093 #include <ac_nonexistent.h>
3095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3098 grep -v '^ *+' conftest.er1 >conftest.err
3100 cat conftest.err >&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } >/dev/null; then
3103 if test -s conftest.err; then
3104 ac_cpp_err=$ac_c_preproc_warn_flag
3105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3112 if test -z "$ac_cpp_err"; then
3113 # Broken: success on invalid input.
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 # Passes both tests.
3123 rm -f conftest.err conftest.$ac_ext
3126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3127 rm -f conftest.err conftest.$ac_ext
3128 if $ac_preproc_ok; then
3131 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3132 See \`config.log' for more details." >&5
3133 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3134 See \`config.log' for more details." >&2;}
3135 { (exit 1); exit 1; }; }
3139 ac_cpp='$CPP $CPPFLAGS'
3140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 if test "x$ac_path_x_has_been_run" != xyes; then
3147 echo "$as_me:$LINENO: checking for X" >&5
3148 echo $ECHO_N "checking for X... $ECHO_C" >&6
3150 ac_path_x_has_been_run=yes
3152 # Check whether --with-x or --without-x was given.
3153 if test "${with_x+set}" = set; then
3157 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3158 if test "x$with_x" = xno; then
3159 # The user explicitly disabled X.
3162 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3163 # Both variables are already set.
3166 if test "${ac_cv_have_x+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 # One or both of the vars are not set, and there is no cached value.
3170 ac_x_includes=no ac_x_libraries=no
3172 if mkdir conftest.dir; then
3174 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3175 cat >Imakefile <<'_ACEOF'
3177 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3179 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3180 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3181 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3182 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3183 for ac_extension in a so sl; do
3184 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3185 test -f $ac_im_libdir/libX11.$ac_extension; then
3186 ac_im_usrlibdir=$ac_im_libdir; break
3189 # Screen out bogus values from the imake configuration. They are
3190 # bogus both because they are the default anyway, and because
3191 # using them would break gcc on systems where it needs fixed includes.
3192 case $ac_im_incroot in
3194 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3196 case $ac_im_usrlibdir in
3198 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3205 # Standard set of common directories for X headers.
3206 # Check X11 before X11Rn because it is often a symlink to the current release.
3218 /usr/local/X11/include
3219 /usr/local/X11R6/include
3220 /usr/local/X11R5/include
3221 /usr/local/X11R4/include
3223 /usr/local/include/X11
3224 /usr/local/include/X11R6
3225 /usr/local/include/X11R5
3226 /usr/local/include/X11R4
3230 /usr/XFree86/include/X11
3234 /usr/unsupported/include
3236 /usr/local/x11r5/include
3237 /usr/lpp/Xamples/include
3239 /usr/openwin/include
3240 /usr/openwin/share/include'
3242 if test "$ac_x_includes" = no; then
3243 # Guess where to find include files, by looking for a specified header file.
3244 # First, try using that file with no special directory specified.
3245 cat >conftest.$ac_ext <<_ACEOF
3248 cat confdefs.h >>conftest.$ac_ext
3249 cat >>conftest.$ac_ext <<_ACEOF
3250 /* end confdefs.h. */
3251 #include <X11/Intrinsic.h>
3253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev/null; then
3261 if test -s conftest.err; then
3262 ac_cpp_err=$ac_c_preproc_warn_flag
3263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3270 if test -z "$ac_cpp_err"; then
3271 # We can compile using X headers with no special include directory.
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3277 for ac_dir in $ac_x_header_dirs; do
3278 if test -r "$ac_dir/X11/Intrinsic.h"; then
3279 ac_x_includes=$ac_dir
3284 rm -f conftest.err conftest.$ac_ext
3285 fi # $ac_x_includes = no
3287 if test "$ac_x_libraries" = no; then
3288 # Check for the libraries.
3289 # See if we find them without any special options.
3290 # Don't add to $LIBS permanently.
3293 cat >conftest.$ac_ext <<_ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 #include <X11/Intrinsic.h>
3308 rm -f conftest.$ac_objext conftest$ac_exeext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3310 (eval $ac_link) 2>conftest.er1
3312 grep -v '^ *+' conftest.er1 >conftest.err
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; } &&
3323 { ac_try='test -s conftest$ac_exeext'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; }; then
3330 # We can link X programs with no special library path.
3333 echo "$as_me: failed program was:" >&5
3334 sed 's/^/| /' conftest.$ac_ext >&5
3337 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3339 # Don't even attempt the hair of trying to link an X program!
3340 for ac_extension in a so sl; do
3341 if test -r $ac_dir/libXt.$ac_extension; then
3342 ac_x_libraries=$ac_dir
3348 rm -f conftest.err conftest.$ac_objext \
3349 conftest$ac_exeext conftest.$ac_ext
3350 fi # $ac_x_libraries = no
3352 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3353 # Didn't find X anywhere. Cache the known absence of X.
3354 ac_cv_have_x="have_x=no"
3356 # Record where we found X for the cache.
3357 ac_cv_have_x="have_x=yes \
3358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3363 eval "$ac_cv_have_x"
3366 if test "$have_x" != yes; then
3367 echo "$as_me:$LINENO: result: $have_x" >&5
3368 echo "${ECHO_T}$have_x" >&6
3371 # If each of the values was on the command line, it overrides each guess.
3372 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3373 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3374 # Update the cache value to reflect the command line values.
3375 ac_cv_have_x="have_x=yes \
3376 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3377 # It might be that x_includes is empty (headers are found in the
3378 # standard search path. Then output the corresponding message
3379 ac_out_x_includes=$x_includes
3380 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3381 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3382 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3386 if test "$no_x" = yes; then
3387 # Not all programs may use this symbol, but it does not hurt to define it.
3389 cat >>confdefs.h <<\_ACEOF
3390 #define X_DISPLAY_MISSING 1
3393 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3395 if test -n "$x_includes"; then
3396 X_CFLAGS="$X_CFLAGS -I$x_includes"
3399 # It would also be nice to do this for all -L options, not just this one.
3400 if test -n "$x_libraries"; then
3401 X_LIBS="$X_LIBS -L$x_libraries"
3402 # For Solaris; some versions of Sun CC require a space after -R and
3403 # others require no space. Words are not sufficient . . . .
3404 case `(uname -sr) 2>/dev/null` in
3406 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3407 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3408 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3409 cat >conftest.$ac_ext <<_ACEOF
3412 cat confdefs.h >>conftest.$ac_ext
3413 cat >>conftest.$ac_ext <<_ACEOF
3414 /* end confdefs.h. */
3424 rm -f conftest.$ac_objext conftest$ac_exeext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3426 (eval $ac_link) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; } &&
3439 { ac_try='test -s conftest$ac_exeext'
3440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); }; }; then
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3452 rm -f conftest.err conftest.$ac_objext \
3453 conftest$ac_exeext conftest.$ac_ext
3454 if test $ac_R_nospace = yes; then
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3457 X_LIBS="$X_LIBS -R$x_libraries"
3459 LIBS="$ac_xsave_LIBS -R $x_libraries"
3460 cat >conftest.$ac_ext <<_ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3475 rm -f conftest.$ac_objext conftest$ac_exeext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3477 (eval $ac_link) 2>conftest.er1
3479 grep -v '^ *+' conftest.er1 >conftest.err
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); }; } &&
3490 { ac_try='test -s conftest$ac_exeext'
3491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); }; }; then
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3503 rm -f conftest.err conftest.$ac_objext \
3504 conftest$ac_exeext conftest.$ac_ext
3505 if test $ac_R_space = yes; then
3506 echo "$as_me:$LINENO: result: yes" >&5
3507 echo "${ECHO_T}yes" >&6
3508 X_LIBS="$X_LIBS -R $x_libraries"
3510 echo "$as_me:$LINENO: result: neither works" >&5
3511 echo "${ECHO_T}neither works" >&6
3518 # Check for system-dependent libraries X programs must link with.
3519 # Do this before checking for the system-independent R6 libraries
3520 # (-lICE), since we may need -lsocket or whatever for X linking.
3522 if test "$ISC" = yes; then
3523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3525 # Martyn Johnson says this is needed for Ultrix, if the X
3526 # libraries were built with DECnet support. And Karl Berry says
3527 # the Alpha needs dnet_stub (dnet does not exist).
3528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3529 cat >conftest.$ac_ext <<_ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3536 /* Override any gcc2 internal prototype to avoid an error. */
3540 /* We use char because int might match the return type of a gcc2
3541 builtin and then its argument prototype would still apply. */
3542 char XOpenDisplay ();
3551 rm -f conftest.$ac_objext conftest$ac_exeext
3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3553 (eval $ac_link) 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } &&
3560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; } &&
3566 { ac_try='test -s conftest$ac_exeext'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; }; then
3574 echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.$ac_ext >&5
3577 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3578 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3579 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 ac_check_lib_save_LIBS=$LIBS
3584 cat >conftest.$ac_ext <<_ACEOF
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 /* Override any gcc2 internal prototype to avoid an error. */
3595 /* We use char because int might match the return type of a gcc2
3596 builtin and then its argument prototype would still apply. */
3606 rm -f conftest.$ac_objext conftest$ac_exeext
3607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3608 (eval $ac_link) 2>conftest.er1
3610 grep -v '^ *+' conftest.er1 >conftest.err
3612 cat conftest.err >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); } &&
3615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; } &&
3621 { ac_try='test -s conftest$ac_exeext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_cv_lib_dnet_dnet_ntoa=yes
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_cv_lib_dnet_dnet_ntoa=no
3634 rm -f conftest.err conftest.$ac_objext \
3635 conftest$ac_exeext conftest.$ac_ext
3636 LIBS=$ac_check_lib_save_LIBS
3638 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3639 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3640 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3641 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3644 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3645 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3646 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3647 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 ac_check_lib_save_LIBS=$LIBS
3651 LIBS="-ldnet_stub $LIBS"
3652 cat >conftest.$ac_ext <<_ACEOF
3655 cat confdefs.h >>conftest.$ac_ext
3656 cat >>conftest.$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3659 /* Override any gcc2 internal prototype to avoid an error. */
3663 /* We use char because int might match the return type of a gcc2
3664 builtin and then its argument prototype would still apply. */
3674 rm -f conftest.$ac_objext conftest$ac_exeext
3675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3676 (eval $ac_link) 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } &&
3683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } &&
3689 { ac_try='test -s conftest$ac_exeext'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; }; then
3695 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 ac_cv_lib_dnet_stub_dnet_ntoa=no
3702 rm -f conftest.err conftest.$ac_objext \
3703 conftest$ac_exeext conftest.$ac_ext
3704 LIBS=$ac_check_lib_save_LIBS
3706 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3707 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3708 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3709 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3714 rm -f conftest.err conftest.$ac_objext \
3715 conftest$ac_exeext conftest.$ac_ext
3716 LIBS="$ac_xsave_LIBS"
3718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3719 # to get the SysV transport functions.
3720 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3722 # The nsl library prevents programs from opening the X display
3723 # on Irix 5.2, according to T.E. Dickey.
3724 # The functions gethostbyname, getservbyname, and inet_addr are
3725 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3726 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3727 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3728 if test "${ac_cv_func_gethostbyname+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3739 #define gethostbyname innocuous_gethostbyname
3741 /* System header to define __stub macros and hopefully few prototypes,
3742 which can conflict with char gethostbyname (); below.
3743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3744 <limits.h> exists even on freestanding compilers. */
3747 # include <limits.h>
3749 # include <assert.h>
3752 #undef gethostbyname
3754 /* Override any gcc2 internal prototype to avoid an error. */
3759 /* We use char because int might match the return type of a gcc2
3760 builtin and then its argument prototype would still apply. */
3761 char gethostbyname ();
3762 /* The GNU C library defines this for functions which it implements
3763 to always fail with ENOSYS. Some functions are actually named
3764 something starting with __ and the normal name is an alias. */
3765 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3768 char (*f) () = gethostbyname;
3777 return f != gethostbyname;
3782 rm -f conftest.$ac_objext conftest$ac_exeext
3783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3784 (eval $ac_link) 2>conftest.er1
3786 grep -v '^ *+' conftest.er1 >conftest.err
3788 cat conftest.err >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); } &&
3791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; } &&
3797 { ac_try='test -s conftest$ac_exeext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 ac_cv_func_gethostbyname=yes
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3808 ac_cv_func_gethostbyname=no
3810 rm -f conftest.err conftest.$ac_objext \
3811 conftest$ac_exeext conftest.$ac_ext
3813 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3814 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3816 if test $ac_cv_func_gethostbyname = no; then
3817 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3818 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3819 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 ac_check_lib_save_LIBS=$LIBS
3824 cat >conftest.$ac_ext <<_ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3831 /* Override any gcc2 internal prototype to avoid an error. */
3835 /* We use char because int might match the return type of a gcc2
3836 builtin and then its argument prototype would still apply. */
3837 char gethostbyname ();
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3848 (eval $ac_link) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1 >conftest.err
3852 cat conftest.err >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 ac_cv_lib_nsl_gethostbyname=yes
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3872 ac_cv_lib_nsl_gethostbyname=no
3874 rm -f conftest.err conftest.$ac_objext \
3875 conftest$ac_exeext conftest.$ac_ext
3876 LIBS=$ac_check_lib_save_LIBS
3878 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3879 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3880 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3881 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3884 if test $ac_cv_lib_nsl_gethostbyname = no; then
3885 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3886 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3887 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 ac_check_lib_save_LIBS=$LIBS
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3899 /* Override any gcc2 internal prototype to avoid an error. */
3903 /* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905 char gethostbyname ();
3914 rm -f conftest.$ac_objext conftest$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>conftest.er1
3918 grep -v '^ *+' conftest.er1 >conftest.err
3920 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; } &&
3929 { ac_try='test -s conftest$ac_exeext'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; }; then
3935 ac_cv_lib_bsd_gethostbyname=yes
3937 echo "$as_me: failed program was:" >&5
3938 sed 's/^/| /' conftest.$ac_ext >&5
3940 ac_cv_lib_bsd_gethostbyname=no
3942 rm -f conftest.err conftest.$ac_objext \
3943 conftest$ac_exeext conftest.$ac_ext
3944 LIBS=$ac_check_lib_save_LIBS
3946 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3947 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3948 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3949 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3955 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3956 # socket/setsockopt and other routines are undefined under SCO ODT
3957 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3958 # on later versions), says Simon Leinen: it contains gethostby*
3959 # variants that don't use the name server (or something). -lsocket
3960 # must be given before -lnsl if both are needed. We assume that
3961 # if connect needs -lnsl, so does gethostbyname.
3962 echo "$as_me:$LINENO: checking for connect" >&5
3963 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3964 if test "${ac_cv_func_connect+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3975 #define connect innocuous_connect
3977 /* System header to define __stub macros and hopefully few prototypes,
3978 which can conflict with char connect (); below.
3979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3980 <limits.h> exists even on freestanding compilers. */
3983 # include <limits.h>
3985 # include <assert.h>
3990 /* Override any gcc2 internal prototype to avoid an error. */
3995 /* We use char because int might match the return type of a gcc2
3996 builtin and then its argument prototype would still apply. */
3998 /* The GNU C library defines this for functions which it implements
3999 to always fail with ENOSYS. Some functions are actually named
4000 something starting with __ and the normal name is an alias. */
4001 #if defined (__stub_connect) || defined (__stub___connect)
4004 char (*f) () = connect;
4013 return f != connect;
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4020 (eval $ac_link) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1 >conftest.err
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try='test -s conftest$ac_exeext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4039 ac_cv_func_connect=yes
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 ac_cv_func_connect=no
4046 rm -f conftest.err conftest.$ac_objext \
4047 conftest$ac_exeext conftest.$ac_ext
4049 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4050 echo "${ECHO_T}$ac_cv_func_connect" >&6
4052 if test $ac_cv_func_connect = no; then
4053 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4054 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4055 if test "${ac_cv_lib_socket_connect+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 ac_check_lib_save_LIBS=$LIBS
4059 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4060 cat >conftest.$ac_ext <<_ACEOF
4063 cat confdefs.h >>conftest.$ac_ext
4064 cat >>conftest.$ac_ext <<_ACEOF
4065 /* end confdefs.h. */
4067 /* Override any gcc2 internal prototype to avoid an error. */
4071 /* We use char because int might match the return type of a gcc2
4072 builtin and then its argument prototype would still apply. */
4082 rm -f conftest.$ac_objext conftest$ac_exeext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4084 (eval $ac_link) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; } &&
4097 { ac_try='test -s conftest$ac_exeext'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; }; then
4103 ac_cv_lib_socket_connect=yes
4105 echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 ac_cv_lib_socket_connect=no
4110 rm -f conftest.err conftest.$ac_objext \
4111 conftest$ac_exeext conftest.$ac_ext
4112 LIBS=$ac_check_lib_save_LIBS
4114 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4115 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4116 if test $ac_cv_lib_socket_connect = yes; then
4117 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4122 # Guillermo Gomez says -lposix is necessary on A/UX.
4123 echo "$as_me:$LINENO: checking for remove" >&5
4124 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4125 if test "${ac_cv_func_remove+set}" = set; then
4126 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 cat >conftest.$ac_ext <<_ACEOF
4131 cat confdefs.h >>conftest.$ac_ext
4132 cat >>conftest.$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4134 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4136 #define remove innocuous_remove
4138 /* System header to define __stub macros and hopefully few prototypes,
4139 which can conflict with char remove (); below.
4140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4141 <limits.h> exists even on freestanding compilers. */
4144 # include <limits.h>
4146 # include <assert.h>
4151 /* Override any gcc2 internal prototype to avoid an error. */
4156 /* We use char because int might match the return type of a gcc2
4157 builtin and then its argument prototype would still apply. */
4159 /* The GNU C library defines this for functions which it implements
4160 to always fail with ENOSYS. Some functions are actually named
4161 something starting with __ and the normal name is an alias. */
4162 #if defined (__stub_remove) || defined (__stub___remove)
4165 char (*f) () = remove;
4179 rm -f conftest.$ac_objext conftest$ac_exeext
4180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4181 (eval $ac_link) 2>conftest.er1
4183 grep -v '^ *+' conftest.er1 >conftest.err
4185 cat conftest.err >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try='test -s conftest$ac_exeext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_func_remove=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_cv_func_remove=no
4207 rm -f conftest.err conftest.$ac_objext \
4208 conftest$ac_exeext conftest.$ac_ext
4210 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4211 echo "${ECHO_T}$ac_cv_func_remove" >&6
4213 if test $ac_cv_func_remove = no; then
4214 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4215 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4216 if test "${ac_cv_lib_posix_remove+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 ac_check_lib_save_LIBS=$LIBS
4220 LIBS="-lposix $LIBS"
4221 cat >conftest.$ac_ext <<_ACEOF
4224 cat confdefs.h >>conftest.$ac_ext
4225 cat >>conftest.$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4228 /* Override any gcc2 internal prototype to avoid an error. */
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4243 rm -f conftest.$ac_objext conftest$ac_exeext
4244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4245 (eval $ac_link) 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; } &&
4258 { ac_try='test -s conftest$ac_exeext'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; }; then
4264 ac_cv_lib_posix_remove=yes
4266 echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.$ac_ext >&5
4269 ac_cv_lib_posix_remove=no
4271 rm -f conftest.err conftest.$ac_objext \
4272 conftest$ac_exeext conftest.$ac_ext
4273 LIBS=$ac_check_lib_save_LIBS
4275 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4276 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4277 if test $ac_cv_lib_posix_remove = yes; then
4278 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4283 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4284 echo "$as_me:$LINENO: checking for shmat" >&5
4285 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4286 if test "${ac_cv_func_shmat+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 cat >conftest.$ac_ext <<_ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4297 #define shmat innocuous_shmat
4299 /* System header to define __stub macros and hopefully few prototypes,
4300 which can conflict with char shmat (); below.
4301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4302 <limits.h> exists even on freestanding compilers. */
4305 # include <limits.h>
4307 # include <assert.h>
4312 /* Override any gcc2 internal prototype to avoid an error. */
4317 /* We use char because int might match the return type of a gcc2
4318 builtin and then its argument prototype would still apply. */
4320 /* The GNU C library defines this for functions which it implements
4321 to always fail with ENOSYS. Some functions are actually named
4322 something starting with __ and the normal name is an alias. */
4323 #if defined (__stub_shmat) || defined (__stub___shmat)
4326 char (*f) () = shmat;
4340 rm -f conftest.$ac_objext conftest$ac_exeext
4341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4342 (eval $ac_link) 2>conftest.er1
4344 grep -v '^ *+' conftest.er1 >conftest.err
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } &&
4349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; } &&
4355 { ac_try='test -s conftest$ac_exeext'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; }; then
4361 ac_cv_func_shmat=yes
4363 echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4368 rm -f conftest.err conftest.$ac_objext \
4369 conftest$ac_exeext conftest.$ac_ext
4371 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4372 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4374 if test $ac_cv_func_shmat = no; then
4375 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4376 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4377 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 ac_check_lib_save_LIBS=$LIBS
4382 cat >conftest.$ac_ext <<_ACEOF
4385 cat confdefs.h >>conftest.$ac_ext
4386 cat >>conftest.$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4389 /* Override any gcc2 internal prototype to avoid an error. */
4393 /* We use char because int might match the return type of a gcc2
4394 builtin and then its argument prototype would still apply. */
4404 rm -f conftest.$ac_objext conftest$ac_exeext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4406 (eval $ac_link) 2>conftest.er1
4408 grep -v '^ *+' conftest.er1 >conftest.err
4410 cat conftest.err >&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; } &&
4419 { ac_try='test -s conftest$ac_exeext'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; }; then
4425 ac_cv_lib_ipc_shmat=yes
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 ac_cv_lib_ipc_shmat=no
4432 rm -f conftest.err conftest.$ac_objext \
4433 conftest$ac_exeext conftest.$ac_ext
4434 LIBS=$ac_check_lib_save_LIBS
4436 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4437 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4438 if test $ac_cv_lib_ipc_shmat = yes; then
4439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4445 # Check for libraries that X11R6 Xt/Xaw programs need.
4446 ac_save_LDFLAGS=$LDFLAGS
4447 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4448 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4449 # check for ICE first), but we must link in the order -lSM -lICE or
4450 # we get undefined symbols. So assume we have SM if we have ICE.
4451 # These have to be linked with before -lX11, unlike the other
4452 # libraries we check for below, so use a different variable.
4453 # John Interrante, Karl Berry
4454 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4455 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4456 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 ac_check_lib_save_LIBS=$LIBS
4460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4461 cat >conftest.$ac_ext <<_ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4468 /* Override any gcc2 internal prototype to avoid an error. */
4472 /* We use char because int might match the return type of a gcc2
4473 builtin and then its argument prototype would still apply. */
4474 char IceConnectionNumber ();
4478 IceConnectionNumber ();
4483 rm -f conftest.$ac_objext conftest$ac_exeext
4484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4485 (eval $ac_link) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1 >conftest.err
4489 cat conftest.err >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } &&
4492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; } &&
4498 { ac_try='test -s conftest$ac_exeext'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; }; then
4504 ac_cv_lib_ICE_IceConnectionNumber=yes
4506 echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 ac_cv_lib_ICE_IceConnectionNumber=no
4511 rm -f conftest.err conftest.$ac_objext \
4512 conftest$ac_exeext conftest.$ac_ext
4513 LIBS=$ac_check_lib_save_LIBS
4515 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4516 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4517 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4518 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4521 LDFLAGS=$ac_save_LDFLAGS
4525 for ac_prog in flex lex
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy $ac_prog; ac_word=$2
4529 echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4531 if test "${ac_cv_prog_LEX+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if test -n "$LEX"; then
4535 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_LEX="$ac_prog"
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test -n "$LEX"; then
4555 echo "$as_me:$LINENO: result: $LEX" >&5
4556 echo "${ECHO_T}$LEX" >&6
4558 echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6
4562 test -n "$LEX" && break
4564 test -n "$LEX" || LEX=":"
4566 if test -z "$LEXLIB"
4568 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4569 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4570 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 ac_check_lib_save_LIBS=$LIBS
4575 cat >conftest.$ac_ext <<_ACEOF
4578 cat confdefs.h >>conftest.$ac_ext
4579 cat >>conftest.$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Override any gcc2 internal prototype to avoid an error. */
4586 /* We use char because int might match the return type of a gcc2
4587 builtin and then its argument prototype would still apply. */
4597 rm -f conftest.$ac_objext conftest$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>conftest.er1
4601 grep -v '^ *+' conftest.er1 >conftest.err
4603 cat conftest.err >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } &&
4606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; } &&
4612 { ac_try='test -s conftest$ac_exeext'
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; }; then
4618 ac_cv_lib_fl_yywrap=yes
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.$ac_ext >&5
4623 ac_cv_lib_fl_yywrap=no
4625 rm -f conftest.err conftest.$ac_objext \
4626 conftest$ac_exeext conftest.$ac_ext
4627 LIBS=$ac_check_lib_save_LIBS
4629 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4630 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4631 if test $ac_cv_lib_fl_yywrap = yes; then
4634 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4635 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4636 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 ac_check_lib_save_LIBS=$LIBS
4641 cat >conftest.$ac_ext <<_ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4648 /* Override any gcc2 internal prototype to avoid an error. */
4652 /* We use char because int might match the return type of a gcc2
4653 builtin and then its argument prototype would still apply. */
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4665 (eval $ac_link) 2>conftest.er1
4667 grep -v '^ *+' conftest.er1 >conftest.err
4669 cat conftest.err >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } &&
4672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; } &&
4678 { ac_try='test -s conftest$ac_exeext'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4684 ac_cv_lib_l_yywrap=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_cv_lib_l_yywrap=no
4691 rm -f conftest.err conftest.$ac_objext \
4692 conftest$ac_exeext conftest.$ac_ext
4693 LIBS=$ac_check_lib_save_LIBS
4695 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4696 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4697 if test $ac_cv_lib_l_yywrap = yes; then
4705 if test "x$LEX" != "x:"; then
4706 echo "$as_me:$LINENO: checking lex output file root" >&5
4707 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4708 if test "${ac_cv_prog_lex_root+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 # The minimal lex program is just a single line: %%. But some broken lexes
4712 # (Solaris, I think it was) want two %% lines, so accommodate them.
4713 cat >conftest.l <<_ACEOF
4717 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4718 (eval $LEX conftest.l) 2>&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }
4722 if test -f lex.yy.c; then
4723 ac_cv_prog_lex_root=lex.yy
4724 elif test -f lexyy.c; then
4725 ac_cv_prog_lex_root=lexyy
4727 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4728 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4729 { (exit 1); exit 1; }; }
4732 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4733 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4735 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4737 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4738 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4739 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
4742 # POSIX says lex can declare yytext either as a pointer or an array; the
4743 # default is implementation-dependent. Figure out which it is, since
4744 # not all implementations provide the %pointer and %array declarations.
4745 ac_cv_prog_lex_yytext_pointer=no
4746 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4748 LIBS="$LIBS $LEXLIB"
4749 cat >conftest.$ac_ext <<_ACEOF
4750 `cat $LEX_OUTPUT_ROOT.c`
4752 rm -f conftest.$ac_objext conftest$ac_exeext
4753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4754 (eval $ac_link) 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } &&
4761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }; } &&
4767 { ac_try='test -s conftest$ac_exeext'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; }; then
4773 ac_cv_prog_lex_yytext_pointer=yes
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.$ac_ext >&5
4779 rm -f conftest.err conftest.$ac_objext \
4780 conftest$ac_exeext conftest.$ac_ext
4782 rm -f "${LEX_OUTPUT_ROOT}.c"
4785 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4786 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4787 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4789 cat >>confdefs.h <<\_ACEOF
4790 #define YYTEXT_POINTER 1
4797 for ac_prog in $LEX flex lex
4799 # Extract the first word of "$ac_prog", so it can be a program name with args.
4800 set dummy $ac_prog; ac_word=$2
4801 echo "$as_me:$LINENO: checking for $ac_word" >&5
4802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4803 if test "${ac_cv_prog_XLEX+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 if test -n "$XLEX"; then
4807 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 test -z "$as_dir" && as_dir=.
4814 for ac_exec_ext in '' $ac_executable_extensions; do
4815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4816 ac_cv_prog_XLEX="$ac_prog"
4817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 XLEX=$ac_cv_prog_XLEX
4826 if test -n "$XLEX"; then
4827 echo "$as_me:$LINENO: result: $XLEX" >&5
4828 echo "${ECHO_T}$XLEX" >&6
4830 echo "$as_me:$LINENO: result: no" >&5
4831 echo "${ECHO_T}no" >&6
4834 test -n "$XLEX" && break
4836 test -n "$XLEX" || XLEX="none"
4838 if test "$XLEX" = "none"
4840 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4841 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4842 { (exit 1); exit 1; }; }
4845 for ac_prog in bison
4847 # Extract the first word of "$ac_prog", so it can be a program name with args.
4848 set dummy $ac_prog; ac_word=$2
4849 echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4851 if test "${ac_cv_prog_BISON+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 if test -n "$BISON"; then
4855 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_BISON="$ac_prog"
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 BISON=$ac_cv_prog_BISON
4874 if test -n "$BISON"; then
4875 echo "$as_me:$LINENO: result: $BISON" >&5
4876 echo "${ECHO_T}$BISON" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4882 test -n "$BISON" && break
4884 test -n "$BISON" || BISON="none"
4886 if test "$BISON" = "none"
4888 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4889 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4890 { (exit 1); exit 1; }; }
4893 if test -n "$ac_tool_prefix"; then
4894 for ac_prog in gas as
4896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4898 echo "$as_me:$LINENO: checking for $ac_word" >&5
4899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4900 if test "${ac_cv_prog_AS+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 if test -n "$AS"; then
4904 ac_cv_prog_AS="$AS" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 if test -n "$AS"; then
4924 echo "$as_me:$LINENO: result: $AS" >&5
4925 echo "${ECHO_T}$AS" >&6
4927 echo "$as_me:$LINENO: result: no" >&5
4928 echo "${ECHO_T}no" >&6
4931 test -n "$AS" && break
4934 if test -z "$AS"; then
4936 for ac_prog in gas as
4938 # Extract the first word of "$ac_prog", so it can be a program name with args.
4939 set dummy $ac_prog; ac_word=$2
4940 echo "$as_me:$LINENO: checking for $ac_word" >&5
4941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4942 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4943 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 if test -n "$ac_ct_AS"; then
4946 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_AS="$ac_prog"
4956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4965 if test -n "$ac_ct_AS"; then
4966 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4967 echo "${ECHO_T}$ac_ct_AS" >&6
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4973 test -n "$ac_ct_AS" && break
4975 test -n "$ac_ct_AS" || ac_ct_AS="as"
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4982 set dummy ${ac_tool_prefix}ld; ac_word=$2
4983 echo "$as_me:$LINENO: checking for $ac_word" >&5
4984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4985 if test "${ac_cv_prog_LD+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4988 if test -n "$LD"; then
4989 ac_cv_prog_LD="$LD" # Let the user override the test.
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_LD="${ac_tool_prefix}ld"
4999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 if test -n "$LD"; then
5009 echo "$as_me:$LINENO: result: $LD" >&5
5010 echo "${ECHO_T}$LD" >&6
5012 echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6
5017 if test -z "$ac_cv_prog_LD"; then
5019 # Extract the first word of "ld", so it can be a program name with args.
5020 set dummy ld; ac_word=$2
5021 echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5023 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 if test -n "$ac_ct_LD"; then
5027 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_LD="ld"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5046 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5047 if test -n "$ac_ct_LD"; then
5048 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5049 echo "${ECHO_T}$ac_ct_LD" >&6
5051 echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5060 if test -n "$ac_tool_prefix"; then
5061 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5062 set dummy ${ac_tool_prefix}ar; ac_word=$2
5063 echo "$as_me:$LINENO: checking for $ac_word" >&5
5064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5065 if test "${ac_cv_prog_AR+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 if test -n "$AR"; then
5069 ac_cv_prog_AR="$AR" # Let the user override the test.
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_prog_AR="${ac_tool_prefix}ar"
5079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 if test -n "$AR"; then
5089 echo "$as_me:$LINENO: result: $AR" >&5
5090 echo "${ECHO_T}$AR" >&6
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5097 if test -z "$ac_cv_prog_AR"; then
5099 # Extract the first word of "ar", so it can be a program name with args.
5100 set dummy ar; ac_word=$2
5101 echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5103 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 if test -n "$ac_ct_AR"; then
5107 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5116 ac_cv_prog_ac_ct_AR="ar"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5126 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5127 if test -n "$ac_ct_AR"; then
5128 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5129 echo "${ECHO_T}$ac_ct_AR" >&6
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5140 if test -n "$ac_tool_prefix"; then
5141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5143 echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145 if test "${ac_cv_prog_RANLIB+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 if test -n "$RANLIB"; then
5149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 RANLIB=$ac_cv_prog_RANLIB
5168 if test -n "$RANLIB"; then
5169 echo "$as_me:$LINENO: result: $RANLIB" >&5
5170 echo "${ECHO_T}$RANLIB" >&6
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5177 if test -z "$ac_cv_prog_RANLIB"; then
5178 ac_ct_RANLIB=$RANLIB
5179 # Extract the first word of "ranlib", so it can be a program name with args.
5180 set dummy ranlib; ac_word=$2
5181 echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 if test -n "$ac_ct_RANLIB"; then
5187 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_RANLIB="ranlib"
5197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5207 if test -n "$ac_ct_RANLIB"; then
5208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5215 RANLIB=$ac_ct_RANLIB
5217 RANLIB="$ac_cv_prog_RANLIB"
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}strip; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_STRIP+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$STRIP"; then
5229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5247 STRIP=$ac_cv_prog_STRIP
5248 if test -n "$STRIP"; then
5249 echo "$as_me:$LINENO: result: $STRIP" >&5
5250 echo "${ECHO_T}$STRIP" >&6
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5257 if test -z "$ac_cv_prog_STRIP"; then
5259 # Extract the first word of "strip", so it can be a program name with args.
5260 set dummy strip; ac_word=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 if test -n "$ac_ct_STRIP"; then
5267 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_ac_ct_STRIP="strip"
5277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5287 if test -n "$ac_ct_STRIP"; then
5288 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5289 echo "${ECHO_T}$ac_ct_STRIP" >&6
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5297 STRIP="$ac_cv_prog_STRIP"
5300 if test -n "$ac_tool_prefix"; then
5301 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5302 set dummy ${ac_tool_prefix}windres; ac_word=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_prog_WINDRES+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 if test -n "$WINDRES"; then
5309 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 WINDRES=$ac_cv_prog_WINDRES
5328 if test -n "$WINDRES"; then
5329 echo "$as_me:$LINENO: result: $WINDRES" >&5
5330 echo "${ECHO_T}$WINDRES" >&6
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5337 if test -z "$ac_cv_prog_WINDRES"; then
5338 ac_ct_WINDRES=$WINDRES
5339 # Extract the first word of "windres", so it can be a program name with args.
5340 set dummy windres; ac_word=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if test -n "$ac_ct_WINDRES"; then
5347 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_WINDRES="windres"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5366 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5367 if test -n "$ac_ct_WINDRES"; then
5368 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5369 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5375 WINDRES=$ac_ct_WINDRES
5377 WINDRES="$ac_cv_prog_WINDRES"
5380 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5381 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5383 if test "$LN_S" = "ln -s"; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5388 echo "${ECHO_T}no, using $LN_S" >&6
5391 echo "$as_me:$LINENO: checking whether ln works" >&5
5392 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5393 rm -f conf$$ conf$$.file
5395 if ln conf$$.file conf$$ 2>/dev/null; then
5398 echo "$as_me:$LINENO: result: yes" >&5
5399 echo "${ECHO_T}yes" >&6
5403 echo "$as_me:$LINENO: result: no, using $LN" >&5
5404 echo "${ECHO_T}no, using $LN" >&6
5406 rm -f conf$$ conf$$.file
5407 echo "$as_me:$LINENO: checking for egrep" >&5
5408 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5409 if test "${ac_cv_prog_egrep+set}" = set; then
5410 echo $ECHO_N "(cached) $ECHO_C" >&6
5412 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5413 then ac_cv_prog_egrep='grep -E'
5414 else ac_cv_prog_egrep='egrep'
5417 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5418 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5419 EGREP=$ac_cv_prog_egrep
5422 # Extract the first word of "ldconfig", so it can be a program name with args.
5423 set dummy ldconfig; ac_word=$2
5424 echo "$as_me:$LINENO: checking for $ac_word" >&5
5425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5426 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in /sbin /usr/sbin $PATH
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5441 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5452 LDCONFIG=$ac_cv_path_LDCONFIG
5454 if test -n "$LDCONFIG"; then
5455 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5456 echo "${ECHO_T}$LDCONFIG" >&6
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5462 # Find a good install program. We prefer a C program (faster),
5463 # so one script is as good as another. But avoid the broken or
5464 # incompatible versions:
5465 # SysV /etc/install, /usr/sbin/install
5466 # SunOS /usr/etc/install
5467 # IRIX /sbin/install
5469 # AmigaOS /C/install, which installs bootblocks on floppy discs
5470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5473 # OS/2's system install, which has a completely different semantic
5474 # ./install, which can be erroneously created by make from ./install.sh.
5475 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5476 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5477 if test -z "$INSTALL"; then
5478 if test "${ac_cv_path_install+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 test -z "$as_dir" && as_dir=.
5486 # Account for people who put trailing slashes in PATH elements.
5488 ./ | .// | /cC/* | \
5489 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5490 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5493 # OSF1 and SCO ODT 3.0 have their own names for install.
5494 # Don't use installbsd from OSF since it installs stuff as root
5496 for ac_prog in ginstall scoinst install; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5499 if test $ac_prog = install &&
5500 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5501 # AIX install. It has an incompatible calling convention.
5503 elif test $ac_prog = install &&
5504 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5505 # program-specific install script used by HP pwplus--don't use.
5508 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5520 if test "${ac_cv_path_install+set}" = set; then
5521 INSTALL=$ac_cv_path_install
5523 # As a last resort, use the slow shell script. We don't cache a
5524 # path for INSTALL within a source directory, because that will
5525 # break other packages using the cache if that directory is
5526 # removed, or if the path is relative.
5527 INSTALL=$ac_install_sh
5530 echo "$as_me:$LINENO: result: $INSTALL" >&5
5531 echo "${ECHO_T}$INSTALL" >&6
5533 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5534 # It thinks the first close brace ends the variable substitution.
5535 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5537 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5539 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5542 [\\/$]* | ?:[\\/]* ) ;;
5543 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5546 for ac_prog in lclint lint
5548 # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy $ac_prog; ac_word=$2
5550 echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5552 if test "${ac_cv_prog_LINT+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 if test -n "$LINT"; then
5556 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_LINT="$ac_prog"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 LINT=$ac_cv_prog_LINT
5575 if test -n "$LINT"; then
5576 echo "$as_me:$LINENO: result: $LINT" >&5
5577 echo "${ECHO_T}$LINT" >&6
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5583 test -n "$LINT" && break
5586 if test "$LINT" = "lint"
5588 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5593 for ac_prog in docbook2html db2html
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy $ac_prog; ac_word=$2
5597 echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5599 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 if test -n "$DB2HTML"; then
5603 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_DB2HTML="$ac_prog"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 DB2HTML=$ac_cv_prog_DB2HTML
5622 if test -n "$DB2HTML"; then
5623 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5624 echo "${ECHO_T}$DB2HTML" >&6
5626 echo "$as_me:$LINENO: result: no" >&5
5627 echo "${ECHO_T}no" >&6
5630 test -n "$DB2HTML" && break
5632 test -n "$DB2HTML" || DB2HTML="false"
5634 for ac_prog in docbook2pdf db2pdf
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 echo "$as_me:$LINENO: checking for $ac_word" >&5
5639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5640 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 if test -n "$DB2PDF"; then
5644 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_DB2PDF="$ac_prog"
5654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 DB2PDF=$ac_cv_prog_DB2PDF
5663 if test -n "$DB2PDF"; then
5664 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5665 echo "${ECHO_T}$DB2PDF" >&6
5667 echo "$as_me:$LINENO: result: no" >&5
5668 echo "${ECHO_T}no" >&6
5671 test -n "$DB2PDF" && break
5673 test -n "$DB2PDF" || DB2PDF="false"
5675 for ac_prog in docbook2ps db2ps
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy $ac_prog; ac_word=$2
5679 echo "$as_me:$LINENO: checking for $ac_word" >&5
5680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5681 if test "${ac_cv_prog_DB2PS+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 if test -n "$DB2PS"; then
5685 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_DB2PS="$ac_prog"
5695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 DB2PS=$ac_cv_prog_DB2PS
5704 if test -n "$DB2PS"; then
5705 echo "$as_me:$LINENO: result: $DB2PS" >&5
5706 echo "${ECHO_T}$DB2PS" >&6
5708 echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6
5712 test -n "$DB2PS" && break
5714 test -n "$DB2PS" || DB2PS="false"
5716 for ac_prog in docbook2txt db2txt
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy $ac_prog; ac_word=$2
5720 echo "$as_me:$LINENO: checking for $ac_word" >&5
5721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5722 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5723 echo $ECHO_N "(cached) $ECHO_C" >&6
5725 if test -n "$DB2TXT"; then
5726 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_DB2TXT="$ac_prog"
5736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 DB2TXT=$ac_cv_prog_DB2TXT
5745 if test -n "$DB2TXT"; then
5746 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5747 echo "${ECHO_T}$DB2TXT" >&6
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5753 test -n "$DB2TXT" && break
5755 test -n "$DB2TXT" || DB2TXT="false"
5757 for ac_prog in fontforge
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5763 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$FONTFORGE"; then
5767 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_FONTFORGE="$ac_prog"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 FONTFORGE=$ac_cv_prog_FONTFORGE
5786 if test -n "$FONTFORGE"; then
5787 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5788 echo "${ECHO_T}$FONTFORGE" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5794 test -n "$FONTFORGE" && break
5796 test -n "$FONTFORGE" || FONTFORGE="false"
5801 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5802 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5803 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 ac_check_lib_save_LIBS=$LIBS
5808 cat >conftest.$ac_ext <<_ACEOF
5811 cat confdefs.h >>conftest.$ac_ext
5812 cat >>conftest.$ac_ext <<_ACEOF
5813 /* end confdefs.h. */
5815 /* Override any gcc2 internal prototype to avoid an error. */
5819 /* We use char because int might match the return type of a gcc2
5820 builtin and then its argument prototype would still apply. */
5821 char i386_set_ldt ();
5830 rm -f conftest.$ac_objext conftest$ac_exeext
5831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5832 (eval $ac_link) 2>conftest.er1
5834 grep -v '^ *+' conftest.er1 >conftest.err
5836 cat conftest.err >&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); } &&
5839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; } &&
5845 { ac_try='test -s conftest$ac_exeext'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; }; then
5851 ac_cv_lib_i386_i386_set_ldt=yes
5853 echo "$as_me: failed program was:" >&5
5854 sed 's/^/| /' conftest.$ac_ext >&5
5856 ac_cv_lib_i386_i386_set_ldt=no
5858 rm -f conftest.err conftest.$ac_objext \
5859 conftest$ac_exeext conftest.$ac_ext
5860 LIBS=$ac_check_lib_save_LIBS
5862 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5863 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5864 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5865 cat >>confdefs.h <<_ACEOF
5866 #define HAVE_LIBI386 1
5874 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5875 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5876 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 ac_check_lib_save_LIBS=$LIBS
5880 LIBS="-lossaudio $LIBS"
5881 cat >conftest.$ac_ext <<_ACEOF
5884 cat confdefs.h >>conftest.$ac_ext
5885 cat >>conftest.$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5888 /* Override any gcc2 internal prototype to avoid an error. */
5892 /* We use char because int might match the return type of a gcc2
5893 builtin and then its argument prototype would still apply. */
5903 rm -f conftest.$ac_objext conftest$ac_exeext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5905 (eval $ac_link) 2>conftest.er1
5907 grep -v '^ *+' conftest.er1 >conftest.err
5909 cat conftest.err >&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); } &&
5912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; } &&
5918 { ac_try='test -s conftest$ac_exeext'
5919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); }; }; then
5924 ac_cv_lib_ossaudio__oss_ioctl=yes
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.$ac_ext >&5
5929 ac_cv_lib_ossaudio__oss_ioctl=no
5931 rm -f conftest.err conftest.$ac_objext \
5932 conftest$ac_exeext conftest.$ac_ext
5933 LIBS=$ac_check_lib_save_LIBS
5935 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5936 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5937 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5938 cat >>confdefs.h <<_ACEOF
5939 #define HAVE_LIBOSSAUDIO 1
5942 LIBS="-lossaudio $LIBS"
5947 for ac_func in iswalnum
5949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5950 echo "$as_me:$LINENO: checking for $ac_func" >&5
5951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5952 if eval "test \"\${$as_ac_var+set}\" = set"; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5955 cat >conftest.$ac_ext <<_ACEOF
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5963 #define $ac_func innocuous_$ac_func
5965 /* System header to define __stub macros and hopefully few prototypes,
5966 which can conflict with char $ac_func (); below.
5967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5968 <limits.h> exists even on freestanding compilers. */
5971 # include <limits.h>
5973 # include <assert.h>
5978 /* Override any gcc2 internal prototype to avoid an error. */
5983 /* We use char because int might match the return type of a gcc2
5984 builtin and then its argument prototype would still apply. */
5986 /* The GNU C library defines this for functions which it implements
5987 to always fail with ENOSYS. Some functions are actually named
5988 something starting with __ and the normal name is an alias. */
5989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5992 char (*f) () = $ac_func;
6001 return f != $ac_func;
6006 rm -f conftest.$ac_objext conftest$ac_exeext
6007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6008 (eval $ac_link) 2>conftest.er1
6010 grep -v '^ *+' conftest.er1 >conftest.err
6012 cat conftest.err >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } &&
6015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; } &&
6021 { ac_try='test -s conftest$ac_exeext'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; }; then
6027 eval "$as_ac_var=yes"
6029 echo "$as_me: failed program was:" >&5
6030 sed 's/^/| /' conftest.$ac_ext >&5
6032 eval "$as_ac_var=no"
6034 rm -f conftest.err conftest.$ac_objext \
6035 conftest$ac_exeext conftest.$ac_ext
6037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6039 if test `eval echo '${'$as_ac_var'}'` = yes; then
6040 cat >>confdefs.h <<_ACEOF
6041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6046 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6047 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6048 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 ac_check_lib_save_LIBS=$LIBS
6053 cat >conftest.$ac_ext <<_ACEOF
6056 cat confdefs.h >>conftest.$ac_ext
6057 cat >>conftest.$ac_ext <<_ACEOF
6058 /* end confdefs.h. */
6060 /* Override any gcc2 internal prototype to avoid an error. */
6064 /* We use char because int might match the return type of a gcc2
6065 builtin and then its argument prototype would still apply. */
6075 rm -f conftest.$ac_objext conftest$ac_exeext
6076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6077 (eval $ac_link) 2>conftest.er1
6079 grep -v '^ *+' conftest.er1 >conftest.err
6081 cat conftest.err >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); } &&
6084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); }; } &&
6090 { ac_try='test -s conftest$ac_exeext'
6091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); }; }; then
6096 ac_cv_lib_w_iswalnum=yes
6098 echo "$as_me: failed program was:" >&5
6099 sed 's/^/| /' conftest.$ac_ext >&5
6101 ac_cv_lib_w_iswalnum=no
6103 rm -f conftest.err conftest.$ac_objext \
6104 conftest$ac_exeext conftest.$ac_ext
6105 LIBS=$ac_check_lib_save_LIBS
6107 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6108 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6109 if test $ac_cv_lib_w_iswalnum = yes; then
6110 cat >>confdefs.h <<_ACEOF
6122 for ac_func in gethostbyname
6124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6125 echo "$as_me:$LINENO: checking for $ac_func" >&5
6126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6127 if eval "test \"\${$as_ac_var+set}\" = set"; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 cat >conftest.$ac_ext <<_ACEOF
6133 cat confdefs.h >>conftest.$ac_ext
6134 cat >>conftest.$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6138 #define $ac_func innocuous_$ac_func
6140 /* System header to define __stub macros and hopefully few prototypes,
6141 which can conflict with char $ac_func (); below.
6142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6143 <limits.h> exists even on freestanding compilers. */
6146 # include <limits.h>
6148 # include <assert.h>
6153 /* Override any gcc2 internal prototype to avoid an error. */
6158 /* We use char because int might match the return type of a gcc2
6159 builtin and then its argument prototype would still apply. */
6161 /* The GNU C library defines this for functions which it implements
6162 to always fail with ENOSYS. Some functions are actually named
6163 something starting with __ and the normal name is an alias. */
6164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6167 char (*f) () = $ac_func;
6176 return f != $ac_func;
6181 rm -f conftest.$ac_objext conftest$ac_exeext
6182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6183 (eval $ac_link) 2>conftest.er1
6185 grep -v '^ *+' conftest.er1 >conftest.err
6187 cat conftest.err >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } &&
6190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; } &&
6196 { ac_try='test -s conftest$ac_exeext'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; }; then
6202 eval "$as_ac_var=yes"
6204 echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.$ac_ext >&5
6207 eval "$as_ac_var=no"
6209 rm -f conftest.err conftest.$ac_objext \
6210 conftest$ac_exeext conftest.$ac_ext
6212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6214 if test `eval echo '${'$as_ac_var'}'` = yes; then
6215 cat >>confdefs.h <<_ACEOF
6216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6221 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6222 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6223 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 ac_check_lib_save_LIBS=$LIBS
6228 cat >conftest.$ac_ext <<_ACEOF
6231 cat confdefs.h >>conftest.$ac_ext
6232 cat >>conftest.$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6235 /* Override any gcc2 internal prototype to avoid an error. */
6239 /* We use char because int might match the return type of a gcc2
6240 builtin and then its argument prototype would still apply. */
6241 char gethostbyname ();
6250 rm -f conftest.$ac_objext conftest$ac_exeext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6252 (eval $ac_link) 2>conftest.er1
6254 grep -v '^ *+' conftest.er1 >conftest.err
6256 cat conftest.err >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } &&
6259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); }; } &&
6265 { ac_try='test -s conftest$ac_exeext'
6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); }; }; then
6271 ac_cv_lib_nsl_gethostbyname=yes
6273 echo "$as_me: failed program was:" >&5
6274 sed 's/^/| /' conftest.$ac_ext >&5
6276 ac_cv_lib_nsl_gethostbyname=no
6278 rm -f conftest.err conftest.$ac_objext \
6279 conftest$ac_exeext conftest.$ac_ext
6280 LIBS=$ac_check_lib_save_LIBS
6282 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6283 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6284 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6285 cat >>confdefs.h <<_ACEOF
6286 #define HAVE_LIBNSL 1
6297 for ac_func in connect
6299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6300 echo "$as_me:$LINENO: checking for $ac_func" >&5
6301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6302 if eval "test \"\${$as_ac_var+set}\" = set"; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 cat >conftest.$ac_ext <<_ACEOF
6308 cat confdefs.h >>conftest.$ac_ext
6309 cat >>conftest.$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6313 #define $ac_func innocuous_$ac_func
6315 /* System header to define __stub macros and hopefully few prototypes,
6316 which can conflict with char $ac_func (); below.
6317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6318 <limits.h> exists even on freestanding compilers. */
6321 # include <limits.h>
6323 # include <assert.h>
6328 /* Override any gcc2 internal prototype to avoid an error. */
6333 /* We use char because int might match the return type of a gcc2
6334 builtin and then its argument prototype would still apply. */
6336 /* The GNU C library defines this for functions which it implements
6337 to always fail with ENOSYS. Some functions are actually named
6338 something starting with __ and the normal name is an alias. */
6339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6342 char (*f) () = $ac_func;
6351 return f != $ac_func;
6356 rm -f conftest.$ac_objext conftest$ac_exeext
6357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6358 (eval $ac_link) 2>conftest.er1
6360 grep -v '^ *+' conftest.er1 >conftest.err
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } &&
6365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; } &&
6371 { ac_try='test -s conftest$ac_exeext'
6372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); }; }; then
6377 eval "$as_ac_var=yes"
6379 echo "$as_me: failed program was:" >&5
6380 sed 's/^/| /' conftest.$ac_ext >&5
6382 eval "$as_ac_var=no"
6384 rm -f conftest.err conftest.$ac_objext \
6385 conftest$ac_exeext conftest.$ac_ext
6387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6389 if test `eval echo '${'$as_ac_var'}'` = yes; then
6390 cat >>confdefs.h <<_ACEOF
6391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6396 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6397 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6398 if test "${ac_cv_lib_socket_connect+set}" = set; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6401 ac_check_lib_save_LIBS=$LIBS
6402 LIBS="-lsocket $LIBS"
6403 cat >conftest.$ac_ext <<_ACEOF
6406 cat confdefs.h >>conftest.$ac_ext
6407 cat >>conftest.$ac_ext <<_ACEOF
6408 /* end confdefs.h. */
6410 /* Override any gcc2 internal prototype to avoid an error. */
6414 /* We use char because int might match the return type of a gcc2
6415 builtin and then its argument prototype would still apply. */
6425 rm -f conftest.$ac_objext conftest$ac_exeext
6426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6427 (eval $ac_link) 2>conftest.er1
6429 grep -v '^ *+' conftest.er1 >conftest.err
6431 cat conftest.err >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); } &&
6434 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); }; } &&
6440 { ac_try='test -s conftest$ac_exeext'
6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); }; }; then
6446 ac_cv_lib_socket_connect=yes
6448 echo "$as_me: failed program was:" >&5
6449 sed 's/^/| /' conftest.$ac_ext >&5
6451 ac_cv_lib_socket_connect=no
6453 rm -f conftest.err conftest.$ac_objext \
6454 conftest$ac_exeext conftest.$ac_ext
6455 LIBS=$ac_check_lib_save_LIBS
6457 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6458 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6459 if test $ac_cv_lib_socket_connect = yes; then
6460 cat >>confdefs.h <<_ACEOF
6461 #define HAVE_LIBSOCKET 1
6464 LIBS="-lsocket $LIBS"
6472 for ac_func in inet_aton
6474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6475 echo "$as_me:$LINENO: checking for $ac_func" >&5
6476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6477 if eval "test \"\${$as_ac_var+set}\" = set"; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 cat >conftest.$ac_ext <<_ACEOF
6483 cat confdefs.h >>conftest.$ac_ext
6484 cat >>conftest.$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6488 #define $ac_func innocuous_$ac_func
6490 /* System header to define __stub macros and hopefully few prototypes,
6491 which can conflict with char $ac_func (); below.
6492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6493 <limits.h> exists even on freestanding compilers. */
6496 # include <limits.h>
6498 # include <assert.h>
6503 /* Override any gcc2 internal prototype to avoid an error. */
6508 /* We use char because int might match the return type of a gcc2
6509 builtin and then its argument prototype would still apply. */
6511 /* The GNU C library defines this for functions which it implements
6512 to always fail with ENOSYS. Some functions are actually named
6513 something starting with __ and the normal name is an alias. */
6514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6517 char (*f) () = $ac_func;
6526 return f != $ac_func;
6531 rm -f conftest.$ac_objext conftest$ac_exeext
6532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6533 (eval $ac_link) 2>conftest.er1
6535 grep -v '^ *+' conftest.er1 >conftest.err
6537 cat conftest.err >&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); } &&
6540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; } &&
6546 { ac_try='test -s conftest$ac_exeext'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; }; then
6552 eval "$as_ac_var=yes"
6554 echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.$ac_ext >&5
6557 eval "$as_ac_var=no"
6559 rm -f conftest.err conftest.$ac_objext \
6560 conftest$ac_exeext conftest.$ac_ext
6562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6564 if test `eval echo '${'$as_ac_var'}'` = yes; then
6565 cat >>confdefs.h <<_ACEOF
6566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6571 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6572 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6573 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6574 echo $ECHO_N "(cached) $ECHO_C" >&6
6576 ac_check_lib_save_LIBS=$LIBS
6577 LIBS="-lresolv $LIBS"
6578 cat >conftest.$ac_ext <<_ACEOF
6581 cat confdefs.h >>conftest.$ac_ext
6582 cat >>conftest.$ac_ext <<_ACEOF
6583 /* end confdefs.h. */
6585 /* Override any gcc2 internal prototype to avoid an error. */
6589 /* We use char because int might match the return type of a gcc2
6590 builtin and then its argument prototype would still apply. */
6600 rm -f conftest.$ac_objext conftest$ac_exeext
6601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6602 (eval $ac_link) 2>conftest.er1
6604 grep -v '^ *+' conftest.er1 >conftest.err
6606 cat conftest.err >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } &&
6609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; } &&
6615 { ac_try='test -s conftest$ac_exeext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6621 ac_cv_lib_resolv_inet_aton=yes
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ac_cv_lib_resolv_inet_aton=no
6628 rm -f conftest.err conftest.$ac_objext \
6629 conftest$ac_exeext conftest.$ac_ext
6630 LIBS=$ac_check_lib_save_LIBS
6632 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6633 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6634 if test $ac_cv_lib_resolv_inet_aton = yes; then
6635 cat >>confdefs.h <<_ACEOF
6636 #define HAVE_LIBRESOLV 1
6639 LIBS="-lresolv $LIBS"
6647 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6648 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6649 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6652 ac_check_lib_save_LIBS=$LIBS
6654 cat >conftest.$ac_ext <<_ACEOF
6657 cat confdefs.h >>conftest.$ac_ext
6658 cat >>conftest.$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6661 /* Override any gcc2 internal prototype to avoid an error. */
6665 /* We use char because int might match the return type of a gcc2
6666 builtin and then its argument prototype would still apply. */
6667 char _xpg4_setrunelocale ();
6671 _xpg4_setrunelocale ();
6676 rm -f conftest.$ac_objext conftest$ac_exeext
6677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6678 (eval $ac_link) 2>conftest.er1
6680 grep -v '^ *+' conftest.er1 >conftest.err
6682 cat conftest.err >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); } &&
6685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest$ac_exeext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6697 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6702 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6704 rm -f conftest.err conftest.$ac_objext \
6705 conftest$ac_exeext conftest.$ac_ext
6706 LIBS=$ac_check_lib_save_LIBS
6708 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6709 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6710 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6711 cat >>confdefs.h <<_ACEOF
6712 #define HAVE_LIBXPG4 1
6720 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6721 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6722 if test "${ac_cv_lib_poll_poll+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 ac_check_lib_save_LIBS=$LIBS
6727 cat >conftest.$ac_ext <<_ACEOF
6730 cat confdefs.h >>conftest.$ac_ext
6731 cat >>conftest.$ac_ext <<_ACEOF
6732 /* end confdefs.h. */
6734 /* Override any gcc2 internal prototype to avoid an error. */
6738 /* We use char because int might match the return type of a gcc2
6739 builtin and then its argument prototype would still apply. */
6749 rm -f conftest.$ac_objext conftest$ac_exeext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6751 (eval $ac_link) 2>conftest.er1
6753 grep -v '^ *+' conftest.er1 >conftest.err
6755 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } &&
6758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; } &&
6764 { ac_try='test -s conftest$ac_exeext'
6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; }; then
6770 ac_cv_lib_poll_poll=yes
6772 echo "$as_me: failed program was:" >&5
6773 sed 's/^/| /' conftest.$ac_ext >&5
6775 ac_cv_lib_poll_poll=no
6777 rm -f conftest.err conftest.$ac_objext \
6778 conftest$ac_exeext conftest.$ac_ext
6779 LIBS=$ac_check_lib_save_LIBS
6781 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6782 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6783 if test $ac_cv_lib_poll_poll = yes; then
6784 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_LIBPOLL 1
6793 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6794 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6795 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 ac_check_lib_save_LIBS=$LIBS
6799 LIBS="-lresolv $LIBS"
6800 cat >conftest.$ac_ext <<_ACEOF
6803 cat confdefs.h >>conftest.$ac_ext
6804 cat >>conftest.$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6807 /* Override any gcc2 internal prototype to avoid an error. */
6811 /* We use char because int might match the return type of a gcc2
6812 builtin and then its argument prototype would still apply. */
6822 rm -f conftest.$ac_objext conftest$ac_exeext
6823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6824 (eval $ac_link) 2>conftest.er1
6826 grep -v '^ *+' conftest.er1 >conftest.err
6828 cat conftest.err >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } &&
6831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; } &&
6837 { ac_try='test -s conftest$ac_exeext'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; }; then
6843 ac_cv_lib_resolv_res_9_init=yes
6845 echo "$as_me: failed program was:" >&5
6846 sed 's/^/| /' conftest.$ac_ext >&5
6848 ac_cv_lib_resolv_res_9_init=no
6850 rm -f conftest.err conftest.$ac_objext \
6851 conftest$ac_exeext conftest.$ac_ext
6852 LIBS=$ac_check_lib_save_LIBS
6854 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6855 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6856 if test $ac_cv_lib_resolv_res_9_init = yes; then
6857 cat >>confdefs.h <<_ACEOF
6858 #define HAVE_LIBRESOLV 1
6861 LIBS="-lresolv $LIBS"
6865 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6866 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6867 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 ac_check_lib_save_LIBS=$LIBS
6871 LIBS="-lpthread $LIBS"
6872 cat >conftest.$ac_ext <<_ACEOF
6875 cat confdefs.h >>conftest.$ac_ext
6876 cat >>conftest.$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6879 /* Override any gcc2 internal prototype to avoid an error. */
6883 /* We use char because int might match the return type of a gcc2
6884 builtin and then its argument prototype would still apply. */
6885 char pthread_create ();
6894 rm -f conftest.$ac_objext conftest$ac_exeext
6895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6896 (eval $ac_link) 2>conftest.er1
6898 grep -v '^ *+' conftest.er1 >conftest.err
6900 cat conftest.err >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } &&
6903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; } &&
6909 { ac_try='test -s conftest$ac_exeext'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then
6915 ac_cv_lib_pthread_pthread_create=yes
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.$ac_ext >&5
6920 ac_cv_lib_pthread_pthread_create=no
6922 rm -f conftest.err conftest.$ac_objext \
6923 conftest$ac_exeext conftest.$ac_ext
6924 LIBS=$ac_check_lib_save_LIBS
6926 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6927 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6928 if test $ac_cv_lib_pthread_pthread_create = yes; then
6929 LIBPTHREAD="-lpthread"
6945 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6946 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6947 if test "${ac_cv_header_stdc+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 cat >conftest.$ac_ext <<_ACEOF
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6969 rm -f conftest.$ac_objext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>conftest.er1
6973 grep -v '^ *+' conftest.er1 >conftest.err
6975 cat conftest.err >&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; } &&
6984 { ac_try='test -s conftest.$ac_objext'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6990 ac_cv_header_stdc=yes
6992 echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.$ac_ext >&5
6995 ac_cv_header_stdc=no
6997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6999 if test $ac_cv_header_stdc = yes; then
7000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7001 cat >conftest.$ac_ext <<_ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7011 $EGREP "memchr" >/dev/null 2>&1; then
7014 ac_cv_header_stdc=no
7020 if test $ac_cv_header_stdc = yes; then
7021 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7022 cat >conftest.$ac_ext <<_ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7032 $EGREP "free" >/dev/null 2>&1; then
7035 ac_cv_header_stdc=no
7041 if test $ac_cv_header_stdc = yes; then
7042 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7043 if test "$cross_compiling" = yes; then
7046 cat >conftest.$ac_ext <<_ACEOF
7049 cat confdefs.h >>conftest.$ac_ext
7050 cat >>conftest.$ac_ext <<_ACEOF
7051 /* end confdefs.h. */
7053 #if ((' ' & 0x0FF) == 0x020)
7054 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7055 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7057 # define ISLOWER(c) \
7058 (('a' <= (c) && (c) <= 'i') \
7059 || ('j' <= (c) && (c) <= 'r') \
7060 || ('s' <= (c) && (c) <= 'z'))
7061 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7064 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7069 for (i = 0; i < 256; i++)
7070 if (XOR (islower (i), ISLOWER (i))
7071 || toupper (i) != TOUPPER (i))
7076 rm -f conftest$ac_exeext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7078 (eval $ac_link) 2>&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; }; then
7089 echo "$as_me: program exited with status $ac_status" >&5
7090 echo "$as_me: failed program was:" >&5
7091 sed 's/^/| /' conftest.$ac_ext >&5
7094 ac_cv_header_stdc=no
7096 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7100 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7101 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7102 if test $ac_cv_header_stdc = yes; then
7104 cat >>confdefs.h <<\_ACEOF
7105 #define STDC_HEADERS 1
7110 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7120 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7121 inttypes.h stdint.h unistd.h
7123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7124 echo "$as_me:$LINENO: checking for $ac_header" >&5
7125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7127 echo $ECHO_N "(cached) $ECHO_C" >&6
7129 cat >conftest.$ac_ext <<_ACEOF
7132 cat confdefs.h >>conftest.$ac_ext
7133 cat >>conftest.$ac_ext <<_ACEOF
7134 /* end confdefs.h. */
7135 $ac_includes_default
7137 #include <$ac_header>
7139 rm -f conftest.$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1 >conftest.err
7145 cat conftest.err >&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try='test -s conftest.$ac_objext'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; }; then
7160 eval "$as_ac_Header=yes"
7162 echo "$as_me: failed program was:" >&5
7163 sed 's/^/| /' conftest.$ac_ext >&5
7165 eval "$as_ac_Header=no"
7167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7172 cat >>confdefs.h <<_ACEOF
7173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7272 fontconfig/fontconfig.h \
7296 netinet/in_systm.h \
7352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7354 echo "$as_me:$LINENO: checking for $ac_header" >&5
7355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7357 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7362 # Is the header compilable?
7363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7365 cat >conftest.$ac_ext <<_ACEOF
7368 cat confdefs.h >>conftest.$ac_ext
7369 cat >>conftest.$ac_ext <<_ACEOF
7370 /* end confdefs.h. */
7371 $ac_includes_default
7372 #include <$ac_header>
7374 rm -f conftest.$ac_objext
7375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7376 (eval $ac_compile) 2>conftest.er1
7378 grep -v '^ *+' conftest.er1 >conftest.err
7380 cat conftest.err >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } &&
7383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; } &&
7389 { ac_try='test -s conftest.$ac_objext'
7390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); }; }; then
7395 ac_header_compiler=yes
7397 echo "$as_me: failed program was:" >&5
7398 sed 's/^/| /' conftest.$ac_ext >&5
7400 ac_header_compiler=no
7402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7404 echo "${ECHO_T}$ac_header_compiler" >&6
7406 # Is the header present?
7407 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7409 cat >conftest.$ac_ext <<_ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7415 #include <$ac_header>
7417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7420 grep -v '^ *+' conftest.er1 >conftest.err
7422 cat conftest.err >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } >/dev/null; then
7425 if test -s conftest.err; then
7426 ac_cpp_err=$ac_c_preproc_warn_flag
7427 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7434 if test -z "$ac_cpp_err"; then
7435 ac_header_preproc=yes
7437 echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.$ac_ext >&5
7440 ac_header_preproc=no
7442 rm -f conftest.err conftest.$ac_ext
7443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7444 echo "${ECHO_T}$ac_header_preproc" >&6
7446 # So? What about this header?
7447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7453 ac_header_preproc=yes
7456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7470 ## ------------------------------------ ##
7471 ## Report this to wine-devel@winehq.org ##
7472 ## ------------------------------------ ##
7475 sed "s/^/$as_me: WARNING: /" >&2
7478 echo "$as_me:$LINENO: checking for $ac_header" >&5
7479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 eval "$as_ac_Header=\$ac_header_preproc"
7485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7490 cat >>confdefs.h <<_ACEOF
7491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7498 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7499 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7500 if test "${ac_cv_header_stat_broken+set}" = set; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 cat >conftest.$ac_ext <<_ACEOF
7506 cat confdefs.h >>conftest.$ac_ext
7507 cat >>conftest.$ac_ext <<_ACEOF
7508 /* end confdefs.h. */
7509 #include <sys/types.h>
7510 #include <sys/stat.h>
7512 #if defined(S_ISBLK) && defined(S_IFDIR)
7513 # if S_ISBLK (S_IFDIR)
7518 #if defined(S_ISBLK) && defined(S_IFCHR)
7519 # if S_ISBLK (S_IFCHR)
7524 #if defined(S_ISLNK) && defined(S_IFREG)
7525 # if S_ISLNK (S_IFREG)
7530 #if defined(S_ISSOCK) && defined(S_IFREG)
7531 # if S_ISSOCK (S_IFREG)
7537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7538 $EGREP "You lose" >/dev/null 2>&1; then
7539 ac_cv_header_stat_broken=yes
7541 ac_cv_header_stat_broken=no
7546 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7547 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7548 if test $ac_cv_header_stat_broken = yes; then
7550 cat >>confdefs.h <<\_ACEOF
7551 #define STAT_MACROS_BROKEN 1
7558 if test "$have_x" = "yes"
7561 ac_save_CPPFLAGS="$CPPFLAGS"
7562 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7565 for ac_header in X11/Xlib.h
7567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7569 echo "$as_me:$LINENO: checking for $ac_header" >&5
7570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7577 # Is the header compilable?
7578 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7580 cat >conftest.$ac_ext <<_ACEOF
7583 cat confdefs.h >>conftest.$ac_ext
7584 cat >>conftest.$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7586 $ac_includes_default
7587 #include <$ac_header>
7589 rm -f conftest.$ac_objext
7590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7591 (eval $ac_compile) 2>conftest.er1
7593 grep -v '^ *+' conftest.er1 >conftest.err
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } &&
7598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 ac_header_compiler=yes
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7615 ac_header_compiler=no
7617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7619 echo "${ECHO_T}$ac_header_compiler" >&6
7621 # Is the header present?
7622 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7623 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7624 cat >conftest.$ac_ext <<_ACEOF
7627 cat confdefs.h >>conftest.$ac_ext
7628 cat >>conftest.$ac_ext <<_ACEOF
7629 /* end confdefs.h. */
7630 #include <$ac_header>
7632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7635 grep -v '^ *+' conftest.er1 >conftest.err
7637 cat conftest.err >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } >/dev/null; then
7640 if test -s conftest.err; then
7641 ac_cpp_err=$ac_c_preproc_warn_flag
7642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7649 if test -z "$ac_cpp_err"; then
7650 ac_header_preproc=yes
7652 echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.$ac_ext >&5
7655 ac_header_preproc=no
7657 rm -f conftest.err conftest.$ac_ext
7658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7659 echo "${ECHO_T}$ac_header_preproc" >&6
7661 # So? What about this header?
7662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7664 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7665 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7667 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7668 ac_header_preproc=yes
7671 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7672 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7673 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7674 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7675 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7676 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7677 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7678 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7681 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7682 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7685 ## ------------------------------------ ##
7686 ## Report this to wine-devel@winehq.org ##
7687 ## ------------------------------------ ##
7690 sed "s/^/$as_me: WARNING: /" >&2
7693 echo "$as_me:$LINENO: checking for $ac_header" >&5
7694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7696 echo $ECHO_N "(cached) $ECHO_C" >&6
7698 eval "$as_ac_Header=\$ac_header_preproc"
7700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7705 cat >>confdefs.h <<_ACEOF
7706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7718 for ac_header in X11/XKBlib.h \
7720 X11/extensions/shape.h \
7721 X11/extensions/XInput.h \
7722 X11/extensions/XShm.h \
7723 X11/extensions/Xrandr.h \
7724 X11/extensions/Xrender.h \
7725 X11/extensions/xf86dga.h \
7726 X11/extensions/xf86vmode.h
7728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7729 echo "$as_me:$LINENO: checking for $ac_header" >&5
7730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7732 echo $ECHO_N "(cached) $ECHO_C" >&6
7734 cat >conftest.$ac_ext <<_ACEOF
7737 cat confdefs.h >>conftest.$ac_ext
7738 cat >>conftest.$ac_ext <<_ACEOF
7739 /* end confdefs.h. */
7740 #include <X11/Xlib.h>
7741 #ifdef HAVE_X11_XUTIL_H
7742 # include <X11/Xutil.h>
7745 #include <$ac_header>
7747 rm -f conftest.$ac_objext
7748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7749 (eval $ac_compile) 2>conftest.er1
7751 grep -v '^ *+' conftest.er1 >conftest.err
7753 cat conftest.err >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } &&
7756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); }; } &&
7762 { ac_try='test -s conftest.$ac_objext'
7763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); }; }; then
7768 eval "$as_ac_Header=yes"
7770 echo "$as_me: failed program was:" >&5
7771 sed 's/^/| /' conftest.$ac_ext >&5
7773 eval "$as_ac_Header=no"
7775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7780 cat >>confdefs.h <<_ACEOF
7781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7789 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7791 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7792 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7793 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 ac_check_lib_save_LIBS=$LIBS
7797 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7798 cat >conftest.$ac_ext <<_ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7805 /* Override any gcc2 internal prototype to avoid an error. */
7809 /* We use char because int might match the return type of a gcc2
7810 builtin and then its argument prototype would still apply. */
7811 char XkbQueryExtension ();
7815 XkbQueryExtension ();
7820 rm -f conftest.$ac_objext conftest$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>conftest.er1
7824 grep -v '^ *+' conftest.er1 >conftest.err
7826 cat conftest.err >&5
7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7828 (exit $ac_status); } &&
7829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834 (exit $ac_status); }; } &&
7835 { ac_try='test -s conftest$ac_exeext'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; }; then
7841 ac_cv_lib_X11_XkbQueryExtension=yes
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.$ac_ext >&5
7846 ac_cv_lib_X11_XkbQueryExtension=no
7848 rm -f conftest.err conftest.$ac_objext \
7849 conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7852 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7853 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7854 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7856 cat >>confdefs.h <<\_ACEOF
7864 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7866 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7867 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7868 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7869 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 ac_check_lib_save_LIBS=$LIBS
7872 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7873 cat >conftest.$ac_ext <<_ACEOF
7876 cat confdefs.h >>conftest.$ac_ext
7877 cat >>conftest.$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7880 /* Override any gcc2 internal prototype to avoid an error. */
7884 /* We use char because int might match the return type of a gcc2
7885 builtin and then its argument prototype would still apply. */
7886 char XShmQueryExtension ();
7890 XShmQueryExtension ();
7895 rm -f conftest.$ac_objext conftest$ac_exeext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7897 (eval $ac_link) 2>conftest.er1
7899 grep -v '^ *+' conftest.er1 >conftest.err
7901 cat conftest.err >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; } &&
7910 { ac_try='test -s conftest$ac_exeext'
7911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; }; then
7916 ac_cv_lib_Xext_XShmQueryExtension=yes
7918 echo "$as_me: failed program was:" >&5
7919 sed 's/^/| /' conftest.$ac_ext >&5
7921 ac_cv_lib_Xext_XShmQueryExtension=no
7923 rm -f conftest.err conftest.$ac_objext \
7924 conftest$ac_exeext conftest.$ac_ext
7925 LIBS=$ac_check_lib_save_LIBS
7927 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7928 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7929 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7931 cat >>confdefs.h <<\_ACEOF
7932 #define HAVE_LIBXXSHM 1
7939 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7941 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7942 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7943 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 ac_check_lib_save_LIBS=$LIBS
7947 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7948 cat >conftest.$ac_ext <<_ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7955 /* Override any gcc2 internal prototype to avoid an error. */
7959 /* We use char because int might match the return type of a gcc2
7960 builtin and then its argument prototype would still apply. */
7961 char XShapeQueryExtension ();
7965 XShapeQueryExtension ();
7970 rm -f conftest.$ac_objext conftest$ac_exeext
7971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7972 (eval $ac_link) 2>conftest.er1
7974 grep -v '^ *+' conftest.er1 >conftest.err
7976 cat conftest.err >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); } &&
7979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); }; } &&
7985 { ac_try='test -s conftest$ac_exeext'
7986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); }; }; then
7991 ac_cv_lib_Xext_XShapeQueryExtension=yes
7993 echo "$as_me: failed program was:" >&5
7994 sed 's/^/| /' conftest.$ac_ext >&5
7996 ac_cv_lib_Xext_XShapeQueryExtension=no
7998 rm -f conftest.err conftest.$ac_objext \
7999 conftest$ac_exeext conftest.$ac_ext
8000 LIBS=$ac_check_lib_save_LIBS
8002 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8003 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8004 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8006 cat >>confdefs.h <<\_ACEOF
8007 #define HAVE_LIBXSHAPE 1
8014 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8016 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8017 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8018 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 ac_check_lib_save_LIBS=$LIBS
8022 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8023 cat >conftest.$ac_ext <<_ACEOF
8026 cat confdefs.h >>conftest.$ac_ext
8027 cat >>conftest.$ac_ext <<_ACEOF
8028 /* end confdefs.h. */
8030 /* Override any gcc2 internal prototype to avoid an error. */
8034 /* We use char because int might match the return type of a gcc2
8035 builtin and then its argument prototype would still apply. */
8036 char XDGAQueryExtension ();
8040 XDGAQueryExtension ();
8045 rm -f conftest.$ac_objext conftest$ac_exeext
8046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8047 (eval $ac_link) 2>conftest.er1
8049 grep -v '^ *+' conftest.er1 >conftest.err
8051 cat conftest.err >&5
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); } &&
8054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; } &&
8060 { ac_try='test -s conftest$ac_exeext'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; }; then
8066 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
8068 echo "$as_me: failed program was:" >&5
8069 sed 's/^/| /' conftest.$ac_ext >&5
8071 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
8073 rm -f conftest.err conftest.$ac_objext \
8074 conftest$ac_exeext conftest.$ac_ext
8075 LIBS=$ac_check_lib_save_LIBS
8077 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8078 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8079 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8081 cat >>confdefs.h <<\_ACEOF
8082 #define HAVE_LIBXXF86DGA2 1
8085 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8091 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8093 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8094 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8095 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 ac_check_lib_save_LIBS=$LIBS
8099 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8100 cat >conftest.$ac_ext <<_ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any gcc2 internal prototype to avoid an error. */
8111 /* We use char because int might match the return type of a gcc2
8112 builtin and then its argument prototype would still apply. */
8113 char XF86VidModeQueryExtension ();
8117 XF86VidModeQueryExtension ();
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8124 (eval $ac_link) 2>conftest.er1
8126 grep -v '^ *+' conftest.er1 >conftest.err
8128 cat conftest.err >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } &&
8131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); }; } &&
8137 { ac_try='test -s conftest$ac_exeext'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.$ac_ext >&5
8148 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8150 rm -f conftest.err conftest.$ac_objext \
8151 conftest$ac_exeext conftest.$ac_ext
8152 LIBS=$ac_check_lib_save_LIBS
8154 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8155 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8156 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8158 cat >>confdefs.h <<\_ACEOF
8159 #define HAVE_LIBXXF86VM 1
8162 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8168 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8170 cat >conftest.$ac_ext <<_ACEOF
8173 cat confdefs.h >>conftest.$ac_ext
8174 cat >>conftest.$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8176 #include <X11/Xlib.h>
8177 #include <X11/extensions/Xrandr.h>
8181 static typeof(XRRSetScreenConfigAndRate) * func;
8186 rm -f conftest.$ac_objext
8187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8188 (eval $ac_compile) 2>conftest.er1
8190 grep -v '^ *+' conftest.er1 >conftest.err
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } &&
8195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; } &&
8201 { ac_try='test -s conftest.$ac_objext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8208 cat >>confdefs.h <<\_ACEOF
8209 #define HAVE_LIBXRANDR 1
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5
8217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8220 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8222 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8223 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8224 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8225 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 ac_check_lib_save_LIBS=$LIBS
8228 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8229 cat >conftest.$ac_ext <<_ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8236 /* Override any gcc2 internal prototype to avoid an error. */
8240 /* We use char because int might match the return type of a gcc2
8241 builtin and then its argument prototype would still apply. */
8242 char XRenderSetPictureTransform ();
8246 XRenderSetPictureTransform ();
8251 rm -f conftest.$ac_objext conftest$ac_exeext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8253 (eval $ac_link) 2>conftest.er1
8255 grep -v '^ *+' conftest.er1 >conftest.err
8257 cat conftest.err >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } &&
8260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); }; } &&
8266 { ac_try='test -s conftest$ac_exeext'
8267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); }; }; then
8272 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8279 rm -f conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 LIBS=$ac_check_lib_save_LIBS
8283 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8284 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8285 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8287 cat >>confdefs.h <<\_ACEOF
8288 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8300 if test "x$with_opengl" != "xno"
8302 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8304 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8305 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8306 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8307 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8308 { (exit 1); exit 1; }; }
8313 for ac_header in GL/gl.h GL/glx.h
8315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8317 echo "$as_me:$LINENO: checking for $ac_header" >&5
8318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8320 echo $ECHO_N "(cached) $ECHO_C" >&6
8322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8325 # Is the header compilable?
8326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8328 cat >conftest.$ac_ext <<_ACEOF
8331 cat confdefs.h >>conftest.$ac_ext
8332 cat >>conftest.$ac_ext <<_ACEOF
8333 /* end confdefs.h. */
8334 $ac_includes_default
8335 #include <$ac_header>
8337 rm -f conftest.$ac_objext
8338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8339 (eval $ac_compile) 2>conftest.er1
8341 grep -v '^ *+' conftest.er1 >conftest.err
8343 cat conftest.err >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); } &&
8346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; } &&
8352 { ac_try='test -s conftest.$ac_objext'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; }; then
8358 ac_header_compiler=yes
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.$ac_ext >&5
8363 ac_header_compiler=no
8365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8367 echo "${ECHO_T}$ac_header_compiler" >&6
8369 # Is the header present?
8370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8372 cat >conftest.$ac_ext <<_ACEOF
8375 cat confdefs.h >>conftest.$ac_ext
8376 cat >>conftest.$ac_ext <<_ACEOF
8377 /* end confdefs.h. */
8378 #include <$ac_header>
8380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8383 grep -v '^ *+' conftest.er1 >conftest.err
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } >/dev/null; then
8388 if test -s conftest.err; then
8389 ac_cpp_err=$ac_c_preproc_warn_flag
8390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8397 if test -z "$ac_cpp_err"; then
8398 ac_header_preproc=yes
8400 echo "$as_me: failed program was:" >&5
8401 sed 's/^/| /' conftest.$ac_ext >&5
8403 ac_header_preproc=no
8405 rm -f conftest.err conftest.$ac_ext
8406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8407 echo "${ECHO_T}$ac_header_preproc" >&6
8409 # So? What about this header?
8410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8416 ac_header_preproc=yes
8419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8433 ## ------------------------------------ ##
8434 ## Report this to wine-devel@winehq.org ##
8435 ## ------------------------------------ ##
8438 sed "s/^/$as_me: WARNING: /" >&2
8441 echo "$as_me:$LINENO: checking for $ac_header" >&5
8442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6
8446 eval "$as_ac_Header=\$ac_header_preproc"
8448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8453 cat >>confdefs.h <<_ACEOF
8454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8461 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8464 for ac_header in GL/glext.h
8466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8467 echo "$as_me:$LINENO: checking for $ac_header" >&5
8468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8470 echo $ECHO_N "(cached) $ECHO_C" >&6
8472 cat >conftest.$ac_ext <<_ACEOF
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8480 #include <$ac_header>
8482 rm -f conftest.$ac_objext
8483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8484 (eval $ac_compile) 2>conftest.er1
8486 grep -v '^ *+' conftest.er1 >conftest.err
8488 cat conftest.err >&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); } &&
8491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; } &&
8497 { ac_try='test -s conftest.$ac_objext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8503 eval "$as_ac_Header=yes"
8505 echo "$as_me: failed program was:" >&5
8506 sed 's/^/| /' conftest.$ac_ext >&5
8508 eval "$as_ac_Header=no"
8510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8515 cat >>confdefs.h <<_ACEOF
8516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8523 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8524 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8525 if test "${wine_cv_opengl_version_OK+set}" = set; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 cat >conftest.$ac_ext <<_ACEOF
8531 cat confdefs.h >>conftest.$ac_ext
8532 cat >>conftest.$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8538 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8543 rm -f conftest.$ac_objext
8544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8545 (eval $ac_compile) 2>conftest.er1
8547 grep -v '^ *+' conftest.er1 >conftest.err
8549 cat conftest.err >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } &&
8552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; } &&
8558 { ac_try='test -s conftest.$ac_objext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 wine_cv_opengl_version_OK="yes"
8566 echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8569 wine_cv_opengl_version_OK="no"
8572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8575 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8576 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8578 if test "$wine_cv_opengl_version_OK" = "yes"
8580 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8581 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8582 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8583 echo $ECHO_N "(cached) $ECHO_C" >&6
8585 ac_check_lib_save_LIBS=$LIBS
8586 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8587 cat >conftest.$ac_ext <<_ACEOF
8590 cat confdefs.h >>conftest.$ac_ext
8591 cat >>conftest.$ac_ext <<_ACEOF
8592 /* end confdefs.h. */
8594 /* Override any gcc2 internal prototype to avoid an error. */
8598 /* We use char because int might match the return type of a gcc2
8599 builtin and then its argument prototype would still apply. */
8600 char glXCreateContext ();
8604 glXCreateContext ();
8609 rm -f conftest.$ac_objext conftest$ac_exeext
8610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8611 (eval $ac_link) 2>conftest.er1
8613 grep -v '^ *+' conftest.er1 >conftest.err
8615 cat conftest.err >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } &&
8618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; } &&
8624 { ac_try='test -s conftest$ac_exeext'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then
8630 ac_cv_lib_GL_glXCreateContext=yes
8632 echo "$as_me: failed program was:" >&5
8633 sed 's/^/| /' conftest.$ac_ext >&5
8635 ac_cv_lib_GL_glXCreateContext=no
8637 rm -f conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 LIBS=$ac_check_lib_save_LIBS
8641 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8642 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8643 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8649 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8651 OPENGLFILES='$(OPENGLFILES)'
8653 cat >>confdefs.h <<\_ACEOF
8654 #define HAVE_OPENGL 1
8658 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8659 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8660 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 ac_check_lib_save_LIBS=$LIBS
8664 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8666 cat >conftest.$ac_ext <<_ACEOF
8669 cat confdefs.h >>conftest.$ac_ext
8670 cat >>conftest.$ac_ext <<_ACEOF
8671 /* end confdefs.h. */
8673 /* Override any gcc2 internal prototype to avoid an error. */
8677 /* We use char because int might match the return type of a gcc2
8678 builtin and then its argument prototype would still apply. */
8688 rm -f conftest.$ac_objext conftest$ac_exeext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8690 (eval $ac_link) 2>conftest.er1
8692 grep -v '^ *+' conftest.er1 >conftest.err
8694 cat conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } &&
8697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); }; } &&
8703 { ac_try='test -s conftest$ac_exeext'
8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); }; }; then
8709 ac_cv_lib_GLU_gluLookAt=yes
8711 echo "$as_me: failed program was:" >&5
8712 sed 's/^/| /' conftest.$ac_ext >&5
8714 ac_cv_lib_GLU_gluLookAt=no
8716 rm -f conftest.err conftest.$ac_objext \
8717 conftest$ac_exeext conftest.$ac_ext
8718 LIBS=$ac_check_lib_save_LIBS
8720 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8721 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8722 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8723 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8724 GLU32FILES='$(GLU32FILES)'
8730 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8731 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8732 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 ac_check_lib_save_LIBS=$LIBS
8736 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8737 cat >conftest.$ac_ext <<_ACEOF
8740 cat confdefs.h >>conftest.$ac_ext
8741 cat >>conftest.$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8744 /* Override any gcc2 internal prototype to avoid an error. */
8748 /* We use char because int might match the return type of a gcc2
8749 builtin and then its argument prototype would still apply. */
8750 char glutMainLoop ();
8759 rm -f conftest.$ac_objext conftest$ac_exeext
8760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8761 (eval $ac_link) 2>conftest.er1
8763 grep -v '^ *+' conftest.er1 >conftest.err
8765 cat conftest.err >&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); } &&
8768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); }; } &&
8774 { ac_try='test -s conftest$ac_exeext'
8775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779 (exit $ac_status); }; }; then
8780 ac_cv_lib_glut_glutMainLoop=yes
8782 echo "$as_me: failed program was:" >&5
8783 sed 's/^/| /' conftest.$ac_ext >&5
8785 ac_cv_lib_glut_glutMainLoop=no
8787 rm -f conftest.err conftest.$ac_objext \
8788 conftest$ac_exeext conftest.$ac_ext
8789 LIBS=$ac_check_lib_save_LIBS
8791 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8792 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8793 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8794 GLUT_LIBS="-lglut -lXmu -lXi"
8796 GLUT32FILES='$(GLUT32FILES)'
8806 for ac_header in audio/audiolib.h
8808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8810 echo "$as_me:$LINENO: checking for $ac_header" >&5
8811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8813 echo $ECHO_N "(cached) $ECHO_C" >&6
8815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8818 # Is the header compilable?
8819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8821 cat >conftest.$ac_ext <<_ACEOF
8824 cat confdefs.h >>conftest.$ac_ext
8825 cat >>conftest.$ac_ext <<_ACEOF
8826 /* end confdefs.h. */
8827 $ac_includes_default
8828 #include <$ac_header>
8830 rm -f conftest.$ac_objext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8832 (eval $ac_compile) 2>conftest.er1
8834 grep -v '^ *+' conftest.er1 >conftest.err
8836 cat conftest.err >&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } &&
8839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; } &&
8845 { ac_try='test -s conftest.$ac_objext'
8846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); }; }; then
8851 ac_header_compiler=yes
8853 echo "$as_me: failed program was:" >&5
8854 sed 's/^/| /' conftest.$ac_ext >&5
8856 ac_header_compiler=no
8858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8860 echo "${ECHO_T}$ac_header_compiler" >&6
8862 # Is the header present?
8863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8865 cat >conftest.$ac_ext <<_ACEOF
8868 cat confdefs.h >>conftest.$ac_ext
8869 cat >>conftest.$ac_ext <<_ACEOF
8870 /* end confdefs.h. */
8871 #include <$ac_header>
8873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8876 grep -v '^ *+' conftest.er1 >conftest.err
8878 cat conftest.err >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); } >/dev/null; then
8881 if test -s conftest.err; then
8882 ac_cpp_err=$ac_c_preproc_warn_flag
8883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8890 if test -z "$ac_cpp_err"; then
8891 ac_header_preproc=yes
8893 echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.$ac_ext >&5
8896 ac_header_preproc=no
8898 rm -f conftest.err conftest.$ac_ext
8899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8900 echo "${ECHO_T}$ac_header_preproc" >&6
8902 # So? What about this header?
8903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8909 ac_header_preproc=yes
8912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8926 ## ------------------------------------ ##
8927 ## Report this to wine-devel@winehq.org ##
8928 ## ------------------------------------ ##
8931 sed "s/^/$as_me: WARNING: /" >&2
8934 echo "$as_me:$LINENO: checking for $ac_header" >&5
8935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 eval "$as_ac_Header=\$ac_header_preproc"
8941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8946 cat >>confdefs.h <<_ACEOF
8947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8950 for ac_header in audio/soundlib.h
8952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8953 echo "$as_me:$LINENO: checking for $ac_header" >&5
8954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8956 echo $ECHO_N "(cached) $ECHO_C" >&6
8958 cat >conftest.$ac_ext <<_ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8964 #include <audio/audiolib.h>
8966 #include <$ac_header>
8968 rm -f conftest.$ac_objext
8969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8970 (eval $ac_compile) 2>conftest.er1
8972 grep -v '^ *+' conftest.er1 >conftest.err
8974 cat conftest.err >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } &&
8977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try='test -s conftest.$ac_objext'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; }; then
8989 eval "$as_ac_Header=yes"
8991 echo "$as_me: failed program was:" >&5
8992 sed 's/^/| /' conftest.$ac_ext >&5
8994 eval "$as_ac_Header=no"
8996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9001 cat >>confdefs.h <<_ACEOF
9002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9009 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9010 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9011 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9014 ac_check_lib_save_LIBS=$LIBS
9015 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9016 cat >conftest.$ac_ext <<_ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9023 /* Override any gcc2 internal prototype to avoid an error. */
9027 /* We use char because int might match the return type of a gcc2
9028 builtin and then its argument prototype would still apply. */
9029 char AuCreateFlow ();
9038 rm -f conftest.$ac_objext conftest$ac_exeext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040 (eval $ac_link) 2>conftest.er1
9042 grep -v '^ *+' conftest.er1 >conftest.err
9044 cat conftest.err >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); }; } &&
9053 { ac_try='test -s conftest$ac_exeext'
9054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); }; }; then
9059 ac_cv_lib_audio_AuCreateFlow=yes
9061 echo "$as_me: failed program was:" >&5
9062 sed 's/^/| /' conftest.$ac_ext >&5
9064 ac_cv_lib_audio_AuCreateFlow=no
9066 rm -f conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 LIBS=$ac_check_lib_save_LIBS
9070 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9071 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9072 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9074 cat >>confdefs.h <<\_ACEOF
9078 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9086 CPPFLAGS="$ac_save_CPPFLAGS"
9095 if test "x$with_curses" != "xno"
9098 for ac_header in ncurses.h
9100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9102 echo "$as_me:$LINENO: checking for $ac_header" >&5
9103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9110 # Is the header compilable?
9111 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9113 cat >conftest.$ac_ext <<_ACEOF
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9119 $ac_includes_default
9120 #include <$ac_header>
9122 rm -f conftest.$ac_objext
9123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9124 (eval $ac_compile) 2>conftest.er1
9126 grep -v '^ *+' conftest.er1 >conftest.err
9128 cat conftest.err >&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); } &&
9131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; } &&
9137 { ac_try='test -s conftest.$ac_objext'
9138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then
9143 ac_header_compiler=yes
9145 echo "$as_me: failed program was:" >&5
9146 sed 's/^/| /' conftest.$ac_ext >&5
9148 ac_header_compiler=no
9150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9152 echo "${ECHO_T}$ac_header_compiler" >&6
9154 # Is the header present?
9155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9157 cat >conftest.$ac_ext <<_ACEOF
9160 cat confdefs.h >>conftest.$ac_ext
9161 cat >>conftest.$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9163 #include <$ac_header>
9165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9168 grep -v '^ *+' conftest.er1 >conftest.err
9170 cat conftest.err >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } >/dev/null; then
9173 if test -s conftest.err; then
9174 ac_cpp_err=$ac_c_preproc_warn_flag
9175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9182 if test -z "$ac_cpp_err"; then
9183 ac_header_preproc=yes
9185 echo "$as_me: failed program was:" >&5
9186 sed 's/^/| /' conftest.$ac_ext >&5
9188 ac_header_preproc=no
9190 rm -f conftest.err conftest.$ac_ext
9191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9192 echo "${ECHO_T}$ac_header_preproc" >&6
9194 # So? What about this header?
9195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9201 ac_header_preproc=yes
9204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9218 ## ------------------------------------ ##
9219 ## Report this to wine-devel@winehq.org ##
9220 ## ------------------------------------ ##
9223 sed "s/^/$as_me: WARNING: /" >&2
9226 echo "$as_me:$LINENO: checking for $ac_header" >&5
9227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9229 echo $ECHO_N "(cached) $ECHO_C" >&6
9231 eval "$as_ac_Header=\$ac_header_preproc"
9233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9238 cat >>confdefs.h <<_ACEOF
9239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9241 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9242 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9243 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 ac_check_lib_save_LIBS=$LIBS
9247 LIBS="-lncurses $LIBS"
9248 cat >conftest.$ac_ext <<_ACEOF
9251 cat confdefs.h >>conftest.$ac_ext
9252 cat >>conftest.$ac_ext <<_ACEOF
9253 /* end confdefs.h. */
9255 /* Override any gcc2 internal prototype to avoid an error. */
9259 /* We use char because int might match the return type of a gcc2
9260 builtin and then its argument prototype would still apply. */
9270 rm -f conftest.$ac_objext conftest$ac_exeext
9271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9272 (eval $ac_link) 2>conftest.er1
9274 grep -v '^ *+' conftest.er1 >conftest.err
9276 cat conftest.err >&5
9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 (exit $ac_status); } &&
9279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); }; } &&
9285 { ac_try='test -s conftest$ac_exeext'
9286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); }; }; then
9291 ac_cv_lib_ncurses_waddch=yes
9293 echo "$as_me: failed program was:" >&5
9294 sed 's/^/| /' conftest.$ac_ext >&5
9296 ac_cv_lib_ncurses_waddch=no
9298 rm -f conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 LIBS=$ac_check_lib_save_LIBS
9302 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9303 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9304 if test $ac_cv_lib_ncurses_waddch = yes; then
9306 cat >>confdefs.h <<\_ACEOF
9307 #define HAVE_LIBNCURSES 1
9310 CURSESLIBS="-lncurses"
9313 for ac_header in curses.h
9315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9317 echo "$as_me:$LINENO: checking for $ac_header" >&5
9318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9320 echo $ECHO_N "(cached) $ECHO_C" >&6
9322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9325 # Is the header compilable?
9326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9328 cat >conftest.$ac_ext <<_ACEOF
9331 cat confdefs.h >>conftest.$ac_ext
9332 cat >>conftest.$ac_ext <<_ACEOF
9333 /* end confdefs.h. */
9334 $ac_includes_default
9335 #include <$ac_header>
9337 rm -f conftest.$ac_objext
9338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9339 (eval $ac_compile) 2>conftest.er1
9341 grep -v '^ *+' conftest.er1 >conftest.err
9343 cat conftest.err >&5
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); } &&
9346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); }; } &&
9352 { ac_try='test -s conftest.$ac_objext'
9353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); }; }; then
9358 ac_header_compiler=yes
9360 echo "$as_me: failed program was:" >&5
9361 sed 's/^/| /' conftest.$ac_ext >&5
9363 ac_header_compiler=no
9365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9367 echo "${ECHO_T}$ac_header_compiler" >&6
9369 # Is the header present?
9370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9372 cat >conftest.$ac_ext <<_ACEOF
9375 cat confdefs.h >>conftest.$ac_ext
9376 cat >>conftest.$ac_ext <<_ACEOF
9377 /* end confdefs.h. */
9378 #include <$ac_header>
9380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9383 grep -v '^ *+' conftest.er1 >conftest.err
9385 cat conftest.err >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); } >/dev/null; then
9388 if test -s conftest.err; then
9389 ac_cpp_err=$ac_c_preproc_warn_flag
9390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9397 if test -z "$ac_cpp_err"; then
9398 ac_header_preproc=yes
9400 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.$ac_ext >&5
9403 ac_header_preproc=no
9405 rm -f conftest.err conftest.$ac_ext
9406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9407 echo "${ECHO_T}$ac_header_preproc" >&6
9409 # So? What about this header?
9410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9416 ac_header_preproc=yes
9419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9433 ## ------------------------------------ ##
9434 ## Report this to wine-devel@winehq.org ##
9435 ## ------------------------------------ ##
9438 sed "s/^/$as_me: WARNING: /" >&2
9441 echo "$as_me:$LINENO: checking for $ac_header" >&5
9442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 eval "$as_ac_Header=\$ac_header_preproc"
9448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9453 cat >>confdefs.h <<_ACEOF
9454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9456 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9457 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9458 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9459 echo $ECHO_N "(cached) $ECHO_C" >&6
9461 ac_check_lib_save_LIBS=$LIBS
9462 LIBS="-lcurses $LIBS"
9463 cat >conftest.$ac_ext <<_ACEOF
9466 cat confdefs.h >>conftest.$ac_ext
9467 cat >>conftest.$ac_ext <<_ACEOF
9468 /* end confdefs.h. */
9470 /* Override any gcc2 internal prototype to avoid an error. */
9474 /* We use char because int might match the return type of a gcc2
9475 builtin and then its argument prototype would still apply. */
9485 rm -f conftest.$ac_objext conftest$ac_exeext
9486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9487 (eval $ac_link) 2>conftest.er1
9489 grep -v '^ *+' conftest.er1 >conftest.err
9491 cat conftest.err >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); } &&
9494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; } &&
9500 { ac_try='test -s conftest$ac_exeext'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; }; then
9506 ac_cv_lib_curses_waddch=yes
9508 echo "$as_me: failed program was:" >&5
9509 sed 's/^/| /' conftest.$ac_ext >&5
9511 ac_cv_lib_curses_waddch=no
9513 rm -f conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 LIBS=$ac_check_lib_save_LIBS
9517 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9518 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9519 if test $ac_cv_lib_curses_waddch = yes; then
9521 cat >>confdefs.h <<\_ACEOF
9522 #define HAVE_LIBCURSES 1
9525 CURSESLIBS="-lcurses"
9541 # Extract the first word of "sane-config", so it can be a program name with args.
9542 set dummy sane-config; ac_word=$2
9543 echo "$as_me:$LINENO: checking for $ac_word" >&5
9544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9545 if test "${ac_cv_prog_sane_devel+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 if test -n "$sane_devel"; then
9549 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9555 test -z "$as_dir" && as_dir=.
9556 for ac_exec_ext in '' $ac_executable_extensions; do
9557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9558 ac_cv_prog_sane_devel="sane-config"
9559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9565 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9568 sane_devel=$ac_cv_prog_sane_devel
9569 if test -n "$sane_devel"; then
9570 echo "$as_me:$LINENO: result: $sane_devel" >&5
9571 echo "${ECHO_T}$sane_devel" >&6
9573 echo "$as_me:$LINENO: result: no" >&5
9574 echo "${ECHO_T}no" >&6
9577 if test "$sane_devel" = "no"
9582 SANELIBS="`$sane_devel --libs`"
9583 SANEINCL="`$sane_devel --cflags`"
9584 ac_save_CPPFLAGS="$CPPFLAGS"
9585 ac_save_LIBS="$LIBS"
9586 CPPFLAGS="$CPPFLAGS $SANEINCL"
9587 LIBS="$LIBS $SANELIBS"
9588 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9589 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9590 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9591 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9592 echo $ECHO_N "(cached) $ECHO_C" >&6
9594 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9595 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9597 # Is the header compilable?
9598 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9599 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9600 cat >conftest.$ac_ext <<_ACEOF
9603 cat confdefs.h >>conftest.$ac_ext
9604 cat >>conftest.$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9606 $ac_includes_default
9607 #include <sane/sane.h>
9609 rm -f conftest.$ac_objext
9610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9611 (eval $ac_compile) 2>conftest.er1
9613 grep -v '^ *+' conftest.er1 >conftest.err
9615 cat conftest.err >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } &&
9618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; } &&
9624 { ac_try='test -s conftest.$ac_objext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 ac_header_compiler=yes
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9635 ac_header_compiler=no
9637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9639 echo "${ECHO_T}$ac_header_compiler" >&6
9641 # Is the header present?
9642 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9643 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9644 cat >conftest.$ac_ext <<_ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9650 #include <sane/sane.h>
9652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9655 grep -v '^ *+' conftest.er1 >conftest.err
9657 cat conftest.err >&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } >/dev/null; then
9660 if test -s conftest.err; then
9661 ac_cpp_err=$ac_c_preproc_warn_flag
9662 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9669 if test -z "$ac_cpp_err"; then
9670 ac_header_preproc=yes
9672 echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.$ac_ext >&5
9675 ac_header_preproc=no
9677 rm -f conftest.err conftest.$ac_ext
9678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9679 echo "${ECHO_T}$ac_header_preproc" >&6
9681 # So? What about this header?
9682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9684 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9685 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9686 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9687 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9688 ac_header_preproc=yes
9691 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9692 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9693 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9694 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9695 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9696 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9697 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9698 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9699 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9700 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9701 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9702 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9705 ## ------------------------------------ ##
9706 ## Report this to wine-devel@winehq.org ##
9707 ## ------------------------------------ ##
9710 sed "s/^/$as_me: WARNING: /" >&2
9713 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9714 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9715 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9718 ac_cv_header_sane_sane_h=$ac_header_preproc
9720 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9721 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9724 if test $ac_cv_header_sane_sane_h = yes; then
9725 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9726 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9727 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9730 ac_check_lib_save_LIBS=$LIBS
9732 cat >conftest.$ac_ext <<_ACEOF
9735 cat confdefs.h >>conftest.$ac_ext
9736 cat >>conftest.$ac_ext <<_ACEOF
9737 /* end confdefs.h. */
9739 /* Override any gcc2 internal prototype to avoid an error. */
9743 /* We use char because int might match the return type of a gcc2
9744 builtin and then its argument prototype would still apply. */
9754 rm -f conftest.$ac_objext conftest$ac_exeext
9755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9756 (eval $ac_link) 2>conftest.er1
9758 grep -v '^ *+' conftest.er1 >conftest.err
9760 cat conftest.err >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); } &&
9763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; } &&
9769 { ac_try='test -s conftest$ac_exeext'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; }; then
9775 ac_cv_lib_sane_sane_open=yes
9777 echo "$as_me: failed program was:" >&5
9778 sed 's/^/| /' conftest.$ac_ext >&5
9780 ac_cv_lib_sane_sane_open=no
9782 rm -f conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 LIBS=$ac_check_lib_save_LIBS
9786 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9787 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9788 if test $ac_cv_lib_sane_sane_open = yes; then
9790 cat >>confdefs.h <<\_ACEOF
9805 LIBS="$ac_save_LIBS"
9806 CPPFLAGS="$ac_save_CPPFLAGS"
9812 for ac_header in unicode/ubidi.h
9814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9816 echo "$as_me:$LINENO: checking for $ac_header" >&5
9817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9819 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9824 # Is the header compilable?
9825 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9826 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9827 cat >conftest.$ac_ext <<_ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9833 $ac_includes_default
9834 #include <$ac_header>
9836 rm -f conftest.$ac_objext
9837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9838 (eval $ac_compile) 2>conftest.er1
9840 grep -v '^ *+' conftest.er1 >conftest.err
9842 cat conftest.err >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } &&
9845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); }; } &&
9851 { ac_try='test -s conftest.$ac_objext'
9852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; }; then
9857 ac_header_compiler=yes
9859 echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.$ac_ext >&5
9862 ac_header_compiler=no
9864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9866 echo "${ECHO_T}$ac_header_compiler" >&6
9868 # Is the header present?
9869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9871 cat >conftest.$ac_ext <<_ACEOF
9874 cat confdefs.h >>conftest.$ac_ext
9875 cat >>conftest.$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9877 #include <$ac_header>
9879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9882 grep -v '^ *+' conftest.er1 >conftest.err
9884 cat conftest.err >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } >/dev/null; then
9887 if test -s conftest.err; then
9888 ac_cpp_err=$ac_c_preproc_warn_flag
9889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9896 if test -z "$ac_cpp_err"; then
9897 ac_header_preproc=yes
9899 echo "$as_me: failed program was:" >&5
9900 sed 's/^/| /' conftest.$ac_ext >&5
9902 ac_header_preproc=no
9904 rm -f conftest.err conftest.$ac_ext
9905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9906 echo "${ECHO_T}$ac_header_preproc" >&6
9908 # So? What about this header?
9909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9915 ac_header_preproc=yes
9918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9932 ## ------------------------------------ ##
9933 ## Report this to wine-devel@winehq.org ##
9934 ## ------------------------------------ ##
9937 sed "s/^/$as_me: WARNING: /" >&2
9940 echo "$as_me:$LINENO: checking for $ac_header" >&5
9941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 eval "$as_ac_Header=\$ac_header_preproc"
9947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9952 cat >>confdefs.h <<_ACEOF
9953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9960 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9963 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9964 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9965 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9966 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9967 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9968 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9969 cat >conftest.$ac_ext <<_ACEOF
9972 cat confdefs.h >>conftest.$ac_ext
9973 cat >>conftest.$ac_ext <<_ACEOF
9974 /* end confdefs.h. */
9975 #include <unicode/ubidi.h>
9984 rm -f conftest.$ac_objext conftest$ac_exeext
9985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9986 (eval $ac_link) 2>conftest.er1
9988 grep -v '^ *+' conftest.er1 >conftest.err
9990 cat conftest.err >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); } &&
9993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); }; } &&
9999 { ac_try='test -s conftest$ac_exeext'
10000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 (eval $ac_try) 2>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); }; }; then
10006 cat >>confdefs.h <<\_ACEOF
10010 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10012 echo "$as_me:$LINENO: result: yes" >&5
10013 echo "${ECHO_T}yes" >&6
10015 echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.$ac_ext >&5
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10021 rm -f conftest.err conftest.$ac_objext \
10022 conftest$ac_exeext conftest.$ac_ext
10026 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10027 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10028 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10029 echo $ECHO_N "(cached) $ECHO_C" >&6
10031 ac_check_lib_save_LIBS=$LIBS
10032 LIBS="-lfreetype $X_LIBS $LIBS"
10033 cat >conftest.$ac_ext <<_ACEOF
10036 cat confdefs.h >>conftest.$ac_ext
10037 cat >>conftest.$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10040 /* Override any gcc2 internal prototype to avoid an error. */
10044 /* We use char because int might match the return type of a gcc2
10045 builtin and then its argument prototype would still apply. */
10046 char FT_Init_FreeType ();
10050 FT_Init_FreeType ();
10055 rm -f conftest.$ac_objext conftest$ac_exeext
10056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10057 (eval $ac_link) 2>conftest.er1
10059 grep -v '^ *+' conftest.er1 >conftest.err
10061 cat conftest.err >&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); } &&
10064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10066 (eval $ac_try) 2>&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); }; } &&
10070 { ac_try='test -s conftest$ac_exeext'
10071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10072 (eval $ac_try) 2>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); }; }; then
10076 ac_cv_lib_freetype_FT_Init_FreeType=yes
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10081 ac_cv_lib_freetype_FT_Init_FreeType=no
10083 rm -f conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10088 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10089 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10095 if test "$ft_lib" = "no"
10099 wine_cv_msg_freetype=no
10101 # Extract the first word of "freetype-config", so it can be a program name with args.
10102 set dummy freetype-config; ac_word=$2
10103 echo "$as_me:$LINENO: checking for $ac_word" >&5
10104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10105 if test "${ac_cv_prog_ft_devel+set}" = set; then
10106 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 if test -n "$ft_devel"; then
10109 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10112 for as_dir in $PATH
10115 test -z "$as_dir" && as_dir=.
10116 for ac_exec_ext in '' $ac_executable_extensions; do
10117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10118 ac_cv_prog_ft_devel="freetype-config"
10119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10125 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10128 ft_devel=$ac_cv_prog_ft_devel
10129 if test -n "$ft_devel"; then
10130 echo "$as_me:$LINENO: result: $ft_devel" >&5
10131 echo "${ECHO_T}$ft_devel" >&6
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10137 if test "$ft_devel" = "no"
10139 # Extract the first word of "freetype2-config", so it can be a program name with args.
10140 set dummy freetype2-config; ac_word=$2
10141 echo "$as_me:$LINENO: checking for $ac_word" >&5
10142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10143 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 if test -n "$ft_devel2"; then
10147 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10150 for as_dir in $PATH
10153 test -z "$as_dir" && as_dir=.
10154 for ac_exec_ext in '' $ac_executable_extensions; do
10155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10156 ac_cv_prog_ft_devel2="freetype2-config"
10157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10163 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10166 ft_devel2=$ac_cv_prog_ft_devel2
10167 if test -n "$ft_devel2"; then
10168 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10169 echo "${ECHO_T}$ft_devel2" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10175 if test "$ft_devel2" = "freetype2-config"
10177 ft_devel=$ft_devel2
10180 if test "$ft_devel" = "no"
10184 wine_cv_msg_freetype=yes
10186 FREETYPELIBS=`$ft_devel --libs`
10187 FREETYPEINCL=`$ft_devel --cflags`
10188 ac_save_CPPFLAGS="$CPPFLAGS"
10189 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10200 for ac_header in ft2build.h \
10201 freetype/freetype.h \
10202 freetype/ftglyph.h \
10203 freetype/tttables.h \
10204 freetype/ftnames.h \
10205 freetype/ftsnames.h \
10206 freetype/ttnameid.h \
10207 freetype/ftoutln.h \
10208 freetype/ftwinfnt.h \
10209 freetype/internal/sfnt.h
10211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10212 echo "$as_me:$LINENO: checking for $ac_header" >&5
10213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10217 cat >conftest.$ac_ext <<_ACEOF
10220 cat confdefs.h >>conftest.$ac_ext
10221 cat >>conftest.$ac_ext <<_ACEOF
10222 /* end confdefs.h. */
10223 #if HAVE_FT2BUILD_H
10224 #include <ft2build.h>
10227 #include <$ac_header>
10229 rm -f conftest.$ac_objext
10230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10231 (eval $ac_compile) 2>conftest.er1
10233 grep -v '^ *+' conftest.er1 >conftest.err
10235 cat conftest.err >&5
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); } &&
10238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10240 (eval $ac_try) 2>&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); }; } &&
10244 { ac_try='test -s conftest.$ac_objext'
10245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10246 (eval $ac_try) 2>&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); }; }; then
10250 eval "$as_ac_Header=yes"
10252 echo "$as_me: failed program was:" >&5
10253 sed 's/^/| /' conftest.$ac_ext >&5
10255 eval "$as_ac_Header=no"
10257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10262 cat >>confdefs.h <<_ACEOF
10263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10270 cat >conftest.$ac_ext <<_ACEOF
10273 cat confdefs.h >>conftest.$ac_ext
10274 cat >>conftest.$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10276 #include <ft2build.h>
10277 #include <freetype/fttrigon.h>
10279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10282 grep -v '^ *+' conftest.er1 >conftest.err
10284 cat conftest.err >&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); } >/dev/null; then
10287 if test -s conftest.err; then
10288 ac_cpp_err=$ac_c_preproc_warn_flag
10289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10296 if test -z "$ac_cpp_err"; then
10298 cat >>confdefs.h <<\_ACEOF
10299 #define HAVE_FREETYPE_FTTRIGON_H 1
10302 wine_cv_fttrigon=yes
10304 echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.$ac_ext >&5
10307 wine_cv_fttrigon=no
10309 rm -f conftest.err conftest.$ac_ext
10310 CPPFLAGS="$ac_save_CPPFLAGS"
10311 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10314 cat >>confdefs.h <<\_ACEOF
10315 #define HAVE_FREETYPE 1
10318 wine_cv_msg_freetype=no
10322 wine_cv_msg_freetype=yes
10329 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10331 FONTSSUBDIRS="fonts"
10335 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10336 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10337 if test "${ac_cv_c_ppdev+set}" = set; then
10338 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 cat >conftest.$ac_ext <<_ACEOF
10343 cat confdefs.h >>conftest.$ac_ext
10344 cat >>conftest.$ac_ext <<_ACEOF
10345 /* end confdefs.h. */
10346 #include <linux/ppdev.h>
10350 ioctl (1,PPCLAIM,0)
10355 rm -f conftest.$ac_objext
10356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10357 (eval $ac_compile) 2>conftest.er1
10359 grep -v '^ *+' conftest.er1 >conftest.err
10361 cat conftest.err >&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); } &&
10364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 (eval $ac_try) 2>&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; } &&
10370 { ac_try='test -s conftest.$ac_objext'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; }; then
10376 ac_cv_c_ppdev="yes"
10378 echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.$ac_ext >&5
10383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10386 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10387 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10388 if test "$ac_cv_c_ppdev" = "yes"
10391 cat >>confdefs.h <<\_ACEOF
10392 #define HAVE_PPDEV 1
10397 echo "$as_me:$LINENO: checking for va_copy" >&5
10398 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10399 if test "${ac_cv_c_va_copy+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 cat >conftest.$ac_ext <<_ACEOF
10405 cat confdefs.h >>conftest.$ac_ext
10406 cat >>conftest.$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 #include <stdarg.h>
10419 rm -f conftest.$ac_objext conftest$ac_exeext
10420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421 (eval $ac_link) 2>conftest.er1
10423 grep -v '^ *+' conftest.er1 >conftest.err
10425 cat conftest.err >&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); } &&
10428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10430 (eval $ac_try) 2>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); }; } &&
10434 { ac_try='test -s conftest$ac_exeext'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; }; then
10440 ac_cv_c_va_copy="yes"
10442 echo "$as_me: failed program was:" >&5
10443 sed 's/^/| /' conftest.$ac_ext >&5
10445 ac_cv_c_va_copy="no"
10447 rm -f conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10451 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10452 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10453 if test "$ac_cv_c_va_copy" = "yes"
10456 cat >>confdefs.h <<\_ACEOF
10457 #define HAVE_VA_COPY 1
10461 echo "$as_me:$LINENO: checking for __va_copy" >&5
10462 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10463 if test "${ac_cv_c___va_copy+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 cat >conftest.$ac_ext <<_ACEOF
10469 cat confdefs.h >>conftest.$ac_ext
10470 cat >>conftest.$ac_ext <<_ACEOF
10471 /* end confdefs.h. */
10472 #include <stdarg.h>
10477 __va_copy(ap1,ap2);
10483 rm -f conftest.$ac_objext conftest$ac_exeext
10484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10485 (eval $ac_link) 2>conftest.er1
10487 grep -v '^ *+' conftest.er1 >conftest.err
10489 cat conftest.err >&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } &&
10492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; } &&
10498 { ac_try='test -s conftest$ac_exeext'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; }; then
10504 ac_cv_c___va_copy="yes"
10506 echo "$as_me: failed program was:" >&5
10507 sed 's/^/| /' conftest.$ac_ext >&5
10509 ac_cv_c___va_copy="no"
10511 rm -f conftest.err conftest.$ac_objext \
10512 conftest$ac_exeext conftest.$ac_ext
10515 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10516 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10517 if test "$ac_cv_c___va_copy" = "yes"
10520 cat >>confdefs.h <<\_ACEOF
10521 #define HAVE___VA_COPY 1
10526 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10527 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10528 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 cat >conftest.$ac_ext <<_ACEOF
10534 cat confdefs.h >>conftest.$ac_ext
10535 cat >>conftest.$ac_ext <<_ACEOF
10536 /* end confdefs.h. */
10537 #include <setjmp.h>
10542 sigsetjmp( buf, 1 );
10543 siglongjmp( buf, 1 );
10548 rm -f conftest.$ac_objext conftest$ac_exeext
10549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10550 (eval $ac_link) 2>conftest.er1
10552 grep -v '^ *+' conftest.er1 >conftest.err
10554 cat conftest.err >&5
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; } &&
10563 { ac_try='test -s conftest$ac_exeext'
10564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565 (eval $ac_try) 2>&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); }; }; then
10569 ac_cv_c_sigsetjmp="yes"
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.$ac_ext >&5
10574 ac_cv_c_sigsetjmp="no"
10576 rm -f conftest.err conftest.$ac_objext \
10577 conftest$ac_exeext conftest.$ac_ext
10580 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10581 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10582 if test "$ac_cv_c_sigsetjmp" = "yes"
10585 cat >>confdefs.h <<\_ACEOF
10586 #define HAVE_SIGSETJMP 1
10591 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10592 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10593 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10594 echo $ECHO_N "(cached) $ECHO_C" >&6
10596 cat >conftest.$ac_ext <<_ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10602 #define _GNU_SOURCE
10603 #include <pthread.h>
10608 if ((pthread_rwlock_t *) 0)
10610 if (sizeof (pthread_rwlock_t))
10616 rm -f conftest.$ac_objext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10618 (eval $ac_compile) 2>conftest.er1
10620 grep -v '^ *+' conftest.er1 >conftest.err
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } &&
10625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } &&
10631 { ac_try='test -s conftest.$ac_objext'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then
10637 ac_cv_type_pthread_rwlock_t=yes
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.$ac_ext >&5
10642 ac_cv_type_pthread_rwlock_t=no
10644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10646 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10647 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10648 if test $ac_cv_type_pthread_rwlock_t = yes; then
10650 cat >>confdefs.h <<_ACEOF
10651 #define HAVE_PTHREAD_RWLOCK_T 1
10656 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10657 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10658 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10659 echo $ECHO_N "(cached) $ECHO_C" >&6
10661 cat >conftest.$ac_ext <<_ACEOF
10664 cat confdefs.h >>conftest.$ac_ext
10665 cat >>conftest.$ac_ext <<_ACEOF
10666 /* end confdefs.h. */
10667 #define _GNU_SOURCE
10668 #include <pthread.h>
10673 if ((pthread_rwlockattr_t *) 0)
10675 if (sizeof (pthread_rwlockattr_t))
10681 rm -f conftest.$ac_objext
10682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10683 (eval $ac_compile) 2>conftest.er1
10685 grep -v '^ *+' conftest.er1 >conftest.err
10687 cat conftest.err >&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } &&
10690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10692 (eval $ac_try) 2>&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); }; } &&
10696 { ac_try='test -s conftest.$ac_objext'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; }; then
10702 ac_cv_type_pthread_rwlockattr_t=yes
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10707 ac_cv_type_pthread_rwlockattr_t=no
10709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10711 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10712 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10713 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10715 cat >>confdefs.h <<_ACEOF
10716 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10723 ac_save_LIBS="$LIBS"
10724 LIBS="$LIBS $LIBPTHREAD"
10729 pthread_getattr_np \
10730 pthread_get_stackaddr_np \
10731 pthread_get_stacksize_np \
10734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10735 echo "$as_me:$LINENO: checking for $ac_func" >&5
10736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10737 if eval "test \"\${$as_ac_var+set}\" = set"; then
10738 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 cat >conftest.$ac_ext <<_ACEOF
10743 cat confdefs.h >>conftest.$ac_ext
10744 cat >>conftest.$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10748 #define $ac_func innocuous_$ac_func
10750 /* System header to define __stub macros and hopefully few prototypes,
10751 which can conflict with char $ac_func (); below.
10752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10753 <limits.h> exists even on freestanding compilers. */
10756 # include <limits.h>
10758 # include <assert.h>
10763 /* Override any gcc2 internal prototype to avoid an error. */
10768 /* We use char because int might match the return type of a gcc2
10769 builtin and then its argument prototype would still apply. */
10771 /* The GNU C library defines this for functions which it implements
10772 to always fail with ENOSYS. Some functions are actually named
10773 something starting with __ and the normal name is an alias. */
10774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10777 char (*f) () = $ac_func;
10786 return f != $ac_func;
10791 rm -f conftest.$ac_objext conftest$ac_exeext
10792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10793 (eval $ac_link) 2>conftest.er1
10795 grep -v '^ *+' conftest.er1 >conftest.err
10797 cat conftest.err >&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); } &&
10800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; } &&
10806 { ac_try='test -s conftest$ac_exeext'
10807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10808 (eval $ac_try) 2>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); }; }; then
10812 eval "$as_ac_var=yes"
10814 echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.$ac_ext >&5
10817 eval "$as_ac_var=no"
10819 rm -f conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10824 if test `eval echo '${'$as_ac_var'}'` = yes; then
10825 cat >>confdefs.h <<_ACEOF
10826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10832 LIBS="$ac_save_LIBS"
10837 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
10839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10841 echo "$as_me:$LINENO: checking for $ac_header" >&5
10842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10849 # Is the header compilable?
10850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10852 cat >conftest.$ac_ext <<_ACEOF
10855 cat confdefs.h >>conftest.$ac_ext
10856 cat >>conftest.$ac_ext <<_ACEOF
10857 /* end confdefs.h. */
10858 $ac_includes_default
10859 #include <$ac_header>
10861 rm -f conftest.$ac_objext
10862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10863 (eval $ac_compile) 2>conftest.er1
10865 grep -v '^ *+' conftest.er1 >conftest.err
10867 cat conftest.err >&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); } &&
10870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10872 (eval $ac_try) 2>&5
10874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875 (exit $ac_status); }; } &&
10876 { ac_try='test -s conftest.$ac_objext'
10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878 (eval $ac_try) 2>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); }; }; then
10882 ac_header_compiler=yes
10884 echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.$ac_ext >&5
10887 ac_header_compiler=no
10889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10890 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10891 echo "${ECHO_T}$ac_header_compiler" >&6
10893 # Is the header present?
10894 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10895 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10896 cat >conftest.$ac_ext <<_ACEOF
10899 cat confdefs.h >>conftest.$ac_ext
10900 cat >>conftest.$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10902 #include <$ac_header>
10904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10907 grep -v '^ *+' conftest.er1 >conftest.err
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } >/dev/null; then
10912 if test -s conftest.err; then
10913 ac_cpp_err=$ac_c_preproc_warn_flag
10914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10921 if test -z "$ac_cpp_err"; then
10922 ac_header_preproc=yes
10924 echo "$as_me: failed program was:" >&5
10925 sed 's/^/| /' conftest.$ac_ext >&5
10927 ac_header_preproc=no
10929 rm -f conftest.err conftest.$ac_ext
10930 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10931 echo "${ECHO_T}$ac_header_preproc" >&6
10933 # So? What about this header?
10934 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10937 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10939 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10940 ac_header_preproc=yes
10943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10948 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10950 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10954 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10957 ## ------------------------------------ ##
10958 ## Report this to wine-devel@winehq.org ##
10959 ## ------------------------------------ ##
10962 sed "s/^/$as_me: WARNING: /" >&2
10965 echo "$as_me:$LINENO: checking for $ac_header" >&5
10966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 eval "$as_ac_Header=\$ac_header_preproc"
10972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10977 cat >>confdefs.h <<_ACEOF
10978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10986 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10987 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10988 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 cat >conftest.$ac_ext <<_ACEOF
10994 cat confdefs.h >>conftest.$ac_ext
10995 cat >>conftest.$ac_ext <<_ACEOF
10996 /* end confdefs.h. */
10998 #if defined(HAVE_SYS_SOUNDCARD_H)
10999 #include <sys/soundcard.h>
11000 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11001 #include <machine/soundcard.h>
11002 #elif defined(HAVE_SOUNDCARD_H)
11003 #include <soundcard.h>
11011 /* check for one of the Open Sound System specific SNDCTL_ defines */
11012 #if !defined(SNDCTL_DSP_STEREO)
11013 #error No open sound system
11020 rm -f conftest.$ac_objext
11021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11022 (eval $ac_compile) 2>conftest.er1
11024 grep -v '^ *+' conftest.er1 >conftest.err
11026 cat conftest.err >&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } &&
11029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11031 (eval $ac_try) 2>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); }; } &&
11035 { ac_try='test -s conftest.$ac_objext'
11036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11037 (eval $ac_try) 2>&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); }; }; then
11041 ac_cv_c_opensoundsystem="yes"
11043 echo "$as_me: failed program was:" >&5
11044 sed 's/^/| /' conftest.$ac_ext >&5
11046 ac_cv_c_opensoundsystem="no"
11048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11050 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11051 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11053 if test "$ac_cv_c_opensoundsystem" = "yes"
11056 cat >>confdefs.h <<\_ACEOF
11062 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11063 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11064 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11065 echo $ECHO_N "(cached) $ECHO_C" >&6
11067 cat >conftest.$ac_ext <<_ACEOF
11070 cat confdefs.h >>conftest.$ac_ext
11071 cat >>conftest.$ac_ext <<_ACEOF
11072 /* end confdefs.h. */
11074 #if defined(HAVE_SYS_SOUNDCARD_H)
11075 #include <sys/soundcard.h>
11076 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11077 #include <machine/soundcard.h>
11078 #elif defined(HAVE_SOUNDCARD_H)
11079 #include <soundcard.h>
11087 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11088 #if !defined(SNDCTL_SEQ_SYNC)
11089 #error No open sound system MIDI interface
11096 rm -f conftest.$ac_objext
11097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11098 (eval $ac_compile) 2>conftest.er1
11100 grep -v '^ *+' conftest.er1 >conftest.err
11102 cat conftest.err >&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } &&
11105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107 (eval $ac_try) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }; } &&
11111 { ac_try='test -s conftest.$ac_objext'
11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 (eval $ac_try) 2>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); }; }; then
11117 ac_cv_c_opensoundsystem_midi="yes"
11119 echo "$as_me: failed program was:" >&5
11120 sed 's/^/| /' conftest.$ac_ext >&5
11122 ac_cv_c_opensoundsystem_midi="no"
11124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11126 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11127 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11129 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11132 cat >>confdefs.h <<\_ACEOF
11133 #define HAVE_OSS_MIDI 1
11138 # Extract the first word of "artsc-config", so it can be a program name with args.
11139 set dummy artsc-config; ac_word=$2
11140 echo "$as_me:$LINENO: checking for $ac_word" >&5
11141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11142 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 case $ARTSCCONFIG in
11147 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11151 for as_dir in $PATH
11154 test -z "$as_dir" && as_dir=.
11155 for ac_exec_ext in '' $ac_executable_extensions; do
11156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11157 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11167 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11169 if test -n "$ARTSCCONFIG"; then
11170 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11171 echo "${ECHO_T}$ARTSCCONFIG" >&6
11173 echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6
11177 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11180 for i in `$ARTSCCONFIG --cflags`
11183 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11186 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11187 save_CFLAGS="$CFLAGS"
11188 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11189 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11190 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11191 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lartsc $LIBS"
11196 cat >conftest.$ac_ext <<_ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11203 /* Override any gcc2 internal prototype to avoid an error. */
11207 /* We use char because int might match the return type of a gcc2
11208 builtin and then its argument prototype would still apply. */
11218 rm -f conftest.$ac_objext conftest$ac_exeext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11220 (eval $ac_link) 2>conftest.er1
11222 grep -v '^ *+' conftest.er1 >conftest.err
11224 cat conftest.err >&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; } &&
11233 { ac_try='test -s conftest$ac_exeext'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; }; then
11239 ac_cv_lib_artsc_arts_init=yes
11241 echo "$as_me: failed program was:" >&5
11242 sed 's/^/| /' conftest.$ac_ext >&5
11244 ac_cv_lib_artsc_arts_init=no
11246 rm -f conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11251 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
11252 if test $ac_cv_lib_artsc_arts_init = yes; then
11253 cat >conftest.$ac_ext <<_ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11263 arts_stream_t stream;
11268 rm -f conftest.$ac_objext
11269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11270 (eval $ac_compile) 2>conftest.er1
11272 grep -v '^ *+' conftest.er1 >conftest.err
11274 cat conftest.err >&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); } &&
11277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11279 (eval $ac_try) 2>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }; } &&
11283 { ac_try='test -s conftest.$ac_objext'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; }; then
11289 ARTSLIBS=$ARTSC_LIBS
11291 ARTSINCL=$ARTSC_CFLAGS
11294 cat >>confdefs.h <<\_ACEOF
11295 #define HAVE_ARTS 1
11299 echo "$as_me: failed program was:" >&5
11300 sed 's/^/| /' conftest.$ac_ext >&5
11303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11306 CFLAGS="$save_CFLAGS"
11313 for ac_header in alsa/asoundlib.h sys/asoundlib.h
11315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11317 echo "$as_me:$LINENO: checking for $ac_header" >&5
11318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11325 # Is the header compilable?
11326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11328 cat >conftest.$ac_ext <<_ACEOF
11331 cat confdefs.h >>conftest.$ac_ext
11332 cat >>conftest.$ac_ext <<_ACEOF
11333 /* end confdefs.h. */
11334 $ac_includes_default
11335 #include <$ac_header>
11337 rm -f conftest.$ac_objext
11338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11339 (eval $ac_compile) 2>conftest.er1
11341 grep -v '^ *+' conftest.er1 >conftest.err
11343 cat conftest.err >&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); } &&
11346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11348 (eval $ac_try) 2>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); }; } &&
11352 { ac_try='test -s conftest.$ac_objext'
11353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11354 (eval $ac_try) 2>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }; }; then
11358 ac_header_compiler=yes
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11363 ac_header_compiler=no
11365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11367 echo "${ECHO_T}$ac_header_compiler" >&6
11369 # Is the header present?
11370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11372 cat >conftest.$ac_ext <<_ACEOF
11375 cat confdefs.h >>conftest.$ac_ext
11376 cat >>conftest.$ac_ext <<_ACEOF
11377 /* end confdefs.h. */
11378 #include <$ac_header>
11380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1 >conftest.err
11385 cat conftest.err >&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } >/dev/null; then
11388 if test -s conftest.err; then
11389 ac_cpp_err=$ac_c_preproc_warn_flag
11390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11397 if test -z "$ac_cpp_err"; then
11398 ac_header_preproc=yes
11400 echo "$as_me: failed program was:" >&5
11401 sed 's/^/| /' conftest.$ac_ext >&5
11403 ac_header_preproc=no
11405 rm -f conftest.err conftest.$ac_ext
11406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11407 echo "${ECHO_T}$ac_header_preproc" >&6
11409 # So? What about this header?
11410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11416 ac_header_preproc=yes
11419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11433 ## ------------------------------------ ##
11434 ## Report this to wine-devel@winehq.org ##
11435 ## ------------------------------------ ##
11438 sed "s/^/$as_me: WARNING: /" >&2
11441 echo "$as_me:$LINENO: checking for $ac_header" >&5
11442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11444 echo $ECHO_N "(cached) $ECHO_C" >&6
11446 eval "$as_ac_Header=\$ac_header_preproc"
11448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11453 cat >>confdefs.h <<_ACEOF
11454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11461 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11463 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11464 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
11465 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11466 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 ac_check_lib_save_LIBS=$LIBS
11469 LIBS="-lasound $LIBS"
11470 cat >conftest.$ac_ext <<_ACEOF
11473 cat confdefs.h >>conftest.$ac_ext
11474 cat >>conftest.$ac_ext <<_ACEOF
11475 /* end confdefs.h. */
11477 /* Override any gcc2 internal prototype to avoid an error. */
11481 /* We use char because int might match the return type of a gcc2
11482 builtin and then its argument prototype would still apply. */
11483 char snd_pcm_hw_params_get_access ();
11487 snd_pcm_hw_params_get_access ();
11492 rm -f conftest.$ac_objext conftest$ac_exeext
11493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11494 (eval $ac_link) 2>conftest.er1
11496 grep -v '^ *+' conftest.er1 >conftest.err
11498 cat conftest.err >&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); } &&
11501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11503 (eval $ac_try) 2>&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); }; } &&
11507 { ac_try='test -s conftest$ac_exeext'
11508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11509 (eval $ac_try) 2>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); }; }; then
11513 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11515 echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.$ac_ext >&5
11518 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11520 rm -f conftest.err conftest.$ac_objext \
11521 conftest$ac_exeext conftest.$ac_ext
11522 LIBS=$ac_check_lib_save_LIBS
11524 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11525 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
11526 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11527 cat >conftest.$ac_ext <<_ACEOF
11530 cat confdefs.h >>conftest.$ac_ext
11531 cat >>conftest.$ac_ext <<_ACEOF
11532 /* end confdefs.h. */
11533 #ifdef HAVE_ALSA_ASOUNDLIB_H
11534 #include <alsa/asoundlib.h>
11535 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11536 #include <sys/asoundlib.h>
11541 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11546 rm -f conftest.$ac_objext
11547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11548 (eval $ac_compile) 2>conftest.er1
11550 grep -v '^ *+' conftest.er1 >conftest.err
11552 cat conftest.err >&5
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); } &&
11555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; } &&
11561 { ac_try='test -s conftest.$ac_objext'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; }; then
11568 cat >>confdefs.h <<\_ACEOF
11569 #define HAVE_ALSA 1
11572 ALSALIBS="-lasound"
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11587 for ac_header in libaudioio.h
11589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11591 echo "$as_me:$LINENO: checking for $ac_header" >&5
11592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11599 # Is the header compilable?
11600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11602 cat >conftest.$ac_ext <<_ACEOF
11605 cat confdefs.h >>conftest.$ac_ext
11606 cat >>conftest.$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 $ac_includes_default
11609 #include <$ac_header>
11611 rm -f conftest.$ac_objext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11613 (eval $ac_compile) 2>conftest.er1
11615 grep -v '^ *+' conftest.er1 >conftest.err
11617 cat conftest.err >&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } &&
11620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; } &&
11626 { ac_try='test -s conftest.$ac_objext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11632 ac_header_compiler=yes
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.$ac_ext >&5
11637 ac_header_compiler=no
11639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11641 echo "${ECHO_T}$ac_header_compiler" >&6
11643 # Is the header present?
11644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11646 cat >conftest.$ac_ext <<_ACEOF
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11652 #include <$ac_header>
11654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11657 grep -v '^ *+' conftest.er1 >conftest.err
11659 cat conftest.err >&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } >/dev/null; then
11662 if test -s conftest.err; then
11663 ac_cpp_err=$ac_c_preproc_warn_flag
11664 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11671 if test -z "$ac_cpp_err"; then
11672 ac_header_preproc=yes
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11677 ac_header_preproc=no
11679 rm -f conftest.err conftest.$ac_ext
11680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11681 echo "${ECHO_T}$ac_header_preproc" >&6
11683 # So? What about this header?
11684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11690 ac_header_preproc=yes
11693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11707 ## ------------------------------------ ##
11708 ## Report this to wine-devel@winehq.org ##
11709 ## ------------------------------------ ##
11712 sed "s/^/$as_me: WARNING: /" >&2
11715 echo "$as_me:$LINENO: checking for $ac_header" >&5
11716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11720 eval "$as_ac_Header=\$ac_header_preproc"
11722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11727 cat >>confdefs.h <<_ACEOF
11728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11730 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11731 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11732 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 ac_check_lib_save_LIBS=$LIBS
11736 LIBS="-laudioio $LIBS"
11737 cat >conftest.$ac_ext <<_ACEOF
11740 cat confdefs.h >>conftest.$ac_ext
11741 cat >>conftest.$ac_ext <<_ACEOF
11742 /* end confdefs.h. */
11744 /* Override any gcc2 internal prototype to avoid an error. */
11748 /* We use char because int might match the return type of a gcc2
11749 builtin and then its argument prototype would still apply. */
11750 char AudioIOGetVersion ();
11754 AudioIOGetVersion ();
11759 rm -f conftest.$ac_objext conftest$ac_exeext
11760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11761 (eval $ac_link) 2>conftest.er1
11763 grep -v '^ *+' conftest.er1 >conftest.err
11765 cat conftest.err >&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); } &&
11768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11770 (eval $ac_try) 2>&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); }; } &&
11774 { ac_try='test -s conftest$ac_exeext'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; }; then
11780 ac_cv_lib_audioio_AudioIOGetVersion=yes
11782 echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.$ac_ext >&5
11785 ac_cv_lib_audioio_AudioIOGetVersion=no
11787 rm -f conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_lib_save_LIBS
11791 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11792 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11793 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11794 AUDIOIOLIBS="-laudioio"
11796 cat >>confdefs.h <<\_ACEOF
11797 #define HAVE_LIBAUDIOIO 1
11809 for ac_header in capi20.h
11811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11813 echo "$as_me:$LINENO: checking for $ac_header" >&5
11814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11816 echo $ECHO_N "(cached) $ECHO_C" >&6
11818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11821 # Is the header compilable?
11822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11824 cat >conftest.$ac_ext <<_ACEOF
11827 cat confdefs.h >>conftest.$ac_ext
11828 cat >>conftest.$ac_ext <<_ACEOF
11829 /* end confdefs.h. */
11830 $ac_includes_default
11831 #include <$ac_header>
11833 rm -f conftest.$ac_objext
11834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11835 (eval $ac_compile) 2>conftest.er1
11837 grep -v '^ *+' conftest.er1 >conftest.err
11839 cat conftest.err >&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); } &&
11842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; } &&
11848 { ac_try='test -s conftest.$ac_objext'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; }; then
11854 ac_header_compiler=yes
11856 echo "$as_me: failed program was:" >&5
11857 sed 's/^/| /' conftest.$ac_ext >&5
11859 ac_header_compiler=no
11861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11863 echo "${ECHO_T}$ac_header_compiler" >&6
11865 # Is the header present?
11866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11868 cat >conftest.$ac_ext <<_ACEOF
11871 cat confdefs.h >>conftest.$ac_ext
11872 cat >>conftest.$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11874 #include <$ac_header>
11876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11879 grep -v '^ *+' conftest.er1 >conftest.err
11881 cat conftest.err >&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } >/dev/null; then
11884 if test -s conftest.err; then
11885 ac_cpp_err=$ac_c_preproc_warn_flag
11886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11893 if test -z "$ac_cpp_err"; then
11894 ac_header_preproc=yes
11896 echo "$as_me: failed program was:" >&5
11897 sed 's/^/| /' conftest.$ac_ext >&5
11899 ac_header_preproc=no
11901 rm -f conftest.err conftest.$ac_ext
11902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11903 echo "${ECHO_T}$ac_header_preproc" >&6
11905 # So? What about this header?
11906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11912 ac_header_preproc=yes
11915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11929 ## ------------------------------------ ##
11930 ## Report this to wine-devel@winehq.org ##
11931 ## ------------------------------------ ##
11934 sed "s/^/$as_me: WARNING: /" >&2
11937 echo "$as_me:$LINENO: checking for $ac_header" >&5
11938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11942 eval "$as_ac_Header=\$ac_header_preproc"
11944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11949 cat >>confdefs.h <<_ACEOF
11950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11954 for ac_header in linux/capi.h
11956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11958 echo "$as_me:$LINENO: checking for $ac_header" >&5
11959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11966 # Is the header compilable?
11967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11969 cat >conftest.$ac_ext <<_ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11975 $ac_includes_default
11976 #include <$ac_header>
11978 rm -f conftest.$ac_objext
11979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11980 (eval $ac_compile) 2>conftest.er1
11982 grep -v '^ *+' conftest.er1 >conftest.err
11984 cat conftest.err >&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); } &&
11987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11989 (eval $ac_try) 2>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); }; } &&
11993 { ac_try='test -s conftest.$ac_objext'
11994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11995 (eval $ac_try) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; }; then
11999 ac_header_compiler=yes
12001 echo "$as_me: failed program was:" >&5
12002 sed 's/^/| /' conftest.$ac_ext >&5
12004 ac_header_compiler=no
12006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12008 echo "${ECHO_T}$ac_header_compiler" >&6
12010 # Is the header present?
12011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12013 cat >conftest.$ac_ext <<_ACEOF
12016 cat confdefs.h >>conftest.$ac_ext
12017 cat >>conftest.$ac_ext <<_ACEOF
12018 /* end confdefs.h. */
12019 #include <$ac_header>
12021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12024 grep -v '^ *+' conftest.er1 >conftest.err
12026 cat conftest.err >&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } >/dev/null; then
12029 if test -s conftest.err; then
12030 ac_cpp_err=$ac_c_preproc_warn_flag
12031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12038 if test -z "$ac_cpp_err"; then
12039 ac_header_preproc=yes
12041 echo "$as_me: failed program was:" >&5
12042 sed 's/^/| /' conftest.$ac_ext >&5
12044 ac_header_preproc=no
12046 rm -f conftest.err conftest.$ac_ext
12047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12048 echo "${ECHO_T}$ac_header_preproc" >&6
12050 # So? What about this header?
12051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12057 ac_header_preproc=yes
12060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12074 ## ------------------------------------ ##
12075 ## Report this to wine-devel@winehq.org ##
12076 ## ------------------------------------ ##
12079 sed "s/^/$as_me: WARNING: /" >&2
12082 echo "$as_me:$LINENO: checking for $ac_header" >&5
12083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12085 echo $ECHO_N "(cached) $ECHO_C" >&6
12087 eval "$as_ac_Header=\$ac_header_preproc"
12089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12094 cat >>confdefs.h <<_ACEOF
12095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12098 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12099 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12100 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12101 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 ac_check_lib_save_LIBS=$LIBS
12104 LIBS="-lcapi20 $LIBS"
12105 cat >conftest.$ac_ext <<_ACEOF
12108 cat confdefs.h >>conftest.$ac_ext
12109 cat >>conftest.$ac_ext <<_ACEOF
12110 /* end confdefs.h. */
12112 /* Override any gcc2 internal prototype to avoid an error. */
12116 /* We use char because int might match the return type of a gcc2
12117 builtin and then its argument prototype would still apply. */
12118 char capi20_register ();
12122 capi20_register ();
12127 rm -f conftest.$ac_objext conftest$ac_exeext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12129 (eval $ac_link) 2>conftest.er1
12131 grep -v '^ *+' conftest.er1 >conftest.err
12133 cat conftest.err >&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } &&
12136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; } &&
12142 { ac_try='test -s conftest$ac_exeext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 ac_cv_lib_capi20_capi20_register=yes
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.$ac_ext >&5
12153 ac_cv_lib_capi20_capi20_register=no
12155 rm -f conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_lib_save_LIBS
12159 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12160 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12161 if test $ac_cv_lib_capi20_capi20_register = yes; then
12164 cat >>confdefs.h <<\_ACEOF
12165 #define HAVE_CAPI4LINUX 1
12183 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12184 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12185 if test "${ac_cv_mmap64_works+set}" = set; then
12186 echo $ECHO_N "(cached) $ECHO_C" >&6
12188 if test "$cross_compiling" = yes; then
12189 ac_cv_mmap64_works="no"
12191 cat >conftest.$ac_ext <<_ACEOF
12194 cat confdefs.h >>conftest.$ac_ext
12195 cat >>conftest.$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12198 #define _FILE_OFFSET_BITS 64
12200 #include <unistd.h>
12202 #include <sys/mman.h>
12205 int main(int argc,char **argv) {
12206 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12207 if (fd == -1) exit(1);
12209 unlink("conftest.map");
12211 write(fd,"test",4);
12213 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12219 fprintf(stderr,"success!\n");
12225 rm -f conftest$ac_exeext
12226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12227 (eval $ac_link) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 ac_cv_mmap64_works="yes"
12238 echo "$as_me: program exited with status $ac_status" >&5
12239 echo "$as_me: failed program was:" >&5
12240 sed 's/^/| /' conftest.$ac_ext >&5
12242 ( exit $ac_status )
12243 ac_cv_mmap64_works="no"
12245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12248 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12249 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12251 if test "$ac_cv_mmap64_works" = "yes"
12254 cat >>confdefs.h <<\_ACEOF
12255 #define _FILE_OFFSET_BITS 64
12263 if test "x${GCC}" = "xyes"
12265 EXTRACFLAGS="-Wall -pipe"
12267 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12268 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12269 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 if test "$cross_compiling" = yes; then
12273 ac_cv_c_gcc_strength_bug="yes"
12275 cat >conftest.$ac_ext <<_ACEOF
12278 cat confdefs.h >>conftest.$ac_ext
12279 cat >>conftest.$ac_ext <<_ACEOF
12280 /* end confdefs.h. */
12282 int L[4] = {0,1,2,3};
12284 static int Array[3];
12285 unsigned int B = 3;
12287 for(i=0; i<B; i++) Array[i] = i - 3;
12288 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12291 exit( Array[1] != -2 || L[2] != 3);
12294 rm -f conftest$ac_exeext
12295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12296 (eval $ac_link) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12301 (eval $ac_try) 2>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; }; then
12305 ac_cv_c_gcc_strength_bug="no"
12307 echo "$as_me: program exited with status $ac_status" >&5
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12311 ( exit $ac_status )
12312 ac_cv_c_gcc_strength_bug="yes"
12314 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12317 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12318 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12319 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12321 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12324 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12325 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12326 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 ac_wine_try_cflags_saved=$CFLAGS
12330 CFLAGS="$CFLAGS -fshort-wchar"
12331 cat >conftest.$ac_ext <<_ACEOF
12334 cat confdefs.h >>conftest.$ac_ext
12335 cat >>conftest.$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12346 rm -f conftest.$ac_objext conftest$ac_exeext
12347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12348 (eval $ac_link) 2>conftest.er1
12350 grep -v '^ *+' conftest.er1 >conftest.err
12352 cat conftest.err >&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); } &&
12355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12357 (eval $ac_try) 2>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); }; } &&
12361 { ac_try='test -s conftest$ac_exeext'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; }; then
12367 ac_cv_c_gcc_fshort_wchar="yes"
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.$ac_ext >&5
12372 ac_cv_c_gcc_fshort_wchar="no"
12374 rm -f conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 CFLAGS=$ac_wine_try_cflags_saved
12378 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12379 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12380 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12383 cat >>confdefs.h <<\_ACEOF
12384 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12389 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12390 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12391 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 ac_wine_try_cflags_saved=$CFLAGS
12395 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12396 cat >conftest.$ac_ext <<_ACEOF
12399 cat confdefs.h >>conftest.$ac_ext
12400 cat >>conftest.$ac_ext <<_ACEOF
12401 /* end confdefs.h. */
12411 rm -f conftest.$ac_objext conftest$ac_exeext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12413 (eval $ac_link) 2>conftest.er1
12415 grep -v '^ *+' conftest.er1 >conftest.err
12417 cat conftest.err >&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } &&
12420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; } &&
12426 { ac_try='test -s conftest$ac_exeext'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; }; then
12432 ac_cv_c_gcc_stack_boundary="yes"
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12437 ac_cv_c_gcc_stack_boundary="no"
12439 rm -f conftest.err conftest.$ac_objext \
12440 conftest$ac_exeext conftest.$ac_ext
12441 CFLAGS=$ac_wine_try_cflags_saved
12443 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12444 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12445 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12447 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12450 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12451 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12452 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 ac_wine_try_cflags_saved=$CFLAGS
12456 CFLAGS="$CFLAGS -fno-strict-aliasing"
12457 cat >conftest.$ac_ext <<_ACEOF
12460 cat confdefs.h >>conftest.$ac_ext
12461 cat >>conftest.$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12472 rm -f conftest.$ac_objext conftest$ac_exeext
12473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12474 (eval $ac_link) 2>conftest.er1
12476 grep -v '^ *+' conftest.er1 >conftest.err
12478 cat conftest.err >&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483 (eval $ac_try) 2>&5
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }; } &&
12487 { ac_try='test -s conftest$ac_exeext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 ac_cv_c_gcc_no_strict_aliasing="yes"
12495 echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.$ac_ext >&5
12498 ac_cv_c_gcc_no_strict_aliasing="no"
12500 rm -f conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12502 CFLAGS=$ac_wine_try_cflags_saved
12504 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12505 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12506 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12508 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12511 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12512 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12513 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 ac_wine_try_cflags_saved=$CFLAGS
12517 CFLAGS="$CFLAGS -gstabs+"
12518 cat >conftest.$ac_ext <<_ACEOF
12521 cat confdefs.h >>conftest.$ac_ext
12522 cat >>conftest.$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12533 rm -f conftest.$ac_objext conftest$ac_exeext
12534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12535 (eval $ac_link) 2>conftest.er1
12537 grep -v '^ *+' conftest.er1 >conftest.err
12539 cat conftest.err >&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; } &&
12548 { ac_try='test -s conftest$ac_exeext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 ac_cv_c_gcc_gstabs="yes"
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.$ac_ext >&5
12559 ac_cv_c_gcc_gstabs="no"
12561 rm -f conftest.err conftest.$ac_objext \
12562 conftest$ac_exeext conftest.$ac_ext
12563 CFLAGS=$ac_wine_try_cflags_saved
12565 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12566 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12567 if test "$ac_cv_c_gcc_gstabs" = "yes"
12569 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12572 saved_CFLAGS="$CFLAGS"
12573 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12574 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12575 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12576 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12577 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 cat >conftest.$ac_ext <<_ACEOF
12582 cat confdefs.h >>conftest.$ac_ext
12583 cat >>conftest.$ac_ext <<_ACEOF
12584 /* end confdefs.h. */
12585 #include <string.h>
12594 rm -f conftest.$ac_objext
12595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12596 (eval $ac_compile) 2>conftest.er1
12598 grep -v '^ *+' conftest.er1 >conftest.err
12600 cat conftest.err >&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); } &&
12603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; } &&
12609 { ac_try='test -s conftest.$ac_objext'
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; }; then
12615 ac_cv_c_string_h_warnings=no
12617 echo "$as_me: failed program was:" >&5
12618 sed 's/^/| /' conftest.$ac_ext >&5
12620 ac_cv_c_string_h_warnings=yes
12622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12624 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12625 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12626 CFLAGS="$saved_CFLAGS"
12627 if test "$ac_cv_c_string_h_warnings" = "no"
12629 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12634 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12635 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12636 if test "${ac_cv_asm_func_def+set}" = set; then
12637 echo $ECHO_N "(cached) $ECHO_C" >&6
12639 cat >conftest.$ac_ext <<_ACEOF
12642 cat confdefs.h >>conftest.$ac_ext
12643 cat >>conftest.$ac_ext <<_ACEOF
12644 /* end confdefs.h. */
12645 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"); }
12655 rm -f conftest.$ac_objext conftest$ac_exeext
12656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12657 (eval $ac_link) 2>conftest.er1
12659 grep -v '^ *+' conftest.er1 >conftest.err
12661 cat conftest.err >&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; } &&
12670 { ac_try='test -s conftest$ac_exeext'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 ac_cv_asm_func_def=".def"
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 cat >conftest.$ac_ext <<_ACEOF
12684 cat confdefs.h >>conftest.$ac_ext
12685 cat >>conftest.$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12687 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12697 rm -f conftest.$ac_objext conftest$ac_exeext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12699 (eval $ac_link) 2>conftest.er1
12701 grep -v '^ *+' conftest.er1 >conftest.err
12703 cat conftest.err >&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; } &&
12712 { ac_try='test -s conftest$ac_exeext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 ac_cv_asm_func_def=".type @function"
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.$ac_ext >&5
12723 cat >conftest.$ac_ext <<_ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12739 rm -f conftest.$ac_objext conftest$ac_exeext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12741 (eval $ac_link) 2>conftest.er1
12743 grep -v '^ *+' conftest.er1 >conftest.err
12745 cat conftest.err >&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } &&
12748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; } &&
12754 { ac_try='test -s conftest$ac_exeext'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; }; then
12760 ac_cv_asm_func_def=".type 2"
12762 echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.$ac_ext >&5
12765 ac_cv_asm_func_def="unknown"
12767 rm -f conftest.err conftest.$ac_objext \
12768 conftest$ac_exeext conftest.$ac_ext
12770 rm -f conftest.err conftest.$ac_objext \
12771 conftest$ac_exeext conftest.$ac_ext
12773 rm -f conftest.err conftest.$ac_objext \
12774 conftest$ac_exeext conftest.$ac_ext
12776 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12777 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12781 case "$ac_cv_asm_func_def" in
12783 cat >>confdefs.h <<\_ACEOF
12784 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12788 cat >>confdefs.h <<\_ACEOF
12789 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12793 cat >>confdefs.h <<\_ACEOF
12794 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12798 cat >>confdefs.h <<\_ACEOF
12799 #define __ASM_FUNC(name) ""
12805 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12806 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12807 if test "${ac_cv_c_extern_prefix+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 cat >conftest.$ac_ext <<_ACEOF
12813 cat confdefs.h >>conftest.$ac_ext
12814 cat >>conftest.$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12816 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12817 extern int ac_test;
12821 if (ac_test) return 1
12826 rm -f conftest.$ac_objext conftest$ac_exeext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12828 (eval $ac_link) 2>conftest.er1
12830 grep -v '^ *+' conftest.er1 >conftest.err
12832 cat conftest.err >&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } &&
12835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; } &&
12841 { ac_try='test -s conftest$ac_exeext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 ac_cv_c_extern_prefix="yes"
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.$ac_ext >&5
12852 ac_cv_c_extern_prefix="no"
12854 rm -f conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12857 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12858 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12862 if test "$ac_cv_c_extern_prefix" = "yes"
12864 cat >>confdefs.h <<\_ACEOF
12865 #define __ASM_NAME(name) "_" name
12869 cat >>confdefs.h <<\_ACEOF
12870 #define __ASM_NAME(name) name
12876 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12877 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12878 if test "${ac_cv_c_asm_string+set}" = set; then
12879 echo $ECHO_N "(cached) $ECHO_C" >&6
12881 cat >conftest.$ac_ext <<_ACEOF
12884 cat confdefs.h >>conftest.$ac_ext
12885 cat >>conftest.$ac_ext <<_ACEOF
12886 /* end confdefs.h. */
12887 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12897 rm -f conftest.$ac_objext conftest$ac_exeext
12898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12899 (eval $ac_link) 2>conftest.er1
12901 grep -v '^ *+' conftest.er1 >conftest.err
12903 cat conftest.err >&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); } &&
12906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; } &&
12912 { ac_try='test -s conftest$ac_exeext'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; }; then
12918 ac_cv_c_asm_string=".string"
12920 echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.$ac_ext >&5
12923 cat >conftest.$ac_ext <<_ACEOF
12926 cat confdefs.h >>conftest.$ac_ext
12927 cat >>conftest.$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12929 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12939 rm -f conftest.$ac_objext conftest$ac_exeext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12941 (eval $ac_link) 2>conftest.er1
12943 grep -v '^ *+' conftest.er1 >conftest.err
12945 cat conftest.err >&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try='test -s conftest$ac_exeext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 ac_cv_c_asm_string=".asciz"
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.$ac_ext >&5
12965 cat >conftest.$ac_ext <<_ACEOF
12968 cat confdefs.h >>conftest.$ac_ext
12969 cat >>conftest.$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12971 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12981 rm -f conftest.$ac_objext conftest$ac_exeext
12982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12983 (eval $ac_link) 2>conftest.er1
12985 grep -v '^ *+' conftest.er1 >conftest.err
12987 cat conftest.err >&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } &&
12990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; } &&
12996 { ac_try='test -s conftest$ac_exeext'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; }; then
13002 ac_cv_c_asm_string=".ascii"
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13007 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13008 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13009 { (exit 1); exit 1; }; }
13011 rm -f conftest.err conftest.$ac_objext \
13012 conftest$ac_exeext conftest.$ac_ext
13014 rm -f conftest.err conftest.$ac_objext \
13015 conftest$ac_exeext conftest.$ac_ext
13017 rm -f conftest.err conftest.$ac_objext \
13018 conftest$ac_exeext conftest.$ac_ext
13020 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13021 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13024 cat >>confdefs.h <<_ACEOF
13025 #define __ASM_STRING "$ac_cv_c_asm_string"
13030 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13031 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13032 if test "${ac_cv_c_asm_short+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 cat >conftest.$ac_ext <<_ACEOF
13038 cat confdefs.h >>conftest.$ac_ext
13039 cat >>conftest.$ac_ext <<_ACEOF
13040 /* end confdefs.h. */
13041 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13051 rm -f conftest.$ac_objext conftest$ac_exeext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13053 (eval $ac_link) 2>conftest.er1
13055 grep -v '^ *+' conftest.er1 >conftest.err
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest$ac_exeext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 ac_cv_c_asm_short=".short"
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13077 cat >conftest.$ac_ext <<_ACEOF
13080 cat confdefs.h >>conftest.$ac_ext
13081 cat >>conftest.$ac_ext <<_ACEOF
13082 /* end confdefs.h. */
13083 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13093 rm -f conftest.$ac_objext conftest$ac_exeext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13095 (eval $ac_link) 2>conftest.er1
13097 grep -v '^ *+' conftest.er1 >conftest.err
13099 cat conftest.err >&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try='test -s conftest$ac_exeext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13114 ac_cv_c_asm_short=".half"
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.$ac_ext >&5
13119 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13120 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13121 { (exit 1); exit 1; }; }
13123 rm -f conftest.err conftest.$ac_objext \
13124 conftest$ac_exeext conftest.$ac_ext
13126 rm -f conftest.err conftest.$ac_objext \
13127 conftest$ac_exeext conftest.$ac_ext
13129 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13130 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13133 cat >>confdefs.h <<_ACEOF
13134 #define __ASM_SHORT "$ac_cv_c_asm_short"
13139 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13140 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13141 if test "${ac_cv_c_asm_size+set}" = set; then
13142 echo $ECHO_N "(cached) $ECHO_C" >&6
13144 cat >conftest.$ac_ext <<_ACEOF
13147 cat confdefs.h >>conftest.$ac_ext
13148 cat >>conftest.$ac_ext <<_ACEOF
13149 /* end confdefs.h. */
13150 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13160 rm -f conftest.$ac_objext conftest$ac_exeext
13161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13162 (eval $ac_link) 2>conftest.er1
13164 grep -v '^ *+' conftest.er1 >conftest.err
13166 cat conftest.err >&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } &&
13169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; } &&
13175 { ac_try='test -s conftest$ac_exeext'
13176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13177 (eval $ac_try) 2>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; }; then
13181 ac_cv_c_asm_size="yes"
13183 echo "$as_me: failed program was:" >&5
13184 sed 's/^/| /' conftest.$ac_ext >&5
13186 ac_cv_c_asm_size="no"
13188 rm -f conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13191 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13192 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13194 if test "$ac_cv_c_asm_size" = "yes"
13197 cat >>confdefs.h <<\_ACEOF
13198 #define HAVE_ASM_DOT_SIZE 1
13206 DLLFLAGS="-D_REENTRANT"
13221 if test -n "$ac_tool_prefix"; then
13222 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13223 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13224 echo "$as_me:$LINENO: checking for $ac_word" >&5
13225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13226 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13227 echo $ECHO_N "(cached) $ECHO_C" >&6
13229 if test -n "$DLLTOOL"; then
13230 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13233 for as_dir in $PATH
13236 test -z "$as_dir" && as_dir=.
13237 for ac_exec_ext in '' $ac_executable_extensions; do
13238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13239 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13248 DLLTOOL=$ac_cv_prog_DLLTOOL
13249 if test -n "$DLLTOOL"; then
13250 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13251 echo "${ECHO_T}$DLLTOOL" >&6
13253 echo "$as_me:$LINENO: result: no" >&5
13254 echo "${ECHO_T}no" >&6
13258 if test -z "$ac_cv_prog_DLLTOOL"; then
13259 ac_ct_DLLTOOL=$DLLTOOL
13260 # Extract the first word of "dlltool", so it can be a program name with args.
13261 set dummy dlltool; ac_word=$2
13262 echo "$as_me:$LINENO: checking for $ac_word" >&5
13263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13264 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13265 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 if test -n "$ac_ct_DLLTOOL"; then
13268 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13271 for as_dir in $PATH
13274 test -z "$as_dir" && as_dir=.
13275 for ac_exec_ext in '' $ac_executable_extensions; do
13276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13277 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13284 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13287 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13288 if test -n "$ac_ct_DLLTOOL"; then
13289 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13290 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13292 echo "$as_me:$LINENO: result: no" >&5
13293 echo "${ECHO_T}no" >&6
13296 DLLTOOL=$ac_ct_DLLTOOL
13298 DLLTOOL="$ac_cv_prog_DLLTOOL"
13301 if test -n "$ac_tool_prefix"; then
13302 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13303 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13304 echo "$as_me:$LINENO: checking for $ac_word" >&5
13305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13306 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13309 if test -n "$DLLWRAP"; then
13310 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13313 for as_dir in $PATH
13316 test -z "$as_dir" && as_dir=.
13317 for ac_exec_ext in '' $ac_executable_extensions; do
13318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13319 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13328 DLLWRAP=$ac_cv_prog_DLLWRAP
13329 if test -n "$DLLWRAP"; then
13330 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13331 echo "${ECHO_T}$DLLWRAP" >&6
13333 echo "$as_me:$LINENO: result: no" >&5
13334 echo "${ECHO_T}no" >&6
13338 if test -z "$ac_cv_prog_DLLWRAP"; then
13339 ac_ct_DLLWRAP=$DLLWRAP
13340 # Extract the first word of "dllwrap", so it can be a program name with args.
13341 set dummy dllwrap; ac_word=$2
13342 echo "$as_me:$LINENO: checking for $ac_word" >&5
13343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13344 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13345 echo $ECHO_N "(cached) $ECHO_C" >&6
13347 if test -n "$ac_ct_DLLWRAP"; then
13348 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13351 for as_dir in $PATH
13354 test -z "$as_dir" && as_dir=.
13355 for ac_exec_ext in '' $ac_executable_extensions; do
13356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13357 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13364 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13367 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13368 if test -n "$ac_ct_DLLWRAP"; then
13369 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13370 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13372 echo "$as_me:$LINENO: result: no" >&5
13373 echo "${ECHO_T}no" >&6
13376 DLLWRAP=$ac_ct_DLLWRAP
13378 DLLWRAP="$ac_cv_prog_DLLWRAP"
13381 if test "$DLLWRAP" = "false"; then
13392 for ac_header in dlfcn.h
13394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13396 echo "$as_me:$LINENO: checking for $ac_header" >&5
13397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13399 echo $ECHO_N "(cached) $ECHO_C" >&6
13401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13404 # Is the header compilable?
13405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13407 cat >conftest.$ac_ext <<_ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13413 $ac_includes_default
13414 #include <$ac_header>
13416 rm -f conftest.$ac_objext
13417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13418 (eval $ac_compile) 2>conftest.er1
13420 grep -v '^ *+' conftest.er1 >conftest.err
13422 cat conftest.err >&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } &&
13425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; } &&
13431 { ac_try='test -s conftest.$ac_objext'
13432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13433 (eval $ac_try) 2>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); }; }; then
13437 ac_header_compiler=yes
13439 echo "$as_me: failed program was:" >&5
13440 sed 's/^/| /' conftest.$ac_ext >&5
13442 ac_header_compiler=no
13444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13446 echo "${ECHO_T}$ac_header_compiler" >&6
13448 # Is the header present?
13449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13451 cat >conftest.$ac_ext <<_ACEOF
13454 cat confdefs.h >>conftest.$ac_ext
13455 cat >>conftest.$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13457 #include <$ac_header>
13459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13462 grep -v '^ *+' conftest.er1 >conftest.err
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } >/dev/null; then
13467 if test -s conftest.err; then
13468 ac_cpp_err=$ac_c_preproc_warn_flag
13469 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13476 if test -z "$ac_cpp_err"; then
13477 ac_header_preproc=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13482 ac_header_preproc=no
13484 rm -f conftest.err conftest.$ac_ext
13485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13486 echo "${ECHO_T}$ac_header_preproc" >&6
13488 # So? What about this header?
13489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13495 ac_header_preproc=yes
13498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13512 ## ------------------------------------ ##
13513 ## Report this to wine-devel@winehq.org ##
13514 ## ------------------------------------ ##
13517 sed "s/^/$as_me: WARNING: /" >&2
13520 echo "$as_me:$LINENO: checking for $ac_header" >&5
13521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 eval "$as_ac_Header=\$ac_header_preproc"
13527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13532 cat >>confdefs.h <<_ACEOF
13533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13536 for ac_func in dlopen
13538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13539 echo "$as_me:$LINENO: checking for $ac_func" >&5
13540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13541 if eval "test \"\${$as_ac_var+set}\" = set"; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 cat >conftest.$ac_ext <<_ACEOF
13547 cat confdefs.h >>conftest.$ac_ext
13548 cat >>conftest.$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13552 #define $ac_func innocuous_$ac_func
13554 /* System header to define __stub macros and hopefully few prototypes,
13555 which can conflict with char $ac_func (); below.
13556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13557 <limits.h> exists even on freestanding compilers. */
13560 # include <limits.h>
13562 # include <assert.h>
13567 /* Override any gcc2 internal prototype to avoid an error. */
13572 /* We use char because int might match the return type of a gcc2
13573 builtin and then its argument prototype would still apply. */
13575 /* The GNU C library defines this for functions which it implements
13576 to always fail with ENOSYS. Some functions are actually named
13577 something starting with __ and the normal name is an alias. */
13578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13581 char (*f) () = $ac_func;
13590 return f != $ac_func;
13595 rm -f conftest.$ac_objext conftest$ac_exeext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13597 (eval $ac_link) 2>conftest.er1
13599 grep -v '^ *+' conftest.er1 >conftest.err
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try='test -s conftest$ac_exeext'
13611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then
13616 eval "$as_ac_var=yes"
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 eval "$as_ac_var=no"
13623 rm -f conftest.err conftest.$ac_objext \
13624 conftest$ac_exeext conftest.$ac_ext
13626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13628 if test `eval echo '${'$as_ac_var'}'` = yes; then
13629 cat >>confdefs.h <<_ACEOF
13630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13634 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13635 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13636 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13637 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 ac_check_lib_save_LIBS=$LIBS
13641 cat >conftest.$ac_ext <<_ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13648 /* Override any gcc2 internal prototype to avoid an error. */
13652 /* We use char because int might match the return type of a gcc2
13653 builtin and then its argument prototype would still apply. */
13663 rm -f conftest.$ac_objext conftest$ac_exeext
13664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13665 (eval $ac_link) 2>conftest.er1
13667 grep -v '^ *+' conftest.er1 >conftest.err
13669 cat conftest.err >&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); } &&
13672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; } &&
13678 { ac_try='test -s conftest$ac_exeext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 ac_cv_lib_dl_dlopen=yes
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13689 ac_cv_lib_dl_dlopen=no
13691 rm -f conftest.err conftest.$ac_objext \
13692 conftest$ac_exeext conftest.$ac_ext
13693 LIBS=$ac_check_lib_save_LIBS
13695 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13696 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13697 if test $ac_cv_lib_dl_dlopen = yes; then
13699 cat >>confdefs.h <<\_ACEOF
13700 #define HAVE_DLOPEN 1
13718 if test "$LIBEXT" = "so"
13720 DLLFLAGS="$DLLFLAGS -fPIC"
13722 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13723 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13724 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13725 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 ac_wine_try_cflags_saved=$CFLAGS
13728 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13729 cat >conftest.$ac_ext <<_ACEOF
13732 rm -f conftest.$ac_objext conftest$ac_exeext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13734 (eval $ac_link) 2>conftest.er1
13736 grep -v '^ *+' conftest.er1 >conftest.err
13738 cat conftest.err >&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); } &&
13741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; } &&
13747 { ac_try='test -s conftest$ac_exeext'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; }; then
13753 ac_cv_c_dll_gnuelf="yes"
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.$ac_ext >&5
13758 ac_cv_c_dll_gnuelf="no"
13760 rm -f conftest.err conftest.$ac_objext \
13761 conftest$ac_exeext conftest.$ac_ext
13762 CFLAGS=$ac_wine_try_cflags_saved
13764 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13765 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13766 if test "$ac_cv_c_dll_gnuelf" = "yes"
13768 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13769 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13770 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13771 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13772 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 ac_wine_try_cflags_saved=$CFLAGS
13776 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13777 cat >conftest.$ac_ext <<_ACEOF
13780 cat confdefs.h >>conftest.$ac_ext
13781 cat >>conftest.$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13792 rm -f conftest.$ac_objext conftest$ac_exeext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13794 (eval $ac_link) 2>conftest.er1
13796 grep -v '^ *+' conftest.er1 >conftest.err
13798 cat conftest.err >&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } &&
13801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803 (eval $ac_try) 2>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); }; } &&
13807 { ac_try='test -s conftest$ac_exeext'
13808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13809 (eval $ac_try) 2>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); }; }; then
13813 ac_cv_c_dll_zdefs="yes"
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13818 ac_cv_c_dll_zdefs="no"
13820 rm -f conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 CFLAGS=$ac_wine_try_cflags_saved
13824 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13825 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13826 if test "$ac_cv_c_dll_zdefs" = "yes"
13828 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13831 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13832 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13833 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13834 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 ac_wine_try_cflags_saved=$CFLAGS
13837 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13838 cat >conftest.$ac_ext <<_ACEOF
13841 cat confdefs.h >>conftest.$ac_ext
13842 cat >>conftest.$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13853 rm -f conftest.$ac_objext conftest$ac_exeext
13854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13855 (eval $ac_link) 2>conftest.er1
13857 grep -v '^ *+' conftest.er1 >conftest.err
13859 cat conftest.err >&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); } &&
13862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13864 (eval $ac_try) 2>&5
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); }; } &&
13868 { ac_try='test -s conftest$ac_exeext'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; }; then
13874 ac_cv_c_dll_init_fini="yes"
13876 echo "$as_me: failed program was:" >&5
13877 sed 's/^/| /' conftest.$ac_ext >&5
13879 ac_cv_c_dll_init_fini="no"
13881 rm -f conftest.err conftest.$ac_objext \
13882 conftest$ac_exeext conftest.$ac_ext
13883 CFLAGS=$ac_wine_try_cflags_saved
13885 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13886 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13887 if test "$ac_cv_c_dll_init_fini" = "yes"
13889 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13892 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13893 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13894 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13895 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 echo '{ global: *; };' >conftest.map
13898 ac_wine_try_cflags_saved=$CFLAGS
13899 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13900 cat >conftest.$ac_ext <<_ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13915 rm -f conftest.$ac_objext conftest$ac_exeext
13916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13917 (eval $ac_link) 2>conftest.er1
13919 grep -v '^ *+' conftest.er1 >conftest.err
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } &&
13924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; } &&
13930 { ac_try='test -s conftest$ac_exeext'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; }; then
13936 ac_cv_c_ld_version_scripts="yes"
13938 echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.$ac_ext >&5
13941 ac_cv_c_ld_version_scripts="no"
13943 rm -f conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 CFLAGS=$ac_wine_try_cflags_saved
13948 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13949 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13950 if test "$ac_cv_c_ld_version_scripts" = "yes"
13952 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13955 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13956 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13957 if test "${ac_cv_c_export_dynamic+set}" = set; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13960 ac_wine_try_cflags_saved=$CFLAGS
13961 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13962 cat >conftest.$ac_ext <<_ACEOF
13965 cat confdefs.h >>conftest.$ac_ext
13966 cat >>conftest.$ac_ext <<_ACEOF
13967 /* end confdefs.h. */
13977 rm -f conftest.$ac_objext conftest$ac_exeext
13978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13979 (eval $ac_link) 2>conftest.er1
13981 grep -v '^ *+' conftest.er1 >conftest.err
13983 cat conftest.err >&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } &&
13986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; } &&
13992 { ac_try='test -s conftest$ac_exeext'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then
13998 ac_cv_c_export_dynamic="yes"
14000 echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.$ac_ext >&5
14003 ac_cv_c_export_dynamic="no"
14005 rm -f conftest.err conftest.$ac_objext \
14006 conftest$ac_exeext conftest.$ac_ext
14007 CFLAGS=$ac_wine_try_cflags_saved
14009 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14010 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14011 if test "$ac_cv_c_export_dynamic" = "yes"
14013 LDEXECFLAGS="-Wl,--export-dynamic"
14019 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
14020 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
14021 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14024 ac_wine_try_cflags_saved=$CFLAGS
14025 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
14026 cat >conftest.$ac_ext <<_ACEOF
14029 cat confdefs.h >>conftest.$ac_ext
14030 cat >>conftest.$ac_ext <<_ACEOF
14031 /* end confdefs.h. */
14041 rm -f conftest.$ac_objext conftest$ac_exeext
14042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14043 (eval $ac_link) 2>conftest.er1
14045 grep -v '^ *+' conftest.er1 >conftest.err
14047 cat conftest.err >&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); } &&
14050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; } &&
14056 { ac_try='test -s conftest$ac_exeext'
14057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14058 (eval $ac_try) 2>&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); }; }; then
14062 ac_cv_ld_reloc_exec="yes"
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.$ac_ext >&5
14067 ac_cv_ld_reloc_exec="no"
14069 rm -f conftest.err conftest.$ac_objext \
14070 conftest$ac_exeext conftest.$ac_ext
14071 CFLAGS=$ac_wine_try_cflags_saved
14073 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14074 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14075 if test "$ac_cv_ld_reloc_exec" = "yes"
14077 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
14083 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14084 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14085 if test "${ac_cv_c_dll_unixware+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14088 ac_wine_try_cflags_saved=$CFLAGS
14089 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14090 cat >conftest.$ac_ext <<_ACEOF
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_unixware="yes"
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.$ac_ext >&5
14119 ac_cv_c_dll_unixware="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_unixware" >&5
14126 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14127 if test "$ac_cv_c_dll_unixware" = "yes"
14129 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14130 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14133 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14134 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14135 if test "${ac_cv_c_dll_macho+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 ac_wine_try_cflags_saved=$CFLAGS
14139 CFLAGS="$CFLAGS -bundle"
14140 cat >conftest.$ac_ext <<_ACEOF
14143 rm -f conftest.$ac_objext conftest$ac_exeext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14145 (eval $ac_link) 2>conftest.er1
14147 grep -v '^ *+' conftest.er1 >conftest.err
14149 cat conftest.err >&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; } &&
14158 { ac_try='test -s conftest$ac_exeext'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; }; then
14164 ac_cv_c_dll_macho="yes"
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.$ac_ext >&5
14169 ac_cv_c_dll_macho="no"
14171 rm -f conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 CFLAGS=$ac_wine_try_cflags_saved
14175 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14176 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14177 if test "$ac_cv_c_dll_macho" = "yes"
14180 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
14181 LDSHARED="\$(CC) -dynamiclib"
14182 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14183 STRIP="$STRIP -u -r"
14184 LDEXECFLAGS="-seg1addr 0x120000"
14186 LDLIBWINEFLAGS="-seg1addr 0x140000"
14188 COREFOUNDATIONLIB="-framework CoreFoundation"
14190 IOKITLIB="-framework IOKit"
14192 IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
14194 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14195 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14196 if test "${ac_cv_c_dll_hpux+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 ac_wine_try_cflags_saved=$CFLAGS
14200 CFLAGS="$CFLAGS -shared"
14201 cat >conftest.$ac_ext <<_ACEOF
14204 rm -f conftest.$ac_objext conftest$ac_exeext
14205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14206 (eval $ac_link) 2>conftest.er1
14208 grep -v '^ *+' conftest.er1 >conftest.err
14210 cat conftest.err >&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; } &&
14219 { ac_try='test -s conftest$ac_exeext'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; }; then
14225 ac_cv_c_dll_hpux="yes"
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 ac_cv_c_dll_hpux="no"
14232 rm -f conftest.err conftest.$ac_objext \
14233 conftest$ac_exeext conftest.$ac_ext
14234 CFLAGS=$ac_wine_try_cflags_saved
14236 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14237 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14238 if test "$ac_cv_c_dll_hpux" = "yes"
14242 LDDLLFLAGS="-shared -fPIC"
14243 LDSHARED="\$(CC) -shared"
14252 if test "$cross_compiling" = "no"
14254 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14256 # Extract the first word of "$ac_prog", so it can be a program name with args.
14257 set dummy $ac_prog; ac_word=$2
14258 echo "$as_me:$LINENO: checking for $ac_word" >&5
14259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14260 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 if test -n "$CROSSCC"; then
14264 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14267 for as_dir in $PATH
14270 test -z "$as_dir" && as_dir=.
14271 for ac_exec_ext in '' $ac_executable_extensions; do
14272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14273 ac_cv_prog_CROSSCC="$ac_prog"
14274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14282 CROSSCC=$ac_cv_prog_CROSSCC
14283 if test -n "$CROSSCC"; then
14284 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14285 echo "${ECHO_T}$CROSSCC" >&6
14287 echo "$as_me:$LINENO: result: no" >&5
14288 echo "${ECHO_T}no" >&6
14291 test -n "$CROSSCC" && break
14293 test -n "$CROSSCC" || CROSSCC="false"
14295 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14297 # Extract the first word of "$ac_prog", so it can be a program name with args.
14298 set dummy $ac_prog; ac_word=$2
14299 echo "$as_me:$LINENO: checking for $ac_word" >&5
14300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14301 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 if test -n "$DLLTOOL"; then
14305 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14308 for as_dir in $PATH
14311 test -z "$as_dir" && as_dir=.
14312 for ac_exec_ext in '' $ac_executable_extensions; do
14313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14314 ac_cv_prog_DLLTOOL="$ac_prog"
14315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14323 DLLTOOL=$ac_cv_prog_DLLTOOL
14324 if test -n "$DLLTOOL"; then
14325 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14326 echo "${ECHO_T}$DLLTOOL" >&6
14328 echo "$as_me:$LINENO: result: no" >&5
14329 echo "${ECHO_T}no" >&6
14332 test -n "$DLLTOOL" && break
14334 test -n "$DLLTOOL" || DLLTOOL="false"
14336 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14338 # Extract the first word of "$ac_prog", so it can be a program name with args.
14339 set dummy $ac_prog; ac_word=$2
14340 echo "$as_me:$LINENO: checking for $ac_word" >&5
14341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14342 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14343 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 if test -n "$CROSSWINDRES"; then
14346 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14349 for as_dir in $PATH
14352 test -z "$as_dir" && as_dir=.
14353 for ac_exec_ext in '' $ac_executable_extensions; do
14354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14355 ac_cv_prog_CROSSWINDRES="$ac_prog"
14356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14364 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14365 if test -n "$CROSSWINDRES"; then
14366 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14367 echo "${ECHO_T}$CROSSWINDRES" >&6
14369 echo "$as_me:$LINENO: result: no" >&5
14370 echo "${ECHO_T}no" >&6
14373 test -n "$CROSSWINDRES" && break
14375 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14377 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14382 if test "$LIBEXT" = "a"; then
14383 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14384 It is currently not possible to build Wine without shared library
14385 (.so) support to allow transparent switch between .so and .dll files.
14386 If you are using Linux, you will need a newer binutils.
14388 echo "$as_me: error: could not find a way to build shared libraries.
14389 It is currently not possible to build Wine without shared library
14390 (.so) support to allow transparent switch between .so and .dll files.
14391 If you are using Linux, you will need a newer binutils.
14393 { (exit 1); exit 1; }; }
14398 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14401 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14404 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14412 SOCKETLIBS="-lws2_32"
14420 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
14422 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14425 MAIN_BINARY="wine-glibc"
14429 WINE_BINARIES="wine-pthread"
14431 MAIN_BINARY="wine-pthread"
14435 WINE_BINARIES="wine-kthread"
14437 MAIN_BINARY="wine-kthread"
14443 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14445 # Extract the first word of "ldd", so it can be a program name with args.
14446 set dummy ldd; ac_word=$2
14447 echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14449 if test "${ac_cv_path_LDD+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14454 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14458 as_dummy="/sbin:/usr/sbin:$PATH"
14459 for as_dir in $as_dummy
14462 test -z "$as_dir" && as_dir=.
14463 for ac_exec_ext in '' $ac_executable_extensions; do
14464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14465 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14476 LDD=$ac_cv_path_LDD
14478 if test -n "$LDD"; then
14479 echo "$as_me:$LINENO: result: $LDD" >&5
14480 echo "${ECHO_T}$LDD" >&6
14482 echo "$as_me:$LINENO: result: no" >&5
14483 echo "${ECHO_T}no" >&6
14487 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14488 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14489 if test "${ac_cv_lib_soname_X11+set}" = set; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14492 ac_get_soname_save_LIBS=$LIBS
14493 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14494 cat >conftest.$ac_ext <<_ACEOF
14497 cat confdefs.h >>conftest.$ac_ext
14498 cat >>conftest.$ac_ext <<_ACEOF
14499 /* end confdefs.h. */
14501 /* Override any gcc2 internal prototype to avoid an error. */
14505 /* We use char because int might match the return type of a gcc2
14506 builtin and then its argument prototype would still apply. */
14507 char XCreateWindow ();
14516 rm -f conftest.$ac_objext conftest$ac_exeext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14518 (eval $ac_link) 2>conftest.er1
14520 grep -v '^ *+' conftest.er1 >conftest.err
14522 cat conftest.err >&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; } &&
14531 { ac_try='test -s conftest$ac_exeext'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14538 if test "x$ac_cv_lib_soname_X11" = "x"
14540 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.$ac_ext >&5
14546 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14548 rm -f conftest.err conftest.$ac_objext \
14549 conftest$ac_exeext conftest.$ac_ext
14550 LIBS=$ac_get_soname_save_LIBS
14552 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14553 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14554 if test "x$ac_cv_lib_soname_X11" != xNONE
14556 cat >>confdefs.h <<_ACEOF
14557 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14561 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14562 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14563 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 ac_get_soname_save_LIBS=$LIBS
14567 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14568 cat >conftest.$ac_ext <<_ACEOF
14571 cat confdefs.h >>conftest.$ac_ext
14572 cat >>conftest.$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14575 /* Override any gcc2 internal prototype to avoid an error. */
14579 /* We use char because int might match the return type of a gcc2
14580 builtin and then its argument prototype would still apply. */
14581 char XextCreateExtension ();
14585 XextCreateExtension ();
14590 rm -f conftest.$ac_objext conftest$ac_exeext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14592 (eval $ac_link) 2>conftest.er1
14594 grep -v '^ *+' conftest.er1 >conftest.err
14596 cat conftest.err >&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest$ac_exeext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14612 if test "x$ac_cv_lib_soname_Xext" = "x"
14614 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14617 echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.$ac_ext >&5
14620 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14622 rm -f conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext conftest.$ac_ext
14624 LIBS=$ac_get_soname_save_LIBS
14626 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14627 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14628 if test "x$ac_cv_lib_soname_Xext" != xNONE
14630 cat >>confdefs.h <<_ACEOF
14631 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14635 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14636 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14637 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14638 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 ac_get_soname_save_LIBS=$LIBS
14641 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14642 cat >conftest.$ac_ext <<_ACEOF
14645 cat confdefs.h >>conftest.$ac_ext
14646 cat >>conftest.$ac_ext <<_ACEOF
14647 /* end confdefs.h. */
14649 /* Override any gcc2 internal prototype to avoid an error. */
14653 /* We use char because int might match the return type of a gcc2
14654 builtin and then its argument prototype would still apply. */
14655 char XOpenDevice ();
14664 rm -f conftest.$ac_objext conftest$ac_exeext
14665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14666 (eval $ac_link) 2>conftest.er1
14668 grep -v '^ *+' conftest.er1 >conftest.err
14670 cat conftest.err >&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; } &&
14679 { ac_try='test -s conftest$ac_exeext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14686 if test "x$ac_cv_lib_soname_Xi" = "x"
14688 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14691 echo "$as_me: failed program was:" >&5
14692 sed 's/^/| /' conftest.$ac_ext >&5
14694 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14696 rm -f conftest.err conftest.$ac_objext \
14697 conftest$ac_exeext conftest.$ac_ext
14698 LIBS=$ac_get_soname_save_LIBS
14700 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14701 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14702 if test "x$ac_cv_lib_soname_Xi" != xNONE
14704 cat >>confdefs.h <<_ACEOF
14705 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14709 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14710 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14711 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 ac_get_soname_save_LIBS=$LIBS
14715 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14716 cat >conftest.$ac_ext <<_ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14723 /* Override any gcc2 internal prototype to avoid an error. */
14727 /* We use char because int might match the return type of a gcc2
14728 builtin and then its argument prototype would still apply. */
14729 char XRenderQueryExtension ();
14733 XRenderQueryExtension ();
14738 rm -f conftest.$ac_objext conftest$ac_exeext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14740 (eval $ac_link) 2>conftest.er1
14742 grep -v '^ *+' conftest.er1 >conftest.err
14744 cat conftest.err >&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try='test -s conftest$ac_exeext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14760 if test "x$ac_cv_lib_soname_Xrender" = "x"
14762 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14765 echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.$ac_ext >&5
14768 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14770 rm -f conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 LIBS=$ac_get_soname_save_LIBS
14774 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14775 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14776 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14778 cat >>confdefs.h <<_ACEOF
14779 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14783 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14784 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14785 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14788 ac_get_soname_save_LIBS=$LIBS
14789 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14790 cat >conftest.$ac_ext <<_ACEOF
14793 cat confdefs.h >>conftest.$ac_ext
14794 cat >>conftest.$ac_ext <<_ACEOF
14795 /* end confdefs.h. */
14797 /* Override any gcc2 internal prototype to avoid an error. */
14801 /* We use char because int might match the return type of a gcc2
14802 builtin and then its argument prototype would still apply. */
14803 char XRRQueryExtension ();
14807 XRRQueryExtension ();
14812 rm -f conftest.$ac_objext conftest$ac_exeext
14813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14814 (eval $ac_link) 2>conftest.er1
14816 grep -v '^ *+' conftest.er1 >conftest.err
14818 cat conftest.err >&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); } &&
14821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; } &&
14827 { ac_try='test -s conftest$ac_exeext'
14828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; }; then
14833 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14834 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14836 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14842 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14844 rm -f conftest.err conftest.$ac_objext \
14845 conftest$ac_exeext conftest.$ac_ext
14846 LIBS=$ac_get_soname_save_LIBS
14848 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14849 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14850 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14852 cat >>confdefs.h <<_ACEOF
14853 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14857 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14858 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14859 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 ac_get_soname_save_LIBS=$LIBS
14863 LIBS="-lfreetype $X_LIBS $LIBS"
14864 cat >conftest.$ac_ext <<_ACEOF
14867 cat confdefs.h >>conftest.$ac_ext
14868 cat >>conftest.$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14871 /* Override any gcc2 internal prototype to avoid an error. */
14875 /* We use char because int might match the return type of a gcc2
14876 builtin and then its argument prototype would still apply. */
14877 char FT_Init_FreeType ();
14881 FT_Init_FreeType ();
14886 rm -f conftest.$ac_objext conftest$ac_exeext
14887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14888 (eval $ac_link) 2>conftest.er1
14890 grep -v '^ *+' conftest.er1 >conftest.err
14892 cat conftest.err >&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } &&
14895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; } &&
14901 { ac_try='test -s conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14908 if test "x$ac_cv_lib_soname_freetype" = "x"
14910 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.$ac_ext >&5
14916 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14918 rm -f conftest.err conftest.$ac_objext \
14919 conftest$ac_exeext conftest.$ac_ext
14920 LIBS=$ac_get_soname_save_LIBS
14922 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14923 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14924 if test "x$ac_cv_lib_soname_freetype" != xNONE
14926 cat >>confdefs.h <<_ACEOF
14927 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14931 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14932 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14933 if test "${ac_cv_lib_soname_GL+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 ac_get_soname_save_LIBS=$LIBS
14937 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14938 cat >conftest.$ac_ext <<_ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 /* Override any gcc2 internal prototype to avoid an error. */
14949 /* We use char because int might match the return type of a gcc2
14950 builtin and then its argument prototype would still apply. */
14951 char glXQueryExtension ();
14955 glXQueryExtension ();
14960 rm -f conftest.$ac_objext conftest$ac_exeext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14962 (eval $ac_link) 2>conftest.er1
14964 grep -v '^ *+' conftest.er1 >conftest.err
14966 cat conftest.err >&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } &&
14969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14971 (eval $ac_try) 2>&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); }; } &&
14975 { ac_try='test -s conftest$ac_exeext'
14976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 (eval $ac_try) 2>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); }; }; then
14981 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14982 if test "x$ac_cv_lib_soname_GL" = "x"
14984 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14992 rm -f conftest.err conftest.$ac_objext \
14993 conftest$ac_exeext conftest.$ac_ext
14994 LIBS=$ac_get_soname_save_LIBS
14996 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14997 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14998 if test "x$ac_cv_lib_soname_GL" != xNONE
15000 cat >>confdefs.h <<_ACEOF
15001 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15005 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15006 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
15007 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15008 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 ac_get_soname_save_LIBS=$LIBS
15011 LIBS="-ltxc_dxtn $LIBS"
15012 cat >conftest.$ac_ext <<_ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15019 /* Override any gcc2 internal prototype to avoid an error. */
15023 /* We use char because int might match the return type of a gcc2
15024 builtin and then its argument prototype would still apply. */
15025 char fetch_2d_texel_rgba_dxt1 ();
15029 fetch_2d_texel_rgba_dxt1 ();
15034 rm -f conftest.$ac_objext conftest$ac_exeext
15035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15036 (eval $ac_link) 2>conftest.er1
15038 grep -v '^ *+' conftest.er1 >conftest.err
15040 cat conftest.err >&5
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); } &&
15043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15045 (eval $ac_try) 2>&5
15047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15048 (exit $ac_status); }; } &&
15049 { ac_try='test -s conftest$ac_exeext'
15050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15051 (eval $ac_try) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); }; }; then
15055 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
15056 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15058 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.$ac_ext >&5
15064 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15066 rm -f conftest.err conftest.$ac_objext \
15067 conftest$ac_exeext conftest.$ac_ext
15068 LIBS=$ac_get_soname_save_LIBS
15070 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15071 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15072 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
15074 cat >>confdefs.h <<_ACEOF
15075 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15079 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15080 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15081 if test "${ac_cv_lib_soname_cups+set}" = set; then
15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 ac_get_soname_save_LIBS=$LIBS
15085 LIBS="-lcups $LIBS"
15086 cat >conftest.$ac_ext <<_ACEOF
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15093 /* Override any gcc2 internal prototype to avoid an error. */
15097 /* We use char because int might match the return type of a gcc2
15098 builtin and then its argument prototype would still apply. */
15099 char cupsGetDefault ();
15108 rm -f conftest.$ac_objext conftest$ac_exeext
15109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15110 (eval $ac_link) 2>conftest.er1
15112 grep -v '^ *+' conftest.er1 >conftest.err
15114 cat conftest.err >&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
15117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119 (eval $ac_try) 2>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; } &&
15123 { ac_try='test -s conftest$ac_exeext'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; }; then
15129 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15130 if test "x$ac_cv_lib_soname_cups" = "x"
15132 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15135 echo "$as_me: failed program was:" >&5
15136 sed 's/^/| /' conftest.$ac_ext >&5
15138 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15140 rm -f conftest.err conftest.$ac_objext \
15141 conftest$ac_exeext conftest.$ac_ext
15142 LIBS=$ac_get_soname_save_LIBS
15144 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15145 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15146 if test "x$ac_cv_lib_soname_cups" != xNONE
15148 cat >>confdefs.h <<_ACEOF
15149 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15153 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15154 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15155 if test "${ac_cv_lib_soname_jack+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15158 ac_get_soname_save_LIBS=$LIBS
15159 LIBS="-ljack $LIBS"
15160 cat >conftest.$ac_ext <<_ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15167 /* Override any gcc2 internal prototype to avoid an error. */
15171 /* We use char because int might match the return type of a gcc2
15172 builtin and then its argument prototype would still apply. */
15173 char jack_client_new ();
15177 jack_client_new ();
15182 rm -f conftest.$ac_objext conftest$ac_exeext
15183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15184 (eval $ac_link) 2>conftest.er1
15186 grep -v '^ *+' conftest.er1 >conftest.err
15188 cat conftest.err >&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } &&
15191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; } &&
15197 { ac_try='test -s conftest$ac_exeext'
15198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15199 (eval $ac_try) 2>&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); }; }; then
15203 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15204 if test "x$ac_cv_lib_soname_jack" = "x"
15206 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15209 echo "$as_me: failed program was:" >&5
15210 sed 's/^/| /' conftest.$ac_ext >&5
15212 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15214 rm -f conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15216 LIBS=$ac_get_soname_save_LIBS
15218 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15219 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15220 if test "x$ac_cv_lib_soname_jack" != xNONE
15222 cat >>confdefs.h <<_ACEOF
15223 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15227 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15228 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15229 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 ac_get_soname_save_LIBS=$LIBS
15233 LIBS="-lfontconfig $LIBS"
15234 cat >conftest.$ac_ext <<_ACEOF
15237 cat confdefs.h >>conftest.$ac_ext
15238 cat >>conftest.$ac_ext <<_ACEOF
15239 /* end confdefs.h. */
15241 /* Override any gcc2 internal prototype to avoid an error. */
15245 /* We use char because int might match the return type of a gcc2
15246 builtin and then its argument prototype would still apply. */
15256 rm -f conftest.$ac_objext conftest$ac_exeext
15257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15258 (eval $ac_link) 2>conftest.er1
15260 grep -v '^ *+' conftest.er1 >conftest.err
15262 cat conftest.err >&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } &&
15265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; } &&
15271 { ac_try='test -s conftest$ac_exeext'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; }; then
15277 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15278 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15280 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15286 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15288 rm -f conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290 LIBS=$ac_get_soname_save_LIBS
15292 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15293 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15294 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15296 cat >>confdefs.h <<_ACEOF
15297 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15301 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15302 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15303 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15306 ac_get_soname_save_LIBS=$LIBS
15308 cat >conftest.$ac_ext <<_ACEOF
15311 cat confdefs.h >>conftest.$ac_ext
15312 cat >>conftest.$ac_ext <<_ACEOF
15313 /* end confdefs.h. */
15315 /* Override any gcc2 internal prototype to avoid an error. */
15319 /* We use char because int might match the return type of a gcc2
15320 builtin and then its argument prototype would still apply. */
15321 char SSL_library_init ();
15325 SSL_library_init ();
15330 rm -f conftest.$ac_objext conftest$ac_exeext
15331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15332 (eval $ac_link) 2>conftest.er1
15334 grep -v '^ *+' conftest.er1 >conftest.err
15336 cat conftest.err >&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); } &&
15339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; } &&
15345 { ac_try='test -s conftest$ac_exeext'
15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; }; then
15351 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15352 if test "x$ac_cv_lib_soname_ssl" = "x"
15354 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15360 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15362 rm -f conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15364 LIBS=$ac_get_soname_save_LIBS
15366 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15367 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15368 if test "x$ac_cv_lib_soname_ssl" != xNONE
15370 cat >>confdefs.h <<_ACEOF
15371 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15375 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15376 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15377 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15378 echo $ECHO_N "(cached) $ECHO_C" >&6
15380 ac_get_soname_save_LIBS=$LIBS
15381 LIBS="-lcrypto $LIBS"
15382 cat >conftest.$ac_ext <<_ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15389 /* Override any gcc2 internal prototype to avoid an error. */
15393 /* We use char because int might match the return type of a gcc2
15394 builtin and then its argument prototype would still apply. */
15395 char BIO_new_socket ();
15404 rm -f conftest.$ac_objext conftest$ac_exeext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15406 (eval $ac_link) 2>conftest.er1
15408 grep -v '^ *+' conftest.er1 >conftest.err
15410 cat conftest.err >&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; } &&
15419 { ac_try='test -s conftest$ac_exeext'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15425 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15426 if test "x$ac_cv_lib_soname_crypto" = "x"
15428 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15436 rm -f conftest.err conftest.$ac_objext \
15437 conftest$ac_exeext conftest.$ac_ext
15438 LIBS=$ac_get_soname_save_LIBS
15440 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15441 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15442 if test "x$ac_cv_lib_soname_crypto" != xNONE
15444 cat >>confdefs.h <<_ACEOF
15445 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15449 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15450 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15451 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15452 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 ac_get_soname_save_LIBS=$LIBS
15455 LIBS="-lncurses $LIBS"
15456 cat >conftest.$ac_ext <<_ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15463 /* Override any gcc2 internal prototype to avoid an error. */
15467 /* We use char because int might match the return type of a gcc2
15468 builtin and then its argument prototype would still apply. */
15478 rm -f conftest.$ac_objext conftest$ac_exeext
15479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15480 (eval $ac_link) 2>conftest.er1
15482 grep -v '^ *+' conftest.er1 >conftest.err
15484 cat conftest.err >&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } &&
15487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; } &&
15493 { ac_try='test -s conftest$ac_exeext'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; }; then
15499 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15500 if test "x$ac_cv_lib_soname_ncurses" = "x"
15502 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.$ac_ext >&5
15508 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15510 rm -f conftest.err conftest.$ac_objext \
15511 conftest$ac_exeext conftest.$ac_ext
15512 LIBS=$ac_get_soname_save_LIBS
15514 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15515 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15516 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15518 cat >>confdefs.h <<_ACEOF
15519 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15523 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15524 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15525 if test "${ac_cv_lib_soname_curses+set}" = set; then
15526 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 ac_get_soname_save_LIBS=$LIBS
15529 LIBS="-lcurses $LIBS"
15530 cat >conftest.$ac_ext <<_ACEOF
15533 cat confdefs.h >>conftest.$ac_ext
15534 cat >>conftest.$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15537 /* Override any gcc2 internal prototype to avoid an error. */
15541 /* We use char because int might match the return type of a gcc2
15542 builtin and then its argument prototype would still apply. */
15552 rm -f conftest.$ac_objext conftest$ac_exeext
15553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15554 (eval $ac_link) 2>conftest.er1
15556 grep -v '^ *+' conftest.er1 >conftest.err
15558 cat conftest.err >&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); } &&
15561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; } &&
15567 { ac_try='test -s conftest$ac_exeext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15573 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15574 if test "x$ac_cv_lib_soname_curses" = "x"
15576 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.$ac_ext >&5
15582 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15584 rm -f conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15586 LIBS=$ac_get_soname_save_LIBS
15588 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15589 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15590 if test "x$ac_cv_lib_soname_curses" != xNONE
15592 cat >>confdefs.h <<_ACEOF
15593 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15597 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15598 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15599 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15602 ac_get_soname_save_LIBS=$LIBS
15603 LIBS="-ljpeg $LIBS"
15604 cat >conftest.$ac_ext <<_ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15611 /* Override any gcc2 internal prototype to avoid an error. */
15615 /* We use char because int might match the return type of a gcc2
15616 builtin and then its argument prototype would still apply. */
15617 char jpeg_start_decompress ();
15621 jpeg_start_decompress ();
15626 rm -f conftest.$ac_objext conftest$ac_exeext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15628 (eval $ac_link) 2>conftest.er1
15630 grep -v '^ *+' conftest.er1 >conftest.err
15632 cat conftest.err >&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; } &&
15641 { ac_try='test -s conftest$ac_exeext'
15642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15643 (eval $ac_try) 2>&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); }; }; then
15647 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15648 if test "x$ac_cv_lib_soname_jpeg" = "x"
15650 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15656 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15658 rm -f conftest.err conftest.$ac_objext \
15659 conftest$ac_exeext conftest.$ac_ext
15660 LIBS=$ac_get_soname_save_LIBS
15662 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15663 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15664 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15666 cat >>confdefs.h <<_ACEOF
15667 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15671 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15672 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15673 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 ac_get_soname_save_LIBS=$LIBS
15677 LIBS="-lungif $LIBS"
15678 cat >conftest.$ac_ext <<_ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15685 /* Override any gcc2 internal prototype to avoid an error. */
15689 /* We use char because int might match the return type of a gcc2
15690 builtin and then its argument prototype would still apply. */
15700 rm -f conftest.$ac_objext conftest$ac_exeext
15701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15702 (eval $ac_link) 2>conftest.er1
15704 grep -v '^ *+' conftest.er1 >conftest.err
15706 cat conftest.err >&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); } &&
15709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; } &&
15715 { ac_try='test -s conftest$ac_exeext'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; }; then
15721 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15722 if test "x$ac_cv_lib_soname_ungif" = "x"
15724 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15730 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15732 rm -f conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15734 LIBS=$ac_get_soname_save_LIBS
15736 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15737 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15738 if test "x$ac_cv_lib_soname_ungif" != xNONE
15740 cat >>confdefs.h <<_ACEOF
15741 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15745 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15746 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15747 if test "${ac_cv_lib_soname_gif+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15750 ac_get_soname_save_LIBS=$LIBS
15752 cat >conftest.$ac_ext <<_ACEOF
15755 cat confdefs.h >>conftest.$ac_ext
15756 cat >>conftest.$ac_ext <<_ACEOF
15757 /* end confdefs.h. */
15759 /* Override any gcc2 internal prototype to avoid an error. */
15763 /* We use char because int might match the return type of a gcc2
15764 builtin and then its argument prototype would still apply. */
15774 rm -f conftest.$ac_objext conftest$ac_exeext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15776 (eval $ac_link) 2>conftest.er1
15778 grep -v '^ *+' conftest.er1 >conftest.err
15780 cat conftest.err >&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; } &&
15789 { ac_try='test -s conftest$ac_exeext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15796 if test "x$ac_cv_lib_soname_gif" = "x"
15798 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15804 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15806 rm -f conftest.err conftest.$ac_objext \
15807 conftest$ac_exeext conftest.$ac_ext
15808 LIBS=$ac_get_soname_save_LIBS
15810 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15811 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15812 if test "x$ac_cv_lib_soname_gif" != xNONE
15814 cat >>confdefs.h <<_ACEOF
15815 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15819 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15820 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15821 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 ac_get_soname_save_LIBS=$LIBS
15825 LIBS="-llcms $LIBS"
15826 cat >conftest.$ac_ext <<_ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15833 /* Override any gcc2 internal prototype to avoid an error. */
15837 /* We use char because int might match the return type of a gcc2
15838 builtin and then its argument prototype would still apply. */
15839 char cmsOpenProfileFromFile ();
15843 cmsOpenProfileFromFile ();
15848 rm -f conftest.$ac_objext conftest$ac_exeext
15849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15850 (eval $ac_link) 2>conftest.er1
15852 grep -v '^ *+' conftest.er1 >conftest.err
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; } &&
15863 { ac_try='test -s conftest$ac_exeext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; }; then
15869 ac_cv_lib_soname_lcms=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15870 if test "x$ac_cv_lib_soname_lcms" = "x"
15872 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15875 echo "$as_me: failed program was:" >&5
15876 sed 's/^/| /' conftest.$ac_ext >&5
15878 ac_cv_lib_soname_lcms="liblcms.$LIBEXT"
15880 rm -f conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15882 LIBS=$ac_get_soname_save_LIBS
15884 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15885 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15886 if test "x$ac_cv_lib_soname_lcms" != xNONE
15888 cat >>confdefs.h <<_ACEOF
15889 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15893 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15894 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15895 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15896 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 ac_get_soname_save_LIBS=$LIBS
15899 LIBS="-lcapi20 $LIBS"
15900 cat >conftest.$ac_ext <<_ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15907 /* Override any gcc2 internal prototype to avoid an error. */
15911 /* We use char because int might match the return type of a gcc2
15912 builtin and then its argument prototype would still apply. */
15913 char capi20_isinstalled ();
15917 capi20_isinstalled ();
15922 rm -f conftest.$ac_objext conftest$ac_exeext
15923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15924 (eval $ac_link) 2>conftest.er1
15926 grep -v '^ *+' conftest.er1 >conftest.err
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } &&
15931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; } &&
15937 { ac_try='test -s conftest$ac_exeext'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; }; then
15943 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
15944 if test "x$ac_cv_lib_soname_capi20" = "x"
15946 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.$ac_ext >&5
15952 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15954 rm -f conftest.err conftest.$ac_objext \
15955 conftest$ac_exeext conftest.$ac_ext
15956 LIBS=$ac_get_soname_save_LIBS
15958 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15959 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
15960 if test "x$ac_cv_lib_soname_capi20" != xNONE
15962 cat >>confdefs.h <<_ACEOF
15963 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15970 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15971 # for constant arguments. Useless!
15972 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15973 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15974 if test "${ac_cv_working_alloca_h+set}" = set; then
15975 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 cat >conftest.$ac_ext <<_ACEOF
15980 cat confdefs.h >>conftest.$ac_ext
15981 cat >>conftest.$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15983 #include <alloca.h>
15987 char *p = (char *) alloca (2 * sizeof (int));
15992 rm -f conftest.$ac_objext conftest$ac_exeext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15994 (eval $ac_link) 2>conftest.er1
15996 grep -v '^ *+' conftest.er1 >conftest.err
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16003 (eval $ac_try) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); }; } &&
16007 { ac_try='test -s conftest$ac_exeext'
16008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16009 (eval $ac_try) 2>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); }; }; then
16013 ac_cv_working_alloca_h=yes
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16018 ac_cv_working_alloca_h=no
16020 rm -f conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext conftest.$ac_ext
16023 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16024 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16025 if test $ac_cv_working_alloca_h = yes; then
16027 cat >>confdefs.h <<\_ACEOF
16028 #define HAVE_ALLOCA_H 1
16033 echo "$as_me:$LINENO: checking for alloca" >&5
16034 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16035 if test "${ac_cv_func_alloca_works+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 cat >conftest.$ac_ext <<_ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16045 # define alloca __builtin_alloca
16048 # include <malloc.h>
16049 # define alloca _alloca
16052 # include <alloca.h>
16057 # ifndef alloca /* predefined by HP cc +Olibcalls */
16068 char *p = (char *) alloca (1);
16073 rm -f conftest.$ac_objext conftest$ac_exeext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16075 (eval $ac_link) 2>conftest.er1
16077 grep -v '^ *+' conftest.er1 >conftest.err
16079 cat conftest.err >&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } &&
16082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try='test -s conftest$ac_exeext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 ac_cv_func_alloca_works=yes
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16099 ac_cv_func_alloca_works=no
16101 rm -f conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16104 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16105 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16107 if test $ac_cv_func_alloca_works = yes; then
16109 cat >>confdefs.h <<\_ACEOF
16110 #define HAVE_ALLOCA 1
16114 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16115 # that cause trouble. Some versions do not even contain alloca or
16116 # contain a buggy version. If you still want to use their alloca,
16117 # use ar to extract alloca.o from them instead of compiling alloca.c.
16119 ALLOCA=alloca.$ac_objext
16121 cat >>confdefs.h <<\_ACEOF
16126 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16127 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16128 if test "${ac_cv_os_cray+set}" = set; then
16129 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 cat >conftest.$ac_ext <<_ACEOF
16134 cat confdefs.h >>conftest.$ac_ext
16135 cat >>conftest.$ac_ext <<_ACEOF
16136 /* end confdefs.h. */
16137 #if defined(CRAY) && ! defined(CRAY2)
16144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16145 $EGREP "webecray" >/dev/null 2>&1; then
16153 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16154 echo "${ECHO_T}$ac_cv_os_cray" >&6
16155 if test $ac_cv_os_cray = yes; then
16156 for ac_func in _getb67 GETB67 getb67; do
16157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16158 echo "$as_me:$LINENO: checking for $ac_func" >&5
16159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16160 if eval "test \"\${$as_ac_var+set}\" = set"; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 cat >conftest.$ac_ext <<_ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16171 #define $ac_func innocuous_$ac_func
16173 /* System header to define __stub macros and hopefully few prototypes,
16174 which can conflict with char $ac_func (); below.
16175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16176 <limits.h> exists even on freestanding compilers. */
16179 # include <limits.h>
16181 # include <assert.h>
16186 /* Override any gcc2 internal prototype to avoid an error. */
16191 /* We use char because int might match the return type of a gcc2
16192 builtin and then its argument prototype would still apply. */
16194 /* The GNU C library defines this for functions which it implements
16195 to always fail with ENOSYS. Some functions are actually named
16196 something starting with __ and the normal name is an alias. */
16197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16200 char (*f) () = $ac_func;
16209 return f != $ac_func;
16214 rm -f conftest.$ac_objext conftest$ac_exeext
16215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16216 (eval $ac_link) 2>conftest.er1
16218 grep -v '^ *+' conftest.er1 >conftest.err
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; } &&
16229 { ac_try='test -s conftest$ac_exeext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16235 eval "$as_ac_var=yes"
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.$ac_ext >&5
16240 eval "$as_ac_var=no"
16242 rm -f conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16247 if test `eval echo '${'$as_ac_var'}'` = yes; then
16249 cat >>confdefs.h <<_ACEOF
16250 #define CRAY_STACKSEG_END $ac_func
16259 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16260 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16261 if test "${ac_cv_c_stack_direction+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 if test "$cross_compiling" = yes; then
16265 ac_cv_c_stack_direction=0
16267 cat >conftest.$ac_ext <<_ACEOF
16270 cat confdefs.h >>conftest.$ac_ext
16271 cat >>conftest.$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16274 find_stack_direction ()
16276 static char *addr = 0;
16281 return find_stack_direction ();
16284 return (&dummy > addr) ? 1 : -1;
16290 exit (find_stack_direction () < 0);
16293 rm -f conftest$ac_exeext
16294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16295 (eval $ac_link) 2>&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300 (eval $ac_try) 2>&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); }; }; then
16304 ac_cv_c_stack_direction=1
16306 echo "$as_me: program exited with status $ac_status" >&5
16307 echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.$ac_ext >&5
16310 ( exit $ac_status )
16311 ac_cv_c_stack_direction=-1
16313 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16316 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16317 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16319 cat >>confdefs.h <<_ACEOF
16320 #define STACK_DIRECTION $ac_cv_c_stack_direction
16447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16448 echo "$as_me:$LINENO: checking for $ac_func" >&5
16449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16450 if eval "test \"\${$as_ac_var+set}\" = set"; then
16451 echo $ECHO_N "(cached) $ECHO_C" >&6
16453 cat >conftest.$ac_ext <<_ACEOF
16456 cat confdefs.h >>conftest.$ac_ext
16457 cat >>conftest.$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16461 #define $ac_func innocuous_$ac_func
16463 /* System header to define __stub macros and hopefully few prototypes,
16464 which can conflict with char $ac_func (); below.
16465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16466 <limits.h> exists even on freestanding compilers. */
16469 # include <limits.h>
16471 # include <assert.h>
16476 /* Override any gcc2 internal prototype to avoid an error. */
16481 /* We use char because int might match the return type of a gcc2
16482 builtin and then its argument prototype would still apply. */
16484 /* The GNU C library defines this for functions which it implements
16485 to always fail with ENOSYS. Some functions are actually named
16486 something starting with __ and the normal name is an alias. */
16487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16490 char (*f) () = $ac_func;
16499 return f != $ac_func;
16504 rm -f conftest.$ac_objext conftest$ac_exeext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16506 (eval $ac_link) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1 >conftest.err
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; } &&
16519 { ac_try='test -s conftest$ac_exeext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16525 eval "$as_ac_var=yes"
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16530 eval "$as_ac_var=no"
16532 rm -f conftest.err conftest.$ac_objext \
16533 conftest$ac_exeext conftest.$ac_ext
16535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16537 if test `eval echo '${'$as_ac_var'}'` = yes; then
16538 cat >>confdefs.h <<_ACEOF
16539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16549 for ac_header in sys/mount.h sys/user.h
16551 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16552 echo "$as_me:$LINENO: checking for $ac_header" >&5
16553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 cat >conftest.$ac_ext <<_ACEOF
16560 cat confdefs.h >>conftest.$ac_ext
16561 cat >>conftest.$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 #include <sys/types.h>
16564 #if HAVE_SYS_PARAM_H
16565 # include <sys/param.h>
16568 #include <$ac_header>
16570 rm -f conftest.$ac_objext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16572 (eval $ac_compile) 2>conftest.er1
16574 grep -v '^ *+' conftest.er1 >conftest.err
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } &&
16579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16581 (eval $ac_try) 2>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); }; } &&
16585 { ac_try='test -s conftest.$ac_objext'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 eval "$as_ac_Header=yes"
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16596 eval "$as_ac_Header=no"
16598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16603 cat >>confdefs.h <<_ACEOF
16604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16617 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16620 echo "$as_me:$LINENO: checking for $ac_header" >&5
16621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16622 if eval "test \"\${$as_ac_Header+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 #include <sys/types.h>
16632 #if HAVE_SYS_SOCKET_H
16633 # include <sys/socket.h>
16636 #include <$ac_header>
16638 rm -f conftest.$ac_objext
16639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16640 (eval $ac_compile) 2>conftest.er1
16642 grep -v '^ *+' conftest.er1 >conftest.err
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } &&
16647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; } &&
16653 { ac_try='test -s conftest.$ac_objext'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16659 eval "$as_ac_Header=yes"
16661 echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.$ac_ext >&5
16664 eval "$as_ac_Header=no"
16666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16671 cat >>confdefs.h <<_ACEOF
16672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16681 for ac_header in resolv.h
16683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16684 echo "$as_me:$LINENO: checking for $ac_header" >&5
16685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #include <sys/types.h>
16696 #if HAVE_SYS_SOCKET_H
16697 # include <sys/socket.h>
16699 #if HAVE_NETINET_IN_H
16700 # include <netinet/in.h>
16702 #if HAVE_ARPA_NAMESER_H
16703 # include <arpa/nameser.h>
16706 #include <$ac_header>
16708 rm -f conftest.$ac_objext
16709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16710 (eval $ac_compile) 2>conftest.er1
16712 grep -v '^ *+' conftest.er1 >conftest.err
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } &&
16717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; } &&
16723 { ac_try='test -s conftest.$ac_objext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 eval "$as_ac_Header=yes"
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.$ac_ext >&5
16734 eval "$as_ac_Header=no"
16736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16741 cat >>confdefs.h <<_ACEOF
16742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16751 for ac_header in ucontext.h
16753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16754 echo "$as_me:$LINENO: checking for $ac_header" >&5
16755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 cat >conftest.$ac_ext <<_ACEOF
16762 cat confdefs.h >>conftest.$ac_ext
16763 cat >>conftest.$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16765 #include <signal.h>
16767 #include <$ac_header>
16769 rm -f conftest.$ac_objext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16771 (eval $ac_compile) 2>conftest.er1
16773 grep -v '^ *+' conftest.er1 >conftest.err
16775 cat conftest.err >&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } &&
16778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; } &&
16784 { ac_try='test -s conftest.$ac_objext'
16785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 (eval $ac_try) 2>&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); }; }; then
16790 eval "$as_ac_Header=yes"
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16795 eval "$as_ac_Header=no"
16797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16802 cat >>confdefs.h <<_ACEOF
16803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16812 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16813 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16814 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 cat >conftest.$ac_ext <<_ACEOF
16820 cat confdefs.h >>conftest.$ac_ext
16821 cat >>conftest.$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 #include <sys/types.h>
16824 #ifdef HAVE_SYS_SOCKET_H
16825 # include <sys/socket.h>
16827 #include <netipx/ipx.h>
16831 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16836 rm -f conftest.$ac_objext
16837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16838 (eval $ac_compile) 2>conftest.er1
16840 grep -v '^ *+' conftest.er1 >conftest.err
16842 cat conftest.err >&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } &&
16845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; } &&
16851 { ac_try='test -s conftest.$ac_objext'
16852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16853 (eval $ac_try) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_cv_c_ipx_gnu="yes"
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.$ac_ext >&5
16862 ac_cv_c_ipx_gnu="no"
16864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16867 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16868 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16869 if test "$ac_cv_c_ipx_gnu" = "yes"
16872 cat >>confdefs.h <<\_ACEOF
16873 #define HAVE_IPX_GNU 1
16878 if test "$ac_cv_c_ipx_gnu" = "no"
16880 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16881 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16882 if test "${ac_cv_c_ipx_linux+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 cat >conftest.$ac_ext <<_ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 #include <sys/types.h>
16892 #ifdef HAVE_SYS_SOCKET_H
16893 # include <sys/socket.h>
16895 #include <asm/types.h>
16896 #include <linux/ipx.h>
16900 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16905 rm -f conftest.$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16909 grep -v '^ *+' conftest.er1 >conftest.err
16911 cat conftest.err >&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 ac_cv_c_ipx_linux="yes"
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 ac_cv_c_ipx_linux="no"
16933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16936 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16937 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16938 if test "$ac_cv_c_ipx_linux" = "yes"
16941 cat >>confdefs.h <<\_ACEOF
16942 #define HAVE_IPX_LINUX 1
16949 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16950 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16951 if test "${ac_cv_c_const+set}" = set; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 cat >conftest.$ac_ext <<_ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16964 /* FIXME: Include the comments suggested by Paul. */
16965 #ifndef __cplusplus
16966 /* Ultrix mips cc rejects this. */
16967 typedef int charset[2];
16969 /* SunOS 4.1.1 cc rejects this. */
16970 char const *const *ccp;
16972 /* NEC SVR4.0.2 mips cc rejects this. */
16973 struct point {int x, y;};
16974 static struct point const zero = {0,0};
16975 /* AIX XL C 1.02.0.0 rejects this.
16976 It does not let you subtract one const X* pointer from another in
16977 an arm of an if-expression whose if-part is not a constant
16979 const char *g = "string";
16980 ccp = &g + (g ? g-g : 0);
16981 /* HPUX 7.0 cc rejects these. */
16984 ccp = (char const *const *) p;
16985 { /* SCO 3.2v4 cc rejects this. */
16987 char const *s = 0 ? (char *) 0 : (char const *) 0;
16991 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16992 int x[] = {25, 17};
16993 const int *foo = &x[0];
16996 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16997 typedef const int *iptr;
17001 { /* AIX XL C 1.02.0.0 rejects this saying
17002 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17003 struct s { int j; const int *ap[3]; };
17004 struct s *b; b->j = 5;
17006 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17007 const int foo = 10;
17015 rm -f conftest.$ac_objext
17016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17017 (eval $ac_compile) 2>conftest.er1
17019 grep -v '^ *+' conftest.er1 >conftest.err
17021 cat conftest.err >&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } &&
17024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 (eval $ac_try) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; } &&
17030 { ac_try='test -s conftest.$ac_objext'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; }; then
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.$ac_ext >&5
17043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17045 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17046 echo "${ECHO_T}$ac_cv_c_const" >&6
17047 if test $ac_cv_c_const = no; then
17049 cat >>confdefs.h <<\_ACEOF
17055 echo "$as_me:$LINENO: checking for inline" >&5
17056 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17057 if test "${ac_cv_c_inline+set}" = set; then
17058 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 for ac_kw in inline __inline__ __inline; do
17062 cat >conftest.$ac_ext <<_ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 #ifndef __cplusplus
17070 static $ac_kw foo_t static_foo () {return 0; }
17071 $ac_kw foo_t foo () {return 0; }
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_inline=$ac_kw; break
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17107 echo "${ECHO_T}$ac_cv_c_inline" >&6
17110 case $ac_cv_c_inline in
17113 case $ac_cv_c_inline in
17115 *) ac_val=$ac_cv_c_inline;;
17117 cat >>confdefs.h <<_ACEOF
17118 #ifndef __cplusplus
17119 #define inline $ac_val
17125 echo "$as_me:$LINENO: checking for mode_t" >&5
17126 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17127 if test "${ac_cv_type_mode_t+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 cat >conftest.$ac_ext <<_ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 $ac_includes_default
17142 if (sizeof (mode_t))
17148 rm -f conftest.$ac_objext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17150 (eval $ac_compile) 2>conftest.er1
17152 grep -v '^ *+' conftest.er1 >conftest.err
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } &&
17157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; } &&
17163 { ac_try='test -s conftest.$ac_objext'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17169 ac_cv_type_mode_t=yes
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cv_type_mode_t=no
17176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17178 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17179 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17180 if test $ac_cv_type_mode_t = yes; then
17182 cat >>confdefs.h <<_ACEOF
17183 #define HAVE_MODE_T 1
17188 echo "$as_me:$LINENO: checking for off_t" >&5
17189 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17190 if test "${ac_cv_type_off_t+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. */
17199 $ac_includes_default
17205 if (sizeof (off_t))
17211 rm -f conftest.$ac_objext
17212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17213 (eval $ac_compile) 2>conftest.er1
17215 grep -v '^ *+' conftest.er1 >conftest.err
17217 cat conftest.err >&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } &&
17220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; } &&
17226 { ac_try='test -s conftest.$ac_objext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 ac_cv_type_off_t=yes
17234 echo "$as_me: failed program was:" >&5
17235 sed 's/^/| /' conftest.$ac_ext >&5
17237 ac_cv_type_off_t=no
17239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17241 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17242 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17243 if test $ac_cv_type_off_t = yes; then
17245 cat >>confdefs.h <<_ACEOF
17246 #define HAVE_OFF_T 1
17251 echo "$as_me:$LINENO: checking for pid_t" >&5
17252 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17253 if test "${ac_cv_type_pid_t+set}" = set; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17256 cat >conftest.$ac_ext <<_ACEOF
17259 cat confdefs.h >>conftest.$ac_ext
17260 cat >>conftest.$ac_ext <<_ACEOF
17261 /* end confdefs.h. */
17262 $ac_includes_default
17268 if (sizeof (pid_t))
17274 rm -f conftest.$ac_objext
17275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17276 (eval $ac_compile) 2>conftest.er1
17278 grep -v '^ *+' conftest.er1 >conftest.err
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } &&
17283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; } &&
17289 { ac_try='test -s conftest.$ac_objext'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; }; then
17295 ac_cv_type_pid_t=yes
17297 echo "$as_me: failed program was:" >&5
17298 sed 's/^/| /' conftest.$ac_ext >&5
17300 ac_cv_type_pid_t=no
17302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17304 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17305 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17306 if test $ac_cv_type_pid_t = yes; then
17308 cat >>confdefs.h <<_ACEOF
17309 #define HAVE_PID_T 1
17314 echo "$as_me:$LINENO: checking for size_t" >&5
17315 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17316 if test "${ac_cv_type_size_t+set}" = set; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17319 cat >conftest.$ac_ext <<_ACEOF
17322 cat confdefs.h >>conftest.$ac_ext
17323 cat >>conftest.$ac_ext <<_ACEOF
17324 /* end confdefs.h. */
17325 $ac_includes_default
17331 if (sizeof (size_t))
17337 rm -f conftest.$ac_objext
17338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17339 (eval $ac_compile) 2>conftest.er1
17341 grep -v '^ *+' conftest.er1 >conftest.err
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } &&
17346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; } &&
17352 { ac_try='test -s conftest.$ac_objext'
17353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17354 (eval $ac_try) 2>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; }; then
17358 ac_cv_type_size_t=yes
17360 echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.$ac_ext >&5
17363 ac_cv_type_size_t=no
17365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17367 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17368 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17369 if test $ac_cv_type_size_t = yes; then
17371 cat >>confdefs.h <<_ACEOF
17372 #define HAVE_SIZE_T 1
17377 echo "$as_me:$LINENO: checking for ssize_t" >&5
17378 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17379 if test "${ac_cv_type_ssize_t+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 cat >conftest.$ac_ext <<_ACEOF
17385 cat confdefs.h >>conftest.$ac_ext
17386 cat >>conftest.$ac_ext <<_ACEOF
17387 /* end confdefs.h. */
17388 $ac_includes_default
17394 if (sizeof (ssize_t))
17400 rm -f conftest.$ac_objext
17401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17402 (eval $ac_compile) 2>conftest.er1
17404 grep -v '^ *+' conftest.er1 >conftest.err
17406 cat conftest.err >&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } &&
17409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17411 (eval $ac_try) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); }; } &&
17415 { ac_try='test -s conftest.$ac_objext'
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17417 (eval $ac_try) 2>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); }; }; then
17421 ac_cv_type_ssize_t=yes
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.$ac_ext >&5
17426 ac_cv_type_ssize_t=no
17428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17430 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17431 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17432 if test $ac_cv_type_ssize_t = yes; then
17434 cat >>confdefs.h <<_ACEOF
17435 #define HAVE_SSIZE_T 1
17440 echo "$as_me:$LINENO: checking for long long" >&5
17441 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17442 if test "${ac_cv_type_long_long+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 cat >conftest.$ac_ext <<_ACEOF
17448 cat confdefs.h >>conftest.$ac_ext
17449 cat >>conftest.$ac_ext <<_ACEOF
17450 /* end confdefs.h. */
17451 $ac_includes_default
17455 if ((long long *) 0)
17457 if (sizeof (long long))
17463 rm -f conftest.$ac_objext
17464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17465 (eval $ac_compile) 2>conftest.er1
17467 grep -v '^ *+' conftest.er1 >conftest.err
17469 cat conftest.err >&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } &&
17472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; } &&
17478 { ac_try='test -s conftest.$ac_objext'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; }; then
17484 ac_cv_type_long_long=yes
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.$ac_ext >&5
17489 ac_cv_type_long_long=no
17491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17493 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17494 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17495 if test $ac_cv_type_long_long = yes; then
17497 cat >>confdefs.h <<_ACEOF
17498 #define HAVE_LONG_LONG 1
17503 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17504 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17505 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 cat >conftest.$ac_ext <<_ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17518 if ((fsblkcnt_t *) 0)
17520 if (sizeof (fsblkcnt_t))
17526 rm -f conftest.$ac_objext
17527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17528 (eval $ac_compile) 2>conftest.er1
17530 grep -v '^ *+' conftest.er1 >conftest.err
17532 cat conftest.err >&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } &&
17535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 ac_cv_type_fsblkcnt_t=yes
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17552 ac_cv_type_fsblkcnt_t=no
17554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17556 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17557 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17558 if test $ac_cv_type_fsblkcnt_t = yes; then
17560 cat >>confdefs.h <<_ACEOF
17561 #define HAVE_FSBLKCNT_T 1
17566 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17567 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17568 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17571 cat >conftest.$ac_ext <<_ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577 $ac_includes_default
17581 if ((fsfilcnt_t *) 0)
17583 if (sizeof (fsfilcnt_t))
17589 rm -f conftest.$ac_objext
17590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17591 (eval $ac_compile) 2>conftest.er1
17593 grep -v '^ *+' conftest.er1 >conftest.err
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } &&
17598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17600 (eval $ac_try) 2>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); }; } &&
17604 { ac_try='test -s conftest.$ac_objext'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; }; then
17610 ac_cv_type_fsfilcnt_t=yes
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17615 ac_cv_type_fsfilcnt_t=no
17617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17619 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17620 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17621 if test $ac_cv_type_fsfilcnt_t = yes; then
17623 cat >>confdefs.h <<_ACEOF
17624 #define HAVE_FSFILCNT_T 1
17630 echo "$as_me:$LINENO: checking for sigset_t" >&5
17631 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
17632 if test "${ac_cv_type_sigset_t+set}" = set; then
17633 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 cat >conftest.$ac_ext <<_ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 #include <signal.h>
17646 if ((sigset_t *) 0)
17648 if (sizeof (sigset_t))
17654 rm -f conftest.$ac_objext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17656 (eval $ac_compile) 2>conftest.er1
17658 grep -v '^ *+' conftest.er1 >conftest.err
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } &&
17663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 ac_cv_type_sigset_t=yes
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.$ac_ext >&5
17680 ac_cv_type_sigset_t=no
17682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17684 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17685 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17686 if test $ac_cv_type_sigset_t = yes; then
17688 cat >>confdefs.h <<_ACEOF
17689 #define HAVE_SIGSET_T 1
17696 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17697 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17698 if test "${wine_cv_linux_input_h+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 cat >conftest.$ac_ext <<_ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17708 #include <linux/input.h>
17714 int foo = EVIOCGBIT(EV_ABS,42);
17715 int bar = BTN_PINKIE;
17722 rm -f conftest.$ac_objext
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>conftest.er1
17726 grep -v '^ *+' conftest.er1 >conftest.err
17728 cat conftest.err >&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); } &&
17731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; } &&
17737 { ac_try='test -s conftest.$ac_objext'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; }; then
17743 wine_cv_linux_input_h=yes
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.$ac_ext >&5
17748 wine_cv_linux_input_h=no
17750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17753 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17754 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17755 if test "$wine_cv_linux_input_h" = "yes"
17758 cat >>confdefs.h <<\_ACEOF
17759 #define HAVE_CORRECT_LINUXINPUT_H 1
17764 echo "$as_me:$LINENO: checking for sigaddset" >&5
17765 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17766 if test "${wine_cv_have_sigaddset+set}" = set; then
17767 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 cat >conftest.$ac_ext <<_ACEOF
17772 cat confdefs.h >>conftest.$ac_ext
17773 cat >>conftest.$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17775 #include <signal.h>
17779 sigset_t set; sigaddset(&set,SIGTERM);
17784 rm -f conftest.$ac_objext conftest$ac_exeext
17785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17786 (eval $ac_link) 2>conftest.er1
17788 grep -v '^ *+' conftest.er1 >conftest.err
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } &&
17793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; } &&
17799 { ac_try='test -s conftest$ac_exeext'
17800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 (eval $ac_try) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); }; }; then
17805 wine_cv_have_sigaddset=yes
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.$ac_ext >&5
17810 wine_cv_have_sigaddset=no
17812 rm -f conftest.err conftest.$ac_objext \
17813 conftest$ac_exeext conftest.$ac_ext
17815 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17816 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17817 if test "$wine_cv_have_sigaddset" = "yes"
17820 cat >>confdefs.h <<\_ACEOF
17821 #define HAVE_SIGADDSET 1
17827 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17828 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17829 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17832 cat >conftest.$ac_ext <<_ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17847 struct hostent *result;
17854 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17855 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17861 rm -f conftest.$ac_objext conftest$ac_exeext
17862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17863 (eval $ac_link) 2>conftest.er1
17865 grep -v '^ *+' conftest.er1 >conftest.err
17867 cat conftest.err >&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } &&
17870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; } &&
17876 { ac_try='test -s conftest$ac_exeext'
17877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17878 (eval $ac_try) 2>&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); }; }; then
17882 wine_cv_linux_gethostbyname_r_6=yes
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.$ac_ext >&5
17887 wine_cv_linux_gethostbyname_r_6=no
17890 rm -f conftest.err conftest.$ac_objext \
17891 conftest$ac_exeext conftest.$ac_ext
17894 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17895 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17896 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17899 cat >>confdefs.h <<\_ACEOF
17900 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17905 if test "$ac_cv_header_linux_joystick_h" = "yes"
17907 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17908 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17909 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 cat >conftest.$ac_ext <<_ACEOF
17915 cat confdefs.h >>conftest.$ac_ext
17916 cat >>conftest.$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17919 #include <sys/ioctl.h>
17920 #include <linux/joystick.h>
17922 struct js_event blub;
17923 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17924 #error "no 2.2 header"
17935 rm -f conftest.$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17939 grep -v '^ *+' conftest.er1 >conftest.err
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try='test -s conftest.$ac_objext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17956 wine_cv_linux_joystick_22_api=yes
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17961 wine_cv_linux_joystick_22_api=no
17963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17966 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17967 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17968 if test "$wine_cv_linux_joystick_22_api" = "yes"
17971 cat >>confdefs.h <<\_ACEOF
17972 #define HAVE_LINUX_22_JOYSTICK_API 1
17979 if test "$ac_cv_header_sys_vfs_h" = "yes"
17981 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17982 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17983 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17984 echo $ECHO_N "(cached) $ECHO_C" >&6
17986 cat >conftest.$ac_ext <<_ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17993 #include <sys/types.h>
17994 #ifdef HAVE_SYS_PARAM_H
17995 # include <sys/param.h>
17997 #include <sys/vfs.h>
18003 struct statfs stfs;
18005 memset(&stfs,0,sizeof(stfs));
18011 rm -f conftest.$ac_objext
18012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18013 (eval $ac_compile) 2>conftest.er1
18015 grep -v '^ *+' conftest.er1 >conftest.err
18017 cat conftest.err >&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } &&
18020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; } &&
18026 { ac_try='test -s conftest.$ac_objext'
18027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18028 (eval $ac_try) 2>&5
18030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 (exit $ac_status); }; }; then
18032 wine_cv_sys_vfs_has_statfs=yes
18034 echo "$as_me: failed program was:" >&5
18035 sed 's/^/| /' conftest.$ac_ext >&5
18037 wine_cv_sys_vfs_has_statfs=no
18040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18043 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18044 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18045 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18048 cat >>confdefs.h <<\_ACEOF
18049 #define STATFS_DEFINED_BY_SYS_VFS 1
18055 if test "$ac_cv_header_sys_statfs_h" = "yes"
18057 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18058 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18059 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18062 cat >conftest.$ac_ext <<_ACEOF
18065 cat confdefs.h >>conftest.$ac_ext
18066 cat >>conftest.$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18069 #include <sys/types.h>
18070 #ifdef HAVE_SYS_PARAM_H
18071 # include <sys/param.h>
18073 #include <sys/statfs.h>
18079 struct statfs stfs;
18085 rm -f conftest.$ac_objext
18086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18087 (eval $ac_compile) 2>conftest.er1
18089 grep -v '^ *+' conftest.er1 >conftest.err
18091 cat conftest.err >&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } &&
18094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; } &&
18100 { ac_try='test -s conftest.$ac_objext'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); }; }; then
18106 wine_cv_sys_statfs_has_statfs=yes
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18111 wine_cv_sys_statfs_has_statfs=no
18114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18117 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18118 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18119 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18122 cat >>confdefs.h <<\_ACEOF
18123 #define STATFS_DEFINED_BY_SYS_STATFS 1
18129 if test "$ac_cv_header_sys_mount_h" = "yes"
18131 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18132 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18133 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18136 cat >conftest.$ac_ext <<_ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18143 #include <sys/types.h>
18144 #ifdef HAVE_SYS_PARAM_H
18145 # include <sys/param.h>
18147 #include <sys/mount.h>
18153 struct statfs stfs;
18159 rm -f conftest.$ac_objext
18160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18161 (eval $ac_compile) 2>conftest.er1
18163 grep -v '^ *+' conftest.er1 >conftest.err
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } &&
18168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; } &&
18174 { ac_try='test -s conftest.$ac_objext'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; }; then
18180 wine_cv_sys_mount_has_statfs=yes
18182 echo "$as_me: failed program was:" >&5
18183 sed 's/^/| /' conftest.$ac_ext >&5
18185 wine_cv_sys_mount_has_statfs=no
18188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18191 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18192 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18193 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18196 cat >>confdefs.h <<\_ACEOF
18197 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18204 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18205 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18206 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18207 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 cat >conftest.$ac_ext <<_ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18215 #include <sys/types.h>
18216 #ifdef HAVE_SYS_PARAM_H
18217 # include <sys/param.h>
18219 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18220 # include <sys/mount.h>
18222 # ifdef STATFS_DEFINED_BY_SYS_VFS
18223 # include <sys/vfs.h>
18225 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18226 # include <sys/statfs.h>
18234 static struct statfs ac_aggr;
18235 if (ac_aggr.f_bfree)
18241 rm -f conftest.$ac_objext
18242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18243 (eval $ac_compile) 2>conftest.er1
18245 grep -v '^ *+' conftest.er1 >conftest.err
18247 cat conftest.err >&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } &&
18250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; } &&
18256 { ac_try='test -s conftest.$ac_objext'
18257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18258 (eval $ac_try) 2>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; }; then
18262 ac_cv_member_struct_statfs_f_bfree=yes
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.$ac_ext >&5
18267 cat >conftest.$ac_ext <<_ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18273 #include <sys/types.h>
18274 #ifdef HAVE_SYS_PARAM_H
18275 # include <sys/param.h>
18277 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18278 # include <sys/mount.h>
18280 # ifdef STATFS_DEFINED_BY_SYS_VFS
18281 # include <sys/vfs.h>
18283 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18284 # include <sys/statfs.h>
18292 static struct statfs ac_aggr;
18293 if (sizeof ac_aggr.f_bfree)
18299 rm -f conftest.$ac_objext
18300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18301 (eval $ac_compile) 2>conftest.er1
18303 grep -v '^ *+' conftest.er1 >conftest.err
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } &&
18308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; } &&
18314 { ac_try='test -s conftest.$ac_objext'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; }; then
18320 ac_cv_member_struct_statfs_f_bfree=yes
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18325 ac_cv_member_struct_statfs_f_bfree=no
18327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18331 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18332 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18333 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18335 cat >>confdefs.h <<_ACEOF
18336 #define HAVE_STRUCT_STATFS_F_BFREE 1
18341 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18342 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18343 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18344 echo $ECHO_N "(cached) $ECHO_C" >&6
18346 cat >conftest.$ac_ext <<_ACEOF
18349 cat confdefs.h >>conftest.$ac_ext
18350 cat >>conftest.$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18352 #include <sys/types.h>
18353 #ifdef HAVE_SYS_PARAM_H
18354 # include <sys/param.h>
18356 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18357 # include <sys/mount.h>
18359 # ifdef STATFS_DEFINED_BY_SYS_VFS
18360 # include <sys/vfs.h>
18362 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18363 # include <sys/statfs.h>
18371 static struct statfs ac_aggr;
18372 if (ac_aggr.f_bavail)
18378 rm -f conftest.$ac_objext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18380 (eval $ac_compile) 2>conftest.er1
18382 grep -v '^ *+' conftest.er1 >conftest.err
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } &&
18387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18399 ac_cv_member_struct_statfs_f_bavail=yes
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18404 cat >conftest.$ac_ext <<_ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 #include <sys/types.h>
18411 #ifdef HAVE_SYS_PARAM_H
18412 # include <sys/param.h>
18414 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18415 # include <sys/mount.h>
18417 # ifdef STATFS_DEFINED_BY_SYS_VFS
18418 # include <sys/vfs.h>
18420 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18421 # include <sys/statfs.h>
18429 static struct statfs ac_aggr;
18430 if (sizeof ac_aggr.f_bavail)
18436 rm -f conftest.$ac_objext
18437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18438 (eval $ac_compile) 2>conftest.er1
18440 grep -v '^ *+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } &&
18445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; } &&
18451 { ac_try='test -s conftest.$ac_objext'
18452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453 (eval $ac_try) 2>&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); }; }; then
18457 ac_cv_member_struct_statfs_f_bavail=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 ac_cv_member_struct_statfs_f_bavail=no
18464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18468 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18469 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18470 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18472 cat >>confdefs.h <<_ACEOF
18473 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18478 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18479 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18480 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18481 echo $ECHO_N "(cached) $ECHO_C" >&6
18483 cat >conftest.$ac_ext <<_ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 #include <sys/types.h>
18490 #ifdef HAVE_SYS_PARAM_H
18491 # include <sys/param.h>
18493 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18494 # include <sys/mount.h>
18496 # ifdef STATFS_DEFINED_BY_SYS_VFS
18497 # include <sys/vfs.h>
18499 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18500 # include <sys/statfs.h>
18508 static struct statfs ac_aggr;
18509 if (ac_aggr.f_frsize)
18515 rm -f conftest.$ac_objext
18516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18517 (eval $ac_compile) 2>conftest.er1
18519 grep -v '^ *+' conftest.er1 >conftest.err
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } &&
18524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18526 (eval $ac_try) 2>&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); }; } &&
18530 { ac_try='test -s conftest.$ac_objext'
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 ac_cv_member_struct_statfs_f_frsize=yes
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18541 cat >conftest.$ac_ext <<_ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 #include <sys/types.h>
18548 #ifdef HAVE_SYS_PARAM_H
18549 # include <sys/param.h>
18551 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18552 # include <sys/mount.h>
18554 # ifdef STATFS_DEFINED_BY_SYS_VFS
18555 # include <sys/vfs.h>
18557 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18558 # include <sys/statfs.h>
18566 static struct statfs ac_aggr;
18567 if (sizeof ac_aggr.f_frsize)
18573 rm -f conftest.$ac_objext
18574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18575 (eval $ac_compile) 2>conftest.er1
18577 grep -v '^ *+' conftest.er1 >conftest.err
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } &&
18582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; } &&
18588 { ac_try='test -s conftest.$ac_objext'
18589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590 (eval $ac_try) 2>&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 ac_cv_member_struct_statfs_f_frsize=yes
18596 echo "$as_me: failed program was:" >&5
18597 sed 's/^/| /' conftest.$ac_ext >&5
18599 ac_cv_member_struct_statfs_f_frsize=no
18601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18605 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18606 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18607 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18609 cat >>confdefs.h <<_ACEOF
18610 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18615 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18616 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18617 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 cat >conftest.$ac_ext <<_ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626 #include <sys/types.h>
18627 #ifdef HAVE_SYS_PARAM_H
18628 # include <sys/param.h>
18630 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18631 # include <sys/mount.h>
18633 # ifdef STATFS_DEFINED_BY_SYS_VFS
18634 # include <sys/vfs.h>
18636 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18637 # include <sys/statfs.h>
18645 static struct statfs ac_aggr;
18646 if (ac_aggr.f_ffree)
18652 rm -f conftest.$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18656 grep -v '^ *+' conftest.er1 >conftest.err
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try='test -s conftest.$ac_objext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_cv_member_struct_statfs_f_ffree=yes
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.$ac_ext >&5
18678 cat >conftest.$ac_ext <<_ACEOF
18681 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18684 #include <sys/types.h>
18685 #ifdef HAVE_SYS_PARAM_H
18686 # include <sys/param.h>
18688 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18689 # include <sys/mount.h>
18691 # ifdef STATFS_DEFINED_BY_SYS_VFS
18692 # include <sys/vfs.h>
18694 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18695 # include <sys/statfs.h>
18703 static struct statfs ac_aggr;
18704 if (sizeof ac_aggr.f_ffree)
18710 rm -f conftest.$ac_objext
18711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18712 (eval $ac_compile) 2>conftest.er1
18714 grep -v '^ *+' conftest.er1 >conftest.err
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } &&
18719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_cv_member_struct_statfs_f_ffree=yes
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 ac_cv_member_struct_statfs_f_ffree=no
18738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18742 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18743 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18744 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_STRUCT_STATFS_F_FFREE 1
18752 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18753 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18754 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 cat >conftest.$ac_ext <<_ACEOF
18760 cat confdefs.h >>conftest.$ac_ext
18761 cat >>conftest.$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18763 #include <sys/types.h>
18764 #ifdef HAVE_SYS_PARAM_H
18765 # include <sys/param.h>
18767 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18768 # include <sys/mount.h>
18770 # ifdef STATFS_DEFINED_BY_SYS_VFS
18771 # include <sys/vfs.h>
18773 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18774 # include <sys/statfs.h>
18782 static struct statfs ac_aggr;
18783 if (ac_aggr.f_favail)
18789 rm -f conftest.$ac_objext
18790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18791 (eval $ac_compile) 2>conftest.er1
18793 grep -v '^ *+' conftest.er1 >conftest.err
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } &&
18798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try='test -s conftest.$ac_objext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_cv_member_struct_statfs_f_favail=yes
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.$ac_ext >&5
18815 cat >conftest.$ac_ext <<_ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <sys/types.h>
18822 #ifdef HAVE_SYS_PARAM_H
18823 # include <sys/param.h>
18825 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18826 # include <sys/mount.h>
18828 # ifdef STATFS_DEFINED_BY_SYS_VFS
18829 # include <sys/vfs.h>
18831 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18832 # include <sys/statfs.h>
18840 static struct statfs ac_aggr;
18841 if (sizeof ac_aggr.f_favail)
18847 rm -f conftest.$ac_objext
18848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18849 (eval $ac_compile) 2>conftest.er1
18851 grep -v '^ *+' conftest.er1 >conftest.err
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } &&
18856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; } &&
18862 { ac_try='test -s conftest.$ac_objext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 ac_cv_member_struct_statfs_f_favail=yes
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18873 ac_cv_member_struct_statfs_f_favail=no
18875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18879 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18880 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18881 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18883 cat >>confdefs.h <<_ACEOF
18884 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18889 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18890 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18891 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18892 echo $ECHO_N "(cached) $ECHO_C" >&6
18894 cat >conftest.$ac_ext <<_ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18901 #ifdef HAVE_SYS_PARAM_H
18902 # include <sys/param.h>
18904 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18905 # include <sys/mount.h>
18907 # ifdef STATFS_DEFINED_BY_SYS_VFS
18908 # include <sys/vfs.h>
18910 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18911 # include <sys/statfs.h>
18919 static struct statfs ac_aggr;
18920 if (ac_aggr.f_namelen)
18926 rm -f conftest.$ac_objext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18928 (eval $ac_compile) 2>conftest.er1
18930 grep -v '^ *+' conftest.er1 >conftest.err
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937 (eval $ac_try) 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; } &&
18941 { ac_try='test -s conftest.$ac_objext'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; }; then
18947 ac_cv_member_struct_statfs_f_namelen=yes
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.$ac_ext >&5
18952 cat >conftest.$ac_ext <<_ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 #include <sys/types.h>
18959 #ifdef HAVE_SYS_PARAM_H
18960 # include <sys/param.h>
18962 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18963 # include <sys/mount.h>
18965 # ifdef STATFS_DEFINED_BY_SYS_VFS
18966 # include <sys/vfs.h>
18968 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18969 # include <sys/statfs.h>
18977 static struct statfs ac_aggr;
18978 if (sizeof ac_aggr.f_namelen)
18984 rm -f conftest.$ac_objext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18986 (eval $ac_compile) 2>conftest.er1
18988 grep -v '^ *+' conftest.er1 >conftest.err
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
18993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try='test -s conftest.$ac_objext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19005 ac_cv_member_struct_statfs_f_namelen=yes
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19010 ac_cv_member_struct_statfs_f_namelen=no
19012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19016 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19017 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19018 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19028 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19029 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19030 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #ifdef HAVE_SYS_STATVFS_H
19040 #include <sys/statvfs.h>
19046 static struct statvfs ac_aggr;
19047 if (ac_aggr.f_blocks)
19053 rm -f conftest.$ac_objext
19054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19055 (eval $ac_compile) 2>conftest.er1
19057 grep -v '^ *+' conftest.er1 >conftest.err
19059 cat conftest.err >&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try='test -s conftest.$ac_objext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19074 ac_cv_member_struct_statvfs_f_blocks=yes
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19079 cat >conftest.$ac_ext <<_ACEOF
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19085 #ifdef HAVE_SYS_STATVFS_H
19086 #include <sys/statvfs.h>
19092 static struct statvfs ac_aggr;
19093 if (sizeof ac_aggr.f_blocks)
19099 rm -f conftest.$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>conftest.er1
19103 grep -v '^ *+' conftest.er1 >conftest.err
19105 cat conftest.err >&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } &&
19108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; } &&
19114 { ac_try='test -s conftest.$ac_objext'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; }; then
19120 ac_cv_member_struct_statvfs_f_blocks=yes
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19125 ac_cv_member_struct_statvfs_f_blocks=no
19127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19131 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19132 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19133 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19135 cat >>confdefs.h <<_ACEOF
19136 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19143 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19144 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19145 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19148 cat >conftest.$ac_ext <<_ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 #include <sys/types.h>
19155 #ifdef HAVE_SYS_SOCKET_H
19156 # include <sys/socket.h>
19158 #ifdef HAVE_SYS_UN_H
19159 # include <sys/un.h>
19165 static struct msghdr ac_aggr;
19166 if (ac_aggr.msg_accrights)
19172 rm -f conftest.$ac_objext
19173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174 (eval $ac_compile) 2>conftest.er1
19176 grep -v '^ *+' conftest.er1 >conftest.err
19178 cat conftest.err >&5
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); } &&
19181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183 (eval $ac_try) 2>&5
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; } &&
19187 { ac_try='test -s conftest.$ac_objext'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; }; then
19193 ac_cv_member_struct_msghdr_msg_accrights=yes
19195 echo "$as_me: failed program was:" >&5
19196 sed 's/^/| /' conftest.$ac_ext >&5
19198 cat >conftest.$ac_ext <<_ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 #include <sys/types.h>
19205 #ifdef HAVE_SYS_SOCKET_H
19206 # include <sys/socket.h>
19208 #ifdef HAVE_SYS_UN_H
19209 # include <sys/un.h>
19215 static struct msghdr ac_aggr;
19216 if (sizeof ac_aggr.msg_accrights)
19222 rm -f conftest.$ac_objext
19223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19224 (eval $ac_compile) 2>conftest.er1
19226 grep -v '^ *+' conftest.er1 >conftest.err
19228 cat conftest.err >&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); } &&
19231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; } &&
19237 { ac_try='test -s conftest.$ac_objext'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; }; then
19243 ac_cv_member_struct_msghdr_msg_accrights=yes
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.$ac_ext >&5
19248 ac_cv_member_struct_msghdr_msg_accrights=no
19250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19254 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19255 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19256 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19264 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19265 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19266 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 cat >conftest.$ac_ext <<_ACEOF
19272 cat confdefs.h >>conftest.$ac_ext
19273 cat >>conftest.$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 #include <sys/types.h>
19276 #ifdef HAVE_SYS_SOCKET_H
19277 # include <sys/socket.h>
19279 #ifdef HAVE_SYS_UN_H
19280 # include <sys/un.h>
19286 static struct sockaddr ac_aggr;
19287 if (ac_aggr.sa_len)
19293 rm -f conftest.$ac_objext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19295 (eval $ac_compile) 2>conftest.er1
19297 grep -v '^ *+' conftest.er1 >conftest.err
19299 cat conftest.err >&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } &&
19302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; } &&
19308 { ac_try='test -s conftest.$ac_objext'
19309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19310 (eval $ac_try) 2>&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); }; }; then
19314 ac_cv_member_struct_sockaddr_sa_len=yes
19316 echo "$as_me: failed program was:" >&5
19317 sed 's/^/| /' conftest.$ac_ext >&5
19319 cat >conftest.$ac_ext <<_ACEOF
19322 cat confdefs.h >>conftest.$ac_ext
19323 cat >>conftest.$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 #include <sys/types.h>
19326 #ifdef HAVE_SYS_SOCKET_H
19327 # include <sys/socket.h>
19329 #ifdef HAVE_SYS_UN_H
19330 # include <sys/un.h>
19336 static struct sockaddr ac_aggr;
19337 if (sizeof ac_aggr.sa_len)
19343 rm -f conftest.$ac_objext
19344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19345 (eval $ac_compile) 2>conftest.er1
19347 grep -v '^ *+' conftest.er1 >conftest.err
19349 cat conftest.err >&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } &&
19352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19354 (eval $ac_try) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); }; } &&
19358 { ac_try='test -s conftest.$ac_objext'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; }; then
19364 ac_cv_member_struct_sockaddr_sa_len=yes
19366 echo "$as_me: failed program was:" >&5
19367 sed 's/^/| /' conftest.$ac_ext >&5
19369 ac_cv_member_struct_sockaddr_sa_len=no
19371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19375 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19376 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19377 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19379 cat >>confdefs.h <<_ACEOF
19380 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19385 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19386 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19387 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 cat >conftest.$ac_ext <<_ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 #include <sys/types.h>
19397 #ifdef HAVE_SYS_SOCKET_H
19398 # include <sys/socket.h>
19400 #ifdef HAVE_SYS_UN_H
19401 # include <sys/un.h>
19407 static struct sockaddr_un ac_aggr;
19408 if (ac_aggr.sun_len)
19414 rm -f conftest.$ac_objext
19415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19416 (eval $ac_compile) 2>conftest.er1
19418 grep -v '^ *+' conftest.er1 >conftest.err
19420 cat conftest.err >&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); } &&
19423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; } &&
19429 { ac_try='test -s conftest.$ac_objext'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; }; then
19435 ac_cv_member_struct_sockaddr_un_sun_len=yes
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.$ac_ext >&5
19440 cat >conftest.$ac_ext <<_ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 #include <sys/types.h>
19447 #ifdef HAVE_SYS_SOCKET_H
19448 # include <sys/socket.h>
19450 #ifdef HAVE_SYS_UN_H
19451 # include <sys/un.h>
19457 static struct sockaddr_un ac_aggr;
19458 if (sizeof ac_aggr.sun_len)
19464 rm -f conftest.$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19468 grep -v '^ *+' conftest.er1 >conftest.err
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest.$ac_objext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 ac_cv_member_struct_sockaddr_un_sun_len=yes
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 ac_cv_member_struct_sockaddr_un_sun_len=no
19492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19496 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19497 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19498 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19500 cat >>confdefs.h <<_ACEOF
19501 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19508 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19509 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19510 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 cat >conftest.$ac_ext <<_ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 #include <signal.h>
19524 static siginfo_t ac_aggr;
19531 rm -f conftest.$ac_objext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19533 (eval $ac_compile) 2>conftest.er1
19535 grep -v '^ *+' conftest.er1 >conftest.err
19537 cat conftest.err >&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); } &&
19540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try='test -s conftest.$ac_objext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_member_siginfo_t_si_fd=yes
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19557 cat >conftest.$ac_ext <<_ACEOF
19560 cat confdefs.h >>conftest.$ac_ext
19561 cat >>conftest.$ac_ext <<_ACEOF
19562 /* end confdefs.h. */
19563 #include <signal.h>
19568 static siginfo_t ac_aggr;
19569 if (sizeof ac_aggr.si_fd)
19575 rm -f conftest.$ac_objext
19576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19577 (eval $ac_compile) 2>conftest.er1
19579 grep -v '^ *+' conftest.er1 >conftest.err
19581 cat conftest.err >&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } &&
19584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; } &&
19590 { ac_try='test -s conftest.$ac_objext'
19591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19592 (eval $ac_try) 2>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; }; then
19596 ac_cv_member_siginfo_t_si_fd=yes
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19601 ac_cv_member_siginfo_t_si_fd=no
19603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19607 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19608 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19609 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19611 cat >>confdefs.h <<_ACEOF
19612 #define HAVE_SIGINFO_T_SI_FD 1
19619 echo "$as_me:$LINENO: checking for struct option.name" >&5
19620 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19621 if test "${ac_cv_member_struct_option_name+set}" = set; then
19622 echo $ECHO_N "(cached) $ECHO_C" >&6
19624 cat >conftest.$ac_ext <<_ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 #ifdef HAVE_GETOPT_H
19631 #include <getopt.h>
19637 static struct option ac_aggr;
19644 rm -f conftest.$ac_objext
19645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19646 (eval $ac_compile) 2>conftest.er1
19648 grep -v '^ *+' conftest.er1 >conftest.err
19650 cat conftest.err >&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } &&
19653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; } &&
19659 { ac_try='test -s conftest.$ac_objext'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; }; then
19665 ac_cv_member_struct_option_name=yes
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19670 cat >conftest.$ac_ext <<_ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 #ifdef HAVE_GETOPT_H
19677 #include <getopt.h>
19683 static struct option ac_aggr;
19684 if (sizeof ac_aggr.name)
19690 rm -f conftest.$ac_objext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19692 (eval $ac_compile) 2>conftest.er1
19694 grep -v '^ *+' conftest.er1 >conftest.err
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701 (eval $ac_try) 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; } &&
19705 { ac_try='test -s conftest.$ac_objext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_cv_member_struct_option_name=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19716 ac_cv_member_struct_option_name=no
19718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19722 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19723 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19724 if test $ac_cv_member_struct_option_name = yes; then
19726 cat >>confdefs.h <<_ACEOF
19727 #define HAVE_STRUCT_OPTION_NAME 1
19734 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19735 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19736 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19737 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 cat >conftest.$ac_ext <<_ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 $ac_includes_default
19749 static struct stat ac_aggr;
19750 if (ac_aggr.st_blocks)
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_stat_st_blocks=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 $ac_includes_default
19792 static struct stat ac_aggr;
19793 if (sizeof ac_aggr.st_blocks)
19799 rm -f conftest.$ac_objext
19800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19801 (eval $ac_compile) 2>conftest.er1
19803 grep -v '^ *+' conftest.er1 >conftest.err
19805 cat conftest.err >&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); } &&
19808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; } &&
19814 { ac_try='test -s conftest.$ac_objext'
19815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816 (eval $ac_try) 2>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); }; }; then
19820 ac_cv_member_struct_stat_st_blocks=yes
19822 echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19825 ac_cv_member_struct_stat_st_blocks=no
19827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19831 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19832 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19833 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19835 cat >>confdefs.h <<_ACEOF
19836 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19845 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19846 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19847 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 cat >conftest.$ac_ext <<_ACEOF
19853 cat confdefs.h >>conftest.$ac_ext
19854 cat >>conftest.$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19861 $EGREP "yes" >/dev/null 2>&1; then
19862 ac_cv_cpp_def___i386__=yes
19864 ac_cv_cpp_def___i386__=no
19869 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19870 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19871 if test $ac_cv_cpp_def___i386__ = yes; then
19872 CFLAGS="$CFLAGS -D__i386__"
19873 LINTFLAGS="$LINTFLAGS -D__i386__"
19876 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19877 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19878 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19881 cat >conftest.$ac_ext <<_ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19892 $EGREP "yes" >/dev/null 2>&1; then
19893 ac_cv_cpp_def___ALPHA__=yes
19895 ac_cv_cpp_def___ALPHA__=no
19900 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19901 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19902 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19903 CFLAGS="$CFLAGS -D__ALPHA__"
19904 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19907 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19908 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19909 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19910 echo $ECHO_N "(cached) $ECHO_C" >&6
19912 cat >conftest.$ac_ext <<_ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19923 $EGREP "yes" >/dev/null 2>&1; then
19924 ac_cv_cpp_def___sparc__=yes
19926 ac_cv_cpp_def___sparc__=no
19931 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19932 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19933 if test $ac_cv_cpp_def___sparc__ = yes; then
19934 CFLAGS="$CFLAGS -D__sparc__"
19935 LINTFLAGS="$LINTFLAGS -D__sparc__"
19938 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19939 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19940 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 cat >conftest.$ac_ext <<_ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 #ifndef __powerpc__
19953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19954 $EGREP "yes" >/dev/null 2>&1; then
19955 ac_cv_cpp_def___powerpc__=yes
19957 ac_cv_cpp_def___powerpc__=no
19962 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19963 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19964 if test $ac_cv_cpp_def___powerpc__ = yes; then
19965 CFLAGS="$CFLAGS -D__powerpc__"
19966 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19971 case $host_vendor in
19972 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19973 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19974 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19975 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 cat >conftest.$ac_ext <<_ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19988 $EGREP "yes" >/dev/null 2>&1; then
19989 ac_cv_cpp_def___sun__=yes
19991 ac_cv_cpp_def___sun__=no
19996 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19997 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19998 if test $ac_cv_cpp_def___sun__ = yes; then
19999 CFLAGS="$CFLAGS -D__sun__"
20000 LINTFLAGS="$LINTFLAGS -D__sun__"
20009 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
20011 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
20013 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
20015 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
20017 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
20019 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
20021 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
20023 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
20025 ac_config_commands="$ac_config_commands dlls/kernel/messages"
20027 ac_config_commands="$ac_config_commands dlls/user/dde"
20029 ac_config_commands="$ac_config_commands dlls/user/resources"
20031 ac_config_commands="$ac_config_commands dlls/wineps/data"
20033 ac_config_commands="$ac_config_commands include/wine"
20035 ac_config_commands="$ac_config_commands misc"
20037 ac_config_commands="$ac_config_commands programs/regedit/tests"
20039 ac_config_commands="$ac_config_commands windows"
20042 MAKE_RULES=Make.rules
20045 MAKE_DLL_RULES=dlls/Makedll.rules
20048 MAKE_TEST_RULES=dlls/Maketest.rules
20051 MAKE_LIB_RULES=libs/Makelib.rules
20054 MAKE_PROG_RULES=programs/Makeprog.rules
20057 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/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/cryptdll/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/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/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/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/riched20/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/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/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/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"
20060 cat >confcache <<\_ACEOF
20061 # This file is a shell script that caches the results of configure
20062 # tests run on this system so they can be shared between configure
20063 # scripts and configure runs, see configure's option --config-cache.
20064 # It is not useful on other systems. If it contains results you don't
20065 # want to keep, you may remove or edit it.
20067 # config.status only pays attention to the cache file if you give it
20068 # the --recheck option to rerun configure.
20070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20072 # following values.
20076 # The following way of writing the cache mishandles newlines in values,
20077 # but we know of no workaround that is simple, portable, and efficient.
20078 # So, don't put newlines in cache variables' values.
20079 # Ultrix sh set writes to stderr and can't be redirected directly,
20080 # and sets the high bit in the cache file unless we assign to the vars.
20083 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20085 # `set' does not quote correctly, so add quotes (double-quote
20086 # substitution turns \\\\ into \\, and sed turns \\ into \).
20089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20092 # `set' quotes correctly as required by POSIX, so do not add quotes.
20094 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20103 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20105 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20106 if test -w $cache_file; then
20107 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20108 cat confcache >$cache_file
20110 echo "not updating unwritable cache $cache_file"
20115 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20116 # Let make expand exec_prefix.
20117 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20119 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20120 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20121 # trailing colons and then remove the whole line if VPATH becomes empty
20122 # (actually we leave an empty line to preserve line numbers).
20123 if test "x$srcdir" = x.; then
20124 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20125 s/:*\$(srcdir):*/:/;
20126 s/:*\${srcdir}:*/:/;
20128 s/^\([^=]*=[ ]*\):*/\1/;
20134 DEFS=-DHAVE_CONFIG_H
20138 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20139 # 1. Remove the extension, and $U if already installed.
20140 ac_i=`echo "$ac_i" |
20141 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20143 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20144 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20146 LIBOBJS=$ac_libobjs
20148 LTLIBOBJS=$ac_ltlibobjs
20152 : ${CONFIG_STATUS=./config.status}
20153 ac_clean_files_save=$ac_clean_files
20154 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20155 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20156 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20157 cat >$CONFIG_STATUS <<_ACEOF
20159 # Generated by $as_me.
20160 # Run this file to recreate the current configuration.
20161 # Compiler output produced by configure, useful for debugging
20162 # configure, is in config.log if it exists.
20165 ac_cs_recheck=false
20167 SHELL=\${CONFIG_SHELL-$SHELL}
20170 cat >>$CONFIG_STATUS <<\_ACEOF
20171 ## --------------------- ##
20172 ## M4sh Initialization. ##
20173 ## --------------------- ##
20175 # Be Bourne compatible
20176 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20179 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20180 # is contrary to our usage. Disable this feature.
20181 alias -g '${1+"$@"}'='"$@"'
20182 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20185 DUALCASE=1; export DUALCASE # for MKS sh
20187 # Support unset when possible.
20188 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20195 # Work around bugs in pre-3.0 UWIN ksh.
20196 $as_unset ENV MAIL MAILPATH
20203 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20204 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20205 LC_TELEPHONE LC_TIME
20207 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20208 eval $as_var=C; export $as_var
20214 # Required to use basename.
20215 if expr a : '\(a\)' >/dev/null 2>&1; then
20221 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20222 as_basename=basename
20228 # Name of the executable.
20229 as_me=`$as_basename "$0" ||
20230 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20231 X"$0" : 'X\(//\)$' \| \
20232 X"$0" : 'X\(/\)$' \| \
20233 . : '\(.\)' 2>/dev/null ||
20235 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20236 /^X\/\(\/\/\)$/{ s//\1/; q; }
20237 /^X\/\(\/\).*/{ s//\1/; q; }
20241 # PATH needs CR, and LINENO needs CR and PATH.
20242 # Avoid depending upon Character Ranges.
20243 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20244 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20245 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20246 as_cr_digits='0123456789'
20247 as_cr_alnum=$as_cr_Letters$as_cr_digits
20249 # The user is always right.
20250 if test "${PATH_SEPARATOR+set}" != set; then
20251 echo "#! /bin/sh" >conf$$.sh
20252 echo "exit 0" >>conf$$.sh
20254 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20263 as_lineno_1=$LINENO
20264 as_lineno_2=$LINENO
20265 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20266 test "x$as_lineno_1" != "x$as_lineno_2" &&
20267 test "x$as_lineno_3" = "x$as_lineno_2" || {
20268 # Find who we are. Look in the path if we contain no path at all
20271 *[\\/]* ) as_myself=$0 ;;
20272 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20273 for as_dir in $PATH
20276 test -z "$as_dir" && as_dir=.
20277 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20282 # We did not find ourselves, most probably we were run as `sh COMMAND'
20283 # in which case we are not to be found in the path.
20284 if test "x$as_myself" = x; then
20287 if test ! -f "$as_myself"; then
20288 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20289 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20290 { (exit 1); exit 1; }; }
20292 case $CONFIG_SHELL in
20294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20295 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20298 test -z "$as_dir" && as_dir=.
20299 for as_base in sh bash ksh sh5; do
20302 if ("$as_dir/$as_base" -c '
20303 as_lineno_1=$LINENO
20304 as_lineno_2=$LINENO
20305 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20306 test "x$as_lineno_1" != "x$as_lineno_2" &&
20307 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20308 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20309 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20310 CONFIG_SHELL=$as_dir/$as_base
20311 export CONFIG_SHELL
20312 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20320 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20321 # uniformly replaced by the line number. The first 'sed' inserts a
20322 # line-number line before each line; the second 'sed' does the real
20323 # work. The second script uses 'N' to pair each line-number line
20324 # with the numbered line, and appends trailing '-' during
20325 # substitution so that $LINENO is not a special case at line end.
20326 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20327 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20328 sed '=' <$as_myself |
20333 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20336 s,^['$as_cr_digits']*\n,,
20337 ' >$as_me.lineno &&
20338 chmod +x $as_me.lineno ||
20339 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20340 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20341 { (exit 1); exit 1; }; }
20343 # Don't try to exec as it changes $[0], causing all sort of problems
20344 # (the dirname of $[0] is not the place where we might find the
20345 # original and so on. Autoconf is especially sensible to this).
20347 # Exit status is that of the last command.
20352 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20353 *c*,-n*) ECHO_N= ECHO_C='
20355 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20356 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20359 if expr a : '\(a\)' >/dev/null 2>&1; then
20365 rm -f conf$$ conf$$.exe conf$$.file
20367 if ln -s conf$$.file conf$$ 2>/dev/null; then
20368 # We could just check for DJGPP; but this test a) works b) is more generic
20369 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20370 if test -f conf$$.exe; then
20371 # Don't use ln at all; we don't have any links
20376 elif ln conf$$.file conf$$ 2>/dev/null; then
20381 rm -f conf$$ conf$$.exe conf$$.file
20383 if mkdir -p . 2>/dev/null; then
20386 test -d ./-p && rmdir ./-p
20390 as_executable_p="test -f"
20392 # Sed expression to map a string onto a valid CPP name.
20393 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20395 # Sed expression to map a string onto a valid variable name.
20396 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20400 # We need space, tab and new line, in precisely that order.
20410 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20411 # report actual input values of CONFIG_FILES etc. instead of their
20412 # values after options handling. Logging --version etc. is OK.
20416 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20417 ## Running $as_me. ##
20422 This file was extended by Wine $as_me 20050310, which was
20423 generated by GNU Autoconf 2.59. Invocation command line was
20425 CONFIG_FILES = $CONFIG_FILES
20426 CONFIG_HEADERS = $CONFIG_HEADERS
20427 CONFIG_LINKS = $CONFIG_LINKS
20428 CONFIG_COMMANDS = $CONFIG_COMMANDS
20432 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20436 # Files that config.status was made for.
20437 if test -n "$ac_config_files"; then
20438 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20441 if test -n "$ac_config_headers"; then
20442 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20445 if test -n "$ac_config_links"; then
20446 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20449 if test -n "$ac_config_commands"; then
20450 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20453 cat >>$CONFIG_STATUS <<\_ACEOF
20456 \`$as_me' instantiates files from templates according to the
20457 current configuration.
20459 Usage: $0 [OPTIONS] [FILE]...
20461 -h, --help print this help, then exit
20462 -V, --version print version number, then exit
20463 -q, --quiet do not print progress messages
20464 -d, --debug don't remove temporary files
20465 --recheck update $as_me by reconfiguring in the same conditions
20466 --file=FILE[:TEMPLATE]
20467 instantiate the configuration file FILE
20468 --header=FILE[:TEMPLATE]
20469 instantiate the configuration header FILE
20471 Configuration files:
20474 Configuration headers:
20477 Configuration commands:
20480 Report bugs to <bug-autoconf@gnu.org>."
20483 cat >>$CONFIG_STATUS <<_ACEOF
20485 Wine config.status 20050310
20486 configured by $0, generated by GNU Autoconf 2.59,
20487 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20489 Copyright (C) 2003 Free Software Foundation, Inc.
20490 This config.status script is free software; the Free Software Foundation
20491 gives unlimited permission to copy, distribute and modify it."
20496 cat >>$CONFIG_STATUS <<\_ACEOF
20497 # If no file are specified by the user, then we need to provide default
20498 # value. By we need to know if files were specified by the user.
20504 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20505 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20513 *) # This is not an option, so the user has probably given explicit
20516 ac_need_defaults=false;;
20520 # Handling of the options.
20522 cat >>$CONFIG_STATUS <<\_ACEOF
20523 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20525 --version | --vers* | -V )
20526 echo "$ac_cs_version"; exit 0 ;;
20528 # Conflict between --help and --header
20529 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20530 Try \`$0 --help' for more information." >&5
20531 echo "$as_me: error: ambiguous option: $1
20532 Try \`$0 --help' for more information." >&2;}
20533 { (exit 1); exit 1; }; };;
20534 --help | --hel | -h )
20535 echo "$ac_cs_usage"; exit 0 ;;
20536 --debug | --d* | -d )
20538 --file | --fil | --fi | --f )
20540 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20541 ac_need_defaults=false;;
20542 --header | --heade | --head | --hea )
20544 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20545 ac_need_defaults=false;;
20546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20547 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20550 # This is an error.
20551 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20552 Try \`$0 --help' for more information." >&5
20553 echo "$as_me: error: unrecognized option: $1
20554 Try \`$0 --help' for more information." >&2;}
20555 { (exit 1); exit 1; }; } ;;
20557 *) ac_config_targets="$ac_config_targets $1" ;;
20563 ac_configure_extra_args=
20565 if $ac_cs_silent; then
20567 ac_configure_extra_args="$ac_configure_extra_args --silent"
20571 cat >>$CONFIG_STATUS <<_ACEOF
20572 if \$ac_cs_recheck; then
20573 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20574 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20583 cat >>$CONFIG_STATUS <<\_ACEOF
20584 for ac_config_target in $ac_config_targets
20586 case "$ac_config_target" in
20587 # Handling of arguments.
20588 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20589 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20590 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20591 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20592 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20593 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20594 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20595 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20596 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20597 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20598 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20599 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20600 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20601 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20602 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20603 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20604 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20605 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20606 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20607 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20608 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20609 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20610 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20611 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20612 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20613 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20614 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20615 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20616 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20617 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20618 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20619 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20620 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20621 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20622 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20623 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20624 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20625 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20626 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20627 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20628 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20629 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20630 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20631 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20632 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20633 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20634 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20635 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20636 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20637 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20638 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20639 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20640 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20641 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20642 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20643 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20644 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20645 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20646 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20647 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20648 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20649 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20650 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20651 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20652 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20653 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20654 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20655 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20656 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20657 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20658 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20659 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20660 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20661 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20662 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20663 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20664 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20665 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20666 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20667 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20668 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20669 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20670 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20671 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20672 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20673 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20674 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20675 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20676 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20677 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20678 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20679 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20680 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20681 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20682 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20683 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20684 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20685 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20686 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20687 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20688 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20689 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20690 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20691 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20692 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20693 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20694 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20695 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20696 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20697 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20698 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20699 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20700 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20701 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20702 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20703 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20704 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20705 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20706 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20707 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20708 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20709 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20710 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20711 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20712 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20713 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20714 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20715 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20716 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20717 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20718 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20719 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
20720 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20721 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20722 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20723 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20724 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20725 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20726 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20727 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20728 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20729 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20730 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20731 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20732 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20733 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20734 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20735 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20736 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20737 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20738 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20739 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20740 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20741 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20742 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20743 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20744 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20745 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20746 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20747 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20748 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20749 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20750 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20751 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20752 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20753 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20754 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20755 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20756 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20757 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20758 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20759 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20760 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20761 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20762 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20763 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20764 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20765 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20766 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20767 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20768 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20769 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20770 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20771 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20772 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20773 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20774 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20775 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20776 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20777 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20778 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20779 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20780 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20781 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20782 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20783 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20784 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20785 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20786 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20787 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20788 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20789 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20790 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20791 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20792 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20793 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20794 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20795 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20796 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20797 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20798 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20799 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20800 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20801 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20802 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20803 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20804 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20805 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20806 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20807 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20808 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20809 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20810 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20811 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20812 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20813 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20814 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20815 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20816 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20817 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20818 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20819 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20820 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20821 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20822 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20823 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20824 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20825 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20826 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20827 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20828 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20829 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20830 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20831 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20832 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20833 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20834 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20835 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20836 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20837 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20838 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20839 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20840 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20841 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20842 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20843 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20844 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20845 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20846 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20847 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20848 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20849 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20850 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20851 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20852 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20853 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20854 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20855 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20856 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20857 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
20858 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20859 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20860 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20861 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20862 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20863 { (exit 1); exit 1; }; };;
20867 # If the user did not use the arguments to specify the items to instantiate,
20868 # then the envvar interface is used. Set only those that are not.
20869 # We use the long form for the default assignment because of an extremely
20870 # bizarre bug on SunOS 4.1.3.
20871 if $ac_need_defaults; then
20872 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20873 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20874 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20877 # Have a temporary directory for convenience. Make it in the build tree
20878 # simply because there is no reason to put it here, and in addition,
20879 # creating and moving files from /tmp can sometimes cause problems.
20880 # Create a temporary directory, and hook for its removal unless debugging.
20883 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20884 trap '{ (exit 1); exit 1; }' 1 2 13 15
20887 # Create a (secure) tmp directory for tmp files.
20890 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20891 test -n "$tmp" && test -d "$tmp"
20894 tmp=./confstat$$-$RANDOM
20895 (umask 077 && mkdir $tmp)
20898 echo "$me: cannot create a temporary directory in ." >&2
20899 { (exit 1); exit 1; }
20904 cat >>$CONFIG_STATUS <<_ACEOF
20907 # CONFIG_FILES section.
20910 # No need to generate the scripts if there are no CONFIG_FILES.
20911 # This happens for instance when ./config.status config.h
20912 if test -n "\$CONFIG_FILES"; then
20913 # Protect against being on the right side of a sed subst in config.status.
20914 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20915 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20916 s,@SHELL@,$SHELL,;t t
20917 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20918 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20919 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20920 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20921 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20922 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20923 s,@exec_prefix@,$exec_prefix,;t t
20924 s,@prefix@,$prefix,;t t
20925 s,@program_transform_name@,$program_transform_name,;t t
20926 s,@bindir@,$bindir,;t t
20927 s,@sbindir@,$sbindir,;t t
20928 s,@libexecdir@,$libexecdir,;t t
20929 s,@datadir@,$datadir,;t t
20930 s,@sysconfdir@,$sysconfdir,;t t
20931 s,@sharedstatedir@,$sharedstatedir,;t t
20932 s,@localstatedir@,$localstatedir,;t t
20933 s,@libdir@,$libdir,;t t
20934 s,@includedir@,$includedir,;t t
20935 s,@oldincludedir@,$oldincludedir,;t t
20936 s,@infodir@,$infodir,;t t
20937 s,@mandir@,$mandir,;t t
20938 s,@build_alias@,$build_alias,;t t
20939 s,@host_alias@,$host_alias,;t t
20940 s,@target_alias@,$target_alias,;t t
20941 s,@DEFS@,$DEFS,;t t
20942 s,@ECHO_C@,$ECHO_C,;t t
20943 s,@ECHO_N@,$ECHO_N,;t t
20944 s,@ECHO_T@,$ECHO_T,;t t
20945 s,@LIBS@,$LIBS,;t t
20946 s,@WIN16_FILES@,$WIN16_FILES,;t t
20947 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20948 s,@DLLDEFS@,$DLLDEFS,;t t
20949 s,@build@,$build,;t t
20950 s,@build_cpu@,$build_cpu,;t t
20951 s,@build_vendor@,$build_vendor,;t t
20952 s,@build_os@,$build_os,;t t
20953 s,@host@,$host,;t t
20954 s,@host_cpu@,$host_cpu,;t t
20955 s,@host_vendor@,$host_vendor,;t t
20956 s,@host_os@,$host_os,;t t
20957 s,@SET_MAKE@,$SET_MAKE,;t t
20959 s,@CFLAGS@,$CFLAGS,;t t
20960 s,@LDFLAGS@,$LDFLAGS,;t t
20961 s,@CPPFLAGS@,$CPPFLAGS,;t t
20962 s,@ac_ct_CC@,$ac_ct_CC,;t t
20963 s,@EXEEXT@,$EXEEXT,;t t
20964 s,@OBJEXT@,$OBJEXT,;t t
20966 s,@CXXFLAGS@,$CXXFLAGS,;t t
20967 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20968 s,@CPPBIN@,$CPPBIN,;t t
20969 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20970 s,@TOOLSDIR@,$TOOLSDIR,;t t
20972 s,@X_CFLAGS@,$X_CFLAGS,;t t
20973 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20974 s,@X_LIBS@,$X_LIBS,;t t
20975 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20977 s,@LEXLIB@,$LEXLIB,;t t
20978 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20979 s,@XLEX@,$XLEX,;t t
20980 s,@BISON@,$BISON,;t t
20982 s,@ac_ct_AS@,$ac_ct_AS,;t t
20984 s,@ac_ct_LD@,$ac_ct_LD,;t t
20986 s,@ac_ct_AR@,$ac_ct_AR,;t t
20987 s,@RANLIB@,$RANLIB,;t t
20988 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20989 s,@STRIP@,$STRIP,;t t
20990 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20991 s,@WINDRES@,$WINDRES,;t t
20992 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20993 s,@LN_S@,$LN_S,;t t
20995 s,@EGREP@,$EGREP,;t t
20996 s,@LDCONFIG@,$LDCONFIG,;t t
20997 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20998 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20999 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21000 s,@LINT@,$LINT,;t t
21001 s,@LINTFLAGS@,$LINTFLAGS,;t t
21002 s,@DB2HTML@,$DB2HTML,;t t
21003 s,@DB2PDF@,$DB2PDF,;t t
21004 s,@DB2PS@,$DB2PS,;t t
21005 s,@DB2TXT@,$DB2TXT,;t t
21006 s,@FONTFORGE@,$FONTFORGE,;t t
21007 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21008 s,@XLIB@,$XLIB,;t t
21009 s,@XFILES@,$XFILES,;t t
21010 s,@OPENGLFILES@,$OPENGLFILES,;t t
21011 s,@GLU32FILES@,$GLU32FILES,;t t
21012 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21013 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21014 s,@GLUT32FILES@,$GLUT32FILES,;t t
21015 s,@NASLIBS@,$NASLIBS,;t t
21016 s,@CURSESLIBS@,$CURSESLIBS,;t t
21017 s,@sane_devel@,$sane_devel,;t t
21018 s,@SANELIBS@,$SANELIBS,;t t
21019 s,@SANEINCL@,$SANEINCL,;t t
21020 s,@ICULIBS@,$ICULIBS,;t t
21021 s,@ft_devel@,$ft_devel,;t t
21022 s,@ft_devel2@,$ft_devel2,;t t
21023 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21024 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21025 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21026 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21027 s,@ARTSLIBS@,$ARTSLIBS,;t t
21028 s,@ARTSINCL@,$ARTSINCL,;t t
21029 s,@ALSALIBS@,$ALSALIBS,;t t
21030 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21031 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21032 s,@DLLEXT@,$DLLEXT,;t t
21033 s,@DLLFLAGS@,$DLLFLAGS,;t t
21034 s,@DLLIBS@,$DLLIBS,;t t
21035 s,@LDSHARED@,$LDSHARED,;t t
21036 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21037 s,@LIBEXT@,$LIBEXT,;t t
21038 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21039 s,@DLLTOOL@,$DLLTOOL,;t t
21040 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21041 s,@DLLWRAP@,$DLLWRAP,;t t
21042 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21043 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21044 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21045 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21046 s,@IOKITLIB@,$IOKITLIB,;t t
21047 s,@CROSSTEST@,$CROSSTEST,;t t
21048 s,@CROSSCC@,$CROSSCC,;t t
21049 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21050 s,@LDPATH@,$LDPATH,;t t
21051 s,@CRTLIBS@,$CRTLIBS,;t t
21052 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21053 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21054 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21056 s,@ALLOCA@,$ALLOCA,;t t
21057 s,@LIBOBJS@,$LIBOBJS,;t t
21058 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21059 /@MAKE_RULES@/r $MAKE_RULES
21060 s,@MAKE_RULES@,,;t t
21061 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21062 s,@MAKE_DLL_RULES@,,;t t
21063 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21064 s,@MAKE_TEST_RULES@,,;t t
21065 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21066 s,@MAKE_LIB_RULES@,,;t t
21067 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21068 s,@MAKE_PROG_RULES@,,;t t
21073 cat >>$CONFIG_STATUS <<\_ACEOF
21074 # Split the substitutions into bite-sized pieces for seds with
21075 # small command number limits, like on Digital OSF/1 and HP-UX.
21076 ac_max_sed_lines=48
21077 ac_sed_frag=1 # Number of current file.
21078 ac_beg=1 # First line for current file.
21079 ac_end=$ac_max_sed_lines # Line after last line for current file.
21082 while $ac_more_lines; do
21083 if test $ac_beg -gt 1; then
21084 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21086 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21088 if test ! -s $tmp/subs.frag; then
21089 ac_more_lines=false
21091 # The purpose of the label and of the branching condition is to
21092 # speed up the sed processing (if there are no `@' at all, there
21093 # is no need to browse any of the substitutions).
21094 # These are the two extra sed commands mentioned above.
21096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21097 if test -z "$ac_sed_cmds"; then
21098 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21100 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21102 ac_sed_frag=`expr $ac_sed_frag + 1`
21104 ac_end=`expr $ac_end + $ac_max_sed_lines`
21107 if test -z "$ac_sed_cmds"; then
21110 fi # test -n "$CONFIG_FILES"
21113 cat >>$CONFIG_STATUS <<\_ACEOF
21114 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21115 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21117 - | *:- | *:-:* ) # input from stdin
21119 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21120 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21121 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21122 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21123 * ) ac_file_in=$ac_file.in ;;
21126 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21127 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21128 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21129 X"$ac_file" : 'X\(//\)[^/]' \| \
21130 X"$ac_file" : 'X\(//\)$' \| \
21131 X"$ac_file" : 'X\(/\)' \| \
21132 . : '\(.\)' 2>/dev/null ||
21134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21135 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21136 /^X\(\/\/\)$/{ s//\1/; q; }
21137 /^X\(\/\).*/{ s//\1/; q; }
21139 { if $as_mkdir_p; then
21144 while test ! -d "$as_dir"; do
21145 as_dirs="$as_dir $as_dirs"
21146 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21148 X"$as_dir" : 'X\(//\)[^/]' \| \
21149 X"$as_dir" : 'X\(//\)$' \| \
21150 X"$as_dir" : 'X\(/\)' \| \
21151 . : '\(.\)' 2>/dev/null ||
21153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21154 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21155 /^X\(\/\/\)$/{ s//\1/; q; }
21156 /^X\(\/\).*/{ s//\1/; q; }
21159 test ! -n "$as_dirs" || mkdir $as_dirs
21160 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21161 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21162 { (exit 1); exit 1; }; }; }
21166 if test "$ac_dir" != .; then
21167 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21168 # A "../" for each directory in $ac_dir_suffix.
21169 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21171 ac_dir_suffix= ac_top_builddir=
21175 .) # No --srcdir option. We are building in place.
21177 if test -z "$ac_top_builddir"; then
21180 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21182 [\\/]* | ?:[\\/]* ) # Absolute path.
21183 ac_srcdir=$srcdir$ac_dir_suffix;
21184 ac_top_srcdir=$srcdir ;;
21185 *) # Relative path.
21186 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21187 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21190 # Do not use `cd foo && pwd` to compute absolute paths, because
21191 # the directories may not exist.
21193 .) ac_abs_builddir="$ac_dir";;
21196 .) ac_abs_builddir=`pwd`;;
21197 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21198 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21201 case $ac_abs_builddir in
21202 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21204 case ${ac_top_builddir}. in
21205 .) ac_abs_top_builddir=$ac_abs_builddir;;
21206 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21207 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21210 case $ac_abs_builddir in
21211 .) ac_abs_srcdir=$ac_srcdir;;
21214 .) ac_abs_srcdir=$ac_abs_builddir;;
21215 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21216 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21219 case $ac_abs_builddir in
21220 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21222 case $ac_top_srcdir in
21223 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21224 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21225 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21231 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21232 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21235 # Let's still pretend it is `configure' which instantiates (i.e., don't
21236 # use $as_me), people would be surprised to read:
21237 # /* config.h. Generated by config.status. */
21238 if test x"$ac_file" = x-; then
21241 configure_input="$ac_file. "
21243 configure_input=$configure_input"Generated from `echo $ac_file_in |
21244 sed 's,.*/,,'` by configure."
21246 # First look for the input files in the build tree, otherwise in the
21248 ac_file_inputs=`IFS=:
21249 for f in $ac_file_in; do
21251 -) echo $tmp/stdin ;;
21253 # Absolute (can't be DOS-style, as IFS=:)
21254 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21255 echo "$as_me: error: cannot find input file: $f" >&2;}
21256 { (exit 1); exit 1; }; }
21259 if test -f "$f"; then
21262 elif test -f "$srcdir/$f"; then
21267 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21268 echo "$as_me: error: cannot find input file: $f" >&2;}
21269 { (exit 1); exit 1; }; }
21272 done` || { (exit 1); exit 1; }
21274 if test x"$ac_file" != x-; then
21275 { echo "$as_me:$LINENO: creating $ac_file" >&5
21276 echo "$as_me: creating $ac_file" >&6;}
21280 cat >>$CONFIG_STATUS <<_ACEOF
21284 cat >>$CONFIG_STATUS <<\_ACEOF
21286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21287 s,@configure_input@,$configure_input,;t t
21288 s,@srcdir@,$ac_srcdir,;t t
21289 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21290 s,@top_srcdir@,$ac_top_srcdir,;t t
21291 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21292 s,@builddir@,$ac_builddir,;t t
21293 s,@abs_builddir@,$ac_abs_builddir,;t t
21294 s,@top_builddir@,$ac_top_builddir,;t t
21295 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21296 s,@INSTALL@,$ac_INSTALL,;t t
21297 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21299 if test x"$ac_file" != x-; then
21300 mv $tmp/out $ac_file
21308 cat >>$CONFIG_STATUS <<\_ACEOF
21311 # CONFIG_HEADER section.
21314 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21315 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21317 # ac_d sets the value in "#define NAME VALUE" lines.
21318 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21319 ac_dB='[ ].*$,\1#\2'
21322 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21323 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21324 ac_uB='$,\1#\2define\3'
21328 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21329 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21331 - | *:- | *:-:* ) # input from stdin
21333 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21334 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21335 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21336 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21337 * ) ac_file_in=$ac_file.in ;;
21340 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21341 echo "$as_me: creating $ac_file" >&6;}
21343 # First look for the input files in the build tree, otherwise in the
21345 ac_file_inputs=`IFS=:
21346 for f in $ac_file_in; do
21348 -) echo $tmp/stdin ;;
21350 # Absolute (can't be DOS-style, as IFS=:)
21351 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21352 echo "$as_me: error: cannot find input file: $f" >&2;}
21353 { (exit 1); exit 1; }; }
21354 # Do quote $f, to prevent DOS paths from being IFS'd.
21357 if test -f "$f"; then
21360 elif test -f "$srcdir/$f"; then
21365 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21366 echo "$as_me: error: cannot find input file: $f" >&2;}
21367 { (exit 1); exit 1; }; }
21370 done` || { (exit 1); exit 1; }
21371 # Remove the trailing spaces.
21372 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21376 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21377 # `conftest.undefs', that substitutes the proper values into
21378 # config.h.in to produce config.h. The first handles `#define'
21379 # templates, and the second `#undef' templates.
21380 # And first: Protect against being on the right side of a sed subst in
21381 # config.status. Protect against being in an unquoted here document
21382 # in config.status.
21383 rm -f conftest.defines conftest.undefs
21384 # Using a here document instead of a string reduces the quoting nightmare.
21385 # Putting comments in sed scripts is not portable.
21387 # `end' is used to avoid that the second main sed command (meant for
21388 # 0-ary CPP macros) applies to n-ary macro definitions.
21389 # See the Autoconf documentation for `clear'.
21390 cat >confdef2sed.sed <<\_ACEOF
21395 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21397 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21400 # If some macros were called several times there might be several times
21401 # the same #defines, which is useless. Nevertheless, we may not want to
21402 # sort them, since we want the *last* AC-DEFINE to be honored.
21403 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21404 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21405 rm -f confdef2sed.sed
21407 # This sed command replaces #undef with comments. This is necessary, for
21408 # example, in the case of _POSIX_SOURCE, which is predefined and required
21409 # on some systems where configure will not decide to define it.
21410 cat >>conftest.undefs <<\_ACEOF
21411 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21414 # Break up conftest.defines because some shells have a limit on the size
21415 # of here documents, and old seds have small limits too (100 cmds).
21416 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21417 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21418 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21419 echo ' :' >>$CONFIG_STATUS
21420 rm -f conftest.tail
21421 while grep . conftest.defines >/dev/null
21423 # Write a limited-size here document to $tmp/defines.sed.
21424 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21425 # Speed up: don't consider the non `#define' lines.
21426 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21427 # Work around the forget-to-reset-the-flag bug.
21428 echo 't clr' >>$CONFIG_STATUS
21429 echo ': clr' >>$CONFIG_STATUS
21430 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21432 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21434 mv $tmp/out $tmp/in
21436 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21437 rm -f conftest.defines
21438 mv conftest.tail conftest.defines
21440 rm -f conftest.defines
21441 echo ' fi # grep' >>$CONFIG_STATUS
21442 echo >>$CONFIG_STATUS
21444 # Break up conftest.undefs because some shells have a limit on the size
21445 # of here documents, and old seds have small limits too (100 cmds).
21446 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21447 rm -f conftest.tail
21448 while grep . conftest.undefs >/dev/null
21450 # Write a limited-size here document to $tmp/undefs.sed.
21451 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21452 # Speed up: don't consider the non `#undef'
21453 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21454 # Work around the forget-to-reset-the-flag bug.
21455 echo 't clr' >>$CONFIG_STATUS
21456 echo ': clr' >>$CONFIG_STATUS
21457 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21459 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21461 mv $tmp/out $tmp/in
21463 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21464 rm -f conftest.undefs
21465 mv conftest.tail conftest.undefs
21467 rm -f conftest.undefs
21469 cat >>$CONFIG_STATUS <<\_ACEOF
21470 # Let's still pretend it is `configure' which instantiates (i.e., don't
21471 # use $as_me), people would be surprised to read:
21472 # /* config.h. Generated by config.status. */
21473 if test x"$ac_file" = x-; then
21474 echo "/* Generated by configure. */" >$tmp/config.h
21476 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21478 cat $tmp/in >>$tmp/config.h
21480 if test x"$ac_file" != x-; then
21481 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21482 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21483 echo "$as_me: $ac_file is unchanged" >&6;}
21485 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21486 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21487 X"$ac_file" : 'X\(//\)[^/]' \| \
21488 X"$ac_file" : 'X\(//\)$' \| \
21489 X"$ac_file" : 'X\(/\)' \| \
21490 . : '\(.\)' 2>/dev/null ||
21492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21493 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21494 /^X\(\/\/\)$/{ s//\1/; q; }
21495 /^X\(\/\).*/{ s//\1/; q; }
21497 { if $as_mkdir_p; then
21502 while test ! -d "$as_dir"; do
21503 as_dirs="$as_dir $as_dirs"
21504 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21505 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21506 X"$as_dir" : 'X\(//\)[^/]' \| \
21507 X"$as_dir" : 'X\(//\)$' \| \
21508 X"$as_dir" : 'X\(/\)' \| \
21509 . : '\(.\)' 2>/dev/null ||
21511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21512 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21513 /^X\(\/\/\)$/{ s//\1/; q; }
21514 /^X\(\/\).*/{ s//\1/; q; }
21517 test ! -n "$as_dirs" || mkdir $as_dirs
21518 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21519 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21520 { (exit 1); exit 1; }; }; }
21523 mv $tmp/config.h $ac_file
21527 rm -f $tmp/config.h
21531 cat >>$CONFIG_STATUS <<\_ACEOF
21534 # CONFIG_COMMANDS section.
21536 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21537 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21538 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21539 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21540 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21541 X"$ac_dest" : 'X\(//\)[^/]' \| \
21542 X"$ac_dest" : 'X\(//\)$' \| \
21543 X"$ac_dest" : 'X\(/\)' \| \
21544 . : '\(.\)' 2>/dev/null ||
21546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21548 /^X\(\/\/\)$/{ s//\1/; q; }
21549 /^X\(\/\).*/{ s//\1/; q; }
21551 { if $as_mkdir_p; then
21556 while test ! -d "$as_dir"; do
21557 as_dirs="$as_dir $as_dirs"
21558 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21560 X"$as_dir" : 'X\(//\)[^/]' \| \
21561 X"$as_dir" : 'X\(//\)$' \| \
21562 X"$as_dir" : 'X\(/\)' \| \
21563 . : '\(.\)' 2>/dev/null ||
21565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21566 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21567 /^X\(\/\/\)$/{ s//\1/; q; }
21568 /^X\(\/\).*/{ s//\1/; q; }
21571 test ! -n "$as_dirs" || mkdir $as_dirs
21572 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21573 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21574 { (exit 1); exit 1; }; }; }
21578 if test "$ac_dir" != .; then
21579 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21580 # A "../" for each directory in $ac_dir_suffix.
21581 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21583 ac_dir_suffix= ac_top_builddir=
21587 .) # No --srcdir option. We are building in place.
21589 if test -z "$ac_top_builddir"; then
21592 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21594 [\\/]* | ?:[\\/]* ) # Absolute path.
21595 ac_srcdir=$srcdir$ac_dir_suffix;
21596 ac_top_srcdir=$srcdir ;;
21597 *) # Relative path.
21598 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21599 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21602 # Do not use `cd foo && pwd` to compute absolute paths, because
21603 # the directories may not exist.
21605 .) ac_abs_builddir="$ac_dir";;
21608 .) ac_abs_builddir=`pwd`;;
21609 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21610 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21613 case $ac_abs_builddir in
21614 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21616 case ${ac_top_builddir}. in
21617 .) ac_abs_top_builddir=$ac_abs_builddir;;
21618 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21619 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21622 case $ac_abs_builddir in
21623 .) ac_abs_srcdir=$ac_srcdir;;
21626 .) ac_abs_srcdir=$ac_abs_builddir;;
21627 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21628 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21631 case $ac_abs_builddir in
21632 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21634 case $ac_top_srcdir in
21635 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21636 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21637 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21642 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21643 echo "$as_me: executing $ac_dest commands" >&6;}
21645 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21646 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21647 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21648 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21649 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21650 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21651 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21652 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21653 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21654 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21655 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21656 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21657 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21658 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21659 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21660 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21661 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21662 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21663 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21664 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21665 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21666 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21667 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21668 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21669 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21670 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21671 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
21672 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
21673 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21674 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21675 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21676 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21681 cat >>$CONFIG_STATUS <<\_ACEOF
21683 { (exit 0); exit 0; }
21685 chmod +x $CONFIG_STATUS
21686 ac_clean_files=$ac_clean_files_save
21689 # configure is writing to config.log, and then calls config.status.
21690 # config.status does its own redirection, appending to config.log.
21691 # Unfortunately, on DOS this fails, as config.log is still kept open
21692 # by configure, so config.status won't be able to write to it; its
21693 # output is simply discarded. So we exec the FD to /dev/null,
21694 # effectively closing config.log, so it can be properly (re)opened and
21695 # appended to by config.status. When coming back to configure, we
21696 # need to make the FD available again.
21697 if test "$no_create" != yes; then
21699 ac_config_status_args=
21700 test "$silent" = yes &&
21701 ac_config_status_args="$ac_config_status_args --quiet"
21703 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21705 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21706 # would make configure fail if this is the last instruction.
21707 $ac_cs_success || { (exit 1); exit 1; }
21711 if test "$have_x" = "no"
21714 echo "*** Warning: X development files not found. Wine will be built without"
21715 echo "*** X support, which currently does not work, and would probably not be"
21716 echo "*** what you want anyway. You will need to install devel packages of"
21717 echo "*** Xlib/Xfree86 at the very least."
21720 if test "$wine_cv_opengl_version_OK" = "no"
21723 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21724 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21727 if test "$wine_cv_msg_freetype" = "yes"
21730 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21731 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21732 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21733 echo "*** enable Wine to use TrueType fonts."
21736 if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
21737 -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
21738 "$ac_cv_c_opensoundsystem" = "no"
21740 echo "*** No sound system was found. Windows applications will be silent."
21741 echo "*** The currently supported sound systems are:"
21742 echo "*** ALSA, ARTS, AudioIO, Jack, NAS and OSS"
21746 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."