2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040309.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME='wine'
272 PACKAGE_VERSION='20040309'
273 PACKAGE_STRING='Wine 20040309'
274 PACKAGE_BUGREPORT='wine-devel@winehq.org'
276 ac_unique_file="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CXX_set=${CXX+set}
772 ac_env_CXX_value=$CXX
773 ac_cv_env_CXX_set=${CXX+set}
774 ac_cv_env_CXX_value=$CXX
775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20040309 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are in DIR
846 --x-libraries=DIR X library files are in DIR
849 --build=BUILD configure for building on BUILD [guessed]
850 --host=HOST cross-compile to build programs to run on HOST [BUILD]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of Wine 20040309:";;
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
870 --without-opengl do not use OpenGL
871 --without-curses do not use curses
872 --with-wine-tools=<dir> use Wine tools from directory <dir>
873 --with-x use the X Window System
875 Some influential environment variables:
876 CC C compiler command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879 nonstandard directory <lib dir>
880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881 headers in a nonstandard directory <include dir>
882 CXX C++ compiler command
883 CXXFLAGS C++ compiler flags
886 Use these variables to override the choices made by `configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
889 Report bugs to <wine-devel@winehq.org>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo && pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
985 Wine configure 20040309
986 generated by GNU Autoconf 2.59
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by Wine $as_me 20040309, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1023 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next=false
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next=true ;;
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close' the trap.
1106 trap 'exit_status=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var in $ac_subst_vars
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var in $ac_subst_files
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h; then
1169 sed "/^$/d" confdefs.h | sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core *.core &&
1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's/^/| /' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 ac_config_headers="$ac_config_headers include/config.h"
1339 for ac_dir in tools $srcdir/tools; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval="$enable_win16"
1370 # Check whether --enable-debug or --disable-debug was given.
1371 if test "${enable_debug+set}" = set; then
1372 enableval="$enable_debug"
1375 # Check whether --enable-trace or --disable-trace was given.
1376 if test "${enable_trace+set}" = set; then
1377 enableval="$enable_trace"
1382 # Check whether --with-opengl or --without-opengl was given.
1383 if test "${with_opengl+set}" = set; then
1384 withval="$with_opengl"
1388 # Check whether --with-curses or --without-curses was given.
1389 if test "${with_curses+set}" = set; then
1390 withval="$with_curses"
1394 # Check whether --with-wine-tools or --without-wine-tools was given.
1395 if test "${with_wine_tools+set}" = set; then
1396 withval="$with_wine_tools"
1400 WIN16_FILES="\$(WIN16_FILES)"
1402 WIN16_INSTALL="\$(WIN16_INSTALL)"
1404 if test "x$enable_win16" = "xno"
1409 if test "x$enable_debug" = "xno"
1412 cat >>confdefs.h <<\_ACEOF
1413 #define NO_DEBUG_MSGS 1
1417 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1420 cat >>confdefs.h <<\_ACEOF
1421 #define NO_TRACE_MSGS 1
1427 # Make sure we can run config.sub.
1428 $ac_config_sub sun4 >/dev/null 2>&1 ||
1429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: checking build system type" >&5
1434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1435 if test "${ac_cv_build+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_build_alias=$build_alias
1439 test -z "$ac_cv_build_alias" &&
1440 ac_cv_build_alias=`$ac_config_guess`
1441 test -z "$ac_cv_build_alias" &&
1442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1444 { (exit 1); exit 1; }; }
1445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1448 { (exit 1); exit 1; }; }
1451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1452 echo "${ECHO_T}$ac_cv_build" >&6
1454 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1455 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1456 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1459 echo "$as_me:$LINENO: checking host system type" >&5
1460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1461 if test "${ac_cv_host+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 ac_cv_host_alias=$host_alias
1465 test -z "$ac_cv_host_alias" &&
1466 ac_cv_host_alias=$ac_cv_build_alias
1467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1474 echo "${ECHO_T}$ac_cv_host" >&6
1476 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1477 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1478 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 cat >conftest.make <<\_ACEOF
1489 @echo 'ac_maketemp="$(MAKE)"'
1491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1492 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1493 if test -n "$ac_maketemp"; then
1494 eval ac_cv_prog_make_${ac_make}_set=yes
1496 eval ac_cv_prog_make_${ac_make}_set=no
1500 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE="MAKE=${MAKE-make}"
1511 ac_cpp='$CPP $CPPFLAGS'
1512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "gcc", so it can be a program name with args.
1555 set dummy gcc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="gcc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597 set dummy ${ac_tool_prefix}cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC="${ac_tool_prefix}cc"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir=.
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC="cc"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1675 if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args.
1677 set dummy cc; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC="$CC" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695 ac_prog_rejected=yes
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test $ac_prog_rejected = yes; then
1706 # We found a bogon in the path, so make sure we never use it.
1707 set dummy $ac_cv_prog_CC
1709 if test $# != 0; then
1710 # We chose a different compiler from the bogus one.
1711 # However, it has the same basename, so the bogon will be chosen
1712 # first if we set CC to just the basename; use the full file name.
1714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC="$CC" # Let the user override the test.
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 for ac_exec_ext in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1771 if test -z "$CC"; then
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy $ac_prog; ac_word=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820 See \`config.log' for more details." >&5
1821 echo "$as_me: error: no acceptable C compiler found in \$PATH
1822 See \`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1825 # Provide some information about the compiler.
1826 echo "$as_me:$LINENO:" \
1827 "checking for C compiler version" >&5
1828 ac_compiler=`set X $ac_compile; echo $2`
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830 (eval $ac_compiler --version </dev/null >&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1835 (eval $ac_compiler -v </dev/null >&5) 2>&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1840 (eval $ac_compiler -V </dev/null >&5) 2>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.$ac_ext <<_ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1860 ac_clean_files_save=$ac_clean_files
1861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1862 # Try to create an executable without -o first, disregard a.out.
1863 # It will help us diagnose broken compilers, and finding out an intuition
1865 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1867 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869 (eval $ac_link_default) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # Find the output, starting from the most likely. This scheme is
1874 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1877 # Be careful to initialize this variable, since it used to be cached.
1878 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1880 # b.out is created by i960 compilers.
1881 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1883 test -f "$ac_file" || continue
1885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1888 # This is the source file.
1891 # We found the default executable, but exeext='' is most
1895 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 # FIXME: I believe we export ac_cv_exeext for Libtool,
1897 # but it would be cool to find out if it's true. Does anybody
1898 # maintain Libtool? --akim.
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910 See \`config.log' for more details." >&5
1911 echo "$as_me: error: C compiler cannot create executables
1912 See \`config.log' for more details." >&2;}
1913 { (exit 77); exit 77; }; }
1916 ac_exeext=$ac_cv_exeext
1917 echo "$as_me:$LINENO: result: $ac_file" >&5
1918 echo "${ECHO_T}$ac_file" >&6
1920 # Check the compiler produces executables we can run. If not, either
1921 # the compiler is broken, or we cross compile.
1922 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1923 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925 # If not cross compiling, check that we can run a simple program.
1926 if test "$cross_compiling" != yes; then
1927 if { ac_try='./$ac_file'
1928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }; }; then
1935 if test "$cross_compiling" = maybe; then
1938 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1939 If you meant to cross compile, use \`--host'.
1940 See \`config.log' for more details." >&5
1941 echo "$as_me: error: cannot run C compiled programs.
1942 If you meant to cross compile, use \`--host'.
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1948 echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6
1951 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1952 ac_clean_files=$ac_clean_files_save
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1956 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1957 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1958 echo "${ECHO_T}$cross_compiling" >&6
1960 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1961 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1963 (eval $ac_link) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1969 # work properly (i.e., refer to `conftest.exe'), while it won't with
1971 for ac_file in conftest.exe conftest conftest.*; do
1972 test -f "$ac_file" || continue
1974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1985 See \`config.log' for more details." >&2;}
1986 { (exit 1); exit 1; }; }
1989 rm -f conftest$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1991 echo "${ECHO_T}$ac_cv_exeext" >&6
1993 rm -f conftest.$ac_ext
1994 EXEEXT=$ac_cv_exeext
1996 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1997 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1998 if test "${ac_cv_objext+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 cat >conftest.$ac_ext <<_ACEOF
2004 cat confdefs.h >>conftest.$ac_ext
2005 cat >>conftest.$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; then
2022 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2025 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2040 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2042 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2043 echo "${ECHO_T}$ac_cv_objext" >&6
2044 OBJEXT=$ac_cv_objext
2046 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 cat >conftest.$ac_ext <<_ACEOF
2054 cat confdefs.h >>conftest.$ac_ext
2055 cat >>conftest.$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2069 rm -f conftest.$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1 >conftest.err
2075 cat conftest.err >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2098 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2101 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103 GCC=`test $ac_compiler_gnu = yes && echo yes`
2104 ac_test_CFLAGS=${CFLAGS+set}
2105 ac_save_CFLAGS=$CFLAGS
2107 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109 if test "${ac_cv_prog_cc_g+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 cat >conftest.$ac_ext <<_ACEOF
2115 cat confdefs.h >>conftest.$ac_ext
2116 cat >>conftest.$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2127 rm -f conftest.$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2131 grep -v '^ *+' conftest.er1 >conftest.err
2133 cat conftest.err >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; } &&
2142 { ac_try='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159 if test "$ac_test_CFLAGS" = set; then
2160 CFLAGS=$ac_save_CFLAGS
2161 elif test $ac_cv_prog_cc_g = yes; then
2162 if test "$GCC" = yes; then
2168 if test "$GCC" = yes; then
2174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 ac_cv_prog_cc_stdc=no
2181 cat >conftest.$ac_ext <<_ACEOF
2184 cat confdefs.h >>conftest.$ac_ext
2185 cat >>conftest.$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2205 s = g (p, va_arg (v,int));
2210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2211 function prototypes and stuff, but not '\xHH' hex character constants.
2212 These don't provoke an error unfortunately, instead are silently treated
2213 as 'x'. The following induces an error, until -std1 is added to get
2214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2215 array size at least. It's necessary to write '\x00'==0 to get something
2216 that's true only with -std1. */
2217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2233 # Don't try gcc -ansi; that turns off useful extensions and
2234 # breaks some systems' header files.
2235 # AIX -qlanglvl=ansi
2236 # Ultrix and OSF/1 -std1
2237 # HP-UX 10.20 and later -Ae
2238 # HP-UX older versions -Aa -D_HPUX_SOURCE
2239 # SVR4 -Xc -D__EXTENSIONS__
2240 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2242 CC="$ac_save_CC $ac_arg"
2243 rm -f conftest.$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2247 grep -v '^ *+' conftest.er1 >conftest.err
2249 cat conftest.err >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc=$ac_arg
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.$ac_ext >&5
2271 rm -f conftest.err conftest.$ac_objext
2273 rm -f conftest.$ac_ext conftest.$ac_objext
2278 case "x$ac_cv_prog_cc_stdc" in
2280 echo "$as_me:$LINENO: result: none needed" >&5
2281 echo "${ECHO_T}none needed" >&6 ;;
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285 CC="$CC $ac_cv_prog_cc_stdc" ;;
2288 # Some people use a C++ compiler to compile C. Since we use `exit',
2289 # in C++ we need to declare it. In case someone uses the same compiler
2290 # for both compiling C and C++ we need to have the C++ compiler decide
2291 # the declaration of exit, since it's the most demanding environment.
2292 cat >conftest.$ac_ext <<_ACEOF
2297 rm -f conftest.$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2301 grep -v '^ *+' conftest.er1 >conftest.err
2303 cat conftest.err >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration in \
2320 'extern "C" void std::exit (int) throw (); using std::exit;' \
2321 'extern "C" void std::exit (int); using std::exit;' \
2322 'extern "C" void exit (int) throw ();' \
2323 'extern "C" void exit (int);' \
2326 cat >conftest.$ac_ext <<_ACEOF
2329 cat confdefs.h >>conftest.$ac_ext
2330 cat >>conftest.$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2342 rm -f conftest.$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1 >conftest.err
2348 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2371 cat >conftest.$ac_ext <<_ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 rm -f conftest.$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1 >conftest.err
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.$ac_ext >&5
2413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435 ac_cpp='$CXXCPP $CPPFLAGS'
2436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2480 if test -z "$CXX"; then
2482 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy $ac_prog; ac_word=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CXX="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2511 if test -n "$ac_ct_CXX"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2513 echo "${ECHO_T}$ac_ct_CXX" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2521 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C++ compiler version" >&5
2530 ac_compiler=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev/null >&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev/null >&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev/null >&5) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.$ac_ext <<_ACEOF
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1 >conftest.err
2576 cat conftest.err >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2599 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS=$CXXFLAGS
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.$ac_ext <<_ACEOF
2616 cat confdefs.h >>conftest.$ac_ext
2617 cat >>conftest.$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2632 grep -v '^ *+' conftest.er1 >conftest.err
2634 cat conftest.err >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g=yes
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2669 if test "$GXX" = yes; then
2675 for ac_declaration in \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2683 cat >conftest.$ac_ext <<_ACEOF
2686 cat confdefs.h >>conftest.$ac_ext
2687 cat >>conftest.$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2699 rm -f conftest.$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1 >conftest.err
2705 cat conftest.err >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2728 cat >conftest.$ac_ext <<_ACEOF
2731 cat confdefs.h >>conftest.$ac_ext
2732 cat >>conftest.$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1 >conftest.err
2749 cat conftest.err >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2780 ac_cpp='$CPP $CPPFLAGS'
2781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2787 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$CPPBIN"; then
2794 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 CPPBIN=$ac_cv_prog_CPPBIN
2813 if test -n "$CPPBIN"; then
2814 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2815 echo "${ECHO_T}$CPPBIN" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_CPPBIN"; then
2823 ac_ct_CPPBIN=$CPPBIN
2824 # Extract the first word of "cpp", so it can be a program name with args.
2825 set dummy cpp; ac_word=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_CPPBIN"; then
2832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CPPBIN="cpp"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2851 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2852 if test -n "$ac_ct_CPPBIN"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2854 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 CPPBIN=$ac_ct_CPPBIN
2862 CPPBIN="$ac_cv_prog_CPPBIN"
2866 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2867 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2868 if test "${wine_cv_toolsdir+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -z "$with_wine_tools"; then
2872 if test "$cross_compiling" = "yes"; then
2873 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2874 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2875 { (exit 1); exit 1; }; }
2877 wine_cv_toolsdir="\$(TOPOBJDIR)"
2879 elif test -d "$with_wine_tools/tools/winebuild"; then
2880 case $with_wine_tools in
2881 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2882 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2885 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2886 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2887 { (exit 1); exit 1; }; }
2890 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2891 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2892 TOOLSDIR=$wine_cv_toolsdir
2897 ac_cpp='$CPP $CPPFLAGS'
2898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2901 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2902 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2903 # On Suns, sometimes $CPP names a directory.
2904 if test -n "$CPP" && test -d "$CPP"; then
2907 if test -z "$CPP"; then
2908 if test "${ac_cv_prog_CPP+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 # Double quotes because CPP needs to be expanded
2912 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2915 for ac_c_preproc_warn_flag in '' yes
2917 # Use a header file that comes with gcc, so configuring glibc
2918 # with a fresh cross-compiler works.
2919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2920 # <limits.h> exists even on freestanding compilers.
2921 # On the NeXT, cc -E runs the code through the compiler's parser,
2922 # not just through cpp. "Syntax error" is here to catch this case.
2923 cat >conftest.$ac_ext <<_ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2930 # include <limits.h>
2932 # include <assert.h>
2936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2939 grep -v '^ *+' conftest.er1 >conftest.err
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } >/dev/null; then
2944 if test -s conftest.err; then
2945 ac_cpp_err=$ac_c_preproc_warn_flag
2946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2953 if test -z "$ac_cpp_err"; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 # Broken: fails on valid input.
2962 rm -f conftest.err conftest.$ac_ext
2964 # OK, works on sane cases. Now check whether non-existent headers
2965 # can be detected and how.
2966 cat >conftest.$ac_ext <<_ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #include <ac_nonexistent.h>
2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2977 grep -v '^ *+' conftest.er1 >conftest.err
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } >/dev/null; then
2982 if test -s conftest.err; then
2983 ac_cpp_err=$ac_c_preproc_warn_flag
2984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2998 # Passes both tests.
3002 rm -f conftest.err conftest.$ac_ext
3005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3006 rm -f conftest.err conftest.$ac_ext
3007 if $ac_preproc_ok; then
3019 echo "$as_me:$LINENO: result: $CPP" >&5
3020 echo "${ECHO_T}$CPP" >&6
3022 for ac_c_preproc_warn_flag in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027 # <limits.h> exists even on freestanding compilers.
3028 # On the NeXT, cc -E runs the code through the compiler's parser,
3029 # not just through cpp. "Syntax error" is here to catch this case.
3030 cat >conftest.$ac_ext <<_ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3037 # include <limits.h>
3039 # include <assert.h>
3043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } >/dev/null; then
3051 if test -s conftest.err; then
3052 ac_cpp_err=$ac_c_preproc_warn_flag
3053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3060 if test -z "$ac_cpp_err"; then
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3066 # Broken: fails on valid input.
3069 rm -f conftest.err conftest.$ac_ext
3071 # OK, works on sane cases. Now check whether non-existent headers
3072 # can be detected and how.
3073 cat >conftest.$ac_ext <<_ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3084 grep -v '^ *+' conftest.er1 >conftest.err
3086 cat conftest.err >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev/null; then
3089 if test -s conftest.err; then
3090 ac_cpp_err=$ac_c_preproc_warn_flag
3091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3098 if test -z "$ac_cpp_err"; then
3099 # Broken: success on invalid input.
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 # Passes both tests.
3109 rm -f conftest.err conftest.$ac_ext
3112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3113 rm -f conftest.err conftest.$ac_ext
3114 if $ac_preproc_ok; then
3117 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }
3125 ac_cpp='$CPP $CPPFLAGS'
3126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131 echo "$as_me:$LINENO: checking for X" >&5
3132 echo $ECHO_N "checking for X... $ECHO_C" >&6
3135 # Check whether --with-x or --without-x was given.
3136 if test "${with_x+set}" = set; then
3140 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3141 if test "x$with_x" = xno; then
3142 # The user explicitly disabled X.
3145 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3146 # Both variables are already set.
3149 if test "${ac_cv_have_x+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 # One or both of the vars are not set, and there is no cached value.
3153 ac_x_includes=no ac_x_libraries=no
3155 if mkdir conftest.dir; then
3157 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3158 cat >Imakefile <<'_ACEOF'
3160 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3162 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3163 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3164 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3165 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3166 for ac_extension in a so sl; do
3167 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3168 test -f $ac_im_libdir/libX11.$ac_extension; then
3169 ac_im_usrlibdir=$ac_im_libdir; break
3172 # Screen out bogus values from the imake configuration. They are
3173 # bogus both because they are the default anyway, and because
3174 # using them would break gcc on systems where it needs fixed includes.
3175 case $ac_im_incroot in
3177 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3179 case $ac_im_usrlibdir in
3181 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3188 # Standard set of common directories for X headers.
3189 # Check X11 before X11Rn because it is often a symlink to the current release.
3201 /usr/local/X11/include
3202 /usr/local/X11R6/include
3203 /usr/local/X11R5/include
3204 /usr/local/X11R4/include
3206 /usr/local/include/X11
3207 /usr/local/include/X11R6
3208 /usr/local/include/X11R5
3209 /usr/local/include/X11R4
3213 /usr/XFree86/include/X11
3217 /usr/unsupported/include
3219 /usr/local/x11r5/include
3220 /usr/lpp/Xamples/include
3222 /usr/openwin/include
3223 /usr/openwin/share/include'
3225 if test "$ac_x_includes" = no; then
3226 # Guess where to find include files, by looking for Intrinsic.h.
3227 # First, try using that file with no special directory specified.
3228 cat >conftest.$ac_ext <<_ACEOF
3231 cat confdefs.h >>conftest.$ac_ext
3232 cat >>conftest.$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3234 #include <X11/Intrinsic.h>
3236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3239 grep -v '^ *+' conftest.er1 >conftest.err
3241 cat conftest.err >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } >/dev/null; then
3244 if test -s conftest.err; then
3245 ac_cpp_err=$ac_c_preproc_warn_flag
3246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3253 if test -z "$ac_cpp_err"; then
3254 # We can compile using X headers with no special include directory.
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 for ac_dir in $ac_x_header_dirs; do
3261 if test -r "$ac_dir/X11/Intrinsic.h"; then
3262 ac_x_includes=$ac_dir
3267 rm -f conftest.err conftest.$ac_ext
3268 fi # $ac_x_includes = no
3270 if test "$ac_x_libraries" = no; then
3271 # Check for the libraries.
3272 # See if we find them without any special options.
3273 # Don't add to $LIBS permanently.
3276 cat >conftest.$ac_ext <<_ACEOF
3279 cat confdefs.h >>conftest.$ac_ext
3280 cat >>conftest.$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3282 #include <X11/Intrinsic.h>
3291 rm -f conftest.$ac_objext conftest$ac_exeext
3292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3293 (eval $ac_link) 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } &&
3300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; } &&
3306 { ac_try='test -s conftest$ac_exeext'
3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; }; then
3313 # We can link X programs with no special library path.
3316 echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.$ac_ext >&5
3320 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3322 # Don't even attempt the hair of trying to link an X program!
3323 for ac_extension in a so sl; do
3324 if test -r $ac_dir/libXt.$ac_extension; then
3325 ac_x_libraries=$ac_dir
3331 rm -f conftest.err conftest.$ac_objext \
3332 conftest$ac_exeext conftest.$ac_ext
3333 fi # $ac_x_libraries = no
3335 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3336 # Didn't find X anywhere. Cache the known absence of X.
3337 ac_cv_have_x="have_x=no"
3339 # Record where we found X for the cache.
3340 ac_cv_have_x="have_x=yes \
3341 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3346 eval "$ac_cv_have_x"
3349 if test "$have_x" != yes; then
3350 echo "$as_me:$LINENO: result: $have_x" >&5
3351 echo "${ECHO_T}$have_x" >&6
3354 # If each of the values was on the command line, it overrides each guess.
3355 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3356 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3357 # Update the cache value to reflect the command line values.
3358 ac_cv_have_x="have_x=yes \
3359 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3360 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3361 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3364 if test "$no_x" = yes; then
3365 # Not all programs may use this symbol, but it does not hurt to define it.
3367 cat >>confdefs.h <<\_ACEOF
3368 #define X_DISPLAY_MISSING 1
3371 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3373 if test -n "$x_includes"; then
3374 X_CFLAGS="$X_CFLAGS -I$x_includes"
3377 # It would also be nice to do this for all -L options, not just this one.
3378 if test -n "$x_libraries"; then
3379 X_LIBS="$X_LIBS -L$x_libraries"
3380 # For Solaris; some versions of Sun CC require a space after -R and
3381 # others require no space. Words are not sufficient . . . .
3382 case `(uname -sr) 2>/dev/null` in
3384 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3385 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3386 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3387 cat >conftest.$ac_ext <<_ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3402 rm -f conftest.$ac_objext conftest$ac_exeext
3403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3404 (eval $ac_link) 2>conftest.er1
3406 grep -v '^ *+' conftest.er1 >conftest.err
3408 cat conftest.err >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; } &&
3417 { ac_try='test -s conftest$ac_exeext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3430 rm -f conftest.err conftest.$ac_objext \
3431 conftest$ac_exeext conftest.$ac_ext
3432 if test $ac_R_nospace = yes; then
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3435 X_LIBS="$X_LIBS -R$x_libraries"
3437 LIBS="$ac_xsave_LIBS -R $x_libraries"
3438 cat >conftest.$ac_ext <<_ACEOF
3441 cat confdefs.h >>conftest.$ac_ext
3442 cat >>conftest.$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3453 rm -f conftest.$ac_objext conftest$ac_exeext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3455 (eval $ac_link) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1 >conftest.err
3459 cat conftest.err >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; } &&
3468 { ac_try='test -s conftest$ac_exeext'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; }; then
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3481 rm -f conftest.err conftest.$ac_objext \
3482 conftest$ac_exeext conftest.$ac_ext
3483 if test $ac_R_space = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485 echo "${ECHO_T}yes" >&6
3486 X_LIBS="$X_LIBS -R $x_libraries"
3488 echo "$as_me:$LINENO: result: neither works" >&5
3489 echo "${ECHO_T}neither works" >&6
3496 # Check for system-dependent libraries X programs must link with.
3497 # Do this before checking for the system-independent R6 libraries
3498 # (-lICE), since we may need -lsocket or whatever for X linking.
3500 if test "$ISC" = yes; then
3501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3503 # Martyn Johnson says this is needed for Ultrix, if the X
3504 # libraries were built with DECnet support. And Karl Berry says
3505 # the Alpha needs dnet_stub (dnet does not exist).
3506 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3507 cat >conftest.$ac_ext <<_ACEOF
3510 cat confdefs.h >>conftest.$ac_ext
3511 cat >>conftest.$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3514 /* Override any gcc2 internal prototype to avoid an error. */
3518 /* We use char because int might match the return type of a gcc2
3519 builtin and then its argument prototype would still apply. */
3520 char XOpenDisplay ();
3529 rm -f conftest.$ac_objext conftest$ac_exeext
3530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3531 (eval $ac_link) 2>conftest.er1
3533 grep -v '^ *+' conftest.er1 >conftest.err
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); }; } &&
3544 { ac_try='test -s conftest$ac_exeext'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; }; then
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.$ac_ext >&5
3555 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3556 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3557 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 ac_check_lib_save_LIBS=$LIBS
3562 cat >conftest.$ac_ext <<_ACEOF
3565 cat confdefs.h >>conftest.$ac_ext
3566 cat >>conftest.$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3569 /* Override any gcc2 internal prototype to avoid an error. */
3573 /* We use char because int might match the return type of a gcc2
3574 builtin and then its argument prototype would still apply. */
3584 rm -f conftest.$ac_objext conftest$ac_exeext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3586 (eval $ac_link) 2>conftest.er1
3588 grep -v '^ *+' conftest.er1 >conftest.err
3590 cat conftest.err >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; } &&
3599 { ac_try='test -s conftest$ac_exeext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 ac_cv_lib_dnet_dnet_ntoa=yes
3607 echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.$ac_ext >&5
3610 ac_cv_lib_dnet_dnet_ntoa=no
3612 rm -f conftest.err conftest.$ac_objext \
3613 conftest$ac_exeext conftest.$ac_ext
3614 LIBS=$ac_check_lib_save_LIBS
3616 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3617 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3618 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3619 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3622 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3623 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3624 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3625 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 ac_check_lib_save_LIBS=$LIBS
3629 LIBS="-ldnet_stub $LIBS"
3630 cat >conftest.$ac_ext <<_ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3637 /* Override any gcc2 internal prototype to avoid an error. */
3641 /* We use char because int might match the return type of a gcc2
3642 builtin and then its argument prototype would still apply. */
3652 rm -f conftest.$ac_objext conftest$ac_exeext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3654 (eval $ac_link) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1 >conftest.err
3658 cat conftest.err >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; } &&
3667 { ac_try='test -s conftest$ac_exeext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3678 ac_cv_lib_dnet_stub_dnet_ntoa=no
3680 rm -f conftest.err conftest.$ac_objext \
3681 conftest$ac_exeext conftest.$ac_ext
3682 LIBS=$ac_check_lib_save_LIBS
3684 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3685 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3686 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3687 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3692 rm -f conftest.err conftest.$ac_objext \
3693 conftest$ac_exeext conftest.$ac_ext
3694 LIBS="$ac_xsave_LIBS"
3696 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3697 # to get the SysV transport functions.
3698 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3700 # The nsl library prevents programs from opening the X display
3701 # on Irix 5.2, according to T.E. Dickey.
3702 # The functions gethostbyname, getservbyname, and inet_addr are
3703 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3704 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3705 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3706 if test "${ac_cv_func_gethostbyname+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 cat >conftest.$ac_ext <<_ACEOF
3712 cat confdefs.h >>conftest.$ac_ext
3713 cat >>conftest.$ac_ext <<_ACEOF
3714 /* end confdefs.h. */
3715 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3717 #define gethostbyname innocuous_gethostbyname
3719 /* System header to define __stub macros and hopefully few prototypes,
3720 which can conflict with char gethostbyname (); below.
3721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3722 <limits.h> exists even on freestanding compilers. */
3725 # include <limits.h>
3727 # include <assert.h>
3730 #undef gethostbyname
3732 /* Override any gcc2 internal prototype to avoid an error. */
3737 /* We use char because int might match the return type of a gcc2
3738 builtin and then its argument prototype would still apply. */
3739 char gethostbyname ();
3740 /* The GNU C library defines this for functions which it implements
3741 to always fail with ENOSYS. Some functions are actually named
3742 something starting with __ and the normal name is an alias. */
3743 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3746 char (*f) () = gethostbyname;
3755 return f != gethostbyname;
3760 rm -f conftest.$ac_objext conftest$ac_exeext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3762 (eval $ac_link) 2>conftest.er1
3764 grep -v '^ *+' conftest.er1 >conftest.err
3766 cat conftest.err >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; } &&
3775 { ac_try='test -s conftest$ac_exeext'
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; }; then
3781 ac_cv_func_gethostbyname=yes
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.$ac_ext >&5
3786 ac_cv_func_gethostbyname=no
3788 rm -f conftest.err conftest.$ac_objext \
3789 conftest$ac_exeext conftest.$ac_ext
3791 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3792 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3794 if test $ac_cv_func_gethostbyname = no; then
3795 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3796 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3797 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 ac_check_lib_save_LIBS=$LIBS
3802 cat >conftest.$ac_ext <<_ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3809 /* Override any gcc2 internal prototype to avoid an error. */
3813 /* We use char because int might match the return type of a gcc2
3814 builtin and then its argument prototype would still apply. */
3815 char gethostbyname ();
3824 rm -f conftest.$ac_objext conftest$ac_exeext
3825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3826 (eval $ac_link) 2>conftest.er1
3828 grep -v '^ *+' conftest.er1 >conftest.err
3830 cat conftest.err >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } &&
3833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try='test -s conftest$ac_exeext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3845 ac_cv_lib_nsl_gethostbyname=yes
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.$ac_ext >&5
3850 ac_cv_lib_nsl_gethostbyname=no
3852 rm -f conftest.err conftest.$ac_objext \
3853 conftest$ac_exeext conftest.$ac_ext
3854 LIBS=$ac_check_lib_save_LIBS
3856 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3857 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3858 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3859 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3862 if test $ac_cv_lib_nsl_gethostbyname = no; then
3863 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3864 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3865 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_check_lib_save_LIBS=$LIBS
3870 cat >conftest.$ac_ext <<_ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3877 /* Override any gcc2 internal prototype to avoid an error. */
3881 /* We use char because int might match the return type of a gcc2
3882 builtin and then its argument prototype would still apply. */
3883 char gethostbyname ();
3892 rm -f conftest.$ac_objext conftest$ac_exeext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3894 (eval $ac_link) 2>conftest.er1
3896 grep -v '^ *+' conftest.er1 >conftest.err
3898 cat conftest.err >&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } &&
3901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); }; } &&
3907 { ac_try='test -s conftest$ac_exeext'
3908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; }; then
3913 ac_cv_lib_bsd_gethostbyname=yes
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3918 ac_cv_lib_bsd_gethostbyname=no
3920 rm -f conftest.err conftest.$ac_objext \
3921 conftest$ac_exeext conftest.$ac_ext
3922 LIBS=$ac_check_lib_save_LIBS
3924 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3925 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3926 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3927 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3933 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3934 # socket/setsockopt and other routines are undefined under SCO ODT
3935 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3936 # on later versions), says Simon Leinen: it contains gethostby*
3937 # variants that don't use the name server (or something). -lsocket
3938 # must be given before -lnsl if both are needed. We assume that
3939 # if connect needs -lnsl, so does gethostbyname.
3940 echo "$as_me:$LINENO: checking for connect" >&5
3941 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3942 if test "${ac_cv_func_connect+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 cat >conftest.$ac_ext <<_ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3953 #define connect innocuous_connect
3955 /* System header to define __stub macros and hopefully few prototypes,
3956 which can conflict with char connect (); below.
3957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3958 <limits.h> exists even on freestanding compilers. */
3961 # include <limits.h>
3963 # include <assert.h>
3968 /* Override any gcc2 internal prototype to avoid an error. */
3973 /* We use char because int might match the return type of a gcc2
3974 builtin and then its argument prototype would still apply. */
3976 /* The GNU C library defines this for functions which it implements
3977 to always fail with ENOSYS. Some functions are actually named
3978 something starting with __ and the normal name is an alias. */
3979 #if defined (__stub_connect) || defined (__stub___connect)
3982 char (*f) () = connect;
3991 return f != connect;
3996 rm -f conftest.$ac_objext conftest$ac_exeext
3997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3998 (eval $ac_link) 2>conftest.er1
4000 grep -v '^ *+' conftest.er1 >conftest.err
4002 cat conftest.err >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } &&
4005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; } &&
4011 { ac_try='test -s conftest$ac_exeext'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; }; then
4017 ac_cv_func_connect=yes
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 ac_cv_func_connect=no
4024 rm -f conftest.err conftest.$ac_objext \
4025 conftest$ac_exeext conftest.$ac_ext
4027 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4028 echo "${ECHO_T}$ac_cv_func_connect" >&6
4030 if test $ac_cv_func_connect = no; then
4031 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4032 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4033 if test "${ac_cv_lib_socket_connect+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 ac_check_lib_save_LIBS=$LIBS
4037 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4038 cat >conftest.$ac_ext <<_ACEOF
4041 cat confdefs.h >>conftest.$ac_ext
4042 cat >>conftest.$ac_ext <<_ACEOF
4043 /* end confdefs.h. */
4045 /* Override any gcc2 internal prototype to avoid an error. */
4049 /* We use char because int might match the return type of a gcc2
4050 builtin and then its argument prototype would still apply. */
4060 rm -f conftest.$ac_objext conftest$ac_exeext
4061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4062 (eval $ac_link) 2>conftest.er1
4064 grep -v '^ *+' conftest.er1 >conftest.err
4066 cat conftest.err >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } &&
4069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; } &&
4075 { ac_try='test -s conftest$ac_exeext'
4076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; }; then
4081 ac_cv_lib_socket_connect=yes
4083 echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.$ac_ext >&5
4086 ac_cv_lib_socket_connect=no
4088 rm -f conftest.err conftest.$ac_objext \
4089 conftest$ac_exeext conftest.$ac_ext
4090 LIBS=$ac_check_lib_save_LIBS
4092 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4093 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4094 if test $ac_cv_lib_socket_connect = yes; then
4095 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4100 # Guillermo Gomez says -lposix is necessary on A/UX.
4101 echo "$as_me:$LINENO: checking for remove" >&5
4102 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4103 if test "${ac_cv_func_remove+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 cat >conftest.$ac_ext <<_ACEOF
4109 cat confdefs.h >>conftest.$ac_ext
4110 cat >>conftest.$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4114 #define remove innocuous_remove
4116 /* System header to define __stub macros and hopefully few prototypes,
4117 which can conflict with char remove (); below.
4118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 <limits.h> exists even on freestanding compilers. */
4122 # include <limits.h>
4124 # include <assert.h>
4129 /* Override any gcc2 internal prototype to avoid an error. */
4134 /* We use char because int might match the return type of a gcc2
4135 builtin and then its argument prototype would still apply. */
4137 /* The GNU C library defines this for functions which it implements
4138 to always fail with ENOSYS. Some functions are actually named
4139 something starting with __ and the normal name is an alias. */
4140 #if defined (__stub_remove) || defined (__stub___remove)
4143 char (*f) () = remove;
4157 rm -f conftest.$ac_objext conftest$ac_exeext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>conftest.er1
4161 grep -v '^ *+' conftest.er1 >conftest.err
4163 cat conftest.err >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; } &&
4172 { ac_try='test -s conftest$ac_exeext'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 ac_cv_func_remove=yes
4180 echo "$as_me: failed program was:" >&5
4181 sed 's/^/| /' conftest.$ac_ext >&5
4183 ac_cv_func_remove=no
4185 rm -f conftest.err conftest.$ac_objext \
4186 conftest$ac_exeext conftest.$ac_ext
4188 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4189 echo "${ECHO_T}$ac_cv_func_remove" >&6
4191 if test $ac_cv_func_remove = no; then
4192 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4193 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4194 if test "${ac_cv_lib_posix_remove+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 ac_check_lib_save_LIBS=$LIBS
4198 LIBS="-lposix $LIBS"
4199 cat >conftest.$ac_ext <<_ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4206 /* Override any gcc2 internal prototype to avoid an error. */
4210 /* We use char because int might match the return type of a gcc2
4211 builtin and then its argument prototype would still apply. */
4221 rm -f conftest.$ac_objext conftest$ac_exeext
4222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4223 (eval $ac_link) 2>conftest.er1
4225 grep -v '^ *+' conftest.er1 >conftest.err
4227 cat conftest.err >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try='test -s conftest$ac_exeext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 ac_cv_lib_posix_remove=yes
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.$ac_ext >&5
4247 ac_cv_lib_posix_remove=no
4249 rm -f conftest.err conftest.$ac_objext \
4250 conftest$ac_exeext conftest.$ac_ext
4251 LIBS=$ac_check_lib_save_LIBS
4253 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4254 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4255 if test $ac_cv_lib_posix_remove = yes; then
4256 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4261 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4262 echo "$as_me:$LINENO: checking for shmat" >&5
4263 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4264 if test "${ac_cv_func_shmat+set}" = set; then
4265 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 cat >conftest.$ac_ext <<_ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4273 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4275 #define shmat innocuous_shmat
4277 /* System header to define __stub macros and hopefully few prototypes,
4278 which can conflict with char shmat (); below.
4279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4280 <limits.h> exists even on freestanding compilers. */
4283 # include <limits.h>
4285 # include <assert.h>
4290 /* Override any gcc2 internal prototype to avoid an error. */
4295 /* We use char because int might match the return type of a gcc2
4296 builtin and then its argument prototype would still apply. */
4298 /* The GNU C library defines this for functions which it implements
4299 to always fail with ENOSYS. Some functions are actually named
4300 something starting with __ and the normal name is an alias. */
4301 #if defined (__stub_shmat) || defined (__stub___shmat)
4304 char (*f) () = shmat;
4318 rm -f conftest.$ac_objext conftest$ac_exeext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4320 (eval $ac_link) 2>conftest.er1
4322 grep -v '^ *+' conftest.er1 >conftest.err
4324 cat conftest.err >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } &&
4327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; } &&
4333 { ac_try='test -s conftest$ac_exeext'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; }; then
4339 ac_cv_func_shmat=yes
4341 echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.$ac_ext >&5
4346 rm -f conftest.err conftest.$ac_objext \
4347 conftest$ac_exeext conftest.$ac_ext
4349 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4350 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4352 if test $ac_cv_func_shmat = no; then
4353 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4354 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4355 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 ac_check_lib_save_LIBS=$LIBS
4360 cat >conftest.$ac_ext <<_ACEOF
4363 cat confdefs.h >>conftest.$ac_ext
4364 cat >>conftest.$ac_ext <<_ACEOF
4365 /* end confdefs.h. */
4367 /* Override any gcc2 internal prototype to avoid an error. */
4371 /* We use char because int might match the return type of a gcc2
4372 builtin and then its argument prototype would still apply. */
4382 rm -f conftest.$ac_objext conftest$ac_exeext
4383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4384 (eval $ac_link) 2>conftest.er1
4386 grep -v '^ *+' conftest.er1 >conftest.err
4388 cat conftest.err >&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } &&
4391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); }; } &&
4397 { ac_try='test -s conftest$ac_exeext'
4398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; }; then
4403 ac_cv_lib_ipc_shmat=yes
4405 echo "$as_me: failed program was:" >&5
4406 sed 's/^/| /' conftest.$ac_ext >&5
4408 ac_cv_lib_ipc_shmat=no
4410 rm -f conftest.err conftest.$ac_objext \
4411 conftest$ac_exeext conftest.$ac_ext
4412 LIBS=$ac_check_lib_save_LIBS
4414 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4415 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4416 if test $ac_cv_lib_ipc_shmat = yes; then
4417 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4423 # Check for libraries that X11R6 Xt/Xaw programs need.
4424 ac_save_LDFLAGS=$LDFLAGS
4425 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4426 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4427 # check for ICE first), but we must link in the order -lSM -lICE or
4428 # we get undefined symbols. So assume we have SM if we have ICE.
4429 # These have to be linked with before -lX11, unlike the other
4430 # libraries we check for below, so use a different variable.
4431 # John Interrante, Karl Berry
4432 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4433 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4434 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 ac_check_lib_save_LIBS=$LIBS
4438 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4439 cat >conftest.$ac_ext <<_ACEOF
4442 cat confdefs.h >>conftest.$ac_ext
4443 cat >>conftest.$ac_ext <<_ACEOF
4444 /* end confdefs.h. */
4446 /* Override any gcc2 internal prototype to avoid an error. */
4450 /* We use char because int might match the return type of a gcc2
4451 builtin and then its argument prototype would still apply. */
4452 char IceConnectionNumber ();
4456 IceConnectionNumber ();
4461 rm -f conftest.$ac_objext conftest$ac_exeext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4463 (eval $ac_link) 2>conftest.er1
4465 grep -v '^ *+' conftest.er1 >conftest.err
4467 cat conftest.err >&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); } &&
4470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; } &&
4476 { ac_try='test -s conftest$ac_exeext'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 ac_cv_lib_ICE_IceConnectionNumber=yes
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.$ac_ext >&5
4487 ac_cv_lib_ICE_IceConnectionNumber=no
4489 rm -f conftest.err conftest.$ac_objext \
4490 conftest$ac_exeext conftest.$ac_ext
4491 LIBS=$ac_check_lib_save_LIBS
4493 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4494 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4495 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4496 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4499 LDFLAGS=$ac_save_LDFLAGS
4503 for ac_prog in flex lex
4505 # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy $ac_prog; ac_word=$2
4507 echo "$as_me:$LINENO: checking for $ac_word" >&5
4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4509 if test "${ac_cv_prog_LEX+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 if test -n "$LEX"; then
4513 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_prog_LEX="$ac_prog"
4523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$LEX"; then
4533 echo "$as_me:$LINENO: result: $LEX" >&5
4534 echo "${ECHO_T}$LEX" >&6
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4540 test -n "$LEX" && break
4542 test -n "$LEX" || LEX=":"
4544 if test -z "$LEXLIB"
4546 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4547 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4548 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 ac_check_lib_save_LIBS=$LIBS
4553 cat >conftest.$ac_ext <<_ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any gcc2 internal prototype to avoid an error. */
4564 /* We use char because int might match the return type of a gcc2
4565 builtin and then its argument prototype would still apply. */
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4577 (eval $ac_link) 2>conftest.er1
4579 grep -v '^ *+' conftest.er1 >conftest.err
4581 cat conftest.err >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } &&
4584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; } &&
4590 { ac_try='test -s conftest$ac_exeext'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then
4596 ac_cv_lib_fl_yywrap=yes
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4601 ac_cv_lib_fl_yywrap=no
4603 rm -f conftest.err conftest.$ac_objext \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4608 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4609 if test $ac_cv_lib_fl_yywrap = yes; then
4612 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4613 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4614 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 ac_check_lib_save_LIBS=$LIBS
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4626 /* Override any gcc2 internal prototype to avoid an error. */
4630 /* We use char because int might match the return type of a gcc2
4631 builtin and then its argument prototype would still apply. */
4641 rm -f conftest.$ac_objext conftest$ac_exeext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4643 (eval $ac_link) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; } &&
4656 { ac_try='test -s conftest$ac_exeext'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 ac_cv_lib_l_yywrap=yes
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.$ac_ext >&5
4667 ac_cv_lib_l_yywrap=no
4669 rm -f conftest.err conftest.$ac_objext \
4670 conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4673 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4674 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4675 if test $ac_cv_lib_l_yywrap = yes; then
4683 if test "x$LEX" != "x:"; then
4684 echo "$as_me:$LINENO: checking lex output file root" >&5
4685 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4686 if test "${ac_cv_prog_lex_root+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 # The minimal lex program is just a single line: %%. But some broken lexes
4690 # (Solaris, I think it was) want two %% lines, so accommodate them.
4691 cat >conftest.l <<_ACEOF
4695 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4696 (eval $LEX conftest.l) 2>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }
4700 if test -f lex.yy.c; then
4701 ac_cv_prog_lex_root=lex.yy
4702 elif test -f lexyy.c; then
4703 ac_cv_prog_lex_root=lexyy
4705 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4706 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4707 { (exit 1); exit 1; }; }
4710 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4711 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4713 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4715 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4716 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4717 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 # POSIX says lex can declare yytext either as a pointer or an array; the
4721 # default is implementation-dependent. Figure out which it is, since
4722 # not all implementations provide the %pointer and %array declarations.
4723 ac_cv_prog_lex_yytext_pointer=no
4724 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4726 LIBS="$LIBS $LEXLIB"
4727 cat >conftest.$ac_ext <<_ACEOF
4728 `cat $LEX_OUTPUT_ROOT.c`
4730 rm -f conftest.$ac_objext conftest$ac_exeext
4731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4732 (eval $ac_link) 2>conftest.er1
4734 grep -v '^ *+' conftest.er1 >conftest.err
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; } &&
4745 { ac_try='test -s conftest$ac_exeext'
4746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 ac_cv_prog_lex_yytext_pointer=yes
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4757 rm -f conftest.err conftest.$ac_objext \
4758 conftest$ac_exeext conftest.$ac_ext
4760 rm -f "${LEX_OUTPUT_ROOT}.c"
4763 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4764 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4765 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4767 cat >>confdefs.h <<\_ACEOF
4768 #define YYTEXT_POINTER 1
4775 for ac_prog in $LEX flex lex
4777 # Extract the first word of "$ac_prog", so it can be a program name with args.
4778 set dummy $ac_prog; ac_word=$2
4779 echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4781 if test "${ac_cv_prog_XLEX+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 if test -n "$XLEX"; then
4785 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794 ac_cv_prog_XLEX="$ac_prog"
4795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 XLEX=$ac_cv_prog_XLEX
4804 if test -n "$XLEX"; then
4805 echo "$as_me:$LINENO: result: $XLEX" >&5
4806 echo "${ECHO_T}$XLEX" >&6
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4812 test -n "$XLEX" && break
4814 test -n "$XLEX" || XLEX="none"
4816 if test "$XLEX" = "none"
4818 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4819 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4820 { (exit 1); exit 1; }; }
4823 for ac_prog in bison
4825 # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy $ac_prog; ac_word=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_prog_BISON+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 if test -n "$BISON"; then
4833 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_BISON="$ac_prog"
4843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 BISON=$ac_cv_prog_BISON
4852 if test -n "$BISON"; then
4853 echo "$as_me:$LINENO: result: $BISON" >&5
4854 echo "${ECHO_T}$BISON" >&6
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4860 test -n "$BISON" && break
4862 test -n "$BISON" || BISON="none"
4864 if test "$BISON" = "none"
4866 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4867 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4868 { (exit 1); exit 1; }; }
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog in gas as
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4876 echo "$as_me:$LINENO: checking for $ac_word" >&5
4877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4878 if test "${ac_cv_prog_AS+set}" = set; then
4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 if test -n "$AS"; then
4882 ac_cv_prog_AS="$AS" # Let the user override the test.
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 if test -n "$AS"; then
4902 echo "$as_me:$LINENO: result: $AS" >&5
4903 echo "${ECHO_T}$AS" >&6
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4909 test -n "$AS" && break
4912 if test -z "$AS"; then
4914 for ac_prog in gas as
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy $ac_prog; ac_word=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$ac_ct_AS"; then
4924 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_ac_ct_AS="$ac_prog"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4943 if test -n "$ac_ct_AS"; then
4944 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4945 echo "${ECHO_T}$ac_ct_AS" >&6
4947 echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6
4951 test -n "$ac_ct_AS" && break
4953 test -n "$ac_ct_AS" || ac_ct_AS="as"
4958 if test -n "$ac_tool_prefix"; then
4959 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4960 set dummy ${ac_tool_prefix}ld; ac_word=$2
4961 echo "$as_me:$LINENO: checking for $ac_word" >&5
4962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4963 if test "${ac_cv_prog_LD+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 if test -n "$LD"; then
4967 ac_cv_prog_LD="$LD" # Let the user override the test.
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir=.
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_LD="${ac_tool_prefix}ld"
4977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 if test -n "$LD"; then
4987 echo "$as_me:$LINENO: result: $LD" >&5
4988 echo "${ECHO_T}$LD" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4995 if test -z "$ac_cv_prog_LD"; then
4997 # Extract the first word of "ld", so it can be a program name with args.
4998 set dummy ld; ac_word=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$ac_ct_LD"; then
5005 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_ac_ct_LD="ld"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5024 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5025 if test -n "$ac_ct_LD"; then
5026 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5027 echo "${ECHO_T}$ac_ct_LD" >&6
5029 echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5040 set dummy ${ac_tool_prefix}ar; ac_word=$2
5041 echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5043 if test "${ac_cv_prog_AR+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 if test -n "$AR"; then
5047 ac_cv_prog_AR="$AR" # Let the user override the test.
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_AR="${ac_tool_prefix}ar"
5057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 if test -n "$AR"; then
5067 echo "$as_me:$LINENO: result: $AR" >&5
5068 echo "${ECHO_T}$AR" >&6
5070 echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6
5075 if test -z "$ac_cv_prog_AR"; then
5077 # Extract the first word of "ar", so it can be a program name with args.
5078 set dummy ar; ac_word=$2
5079 echo "$as_me:$LINENO: checking for $ac_word" >&5
5080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5081 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 if test -n "$ac_ct_AR"; then
5085 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_AR="ar"
5095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5104 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5105 if test -n "$ac_ct_AR"; then
5106 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5107 echo "${ECHO_T}$ac_ct_AR" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5121 echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5123 if test "${ac_cv_prog_RANLIB+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 RANLIB=$ac_cv_prog_RANLIB
5146 if test -n "$RANLIB"; then
5147 echo "$as_me:$LINENO: result: $RANLIB" >&5
5148 echo "${ECHO_T}$RANLIB" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5155 if test -z "$ac_cv_prog_RANLIB"; then
5156 ac_ct_RANLIB=$RANLIB
5157 # Extract the first word of "ranlib", so it can be a program name with args.
5158 set dummy ranlib; ac_word=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$ac_ct_RANLIB"; then
5165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir=.
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_RANLIB="ranlib"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5185 if test -n "$ac_ct_RANLIB"; then
5186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5193 RANLIB=$ac_ct_RANLIB
5195 RANLIB="$ac_cv_prog_RANLIB"
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}strip; ac_word=$2
5201 echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5203 if test "${ac_cv_prog_STRIP+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 if test -n "$STRIP"; then
5207 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 STRIP=$ac_cv_prog_STRIP
5226 if test -n "$STRIP"; then
5227 echo "$as_me:$LINENO: result: $STRIP" >&5
5228 echo "${ECHO_T}$STRIP" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5235 if test -z "$ac_cv_prog_STRIP"; then
5237 # Extract the first word of "strip", so it can be a program name with args.
5238 set dummy strip; ac_word=$2
5239 echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5241 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 if test -n "$ac_ct_STRIP"; then
5245 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_ac_ct_STRIP="strip"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5264 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5265 if test -n "$ac_ct_STRIP"; then
5266 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5267 echo "${ECHO_T}$ac_ct_STRIP" >&6
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5275 STRIP="$ac_cv_prog_STRIP"
5278 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5280 set dummy ${ac_tool_prefix}windres; ac_word=$2
5281 echo "$as_me:$LINENO: checking for $ac_word" >&5
5282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5283 if test "${ac_cv_prog_WINDRES+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 if test -n "$WINDRES"; then
5287 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 WINDRES=$ac_cv_prog_WINDRES
5306 if test -n "$WINDRES"; then
5307 echo "$as_me:$LINENO: result: $WINDRES" >&5
5308 echo "${ECHO_T}$WINDRES" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5315 if test -z "$ac_cv_prog_WINDRES"; then
5316 ac_ct_WINDRES=$WINDRES
5317 # Extract the first word of "windres", so it can be a program name with args.
5318 set dummy windres; ac_word=$2
5319 echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$ac_ct_WINDRES"; then
5325 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334 ac_cv_prog_ac_ct_WINDRES="windres"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5344 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5345 if test -n "$ac_ct_WINDRES"; then
5346 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5347 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5353 WINDRES=$ac_ct_WINDRES
5355 WINDRES="$ac_cv_prog_WINDRES"
5358 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5359 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5361 if test "$LN_S" = "ln -s"; then
5362 echo "$as_me:$LINENO: result: yes" >&5
5363 echo "${ECHO_T}yes" >&6
5365 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5366 echo "${ECHO_T}no, using $LN_S" >&6
5369 echo "$as_me:$LINENO: checking whether ln works" >&5
5370 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5371 rm -f conf$$ conf$$.file
5373 if ln conf$$.file conf$$ 2>/dev/null; then
5376 echo "$as_me:$LINENO: result: yes" >&5
5377 echo "${ECHO_T}yes" >&6
5381 echo "$as_me:$LINENO: result: no, using $LN" >&5
5382 echo "${ECHO_T}no, using $LN" >&6
5384 rm -f conf$$ conf$$.file
5385 # Extract the first word of "ldconfig", so it can be a program name with args.
5386 set dummy ldconfig; ac_word=$2
5387 echo "$as_me:$LINENO: checking for $ac_word" >&5
5388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5389 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in /sbin /usr/sbin $PATH
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5415 LDCONFIG=$ac_cv_path_LDCONFIG
5417 if test -n "$LDCONFIG"; then
5418 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5419 echo "${ECHO_T}$LDCONFIG" >&6
5421 echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6
5425 # Find a good install program. We prefer a C program (faster),
5426 # so one script is as good as another. But avoid the broken or
5427 # incompatible versions:
5428 # SysV /etc/install, /usr/sbin/install
5429 # SunOS /usr/etc/install
5430 # IRIX /sbin/install
5432 # AmigaOS /C/install, which installs bootblocks on floppy discs
5433 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5434 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5435 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5436 # OS/2's system install, which has a completely different semantic
5437 # ./install, which can be erroneously created by make from ./install.sh.
5438 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5439 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5440 if test -z "$INSTALL"; then
5441 if test "${ac_cv_path_install+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 # Account for people who put trailing slashes in PATH elements.
5451 ./ | .// | /cC/* | \
5452 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5453 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5456 # OSF1 and SCO ODT 3.0 have their own names for install.
5457 # Don't use installbsd from OSF since it installs stuff as root
5459 for ac_prog in ginstall scoinst install; do
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5462 if test $ac_prog = install &&
5463 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5464 # AIX install. It has an incompatible calling convention.
5466 elif test $ac_prog = install &&
5467 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5468 # program-specific install script used by HP pwplus--don't use.
5471 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5483 if test "${ac_cv_path_install+set}" = set; then
5484 INSTALL=$ac_cv_path_install
5486 # As a last resort, use the slow shell script. We don't cache a
5487 # path for INSTALL within a source directory, because that will
5488 # break other packages using the cache if that directory is
5489 # removed, or if the path is relative.
5490 INSTALL=$ac_install_sh
5493 echo "$as_me:$LINENO: result: $INSTALL" >&5
5494 echo "${ECHO_T}$INSTALL" >&6
5496 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5497 # It thinks the first close brace ends the variable substitution.
5498 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5500 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5502 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5505 [\\/$]* | ?:[\\/]* ) ;;
5506 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5509 for ac_prog in lclint lint
5511 # Extract the first word of "$ac_prog", so it can be a program name with args.
5512 set dummy $ac_prog; ac_word=$2
5513 echo "$as_me:$LINENO: checking for $ac_word" >&5
5514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5515 if test "${ac_cv_prog_LINT+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 if test -n "$LINT"; then
5519 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_LINT="$ac_prog"
5529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 LINT=$ac_cv_prog_LINT
5538 if test -n "$LINT"; then
5539 echo "$as_me:$LINENO: result: $LINT" >&5
5540 echo "${ECHO_T}$LINT" >&6
5542 echo "$as_me:$LINENO: result: no" >&5
5543 echo "${ECHO_T}no" >&6
5546 test -n "$LINT" && break
5549 if test "$LINT" = "lint"
5551 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5556 for ac_prog in docbook2html db2html
5558 # Extract the first word of "$ac_prog", so it can be a program name with args.
5559 set dummy $ac_prog; ac_word=$2
5560 echo "$as_me:$LINENO: checking for $ac_word" >&5
5561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5562 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 if test -n "$DB2HTML"; then
5566 ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_DB2HTML="$ac_prog"
5576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 DB2HTML=$ac_cv_prog_DB2HTML
5585 if test -n "$DB2HTML"; then
5586 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5587 echo "${ECHO_T}$DB2HTML" >&6
5589 echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6
5593 test -n "$DB2HTML" && break
5595 test -n "$DB2HTML" || DB2HTML="false"
5599 for ac_prog in docbook2pdf db2pdf
5601 # Extract the first word of "$ac_prog", so it can be a program name with args.
5602 set dummy $ac_prog; ac_word=$2
5603 echo "$as_me:$LINENO: checking for $ac_word" >&5
5604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5605 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 if test -n "$DB2PDF"; then
5609 ac_cv_prog_DB2PDF="$DB2PDF" # Let the user override the test.
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_DB2PDF="$ac_prog"
5619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 DB2PDF=$ac_cv_prog_DB2PDF
5628 if test -n "$DB2PDF"; then
5629 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5630 echo "${ECHO_T}$DB2PDF" >&6
5632 echo "$as_me:$LINENO: result: no" >&5
5633 echo "${ECHO_T}no" >&6
5636 test -n "$DB2PDF" && break
5638 test -n "$DB2PDF" || DB2PDF="false"
5642 for ac_prog in docbook2ps db2ps
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy $ac_prog; ac_word=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_prog_DB2PS+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$DB2PS"; then
5652 ac_cv_prog_DB2PS="$DB2PS" # Let the user override the test.
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_DB2PS="$ac_prog"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 DB2PS=$ac_cv_prog_DB2PS
5671 if test -n "$DB2PS"; then
5672 echo "$as_me:$LINENO: result: $DB2PS" >&5
5673 echo "${ECHO_T}$DB2PS" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5679 test -n "$DB2PS" && break
5681 test -n "$DB2PS" || DB2PS="false"
5685 for ac_prog in docbook2txt db2txt
5687 # Extract the first word of "$ac_prog", so it can be a program name with args.
5688 set dummy $ac_prog; ac_word=$2
5689 echo "$as_me:$LINENO: checking for $ac_word" >&5
5690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5691 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 if test -n "$DB2TXT"; then
5695 ac_cv_prog_DB2TXT="$DB2TXT" # Let the user override the test.
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_DB2TXT="$ac_prog"
5705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 DB2TXT=$ac_cv_prog_DB2TXT
5714 if test -n "$DB2TXT"; then
5715 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5716 echo "${ECHO_T}$DB2TXT" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5722 test -n "$DB2TXT" && break
5724 test -n "$DB2TXT" || DB2TXT="false"
5730 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5731 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5732 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 ac_check_lib_save_LIBS=$LIBS
5737 cat >conftest.$ac_ext <<_ACEOF
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5744 /* Override any gcc2 internal prototype to avoid an error. */
5748 /* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5750 char i386_set_ldt ();
5759 rm -f conftest.$ac_objext conftest$ac_exeext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5761 (eval $ac_link) 2>conftest.er1
5763 grep -v '^ *+' conftest.er1 >conftest.err
5765 cat conftest.err >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } &&
5768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; } &&
5774 { ac_try='test -s conftest$ac_exeext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); }; }; then
5780 ac_cv_lib_i386_i386_set_ldt=yes
5782 echo "$as_me: failed program was:" >&5
5783 sed 's/^/| /' conftest.$ac_ext >&5
5785 ac_cv_lib_i386_i386_set_ldt=no
5787 rm -f conftest.err conftest.$ac_objext \
5788 conftest$ac_exeext conftest.$ac_ext
5789 LIBS=$ac_check_lib_save_LIBS
5791 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5792 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5793 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5794 cat >>confdefs.h <<_ACEOF
5795 #define HAVE_LIBI386 1
5803 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5804 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5805 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 ac_check_lib_save_LIBS=$LIBS
5809 LIBS="-lossaudio $LIBS"
5810 cat >conftest.$ac_ext <<_ACEOF
5813 cat confdefs.h >>conftest.$ac_ext
5814 cat >>conftest.$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5817 /* Override any gcc2 internal prototype to avoid an error. */
5821 /* We use char because int might match the return type of a gcc2
5822 builtin and then its argument prototype would still apply. */
5832 rm -f conftest.$ac_objext conftest$ac_exeext
5833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5834 (eval $ac_link) 2>conftest.er1
5836 grep -v '^ *+' conftest.er1 >conftest.err
5838 cat conftest.err >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } &&
5841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; } &&
5847 { ac_try='test -s conftest$ac_exeext'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; }; then
5853 ac_cv_lib_ossaudio__oss_ioctl=yes
5855 echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.$ac_ext >&5
5858 ac_cv_lib_ossaudio__oss_ioctl=no
5860 rm -f conftest.err conftest.$ac_objext \
5861 conftest$ac_exeext conftest.$ac_ext
5862 LIBS=$ac_check_lib_save_LIBS
5864 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5865 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5866 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5867 cat >>confdefs.h <<_ACEOF
5868 #define HAVE_LIBOSSAUDIO 1
5871 LIBS="-lossaudio $LIBS"
5876 for ac_func in iswalnum
5878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5879 echo "$as_me:$LINENO: checking for $ac_func" >&5
5880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5881 if eval "test \"\${$as_ac_var+set}\" = set"; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 cat >conftest.$ac_ext <<_ACEOF
5887 cat confdefs.h >>conftest.$ac_ext
5888 cat >>conftest.$ac_ext <<_ACEOF
5889 /* end confdefs.h. */
5890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5892 #define $ac_func innocuous_$ac_func
5894 /* System header to define __stub macros and hopefully few prototypes,
5895 which can conflict with char $ac_func (); below.
5896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5897 <limits.h> exists even on freestanding compilers. */
5900 # include <limits.h>
5902 # include <assert.h>
5907 /* Override any gcc2 internal prototype to avoid an error. */
5912 /* We use char because int might match the return type of a gcc2
5913 builtin and then its argument prototype would still apply. */
5915 /* The GNU C library defines this for functions which it implements
5916 to always fail with ENOSYS. Some functions are actually named
5917 something starting with __ and the normal name is an alias. */
5918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5921 char (*f) () = $ac_func;
5930 return f != $ac_func;
5935 rm -f conftest.$ac_objext conftest$ac_exeext
5936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5937 (eval $ac_link) 2>conftest.er1
5939 grep -v '^ *+' conftest.er1 >conftest.err
5941 cat conftest.err >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } &&
5944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); }; } &&
5950 { ac_try='test -s conftest$ac_exeext'
5951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); }; }; then
5956 eval "$as_ac_var=yes"
5958 echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.$ac_ext >&5
5961 eval "$as_ac_var=no"
5963 rm -f conftest.err conftest.$ac_objext \
5964 conftest$ac_exeext conftest.$ac_ext
5966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5968 if test `eval echo '${'$as_ac_var'}'` = yes; then
5969 cat >>confdefs.h <<_ACEOF
5970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5975 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5976 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5977 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 ac_check_lib_save_LIBS=$LIBS
5982 cat >conftest.$ac_ext <<_ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5989 /* Override any gcc2 internal prototype to avoid an error. */
5993 /* We use char because int might match the return type of a gcc2
5994 builtin and then its argument prototype would still apply. */
6004 rm -f conftest.$ac_objext conftest$ac_exeext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6006 (eval $ac_link) 2>conftest.er1
6008 grep -v '^ *+' conftest.er1 >conftest.err
6010 cat conftest.err >&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } &&
6013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); }; } &&
6019 { ac_try='test -s conftest$ac_exeext'
6020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; }; then
6025 ac_cv_lib_w_iswalnum=yes
6027 echo "$as_me: failed program was:" >&5
6028 sed 's/^/| /' conftest.$ac_ext >&5
6030 ac_cv_lib_w_iswalnum=no
6032 rm -f conftest.err conftest.$ac_objext \
6033 conftest$ac_exeext conftest.$ac_ext
6034 LIBS=$ac_check_lib_save_LIBS
6036 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6037 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6038 if test $ac_cv_lib_w_iswalnum = yes; then
6039 cat >>confdefs.h <<_ACEOF
6051 for ac_func in gethostbyname
6053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6054 echo "$as_me:$LINENO: checking for $ac_func" >&5
6055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6056 if eval "test \"\${$as_ac_var+set}\" = set"; then
6057 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 cat >conftest.$ac_ext <<_ACEOF
6062 cat confdefs.h >>conftest.$ac_ext
6063 cat >>conftest.$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6067 #define $ac_func innocuous_$ac_func
6069 /* System header to define __stub macros and hopefully few prototypes,
6070 which can conflict with char $ac_func (); below.
6071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6072 <limits.h> exists even on freestanding compilers. */
6075 # include <limits.h>
6077 # include <assert.h>
6082 /* Override any gcc2 internal prototype to avoid an error. */
6087 /* We use char because int might match the return type of a gcc2
6088 builtin and then its argument prototype would still apply. */
6090 /* The GNU C library defines this for functions which it implements
6091 to always fail with ENOSYS. Some functions are actually named
6092 something starting with __ and the normal name is an alias. */
6093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6096 char (*f) () = $ac_func;
6105 return f != $ac_func;
6110 rm -f conftest.$ac_objext conftest$ac_exeext
6111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6112 (eval $ac_link) 2>conftest.er1
6114 grep -v '^ *+' conftest.er1 >conftest.err
6116 cat conftest.err >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); } &&
6119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); }; } &&
6125 { ac_try='test -s conftest$ac_exeext'
6126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130 (exit $ac_status); }; }; then
6131 eval "$as_ac_var=yes"
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.$ac_ext >&5
6136 eval "$as_ac_var=no"
6138 rm -f conftest.err conftest.$ac_objext \
6139 conftest$ac_exeext conftest.$ac_ext
6141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6143 if test `eval echo '${'$as_ac_var'}'` = yes; then
6144 cat >>confdefs.h <<_ACEOF
6145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6150 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6151 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6152 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 ac_check_lib_save_LIBS=$LIBS
6157 cat >conftest.$ac_ext <<_ACEOF
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6164 /* Override any gcc2 internal prototype to avoid an error. */
6168 /* We use char because int might match the return type of a gcc2
6169 builtin and then its argument prototype would still apply. */
6170 char gethostbyname ();
6179 rm -f conftest.$ac_objext conftest$ac_exeext
6180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6181 (eval $ac_link) 2>conftest.er1
6183 grep -v '^ *+' conftest.er1 >conftest.err
6185 cat conftest.err >&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); } &&
6188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); }; } &&
6194 { ac_try='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 ac_cv_lib_nsl_gethostbyname=yes
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.$ac_ext >&5
6205 ac_cv_lib_nsl_gethostbyname=no
6207 rm -f conftest.err conftest.$ac_objext \
6208 conftest$ac_exeext conftest.$ac_ext
6209 LIBS=$ac_check_lib_save_LIBS
6211 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6212 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6213 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6214 cat >>confdefs.h <<_ACEOF
6215 #define HAVE_LIBNSL 1
6226 for ac_func in connect
6228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6229 echo "$as_me:$LINENO: checking for $ac_func" >&5
6230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6231 if eval "test \"\${$as_ac_var+set}\" = set"; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 cat >conftest.$ac_ext <<_ACEOF
6237 cat confdefs.h >>conftest.$ac_ext
6238 cat >>conftest.$ac_ext <<_ACEOF
6239 /* end confdefs.h. */
6240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6242 #define $ac_func innocuous_$ac_func
6244 /* System header to define __stub macros and hopefully few prototypes,
6245 which can conflict with char $ac_func (); below.
6246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6247 <limits.h> exists even on freestanding compilers. */
6250 # include <limits.h>
6252 # include <assert.h>
6257 /* Override any gcc2 internal prototype to avoid an error. */
6262 /* We use char because int might match the return type of a gcc2
6263 builtin and then its argument prototype would still apply. */
6265 /* The GNU C library defines this for functions which it implements
6266 to always fail with ENOSYS. Some functions are actually named
6267 something starting with __ and the normal name is an alias. */
6268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6271 char (*f) () = $ac_func;
6280 return f != $ac_func;
6285 rm -f conftest.$ac_objext conftest$ac_exeext
6286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6287 (eval $ac_link) 2>conftest.er1
6289 grep -v '^ *+' conftest.er1 >conftest.err
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } &&
6294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; } &&
6300 { ac_try='test -s conftest$ac_exeext'
6301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); }; }; then
6306 eval "$as_ac_var=yes"
6308 echo "$as_me: failed program was:" >&5
6309 sed 's/^/| /' conftest.$ac_ext >&5
6311 eval "$as_ac_var=no"
6313 rm -f conftest.err conftest.$ac_objext \
6314 conftest$ac_exeext conftest.$ac_ext
6316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6318 if test `eval echo '${'$as_ac_var'}'` = yes; then
6319 cat >>confdefs.h <<_ACEOF
6320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6325 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6326 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6327 if test "${ac_cv_lib_socket_connect+set}" = set; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 ac_check_lib_save_LIBS=$LIBS
6331 LIBS="-lsocket $LIBS"
6332 cat >conftest.$ac_ext <<_ACEOF
6335 cat confdefs.h >>conftest.$ac_ext
6336 cat >>conftest.$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6339 /* Override any gcc2 internal prototype to avoid an error. */
6343 /* We use char because int might match the return type of a gcc2
6344 builtin and then its argument prototype would still apply. */
6354 rm -f conftest.$ac_objext conftest$ac_exeext
6355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6356 (eval $ac_link) 2>conftest.er1
6358 grep -v '^ *+' conftest.er1 >conftest.err
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } &&
6363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; } &&
6369 { ac_try='test -s conftest$ac_exeext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_cv_lib_socket_connect=yes
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.$ac_ext >&5
6380 ac_cv_lib_socket_connect=no
6382 rm -f conftest.err conftest.$ac_objext \
6383 conftest$ac_exeext conftest.$ac_ext
6384 LIBS=$ac_check_lib_save_LIBS
6386 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6387 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6388 if test $ac_cv_lib_socket_connect = yes; then
6389 cat >>confdefs.h <<_ACEOF
6390 #define HAVE_LIBSOCKET 1
6393 LIBS="-lsocket $LIBS"
6401 for ac_func in inet_aton
6403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6404 echo "$as_me:$LINENO: checking for $ac_func" >&5
6405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6406 if eval "test \"\${$as_ac_var+set}\" = set"; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 cat >conftest.$ac_ext <<_ACEOF
6412 cat confdefs.h >>conftest.$ac_ext
6413 cat >>conftest.$ac_ext <<_ACEOF
6414 /* end confdefs.h. */
6415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6417 #define $ac_func innocuous_$ac_func
6419 /* System header to define __stub macros and hopefully few prototypes,
6420 which can conflict with char $ac_func (); below.
6421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6422 <limits.h> exists even on freestanding compilers. */
6425 # include <limits.h>
6427 # include <assert.h>
6432 /* Override any gcc2 internal prototype to avoid an error. */
6437 /* We use char because int might match the return type of a gcc2
6438 builtin and then its argument prototype would still apply. */
6440 /* The GNU C library defines this for functions which it implements
6441 to always fail with ENOSYS. Some functions are actually named
6442 something starting with __ and the normal name is an alias. */
6443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6446 char (*f) () = $ac_func;
6455 return f != $ac_func;
6460 rm -f conftest.$ac_objext conftest$ac_exeext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6462 (eval $ac_link) 2>conftest.er1
6464 grep -v '^ *+' conftest.er1 >conftest.err
6466 cat conftest.err >&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); } &&
6469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; } &&
6475 { ac_try='test -s conftest$ac_exeext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6481 eval "$as_ac_var=yes"
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6486 eval "$as_ac_var=no"
6488 rm -f conftest.err conftest.$ac_objext \
6489 conftest$ac_exeext conftest.$ac_ext
6491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6493 if test `eval echo '${'$as_ac_var'}'` = yes; then
6494 cat >>confdefs.h <<_ACEOF
6495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6500 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6501 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6502 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 ac_check_lib_save_LIBS=$LIBS
6506 LIBS="-lresolv $LIBS"
6507 cat >conftest.$ac_ext <<_ACEOF
6510 cat confdefs.h >>conftest.$ac_ext
6511 cat >>conftest.$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6514 /* Override any gcc2 internal prototype to avoid an error. */
6518 /* We use char because int might match the return type of a gcc2
6519 builtin and then its argument prototype would still apply. */
6529 rm -f conftest.$ac_objext conftest$ac_exeext
6530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6531 (eval $ac_link) 2>conftest.er1
6533 grep -v '^ *+' conftest.er1 >conftest.err
6535 cat conftest.err >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); }; } &&
6544 { ac_try='test -s conftest$ac_exeext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6550 ac_cv_lib_resolv_inet_aton=yes
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6555 ac_cv_lib_resolv_inet_aton=no
6557 rm -f conftest.err conftest.$ac_objext \
6558 conftest$ac_exeext conftest.$ac_ext
6559 LIBS=$ac_check_lib_save_LIBS
6561 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6562 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6563 if test $ac_cv_lib_resolv_inet_aton = yes; then
6564 cat >>confdefs.h <<_ACEOF
6565 #define HAVE_LIBRESOLV 1
6568 LIBS="-lresolv $LIBS"
6576 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6577 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6578 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 ac_check_lib_save_LIBS=$LIBS
6583 cat >conftest.$ac_ext <<_ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6590 /* Override any gcc2 internal prototype to avoid an error. */
6594 /* We use char because int might match the return type of a gcc2
6595 builtin and then its argument prototype would still apply. */
6596 char _xpg4_setrunelocale ();
6600 _xpg4_setrunelocale ();
6605 rm -f conftest.$ac_objext conftest$ac_exeext
6606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6607 (eval $ac_link) 2>conftest.er1
6609 grep -v '^ *+' conftest.er1 >conftest.err
6611 cat conftest.err >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } &&
6614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; } &&
6620 { ac_try='test -s conftest$ac_exeext'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; }; then
6626 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6628 echo "$as_me: failed program was:" >&5
6629 sed 's/^/| /' conftest.$ac_ext >&5
6631 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6633 rm -f conftest.err conftest.$ac_objext \
6634 conftest$ac_exeext conftest.$ac_ext
6635 LIBS=$ac_check_lib_save_LIBS
6637 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6638 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6639 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6640 cat >>confdefs.h <<_ACEOF
6641 #define HAVE_LIBXPG4 1
6649 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6650 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6651 if test "${ac_cv_lib_poll_poll+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 ac_check_lib_save_LIBS=$LIBS
6656 cat >conftest.$ac_ext <<_ACEOF
6659 cat confdefs.h >>conftest.$ac_ext
6660 cat >>conftest.$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6663 /* Override any gcc2 internal prototype to avoid an error. */
6667 /* We use char because int might match the return type of a gcc2
6668 builtin and then its argument prototype would still apply. */
6678 rm -f conftest.$ac_objext conftest$ac_exeext
6679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6680 (eval $ac_link) 2>conftest.er1
6682 grep -v '^ *+' conftest.er1 >conftest.err
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } &&
6687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; } &&
6693 { ac_try='test -s conftest$ac_exeext'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; }; then
6699 ac_cv_lib_poll_poll=yes
6701 echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.$ac_ext >&5
6704 ac_cv_lib_poll_poll=no
6706 rm -f conftest.err conftest.$ac_objext \
6707 conftest$ac_exeext conftest.$ac_ext
6708 LIBS=$ac_check_lib_save_LIBS
6710 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6711 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6712 if test $ac_cv_lib_poll_poll = yes; then
6713 cat >>confdefs.h <<_ACEOF
6714 #define HAVE_LIBPOLL 1
6721 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6722 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6723 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6726 ac_check_lib_save_LIBS=$LIBS
6727 LIBS="-lpthread $LIBS"
6728 cat >conftest.$ac_ext <<_ACEOF
6731 cat confdefs.h >>conftest.$ac_ext
6732 cat >>conftest.$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6735 /* Override any gcc2 internal prototype to avoid an error. */
6739 /* We use char because int might match the return type of a gcc2
6740 builtin and then its argument prototype would still apply. */
6741 char pthread_create ();
6750 rm -f conftest.$ac_objext conftest$ac_exeext
6751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6752 (eval $ac_link) 2>conftest.er1
6754 grep -v '^ *+' conftest.er1 >conftest.err
6756 cat conftest.err >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } &&
6759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; } &&
6765 { ac_try='test -s conftest$ac_exeext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then
6771 ac_cv_lib_pthread_pthread_create=yes
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 ac_cv_lib_pthread_pthread_create=no
6778 rm -f conftest.err conftest.$ac_objext \
6779 conftest$ac_exeext conftest.$ac_ext
6780 LIBS=$ac_check_lib_save_LIBS
6782 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6783 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6784 if test $ac_cv_lib_pthread_pthread_create = yes; then
6785 LIBPTHREAD="-lpthread"
6792 echo "$as_me:$LINENO: checking for egrep" >&5
6793 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6794 if test "${ac_cv_prog_egrep+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6798 then ac_cv_prog_egrep='grep -E'
6799 else ac_cv_prog_egrep='egrep'
6802 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6803 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6804 EGREP=$ac_cv_prog_egrep
6807 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6808 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6809 if test "${ac_cv_header_stdc+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 cat >conftest.$ac_ext <<_ACEOF
6815 cat confdefs.h >>conftest.$ac_ext
6816 cat >>conftest.$ac_ext <<_ACEOF
6817 /* end confdefs.h. */
6831 rm -f conftest.$ac_objext
6832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 (eval $ac_compile) 2>conftest.er1
6835 grep -v '^ *+' conftest.er1 >conftest.err
6837 cat conftest.err >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
6840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; } &&
6846 { ac_try='test -s conftest.$ac_objext'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6852 ac_cv_header_stdc=yes
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.$ac_ext >&5
6857 ac_cv_header_stdc=no
6859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861 if test $ac_cv_header_stdc = yes; then
6862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6863 cat >conftest.$ac_ext <<_ACEOF
6866 cat confdefs.h >>conftest.$ac_ext
6867 cat >>conftest.$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6873 $EGREP "memchr" >/dev/null 2>&1; then
6876 ac_cv_header_stdc=no
6882 if test $ac_cv_header_stdc = yes; then
6883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6884 cat >conftest.$ac_ext <<_ACEOF
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6894 $EGREP "free" >/dev/null 2>&1; then
6897 ac_cv_header_stdc=no
6903 if test $ac_cv_header_stdc = yes; then
6904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6905 if test "$cross_compiling" = yes; then
6908 cat >conftest.$ac_ext <<_ACEOF
6911 cat confdefs.h >>conftest.$ac_ext
6912 cat >>conftest.$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6915 #if ((' ' & 0x0FF) == 0x020)
6916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6919 # define ISLOWER(c) \
6920 (('a' <= (c) && (c) <= 'i') \
6921 || ('j' <= (c) && (c) <= 'r') \
6922 || ('s' <= (c) && (c) <= 'z'))
6923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6931 for (i = 0; i < 256; i++)
6932 if (XOR (islower (i), ISLOWER (i))
6933 || toupper (i) != TOUPPER (i))
6938 rm -f conftest$ac_exeext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6940 (eval $ac_link) 2>&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; }; then
6951 echo "$as_me: program exited with status $ac_status" >&5
6952 echo "$as_me: failed program was:" >&5
6953 sed 's/^/| /' conftest.$ac_ext >&5
6956 ac_cv_header_stdc=no
6958 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6962 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6963 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6964 if test $ac_cv_header_stdc = yes; then
6966 cat >>confdefs.h <<\_ACEOF
6967 #define STDC_HEADERS 1
6972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6983 inttypes.h stdint.h unistd.h
6985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6986 echo "$as_me:$LINENO: checking for $ac_header" >&5
6987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 cat >conftest.$ac_ext <<_ACEOF
6994 cat confdefs.h >>conftest.$ac_ext
6995 cat >>conftest.$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6997 $ac_includes_default
6999 #include <$ac_header>
7001 rm -f conftest.$ac_objext
7002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7003 (eval $ac_compile) 2>conftest.er1
7005 grep -v '^ *+' conftest.er1 >conftest.err
7007 cat conftest.err >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; } &&
7016 { ac_try='test -s conftest.$ac_objext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then
7022 eval "$as_ac_Header=yes"
7024 echo "$as_me: failed program was:" >&5
7025 sed 's/^/| /' conftest.$ac_ext >&5
7027 eval "$as_ac_Header=no"
7029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7034 cat >>confdefs.h <<_ACEOF
7035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7044 for ac_header in jpeglib.h
7046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7048 echo "$as_me:$LINENO: checking for $ac_header" >&5
7049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7056 # Is the header compilable?
7057 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7058 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7059 cat >conftest.$ac_ext <<_ACEOF
7062 cat confdefs.h >>conftest.$ac_ext
7063 cat >>conftest.$ac_ext <<_ACEOF
7064 /* end confdefs.h. */
7065 $ac_includes_default
7066 #include <$ac_header>
7068 rm -f conftest.$ac_objext
7069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7070 (eval $ac_compile) 2>conftest.er1
7072 grep -v '^ *+' conftest.er1 >conftest.err
7074 cat conftest.err >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); } &&
7077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); }; } &&
7083 { ac_try='test -s conftest.$ac_objext'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; }; then
7089 ac_header_compiler=yes
7091 echo "$as_me: failed program was:" >&5
7092 sed 's/^/| /' conftest.$ac_ext >&5
7094 ac_header_compiler=no
7096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7098 echo "${ECHO_T}$ac_header_compiler" >&6
7100 # Is the header present?
7101 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7103 cat >conftest.$ac_ext <<_ACEOF
7106 cat confdefs.h >>conftest.$ac_ext
7107 cat >>conftest.$ac_ext <<_ACEOF
7108 /* end confdefs.h. */
7109 #include <$ac_header>
7111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7114 grep -v '^ *+' conftest.er1 >conftest.err
7116 cat conftest.err >&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); } >/dev/null; then
7119 if test -s conftest.err; then
7120 ac_cpp_err=$ac_c_preproc_warn_flag
7121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7128 if test -z "$ac_cpp_err"; then
7129 ac_header_preproc=yes
7131 echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.$ac_ext >&5
7134 ac_header_preproc=no
7136 rm -f conftest.err conftest.$ac_ext
7137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7138 echo "${ECHO_T}$ac_header_preproc" >&6
7140 # So? What about this header?
7141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7144 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7146 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7147 ac_header_preproc=yes
7150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7154 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7155 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7156 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7164 ## ------------------------------------ ##
7165 ## Report this to wine-devel@winehq.org ##
7166 ## ------------------------------------ ##
7169 sed "s/^/$as_me: WARNING: /" >&2
7172 echo "$as_me:$LINENO: checking for $ac_header" >&5
7173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7175 echo $ECHO_N "(cached) $ECHO_C" >&6
7177 eval "$as_ac_Header=\$ac_header_preproc"
7179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7184 cat >>confdefs.h <<_ACEOF
7185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7187 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
7188 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
7189 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
7190 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 ac_check_lib_save_LIBS=$LIBS
7194 cat >conftest.$ac_ext <<_ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7201 /* Override any gcc2 internal prototype to avoid an error. */
7205 /* We use char because int might match the return type of a gcc2
7206 builtin and then its argument prototype would still apply. */
7207 char jpeg_start_decompress ();
7211 jpeg_start_decompress ();
7216 rm -f conftest.$ac_objext conftest$ac_exeext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7218 (eval $ac_link) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1 >conftest.err
7222 cat conftest.err >&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try='test -s conftest$ac_exeext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_cv_lib_jpeg_jpeg_start_decompress=yes
7239 echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.$ac_ext >&5
7242 ac_cv_lib_jpeg_jpeg_start_decompress=no
7244 rm -f conftest.err conftest.$ac_objext \
7245 conftest$ac_exeext conftest.$ac_ext
7246 LIBS=$ac_check_lib_save_LIBS
7248 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
7249 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
7250 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
7252 cat >>confdefs.h <<\_ACEOF
7253 #define HAVE_LIBJPEG 1
7269 for ac_header in gif_lib.h
7271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7273 echo "$as_me:$LINENO: checking for $ac_header" >&5
7274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7281 # Is the header compilable?
7282 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7284 cat >conftest.$ac_ext <<_ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7290 $ac_includes_default
7291 #include <$ac_header>
7293 rm -f conftest.$ac_objext
7294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7295 (eval $ac_compile) 2>conftest.er1
7297 grep -v '^ *+' conftest.er1 >conftest.err
7299 cat conftest.err >&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } &&
7302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); }; } &&
7308 { ac_try='test -s conftest.$ac_objext'
7309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); }; }; then
7314 ac_header_compiler=yes
7316 echo "$as_me: failed program was:" >&5
7317 sed 's/^/| /' conftest.$ac_ext >&5
7319 ac_header_compiler=no
7321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7323 echo "${ECHO_T}$ac_header_compiler" >&6
7325 # Is the header present?
7326 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7327 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7328 cat >conftest.$ac_ext <<_ACEOF
7331 cat confdefs.h >>conftest.$ac_ext
7332 cat >>conftest.$ac_ext <<_ACEOF
7333 /* end confdefs.h. */
7334 #include <$ac_header>
7336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7337 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7339 grep -v '^ *+' conftest.er1 >conftest.err
7341 cat conftest.err >&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); } >/dev/null; then
7344 if test -s conftest.err; then
7345 ac_cpp_err=$ac_c_preproc_warn_flag
7346 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7353 if test -z "$ac_cpp_err"; then
7354 ac_header_preproc=yes
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.$ac_ext >&5
7359 ac_header_preproc=no
7361 rm -f conftest.err conftest.$ac_ext
7362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7363 echo "${ECHO_T}$ac_header_preproc" >&6
7365 # So? What about this header?
7366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7368 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7369 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7371 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7372 ac_header_preproc=yes
7375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7379 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7380 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7381 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7382 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7385 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7386 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7389 ## ------------------------------------ ##
7390 ## Report this to wine-devel@winehq.org ##
7391 ## ------------------------------------ ##
7394 sed "s/^/$as_me: WARNING: /" >&2
7397 echo "$as_me:$LINENO: checking for $ac_header" >&5
7398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7400 echo $ECHO_N "(cached) $ECHO_C" >&6
7402 eval "$as_ac_Header=\$ac_header_preproc"
7404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7409 cat >>confdefs.h <<_ACEOF
7410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7412 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7413 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7414 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 ac_check_lib_save_LIBS=$LIBS
7418 LIBS="-lungif $LIBS"
7419 cat >conftest.$ac_ext <<_ACEOF
7422 cat confdefs.h >>conftest.$ac_ext
7423 cat >>conftest.$ac_ext <<_ACEOF
7424 /* end confdefs.h. */
7426 /* Override any gcc2 internal prototype to avoid an error. */
7430 /* We use char because int might match the return type of a gcc2
7431 builtin and then its argument prototype would still apply. */
7441 rm -f conftest.$ac_objext conftest$ac_exeext
7442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7443 (eval $ac_link) 2>conftest.er1
7445 grep -v '^ *+' conftest.er1 >conftest.err
7447 cat conftest.err >&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); } &&
7450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; } &&
7456 { ac_try='test -s conftest$ac_exeext'
7457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); }; }; then
7462 ac_cv_lib_ungif_DGifOpen=yes
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 ac_cv_lib_ungif_DGifOpen=no
7469 rm -f conftest.err conftest.$ac_objext \
7470 conftest$ac_exeext conftest.$ac_ext
7471 LIBS=$ac_check_lib_save_LIBS
7473 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7474 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7475 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7477 cat >>confdefs.h <<\_ACEOF
7478 #define HAVE_LIBGIF 1
7483 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7484 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7485 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 ac_check_lib_save_LIBS=$LIBS
7490 cat >conftest.$ac_ext <<_ACEOF
7493 cat confdefs.h >>conftest.$ac_ext
7494 cat >>conftest.$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7497 /* Override any gcc2 internal prototype to avoid an error. */
7501 /* We use char because int might match the return type of a gcc2
7502 builtin and then its argument prototype would still apply. */
7512 rm -f conftest.$ac_objext conftest$ac_exeext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7514 (eval $ac_link) 2>conftest.er1
7516 grep -v '^ *+' conftest.er1 >conftest.err
7518 cat conftest.err >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } &&
7521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try='test -s conftest$ac_exeext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_cv_lib_gif_DGifOpen=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_cv_lib_gif_DGifOpen=no
7540 rm -f conftest.err conftest.$ac_objext \
7541 conftest$ac_exeext conftest.$ac_ext
7542 LIBS=$ac_check_lib_save_LIBS
7544 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7545 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7546 if test $ac_cv_lib_gif_DGifOpen = yes; then
7547 cat >>confdefs.h <<\_ACEOF
7548 #define HAVE_LIBGIF 1
7570 if test "$have_x" = "yes"
7573 ac_save_CPPFLAGS="$CPPFLAGS"
7574 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7577 for ac_header in X11/Xlib.h
7579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7581 echo "$as_me:$LINENO: checking for $ac_header" >&5
7582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7584 echo $ECHO_N "(cached) $ECHO_C" >&6
7586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7589 # Is the header compilable?
7590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7592 cat >conftest.$ac_ext <<_ACEOF
7595 cat confdefs.h >>conftest.$ac_ext
7596 cat >>conftest.$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7598 $ac_includes_default
7599 #include <$ac_header>
7601 rm -f conftest.$ac_objext
7602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7603 (eval $ac_compile) 2>conftest.er1
7605 grep -v '^ *+' conftest.er1 >conftest.err
7607 cat conftest.err >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); } &&
7610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; } &&
7616 { ac_try='test -s conftest.$ac_objext'
7617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); }; }; then
7622 ac_header_compiler=yes
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.$ac_ext >&5
7627 ac_header_compiler=no
7629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7631 echo "${ECHO_T}$ac_header_compiler" >&6
7633 # Is the header present?
7634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7636 cat >conftest.$ac_ext <<_ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7642 #include <$ac_header>
7644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7647 grep -v '^ *+' conftest.er1 >conftest.err
7649 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } >/dev/null; then
7652 if test -s conftest.err; then
7653 ac_cpp_err=$ac_c_preproc_warn_flag
7654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7661 if test -z "$ac_cpp_err"; then
7662 ac_header_preproc=yes
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.$ac_ext >&5
7667 ac_header_preproc=no
7669 rm -f conftest.err conftest.$ac_ext
7670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7671 echo "${ECHO_T}$ac_header_preproc" >&6
7673 # So? What about this header?
7674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7680 ac_header_preproc=yes
7683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7697 ## ------------------------------------ ##
7698 ## Report this to wine-devel@winehq.org ##
7699 ## ------------------------------------ ##
7702 sed "s/^/$as_me: WARNING: /" >&2
7705 echo "$as_me:$LINENO: checking for $ac_header" >&5
7706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 eval "$as_ac_Header=\$ac_header_preproc"
7712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7717 cat >>confdefs.h <<_ACEOF
7718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7731 for ac_header in X11/XKBlib.h \
7733 X11/extensions/shape.h \
7734 X11/extensions/XInput.h \
7735 X11/extensions/XShm.h \
7736 X11/extensions/Xrandr.h \
7737 X11/extensions/Xrender.h \
7738 X11/extensions/Xvlib.h \
7739 X11/extensions/xf86dga.h \
7740 X11/extensions/xf86vmode.h
7742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7743 echo "$as_me:$LINENO: checking for $ac_header" >&5
7744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 cat >conftest.$ac_ext <<_ACEOF
7751 cat confdefs.h >>conftest.$ac_ext
7752 cat >>conftest.$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7754 #include <X11/Xlib.h>
7755 #ifdef HAVE_X11_XUTIL_H
7756 # include <X11/Xutil.h>
7759 #include <$ac_header>
7761 rm -f conftest.$ac_objext
7762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7763 (eval $ac_compile) 2>conftest.er1
7765 grep -v '^ *+' conftest.er1 >conftest.err
7767 cat conftest.err >&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); } &&
7770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); }; } &&
7776 { ac_try='test -s conftest.$ac_objext'
7777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); }; }; then
7782 eval "$as_ac_Header=yes"
7784 echo "$as_me: failed program was:" >&5
7785 sed 's/^/| /' conftest.$ac_ext >&5
7787 eval "$as_ac_Header=no"
7789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7794 cat >>confdefs.h <<_ACEOF
7795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7803 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7805 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7806 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7807 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7808 echo $ECHO_N "(cached) $ECHO_C" >&6
7810 ac_check_lib_save_LIBS=$LIBS
7811 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7812 cat >conftest.$ac_ext <<_ACEOF
7815 cat confdefs.h >>conftest.$ac_ext
7816 cat >>conftest.$ac_ext <<_ACEOF
7817 /* end confdefs.h. */
7819 /* Override any gcc2 internal prototype to avoid an error. */
7823 /* We use char because int might match the return type of a gcc2
7824 builtin and then its argument prototype would still apply. */
7825 char XkbQueryExtension ();
7829 XkbQueryExtension ();
7834 rm -f conftest.$ac_objext conftest$ac_exeext
7835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7836 (eval $ac_link) 2>conftest.er1
7838 grep -v '^ *+' conftest.er1 >conftest.err
7840 cat conftest.err >&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); } &&
7843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); }; } &&
7849 { ac_try='test -s conftest$ac_exeext'
7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); }; }; then
7855 ac_cv_lib_X11_XkbQueryExtension=yes
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.$ac_ext >&5
7860 ac_cv_lib_X11_XkbQueryExtension=no
7862 rm -f conftest.err conftest.$ac_objext \
7863 conftest$ac_exeext conftest.$ac_ext
7864 LIBS=$ac_check_lib_save_LIBS
7866 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7867 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7868 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7870 cat >>confdefs.h <<\_ACEOF
7878 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7880 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7881 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7882 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 ac_check_lib_save_LIBS=$LIBS
7886 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7887 cat >conftest.$ac_ext <<_ACEOF
7890 cat confdefs.h >>conftest.$ac_ext
7891 cat >>conftest.$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7894 /* Override any gcc2 internal prototype to avoid an error. */
7898 /* We use char because int might match the return type of a gcc2
7899 builtin and then its argument prototype would still apply. */
7900 char XShmQueryExtension ();
7904 XShmQueryExtension ();
7909 rm -f conftest.$ac_objext conftest$ac_exeext
7910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7911 (eval $ac_link) 2>conftest.er1
7913 grep -v '^ *+' conftest.er1 >conftest.err
7915 cat conftest.err >&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); } &&
7918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 (exit $ac_status); }; } &&
7924 { ac_try='test -s conftest$ac_exeext'
7925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); }; }; then
7930 ac_cv_lib_Xext_XShmQueryExtension=yes
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.$ac_ext >&5
7935 ac_cv_lib_Xext_XShmQueryExtension=no
7937 rm -f conftest.err conftest.$ac_objext \
7938 conftest$ac_exeext conftest.$ac_ext
7939 LIBS=$ac_check_lib_save_LIBS
7941 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7942 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7943 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7945 cat >>confdefs.h <<\_ACEOF
7946 #define HAVE_LIBXXSHM 1
7953 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7955 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7956 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7957 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7960 ac_check_lib_save_LIBS=$LIBS
7961 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7962 cat >conftest.$ac_ext <<_ACEOF
7965 cat confdefs.h >>conftest.$ac_ext
7966 cat >>conftest.$ac_ext <<_ACEOF
7967 /* end confdefs.h. */
7969 /* Override any gcc2 internal prototype to avoid an error. */
7973 /* We use char because int might match the return type of a gcc2
7974 builtin and then its argument prototype would still apply. */
7975 char XShapeQueryExtension ();
7979 XShapeQueryExtension ();
7984 rm -f conftest.$ac_objext conftest$ac_exeext
7985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7986 (eval $ac_link) 2>conftest.er1
7988 grep -v '^ *+' conftest.er1 >conftest.err
7990 cat conftest.err >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); } &&
7993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; } &&
7999 { ac_try='test -s conftest$ac_exeext'
8000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }; }; then
8005 ac_cv_lib_Xext_XShapeQueryExtension=yes
8007 echo "$as_me: failed program was:" >&5
8008 sed 's/^/| /' conftest.$ac_ext >&5
8010 ac_cv_lib_Xext_XShapeQueryExtension=no
8012 rm -f conftest.err conftest.$ac_objext \
8013 conftest$ac_exeext conftest.$ac_ext
8014 LIBS=$ac_check_lib_save_LIBS
8016 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8017 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8018 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8020 cat >>confdefs.h <<\_ACEOF
8021 #define HAVE_LIBXSHAPE 1
8028 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8030 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8031 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8032 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 ac_check_lib_save_LIBS=$LIBS
8036 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8037 cat >conftest.$ac_ext <<_ACEOF
8040 cat confdefs.h >>conftest.$ac_ext
8041 cat >>conftest.$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8044 /* Override any gcc2 internal prototype to avoid an error. */
8048 /* We use char because int might match the return type of a gcc2
8049 builtin and then its argument prototype would still apply. */
8050 char XDGAQueryExtension ();
8054 XDGAQueryExtension ();
8059 rm -f conftest.$ac_objext conftest$ac_exeext
8060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8061 (eval $ac_link) 2>conftest.er1
8063 grep -v '^ *+' conftest.er1 >conftest.err
8065 cat conftest.err >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); } &&
8068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; } &&
8074 { ac_try='test -s conftest$ac_exeext'
8075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); }; }; then
8080 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8085 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
8087 rm -f conftest.err conftest.$ac_objext \
8088 conftest$ac_exeext conftest.$ac_ext
8089 LIBS=$ac_check_lib_save_LIBS
8091 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8092 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8093 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8095 cat >>confdefs.h <<\_ACEOF
8096 #define HAVE_LIBXXF86DGA2 1
8099 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8102 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
8103 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8104 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 ac_check_lib_save_LIBS=$LIBS
8108 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
8110 cat >conftest.$ac_ext <<_ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8117 /* Override any gcc2 internal prototype to avoid an error. */
8121 /* We use char because int might match the return type of a gcc2
8122 builtin and then its argument prototype would still apply. */
8123 char XF86DGAQueryExtension ();
8127 XF86DGAQueryExtension ();
8132 rm -f conftest.$ac_objext conftest$ac_exeext
8133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8134 (eval $ac_link) 2>conftest.er1
8136 grep -v '^ *+' conftest.er1 >conftest.err
8138 cat conftest.err >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } &&
8141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; } &&
8147 { ac_try='test -s conftest$ac_exeext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=yes
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.$ac_ext >&5
8158 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension=no
8160 rm -f conftest.err conftest.$ac_objext \
8161 conftest$ac_exeext conftest.$ac_ext
8162 LIBS=$ac_check_lib_save_LIBS
8164 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
8165 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
8166 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
8168 cat >>confdefs.h <<\_ACEOF
8169 #define HAVE_LIBXXF86DGA 1
8172 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8181 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8183 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8184 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8185 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 ac_check_lib_save_LIBS=$LIBS
8189 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8190 cat >conftest.$ac_ext <<_ACEOF
8193 cat confdefs.h >>conftest.$ac_ext
8194 cat >>conftest.$ac_ext <<_ACEOF
8195 /* end confdefs.h. */
8197 /* Override any gcc2 internal prototype to avoid an error. */
8201 /* We use char because int might match the return type of a gcc2
8202 builtin and then its argument prototype would still apply. */
8203 char XF86VidModeQueryExtension ();
8207 XF86VidModeQueryExtension ();
8212 rm -f conftest.$ac_objext conftest$ac_exeext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 (eval $ac_link) 2>conftest.er1
8216 grep -v '^ *+' conftest.er1 >conftest.err
8218 cat conftest.err >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; } &&
8227 { ac_try='test -s conftest$ac_exeext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8240 rm -f conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 LIBS=$ac_check_lib_save_LIBS
8244 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8245 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8246 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8248 cat >>confdefs.h <<\_ACEOF
8249 #define HAVE_LIBXXF86VM 1
8252 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8258 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8260 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
8261 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
8262 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 ac_check_lib_save_LIBS=$LIBS
8266 LIBS="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8267 cat >conftest.$ac_ext <<_ACEOF
8270 cat confdefs.h >>conftest.$ac_ext
8271 cat >>conftest.$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8274 /* Override any gcc2 internal prototype to avoid an error. */
8278 /* We use char because int might match the return type of a gcc2
8279 builtin and then its argument prototype would still apply. */
8280 char XRRSetScreenConfigAndRate ();
8284 XRRSetScreenConfigAndRate ();
8289 rm -f conftest.$ac_objext conftest$ac_exeext
8290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8291 (eval $ac_link) 2>conftest.er1
8293 grep -v '^ *+' conftest.er1 >conftest.err
8295 cat conftest.err >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } &&
8298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; } &&
8304 { ac_try='test -s conftest$ac_exeext'
8305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); }; }; then
8310 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=yes
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.$ac_ext >&5
8315 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate=no
8317 rm -f conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 LIBS=$ac_check_lib_save_LIBS
8321 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
8322 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
8323 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
8325 cat >>confdefs.h <<\_ACEOF
8326 #define HAVE_LIBXRANDR 1
8329 X_PRE_LIBS="$X_PRE_LIBS -lXrandr -lXrender"
8335 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8337 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8338 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8339 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 ac_check_lib_save_LIBS=$LIBS
8343 LIBS="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8344 cat >conftest.$ac_ext <<_ACEOF
8347 cat confdefs.h >>conftest.$ac_ext
8348 cat >>conftest.$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8351 /* Override any gcc2 internal prototype to avoid an error. */
8355 /* We use char because int might match the return type of a gcc2
8356 builtin and then its argument prototype would still apply. */
8357 char XvShmCreateImage ();
8361 XvShmCreateImage ();
8366 rm -f conftest.$ac_objext conftest$ac_exeext
8367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8368 (eval $ac_link) 2>conftest.er1
8370 grep -v '^ *+' conftest.er1 >conftest.err
8372 cat conftest.err >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } &&
8375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; } &&
8381 { ac_try='test -s conftest$ac_exeext'
8382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 ac_cv_lib_Xv_XvShmCreateImage=yes
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 ac_cv_lib_Xv_XvShmCreateImage=no
8394 rm -f conftest.err conftest.$ac_objext \
8395 conftest$ac_exeext conftest.$ac_ext
8396 LIBS=$ac_check_lib_save_LIBS
8398 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8399 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8400 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8402 cat >>confdefs.h <<\_ACEOF
8403 #define HAVE_XVIDEO 1
8406 X_PRE_LIBS="$X_PRE_LIBS -lXv"
8417 if test "x$with_opengl" != "xno"
8419 if test -f /usr/X11R6/lib/libGL.a -a ! -f /usr/X11R6/lib/libGL.so
8421 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8422 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8423 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8424 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8425 { (exit 1); exit 1; }; }
8430 for ac_header in GL/gl.h GL/glx.h
8432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8434 echo "$as_me:$LINENO: checking for $ac_header" >&5
8435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6
8439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8442 # Is the header compilable?
8443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8445 cat >conftest.$ac_ext <<_ACEOF
8448 cat confdefs.h >>conftest.$ac_ext
8449 cat >>conftest.$ac_ext <<_ACEOF
8450 /* end confdefs.h. */
8451 $ac_includes_default
8452 #include <$ac_header>
8454 rm -f conftest.$ac_objext
8455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8456 (eval $ac_compile) 2>conftest.er1
8458 grep -v '^ *+' conftest.er1 >conftest.err
8460 cat conftest.err >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); } &&
8463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; } &&
8469 { ac_try='test -s conftest.$ac_objext'
8470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); }; }; then
8475 ac_header_compiler=yes
8477 echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.$ac_ext >&5
8480 ac_header_compiler=no
8482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8484 echo "${ECHO_T}$ac_header_compiler" >&6
8486 # Is the header present?
8487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8489 cat >conftest.$ac_ext <<_ACEOF
8492 cat confdefs.h >>conftest.$ac_ext
8493 cat >>conftest.$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8495 #include <$ac_header>
8497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8500 grep -v '^ *+' conftest.er1 >conftest.err
8502 cat conftest.err >&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); } >/dev/null; then
8505 if test -s conftest.err; then
8506 ac_cpp_err=$ac_c_preproc_warn_flag
8507 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8514 if test -z "$ac_cpp_err"; then
8515 ac_header_preproc=yes
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.$ac_ext >&5
8520 ac_header_preproc=no
8522 rm -f conftest.err conftest.$ac_ext
8523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8524 echo "${ECHO_T}$ac_header_preproc" >&6
8526 # So? What about this header?
8527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8533 ac_header_preproc=yes
8536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8550 ## ------------------------------------ ##
8551 ## Report this to wine-devel@winehq.org ##
8552 ## ------------------------------------ ##
8555 sed "s/^/$as_me: WARNING: /" >&2
8558 echo "$as_me:$LINENO: checking for $ac_header" >&5
8559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8561 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 eval "$as_ac_Header=\$ac_header_preproc"
8565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8570 cat >>confdefs.h <<_ACEOF
8571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8578 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8581 for ac_header in GL/glext.h
8583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8584 echo "$as_me:$LINENO: checking for $ac_header" >&5
8585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 cat >conftest.$ac_ext <<_ACEOF
8592 cat confdefs.h >>conftest.$ac_ext
8593 cat >>conftest.$ac_ext <<_ACEOF
8594 /* end confdefs.h. */
8597 #include <$ac_header>
8599 rm -f conftest.$ac_objext
8600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8601 (eval $ac_compile) 2>conftest.er1
8603 grep -v '^ *+' conftest.er1 >conftest.err
8605 cat conftest.err >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 eval "$as_ac_Header=yes"
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8625 eval "$as_ac_Header=no"
8627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8632 cat >>confdefs.h <<_ACEOF
8633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8640 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8641 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8642 if test "${wine_cv_opengl_version_OK+set}" = set; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8645 cat >conftest.$ac_ext <<_ACEOF
8648 cat confdefs.h >>conftest.$ac_ext
8649 cat >>conftest.$ac_ext <<_ACEOF
8650 /* end confdefs.h. */
8655 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8660 rm -f conftest.$ac_objext
8661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8662 (eval $ac_compile) 2>conftest.er1
8664 grep -v '^ *+' conftest.er1 >conftest.err
8666 cat conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } &&
8669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; } &&
8675 { ac_try='test -s conftest.$ac_objext'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; }; then
8681 wine_cv_opengl_version_OK="yes"
8683 echo "$as_me: failed program was:" >&5
8684 sed 's/^/| /' conftest.$ac_ext >&5
8686 wine_cv_opengl_version_OK="no"
8689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8692 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8693 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8695 if test "$wine_cv_opengl_version_OK" = "yes"
8697 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8698 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8699 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 ac_check_lib_save_LIBS=$LIBS
8703 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8704 cat >conftest.$ac_ext <<_ACEOF
8707 cat confdefs.h >>conftest.$ac_ext
8708 cat >>conftest.$ac_ext <<_ACEOF
8709 /* end confdefs.h. */
8711 /* Override any gcc2 internal prototype to avoid an error. */
8715 /* We use char because int might match the return type of a gcc2
8716 builtin and then its argument prototype would still apply. */
8717 char glXCreateContext ();
8721 glXCreateContext ();
8726 rm -f conftest.$ac_objext conftest$ac_exeext
8727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8728 (eval $ac_link) 2>conftest.er1
8730 grep -v '^ *+' conftest.er1 >conftest.err
8732 cat conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } &&
8735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); }; } &&
8741 { ac_try='test -s conftest$ac_exeext'
8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; }; then
8747 ac_cv_lib_GL_glXCreateContext=yes
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.$ac_ext >&5
8752 ac_cv_lib_GL_glXCreateContext=no
8754 rm -f conftest.err conftest.$ac_objext \
8755 conftest$ac_exeext conftest.$ac_ext
8756 LIBS=$ac_check_lib_save_LIBS
8758 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8759 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8760 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8766 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8768 OPENGLFILES='$(OPENGLFILES)'
8770 cat >>confdefs.h <<\_ACEOF
8771 #define HAVE_OPENGL 1
8775 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8776 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8777 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 ac_check_lib_save_LIBS=$LIBS
8781 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8782 cat >conftest.$ac_ext <<_ACEOF
8785 cat confdefs.h >>conftest.$ac_ext
8786 cat >>conftest.$ac_ext <<_ACEOF
8787 /* end confdefs.h. */
8789 /* Override any gcc2 internal prototype to avoid an error. */
8793 /* We use char because int might match the return type of a gcc2
8794 builtin and then its argument prototype would still apply. */
8795 char glXGetProcAddressARB ();
8799 glXGetProcAddressARB ();
8804 rm -f conftest.$ac_objext conftest$ac_exeext
8805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8806 (eval $ac_link) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1 >conftest.err
8810 cat conftest.err >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; } &&
8819 { ac_try='test -s conftest$ac_exeext'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; }; then
8825 ac_cv_lib_GL_glXGetProcAddressARB=yes
8827 echo "$as_me: failed program was:" >&5
8828 sed 's/^/| /' conftest.$ac_ext >&5
8830 ac_cv_lib_GL_glXGetProcAddressARB=no
8832 rm -f conftest.err conftest.$ac_objext \
8833 conftest$ac_exeext conftest.$ac_ext
8834 LIBS=$ac_check_lib_save_LIBS
8836 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8837 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8838 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8840 cat >>confdefs.h <<\_ACEOF
8841 #define HAVE_GLX_GETPROCADDRESS 1
8847 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8849 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8850 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8851 if test "${wine_cv_extension_prototypes+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 cat >conftest.$ac_ext <<_ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8861 #ifdef HAVE_GL_GLEXT_H
8862 # include <GL/glext.h>
8868 PFNGLCOLORTABLEEXTPROC test_proc;
8873 rm -f conftest.$ac_objext
8874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8875 (eval $ac_compile) 2>conftest.er1
8877 grep -v '^ *+' conftest.er1 >conftest.err
8879 cat conftest.err >&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); } &&
8882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); }; } &&
8888 { ac_try='test -s conftest.$ac_objext'
8889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); }; }; then
8894 wine_cv_extension_prototypes="yes"
8896 echo "$as_me: failed program was:" >&5
8897 sed 's/^/| /' conftest.$ac_ext >&5
8899 wine_cv_extension_prototypes="no"
8902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8905 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8906 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8907 if test "$wine_cv_extension_prototypes" = "yes"
8910 cat >>confdefs.h <<\_ACEOF
8911 #define HAVE_GLEXT_PROTOTYPES 1
8918 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8919 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8920 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8923 ac_check_lib_save_LIBS=$LIBS
8924 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8926 cat >conftest.$ac_ext <<_ACEOF
8929 cat confdefs.h >>conftest.$ac_ext
8930 cat >>conftest.$ac_ext <<_ACEOF
8931 /* end confdefs.h. */
8933 /* Override any gcc2 internal prototype to avoid an error. */
8937 /* We use char because int might match the return type of a gcc2
8938 builtin and then its argument prototype would still apply. */
8948 rm -f conftest.$ac_objext conftest$ac_exeext
8949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8950 (eval $ac_link) 2>conftest.er1
8952 grep -v '^ *+' conftest.er1 >conftest.err
8954 cat conftest.err >&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); } &&
8957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); }; } &&
8963 { ac_try='test -s conftest$ac_exeext'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; }; then
8969 ac_cv_lib_GLU_gluLookAt=yes
8971 echo "$as_me: failed program was:" >&5
8972 sed 's/^/| /' conftest.$ac_ext >&5
8974 ac_cv_lib_GLU_gluLookAt=no
8976 rm -f conftest.err conftest.$ac_objext \
8977 conftest$ac_exeext conftest.$ac_ext
8978 LIBS=$ac_check_lib_save_LIBS
8980 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8981 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8982 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8983 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8984 GLU32FILES='$(GLU32FILES)'
8990 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8991 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8992 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 ac_check_lib_save_LIBS=$LIBS
8996 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8997 cat >conftest.$ac_ext <<_ACEOF
9000 cat confdefs.h >>conftest.$ac_ext
9001 cat >>conftest.$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9004 /* Override any gcc2 internal prototype to avoid an error. */
9008 /* We use char because int might match the return type of a gcc2
9009 builtin and then its argument prototype would still apply. */
9010 char glutMainLoop ();
9019 rm -f conftest.$ac_objext conftest$ac_exeext
9020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9021 (eval $ac_link) 2>conftest.er1
9023 grep -v '^ *+' conftest.er1 >conftest.err
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } &&
9028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); }; } &&
9034 { ac_try='test -s conftest$ac_exeext'
9035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }; }; then
9040 ac_cv_lib_glut_glutMainLoop=yes
9042 echo "$as_me: failed program was:" >&5
9043 sed 's/^/| /' conftest.$ac_ext >&5
9045 ac_cv_lib_glut_glutMainLoop=no
9047 rm -f conftest.err conftest.$ac_objext \
9048 conftest$ac_exeext conftest.$ac_ext
9049 LIBS=$ac_check_lib_save_LIBS
9051 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9052 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9053 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9054 GLUT_LIBS="-lglut -lXmu -lXi"
9056 GLUT32FILES='$(GLUT32FILES)'
9066 for ac_header in audio/audiolib.h
9068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9070 echo "$as_me:$LINENO: checking for $ac_header" >&5
9071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9078 # Is the header compilable?
9079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9081 cat >conftest.$ac_ext <<_ACEOF
9084 cat confdefs.h >>conftest.$ac_ext
9085 cat >>conftest.$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9087 $ac_includes_default
9088 #include <$ac_header>
9090 rm -f conftest.$ac_objext
9091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9092 (eval $ac_compile) 2>conftest.er1
9094 grep -v '^ *+' conftest.er1 >conftest.err
9096 cat conftest.err >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); } &&
9099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; } &&
9105 { ac_try='test -s conftest.$ac_objext'
9106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then
9111 ac_header_compiler=yes
9113 echo "$as_me: failed program was:" >&5
9114 sed 's/^/| /' conftest.$ac_ext >&5
9116 ac_header_compiler=no
9118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9120 echo "${ECHO_T}$ac_header_compiler" >&6
9122 # Is the header present?
9123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9125 cat >conftest.$ac_ext <<_ACEOF
9128 cat confdefs.h >>conftest.$ac_ext
9129 cat >>conftest.$ac_ext <<_ACEOF
9130 /* end confdefs.h. */
9131 #include <$ac_header>
9133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9136 grep -v '^ *+' conftest.er1 >conftest.err
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } >/dev/null; then
9141 if test -s conftest.err; then
9142 ac_cpp_err=$ac_c_preproc_warn_flag
9143 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9150 if test -z "$ac_cpp_err"; then
9151 ac_header_preproc=yes
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.$ac_ext >&5
9156 ac_header_preproc=no
9158 rm -f conftest.err conftest.$ac_ext
9159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9160 echo "${ECHO_T}$ac_header_preproc" >&6
9162 # So? What about this header?
9163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9169 ac_header_preproc=yes
9172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9186 ## ------------------------------------ ##
9187 ## Report this to wine-devel@winehq.org ##
9188 ## ------------------------------------ ##
9191 sed "s/^/$as_me: WARNING: /" >&2
9194 echo "$as_me:$LINENO: checking for $ac_header" >&5
9195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 eval "$as_ac_Header=\$ac_header_preproc"
9201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9206 cat >>confdefs.h <<_ACEOF
9207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9210 for ac_header in audio/soundlib.h
9212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9213 echo "$as_me:$LINENO: checking for $ac_header" >&5
9214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 cat >conftest.$ac_ext <<_ACEOF
9221 cat confdefs.h >>conftest.$ac_ext
9222 cat >>conftest.$ac_ext <<_ACEOF
9223 /* end confdefs.h. */
9224 #include <audio/audiolib.h>
9226 #include <$ac_header>
9228 rm -f conftest.$ac_objext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9230 (eval $ac_compile) 2>conftest.er1
9232 grep -v '^ *+' conftest.er1 >conftest.err
9234 cat conftest.err >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); }; } &&
9243 { ac_try='test -s conftest.$ac_objext'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; }; then
9249 eval "$as_ac_Header=yes"
9251 echo "$as_me: failed program was:" >&5
9252 sed 's/^/| /' conftest.$ac_ext >&5
9254 eval "$as_ac_Header=no"
9256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9261 cat >>confdefs.h <<_ACEOF
9262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9269 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9270 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9271 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9272 echo $ECHO_N "(cached) $ECHO_C" >&6
9274 ac_check_lib_save_LIBS=$LIBS
9275 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9276 cat >conftest.$ac_ext <<_ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9283 /* Override any gcc2 internal prototype to avoid an error. */
9287 /* We use char because int might match the return type of a gcc2
9288 builtin and then its argument prototype would still apply. */
9289 char AuCreateFlow ();
9298 rm -f conftest.$ac_objext conftest$ac_exeext
9299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9300 (eval $ac_link) 2>conftest.er1
9302 grep -v '^ *+' conftest.er1 >conftest.err
9304 cat conftest.err >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); } &&
9307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; } &&
9313 { ac_try='test -s conftest$ac_exeext'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; }; then
9319 ac_cv_lib_audio_AuCreateFlow=yes
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.$ac_ext >&5
9324 ac_cv_lib_audio_AuCreateFlow=no
9326 rm -f conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 LIBS=$ac_check_lib_save_LIBS
9330 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9331 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9332 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9334 cat >>confdefs.h <<\_ACEOF
9338 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9346 CPPFLAGS="$ac_save_CPPFLAGS"
9355 if test "x$with_curses" != "xno"
9358 for ac_header in ncurses.h
9360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9362 echo "$as_me:$LINENO: checking for $ac_header" >&5
9363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9365 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9370 # Is the header compilable?
9371 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9373 cat >conftest.$ac_ext <<_ACEOF
9376 cat confdefs.h >>conftest.$ac_ext
9377 cat >>conftest.$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9379 $ac_includes_default
9380 #include <$ac_header>
9382 rm -f conftest.$ac_objext
9383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9384 (eval $ac_compile) 2>conftest.er1
9386 grep -v '^ *+' conftest.er1 >conftest.err
9388 cat conftest.err >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } &&
9391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try='test -s conftest.$ac_objext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_header_compiler=yes
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.$ac_ext >&5
9408 ac_header_compiler=no
9410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9412 echo "${ECHO_T}$ac_header_compiler" >&6
9414 # Is the header present?
9415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9417 cat >conftest.$ac_ext <<_ACEOF
9420 cat confdefs.h >>conftest.$ac_ext
9421 cat >>conftest.$ac_ext <<_ACEOF
9422 /* end confdefs.h. */
9423 #include <$ac_header>
9425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9428 grep -v '^ *+' conftest.er1 >conftest.err
9430 cat conftest.err >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } >/dev/null; then
9433 if test -s conftest.err; then
9434 ac_cpp_err=$ac_c_preproc_warn_flag
9435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9442 if test -z "$ac_cpp_err"; then
9443 ac_header_preproc=yes
9445 echo "$as_me: failed program was:" >&5
9446 sed 's/^/| /' conftest.$ac_ext >&5
9448 ac_header_preproc=no
9450 rm -f conftest.err conftest.$ac_ext
9451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9452 echo "${ECHO_T}$ac_header_preproc" >&6
9454 # So? What about this header?
9455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9461 ac_header_preproc=yes
9464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9478 ## ------------------------------------ ##
9479 ## Report this to wine-devel@winehq.org ##
9480 ## ------------------------------------ ##
9483 sed "s/^/$as_me: WARNING: /" >&2
9486 echo "$as_me:$LINENO: checking for $ac_header" >&5
9487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9491 eval "$as_ac_Header=\$ac_header_preproc"
9493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9498 cat >>confdefs.h <<_ACEOF
9499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9501 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9502 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9503 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-lncurses $LIBS"
9508 cat >conftest.$ac_ext <<_ACEOF
9511 cat confdefs.h >>conftest.$ac_ext
9512 cat >>conftest.$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9515 /* Override any gcc2 internal prototype to avoid an error. */
9519 /* We use char because int might match the return type of a gcc2
9520 builtin and then its argument prototype would still apply. */
9530 rm -f conftest.$ac_objext conftest$ac_exeext
9531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9532 (eval $ac_link) 2>conftest.er1
9534 grep -v '^ *+' conftest.er1 >conftest.err
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } &&
9539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; } &&
9545 { ac_try='test -s conftest$ac_exeext'
9546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }; }; then
9551 ac_cv_lib_ncurses_waddch=yes
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.$ac_ext >&5
9556 ac_cv_lib_ncurses_waddch=no
9558 rm -f conftest.err conftest.$ac_objext \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_lib_save_LIBS
9562 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9563 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9564 if test $ac_cv_lib_ncurses_waddch = yes; then
9566 cat >>confdefs.h <<\_ACEOF
9567 #define HAVE_LIBNCURSES 1
9570 CURSESLIBS="-lncurses"
9573 for ac_header in curses.h
9575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9577 echo "$as_me:$LINENO: checking for $ac_header" >&5
9578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9585 # Is the header compilable?
9586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9588 cat >conftest.$ac_ext <<_ACEOF
9591 cat confdefs.h >>conftest.$ac_ext
9592 cat >>conftest.$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9594 $ac_includes_default
9595 #include <$ac_header>
9597 rm -f conftest.$ac_objext
9598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9599 (eval $ac_compile) 2>conftest.er1
9601 grep -v '^ *+' conftest.er1 >conftest.err
9603 cat conftest.err >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } &&
9606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); }; } &&
9612 { ac_try='test -s conftest.$ac_objext'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; }; then
9618 ac_header_compiler=yes
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.$ac_ext >&5
9623 ac_header_compiler=no
9625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9627 echo "${ECHO_T}$ac_header_compiler" >&6
9629 # Is the header present?
9630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9632 cat >conftest.$ac_ext <<_ACEOF
9635 cat confdefs.h >>conftest.$ac_ext
9636 cat >>conftest.$ac_ext <<_ACEOF
9637 /* end confdefs.h. */
9638 #include <$ac_header>
9640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9643 grep -v '^ *+' conftest.er1 >conftest.err
9645 cat conftest.err >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); } >/dev/null; then
9648 if test -s conftest.err; then
9649 ac_cpp_err=$ac_c_preproc_warn_flag
9650 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9657 if test -z "$ac_cpp_err"; then
9658 ac_header_preproc=yes
9660 echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.$ac_ext >&5
9663 ac_header_preproc=no
9665 rm -f conftest.err conftest.$ac_ext
9666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9667 echo "${ECHO_T}$ac_header_preproc" >&6
9669 # So? What about this header?
9670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9676 ac_header_preproc=yes
9679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9693 ## ------------------------------------ ##
9694 ## Report this to wine-devel@winehq.org ##
9695 ## ------------------------------------ ##
9698 sed "s/^/$as_me: WARNING: /" >&2
9701 echo "$as_me:$LINENO: checking for $ac_header" >&5
9702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9706 eval "$as_ac_Header=\$ac_header_preproc"
9708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9713 cat >>confdefs.h <<_ACEOF
9714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9716 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9717 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9718 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 ac_check_lib_save_LIBS=$LIBS
9722 LIBS="-lcurses $LIBS"
9723 cat >conftest.$ac_ext <<_ACEOF
9726 cat confdefs.h >>conftest.$ac_ext
9727 cat >>conftest.$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9730 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9745 rm -f conftest.$ac_objext conftest$ac_exeext
9746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9747 (eval $ac_link) 2>conftest.er1
9749 grep -v '^ *+' conftest.er1 >conftest.err
9751 cat conftest.err >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); } &&
9754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; } &&
9760 { ac_try='test -s conftest$ac_exeext'
9761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; }; then
9766 ac_cv_lib_curses_waddch=yes
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.$ac_ext >&5
9771 ac_cv_lib_curses_waddch=no
9773 rm -f conftest.err conftest.$ac_objext \
9774 conftest$ac_exeext conftest.$ac_ext
9775 LIBS=$ac_check_lib_save_LIBS
9777 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9778 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9779 if test $ac_cv_lib_curses_waddch = yes; then
9781 cat >>confdefs.h <<\_ACEOF
9782 #define HAVE_LIBCURSES 1
9785 CURSESLIBS="-lcurses"
9799 LIBS="$CURSESLIBS $LIBS"
9802 for ac_func in getbkgd resizeterm
9804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9805 echo "$as_me:$LINENO: checking for $ac_func" >&5
9806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9807 if eval "test \"\${$as_ac_var+set}\" = set"; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 cat >conftest.$ac_ext <<_ACEOF
9813 cat confdefs.h >>conftest.$ac_ext
9814 cat >>conftest.$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9818 #define $ac_func innocuous_$ac_func
9820 /* System header to define __stub macros and hopefully few prototypes,
9821 which can conflict with char $ac_func (); below.
9822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9823 <limits.h> exists even on freestanding compilers. */
9826 # include <limits.h>
9828 # include <assert.h>
9833 /* Override any gcc2 internal prototype to avoid an error. */
9838 /* We use char because int might match the return type of a gcc2
9839 builtin and then its argument prototype would still apply. */
9841 /* The GNU C library defines this for functions which it implements
9842 to always fail with ENOSYS. Some functions are actually named
9843 something starting with __ and the normal name is an alias. */
9844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9847 char (*f) () = $ac_func;
9856 return f != $ac_func;
9861 rm -f conftest.$ac_objext conftest$ac_exeext
9862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9863 (eval $ac_link) 2>conftest.er1
9865 grep -v '^ *+' conftest.er1 >conftest.err
9867 cat conftest.err >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } &&
9870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; } &&
9876 { ac_try='test -s conftest$ac_exeext'
9877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); }; }; then
9882 eval "$as_ac_var=yes"
9884 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.$ac_ext >&5
9887 eval "$as_ac_var=no"
9889 rm -f conftest.err conftest.$ac_objext \
9890 conftest$ac_exeext conftest.$ac_ext
9892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9894 if test `eval echo '${'$as_ac_var'}'` = yes; then
9895 cat >>confdefs.h <<_ACEOF
9896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9906 # Extract the first word of "sane-config", so it can be a program name with args.
9907 set dummy sane-config; ac_word=$2
9908 echo "$as_me:$LINENO: checking for $ac_word" >&5
9909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9910 if test "${ac_cv_prog_sane_devel+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 if test -n "$sane_devel"; then
9914 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9920 test -z "$as_dir" && as_dir=.
9921 for ac_exec_ext in '' $ac_executable_extensions; do
9922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9923 ac_cv_prog_sane_devel="sane-config"
9924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9930 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9933 sane_devel=$ac_cv_prog_sane_devel
9934 if test -n "$sane_devel"; then
9935 echo "$as_me:$LINENO: result: $sane_devel" >&5
9936 echo "${ECHO_T}$sane_devel" >&6
9938 echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6
9942 if test "$sane_devel" = "no"
9947 SANELIBS="`$sane_devel --libs`"
9948 SANEINCL="`$sane_devel --cflags`"
9949 ac_save_CPPFLAGS="$CPPFLAGS"
9950 ac_save_LIBS="$LIBS"
9951 CPPFLAGS="$CPPFLAGS $SANEINCL"
9952 LIBS="$LIBS $SANELIBS"
9953 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9954 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9955 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9956 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9960 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9962 # Is the header compilable?
9963 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9964 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9965 cat >conftest.$ac_ext <<_ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h. */
9971 $ac_includes_default
9972 #include <sane/sane.h>
9974 rm -f conftest.$ac_objext
9975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9976 (eval $ac_compile) 2>conftest.er1
9978 grep -v '^ *+' conftest.er1 >conftest.err
9980 cat conftest.err >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } &&
9983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; } &&
9989 { ac_try='test -s conftest.$ac_objext'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9995 ac_header_compiler=yes
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.$ac_ext >&5
10000 ac_header_compiler=no
10002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10004 echo "${ECHO_T}$ac_header_compiler" >&6
10006 # Is the header present?
10007 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10008 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
10009 cat >conftest.$ac_ext <<_ACEOF
10012 cat confdefs.h >>conftest.$ac_ext
10013 cat >>conftest.$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10015 #include <sane/sane.h>
10017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10020 grep -v '^ *+' conftest.er1 >conftest.err
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } >/dev/null; then
10025 if test -s conftest.err; then
10026 ac_cpp_err=$ac_c_preproc_warn_flag
10027 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10034 if test -z "$ac_cpp_err"; then
10035 ac_header_preproc=yes
10037 echo "$as_me: failed program was:" >&5
10038 sed 's/^/| /' conftest.$ac_ext >&5
10040 ac_header_preproc=no
10042 rm -f conftest.err conftest.$ac_ext
10043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10044 echo "${ECHO_T}$ac_header_preproc" >&6
10046 # So? What about this header?
10047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10049 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10050 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10051 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10052 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10053 ac_header_preproc=yes
10056 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10057 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10058 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10059 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10060 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10061 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10062 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10063 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10064 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10065 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10066 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10067 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10070 ## ------------------------------------ ##
10071 ## Report this to wine-devel@winehq.org ##
10072 ## ------------------------------------ ##
10075 sed "s/^/$as_me: WARNING: /" >&2
10078 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10079 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10080 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10081 echo $ECHO_N "(cached) $ECHO_C" >&6
10083 ac_cv_header_sane_sane_h=$ac_header_preproc
10085 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10086 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10089 if test $ac_cv_header_sane_sane_h = yes; then
10090 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10091 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10092 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 ac_check_lib_save_LIBS=$LIBS
10096 LIBS="-lsane $LIBS"
10097 cat >conftest.$ac_ext <<_ACEOF
10100 cat confdefs.h >>conftest.$ac_ext
10101 cat >>conftest.$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10104 /* Override any gcc2 internal prototype to avoid an error. */
10108 /* We use char because int might match the return type of a gcc2
10109 builtin and then its argument prototype would still apply. */
10119 rm -f conftest.$ac_objext conftest$ac_exeext
10120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10121 (eval $ac_link) 2>conftest.er1
10123 grep -v '^ *+' conftest.er1 >conftest.err
10125 cat conftest.err >&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } &&
10128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; } &&
10134 { ac_try='test -s conftest$ac_exeext'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; }; then
10140 ac_cv_lib_sane_sane_open=yes
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10145 ac_cv_lib_sane_sane_open=no
10147 rm -f conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 LIBS=$ac_check_lib_save_LIBS
10151 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10152 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10153 if test $ac_cv_lib_sane_sane_open = yes; then
10155 cat >>confdefs.h <<\_ACEOF
10156 #define HAVE_SANE 1
10170 LIBS="$ac_save_LIBS"
10171 CPPFLAGS="$ac_save_CPPFLAGS"
10177 for ac_header in unicode/ubidi.h
10179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10181 echo "$as_me:$LINENO: checking for $ac_header" >&5
10182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10184 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10189 # Is the header compilable?
10190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10192 cat >conftest.$ac_ext <<_ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10198 $ac_includes_default
10199 #include <$ac_header>
10201 rm -f conftest.$ac_objext
10202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10203 (eval $ac_compile) 2>conftest.er1
10205 grep -v '^ *+' conftest.er1 >conftest.err
10207 cat conftest.err >&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); } &&
10210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212 (eval $ac_try) 2>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); }; } &&
10216 { ac_try='test -s conftest.$ac_objext'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; }; then
10222 ac_header_compiler=yes
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10227 ac_header_compiler=no
10229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10231 echo "${ECHO_T}$ac_header_compiler" >&6
10233 # Is the header present?
10234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10236 cat >conftest.$ac_ext <<_ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10242 #include <$ac_header>
10244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10247 grep -v '^ *+' conftest.er1 >conftest.err
10249 cat conftest.err >&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } >/dev/null; then
10252 if test -s conftest.err; then
10253 ac_cpp_err=$ac_c_preproc_warn_flag
10254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10261 if test -z "$ac_cpp_err"; then
10262 ac_header_preproc=yes
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10267 ac_header_preproc=no
10269 rm -f conftest.err conftest.$ac_ext
10270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10271 echo "${ECHO_T}$ac_header_preproc" >&6
10273 # So? What about this header?
10274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10280 ac_header_preproc=yes
10283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10297 ## ------------------------------------ ##
10298 ## Report this to wine-devel@winehq.org ##
10299 ## ------------------------------------ ##
10302 sed "s/^/$as_me: WARNING: /" >&2
10305 echo "$as_me:$LINENO: checking for $ac_header" >&5
10306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 eval "$as_ac_Header=\$ac_header_preproc"
10312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10317 cat >>confdefs.h <<_ACEOF
10318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10325 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10328 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
10329 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10330 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10331 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10332 cat >conftest.$ac_ext <<_ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10338 #include <unicode/ubidi.h>
10347 rm -f conftest.$ac_objext conftest$ac_exeext
10348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10349 (eval $ac_link) 2>conftest.er1
10351 grep -v '^ *+' conftest.er1 >conftest.err
10353 cat conftest.err >&5
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); } &&
10356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10358 (eval $ac_try) 2>&5
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); }; } &&
10362 { ac_try='test -s conftest$ac_exeext'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; }; then
10369 cat >>confdefs.h <<\_ACEOF
10373 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10380 rm -f conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10385 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10386 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10387 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 ac_check_lib_save_LIBS=$LIBS
10391 LIBS="-lfreetype $X_LIBS $LIBS"
10392 cat >conftest.$ac_ext <<_ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10399 /* Override any gcc2 internal prototype to avoid an error. */
10403 /* We use char because int might match the return type of a gcc2
10404 builtin and then its argument prototype would still apply. */
10405 char FT_Init_FreeType ();
10409 FT_Init_FreeType ();
10414 rm -f conftest.$ac_objext conftest$ac_exeext
10415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10416 (eval $ac_link) 2>conftest.er1
10418 grep -v '^ *+' conftest.er1 >conftest.err
10420 cat conftest.err >&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } &&
10423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; } &&
10429 { ac_try='test -s conftest$ac_exeext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10435 ac_cv_lib_freetype_FT_Init_FreeType=yes
10437 echo "$as_me: failed program was:" >&5
10438 sed 's/^/| /' conftest.$ac_ext >&5
10440 ac_cv_lib_freetype_FT_Init_FreeType=no
10442 rm -f conftest.err conftest.$ac_objext \
10443 conftest$ac_exeext conftest.$ac_ext
10444 LIBS=$ac_check_lib_save_LIBS
10446 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10447 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10448 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10454 if test "$ft_lib" = "no"
10457 wine_cv_msg_freetype=no
10459 # Extract the first word of "freetype-config", so it can be a program name with args.
10460 set dummy freetype-config; ac_word=$2
10461 echo "$as_me:$LINENO: checking for $ac_word" >&5
10462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10463 if test "${ac_cv_prog_ft_devel+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 if test -n "$ft_devel"; then
10467 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10473 test -z "$as_dir" && as_dir=.
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10476 ac_cv_prog_ft_devel="freetype-config"
10477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10483 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10486 ft_devel=$ac_cv_prog_ft_devel
10487 if test -n "$ft_devel"; then
10488 echo "$as_me:$LINENO: result: $ft_devel" >&5
10489 echo "${ECHO_T}$ft_devel" >&6
10491 echo "$as_me:$LINENO: result: no" >&5
10492 echo "${ECHO_T}no" >&6
10495 if test "$ft_devel" = "no"
10497 # Extract the first word of "freetype2-config", so it can be a program name with args.
10498 set dummy freetype2-config; ac_word=$2
10499 echo "$as_me:$LINENO: checking for $ac_word" >&5
10500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10501 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 if test -n "$ft_devel2"; then
10505 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10508 for as_dir in $PATH
10511 test -z "$as_dir" && as_dir=.
10512 for ac_exec_ext in '' $ac_executable_extensions; do
10513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10514 ac_cv_prog_ft_devel2="freetype2-config"
10515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10521 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10524 ft_devel2=$ac_cv_prog_ft_devel2
10525 if test -n "$ft_devel2"; then
10526 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10527 echo "${ECHO_T}$ft_devel2" >&6
10529 echo "$as_me:$LINENO: result: no" >&5
10530 echo "${ECHO_T}no" >&6
10533 if test "$ft_devel2" = "freetype2-config"
10535 ft_devel=$ft_devel2
10538 if test "$ft_devel" = "no"
10541 wine_cv_msg_freetype=yes
10543 FREETYPEINCL=`$ft_devel --cflags`
10544 ac_save_CPPFLAGS="$CPPFLAGS"
10545 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10555 for ac_header in ft2build.h \
10556 freetype/freetype.h \
10557 freetype/ftglyph.h \
10558 freetype/tttables.h \
10559 freetype/ftnames.h \
10560 freetype/ftsnames.h \
10561 freetype/ttnameid.h \
10562 freetype/ftoutln.h \
10563 freetype/internal/sfnt.h
10565 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10566 echo "$as_me:$LINENO: checking for $ac_header" >&5
10567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10569 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 cat >conftest.$ac_ext <<_ACEOF
10574 cat confdefs.h >>conftest.$ac_ext
10575 cat >>conftest.$ac_ext <<_ACEOF
10576 /* end confdefs.h. */
10577 #if HAVE_FT2BUILD_H
10578 #include <ft2build.h>
10581 #include <$ac_header>
10583 rm -f conftest.$ac_objext
10584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10585 (eval $ac_compile) 2>conftest.er1
10587 grep -v '^ *+' conftest.er1 >conftest.err
10589 cat conftest.err >&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); } &&
10592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; } &&
10598 { ac_try='test -s conftest.$ac_objext'
10599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10600 (eval $ac_try) 2>&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); }; }; then
10604 eval "$as_ac_Header=yes"
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10609 eval "$as_ac_Header=no"
10611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10616 cat >>confdefs.h <<_ACEOF
10617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10624 cat >conftest.$ac_ext <<_ACEOF
10627 cat confdefs.h >>conftest.$ac_ext
10628 cat >>conftest.$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10630 #include <ft2build.h>
10631 #include <freetype/fttrigon.h>
10633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10636 grep -v '^ *+' conftest.er1 >conftest.err
10638 cat conftest.err >&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } >/dev/null; then
10641 if test -s conftest.err; then
10642 ac_cpp_err=$ac_c_preproc_warn_flag
10643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10650 if test -z "$ac_cpp_err"; then
10652 cat >>confdefs.h <<\_ACEOF
10653 #define HAVE_FREETYPE_FTTRIGON_H 1
10656 wine_cv_fttrigon=yes
10658 echo "$as_me: failed program was:" >&5
10659 sed 's/^/| /' conftest.$ac_ext >&5
10661 wine_cv_fttrigon=no
10663 rm -f conftest.err conftest.$ac_ext
10664 CPPFLAGS="$ac_save_CPPFLAGS"
10665 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10668 cat >>confdefs.h <<\_ACEOF
10669 #define HAVE_FREETYPE 1
10672 wine_cv_msg_freetype=no
10675 wine_cv_msg_freetype=yes
10681 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10682 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10683 if test "${ac_cv_c_ppdev+set}" = set; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6
10686 cat >conftest.$ac_ext <<_ACEOF
10689 cat confdefs.h >>conftest.$ac_ext
10690 cat >>conftest.$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10692 #include <linux/ppdev.h>
10696 ioctl (1,PPCLAIM,0)
10701 rm -f conftest.$ac_objext
10702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10703 (eval $ac_compile) 2>conftest.er1
10705 grep -v '^ *+' conftest.er1 >conftest.err
10707 cat conftest.err >&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; } &&
10716 { ac_try='test -s conftest.$ac_objext'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_cv_c_ppdev="yes"
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10732 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10733 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10734 if test "$ac_cv_c_ppdev" = "yes"
10737 cat >>confdefs.h <<\_ACEOF
10738 #define HAVE_PPDEV 1
10743 echo "$as_me:$LINENO: checking for va_copy" >&5
10744 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10745 if test "${ac_cv_c_va_copy+set}" = set; then
10746 echo $ECHO_N "(cached) $ECHO_C" >&6
10748 cat >conftest.$ac_ext <<_ACEOF
10751 cat confdefs.h >>conftest.$ac_ext
10752 cat >>conftest.$ac_ext <<_ACEOF
10753 /* end confdefs.h. */
10754 #include <stdarg.h>
10765 rm -f conftest.$ac_objext conftest$ac_exeext
10766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10767 (eval $ac_link) 2>conftest.er1
10769 grep -v '^ *+' conftest.er1 >conftest.err
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } &&
10774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; } &&
10780 { ac_try='test -s conftest$ac_exeext'
10781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10782 (eval $ac_try) 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then
10786 ac_cv_c_va_copy="yes"
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.$ac_ext >&5
10791 ac_cv_c_va_copy="no"
10793 rm -f conftest.err conftest.$ac_objext \
10794 conftest$ac_exeext conftest.$ac_ext
10797 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10798 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10799 if test "$ac_cv_c_va_copy" = "yes"
10802 cat >>confdefs.h <<\_ACEOF
10803 #define HAVE_VA_COPY 1
10807 echo "$as_me:$LINENO: checking for __va_copy" >&5
10808 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10809 if test "${ac_cv_c___va_copy+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 cat >conftest.$ac_ext <<_ACEOF
10815 cat confdefs.h >>conftest.$ac_ext
10816 cat >>conftest.$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10818 #include <stdarg.h>
10823 __va_copy(ap1,ap2);
10829 rm -f conftest.$ac_objext conftest$ac_exeext
10830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10831 (eval $ac_link) 2>conftest.er1
10833 grep -v '^ *+' conftest.er1 >conftest.err
10835 cat conftest.err >&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); } &&
10838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10840 (eval $ac_try) 2>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); }; } &&
10844 { ac_try='test -s conftest$ac_exeext'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; }; then
10850 ac_cv_c___va_copy="yes"
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 ac_cv_c___va_copy="no"
10857 rm -f conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10861 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10862 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10863 if test "$ac_cv_c___va_copy" = "yes"
10866 cat >>confdefs.h <<\_ACEOF
10867 #define HAVE___VA_COPY 1
10872 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10873 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10874 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 cat >conftest.$ac_ext <<_ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10883 #include <setjmp.h>
10888 sigsetjmp( buf, 1 );
10889 siglongjmp( buf, 1 );
10894 rm -f conftest.$ac_objext conftest$ac_exeext
10895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10896 (eval $ac_link) 2>conftest.er1
10898 grep -v '^ *+' conftest.er1 >conftest.err
10900 cat conftest.err >&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); } &&
10903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; } &&
10909 { ac_try='test -s conftest$ac_exeext'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; }; then
10915 ac_cv_c_sigsetjmp="yes"
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10920 ac_cv_c_sigsetjmp="no"
10922 rm -f conftest.err conftest.$ac_objext \
10923 conftest$ac_exeext conftest.$ac_ext
10926 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10927 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10928 if test "$ac_cv_c_sigsetjmp" = "yes"
10931 cat >>confdefs.h <<\_ACEOF
10932 #define HAVE_SIGSETJMP 1
10937 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10938 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10939 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 cat >conftest.$ac_ext <<_ACEOF
10945 cat confdefs.h >>conftest.$ac_ext
10946 cat >>conftest.$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10948 #define _GNU_SOURCE
10949 #include <pthread.h>
10954 if ((pthread_rwlock_t *) 0)
10956 if (sizeof (pthread_rwlock_t))
10962 rm -f conftest.$ac_objext
10963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10964 (eval $ac_compile) 2>conftest.er1
10966 grep -v '^ *+' conftest.er1 >conftest.err
10968 cat conftest.err >&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } &&
10971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; } &&
10977 { ac_try='test -s conftest.$ac_objext'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; }; then
10983 ac_cv_type_pthread_rwlock_t=yes
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.$ac_ext >&5
10988 ac_cv_type_pthread_rwlock_t=no
10990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10992 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10993 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10994 if test $ac_cv_type_pthread_rwlock_t = yes; then
10996 cat >>confdefs.h <<_ACEOF
10997 #define HAVE_PTHREAD_RWLOCK_T 1
11002 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11003 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11004 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 cat >conftest.$ac_ext <<_ACEOF
11010 cat confdefs.h >>conftest.$ac_ext
11011 cat >>conftest.$ac_ext <<_ACEOF
11012 /* end confdefs.h. */
11013 #define _GNU_SOURCE
11014 #include <pthread.h>
11019 if ((pthread_rwlockattr_t *) 0)
11021 if (sizeof (pthread_rwlockattr_t))
11027 rm -f conftest.$ac_objext
11028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11029 (eval $ac_compile) 2>conftest.er1
11031 grep -v '^ *+' conftest.er1 >conftest.err
11033 cat conftest.err >&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 (eval $ac_try) 2>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }; } &&
11042 { ac_try='test -s conftest.$ac_objext'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11048 ac_cv_type_pthread_rwlockattr_t=yes
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11053 ac_cv_type_pthread_rwlockattr_t=no
11055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11057 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11058 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11059 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11061 cat >>confdefs.h <<_ACEOF
11062 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11069 ac_save_LIBS="$LIBS"
11070 LIBS="$LIBS $LIBPTHREAD"
11072 for ac_func in pthread_getattr_np
11074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11075 echo "$as_me:$LINENO: checking for $ac_func" >&5
11076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11077 if eval "test \"\${$as_ac_var+set}\" = set"; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 cat >conftest.$ac_ext <<_ACEOF
11083 cat confdefs.h >>conftest.$ac_ext
11084 cat >>conftest.$ac_ext <<_ACEOF
11085 /* end confdefs.h. */
11086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11088 #define $ac_func innocuous_$ac_func
11090 /* System header to define __stub macros and hopefully few prototypes,
11091 which can conflict with char $ac_func (); below.
11092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11093 <limits.h> exists even on freestanding compilers. */
11096 # include <limits.h>
11098 # include <assert.h>
11103 /* Override any gcc2 internal prototype to avoid an error. */
11108 /* We use char because int might match the return type of a gcc2
11109 builtin and then its argument prototype would still apply. */
11111 /* The GNU C library defines this for functions which it implements
11112 to always fail with ENOSYS. Some functions are actually named
11113 something starting with __ and the normal name is an alias. */
11114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11117 char (*f) () = $ac_func;
11126 return f != $ac_func;
11131 rm -f conftest.$ac_objext conftest$ac_exeext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11133 (eval $ac_link) 2>conftest.er1
11135 grep -v '^ *+' conftest.er1 >conftest.err
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; } &&
11146 { ac_try='test -s conftest$ac_exeext'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; }; then
11152 eval "$as_ac_var=yes"
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.$ac_ext >&5
11157 eval "$as_ac_var=no"
11159 rm -f conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11164 if test `eval echo '${'$as_ac_var'}'` = yes; then
11165 cat >>confdefs.h <<_ACEOF
11166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11172 LIBS="$ac_save_LIBS"
11177 for ac_header in sys/soundcard.h machine/soundcard.h soundcard.h
11179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11181 echo "$as_me:$LINENO: checking for $ac_header" >&5
11182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11189 # Is the header compilable?
11190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11192 cat >conftest.$ac_ext <<_ACEOF
11195 cat confdefs.h >>conftest.$ac_ext
11196 cat >>conftest.$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11198 $ac_includes_default
11199 #include <$ac_header>
11201 rm -f conftest.$ac_objext
11202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11203 (eval $ac_compile) 2>conftest.er1
11205 grep -v '^ *+' conftest.er1 >conftest.err
11207 cat conftest.err >&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); } &&
11210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; } &&
11216 { ac_try='test -s conftest.$ac_objext'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; }; then
11222 ac_header_compiler=yes
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.$ac_ext >&5
11227 ac_header_compiler=no
11229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11231 echo "${ECHO_T}$ac_header_compiler" >&6
11233 # Is the header present?
11234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11236 cat >conftest.$ac_ext <<_ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11242 #include <$ac_header>
11244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11247 grep -v '^ *+' conftest.er1 >conftest.err
11249 cat conftest.err >&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } >/dev/null; then
11252 if test -s conftest.err; then
11253 ac_cpp_err=$ac_c_preproc_warn_flag
11254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11261 if test -z "$ac_cpp_err"; then
11262 ac_header_preproc=yes
11264 echo "$as_me: failed program was:" >&5
11265 sed 's/^/| /' conftest.$ac_ext >&5
11267 ac_header_preproc=no
11269 rm -f conftest.err conftest.$ac_ext
11270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11271 echo "${ECHO_T}$ac_header_preproc" >&6
11273 # So? What about this header?
11274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11280 ac_header_preproc=yes
11283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11297 ## ------------------------------------ ##
11298 ## Report this to wine-devel@winehq.org ##
11299 ## ------------------------------------ ##
11302 sed "s/^/$as_me: WARNING: /" >&2
11305 echo "$as_me:$LINENO: checking for $ac_header" >&5
11306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 eval "$as_ac_Header=\$ac_header_preproc"
11312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11317 cat >>confdefs.h <<_ACEOF
11318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11326 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11327 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11328 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11329 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 cat >conftest.$ac_ext <<_ACEOF
11334 cat confdefs.h >>conftest.$ac_ext
11335 cat >>conftest.$ac_ext <<_ACEOF
11336 /* end confdefs.h. */
11338 #if defined(HAVE_SYS_SOUNDCARD_H)
11339 #include <sys/soundcard.h>
11340 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11341 #include <machine/soundcard.h>
11342 #elif defined(HAVE_SOUNDCARD_H)
11343 #include <soundcard.h>
11351 /* check for one of the Open Sound System specific SNDCTL_ defines */
11352 #if !defined(SNDCTL_DSP_STEREO)
11353 #error No open sound system
11360 rm -f conftest.$ac_objext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>conftest.er1
11364 grep -v '^ *+' conftest.er1 >conftest.err
11366 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } &&
11369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_c_opensoundsystem="yes"
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11386 ac_cv_c_opensoundsystem="no"
11388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11390 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11391 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11393 if test "$ac_cv_c_opensoundsystem" = "yes"
11396 cat >>confdefs.h <<\_ACEOF
11402 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11403 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11404 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11405 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 cat >conftest.$ac_ext <<_ACEOF
11410 cat confdefs.h >>conftest.$ac_ext
11411 cat >>conftest.$ac_ext <<_ACEOF
11412 /* end confdefs.h. */
11414 #if defined(HAVE_SYS_SOUNDCARD_H)
11415 #include <sys/soundcard.h>
11416 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11417 #include <machine/soundcard.h>
11418 #elif defined(HAVE_SOUNDCARD_H)
11419 #include <soundcard.h>
11427 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11428 #if !defined(SNDCTL_SEQ_SYNC)
11429 #error No open sound system MIDI interface
11436 rm -f conftest.$ac_objext
11437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11438 (eval $ac_compile) 2>conftest.er1
11440 grep -v '^ *+' conftest.er1 >conftest.err
11442 cat conftest.err >&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } &&
11445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; } &&
11451 { ac_try='test -s conftest.$ac_objext'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; }; then
11457 ac_cv_c_opensoundsystem_midi="yes"
11459 echo "$as_me: failed program was:" >&5
11460 sed 's/^/| /' conftest.$ac_ext >&5
11462 ac_cv_c_opensoundsystem_midi="no"
11464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11466 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11467 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11469 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11472 cat >>confdefs.h <<\_ACEOF
11473 #define HAVE_OSS_MIDI 1
11478 # Extract the first word of "artsc-config", so it can be a program name with args.
11479 set dummy artsc-config; ac_word=$2
11480 echo "$as_me:$LINENO: checking for $ac_word" >&5
11481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11482 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 case $ARTSCCONFIG in
11487 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11491 for as_dir in $PATH
11494 test -z "$as_dir" && as_dir=.
11495 for ac_exec_ext in '' $ac_executable_extensions; do
11496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11497 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11507 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11509 if test -n "$ARTSCCONFIG"; then
11510 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11511 echo "${ECHO_T}$ARTSCCONFIG" >&6
11513 echo "$as_me:$LINENO: result: no" >&5
11514 echo "${ECHO_T}no" >&6
11517 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11520 for i in `$ARTSCCONFIG --cflags`
11523 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11526 ARTSC_LIBS=`$ARTSCCONFIG --libs`
11527 save_CFLAGS="$CFLAGS"
11528 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11529 cat >conftest.$ac_ext <<_ACEOF
11532 cat confdefs.h >>conftest.$ac_ext
11533 cat >>conftest.$ac_ext <<_ACEOF
11534 /* end confdefs.h. */
11539 arts_stream_t stream;
11544 rm -f conftest.$ac_objext
11545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11546 (eval $ac_compile) 2>conftest.er1
11548 grep -v '^ *+' conftest.er1 >conftest.err
11550 cat conftest.err >&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } &&
11553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; } &&
11559 { ac_try='test -s conftest.$ac_objext'
11560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11561 (eval $ac_try) 2>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; }; then
11565 ARTSLIBS=$ARTSC_LIBS
11567 ARTSINCL=$ARTSC_CFLAGS
11570 cat >>confdefs.h <<\_ACEOF
11571 #define HAVE_ARTS 1
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.$ac_ext >&5
11579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11580 CFLAGS="$save_CFLAGS"
11587 for ac_header in alsa/asoundlib.h sys/asoundlib.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
11735 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11737 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11738 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11739 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 ac_check_lib_save_LIBS=$LIBS
11743 LIBS="-lasound $LIBS"
11744 cat >conftest.$ac_ext <<_ACEOF
11747 cat confdefs.h >>conftest.$ac_ext
11748 cat >>conftest.$ac_ext <<_ACEOF
11749 /* end confdefs.h. */
11751 /* Override any gcc2 internal prototype to avoid an error. */
11755 /* We use char because int might match the return type of a gcc2
11756 builtin and then its argument prototype would still apply. */
11757 char snd_pcm_open ();
11766 rm -f conftest.$ac_objext conftest$ac_exeext
11767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11768 (eval $ac_link) 2>conftest.er1
11770 grep -v '^ *+' conftest.er1 >conftest.err
11772 cat conftest.err >&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); } &&
11775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; } &&
11781 { ac_try='test -s conftest$ac_exeext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_cv_lib_asound_snd_pcm_open=yes
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 ac_cv_lib_asound_snd_pcm_open=no
11794 rm -f conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11796 LIBS=$ac_check_lib_save_LIBS
11798 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11799 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11800 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11802 cat >>confdefs.h <<\_ACEOF
11803 #define HAVE_ALSA 1
11806 ALSALIBS="-lasound"
11815 for ac_header in libaudioio.h
11817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11819 echo "$as_me:$LINENO: checking for $ac_header" >&5
11820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11827 # Is the header compilable?
11828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11830 cat >conftest.$ac_ext <<_ACEOF
11833 cat confdefs.h >>conftest.$ac_ext
11834 cat >>conftest.$ac_ext <<_ACEOF
11835 /* end confdefs.h. */
11836 $ac_includes_default
11837 #include <$ac_header>
11839 rm -f conftest.$ac_objext
11840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11841 (eval $ac_compile) 2>conftest.er1
11843 grep -v '^ *+' conftest.er1 >conftest.err
11845 cat conftest.err >&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } &&
11848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } &&
11854 { ac_try='test -s conftest.$ac_objext'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; }; then
11860 ac_header_compiler=yes
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.$ac_ext >&5
11865 ac_header_compiler=no
11867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11869 echo "${ECHO_T}$ac_header_compiler" >&6
11871 # Is the header present?
11872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11874 cat >conftest.$ac_ext <<_ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 #include <$ac_header>
11882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11885 grep -v '^ *+' conftest.er1 >conftest.err
11887 cat conftest.err >&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } >/dev/null; then
11890 if test -s conftest.err; then
11891 ac_cpp_err=$ac_c_preproc_warn_flag
11892 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11899 if test -z "$ac_cpp_err"; then
11900 ac_header_preproc=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.$ac_ext >&5
11905 ac_header_preproc=no
11907 rm -f conftest.err conftest.$ac_ext
11908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11909 echo "${ECHO_T}$ac_header_preproc" >&6
11911 # So? What about this header?
11912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11918 ac_header_preproc=yes
11921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11935 ## ------------------------------------ ##
11936 ## Report this to wine-devel@winehq.org ##
11937 ## ------------------------------------ ##
11940 sed "s/^/$as_me: WARNING: /" >&2
11943 echo "$as_me:$LINENO: checking for $ac_header" >&5
11944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 eval "$as_ac_Header=\$ac_header_preproc"
11950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11955 cat >>confdefs.h <<_ACEOF
11956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11958 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11959 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11960 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 ac_check_lib_save_LIBS=$LIBS
11964 LIBS="-laudioio $LIBS"
11965 cat >conftest.$ac_ext <<_ACEOF
11968 cat confdefs.h >>conftest.$ac_ext
11969 cat >>conftest.$ac_ext <<_ACEOF
11970 /* end confdefs.h. */
11972 /* Override any gcc2 internal prototype to avoid an error. */
11976 /* We use char because int might match the return type of a gcc2
11977 builtin and then its argument prototype would still apply. */
11978 char AudioIOGetVersion ();
11982 AudioIOGetVersion ();
11987 rm -f conftest.$ac_objext conftest$ac_exeext
11988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11989 (eval $ac_link) 2>conftest.er1
11991 grep -v '^ *+' conftest.er1 >conftest.err
11993 cat conftest.err >&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } &&
11996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; } &&
12002 { ac_try='test -s conftest$ac_exeext'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; }; then
12008 ac_cv_lib_audioio_AudioIOGetVersion=yes
12010 echo "$as_me: failed program was:" >&5
12011 sed 's/^/| /' conftest.$ac_ext >&5
12013 ac_cv_lib_audioio_AudioIOGetVersion=no
12015 rm -f conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_lib_save_LIBS
12019 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12020 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12021 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12022 AUDIOIOLIBS="-laudioio"
12024 cat >>confdefs.h <<\_ACEOF
12025 #define HAVE_LIBAUDIOIO 1
12037 for ac_header in capi20.h
12039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12041 echo "$as_me:$LINENO: checking for $ac_header" >&5
12042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12049 # Is the header compilable?
12050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12052 cat >conftest.$ac_ext <<_ACEOF
12055 cat confdefs.h >>conftest.$ac_ext
12056 cat >>conftest.$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12058 $ac_includes_default
12059 #include <$ac_header>
12061 rm -f conftest.$ac_objext
12062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12063 (eval $ac_compile) 2>conftest.er1
12065 grep -v '^ *+' conftest.er1 >conftest.err
12067 cat conftest.err >&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } &&
12070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; } &&
12076 { ac_try='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_header_compiler=yes
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12087 ac_header_compiler=no
12089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12091 echo "${ECHO_T}$ac_header_compiler" >&6
12093 # Is the header present?
12094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12096 cat >conftest.$ac_ext <<_ACEOF
12099 cat confdefs.h >>conftest.$ac_ext
12100 cat >>conftest.$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102 #include <$ac_header>
12104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12107 grep -v '^ *+' conftest.er1 >conftest.err
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } >/dev/null; then
12112 if test -s conftest.err; then
12113 ac_cpp_err=$ac_c_preproc_warn_flag
12114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12121 if test -z "$ac_cpp_err"; then
12122 ac_header_preproc=yes
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.$ac_ext >&5
12127 ac_header_preproc=no
12129 rm -f conftest.err conftest.$ac_ext
12130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12131 echo "${ECHO_T}$ac_header_preproc" >&6
12133 # So? What about this header?
12134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12140 ac_header_preproc=yes
12143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12157 ## ------------------------------------ ##
12158 ## Report this to wine-devel@winehq.org ##
12159 ## ------------------------------------ ##
12162 sed "s/^/$as_me: WARNING: /" >&2
12165 echo "$as_me:$LINENO: checking for $ac_header" >&5
12166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 eval "$as_ac_Header=\$ac_header_preproc"
12172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12177 cat >>confdefs.h <<_ACEOF
12178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12182 for ac_header in linux/capi.h
12184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12186 echo "$as_me:$LINENO: checking for $ac_header" >&5
12187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12194 # Is the header compilable?
12195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12197 cat >conftest.$ac_ext <<_ACEOF
12200 cat confdefs.h >>conftest.$ac_ext
12201 cat >>conftest.$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12203 $ac_includes_default
12204 #include <$ac_header>
12206 rm -f conftest.$ac_objext
12207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12208 (eval $ac_compile) 2>conftest.er1
12210 grep -v '^ *+' conftest.er1 >conftest.err
12212 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try='test -s conftest.$ac_objext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 ac_header_compiler=yes
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12232 ac_header_compiler=no
12234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12236 echo "${ECHO_T}$ac_header_compiler" >&6
12238 # Is the header present?
12239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12241 cat >conftest.$ac_ext <<_ACEOF
12244 cat confdefs.h >>conftest.$ac_ext
12245 cat >>conftest.$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12247 #include <$ac_header>
12249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } >/dev/null; then
12257 if test -s conftest.err; then
12258 ac_cpp_err=$ac_c_preproc_warn_flag
12259 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12266 if test -z "$ac_cpp_err"; then
12267 ac_header_preproc=yes
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.$ac_ext >&5
12272 ac_header_preproc=no
12274 rm -f conftest.err conftest.$ac_ext
12275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12276 echo "${ECHO_T}$ac_header_preproc" >&6
12278 # So? What about this header?
12279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12285 ac_header_preproc=yes
12288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12302 ## ------------------------------------ ##
12303 ## Report this to wine-devel@winehq.org ##
12304 ## ------------------------------------ ##
12307 sed "s/^/$as_me: WARNING: /" >&2
12310 echo "$as_me:$LINENO: checking for $ac_header" >&5
12311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 eval "$as_ac_Header=\$ac_header_preproc"
12317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12322 cat >>confdefs.h <<_ACEOF
12323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12326 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12327 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12328 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12329 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 ac_check_lib_save_LIBS=$LIBS
12332 LIBS="-lcapi20 $LIBS"
12333 cat >conftest.$ac_ext <<_ACEOF
12336 cat confdefs.h >>conftest.$ac_ext
12337 cat >>conftest.$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12340 /* Override any gcc2 internal prototype to avoid an error. */
12344 /* We use char because int might match the return type of a gcc2
12345 builtin and then its argument prototype would still apply. */
12346 char capi20_register ();
12350 capi20_register ();
12355 rm -f conftest.$ac_objext conftest$ac_exeext
12356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12357 (eval $ac_link) 2>conftest.er1
12359 grep -v '^ *+' conftest.er1 >conftest.err
12361 cat conftest.err >&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } &&
12364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try='test -s conftest$ac_exeext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 ac_cv_lib_capi20_capi20_register=yes
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.$ac_ext >&5
12381 ac_cv_lib_capi20_capi20_register=no
12383 rm -f conftest.err conftest.$ac_objext \
12384 conftest$ac_exeext conftest.$ac_ext
12385 LIBS=$ac_check_lib_save_LIBS
12387 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12388 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12389 if test $ac_cv_lib_capi20_capi20_register = yes; then
12392 cat >>confdefs.h <<\_ACEOF
12393 #define HAVE_CAPI4LINUX 1
12396 CAPI4LINUXLIBS="-lcapi20"
12413 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12414 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12415 if test "${ac_cv_mmap64_works+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 if test "$cross_compiling" = yes; then
12419 ac_cv_mmap64_works="no"
12421 cat >conftest.$ac_ext <<_ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12428 #define _FILE_OFFSET_BITS 64
12430 #include <unistd.h>
12432 #include <sys/mman.h>
12435 int main(int argc,char **argv) {
12436 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12437 if (fd == -1) exit(1);
12439 unlink("conftest.map");
12441 write(fd,"test",4);
12443 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12449 fprintf(stderr,"success!\n");
12455 rm -f conftest$ac_exeext
12456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12457 (eval $ac_link) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_cv_mmap64_works="yes"
12468 echo "$as_me: program exited with status $ac_status" >&5
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.$ac_ext >&5
12472 ( exit $ac_status )
12473 ac_cv_mmap64_works="no"
12475 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12478 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12479 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12481 if test "$ac_cv_mmap64_works" = "yes"
12484 cat >>confdefs.h <<\_ACEOF
12485 #define _FILE_OFFSET_BITS 64
12493 if test "x${GCC}" = "xyes"
12495 EXTRACFLAGS="-Wall -pipe"
12497 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12498 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12499 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 if test "$cross_compiling" = yes; then
12503 ac_cv_c_gcc_strength_bug="yes"
12505 cat >conftest.$ac_ext <<_ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12512 int L[4] = {0,1,2,3};
12514 static int Array[3];
12515 unsigned int B = 3;
12517 for(i=0; i<B; i++) Array[i] = i - 3;
12518 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12521 exit( Array[1] != -2 || L[2] != 3);
12524 rm -f conftest$ac_exeext
12525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12526 (eval $ac_link) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; }; then
12535 ac_cv_c_gcc_strength_bug="no"
12537 echo "$as_me: program exited with status $ac_status" >&5
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.$ac_ext >&5
12541 ( exit $ac_status )
12542 ac_cv_c_gcc_strength_bug="yes"
12544 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12547 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12548 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12549 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12551 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12554 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12555 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12556 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12557 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 ac_wine_try_cflags_saved=$CFLAGS
12560 CFLAGS="$CFLAGS -fshort-wchar"
12561 cat >conftest.$ac_ext <<_ACEOF
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12576 rm -f conftest.$ac_objext conftest$ac_exeext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12578 (eval $ac_link) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1 >conftest.err
12582 cat conftest.err >&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try='test -s conftest$ac_exeext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12597 ac_cv_c_gcc_fshort_wchar="yes"
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.$ac_ext >&5
12602 ac_cv_c_gcc_fshort_wchar="no"
12604 rm -f conftest.err conftest.$ac_objext \
12605 conftest$ac_exeext conftest.$ac_ext
12606 CFLAGS=$ac_wine_try_cflags_saved
12608 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12609 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12610 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12613 cat >>confdefs.h <<\_ACEOF
12614 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12619 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12620 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12621 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 ac_wine_try_cflags_saved=$CFLAGS
12625 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
12626 cat >conftest.$ac_ext <<_ACEOF
12629 cat confdefs.h >>conftest.$ac_ext
12630 cat >>conftest.$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12641 rm -f conftest.$ac_objext conftest$ac_exeext
12642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12643 (eval $ac_link) 2>conftest.er1
12645 grep -v '^ *+' conftest.er1 >conftest.err
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } &&
12650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try='test -s conftest$ac_exeext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_cv_c_gcc_stack_boundary="yes"
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12667 ac_cv_c_gcc_stack_boundary="no"
12669 rm -f conftest.err conftest.$ac_objext \
12670 conftest$ac_exeext conftest.$ac_ext
12671 CFLAGS=$ac_wine_try_cflags_saved
12673 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12674 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12675 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12677 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12680 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12681 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12682 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 ac_wine_try_cflags_saved=$CFLAGS
12686 CFLAGS="$CFLAGS -fno-strict-aliasing"
12687 cat >conftest.$ac_ext <<_ACEOF
12690 cat confdefs.h >>conftest.$ac_ext
12691 cat >>conftest.$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12702 rm -f conftest.$ac_objext conftest$ac_exeext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12704 (eval $ac_link) 2>conftest.er1
12706 grep -v '^ *+' conftest.er1 >conftest.err
12708 cat conftest.err >&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } &&
12711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try='test -s conftest$ac_exeext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_cv_c_gcc_no_strict_aliasing="yes"
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.$ac_ext >&5
12728 ac_cv_c_gcc_no_strict_aliasing="no"
12730 rm -f conftest.err conftest.$ac_objext \
12731 conftest$ac_exeext conftest.$ac_ext
12732 CFLAGS=$ac_wine_try_cflags_saved
12734 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12735 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12736 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12738 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12741 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12742 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12743 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12746 ac_wine_try_cflags_saved=$CFLAGS
12747 CFLAGS="$CFLAGS -gstabs+"
12748 cat >conftest.$ac_ext <<_ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12763 rm -f conftest.$ac_objext conftest$ac_exeext
12764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12765 (eval $ac_link) 2>conftest.er1
12767 grep -v '^ *+' conftest.er1 >conftest.err
12769 cat conftest.err >&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } &&
12772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; } &&
12778 { ac_try='test -s conftest$ac_exeext'
12779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12780 (eval $ac_try) 2>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); }; }; then
12784 ac_cv_c_gcc_gstabs="yes"
12786 echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.$ac_ext >&5
12789 ac_cv_c_gcc_gstabs="no"
12791 rm -f conftest.err conftest.$ac_objext \
12792 conftest$ac_exeext conftest.$ac_ext
12793 CFLAGS=$ac_wine_try_cflags_saved
12795 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12796 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12797 if test "$ac_cv_c_gcc_gstabs" = "yes"
12799 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12802 saved_CFLAGS="$CFLAGS"
12803 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12804 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12805 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12806 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 cat >conftest.$ac_ext <<_ACEOF
12812 cat confdefs.h >>conftest.$ac_ext
12813 cat >>conftest.$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815 #include <string.h>
12824 rm -f conftest.$ac_objext
12825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12826 (eval $ac_compile) 2>conftest.er1
12828 grep -v '^ *+' conftest.er1 >conftest.err
12830 cat conftest.err >&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); } &&
12833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; } &&
12839 { ac_try='test -s conftest.$ac_objext'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; }; then
12845 ac_cv_c_string_h_warnings=no
12847 echo "$as_me: failed program was:" >&5
12848 sed 's/^/| /' conftest.$ac_ext >&5
12850 ac_cv_c_string_h_warnings=yes
12852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12854 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12855 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12856 CFLAGS="$saved_CFLAGS"
12857 if test "$ac_cv_c_string_h_warnings" = "no"
12859 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12864 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12865 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12866 if test "${ac_cv_asm_func_def+set}" = set; then
12867 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 cat >conftest.$ac_ext <<_ACEOF
12872 cat confdefs.h >>conftest.$ac_ext
12873 cat >>conftest.$ac_ext <<_ACEOF
12874 /* end confdefs.h. */
12875 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"); }
12885 rm -f conftest.$ac_objext conftest$ac_exeext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12887 (eval $ac_link) 2>conftest.er1
12889 grep -v '^ *+' conftest.er1 >conftest.err
12891 cat conftest.err >&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } &&
12894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; } &&
12900 { ac_try='test -s conftest$ac_exeext'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; }; then
12906 ac_cv_asm_func_def=".def"
12908 echo "$as_me: failed program was:" >&5
12909 sed 's/^/| /' conftest.$ac_ext >&5
12911 cat >conftest.$ac_ext <<_ACEOF
12914 cat confdefs.h >>conftest.$ac_ext
12915 cat >>conftest.$ac_ext <<_ACEOF
12916 /* end confdefs.h. */
12917 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12927 rm -f conftest.$ac_objext conftest$ac_exeext
12928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12929 (eval $ac_link) 2>conftest.er1
12931 grep -v '^ *+' conftest.er1 >conftest.err
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } &&
12936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12938 (eval $ac_try) 2>&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); }; } &&
12942 { ac_try='test -s conftest$ac_exeext'
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 (eval $ac_try) 2>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); }; }; then
12948 ac_cv_asm_func_def=".type @function"
12950 echo "$as_me: failed program was:" >&5
12951 sed 's/^/| /' conftest.$ac_ext >&5
12953 cat >conftest.$ac_ext <<_ACEOF
12956 cat confdefs.h >>conftest.$ac_ext
12957 cat >>conftest.$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12959 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12969 rm -f conftest.$ac_objext conftest$ac_exeext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12971 (eval $ac_link) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1 >conftest.err
12975 cat conftest.err >&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try='test -s conftest$ac_exeext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 ac_cv_asm_func_def=".type 2"
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12995 ac_cv_asm_func_def="unknown"
12997 rm -f conftest.err conftest.$ac_objext \
12998 conftest$ac_exeext conftest.$ac_ext
13000 rm -f conftest.err conftest.$ac_objext \
13001 conftest$ac_exeext conftest.$ac_ext
13003 rm -f conftest.err conftest.$ac_objext \
13004 conftest$ac_exeext conftest.$ac_ext
13006 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13007 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13011 case "$ac_cv_asm_func_def" in
13013 cat >>confdefs.h <<\_ACEOF
13014 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13018 cat >>confdefs.h <<\_ACEOF
13019 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13023 cat >>confdefs.h <<\_ACEOF
13024 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13028 cat >>confdefs.h <<\_ACEOF
13029 #define __ASM_FUNC(name) ""
13035 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13036 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13037 if test "${ac_cv_c_extern_prefix+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 cat >conftest.$ac_ext <<_ACEOF
13043 cat confdefs.h >>conftest.$ac_ext
13044 cat >>conftest.$ac_ext <<_ACEOF
13045 /* end confdefs.h. */
13046 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13047 extern int ac_test;
13051 if (ac_test) return 1
13056 rm -f conftest.$ac_objext conftest$ac_exeext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13058 (eval $ac_link) 2>conftest.er1
13060 grep -v '^ *+' conftest.er1 >conftest.err
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest$ac_exeext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_c_extern_prefix="yes"
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13082 ac_cv_c_extern_prefix="no"
13084 rm -f conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13087 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13088 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13092 if test "$ac_cv_c_extern_prefix" = "yes"
13094 cat >>confdefs.h <<\_ACEOF
13095 #define __ASM_NAME(name) "_" name
13099 cat >>confdefs.h <<\_ACEOF
13100 #define __ASM_NAME(name) name
13106 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13107 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13108 if test "${ac_cv_c_asm_string+set}" = set; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13111 cat >conftest.$ac_ext <<_ACEOF
13114 cat confdefs.h >>conftest.$ac_ext
13115 cat >>conftest.$ac_ext <<_ACEOF
13116 /* end confdefs.h. */
13117 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13127 rm -f conftest.$ac_objext conftest$ac_exeext
13128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13129 (eval $ac_link) 2>conftest.er1
13131 grep -v '^ *+' conftest.er1 >conftest.err
13133 cat conftest.err >&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; } &&
13142 { ac_try='test -s conftest$ac_exeext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_cv_c_asm_string=".string"
13150 echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.$ac_ext >&5
13153 cat >conftest.$ac_ext <<_ACEOF
13156 cat confdefs.h >>conftest.$ac_ext
13157 cat >>conftest.$ac_ext <<_ACEOF
13158 /* end confdefs.h. */
13159 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13169 rm -f conftest.$ac_objext conftest$ac_exeext
13170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13171 (eval $ac_link) 2>conftest.er1
13173 grep -v '^ *+' conftest.er1 >conftest.err
13175 cat conftest.err >&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; } &&
13184 { ac_try='test -s conftest$ac_exeext'
13185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13186 (eval $ac_try) 2>&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; }; then
13190 ac_cv_c_asm_string=".asciz"
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.$ac_ext >&5
13195 cat >conftest.$ac_ext <<_ACEOF
13198 cat confdefs.h >>conftest.$ac_ext
13199 cat >>conftest.$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13211 rm -f conftest.$ac_objext conftest$ac_exeext
13212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13213 (eval $ac_link) 2>conftest.er1
13215 grep -v '^ *+' conftest.er1 >conftest.err
13217 cat conftest.err >&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; } &&
13226 { ac_try='test -s conftest$ac_exeext'
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13228 (eval $ac_try) 2>&5
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); }; }; then
13232 ac_cv_c_asm_string=".ascii"
13234 echo "$as_me: failed program was:" >&5
13235 sed 's/^/| /' conftest.$ac_ext >&5
13237 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13238 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13239 { (exit 1); exit 1; }; }
13241 rm -f conftest.err conftest.$ac_objext \
13242 conftest$ac_exeext conftest.$ac_ext
13244 rm -f conftest.err conftest.$ac_objext \
13245 conftest$ac_exeext conftest.$ac_ext
13247 rm -f conftest.err conftest.$ac_objext \
13248 conftest$ac_exeext conftest.$ac_ext
13250 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13251 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13254 cat >>confdefs.h <<_ACEOF
13255 #define __ASM_STRING "$ac_cv_c_asm_string"
13260 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13261 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13262 if test "${ac_cv_c_asm_short+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 cat >conftest.$ac_ext <<_ACEOF
13268 cat confdefs.h >>conftest.$ac_ext
13269 cat >>conftest.$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13281 rm -f conftest.$ac_objext conftest$ac_exeext
13282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13283 (eval $ac_link) 2>conftest.er1
13285 grep -v '^ *+' conftest.er1 >conftest.err
13287 cat conftest.err >&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } &&
13290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; } &&
13296 { ac_try='test -s conftest$ac_exeext'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 ac_cv_c_asm_short=".short"
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.$ac_ext >&5
13307 cat >conftest.$ac_ext <<_ACEOF
13310 cat confdefs.h >>conftest.$ac_ext
13311 cat >>conftest.$ac_ext <<_ACEOF
13312 /* end confdefs.h. */
13313 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13323 rm -f conftest.$ac_objext conftest$ac_exeext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13325 (eval $ac_link) 2>conftest.er1
13327 grep -v '^ *+' conftest.er1 >conftest.err
13329 cat conftest.err >&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } &&
13332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; } &&
13338 { ac_try='test -s conftest$ac_exeext'
13339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13340 (eval $ac_try) 2>&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }; }; then
13344 ac_cv_c_asm_short=".half"
13346 echo "$as_me: failed program was:" >&5
13347 sed 's/^/| /' conftest.$ac_ext >&5
13349 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13350 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13351 { (exit 1); exit 1; }; }
13353 rm -f conftest.err conftest.$ac_objext \
13354 conftest$ac_exeext conftest.$ac_ext
13356 rm -f conftest.err conftest.$ac_objext \
13357 conftest$ac_exeext conftest.$ac_ext
13359 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13360 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13363 cat >>confdefs.h <<_ACEOF
13364 #define __ASM_SHORT "$ac_cv_c_asm_short"
13371 DLLFLAGS="-D_REENTRANT"
13386 if test -n "$ac_tool_prefix"; then
13387 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13388 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13389 echo "$as_me:$LINENO: checking for $ac_word" >&5
13390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13391 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 if test -n "$DLLTOOL"; then
13395 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13398 for as_dir in $PATH
13401 test -z "$as_dir" && as_dir=.
13402 for ac_exec_ext in '' $ac_executable_extensions; do
13403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13404 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13413 DLLTOOL=$ac_cv_prog_DLLTOOL
13414 if test -n "$DLLTOOL"; then
13415 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13416 echo "${ECHO_T}$DLLTOOL" >&6
13418 echo "$as_me:$LINENO: result: no" >&5
13419 echo "${ECHO_T}no" >&6
13423 if test -z "$ac_cv_prog_DLLTOOL"; then
13424 ac_ct_DLLTOOL=$DLLTOOL
13425 # Extract the first word of "dlltool", so it can be a program name with args.
13426 set dummy dlltool; ac_word=$2
13427 echo "$as_me:$LINENO: checking for $ac_word" >&5
13428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13429 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13430 echo $ECHO_N "(cached) $ECHO_C" >&6
13432 if test -n "$ac_ct_DLLTOOL"; then
13433 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13436 for as_dir in $PATH
13439 test -z "$as_dir" && as_dir=.
13440 for ac_exec_ext in '' $ac_executable_extensions; do
13441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13442 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13449 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13452 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13453 if test -n "$ac_ct_DLLTOOL"; then
13454 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13455 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13457 echo "$as_me:$LINENO: result: no" >&5
13458 echo "${ECHO_T}no" >&6
13461 DLLTOOL=$ac_ct_DLLTOOL
13463 DLLTOOL="$ac_cv_prog_DLLTOOL"
13466 if test -n "$ac_tool_prefix"; then
13467 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13468 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13469 echo "$as_me:$LINENO: checking for $ac_word" >&5
13470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13471 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 if test -n "$DLLWRAP"; then
13475 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13478 for as_dir in $PATH
13481 test -z "$as_dir" && as_dir=.
13482 for ac_exec_ext in '' $ac_executable_extensions; do
13483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13484 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13493 DLLWRAP=$ac_cv_prog_DLLWRAP
13494 if test -n "$DLLWRAP"; then
13495 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13496 echo "${ECHO_T}$DLLWRAP" >&6
13498 echo "$as_me:$LINENO: result: no" >&5
13499 echo "${ECHO_T}no" >&6
13503 if test -z "$ac_cv_prog_DLLWRAP"; then
13504 ac_ct_DLLWRAP=$DLLWRAP
13505 # Extract the first word of "dllwrap", so it can be a program name with args.
13506 set dummy dllwrap; ac_word=$2
13507 echo "$as_me:$LINENO: checking for $ac_word" >&5
13508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13509 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 if test -n "$ac_ct_DLLWRAP"; then
13513 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13516 for as_dir in $PATH
13519 test -z "$as_dir" && as_dir=.
13520 for ac_exec_ext in '' $ac_executable_extensions; do
13521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13522 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13529 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13532 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13533 if test -n "$ac_ct_DLLWRAP"; then
13534 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13535 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13537 echo "$as_me:$LINENO: result: no" >&5
13538 echo "${ECHO_T}no" >&6
13541 DLLWRAP=$ac_ct_DLLWRAP
13543 DLLWRAP="$ac_cv_prog_DLLWRAP"
13546 if test "$DLLWRAP" = "false"; then
13555 for ac_header in dlfcn.h
13557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13559 echo "$as_me:$LINENO: checking for $ac_header" >&5
13560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13567 # Is the header compilable?
13568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13570 cat >conftest.$ac_ext <<_ACEOF
13573 cat confdefs.h >>conftest.$ac_ext
13574 cat >>conftest.$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 $ac_includes_default
13577 #include <$ac_header>
13579 rm -f conftest.$ac_objext
13580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13581 (eval $ac_compile) 2>conftest.er1
13583 grep -v '^ *+' conftest.er1 >conftest.err
13585 cat conftest.err >&5
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); } &&
13588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; } &&
13594 { ac_try='test -s conftest.$ac_objext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_header_compiler=yes
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.$ac_ext >&5
13605 ac_header_compiler=no
13607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13609 echo "${ECHO_T}$ac_header_compiler" >&6
13611 # Is the header present?
13612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13614 cat >conftest.$ac_ext <<_ACEOF
13617 cat confdefs.h >>conftest.$ac_ext
13618 cat >>conftest.$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620 #include <$ac_header>
13622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13625 grep -v '^ *+' conftest.er1 >conftest.err
13627 cat conftest.err >&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } >/dev/null; then
13630 if test -s conftest.err; then
13631 ac_cpp_err=$ac_c_preproc_warn_flag
13632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13639 if test -z "$ac_cpp_err"; then
13640 ac_header_preproc=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13645 ac_header_preproc=no
13647 rm -f conftest.err conftest.$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13649 echo "${ECHO_T}$ac_header_preproc" >&6
13651 # So? What about this header?
13652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13658 ac_header_preproc=yes
13661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13675 ## ------------------------------------ ##
13676 ## Report this to wine-devel@winehq.org ##
13677 ## ------------------------------------ ##
13680 sed "s/^/$as_me: WARNING: /" >&2
13683 echo "$as_me:$LINENO: checking for $ac_header" >&5
13684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 eval "$as_ac_Header=\$ac_header_preproc"
13690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13695 cat >>confdefs.h <<_ACEOF
13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13699 for ac_func in dlopen
13701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13702 echo "$as_me:$LINENO: checking for $ac_func" >&5
13703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13704 if eval "test \"\${$as_ac_var+set}\" = set"; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13707 cat >conftest.$ac_ext <<_ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13715 #define $ac_func innocuous_$ac_func
13717 /* System header to define __stub macros and hopefully few prototypes,
13718 which can conflict with char $ac_func (); below.
13719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13720 <limits.h> exists even on freestanding compilers. */
13723 # include <limits.h>
13725 # include <assert.h>
13730 /* Override any gcc2 internal prototype to avoid an error. */
13735 /* We use char because int might match the return type of a gcc2
13736 builtin and then its argument prototype would still apply. */
13738 /* The GNU C library defines this for functions which it implements
13739 to always fail with ENOSYS. Some functions are actually named
13740 something starting with __ and the normal name is an alias. */
13741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13744 char (*f) () = $ac_func;
13753 return f != $ac_func;
13758 rm -f conftest.$ac_objext conftest$ac_exeext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13760 (eval $ac_link) 2>conftest.er1
13762 grep -v '^ *+' conftest.er1 >conftest.err
13764 cat conftest.err >&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; } &&
13773 { ac_try='test -s conftest$ac_exeext'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 eval "$as_ac_var=yes"
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.$ac_ext >&5
13784 eval "$as_ac_var=no"
13786 rm -f conftest.err conftest.$ac_objext \
13787 conftest$ac_exeext conftest.$ac_ext
13789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13791 if test `eval echo '${'$as_ac_var'}'` = yes; then
13792 cat >>confdefs.h <<_ACEOF
13793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13797 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13798 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13799 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13802 ac_check_lib_save_LIBS=$LIBS
13804 cat >conftest.$ac_ext <<_ACEOF
13807 cat confdefs.h >>conftest.$ac_ext
13808 cat >>conftest.$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13811 /* Override any gcc2 internal prototype to avoid an error. */
13815 /* We use char because int might match the return type of a gcc2
13816 builtin and then its argument prototype would still apply. */
13826 rm -f conftest.$ac_objext conftest$ac_exeext
13827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13828 (eval $ac_link) 2>conftest.er1
13830 grep -v '^ *+' conftest.er1 >conftest.err
13832 cat conftest.err >&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try='test -s conftest$ac_exeext'
13842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13843 (eval $ac_try) 2>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); }; }; then
13847 ac_cv_lib_dl_dlopen=yes
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13852 ac_cv_lib_dl_dlopen=no
13854 rm -f conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 LIBS=$ac_check_lib_save_LIBS
13858 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13859 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13860 if test $ac_cv_lib_dl_dlopen = yes; then
13862 cat >>confdefs.h <<\_ACEOF
13863 #define HAVE_DLOPEN 1
13881 if test "$LIBEXT" = "so"
13883 DLLFLAGS="$DLLFLAGS -fPIC"
13885 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13886 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13887 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13890 ac_wine_try_cflags_saved=$CFLAGS
13891 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13892 cat >conftest.$ac_ext <<_ACEOF
13895 cat confdefs.h >>conftest.$ac_ext
13896 cat >>conftest.$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13907 rm -f conftest.$ac_objext conftest$ac_exeext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13909 (eval $ac_link) 2>conftest.er1
13911 grep -v '^ *+' conftest.er1 >conftest.err
13913 cat conftest.err >&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } &&
13922 { ac_try='test -s conftest$ac_exeext'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; }; then
13928 ac_cv_c_dll_gnuelf="yes"
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.$ac_ext >&5
13933 ac_cv_c_dll_gnuelf="no"
13935 rm -f conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 CFLAGS=$ac_wine_try_cflags_saved
13939 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13940 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13941 if test "$ac_cv_c_dll_gnuelf" = "yes"
13943 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13944 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13945 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13946 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13947 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13948 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 ac_wine_try_cflags_saved=$CFLAGS
13951 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13952 cat >conftest.$ac_ext <<_ACEOF
13955 cat confdefs.h >>conftest.$ac_ext
13956 cat >>conftest.$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13967 rm -f conftest.$ac_objext conftest$ac_exeext
13968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13969 (eval $ac_link) 2>conftest.er1
13971 grep -v '^ *+' conftest.er1 >conftest.err
13973 cat conftest.err >&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } &&
13976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; } &&
13982 { ac_try='test -s conftest$ac_exeext'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; }; then
13988 ac_cv_c_dll_zdefs="yes"
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13993 ac_cv_c_dll_zdefs="no"
13995 rm -f conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13997 CFLAGS=$ac_wine_try_cflags_saved
13999 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14000 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14001 if test "$ac_cv_c_dll_zdefs" = "yes"
14003 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
14006 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14007 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14008 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 ac_wine_try_cflags_saved=$CFLAGS
14012 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14013 cat >conftest.$ac_ext <<_ACEOF
14016 cat confdefs.h >>conftest.$ac_ext
14017 cat >>conftest.$ac_ext <<_ACEOF
14018 /* end confdefs.h. */
14028 rm -f conftest.$ac_objext conftest$ac_exeext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030 (eval $ac_link) 2>conftest.er1
14032 grep -v '^ *+' conftest.er1 >conftest.err
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; } &&
14043 { ac_try='test -s conftest$ac_exeext'
14044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14045 (eval $ac_try) 2>&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; }; then
14049 ac_cv_c_dll_init_fini="yes"
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.$ac_ext >&5
14054 ac_cv_c_dll_init_fini="no"
14056 rm -f conftest.err conftest.$ac_objext \
14057 conftest$ac_exeext conftest.$ac_ext
14058 CFLAGS=$ac_wine_try_cflags_saved
14060 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14061 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14062 if test "$ac_cv_c_dll_init_fini" = "yes"
14064 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14067 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14068 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14069 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 echo '{ global: *; };' >conftest.map
14073 ac_wine_try_cflags_saved=$CFLAGS
14074 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14075 cat >conftest.$ac_ext <<_ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14090 rm -f conftest.$ac_objext conftest$ac_exeext
14091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14092 (eval $ac_link) 2>conftest.er1
14094 grep -v '^ *+' conftest.er1 >conftest.err
14096 cat conftest.err >&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); } &&
14099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; } &&
14105 { ac_try='test -s conftest$ac_exeext'
14106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14107 (eval $ac_try) 2>&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); }; }; then
14111 ac_cv_c_ld_version_scripts="yes"
14113 echo "$as_me: failed program was:" >&5
14114 sed 's/^/| /' conftest.$ac_ext >&5
14116 ac_cv_c_ld_version_scripts="no"
14118 rm -f conftest.err conftest.$ac_objext \
14119 conftest$ac_exeext conftest.$ac_ext
14120 CFLAGS=$ac_wine_try_cflags_saved
14123 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14124 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14125 if test "$ac_cv_c_ld_version_scripts" = "yes"
14127 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14130 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14131 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14132 if test "${ac_cv_c_export_dynamic+set}" = set; then
14133 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 ac_wine_try_cflags_saved=$CFLAGS
14136 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
14137 cat >conftest.$ac_ext <<_ACEOF
14140 cat confdefs.h >>conftest.$ac_ext
14141 cat >>conftest.$ac_ext <<_ACEOF
14142 /* end confdefs.h. */
14152 rm -f conftest.$ac_objext conftest$ac_exeext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14154 (eval $ac_link) 2>conftest.er1
14156 grep -v '^ *+' conftest.er1 >conftest.err
14158 cat conftest.err >&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; } &&
14167 { ac_try='test -s conftest$ac_exeext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14173 ac_cv_c_export_dynamic="yes"
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14178 ac_cv_c_export_dynamic="no"
14180 rm -f conftest.err conftest.$ac_objext \
14181 conftest$ac_exeext conftest.$ac_ext
14182 CFLAGS=$ac_wine_try_cflags_saved
14184 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14185 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14186 if test "$ac_cv_c_export_dynamic" = "yes"
14188 LDEXECFLAGS="-Wl,--export-dynamic"
14194 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
14195 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
14196 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 saved_CFLAGS="$CFLAGS"
14200 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x00110400"
14201 if test "$cross_compiling" = yes; then
14202 ac_cv_ld_reloc_exec="no"
14204 cat >conftest.$ac_ext <<_ACEOF
14207 cat confdefs.h >>conftest.$ac_ext
14208 cat >>conftest.$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 #include <unistd.h>
14211 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
14213 rm -f conftest$ac_exeext
14214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14215 (eval $ac_link) 2>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; }; then
14224 ac_cv_ld_reloc_exec="yes"
14226 echo "$as_me: program exited with status $ac_status" >&5
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 ( exit $ac_status )
14231 ac_cv_ld_reloc_exec="no"
14233 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14235 CFLAGS="$saved_CFLAGS"
14237 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14238 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14239 if test "$ac_cv_ld_reloc_exec" = "yes"
14241 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
14247 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14248 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14249 if test "${ac_cv_c_dll_unixware+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 ac_wine_try_cflags_saved=$CFLAGS
14253 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14254 cat >conftest.$ac_ext <<_ACEOF
14257 cat confdefs.h >>conftest.$ac_ext
14258 cat >>conftest.$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14269 rm -f conftest.$ac_objext conftest$ac_exeext
14270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14271 (eval $ac_link) 2>conftest.er1
14273 grep -v '^ *+' conftest.er1 >conftest.err
14275 cat conftest.err >&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } &&
14278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; } &&
14284 { ac_try='test -s conftest$ac_exeext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_cv_c_dll_unixware="yes"
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14295 ac_cv_c_dll_unixware="no"
14297 rm -f conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 CFLAGS=$ac_wine_try_cflags_saved
14301 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14302 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14303 if test "$ac_cv_c_dll_unixware" = "yes"
14305 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14306 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14309 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14310 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14311 if test "${ac_cv_c_dll_macho+set}" = set; then
14312 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 ac_wine_try_cflags_saved=$CFLAGS
14315 CFLAGS="$CFLAGS -bundle"
14316 cat >conftest.$ac_ext <<_ACEOF
14319 cat confdefs.h >>conftest.$ac_ext
14320 cat >>conftest.$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14331 rm -f conftest.$ac_objext conftest$ac_exeext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14333 (eval $ac_link) 2>conftest.er1
14335 grep -v '^ *+' conftest.er1 >conftest.err
14337 cat conftest.err >&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; } &&
14346 { ac_try='test -s conftest$ac_exeext'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; }; then
14352 ac_cv_c_dll_macho="yes"
14354 echo "$as_me: failed program was:" >&5
14355 sed 's/^/| /' conftest.$ac_ext >&5
14357 ac_cv_c_dll_macho="no"
14359 rm -f conftest.err conftest.$ac_objext \
14360 conftest$ac_exeext conftest.$ac_ext
14361 CFLAGS=$ac_wine_try_cflags_saved
14363 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14364 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14365 if test "$ac_cv_c_dll_macho" = "yes"
14368 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress"
14369 LDSHARED="\$(CC) -dynamiclib"
14370 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14378 if test "$cross_compiling" = "no"
14380 for ac_prog in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14382 # Extract the first word of "$ac_prog", so it can be a program name with args.
14383 set dummy $ac_prog; ac_word=$2
14384 echo "$as_me:$LINENO: checking for $ac_word" >&5
14385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14386 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14389 if test -n "$CROSSCC"; then
14390 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14393 for as_dir in $PATH
14396 test -z "$as_dir" && as_dir=.
14397 for ac_exec_ext in '' $ac_executable_extensions; do
14398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14399 ac_cv_prog_CROSSCC="$ac_prog"
14400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14408 CROSSCC=$ac_cv_prog_CROSSCC
14409 if test -n "$CROSSCC"; then
14410 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14411 echo "${ECHO_T}$CROSSCC" >&6
14413 echo "$as_me:$LINENO: result: no" >&5
14414 echo "${ECHO_T}no" >&6
14417 test -n "$CROSSCC" && break
14419 test -n "$CROSSCC" || CROSSCC="false"
14421 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14423 # Extract the first word of "$ac_prog", so it can be a program name with args.
14424 set dummy $ac_prog; ac_word=$2
14425 echo "$as_me:$LINENO: checking for $ac_word" >&5
14426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14427 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 if test -n "$DLLTOOL"; then
14431 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14434 for as_dir in $PATH
14437 test -z "$as_dir" && as_dir=.
14438 for ac_exec_ext in '' $ac_executable_extensions; do
14439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14440 ac_cv_prog_DLLTOOL="$ac_prog"
14441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14449 DLLTOOL=$ac_cv_prog_DLLTOOL
14450 if test -n "$DLLTOOL"; then
14451 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14452 echo "${ECHO_T}$DLLTOOL" >&6
14454 echo "$as_me:$LINENO: result: no" >&5
14455 echo "${ECHO_T}no" >&6
14458 test -n "$DLLTOOL" && break
14460 test -n "$DLLTOOL" || DLLTOOL="false"
14462 for ac_prog in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14464 # Extract the first word of "$ac_prog", so it can be a program name with args.
14465 set dummy $ac_prog; ac_word=$2
14466 echo "$as_me:$LINENO: checking for $ac_word" >&5
14467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14468 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 if test -n "$CROSSWINDRES"; then
14472 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14475 for as_dir in $PATH
14478 test -z "$as_dir" && as_dir=.
14479 for ac_exec_ext in '' $ac_executable_extensions; do
14480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14481 ac_cv_prog_CROSSWINDRES="$ac_prog"
14482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14490 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14491 if test -n "$CROSSWINDRES"; then
14492 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14493 echo "${ECHO_T}$CROSSWINDRES" >&6
14495 echo "$as_me:$LINENO: result: no" >&5
14496 echo "${ECHO_T}no" >&6
14499 test -n "$CROSSWINDRES" && break
14501 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14503 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14508 if test "$LIBEXT" = "a"; then
14509 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14510 It is currently not possible to build Wine without shared library
14511 (.so) support to allow transparent switch between .so and .dll files.
14512 If you are using Linux, you will need a newer binutils.
14514 echo "$as_me: error: could not find a way to build shared libraries.
14515 It is currently not possible to build Wine without shared library
14516 (.so) support to allow transparent switch between .so and .dll files.
14517 If you are using Linux, you will need a newer binutils.
14519 { (exit 1); exit 1; }; }
14524 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14527 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14530 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14542 WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
14544 MAIN_BINARY="wine-glibc"
14548 WINE_BINARIES="wine-kthread"
14550 MAIN_BINARY="wine-kthread"
14556 if test "$LIBEXT" = "so"
14558 # Extract the first word of "ldd", so it can be a program name with args.
14559 set dummy ldd; ac_word=$2
14560 echo "$as_me:$LINENO: checking for $ac_word" >&5
14561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14562 if test "${ac_cv_path_LDD+set}" = set; then
14563 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14571 as_dummy="/sbin:/usr/sbin:$PATH"
14572 for as_dir in $as_dummy
14575 test -z "$as_dir" && as_dir=.
14576 for ac_exec_ext in '' $ac_executable_extensions; do
14577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14578 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14585 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14589 LDD=$ac_cv_path_LDD
14591 if test -n "$LDD"; then
14592 echo "$as_me:$LINENO: result: $LDD" >&5
14593 echo "${ECHO_T}$LDD" >&6
14595 echo "$as_me:$LINENO: result: no" >&5
14596 echo "${ECHO_T}no" >&6
14600 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14601 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14602 if test "${ac_cv_lib_soname_X11+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 ac_get_soname_save_LIBS=$LIBS
14606 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14607 cat >conftest.$ac_ext <<_ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14614 /* Override any gcc2 internal prototype to avoid an error. */
14618 /* We use char because int might match the return type of a gcc2
14619 builtin and then its argument prototype would still apply. */
14620 char XCreateWindow ();
14629 rm -f conftest.$ac_objext conftest$ac_exeext
14630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14631 (eval $ac_link) 2>conftest.er1
14633 grep -v '^ *+' conftest.er1 >conftest.err
14635 cat conftest.err >&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; } &&
14644 { ac_try='test -s conftest$ac_exeext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14650 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14651 if test "x$ac_cv_lib_soname_X11" = "x"
14653 ac_cv_lib_soname_X11="libX11.so"
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14659 ac_cv_lib_soname_X11="libX11.so"
14661 rm -f conftest.err conftest.$ac_objext \
14662 conftest$ac_exeext conftest.$ac_ext
14663 LIBS=$ac_get_soname_save_LIBS
14665 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14666 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14667 if test "x$ac_cv_lib_soname_X11" != xNONE
14669 cat >>confdefs.h <<_ACEOF
14670 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14674 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14675 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14676 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14679 ac_get_soname_save_LIBS=$LIBS
14680 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14681 cat >conftest.$ac_ext <<_ACEOF
14684 cat confdefs.h >>conftest.$ac_ext
14685 cat >>conftest.$ac_ext <<_ACEOF
14686 /* end confdefs.h. */
14688 /* Override any gcc2 internal prototype to avoid an error. */
14692 /* We use char because int might match the return type of a gcc2
14693 builtin and then its argument prototype would still apply. */
14694 char XextCreateExtension ();
14698 XextCreateExtension ();
14703 rm -f conftest.$ac_objext conftest$ac_exeext
14704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14705 (eval $ac_link) 2>conftest.er1
14707 grep -v '^ *+' conftest.er1 >conftest.err
14709 cat conftest.err >&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } &&
14712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; } &&
14718 { ac_try='test -s conftest$ac_exeext'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; }; then
14724 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14725 if test "x$ac_cv_lib_soname_Xext" = "x"
14727 ac_cv_lib_soname_Xext="libXext.so"
14730 echo "$as_me: failed program was:" >&5
14731 sed 's/^/| /' conftest.$ac_ext >&5
14733 ac_cv_lib_soname_Xext="libXext.so"
14735 rm -f conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext conftest.$ac_ext
14737 LIBS=$ac_get_soname_save_LIBS
14739 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14740 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14741 if test "x$ac_cv_lib_soname_Xext" != xNONE
14743 cat >>confdefs.h <<_ACEOF
14744 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14748 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14749 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14750 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 ac_get_soname_save_LIBS=$LIBS
14754 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14755 cat >conftest.$ac_ext <<_ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14762 /* Override any gcc2 internal prototype to avoid an error. */
14766 /* We use char because int might match the return type of a gcc2
14767 builtin and then its argument prototype would still apply. */
14768 char XOpenDevice ();
14777 rm -f conftest.$ac_objext conftest$ac_exeext
14778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14779 (eval $ac_link) 2>conftest.er1
14781 grep -v '^ *+' conftest.er1 >conftest.err
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } &&
14786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; } &&
14792 { ac_try='test -s conftest$ac_exeext'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14798 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14799 if test "x$ac_cv_lib_soname_Xi" = "x"
14801 ac_cv_lib_soname_Xi="libXi.so"
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.$ac_ext >&5
14807 ac_cv_lib_soname_Xi="libXi.so"
14809 rm -f conftest.err conftest.$ac_objext \
14810 conftest$ac_exeext conftest.$ac_ext
14811 LIBS=$ac_get_soname_save_LIBS
14813 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14814 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14815 if test "x$ac_cv_lib_soname_Xi" != xNONE
14817 cat >>confdefs.h <<_ACEOF
14818 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14822 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14823 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14824 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 ac_get_soname_save_LIBS=$LIBS
14828 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14829 cat >conftest.$ac_ext <<_ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14836 /* Override any gcc2 internal prototype to avoid an error. */
14840 /* We use char because int might match the return type of a gcc2
14841 builtin and then its argument prototype would still apply. */
14842 char XRenderQueryExtension ();
14846 XRenderQueryExtension ();
14851 rm -f conftest.$ac_objext conftest$ac_exeext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14853 (eval $ac_link) 2>conftest.er1
14855 grep -v '^ *+' conftest.er1 >conftest.err
14857 cat conftest.err >&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); } &&
14860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try='test -s conftest$ac_exeext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14873 if test "x$ac_cv_lib_soname_Xrender" = "x"
14875 ac_cv_lib_soname_Xrender="libXrender.so"
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.$ac_ext >&5
14881 ac_cv_lib_soname_Xrender="libXrender.so"
14883 rm -f conftest.err conftest.$ac_objext \
14884 conftest$ac_exeext conftest.$ac_ext
14885 LIBS=$ac_get_soname_save_LIBS
14887 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14888 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14889 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14891 cat >>confdefs.h <<_ACEOF
14892 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14896 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14897 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14898 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 ac_get_soname_save_LIBS=$LIBS
14902 LIBS="-lfreetype $X_LIBS $LIBS"
14903 cat >conftest.$ac_ext <<_ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14910 /* Override any gcc2 internal prototype to avoid an error. */
14914 /* We use char because int might match the return type of a gcc2
14915 builtin and then its argument prototype would still apply. */
14916 char FT_Init_FreeType ();
14920 FT_Init_FreeType ();
14925 rm -f conftest.$ac_objext conftest$ac_exeext
14926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14927 (eval $ac_link) 2>conftest.er1
14929 grep -v '^ *+' conftest.er1 >conftest.err
14931 cat conftest.err >&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } &&
14934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; } &&
14940 { ac_try='test -s conftest$ac_exeext'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; }; then
14946 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
14947 if test "x$ac_cv_lib_soname_freetype" = "x"
14949 ac_cv_lib_soname_freetype="libfreetype.so"
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14955 ac_cv_lib_soname_freetype="libfreetype.so"
14957 rm -f conftest.err conftest.$ac_objext \
14958 conftest$ac_exeext conftest.$ac_ext
14959 LIBS=$ac_get_soname_save_LIBS
14961 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14962 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14963 if test "x$ac_cv_lib_soname_freetype" != xNONE
14965 cat >>confdefs.h <<_ACEOF
14966 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14970 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14971 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14972 if test "${ac_cv_lib_soname_GL+set}" = set; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 ac_get_soname_save_LIBS=$LIBS
14976 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14977 cat >conftest.$ac_ext <<_ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14984 /* Override any gcc2 internal prototype to avoid an error. */
14988 /* We use char because int might match the return type of a gcc2
14989 builtin and then its argument prototype would still apply. */
14990 char glXQueryExtension ();
14994 glXQueryExtension ();
14999 rm -f conftest.$ac_objext conftest$ac_exeext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15001 (eval $ac_link) 2>conftest.er1
15003 grep -v '^ *+' conftest.er1 >conftest.err
15005 cat conftest.err >&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try='test -s conftest$ac_exeext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15020 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
15021 if test "x$ac_cv_lib_soname_GL" = "x"
15023 ac_cv_lib_soname_GL="libGL.so"
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 ac_cv_lib_soname_GL="libGL.so"
15031 rm -f conftest.err conftest.$ac_objext \
15032 conftest$ac_exeext conftest.$ac_ext
15033 LIBS=$ac_get_soname_save_LIBS
15035 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15036 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15037 if test "x$ac_cv_lib_soname_GL" != xNONE
15039 cat >>confdefs.h <<_ACEOF
15040 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15044 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15045 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15046 if test "${ac_cv_lib_soname_cups+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 ac_get_soname_save_LIBS=$LIBS
15050 LIBS="-lcups $LIBS"
15051 cat >conftest.$ac_ext <<_ACEOF
15054 cat confdefs.h >>conftest.$ac_ext
15055 cat >>conftest.$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15058 /* Override any gcc2 internal prototype to avoid an error. */
15062 /* We use char because int might match the return type of a gcc2
15063 builtin and then its argument prototype would still apply. */
15064 char cupsGetDefault ();
15073 rm -f conftest.$ac_objext conftest$ac_exeext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15075 (eval $ac_link) 2>conftest.er1
15077 grep -v '^ *+' conftest.er1 >conftest.err
15079 cat conftest.err >&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; } &&
15088 { ac_try='test -s conftest$ac_exeext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15094 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
15095 if test "x$ac_cv_lib_soname_cups" = "x"
15097 ac_cv_lib_soname_cups="libcups.so"
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.$ac_ext >&5
15103 ac_cv_lib_soname_cups="libcups.so"
15105 rm -f conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_get_soname_save_LIBS
15109 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15110 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15111 if test "x$ac_cv_lib_soname_cups" != xNONE
15113 cat >>confdefs.h <<_ACEOF
15114 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15118 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15119 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15120 if test "${ac_cv_lib_soname_jack+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 ac_get_soname_save_LIBS=$LIBS
15124 LIBS="-ljack $LIBS"
15125 cat >conftest.$ac_ext <<_ACEOF
15128 cat confdefs.h >>conftest.$ac_ext
15129 cat >>conftest.$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15132 /* Override any gcc2 internal prototype to avoid an error. */
15136 /* We use char because int might match the return type of a gcc2
15137 builtin and then its argument prototype would still apply. */
15138 char jack_client_new ();
15142 jack_client_new ();
15147 rm -f conftest.$ac_objext conftest$ac_exeext
15148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15149 (eval $ac_link) 2>conftest.er1
15151 grep -v '^ *+' conftest.er1 >conftest.err
15153 cat conftest.err >&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } &&
15156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; } &&
15162 { ac_try='test -s conftest$ac_exeext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
15169 if test "x$ac_cv_lib_soname_jack" = "x"
15171 ac_cv_lib_soname_jack="libjack.so"
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.$ac_ext >&5
15177 ac_cv_lib_soname_jack="libjack.so"
15179 rm -f conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15181 LIBS=$ac_get_soname_save_LIBS
15183 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15184 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15185 if test "x$ac_cv_lib_soname_jack" != xNONE
15187 cat >>confdefs.h <<_ACEOF
15188 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15192 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15193 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15194 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 ac_get_soname_save_LIBS=$LIBS
15198 LIBS="-lfontconfig $LIBS"
15199 cat >conftest.$ac_ext <<_ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15206 /* Override any gcc2 internal prototype to avoid an error. */
15210 /* We use char because int might match the return type of a gcc2
15211 builtin and then its argument prototype would still apply. */
15221 rm -f conftest.$ac_objext conftest$ac_exeext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15223 (eval $ac_link) 2>conftest.er1
15225 grep -v '^ *+' conftest.er1 >conftest.err
15227 cat conftest.err >&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; } &&
15236 { ac_try='test -s conftest$ac_exeext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15242 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
15243 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15245 ac_cv_lib_soname_fontconfig="libfontconfig.so"
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15251 ac_cv_lib_soname_fontconfig="libfontconfig.so"
15253 rm -f conftest.err conftest.$ac_objext \
15254 conftest$ac_exeext conftest.$ac_ext
15255 LIBS=$ac_get_soname_save_LIBS
15257 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15258 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15259 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15261 cat >>confdefs.h <<_ACEOF
15262 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15266 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15267 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15268 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15269 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 ac_get_soname_save_LIBS=$LIBS
15273 cat >conftest.$ac_ext <<_ACEOF
15276 cat confdefs.h >>conftest.$ac_ext
15277 cat >>conftest.$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15280 /* Override any gcc2 internal prototype to avoid an error. */
15284 /* We use char because int might match the return type of a gcc2
15285 builtin and then its argument prototype would still apply. */
15286 char SSL_library_init ();
15290 SSL_library_init ();
15295 rm -f conftest.$ac_objext conftest$ac_exeext
15296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15297 (eval $ac_link) 2>conftest.er1
15299 grep -v '^ *+' conftest.er1 >conftest.err
15301 cat conftest.err >&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } &&
15304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; } &&
15310 { ac_try='test -s conftest$ac_exeext'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; }; then
15316 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
15317 if test "x$ac_cv_lib_soname_ssl" = "x"
15319 ac_cv_lib_soname_ssl="libssl.so"
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15325 ac_cv_lib_soname_ssl="libssl.so"
15327 rm -f conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_get_soname_save_LIBS
15331 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15332 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15333 if test "x$ac_cv_lib_soname_ssl" != xNONE
15335 cat >>confdefs.h <<_ACEOF
15336 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15340 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15341 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15342 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15343 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 ac_get_soname_save_LIBS=$LIBS
15346 LIBS="-lcrypto $LIBS"
15347 cat >conftest.$ac_ext <<_ACEOF
15350 cat confdefs.h >>conftest.$ac_ext
15351 cat >>conftest.$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15354 /* Override any gcc2 internal prototype to avoid an error. */
15358 /* We use char because int might match the return type of a gcc2
15359 builtin and then its argument prototype would still apply. */
15360 char BIO_new_socket ();
15369 rm -f conftest.$ac_objext conftest$ac_exeext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15371 (eval $ac_link) 2>conftest.er1
15373 grep -v '^ *+' conftest.er1 >conftest.err
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
15391 if test "x$ac_cv_lib_soname_crypto" = "x"
15393 ac_cv_lib_soname_crypto="libcrypto.so"
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15399 ac_cv_lib_soname_crypto="libcrypto.so"
15401 rm -f conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS=$ac_get_soname_save_LIBS
15405 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15406 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15407 if test "x$ac_cv_lib_soname_crypto" != xNONE
15409 cat >>confdefs.h <<_ACEOF
15410 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15414 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15415 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15416 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 ac_get_soname_save_LIBS=$LIBS
15420 LIBS="-lncurses $LIBS"
15421 cat >conftest.$ac_ext <<_ACEOF
15424 cat confdefs.h >>conftest.$ac_ext
15425 cat >>conftest.$ac_ext <<_ACEOF
15426 /* end confdefs.h. */
15428 /* Override any gcc2 internal prototype to avoid an error. */
15432 /* We use char because int might match the return type of a gcc2
15433 builtin and then its argument prototype would still apply. */
15443 rm -f conftest.$ac_objext conftest$ac_exeext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15445 (eval $ac_link) 2>conftest.er1
15447 grep -v '^ *+' conftest.er1 >conftest.err
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; } &&
15458 { ac_try='test -s conftest$ac_exeext'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; }; then
15464 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15465 if test "x$ac_cv_lib_soname_ncurses" = "x"
15467 ac_cv_lib_soname_ncurses="libncurses.so"
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 ac_cv_lib_soname_ncurses="libncurses.so"
15475 rm -f conftest.err conftest.$ac_objext \
15476 conftest$ac_exeext conftest.$ac_ext
15477 LIBS=$ac_get_soname_save_LIBS
15479 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15480 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15481 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15483 cat >>confdefs.h <<_ACEOF
15484 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15488 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15489 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15490 if test "${ac_cv_lib_soname_curses+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 ac_get_soname_save_LIBS=$LIBS
15494 LIBS="-lcurses $LIBS"
15495 cat >conftest.$ac_ext <<_ACEOF
15498 cat confdefs.h >>conftest.$ac_ext
15499 cat >>conftest.$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15502 /* Override any gcc2 internal prototype to avoid an error. */
15506 /* We use char because int might match the return type of a gcc2
15507 builtin and then its argument prototype would still apply. */
15517 rm -f conftest.$ac_objext conftest$ac_exeext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15519 (eval $ac_link) 2>conftest.er1
15521 grep -v '^ *+' conftest.er1 >conftest.err
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try='test -s conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15539 if test "x$ac_cv_lib_soname_curses" = "x"
15541 ac_cv_lib_soname_curses="libcurses.so"
15544 echo "$as_me: failed program was:" >&5
15545 sed 's/^/| /' conftest.$ac_ext >&5
15547 ac_cv_lib_soname_curses="libcurses.so"
15549 rm -f conftest.err conftest.$ac_objext \
15550 conftest$ac_exeext conftest.$ac_ext
15551 LIBS=$ac_get_soname_save_LIBS
15553 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15554 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15555 if test "x$ac_cv_lib_soname_curses" != xNONE
15557 cat >>confdefs.h <<_ACEOF
15558 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15565 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15566 # for constant arguments. Useless!
15567 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15568 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15569 if test "${ac_cv_working_alloca_h+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 cat >conftest.$ac_ext <<_ACEOF
15575 cat confdefs.h >>conftest.$ac_ext
15576 cat >>conftest.$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578 #include <alloca.h>
15582 char *p = (char *) alloca (2 * sizeof (int));
15587 rm -f conftest.$ac_objext conftest$ac_exeext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15589 (eval $ac_link) 2>conftest.er1
15591 grep -v '^ *+' conftest.er1 >conftest.err
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try='test -s conftest$ac_exeext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_cv_working_alloca_h=yes
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15613 ac_cv_working_alloca_h=no
15615 rm -f conftest.err conftest.$ac_objext \
15616 conftest$ac_exeext conftest.$ac_ext
15618 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15619 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15620 if test $ac_cv_working_alloca_h = yes; then
15622 cat >>confdefs.h <<\_ACEOF
15623 #define HAVE_ALLOCA_H 1
15628 echo "$as_me:$LINENO: checking for alloca" >&5
15629 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15630 if test "${ac_cv_func_alloca_works+set}" = set; then
15631 echo $ECHO_N "(cached) $ECHO_C" >&6
15633 cat >conftest.$ac_ext <<_ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15640 # define alloca __builtin_alloca
15643 # include <malloc.h>
15644 # define alloca _alloca
15647 # include <alloca.h>
15652 # ifndef alloca /* predefined by HP cc +Olibcalls */
15663 char *p = (char *) alloca (1);
15668 rm -f conftest.$ac_objext conftest$ac_exeext
15669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15670 (eval $ac_link) 2>conftest.er1
15672 grep -v '^ *+' conftest.er1 >conftest.err
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } &&
15677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; } &&
15683 { ac_try='test -s conftest$ac_exeext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_cv_func_alloca_works=yes
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.$ac_ext >&5
15694 ac_cv_func_alloca_works=no
15696 rm -f conftest.err conftest.$ac_objext \
15697 conftest$ac_exeext conftest.$ac_ext
15699 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15700 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15702 if test $ac_cv_func_alloca_works = yes; then
15704 cat >>confdefs.h <<\_ACEOF
15705 #define HAVE_ALLOCA 1
15709 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15710 # that cause trouble. Some versions do not even contain alloca or
15711 # contain a buggy version. If you still want to use their alloca,
15712 # use ar to extract alloca.o from them instead of compiling alloca.c.
15714 ALLOCA=alloca.$ac_objext
15716 cat >>confdefs.h <<\_ACEOF
15721 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15722 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15723 if test "${ac_cv_os_cray+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 cat >conftest.$ac_ext <<_ACEOF
15729 cat confdefs.h >>conftest.$ac_ext
15730 cat >>conftest.$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15732 #if defined(CRAY) && ! defined(CRAY2)
15739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15740 $EGREP "webecray" >/dev/null 2>&1; then
15748 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15749 echo "${ECHO_T}$ac_cv_os_cray" >&6
15750 if test $ac_cv_os_cray = yes; then
15751 for ac_func in _getb67 GETB67 getb67; do
15752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15753 echo "$as_me:$LINENO: checking for $ac_func" >&5
15754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15755 if eval "test \"\${$as_ac_var+set}\" = set"; then
15756 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 cat >conftest.$ac_ext <<_ACEOF
15761 cat confdefs.h >>conftest.$ac_ext
15762 cat >>conftest.$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15766 #define $ac_func innocuous_$ac_func
15768 /* System header to define __stub macros and hopefully few prototypes,
15769 which can conflict with char $ac_func (); below.
15770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15771 <limits.h> exists even on freestanding compilers. */
15774 # include <limits.h>
15776 # include <assert.h>
15781 /* Override any gcc2 internal prototype to avoid an error. */
15786 /* We use char because int might match the return type of a gcc2
15787 builtin and then its argument prototype would still apply. */
15789 /* The GNU C library defines this for functions which it implements
15790 to always fail with ENOSYS. Some functions are actually named
15791 something starting with __ and the normal name is an alias. */
15792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15795 char (*f) () = $ac_func;
15804 return f != $ac_func;
15809 rm -f conftest.$ac_objext conftest$ac_exeext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15811 (eval $ac_link) 2>conftest.er1
15813 grep -v '^ *+' conftest.er1 >conftest.err
15815 cat conftest.err >&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; } &&
15824 { ac_try='test -s conftest$ac_exeext'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; }; then
15830 eval "$as_ac_var=yes"
15832 echo "$as_me: failed program was:" >&5
15833 sed 's/^/| /' conftest.$ac_ext >&5
15835 eval "$as_ac_var=no"
15837 rm -f conftest.err conftest.$ac_objext \
15838 conftest$ac_exeext conftest.$ac_ext
15840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15842 if test `eval echo '${'$as_ac_var'}'` = yes; then
15844 cat >>confdefs.h <<_ACEOF
15845 #define CRAY_STACKSEG_END $ac_func
15854 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15855 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15856 if test "${ac_cv_c_stack_direction+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15859 if test "$cross_compiling" = yes; then
15860 ac_cv_c_stack_direction=0
15862 cat >conftest.$ac_ext <<_ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15869 find_stack_direction ()
15871 static char *addr = 0;
15876 return find_stack_direction ();
15879 return (&dummy > addr) ? 1 : -1;
15885 exit (find_stack_direction () < 0);
15888 rm -f conftest$ac_exeext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15890 (eval $ac_link) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 ac_cv_c_stack_direction=1
15901 echo "$as_me: program exited with status $ac_status" >&5
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15905 ( exit $ac_status )
15906 ac_cv_c_stack_direction=-1
15908 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15911 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15912 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15914 cat >>confdefs.h <<_ACEOF
15915 #define STACK_DIRECTION $ac_cv_c_stack_direction
16034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16035 echo "$as_me:$LINENO: checking for $ac_func" >&5
16036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16037 if eval "test \"\${$as_ac_var+set}\" = set"; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 cat >conftest.$ac_ext <<_ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16048 #define $ac_func innocuous_$ac_func
16050 /* System header to define __stub macros and hopefully few prototypes,
16051 which can conflict with char $ac_func (); below.
16052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16053 <limits.h> exists even on freestanding compilers. */
16056 # include <limits.h>
16058 # include <assert.h>
16063 /* Override any gcc2 internal prototype to avoid an error. */
16068 /* We use char because int might match the return type of a gcc2
16069 builtin and then its argument prototype would still apply. */
16071 /* The GNU C library defines this for functions which it implements
16072 to always fail with ENOSYS. Some functions are actually named
16073 something starting with __ and the normal name is an alias. */
16074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16077 char (*f) () = $ac_func;
16086 return f != $ac_func;
16091 rm -f conftest.$ac_objext conftest$ac_exeext
16092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16093 (eval $ac_link) 2>conftest.er1
16095 grep -v '^ *+' conftest.er1 >conftest.err
16097 cat conftest.err >&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); } &&
16100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16102 (eval $ac_try) 2>&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); }; } &&
16106 { ac_try='test -s conftest$ac_exeext'
16107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16108 (eval $ac_try) 2>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); }; }; then
16112 eval "$as_ac_var=yes"
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16117 eval "$as_ac_var=no"
16119 rm -f conftest.err conftest.$ac_objext \
16120 conftest$ac_exeext conftest.$ac_ext
16122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16124 if test `eval echo '${'$as_ac_var'}'` = yes; then
16125 cat >>confdefs.h <<_ACEOF
16126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16225 fontconfig/fontconfig.h \
16245 netinet/in_systm.h \
16247 netinet/tcp_fsm.h \
16257 scsi/scsi_ioctl.h \
16302 valgrind/memcheck.h
16305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16307 echo "$as_me:$LINENO: checking for $ac_header" >&5
16308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16310 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16315 # Is the header compilable?
16316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16318 cat >conftest.$ac_ext <<_ACEOF
16321 cat confdefs.h >>conftest.$ac_ext
16322 cat >>conftest.$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16325 #include <$ac_header>
16327 rm -f conftest.$ac_objext
16328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16329 (eval $ac_compile) 2>conftest.er1
16331 grep -v '^ *+' conftest.er1 >conftest.err
16333 cat conftest.err >&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } &&
16336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; } &&
16342 { ac_try='test -s conftest.$ac_objext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16348 ac_header_compiler=yes
16350 echo "$as_me: failed program was:" >&5
16351 sed 's/^/| /' conftest.$ac_ext >&5
16353 ac_header_compiler=no
16355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16357 echo "${ECHO_T}$ac_header_compiler" >&6
16359 # Is the header present?
16360 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16361 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16362 cat >conftest.$ac_ext <<_ACEOF
16365 cat confdefs.h >>conftest.$ac_ext
16366 cat >>conftest.$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16368 #include <$ac_header>
16370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16373 grep -v '^ *+' conftest.er1 >conftest.err
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } >/dev/null; then
16378 if test -s conftest.err; then
16379 ac_cpp_err=$ac_c_preproc_warn_flag
16380 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16387 if test -z "$ac_cpp_err"; then
16388 ac_header_preproc=yes
16390 echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.$ac_ext >&5
16393 ac_header_preproc=no
16395 rm -f conftest.err conftest.$ac_ext
16396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16397 echo "${ECHO_T}$ac_header_preproc" >&6
16399 # So? What about this header?
16400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16402 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16403 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16405 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16406 ac_header_preproc=yes
16409 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16411 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16413 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16414 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16415 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16416 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16419 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16420 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16423 ## ------------------------------------ ##
16424 ## Report this to wine-devel@winehq.org ##
16425 ## ------------------------------------ ##
16428 sed "s/^/$as_me: WARNING: /" >&2
16431 echo "$as_me:$LINENO: checking for $ac_header" >&5
16432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16434 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 eval "$as_ac_Header=\$ac_header_preproc"
16438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16443 cat >>confdefs.h <<_ACEOF
16444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16451 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16452 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16453 if test "${ac_cv_header_stat_broken+set}" = set; then
16454 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 cat >conftest.$ac_ext <<_ACEOF
16459 cat confdefs.h >>conftest.$ac_ext
16460 cat >>conftest.$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16462 #include <sys/types.h>
16463 #include <sys/stat.h>
16465 #if defined(S_ISBLK) && defined(S_IFDIR)
16466 # if S_ISBLK (S_IFDIR)
16471 #if defined(S_ISBLK) && defined(S_IFCHR)
16472 # if S_ISBLK (S_IFCHR)
16477 #if defined(S_ISLNK) && defined(S_IFREG)
16478 # if S_ISLNK (S_IFREG)
16483 #if defined(S_ISSOCK) && defined(S_IFREG)
16484 # if S_ISSOCK (S_IFREG)
16490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16491 $EGREP "You lose" >/dev/null 2>&1; then
16492 ac_cv_header_stat_broken=yes
16494 ac_cv_header_stat_broken=no
16499 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16500 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16501 if test $ac_cv_header_stat_broken = yes; then
16503 cat >>confdefs.h <<\_ACEOF
16504 #define STAT_MACROS_BROKEN 1
16513 for ac_header in sys/mount.h sys/user.h
16515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16516 echo "$as_me:$LINENO: checking for $ac_header" >&5
16517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 cat >conftest.$ac_ext <<_ACEOF
16524 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <sys/types.h>
16528 #if HAVE_SYS_PARAM_H
16529 # include <sys/param.h>
16532 #include <$ac_header>
16534 rm -f conftest.$ac_objext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16536 (eval $ac_compile) 2>conftest.er1
16538 grep -v '^ *+' conftest.er1 >conftest.err
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; } &&
16549 { ac_try='test -s conftest.$ac_objext'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; }; then
16555 eval "$as_ac_Header=yes"
16557 echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.$ac_ext >&5
16560 eval "$as_ac_Header=no"
16562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16567 cat >>confdefs.h <<_ACEOF
16568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16581 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h
16583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16584 echo "$as_me:$LINENO: checking for $ac_header" >&5
16585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 cat >conftest.$ac_ext <<_ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 #include <sys/types.h>
16596 #if HAVE_SYS_SOCKET_H
16597 # include <sys/socket.h>
16600 #include <$ac_header>
16602 rm -f conftest.$ac_objext
16603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16604 (eval $ac_compile) 2>conftest.er1
16606 grep -v '^ *+' conftest.er1 >conftest.err
16608 cat conftest.err >&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); } &&
16611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; } &&
16617 { ac_try='test -s conftest.$ac_objext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 eval "$as_ac_Header=yes"
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16628 eval "$as_ac_Header=no"
16630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16635 cat >>confdefs.h <<_ACEOF
16636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16645 for ac_header in resolv.h
16647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16648 echo "$as_me:$LINENO: checking for $ac_header" >&5
16649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 cat >conftest.$ac_ext <<_ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659 #include <sys/types.h>
16660 #if HAVE_SYS_SOCKET_H
16661 # include <sys/socket.h>
16663 #if HAVE_NETINET_IN_H
16664 # include <netinet/in.h>
16666 #if HAVE_ARPA_NAMESER_H
16667 # include <arpa/nameser.h>
16670 #include <$ac_header>
16672 rm -f conftest.$ac_objext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>conftest.er1
16676 grep -v '^ *+' conftest.er1 >conftest.err
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; } &&
16687 { ac_try='test -s conftest.$ac_objext'
16688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16689 (eval $ac_try) 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; }; then
16693 eval "$as_ac_Header=yes"
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16698 eval "$as_ac_Header=no"
16700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16705 cat >>confdefs.h <<_ACEOF
16706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16715 for ac_header in netinet/ip.h
16717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16718 echo "$as_me:$LINENO: checking for $ac_header" >&5
16719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16721 echo $ECHO_N "(cached) $ECHO_C" >&6
16723 cat >conftest.$ac_ext <<_ACEOF
16726 cat confdefs.h >>conftest.$ac_ext
16727 cat >>conftest.$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16729 #include <sys/types.h>
16730 #if HAVE_SYS_SOCKET_H
16731 # include <sys/socket.h>
16733 #if HAVE_NETINET_IN_SYSTM_H
16734 # include <netinet/in_systm.h>
16737 #include <$ac_header>
16739 rm -f conftest.$ac_objext
16740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16741 (eval $ac_compile) 2>conftest.er1
16743 grep -v '^ *+' conftest.er1 >conftest.err
16745 cat conftest.err >&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; } &&
16754 { ac_try='test -s conftest.$ac_objext'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; }; then
16760 eval "$as_ac_Header=yes"
16762 echo "$as_me: failed program was:" >&5
16763 sed 's/^/| /' conftest.$ac_ext >&5
16765 eval "$as_ac_Header=no"
16767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16772 cat >>confdefs.h <<_ACEOF
16773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16782 for ac_header in ucontext.h
16784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 cat >conftest.$ac_ext <<_ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 #include <signal.h>
16798 #include <$ac_header>
16800 rm -f conftest.$ac_objext
16801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16802 (eval $ac_compile) 2>conftest.er1
16804 grep -v '^ *+' conftest.er1 >conftest.err
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } &&
16809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; } &&
16815 { ac_try='test -s conftest.$ac_objext'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; }; then
16821 eval "$as_ac_Header=yes"
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.$ac_ext >&5
16826 eval "$as_ac_Header=no"
16828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16833 cat >>confdefs.h <<_ACEOF
16834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16843 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16844 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16845 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16846 echo $ECHO_N "(cached) $ECHO_C" >&6
16848 cat >conftest.$ac_ext <<_ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16854 #include <sys/types.h>
16855 #ifdef HAVE_SYS_SOCKET_H
16856 # include <sys/socket.h>
16858 #include <netipx/ipx.h>
16862 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16867 rm -f conftest.$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16871 grep -v '^ *+' conftest.er1 >conftest.err
16873 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; } &&
16882 { ac_try='test -s conftest.$ac_objext'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 ac_cv_c_ipx_gnu="yes"
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16893 ac_cv_c_ipx_gnu="no"
16895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16898 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16899 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16900 if test "$ac_cv_c_ipx_gnu" = "yes"
16903 cat >>confdefs.h <<\_ACEOF
16904 #define HAVE_IPX_GNU 1
16909 if test "$ac_cv_c_ipx_gnu" = "no"
16911 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16912 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16913 if test "${ac_cv_c_ipx_linux+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 cat >conftest.$ac_ext <<_ACEOF
16919 cat confdefs.h >>conftest.$ac_ext
16920 cat >>conftest.$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922 #include <sys/types.h>
16923 #ifdef HAVE_SYS_SOCKET_H
16924 # include <sys/socket.h>
16926 #include <asm/types.h>
16927 #include <linux/ipx.h>
16931 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16936 rm -f conftest.$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16940 grep -v '^ *+' conftest.er1 >conftest.err
16942 cat conftest.err >&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16947 (eval $ac_try) 2>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); }; } &&
16951 { ac_try='test -s conftest.$ac_objext'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; }; then
16957 ac_cv_c_ipx_linux="yes"
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16962 ac_cv_c_ipx_linux="no"
16964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16967 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16968 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16969 if test "$ac_cv_c_ipx_linux" = "yes"
16972 cat >>confdefs.h <<\_ACEOF
16973 #define HAVE_IPX_LINUX 1
16980 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16981 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16982 if test "${ac_cv_c_const+set}" = set; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 cat >conftest.$ac_ext <<_ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16995 /* FIXME: Include the comments suggested by Paul. */
16996 #ifndef __cplusplus
16997 /* Ultrix mips cc rejects this. */
16998 typedef int charset[2];
17000 /* SunOS 4.1.1 cc rejects this. */
17001 char const *const *ccp;
17003 /* NEC SVR4.0.2 mips cc rejects this. */
17004 struct point {int x, y;};
17005 static struct point const zero = {0,0};
17006 /* AIX XL C 1.02.0.0 rejects this.
17007 It does not let you subtract one const X* pointer from another in
17008 an arm of an if-expression whose if-part is not a constant
17010 const char *g = "string";
17011 ccp = &g + (g ? g-g : 0);
17012 /* HPUX 7.0 cc rejects these. */
17015 ccp = (char const *const *) p;
17016 { /* SCO 3.2v4 cc rejects this. */
17018 char const *s = 0 ? (char *) 0 : (char const *) 0;
17022 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17023 int x[] = {25, 17};
17024 const int *foo = &x[0];
17027 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17028 typedef const int *iptr;
17032 { /* AIX XL C 1.02.0.0 rejects this saying
17033 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17034 struct s { int j; const int *ap[3]; };
17035 struct s *b; b->j = 5;
17037 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17038 const int foo = 10;
17046 rm -f conftest.$ac_objext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048 (eval $ac_compile) 2>conftest.er1
17050 grep -v '^ *+' conftest.er1 >conftest.err
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } &&
17055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; } &&
17061 { ac_try='test -s conftest.$ac_objext'
17062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17063 (eval $ac_try) 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17077 echo "${ECHO_T}$ac_cv_c_const" >&6
17078 if test $ac_cv_c_const = no; then
17080 cat >>confdefs.h <<\_ACEOF
17086 echo "$as_me:$LINENO: checking for inline" >&5
17087 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17088 if test "${ac_cv_c_inline+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17092 for ac_kw in inline __inline__ __inline; do
17093 cat >conftest.$ac_ext <<_ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 #ifndef __cplusplus
17101 static $ac_kw foo_t static_foo () {return 0; }
17102 $ac_kw foo_t foo () {return 0; }
17106 rm -f conftest.$ac_objext
17107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17108 (eval $ac_compile) 2>conftest.er1
17110 grep -v '^ *+' conftest.er1 >conftest.err
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } &&
17115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; } &&
17121 { ac_try='test -s conftest.$ac_objext'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; }; then
17127 ac_cv_c_inline=$ac_kw; break
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.$ac_ext >&5
17133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17137 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17138 echo "${ECHO_T}$ac_cv_c_inline" >&6
17141 case $ac_cv_c_inline in
17144 case $ac_cv_c_inline in
17146 *) ac_val=$ac_cv_c_inline;;
17148 cat >>confdefs.h <<_ACEOF
17149 #ifndef __cplusplus
17150 #define inline $ac_val
17156 echo "$as_me:$LINENO: checking for mode_t" >&5
17157 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17158 if test "${ac_cv_type_mode_t+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 cat >conftest.$ac_ext <<_ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 $ac_includes_default
17173 if (sizeof (mode_t))
17179 rm -f conftest.$ac_objext
17180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17181 (eval $ac_compile) 2>conftest.er1
17183 grep -v '^ *+' conftest.er1 >conftest.err
17185 cat conftest.err >&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } &&
17188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_cv_type_mode_t=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 ac_cv_type_mode_t=no
17207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17209 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17210 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17211 if test $ac_cv_type_mode_t = yes; then
17213 cat >>confdefs.h <<_ACEOF
17214 #define HAVE_MODE_T 1
17219 echo "$as_me:$LINENO: checking for off_t" >&5
17220 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17221 if test "${ac_cv_type_off_t+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 cat >conftest.$ac_ext <<_ACEOF
17227 cat confdefs.h >>conftest.$ac_ext
17228 cat >>conftest.$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 $ac_includes_default
17236 if (sizeof (off_t))
17242 rm -f conftest.$ac_objext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17244 (eval $ac_compile) 2>conftest.er1
17246 grep -v '^ *+' conftest.er1 >conftest.err
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 ac_cv_type_off_t=yes
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17268 ac_cv_type_off_t=no
17270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17272 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17273 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17274 if test $ac_cv_type_off_t = yes; then
17276 cat >>confdefs.h <<_ACEOF
17277 #define HAVE_OFF_T 1
17282 echo "$as_me:$LINENO: checking for pid_t" >&5
17283 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17284 if test "${ac_cv_type_pid_t+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 cat >conftest.$ac_ext <<_ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 $ac_includes_default
17299 if (sizeof (pid_t))
17305 rm -f conftest.$ac_objext
17306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17307 (eval $ac_compile) 2>conftest.er1
17309 grep -v '^ *+' conftest.er1 >conftest.err
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } &&
17314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; } &&
17320 { ac_try='test -s conftest.$ac_objext'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17326 ac_cv_type_pid_t=yes
17328 echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.$ac_ext >&5
17331 ac_cv_type_pid_t=no
17333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17335 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17336 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17337 if test $ac_cv_type_pid_t = yes; then
17339 cat >>confdefs.h <<_ACEOF
17340 #define HAVE_PID_T 1
17345 echo "$as_me:$LINENO: checking for size_t" >&5
17346 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17347 if test "${ac_cv_type_size_t+set}" = set; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 cat >conftest.$ac_ext <<_ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 $ac_includes_default
17362 if (sizeof (size_t))
17368 rm -f conftest.$ac_objext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17370 (eval $ac_compile) 2>conftest.er1
17372 grep -v '^ *+' conftest.er1 >conftest.err
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; } &&
17383 { ac_try='test -s conftest.$ac_objext'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; }; then
17389 ac_cv_type_size_t=yes
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.$ac_ext >&5
17394 ac_cv_type_size_t=no
17396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17398 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17399 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17400 if test $ac_cv_type_size_t = yes; then
17402 cat >>confdefs.h <<_ACEOF
17403 #define HAVE_SIZE_T 1
17408 echo "$as_me:$LINENO: checking for ssize_t" >&5
17409 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17410 if test "${ac_cv_type_ssize_t+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 cat >conftest.$ac_ext <<_ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17425 if (sizeof (ssize_t))
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17435 grep -v '^ *+' conftest.er1 >conftest.err
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; } &&
17446 { ac_try='test -s conftest.$ac_objext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17452 ac_cv_type_ssize_t=yes
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.$ac_ext >&5
17457 ac_cv_type_ssize_t=no
17459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17461 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17462 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17463 if test $ac_cv_type_ssize_t = yes; then
17465 cat >>confdefs.h <<_ACEOF
17466 #define HAVE_SSIZE_T 1
17471 echo "$as_me:$LINENO: checking for long long" >&5
17472 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17473 if test "${ac_cv_type_long_long+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 cat >conftest.$ac_ext <<_ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 $ac_includes_default
17486 if ((long long *) 0)
17488 if (sizeof (long long))
17494 rm -f conftest.$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17498 grep -v '^ *+' conftest.er1 >conftest.err
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 ac_cv_type_long_long=yes
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 ac_cv_type_long_long=no
17522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17524 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17525 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17526 if test $ac_cv_type_long_long = yes; then
17528 cat >>confdefs.h <<_ACEOF
17529 #define HAVE_LONG_LONG 1
17534 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17535 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17536 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 cat >conftest.$ac_ext <<_ACEOF
17542 cat confdefs.h >>conftest.$ac_ext
17543 cat >>conftest.$ac_ext <<_ACEOF
17544 /* end confdefs.h. */
17545 $ac_includes_default
17549 if ((fsblkcnt_t *) 0)
17551 if (sizeof (fsblkcnt_t))
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17561 grep -v '^ *+' conftest.er1 >conftest.err
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_cv_type_fsblkcnt_t=yes
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17583 ac_cv_type_fsblkcnt_t=no
17585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17587 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17588 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17589 if test $ac_cv_type_fsblkcnt_t = yes; then
17591 cat >>confdefs.h <<_ACEOF
17592 #define HAVE_FSBLKCNT_T 1
17597 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17598 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17599 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 cat >conftest.$ac_ext <<_ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17608 $ac_includes_default
17612 if ((fsfilcnt_t *) 0)
17614 if (sizeof (fsfilcnt_t))
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17624 grep -v '^ *+' conftest.er1 >conftest.err
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17631 (eval $ac_try) 2>&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); }; } &&
17635 { ac_try='test -s conftest.$ac_objext'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; }; then
17641 ac_cv_type_fsfilcnt_t=yes
17643 echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.$ac_ext >&5
17646 ac_cv_type_fsfilcnt_t=no
17648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17650 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17651 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17652 if test $ac_cv_type_fsfilcnt_t = yes; then
17654 cat >>confdefs.h <<_ACEOF
17655 #define HAVE_FSFILCNT_T 1
17662 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17663 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17664 if test "${wine_cv_linux_input_h+set}" = set; then
17665 echo $ECHO_N "(cached) $ECHO_C" >&6
17667 cat >conftest.$ac_ext <<_ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17674 #include <linux/input.h>
17680 int foo = EVIOCGBIT(EV_ABS,42);
17681 int bar = BTN_PINKIE;
17688 rm -f conftest.$ac_objext
17689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17690 (eval $ac_compile) 2>conftest.er1
17692 grep -v '^ *+' conftest.er1 >conftest.err
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } &&
17697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; } &&
17703 { ac_try='test -s conftest.$ac_objext'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; }; then
17709 wine_cv_linux_input_h=yes
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.$ac_ext >&5
17714 wine_cv_linux_input_h=no
17716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17719 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17720 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17721 if test "$wine_cv_linux_input_h" = "yes"
17724 cat >>confdefs.h <<\_ACEOF
17725 #define HAVE_CORRECT_LINUXINPUT_H 1
17731 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17732 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17733 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 cat >conftest.$ac_ext <<_ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17751 struct hostent *result;
17758 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17759 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17765 rm -f conftest.$ac_objext conftest$ac_exeext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17767 (eval $ac_link) 2>conftest.er1
17769 grep -v '^ *+' conftest.er1 >conftest.err
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try='test -s conftest$ac_exeext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 wine_cv_linux_gethostbyname_r_6=yes
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 wine_cv_linux_gethostbyname_r_6=no
17794 rm -f conftest.err conftest.$ac_objext \
17795 conftest$ac_exeext conftest.$ac_ext
17798 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17799 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17800 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17809 if test "$ac_cv_header_linux_joystick_h" = "yes"
17811 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17812 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17813 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 cat >conftest.$ac_ext <<_ACEOF
17819 cat confdefs.h >>conftest.$ac_ext
17820 cat >>conftest.$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17823 #include <sys/ioctl.h>
17824 #include <linux/joystick.h>
17826 struct js_event blub;
17827 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17828 #error "no 2.2 header"
17839 rm -f conftest.$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17843 grep -v '^ *+' conftest.er1 >conftest.err
17845 cat conftest.err >&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; } &&
17854 { ac_try='test -s conftest.$ac_objext'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; }; then
17860 wine_cv_linux_joystick_22_api=yes
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.$ac_ext >&5
17865 wine_cv_linux_joystick_22_api=no
17867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17870 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17871 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17872 if test "$wine_cv_linux_joystick_22_api" = "yes"
17875 cat >>confdefs.h <<\_ACEOF
17876 #define HAVE_LINUX_22_JOYSTICK_API 1
17883 if test "$ac_cv_header_sys_vfs_h" = "yes"
17885 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17886 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17887 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17888 echo $ECHO_N "(cached) $ECHO_C" >&6
17890 cat >conftest.$ac_ext <<_ACEOF
17893 cat confdefs.h >>conftest.$ac_ext
17894 cat >>conftest.$ac_ext <<_ACEOF
17895 /* end confdefs.h. */
17897 #include <sys/types.h>
17898 #ifdef HAVE_SYS_PARAM_H
17899 # include <sys/param.h>
17901 #include <sys/vfs.h>
17907 struct statfs stfs;
17909 memset(&stfs,0,sizeof(stfs));
17915 rm -f conftest.$ac_objext
17916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17917 (eval $ac_compile) 2>conftest.er1
17919 grep -v '^ *+' conftest.er1 >conftest.err
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } &&
17924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; } &&
17930 { ac_try='test -s conftest.$ac_objext'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; }; then
17936 wine_cv_sys_vfs_has_statfs=yes
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17941 wine_cv_sys_vfs_has_statfs=no
17944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17947 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17948 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17949 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17952 cat >>confdefs.h <<\_ACEOF
17953 #define STATFS_DEFINED_BY_SYS_VFS 1
17959 if test "$ac_cv_header_sys_statfs_h" = "yes"
17961 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17962 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17963 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 cat >conftest.$ac_ext <<_ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17973 #include <sys/types.h>
17974 #ifdef HAVE_SYS_PARAM_H
17975 # include <sys/param.h>
17977 #include <sys/statfs.h>
17983 struct statfs stfs;
17989 rm -f conftest.$ac_objext
17990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17991 (eval $ac_compile) 2>conftest.er1
17993 grep -v '^ *+' conftest.er1 >conftest.err
17995 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } &&
17998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; } &&
18004 { ac_try='test -s conftest.$ac_objext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 wine_cv_sys_statfs_has_statfs=yes
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18015 wine_cv_sys_statfs_has_statfs=no
18018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18021 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18022 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18023 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18026 cat >>confdefs.h <<\_ACEOF
18027 #define STATFS_DEFINED_BY_SYS_STATFS 1
18033 if test "$ac_cv_header_sys_mount_h" = "yes"
18035 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18036 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18037 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18038 echo $ECHO_N "(cached) $ECHO_C" >&6
18040 cat >conftest.$ac_ext <<_ACEOF
18043 cat confdefs.h >>conftest.$ac_ext
18044 cat >>conftest.$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18047 #include <sys/types.h>
18048 #ifdef HAVE_SYS_PARAM_H
18049 # include <sys/param.h>
18051 #include <sys/mount.h>
18057 struct statfs stfs;
18063 rm -f conftest.$ac_objext
18064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18065 (eval $ac_compile) 2>conftest.er1
18067 grep -v '^ *+' conftest.er1 >conftest.err
18069 cat conftest.err >&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; } &&
18078 { ac_try='test -s conftest.$ac_objext'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18084 wine_cv_sys_mount_has_statfs=yes
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.$ac_ext >&5
18089 wine_cv_sys_mount_has_statfs=no
18092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18095 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18096 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18097 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18100 cat >>confdefs.h <<\_ACEOF
18101 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18108 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18109 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18110 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18113 cat >conftest.$ac_ext <<_ACEOF
18116 cat confdefs.h >>conftest.$ac_ext
18117 cat >>conftest.$ac_ext <<_ACEOF
18118 /* end confdefs.h. */
18119 #include <sys/types.h>
18120 #ifdef HAVE_SYS_PARAM_H
18121 # include <sys/param.h>
18123 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18124 # include <sys/mount.h>
18126 # ifdef STATFS_DEFINED_BY_SYS_VFS
18127 # include <sys/vfs.h>
18129 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18130 # include <sys/statfs.h>
18138 static struct statfs ac_aggr;
18139 if (ac_aggr.f_bfree)
18145 rm -f conftest.$ac_objext
18146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18147 (eval $ac_compile) 2>conftest.er1
18149 grep -v '^ *+' conftest.er1 >conftest.err
18151 cat conftest.err >&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); } &&
18154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; } &&
18160 { ac_try='test -s conftest.$ac_objext'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; }; then
18166 ac_cv_member_struct_statfs_f_bfree=yes
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 cat >conftest.$ac_ext <<_ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177 #include <sys/types.h>
18178 #ifdef HAVE_SYS_PARAM_H
18179 # include <sys/param.h>
18181 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18182 # include <sys/mount.h>
18184 # ifdef STATFS_DEFINED_BY_SYS_VFS
18185 # include <sys/vfs.h>
18187 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18188 # include <sys/statfs.h>
18196 static struct statfs ac_aggr;
18197 if (sizeof ac_aggr.f_bfree)
18203 rm -f conftest.$ac_objext
18204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18205 (eval $ac_compile) 2>conftest.er1
18207 grep -v '^ *+' conftest.er1 >conftest.err
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 ac_cv_member_struct_statfs_f_bfree=yes
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18229 ac_cv_member_struct_statfs_f_bfree=no
18231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18235 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18236 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18237 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18239 cat >>confdefs.h <<_ACEOF
18240 #define HAVE_STRUCT_STATFS_F_BFREE 1
18245 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18246 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18247 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18250 cat >conftest.$ac_ext <<_ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 #include <sys/types.h>
18257 #ifdef HAVE_SYS_PARAM_H
18258 # include <sys/param.h>
18260 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18261 # include <sys/mount.h>
18263 # ifdef STATFS_DEFINED_BY_SYS_VFS
18264 # include <sys/vfs.h>
18266 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18267 # include <sys/statfs.h>
18275 static struct statfs ac_aggr;
18276 if (ac_aggr.f_bavail)
18282 rm -f conftest.$ac_objext
18283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18284 (eval $ac_compile) 2>conftest.er1
18286 grep -v '^ *+' conftest.er1 >conftest.err
18288 cat conftest.err >&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); } &&
18291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; } &&
18297 { ac_try='test -s conftest.$ac_objext'
18298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18299 (eval $ac_try) 2>&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); }; }; then
18303 ac_cv_member_struct_statfs_f_bavail=yes
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18308 cat >conftest.$ac_ext <<_ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314 #include <sys/types.h>
18315 #ifdef HAVE_SYS_PARAM_H
18316 # include <sys/param.h>
18318 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18319 # include <sys/mount.h>
18321 # ifdef STATFS_DEFINED_BY_SYS_VFS
18322 # include <sys/vfs.h>
18324 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18325 # include <sys/statfs.h>
18333 static struct statfs ac_aggr;
18334 if (sizeof ac_aggr.f_bavail)
18340 rm -f conftest.$ac_objext
18341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18342 (eval $ac_compile) 2>conftest.er1
18344 grep -v '^ *+' conftest.er1 >conftest.err
18346 cat conftest.err >&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } &&
18349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 ac_cv_member_struct_statfs_f_bavail=yes
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18366 ac_cv_member_struct_statfs_f_bavail=no
18368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18372 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18373 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18374 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18376 cat >>confdefs.h <<_ACEOF
18377 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18382 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18383 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18384 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 cat >conftest.$ac_ext <<_ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #include <sys/types.h>
18394 #ifdef HAVE_SYS_PARAM_H
18395 # include <sys/param.h>
18397 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18398 # include <sys/mount.h>
18400 # ifdef STATFS_DEFINED_BY_SYS_VFS
18401 # include <sys/vfs.h>
18403 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18404 # include <sys/statfs.h>
18412 static struct statfs ac_aggr;
18413 if (ac_aggr.f_frsize)
18419 rm -f conftest.$ac_objext
18420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18421 (eval $ac_compile) 2>conftest.er1
18423 grep -v '^ *+' conftest.er1 >conftest.err
18425 cat conftest.err >&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } &&
18428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; } &&
18434 { ac_try='test -s conftest.$ac_objext'
18435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436 (eval $ac_try) 2>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18440 ac_cv_member_struct_statfs_f_frsize=yes
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18445 cat >conftest.$ac_ext <<_ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 #include <sys/types.h>
18452 #ifdef HAVE_SYS_PARAM_H
18453 # include <sys/param.h>
18455 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18456 # include <sys/mount.h>
18458 # ifdef STATFS_DEFINED_BY_SYS_VFS
18459 # include <sys/vfs.h>
18461 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18462 # include <sys/statfs.h>
18470 static struct statfs ac_aggr;
18471 if (sizeof ac_aggr.f_frsize)
18477 rm -f conftest.$ac_objext
18478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18479 (eval $ac_compile) 2>conftest.er1
18481 grep -v '^ *+' conftest.er1 >conftest.err
18483 cat conftest.err >&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; } &&
18492 { ac_try='test -s conftest.$ac_objext'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; }; then
18498 ac_cv_member_struct_statfs_f_frsize=yes
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18503 ac_cv_member_struct_statfs_f_frsize=no
18505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18509 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18510 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18511 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18513 cat >>confdefs.h <<_ACEOF
18514 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18519 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18520 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18521 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18522 echo $ECHO_N "(cached) $ECHO_C" >&6
18524 cat >conftest.$ac_ext <<_ACEOF
18527 cat confdefs.h >>conftest.$ac_ext
18528 cat >>conftest.$ac_ext <<_ACEOF
18529 /* end confdefs.h. */
18530 #include <sys/types.h>
18531 #ifdef HAVE_SYS_PARAM_H
18532 # include <sys/param.h>
18534 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18535 # include <sys/mount.h>
18537 # ifdef STATFS_DEFINED_BY_SYS_VFS
18538 # include <sys/vfs.h>
18540 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18541 # include <sys/statfs.h>
18549 static struct statfs ac_aggr;
18550 if (ac_aggr.f_ffree)
18556 rm -f conftest.$ac_objext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18558 (eval $ac_compile) 2>conftest.er1
18560 grep -v '^ *+' conftest.er1 >conftest.err
18562 cat conftest.err >&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_member_struct_statfs_f_ffree=yes
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18582 cat >conftest.$ac_ext <<_ACEOF
18585 cat confdefs.h >>conftest.$ac_ext
18586 cat >>conftest.$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 #include <sys/types.h>
18589 #ifdef HAVE_SYS_PARAM_H
18590 # include <sys/param.h>
18592 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18593 # include <sys/mount.h>
18595 # ifdef STATFS_DEFINED_BY_SYS_VFS
18596 # include <sys/vfs.h>
18598 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18599 # include <sys/statfs.h>
18607 static struct statfs ac_aggr;
18608 if (sizeof ac_aggr.f_ffree)
18614 rm -f conftest.$ac_objext
18615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18616 (eval $ac_compile) 2>conftest.er1
18618 grep -v '^ *+' conftest.er1 >conftest.err
18620 cat conftest.err >&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } &&
18623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try='test -s conftest.$ac_objext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_cv_member_struct_statfs_f_ffree=yes
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18640 ac_cv_member_struct_statfs_f_ffree=no
18642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18646 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18647 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18648 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18650 cat >>confdefs.h <<_ACEOF
18651 #define HAVE_STRUCT_STATFS_F_FFREE 1
18656 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18657 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18658 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 cat >conftest.$ac_ext <<_ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 #include <sys/types.h>
18668 #ifdef HAVE_SYS_PARAM_H
18669 # include <sys/param.h>
18671 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18672 # include <sys/mount.h>
18674 # ifdef STATFS_DEFINED_BY_SYS_VFS
18675 # include <sys/vfs.h>
18677 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18678 # include <sys/statfs.h>
18686 static struct statfs ac_aggr;
18687 if (ac_aggr.f_favail)
18693 rm -f conftest.$ac_objext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695 (eval $ac_compile) 2>conftest.er1
18697 grep -v '^ *+' conftest.er1 >conftest.err
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try='test -s conftest.$ac_objext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 ac_cv_member_struct_statfs_f_favail=yes
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18719 cat >conftest.$ac_ext <<_ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 #include <sys/types.h>
18726 #ifdef HAVE_SYS_PARAM_H
18727 # include <sys/param.h>
18729 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18730 # include <sys/mount.h>
18732 # ifdef STATFS_DEFINED_BY_SYS_VFS
18733 # include <sys/vfs.h>
18735 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18736 # include <sys/statfs.h>
18744 static struct statfs ac_aggr;
18745 if (sizeof ac_aggr.f_favail)
18751 rm -f conftest.$ac_objext
18752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18753 (eval $ac_compile) 2>conftest.er1
18755 grep -v '^ *+' conftest.er1 >conftest.err
18757 cat conftest.err >&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } &&
18760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; } &&
18766 { ac_try='test -s conftest.$ac_objext'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; }; then
18772 ac_cv_member_struct_statfs_f_favail=yes
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18777 ac_cv_member_struct_statfs_f_favail=no
18779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18783 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18784 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18785 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18793 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18794 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18795 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18798 cat >conftest.$ac_ext <<_ACEOF
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 #include <sys/types.h>
18805 #ifdef HAVE_SYS_PARAM_H
18806 # include <sys/param.h>
18808 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18809 # include <sys/mount.h>
18811 # ifdef STATFS_DEFINED_BY_SYS_VFS
18812 # include <sys/vfs.h>
18814 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18815 # include <sys/statfs.h>
18823 static struct statfs ac_aggr;
18824 if (ac_aggr.f_namelen)
18830 rm -f conftest.$ac_objext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18832 (eval $ac_compile) 2>conftest.er1
18834 grep -v '^ *+' conftest.er1 >conftest.err
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; } &&
18845 { ac_try='test -s conftest.$ac_objext'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18851 ac_cv_member_struct_statfs_f_namelen=yes
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.$ac_ext >&5
18856 cat >conftest.$ac_ext <<_ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <sys/types.h>
18863 #ifdef HAVE_SYS_PARAM_H
18864 # include <sys/param.h>
18866 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18867 # include <sys/mount.h>
18869 # ifdef STATFS_DEFINED_BY_SYS_VFS
18870 # include <sys/vfs.h>
18872 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18873 # include <sys/statfs.h>
18881 static struct statfs ac_aggr;
18882 if (sizeof ac_aggr.f_namelen)
18888 rm -f conftest.$ac_objext
18889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18890 (eval $ac_compile) 2>conftest.er1
18892 grep -v '^ *+' conftest.er1 >conftest.err
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; } &&
18903 { ac_try='test -s conftest.$ac_objext'
18904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905 (eval $ac_try) 2>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_cv_member_struct_statfs_f_namelen=yes
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.$ac_ext >&5
18914 ac_cv_member_struct_statfs_f_namelen=no
18916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18920 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18921 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18922 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18924 cat >>confdefs.h <<_ACEOF
18925 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18932 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18933 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18934 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 cat >conftest.$ac_ext <<_ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 #ifdef HAVE_SYS_STATVFS_H
18944 #include <sys/statvfs.h>
18950 static struct statvfs ac_aggr;
18951 if (ac_aggr.f_blocks)
18957 rm -f conftest.$ac_objext
18958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18959 (eval $ac_compile) 2>conftest.er1
18961 grep -v '^ *+' conftest.er1 >conftest.err
18963 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } &&
18966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try='test -s conftest.$ac_objext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 ac_cv_member_struct_statvfs_f_blocks=yes
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.$ac_ext >&5
18983 cat >conftest.$ac_ext <<_ACEOF
18986 cat confdefs.h >>conftest.$ac_ext
18987 cat >>conftest.$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 #ifdef HAVE_SYS_STATVFS_H
18990 #include <sys/statvfs.h>
18996 static struct statvfs ac_aggr;
18997 if (sizeof ac_aggr.f_blocks)
19003 rm -f conftest.$ac_objext
19004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19005 (eval $ac_compile) 2>conftest.er1
19007 grep -v '^ *+' conftest.er1 >conftest.err
19009 cat conftest.err >&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); } &&
19012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; } &&
19018 { ac_try='test -s conftest.$ac_objext'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; }; then
19024 ac_cv_member_struct_statvfs_f_blocks=yes
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.$ac_ext >&5
19029 ac_cv_member_struct_statvfs_f_blocks=no
19031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19035 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19036 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19037 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19047 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19048 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19049 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19050 echo $ECHO_N "(cached) $ECHO_C" >&6
19052 cat >conftest.$ac_ext <<_ACEOF
19055 cat confdefs.h >>conftest.$ac_ext
19056 cat >>conftest.$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 #include <sys/types.h>
19059 #ifdef HAVE_SYS_SOCKET_H
19060 # include <sys/socket.h>
19062 #ifdef HAVE_SYS_UN_H
19063 # include <sys/un.h>
19069 static struct msghdr ac_aggr;
19070 if (ac_aggr.msg_accrights)
19076 rm -f conftest.$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078 (eval $ac_compile) 2>conftest.er1
19080 grep -v '^ *+' conftest.er1 >conftest.err
19082 cat conftest.err >&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try='test -s conftest.$ac_objext'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; }; then
19097 ac_cv_member_struct_msghdr_msg_accrights=yes
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19102 cat >conftest.$ac_ext <<_ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 #include <sys/types.h>
19109 #ifdef HAVE_SYS_SOCKET_H
19110 # include <sys/socket.h>
19112 #ifdef HAVE_SYS_UN_H
19113 # include <sys/un.h>
19119 static struct msghdr ac_aggr;
19120 if (sizeof ac_aggr.msg_accrights)
19126 rm -f conftest.$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128 (eval $ac_compile) 2>conftest.er1
19130 grep -v '^ *+' conftest.er1 >conftest.err
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; } &&
19141 { ac_try='test -s conftest.$ac_objext'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 ac_cv_member_struct_msghdr_msg_accrights=yes
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19152 ac_cv_member_struct_msghdr_msg_accrights=no
19154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19158 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19159 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19160 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19168 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19169 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19170 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19171 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 cat >conftest.$ac_ext <<_ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 #include <sys/types.h>
19180 #ifdef HAVE_SYS_SOCKET_H
19181 # include <sys/socket.h>
19183 #ifdef HAVE_SYS_UN_H
19184 # include <sys/un.h>
19190 static struct sockaddr ac_aggr;
19191 if (ac_aggr.sa_len)
19197 rm -f conftest.$ac_objext
19198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19199 (eval $ac_compile) 2>conftest.er1
19201 grep -v '^ *+' conftest.er1 >conftest.err
19203 cat conftest.err >&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } &&
19206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; } &&
19212 { ac_try='test -s conftest.$ac_objext'
19213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214 (eval $ac_try) 2>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; }; then
19218 ac_cv_member_struct_sockaddr_sa_len=yes
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 cat >conftest.$ac_ext <<_ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 #include <sys/types.h>
19230 #ifdef HAVE_SYS_SOCKET_H
19231 # include <sys/socket.h>
19233 #ifdef HAVE_SYS_UN_H
19234 # include <sys/un.h>
19240 static struct sockaddr ac_aggr;
19241 if (sizeof ac_aggr.sa_len)
19247 rm -f conftest.$ac_objext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249 (eval $ac_compile) 2>conftest.er1
19251 grep -v '^ *+' conftest.er1 >conftest.err
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; } &&
19262 { ac_try='test -s conftest.$ac_objext'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 ac_cv_member_struct_sockaddr_sa_len=yes
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 ac_cv_member_struct_sockaddr_sa_len=no
19275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19279 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19280 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19281 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19283 cat >>confdefs.h <<_ACEOF
19284 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19289 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19290 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19291 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 cat >conftest.$ac_ext <<_ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #include <sys/types.h>
19301 #ifdef HAVE_SYS_SOCKET_H
19302 # include <sys/socket.h>
19304 #ifdef HAVE_SYS_UN_H
19305 # include <sys/un.h>
19311 static struct sockaddr_un ac_aggr;
19312 if (ac_aggr.sun_len)
19318 rm -f conftest.$ac_objext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19320 (eval $ac_compile) 2>conftest.er1
19322 grep -v '^ *+' conftest.er1 >conftest.err
19324 cat conftest.err >&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest.$ac_objext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19339 ac_cv_member_struct_sockaddr_un_sun_len=yes
19341 echo "$as_me: failed program was:" >&5
19342 sed 's/^/| /' conftest.$ac_ext >&5
19344 cat >conftest.$ac_ext <<_ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 #include <sys/types.h>
19351 #ifdef HAVE_SYS_SOCKET_H
19352 # include <sys/socket.h>
19354 #ifdef HAVE_SYS_UN_H
19355 # include <sys/un.h>
19361 static struct sockaddr_un ac_aggr;
19362 if (sizeof ac_aggr.sun_len)
19368 rm -f conftest.$ac_objext
19369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19370 (eval $ac_compile) 2>conftest.er1
19372 grep -v '^ *+' conftest.er1 >conftest.err
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } &&
19377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19379 (eval $ac_try) 2>&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); }; } &&
19383 { ac_try='test -s conftest.$ac_objext'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; }; then
19389 ac_cv_member_struct_sockaddr_un_sun_len=yes
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19394 ac_cv_member_struct_sockaddr_un_sun_len=no
19396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19400 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19401 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19402 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19412 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19413 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19414 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #include <signal.h>
19428 static siginfo_t ac_aggr;
19435 rm -f conftest.$ac_objext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19437 (eval $ac_compile) 2>conftest.er1
19439 grep -v '^ *+' conftest.er1 >conftest.err
19441 cat conftest.err >&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } &&
19444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; } &&
19450 { ac_try='test -s conftest.$ac_objext'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; }; then
19456 ac_cv_member_siginfo_t_si_fd=yes
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19461 cat >conftest.$ac_ext <<_ACEOF
19464 cat confdefs.h >>conftest.$ac_ext
19465 cat >>conftest.$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19467 #include <signal.h>
19472 static siginfo_t ac_aggr;
19473 if (sizeof ac_aggr.si_fd)
19479 rm -f conftest.$ac_objext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19481 (eval $ac_compile) 2>conftest.er1
19483 grep -v '^ *+' conftest.er1 >conftest.err
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_cv_member_siginfo_t_si_fd=yes
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19505 ac_cv_member_siginfo_t_si_fd=no
19507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19511 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19512 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19513 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19515 cat >>confdefs.h <<_ACEOF
19516 #define HAVE_SIGINFO_T_SI_FD 1
19523 echo "$as_me:$LINENO: checking for struct option.name" >&5
19524 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19525 if test "${ac_cv_member_struct_option_name+set}" = set; then
19526 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 cat >conftest.$ac_ext <<_ACEOF
19531 cat confdefs.h >>conftest.$ac_ext
19532 cat >>conftest.$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534 #ifdef HAVE_GETOPT_H
19535 #include <getopt.h>
19541 static struct option ac_aggr;
19548 rm -f conftest.$ac_objext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19550 (eval $ac_compile) 2>conftest.er1
19552 grep -v '^ *+' conftest.er1 >conftest.err
19554 cat conftest.err >&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } &&
19557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; } &&
19563 { ac_try='test -s conftest.$ac_objext'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 ac_cv_member_struct_option_name=yes
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.$ac_ext >&5
19574 cat >conftest.$ac_ext <<_ACEOF
19577 cat confdefs.h >>conftest.$ac_ext
19578 cat >>conftest.$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19580 #ifdef HAVE_GETOPT_H
19581 #include <getopt.h>
19587 static struct option ac_aggr;
19588 if (sizeof ac_aggr.name)
19594 rm -f conftest.$ac_objext
19595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19596 (eval $ac_compile) 2>conftest.er1
19598 grep -v '^ *+' conftest.er1 >conftest.err
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } &&
19603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; } &&
19609 { ac_try='test -s conftest.$ac_objext'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; }; then
19615 ac_cv_member_struct_option_name=yes
19617 echo "$as_me: failed program was:" >&5
19618 sed 's/^/| /' conftest.$ac_ext >&5
19620 ac_cv_member_struct_option_name=no
19622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19626 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19627 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19628 if test $ac_cv_member_struct_option_name = yes; then
19630 cat >>confdefs.h <<_ACEOF
19631 #define HAVE_STRUCT_OPTION_NAME 1
19638 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19639 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19640 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 cat >conftest.$ac_ext <<_ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19653 static struct stat ac_aggr;
19654 if (ac_aggr.st_blocks)
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19664 grep -v '^ *+' conftest.er1 >conftest.err
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19671 (eval $ac_try) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); }; } &&
19675 { ac_try='test -s conftest.$ac_objext'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; }; then
19681 ac_cv_member_struct_stat_st_blocks=yes
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19696 static struct stat ac_aggr;
19697 if (sizeof ac_aggr.st_blocks)
19703 rm -f conftest.$ac_objext
19704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19705 (eval $ac_compile) 2>conftest.er1
19707 grep -v '^ *+' conftest.er1 >conftest.err
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } &&
19712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; } &&
19718 { ac_try='test -s conftest.$ac_objext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_member_struct_stat_st_blocks=yes
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.$ac_ext >&5
19729 ac_cv_member_struct_stat_st_blocks=no
19731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19735 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19736 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19737 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19739 cat >>confdefs.h <<_ACEOF
19740 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19749 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19750 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19751 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 cat >conftest.$ac_ext <<_ACEOF
19757 cat confdefs.h >>conftest.$ac_ext
19758 cat >>conftest.$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19765 $EGREP "yes" >/dev/null 2>&1; then
19766 ac_cv_cpp_def___i386__=yes
19768 ac_cv_cpp_def___i386__=no
19773 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19774 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19775 if test $ac_cv_cpp_def___i386__ = yes; then
19776 CFLAGS="$CFLAGS -D__i386__"
19777 LINTFLAGS="$LINTFLAGS -D__i386__"
19780 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19781 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19782 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19783 echo $ECHO_N "(cached) $ECHO_C" >&6
19785 cat >conftest.$ac_ext <<_ACEOF
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19796 $EGREP "yes" >/dev/null 2>&1; then
19797 ac_cv_cpp_def___ALPHA__=yes
19799 ac_cv_cpp_def___ALPHA__=no
19804 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19805 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19806 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19807 CFLAGS="$CFLAGS -D__ALPHA__"
19808 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19811 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19812 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19813 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 cat >conftest.$ac_ext <<_ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19827 $EGREP "yes" >/dev/null 2>&1; then
19828 ac_cv_cpp_def___sparc__=yes
19830 ac_cv_cpp_def___sparc__=no
19835 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19836 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19837 if test $ac_cv_cpp_def___sparc__ = yes; then
19838 CFLAGS="$CFLAGS -D__sparc__"
19839 LINTFLAGS="$LINTFLAGS -D__sparc__"
19842 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19843 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19844 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19845 echo $ECHO_N "(cached) $ECHO_C" >&6
19847 cat >conftest.$ac_ext <<_ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 #ifndef __powerpc__
19857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19858 $EGREP "yes" >/dev/null 2>&1; then
19859 ac_cv_cpp_def___powerpc__=yes
19861 ac_cv_cpp_def___powerpc__=no
19866 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19867 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19868 if test $ac_cv_cpp_def___powerpc__ = yes; then
19869 CFLAGS="$CFLAGS -D__powerpc__"
19870 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19875 case $host_vendor in
19876 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19877 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19878 if test "${ac_cv_cpp_def___sun__+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___sun__=yes
19895 ac_cv_cpp_def___sun__=no
19900 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19901 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19902 if test $ac_cv_cpp_def___sun__ = yes; then
19903 CFLAGS="$CFLAGS -D__sun__"
19904 LINTFLAGS="$LINTFLAGS -D__sun__"
19913 ac_config_commands="$ac_config_commands controls"
19915 ac_config_commands="$ac_config_commands dlls/ddraw/d3ddevice"
19917 ac_config_commands="$ac_config_commands dlls/ddraw/dclipper"
19919 ac_config_commands="$ac_config_commands dlls/ddraw/ddraw"
19921 ac_config_commands="$ac_config_commands dlls/ddraw/direct3d"
19923 ac_config_commands="$ac_config_commands dlls/ddraw/dpalette"
19925 ac_config_commands="$ac_config_commands dlls/ddraw/dsurface"
19927 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
19929 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
19931 ac_config_commands="$ac_config_commands dlls/kernel/messages"
19933 ac_config_commands="$ac_config_commands dlls/user/dde"
19935 ac_config_commands="$ac_config_commands dlls/user/resources"
19937 ac_config_commands="$ac_config_commands dlls/wineps/data"
19939 ac_config_commands="$ac_config_commands files"
19941 ac_config_commands="$ac_config_commands include/wine"
19943 ac_config_commands="$ac_config_commands misc"
19945 ac_config_commands="$ac_config_commands objects"
19947 ac_config_commands="$ac_config_commands programs/regedit/tests"
19949 ac_config_commands="$ac_config_commands windows"
19952 MAKE_RULES=Make.rules
19955 MAKE_DLL_RULES=dlls/Makedll.rules
19958 MAKE_TEST_RULES=dlls/Maketest.rules
19961 MAKE_LIB_RULES=libs/Makelib.rules
19964 MAKE_PROG_RULES=programs/Makeprog.rules
19967 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/amstream/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/version/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/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"
19970 cat >confcache <<\_ACEOF
19971 # This file is a shell script that caches the results of configure
19972 # tests run on this system so they can be shared between configure
19973 # scripts and configure runs, see configure's option --config-cache.
19974 # It is not useful on other systems. If it contains results you don't
19975 # want to keep, you may remove or edit it.
19977 # config.status only pays attention to the cache file if you give it
19978 # the --recheck option to rerun configure.
19980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19982 # following values.
19986 # The following way of writing the cache mishandles newlines in values,
19987 # but we know of no workaround that is simple, portable, and efficient.
19988 # So, don't put newlines in cache variables' values.
19989 # Ultrix sh set writes to stderr and can't be redirected directly,
19990 # and sets the high bit in the cache file unless we assign to the vars.
19993 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19995 # `set' does not quote correctly, so add quotes (double-quote
19996 # substitution turns \\\\ into \\, and sed turns \\ into \).
19999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20002 # `set' quotes correctly as required by POSIX, so do not add quotes.
20004 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20011 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20013 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20015 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20016 if test -w $cache_file; then
20017 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20018 cat confcache >$cache_file
20020 echo "not updating unwritable cache $cache_file"
20025 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20026 # Let make expand exec_prefix.
20027 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20029 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20030 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20031 # trailing colons and then remove the whole line if VPATH becomes empty
20032 # (actually we leave an empty line to preserve line numbers).
20033 if test "x$srcdir" = x.; then
20034 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20035 s/:*\$(srcdir):*/:/;
20036 s/:*\${srcdir}:*/:/;
20038 s/^\([^=]*=[ ]*\):*/\1/;
20044 DEFS=-DHAVE_CONFIG_H
20048 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20049 # 1. Remove the extension, and $U if already installed.
20050 ac_i=`echo "$ac_i" |
20051 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20053 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20054 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20056 LIBOBJS=$ac_libobjs
20058 LTLIBOBJS=$ac_ltlibobjs
20062 : ${CONFIG_STATUS=./config.status}
20063 ac_clean_files_save=$ac_clean_files
20064 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20065 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20066 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20067 cat >$CONFIG_STATUS <<_ACEOF
20069 # Generated by $as_me.
20070 # Run this file to recreate the current configuration.
20071 # Compiler output produced by configure, useful for debugging
20072 # configure, is in config.log if it exists.
20075 ac_cs_recheck=false
20077 SHELL=\${CONFIG_SHELL-$SHELL}
20080 cat >>$CONFIG_STATUS <<\_ACEOF
20081 ## --------------------- ##
20082 ## M4sh Initialization. ##
20083 ## --------------------- ##
20085 # Be Bourne compatible
20086 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20089 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20090 # is contrary to our usage. Disable this feature.
20091 alias -g '${1+"$@"}'='"$@"'
20092 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20095 DUALCASE=1; export DUALCASE # for MKS sh
20097 # Support unset when possible.
20098 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20105 # Work around bugs in pre-3.0 UWIN ksh.
20106 $as_unset ENV MAIL MAILPATH
20113 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20114 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20115 LC_TELEPHONE LC_TIME
20117 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20118 eval $as_var=C; export $as_var
20124 # Required to use basename.
20125 if expr a : '\(a\)' >/dev/null 2>&1; then
20131 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20132 as_basename=basename
20138 # Name of the executable.
20139 as_me=`$as_basename "$0" ||
20140 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20141 X"$0" : 'X\(//\)$' \| \
20142 X"$0" : 'X\(/\)$' \| \
20143 . : '\(.\)' 2>/dev/null ||
20145 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20146 /^X\/\(\/\/\)$/{ s//\1/; q; }
20147 /^X\/\(\/\).*/{ s//\1/; q; }
20151 # PATH needs CR, and LINENO needs CR and PATH.
20152 # Avoid depending upon Character Ranges.
20153 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20154 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20155 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20156 as_cr_digits='0123456789'
20157 as_cr_alnum=$as_cr_Letters$as_cr_digits
20159 # The user is always right.
20160 if test "${PATH_SEPARATOR+set}" != set; then
20161 echo "#! /bin/sh" >conf$$.sh
20162 echo "exit 0" >>conf$$.sh
20164 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20173 as_lineno_1=$LINENO
20174 as_lineno_2=$LINENO
20175 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20176 test "x$as_lineno_1" != "x$as_lineno_2" &&
20177 test "x$as_lineno_3" = "x$as_lineno_2" || {
20178 # Find who we are. Look in the path if we contain no path at all
20181 *[\\/]* ) as_myself=$0 ;;
20182 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20183 for as_dir in $PATH
20186 test -z "$as_dir" && as_dir=.
20187 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20192 # We did not find ourselves, most probably we were run as `sh COMMAND'
20193 # in which case we are not to be found in the path.
20194 if test "x$as_myself" = x; then
20197 if test ! -f "$as_myself"; then
20198 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20199 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20200 { (exit 1); exit 1; }; }
20202 case $CONFIG_SHELL in
20204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20205 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20208 test -z "$as_dir" && as_dir=.
20209 for as_base in sh bash ksh sh5; do
20212 if ("$as_dir/$as_base" -c '
20213 as_lineno_1=$LINENO
20214 as_lineno_2=$LINENO
20215 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20216 test "x$as_lineno_1" != "x$as_lineno_2" &&
20217 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20218 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20219 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20220 CONFIG_SHELL=$as_dir/$as_base
20221 export CONFIG_SHELL
20222 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20230 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20231 # uniformly replaced by the line number. The first 'sed' inserts a
20232 # line-number line before each line; the second 'sed' does the real
20233 # work. The second script uses 'N' to pair each line-number line
20234 # with the numbered line, and appends trailing '-' during
20235 # substitution so that $LINENO is not a special case at line end.
20236 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20237 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20238 sed '=' <$as_myself |
20243 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20246 s,^['$as_cr_digits']*\n,,
20247 ' >$as_me.lineno &&
20248 chmod +x $as_me.lineno ||
20249 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20250 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20251 { (exit 1); exit 1; }; }
20253 # Don't try to exec as it changes $[0], causing all sort of problems
20254 # (the dirname of $[0] is not the place where we might find the
20255 # original and so on. Autoconf is especially sensible to this).
20257 # Exit status is that of the last command.
20262 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20263 *c*,-n*) ECHO_N= ECHO_C='
20265 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20266 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20269 if expr a : '\(a\)' >/dev/null 2>&1; then
20275 rm -f conf$$ conf$$.exe conf$$.file
20277 if ln -s conf$$.file conf$$ 2>/dev/null; then
20278 # We could just check for DJGPP; but this test a) works b) is more generic
20279 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20280 if test -f conf$$.exe; then
20281 # Don't use ln at all; we don't have any links
20286 elif ln conf$$.file conf$$ 2>/dev/null; then
20291 rm -f conf$$ conf$$.exe conf$$.file
20293 if mkdir -p . 2>/dev/null; then
20296 test -d ./-p && rmdir ./-p
20300 as_executable_p="test -f"
20302 # Sed expression to map a string onto a valid CPP name.
20303 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20305 # Sed expression to map a string onto a valid variable name.
20306 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20310 # We need space, tab and new line, in precisely that order.
20320 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20321 # report actual input values of CONFIG_FILES etc. instead of their
20322 # values after options handling. Logging --version etc. is OK.
20326 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20327 ## Running $as_me. ##
20332 This file was extended by Wine $as_me 20040309, which was
20333 generated by GNU Autoconf 2.59. Invocation command line was
20335 CONFIG_FILES = $CONFIG_FILES
20336 CONFIG_HEADERS = $CONFIG_HEADERS
20337 CONFIG_LINKS = $CONFIG_LINKS
20338 CONFIG_COMMANDS = $CONFIG_COMMANDS
20342 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20346 # Files that config.status was made for.
20347 if test -n "$ac_config_files"; then
20348 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20351 if test -n "$ac_config_headers"; then
20352 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20355 if test -n "$ac_config_links"; then
20356 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20359 if test -n "$ac_config_commands"; then
20360 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20363 cat >>$CONFIG_STATUS <<\_ACEOF
20366 \`$as_me' instantiates files from templates according to the
20367 current configuration.
20369 Usage: $0 [OPTIONS] [FILE]...
20371 -h, --help print this help, then exit
20372 -V, --version print version number, then exit
20373 -q, --quiet do not print progress messages
20374 -d, --debug don't remove temporary files
20375 --recheck update $as_me by reconfiguring in the same conditions
20376 --file=FILE[:TEMPLATE]
20377 instantiate the configuration file FILE
20378 --header=FILE[:TEMPLATE]
20379 instantiate the configuration header FILE
20381 Configuration files:
20384 Configuration headers:
20387 Configuration commands:
20390 Report bugs to <bug-autoconf@gnu.org>."
20393 cat >>$CONFIG_STATUS <<_ACEOF
20395 Wine config.status 20040309
20396 configured by $0, generated by GNU Autoconf 2.59,
20397 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20399 Copyright (C) 2003 Free Software Foundation, Inc.
20400 This config.status script is free software; the Free Software Foundation
20401 gives unlimited permission to copy, distribute and modify it."
20406 cat >>$CONFIG_STATUS <<\_ACEOF
20407 # If no file are specified by the user, then we need to provide default
20408 # value. By we need to know if files were specified by the user.
20414 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20415 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20423 *) # This is not an option, so the user has probably given explicit
20426 ac_need_defaults=false;;
20430 # Handling of the options.
20432 cat >>$CONFIG_STATUS <<\_ACEOF
20433 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20435 --version | --vers* | -V )
20436 echo "$ac_cs_version"; exit 0 ;;
20438 # Conflict between --help and --header
20439 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20440 Try \`$0 --help' for more information." >&5
20441 echo "$as_me: error: ambiguous option: $1
20442 Try \`$0 --help' for more information." >&2;}
20443 { (exit 1); exit 1; }; };;
20444 --help | --hel | -h )
20445 echo "$ac_cs_usage"; exit 0 ;;
20446 --debug | --d* | -d )
20448 --file | --fil | --fi | --f )
20450 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20451 ac_need_defaults=false;;
20452 --header | --heade | --head | --hea )
20454 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20455 ac_need_defaults=false;;
20456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20457 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20460 # This is an error.
20461 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20462 Try \`$0 --help' for more information." >&5
20463 echo "$as_me: error: unrecognized option: $1
20464 Try \`$0 --help' for more information." >&2;}
20465 { (exit 1); exit 1; }; } ;;
20467 *) ac_config_targets="$ac_config_targets $1" ;;
20473 ac_configure_extra_args=
20475 if $ac_cs_silent; then
20477 ac_configure_extra_args="$ac_configure_extra_args --silent"
20481 cat >>$CONFIG_STATUS <<_ACEOF
20482 if \$ac_cs_recheck; then
20483 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20484 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20493 cat >>$CONFIG_STATUS <<\_ACEOF
20494 for ac_config_target in $ac_config_targets
20496 case "$ac_config_target" in
20497 # Handling of arguments.
20498 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20499 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20500 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20501 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20502 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20503 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20504 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20505 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20506 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20507 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20508 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20509 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20510 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20511 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20512 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20513 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20514 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20515 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20516 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20517 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20518 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20519 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20520 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20521 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20522 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20523 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20524 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20525 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20526 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20527 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20528 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20529 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20530 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20531 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20532 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20533 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20534 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20535 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20536 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20537 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20538 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20539 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20540 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20541 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20542 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20543 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20544 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20545 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20546 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20547 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20548 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20549 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20550 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20551 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20552 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20553 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20554 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20555 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20556 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20557 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20558 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20559 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20560 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20561 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20562 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20563 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20564 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20565 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20566 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20567 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
20568 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20569 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20570 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20571 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20572 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20573 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20574 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20575 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20576 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20577 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20578 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20579 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20580 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20581 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20582 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20583 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20584 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20585 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20586 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20587 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20588 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20589 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20590 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20591 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20592 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20593 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20594 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20595 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20596 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20597 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
20598 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20599 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20600 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20601 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20602 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20603 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20604 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20605 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20606 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
20607 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20608 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20609 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20610 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20611 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20612 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20613 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20614 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20615 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20616 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20617 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20618 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20619 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20620 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20621 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20622 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20623 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
20624 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20625 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20626 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20627 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20628 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20629 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20630 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20631 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20632 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20633 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20634 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20635 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20636 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20637 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20638 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20639 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
20640 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20641 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20642 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20643 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20644 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20645 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20646 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20647 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20648 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20649 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20650 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20651 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20652 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20653 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20654 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20655 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20656 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20657 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20658 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20659 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20660 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20661 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20662 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
20663 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
20664 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20665 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20666 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20667 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20668 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20669 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20670 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20671 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20672 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20673 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20674 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20675 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20676 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20677 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20678 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20679 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20680 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20681 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
20682 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20683 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20684 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20685 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20686 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20687 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20688 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20689 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20690 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20691 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20692 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20693 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20694 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20695 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20696 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20697 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20698 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20699 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20700 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20701 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20702 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20703 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20704 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20705 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20706 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20707 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20708 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20709 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20710 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20711 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20712 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20713 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20714 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20715 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20716 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20717 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20718 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20719 "controls" ) CONFIG_COMMANDS="$CONFIG_COMMANDS controls" ;;
20720 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20721 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20722 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20723 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20724 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20725 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20726 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20727 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20728 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20729 "dlls/user/dde" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/dde" ;;
20730 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20731 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20732 "files" ) CONFIG_COMMANDS="$CONFIG_COMMANDS files" ;;
20733 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20734 "misc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS misc" ;;
20735 "objects" ) CONFIG_COMMANDS="$CONFIG_COMMANDS objects" ;;
20736 "programs/regedit/tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS programs/regedit/tests" ;;
20737 "windows" ) CONFIG_COMMANDS="$CONFIG_COMMANDS windows" ;;
20738 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20739 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20740 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20741 { (exit 1); exit 1; }; };;
20745 # If the user did not use the arguments to specify the items to instantiate,
20746 # then the envvar interface is used. Set only those that are not.
20747 # We use the long form for the default assignment because of an extremely
20748 # bizarre bug on SunOS 4.1.3.
20749 if $ac_need_defaults; then
20750 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20751 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20752 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20755 # Have a temporary directory for convenience. Make it in the build tree
20756 # simply because there is no reason to put it here, and in addition,
20757 # creating and moving files from /tmp can sometimes cause problems.
20758 # Create a temporary directory, and hook for its removal unless debugging.
20761 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20762 trap '{ (exit 1); exit 1; }' 1 2 13 15
20765 # Create a (secure) tmp directory for tmp files.
20768 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20769 test -n "$tmp" && test -d "$tmp"
20772 tmp=./confstat$$-$RANDOM
20773 (umask 077 && mkdir $tmp)
20776 echo "$me: cannot create a temporary directory in ." >&2
20777 { (exit 1); exit 1; }
20782 cat >>$CONFIG_STATUS <<_ACEOF
20785 # CONFIG_FILES section.
20788 # No need to generate the scripts if there are no CONFIG_FILES.
20789 # This happens for instance when ./config.status config.h
20790 if test -n "\$CONFIG_FILES"; then
20791 # Protect against being on the right side of a sed subst in config.status.
20792 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20793 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20794 s,@SHELL@,$SHELL,;t t
20795 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20796 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20797 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20798 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20799 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20800 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20801 s,@exec_prefix@,$exec_prefix,;t t
20802 s,@prefix@,$prefix,;t t
20803 s,@program_transform_name@,$program_transform_name,;t t
20804 s,@bindir@,$bindir,;t t
20805 s,@sbindir@,$sbindir,;t t
20806 s,@libexecdir@,$libexecdir,;t t
20807 s,@datadir@,$datadir,;t t
20808 s,@sysconfdir@,$sysconfdir,;t t
20809 s,@sharedstatedir@,$sharedstatedir,;t t
20810 s,@localstatedir@,$localstatedir,;t t
20811 s,@libdir@,$libdir,;t t
20812 s,@includedir@,$includedir,;t t
20813 s,@oldincludedir@,$oldincludedir,;t t
20814 s,@infodir@,$infodir,;t t
20815 s,@mandir@,$mandir,;t t
20816 s,@build_alias@,$build_alias,;t t
20817 s,@host_alias@,$host_alias,;t t
20818 s,@target_alias@,$target_alias,;t t
20819 s,@DEFS@,$DEFS,;t t
20820 s,@ECHO_C@,$ECHO_C,;t t
20821 s,@ECHO_N@,$ECHO_N,;t t
20822 s,@ECHO_T@,$ECHO_T,;t t
20823 s,@LIBS@,$LIBS,;t t
20824 s,@WIN16_FILES@,$WIN16_FILES,;t t
20825 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20826 s,@build@,$build,;t t
20827 s,@build_cpu@,$build_cpu,;t t
20828 s,@build_vendor@,$build_vendor,;t t
20829 s,@build_os@,$build_os,;t t
20830 s,@host@,$host,;t t
20831 s,@host_cpu@,$host_cpu,;t t
20832 s,@host_vendor@,$host_vendor,;t t
20833 s,@host_os@,$host_os,;t t
20834 s,@SET_MAKE@,$SET_MAKE,;t t
20836 s,@CFLAGS@,$CFLAGS,;t t
20837 s,@LDFLAGS@,$LDFLAGS,;t t
20838 s,@CPPFLAGS@,$CPPFLAGS,;t t
20839 s,@ac_ct_CC@,$ac_ct_CC,;t t
20840 s,@EXEEXT@,$EXEEXT,;t t
20841 s,@OBJEXT@,$OBJEXT,;t t
20843 s,@CXXFLAGS@,$CXXFLAGS,;t t
20844 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20845 s,@CPPBIN@,$CPPBIN,;t t
20846 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20847 s,@TOOLSDIR@,$TOOLSDIR,;t t
20849 s,@X_CFLAGS@,$X_CFLAGS,;t t
20850 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20851 s,@X_LIBS@,$X_LIBS,;t t
20852 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20854 s,@LEXLIB@,$LEXLIB,;t t
20855 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20856 s,@XLEX@,$XLEX,;t t
20857 s,@BISON@,$BISON,;t t
20859 s,@ac_ct_AS@,$ac_ct_AS,;t t
20861 s,@ac_ct_LD@,$ac_ct_LD,;t t
20863 s,@ac_ct_AR@,$ac_ct_AR,;t t
20864 s,@RANLIB@,$RANLIB,;t t
20865 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20866 s,@STRIP@,$STRIP,;t t
20867 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20868 s,@WINDRES@,$WINDRES,;t t
20869 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20870 s,@LN_S@,$LN_S,;t t
20872 s,@LDCONFIG@,$LDCONFIG,;t t
20873 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20874 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20875 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20876 s,@LINT@,$LINT,;t t
20877 s,@LINTFLAGS@,$LINTFLAGS,;t t
20878 s,@DB2HTML@,$DB2HTML,;t t
20879 s,@DB2PDF@,$DB2PDF,;t t
20880 s,@DB2PS@,$DB2PS,;t t
20881 s,@DB2TXT@,$DB2TXT,;t t
20882 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20883 s,@JPEGLIB@,$JPEGLIB,;t t
20884 s,@EGREP@,$EGREP,;t t
20885 s,@GIFLIB@,$GIFLIB,;t t
20886 s,@XLIB@,$XLIB,;t t
20887 s,@XFILES@,$XFILES,;t t
20888 s,@OPENGLFILES@,$OPENGLFILES,;t t
20889 s,@GLU32FILES@,$GLU32FILES,;t t
20890 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20891 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20892 s,@GLUT32FILES@,$GLUT32FILES,;t t
20893 s,@NASLIBS@,$NASLIBS,;t t
20894 s,@CURSESLIBS@,$CURSESLIBS,;t t
20895 s,@sane_devel@,$sane_devel,;t t
20896 s,@SANELIBS@,$SANELIBS,;t t
20897 s,@SANEINCL@,$SANEINCL,;t t
20898 s,@ICULIBS@,$ICULIBS,;t t
20899 s,@ft_devel@,$ft_devel,;t t
20900 s,@ft_devel2@,$ft_devel2,;t t
20901 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20902 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20903 s,@ARTSLIBS@,$ARTSLIBS,;t t
20904 s,@ARTSINCL@,$ARTSINCL,;t t
20905 s,@ALSALIBS@,$ALSALIBS,;t t
20906 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20907 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20908 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20909 s,@DLLEXT@,$DLLEXT,;t t
20910 s,@DLLFLAGS@,$DLLFLAGS,;t t
20911 s,@DLLIBS@,$DLLIBS,;t t
20912 s,@LDSHARED@,$LDSHARED,;t t
20913 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20914 s,@LIBEXT@,$LIBEXT,;t t
20915 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20916 s,@DLLTOOL@,$DLLTOOL,;t t
20917 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20918 s,@DLLWRAP@,$DLLWRAP,;t t
20919 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20920 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20921 s,@CROSSTEST@,$CROSSTEST,;t t
20922 s,@CROSSCC@,$CROSSCC,;t t
20923 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20924 s,@LDPATH@,$LDPATH,;t t
20925 s,@CRTLIBS@,$CRTLIBS,;t t
20926 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20927 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20929 s,@ALLOCA@,$ALLOCA,;t t
20930 s,@LIBOBJS@,$LIBOBJS,;t t
20931 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20932 /@MAKE_RULES@/r $MAKE_RULES
20933 s,@MAKE_RULES@,,;t t
20934 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20935 s,@MAKE_DLL_RULES@,,;t t
20936 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20937 s,@MAKE_TEST_RULES@,,;t t
20938 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20939 s,@MAKE_LIB_RULES@,,;t t
20940 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20941 s,@MAKE_PROG_RULES@,,;t t
20946 cat >>$CONFIG_STATUS <<\_ACEOF
20947 # Split the substitutions into bite-sized pieces for seds with
20948 # small command number limits, like on Digital OSF/1 and HP-UX.
20949 ac_max_sed_lines=48
20950 ac_sed_frag=1 # Number of current file.
20951 ac_beg=1 # First line for current file.
20952 ac_end=$ac_max_sed_lines # Line after last line for current file.
20955 while $ac_more_lines; do
20956 if test $ac_beg -gt 1; then
20957 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20959 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20961 if test ! -s $tmp/subs.frag; then
20962 ac_more_lines=false
20964 # The purpose of the label and of the branching condition is to
20965 # speed up the sed processing (if there are no `@' at all, there
20966 # is no need to browse any of the substitutions).
20967 # These are the two extra sed commands mentioned above.
20969 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20970 if test -z "$ac_sed_cmds"; then
20971 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20973 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20975 ac_sed_frag=`expr $ac_sed_frag + 1`
20977 ac_end=`expr $ac_end + $ac_max_sed_lines`
20980 if test -z "$ac_sed_cmds"; then
20983 fi # test -n "$CONFIG_FILES"
20986 cat >>$CONFIG_STATUS <<\_ACEOF
20987 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20988 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20990 - | *:- | *:-:* ) # input from stdin
20992 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20993 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20994 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20995 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20996 * ) ac_file_in=$ac_file.in ;;
20999 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21000 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21002 X"$ac_file" : 'X\(//\)[^/]' \| \
21003 X"$ac_file" : 'X\(//\)$' \| \
21004 X"$ac_file" : 'X\(/\)' \| \
21005 . : '\(.\)' 2>/dev/null ||
21007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21009 /^X\(\/\/\)$/{ s//\1/; q; }
21010 /^X\(\/\).*/{ s//\1/; q; }
21012 { if $as_mkdir_p; then
21017 while test ! -d "$as_dir"; do
21018 as_dirs="$as_dir $as_dirs"
21019 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21021 X"$as_dir" : 'X\(//\)[^/]' \| \
21022 X"$as_dir" : 'X\(//\)$' \| \
21023 X"$as_dir" : 'X\(/\)' \| \
21024 . : '\(.\)' 2>/dev/null ||
21026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21028 /^X\(\/\/\)$/{ s//\1/; q; }
21029 /^X\(\/\).*/{ s//\1/; q; }
21032 test ! -n "$as_dirs" || mkdir $as_dirs
21033 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21034 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21035 { (exit 1); exit 1; }; }; }
21039 if test "$ac_dir" != .; then
21040 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21041 # A "../" for each directory in $ac_dir_suffix.
21042 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21044 ac_dir_suffix= ac_top_builddir=
21048 .) # No --srcdir option. We are building in place.
21050 if test -z "$ac_top_builddir"; then
21053 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21055 [\\/]* | ?:[\\/]* ) # Absolute path.
21056 ac_srcdir=$srcdir$ac_dir_suffix;
21057 ac_top_srcdir=$srcdir ;;
21058 *) # Relative path.
21059 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21060 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21063 # Do not use `cd foo && pwd` to compute absolute paths, because
21064 # the directories may not exist.
21066 .) ac_abs_builddir="$ac_dir";;
21069 .) ac_abs_builddir=`pwd`;;
21070 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21071 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21074 case $ac_abs_builddir in
21075 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21077 case ${ac_top_builddir}. in
21078 .) ac_abs_top_builddir=$ac_abs_builddir;;
21079 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21080 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21083 case $ac_abs_builddir in
21084 .) ac_abs_srcdir=$ac_srcdir;;
21087 .) ac_abs_srcdir=$ac_abs_builddir;;
21088 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21089 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21092 case $ac_abs_builddir in
21093 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21095 case $ac_top_srcdir in
21096 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21097 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21098 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21104 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21105 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21108 # Let's still pretend it is `configure' which instantiates (i.e., don't
21109 # use $as_me), people would be surprised to read:
21110 # /* config.h. Generated by config.status. */
21111 if test x"$ac_file" = x-; then
21114 configure_input="$ac_file. "
21116 configure_input=$configure_input"Generated from `echo $ac_file_in |
21117 sed 's,.*/,,'` by configure."
21119 # First look for the input files in the build tree, otherwise in the
21121 ac_file_inputs=`IFS=:
21122 for f in $ac_file_in; do
21124 -) echo $tmp/stdin ;;
21126 # Absolute (can't be DOS-style, as IFS=:)
21127 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21128 echo "$as_me: error: cannot find input file: $f" >&2;}
21129 { (exit 1); exit 1; }; }
21132 if test -f "$f"; then
21135 elif test -f "$srcdir/$f"; then
21140 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21141 echo "$as_me: error: cannot find input file: $f" >&2;}
21142 { (exit 1); exit 1; }; }
21145 done` || { (exit 1); exit 1; }
21147 if test x"$ac_file" != x-; then
21148 { echo "$as_me:$LINENO: creating $ac_file" >&5
21149 echo "$as_me: creating $ac_file" >&6;}
21153 cat >>$CONFIG_STATUS <<_ACEOF
21157 cat >>$CONFIG_STATUS <<\_ACEOF
21159 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21160 s,@configure_input@,$configure_input,;t t
21161 s,@srcdir@,$ac_srcdir,;t t
21162 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21163 s,@top_srcdir@,$ac_top_srcdir,;t t
21164 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21165 s,@builddir@,$ac_builddir,;t t
21166 s,@abs_builddir@,$ac_abs_builddir,;t t
21167 s,@top_builddir@,$ac_top_builddir,;t t
21168 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21169 s,@INSTALL@,$ac_INSTALL,;t t
21170 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21172 if test x"$ac_file" != x-; then
21173 mv $tmp/out $ac_file
21181 cat >>$CONFIG_STATUS <<\_ACEOF
21184 # CONFIG_HEADER section.
21187 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21188 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21190 # ac_d sets the value in "#define NAME VALUE" lines.
21191 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21192 ac_dB='[ ].*$,\1#\2'
21195 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21196 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21197 ac_uB='$,\1#\2define\3'
21201 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21202 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21204 - | *:- | *:-:* ) # input from stdin
21206 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21207 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21208 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21209 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21210 * ) ac_file_in=$ac_file.in ;;
21213 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21214 echo "$as_me: creating $ac_file" >&6;}
21216 # First look for the input files in the build tree, otherwise in the
21218 ac_file_inputs=`IFS=:
21219 for f in $ac_file_in; do
21221 -) echo $tmp/stdin ;;
21223 # Absolute (can't be DOS-style, as IFS=:)
21224 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21225 echo "$as_me: error: cannot find input file: $f" >&2;}
21226 { (exit 1); exit 1; }; }
21227 # Do quote $f, to prevent DOS paths from being IFS'd.
21230 if test -f "$f"; then
21233 elif test -f "$srcdir/$f"; then
21238 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21239 echo "$as_me: error: cannot find input file: $f" >&2;}
21240 { (exit 1); exit 1; }; }
21243 done` || { (exit 1); exit 1; }
21244 # Remove the trailing spaces.
21245 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21249 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21250 # `conftest.undefs', that substitutes the proper values into
21251 # config.h.in to produce config.h. The first handles `#define'
21252 # templates, and the second `#undef' templates.
21253 # And first: Protect against being on the right side of a sed subst in
21254 # config.status. Protect against being in an unquoted here document
21255 # in config.status.
21256 rm -f conftest.defines conftest.undefs
21257 # Using a here document instead of a string reduces the quoting nightmare.
21258 # Putting comments in sed scripts is not portable.
21260 # `end' is used to avoid that the second main sed command (meant for
21261 # 0-ary CPP macros) applies to n-ary macro definitions.
21262 # See the Autoconf documentation for `clear'.
21263 cat >confdef2sed.sed <<\_ACEOF
21268 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21270 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21273 # If some macros were called several times there might be several times
21274 # the same #defines, which is useless. Nevertheless, we may not want to
21275 # sort them, since we want the *last* AC-DEFINE to be honored.
21276 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21277 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21278 rm -f confdef2sed.sed
21280 # This sed command replaces #undef with comments. This is necessary, for
21281 # example, in the case of _POSIX_SOURCE, which is predefined and required
21282 # on some systems where configure will not decide to define it.
21283 cat >>conftest.undefs <<\_ACEOF
21284 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21287 # Break up conftest.defines because some shells have a limit on the size
21288 # of here documents, and old seds have small limits too (100 cmds).
21289 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21290 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21291 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21292 echo ' :' >>$CONFIG_STATUS
21293 rm -f conftest.tail
21294 while grep . conftest.defines >/dev/null
21296 # Write a limited-size here document to $tmp/defines.sed.
21297 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21298 # Speed up: don't consider the non `#define' lines.
21299 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21300 # Work around the forget-to-reset-the-flag bug.
21301 echo 't clr' >>$CONFIG_STATUS
21302 echo ': clr' >>$CONFIG_STATUS
21303 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21305 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21307 mv $tmp/out $tmp/in
21309 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21310 rm -f conftest.defines
21311 mv conftest.tail conftest.defines
21313 rm -f conftest.defines
21314 echo ' fi # grep' >>$CONFIG_STATUS
21315 echo >>$CONFIG_STATUS
21317 # Break up conftest.undefs because some shells have a limit on the size
21318 # of here documents, and old seds have small limits too (100 cmds).
21319 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21320 rm -f conftest.tail
21321 while grep . conftest.undefs >/dev/null
21323 # Write a limited-size here document to $tmp/undefs.sed.
21324 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21325 # Speed up: don't consider the non `#undef'
21326 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21327 # Work around the forget-to-reset-the-flag bug.
21328 echo 't clr' >>$CONFIG_STATUS
21329 echo ': clr' >>$CONFIG_STATUS
21330 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21332 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21334 mv $tmp/out $tmp/in
21336 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21337 rm -f conftest.undefs
21338 mv conftest.tail conftest.undefs
21340 rm -f conftest.undefs
21342 cat >>$CONFIG_STATUS <<\_ACEOF
21343 # Let's still pretend it is `configure' which instantiates (i.e., don't
21344 # use $as_me), people would be surprised to read:
21345 # /* config.h. Generated by config.status. */
21346 if test x"$ac_file" = x-; then
21347 echo "/* Generated by configure. */" >$tmp/config.h
21349 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21351 cat $tmp/in >>$tmp/config.h
21353 if test x"$ac_file" != x-; then
21354 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21355 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21356 echo "$as_me: $ac_file is unchanged" >&6;}
21358 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21360 X"$ac_file" : 'X\(//\)[^/]' \| \
21361 X"$ac_file" : 'X\(//\)$' \| \
21362 X"$ac_file" : 'X\(/\)' \| \
21363 . : '\(.\)' 2>/dev/null ||
21365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21367 /^X\(\/\/\)$/{ s//\1/; q; }
21368 /^X\(\/\).*/{ s//\1/; q; }
21370 { if $as_mkdir_p; then
21375 while test ! -d "$as_dir"; do
21376 as_dirs="$as_dir $as_dirs"
21377 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21379 X"$as_dir" : 'X\(//\)[^/]' \| \
21380 X"$as_dir" : 'X\(//\)$' \| \
21381 X"$as_dir" : 'X\(/\)' \| \
21382 . : '\(.\)' 2>/dev/null ||
21384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21386 /^X\(\/\/\)$/{ s//\1/; q; }
21387 /^X\(\/\).*/{ s//\1/; q; }
21390 test ! -n "$as_dirs" || mkdir $as_dirs
21391 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21392 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21393 { (exit 1); exit 1; }; }; }
21396 mv $tmp/config.h $ac_file
21400 rm -f $tmp/config.h
21404 cat >>$CONFIG_STATUS <<\_ACEOF
21407 # CONFIG_COMMANDS section.
21409 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21410 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21411 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21412 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21413 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21414 X"$ac_dest" : 'X\(//\)[^/]' \| \
21415 X"$ac_dest" : 'X\(//\)$' \| \
21416 X"$ac_dest" : 'X\(/\)' \| \
21417 . : '\(.\)' 2>/dev/null ||
21419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21421 /^X\(\/\/\)$/{ s//\1/; q; }
21422 /^X\(\/\).*/{ s//\1/; q; }
21424 { if $as_mkdir_p; then
21429 while test ! -d "$as_dir"; do
21430 as_dirs="$as_dir $as_dirs"
21431 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21433 X"$as_dir" : 'X\(//\)[^/]' \| \
21434 X"$as_dir" : 'X\(//\)$' \| \
21435 X"$as_dir" : 'X\(/\)' \| \
21436 . : '\(.\)' 2>/dev/null ||
21438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21440 /^X\(\/\/\)$/{ s//\1/; q; }
21441 /^X\(\/\).*/{ s//\1/; q; }
21444 test ! -n "$as_dirs" || mkdir $as_dirs
21445 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21446 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21447 { (exit 1); exit 1; }; }; }
21451 if test "$ac_dir" != .; then
21452 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21453 # A "../" for each directory in $ac_dir_suffix.
21454 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21456 ac_dir_suffix= ac_top_builddir=
21460 .) # No --srcdir option. We are building in place.
21462 if test -z "$ac_top_builddir"; then
21465 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21467 [\\/]* | ?:[\\/]* ) # Absolute path.
21468 ac_srcdir=$srcdir$ac_dir_suffix;
21469 ac_top_srcdir=$srcdir ;;
21470 *) # Relative path.
21471 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21472 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21475 # Do not use `cd foo && pwd` to compute absolute paths, because
21476 # the directories may not exist.
21478 .) ac_abs_builddir="$ac_dir";;
21481 .) ac_abs_builddir=`pwd`;;
21482 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21483 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21486 case $ac_abs_builddir in
21487 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21489 case ${ac_top_builddir}. in
21490 .) ac_abs_top_builddir=$ac_abs_builddir;;
21491 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21492 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21495 case $ac_abs_builddir in
21496 .) ac_abs_srcdir=$ac_srcdir;;
21499 .) ac_abs_srcdir=$ac_abs_builddir;;
21500 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21501 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21504 case $ac_abs_builddir in
21505 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21507 case $ac_top_srcdir in
21508 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21509 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21510 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21515 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21516 echo "$as_me: executing $ac_dest commands" >&6;}
21518 controls ) test -d "controls" || ({ echo "$as_me:$LINENO: creating controls" >&5
21519 echo "$as_me: creating controls" >&6;} && mkdir "controls") ;;
21520 dlls/ddraw/d3ddevice ) test -d "dlls/ddraw/d3ddevice" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21521 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir "dlls/ddraw/d3ddevice") ;;
21522 dlls/ddraw/dclipper ) test -d "dlls/ddraw/dclipper" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21523 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir "dlls/ddraw/dclipper") ;;
21524 dlls/ddraw/ddraw ) test -d "dlls/ddraw/ddraw" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21525 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir "dlls/ddraw/ddraw") ;;
21526 dlls/ddraw/direct3d ) test -d "dlls/ddraw/direct3d" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21527 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir "dlls/ddraw/direct3d") ;;
21528 dlls/ddraw/dpalette ) test -d "dlls/ddraw/dpalette" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21529 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir "dlls/ddraw/dpalette") ;;
21530 dlls/ddraw/dsurface ) test -d "dlls/ddraw/dsurface" || ({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21531 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir "dlls/ddraw/dsurface") ;;
21532 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21533 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21534 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21535 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21536 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21537 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21538 dlls/user/dde ) test -d "dlls/user/dde" || ({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21539 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir "dlls/user/dde") ;;
21540 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21541 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21542 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21543 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21544 files ) test -d "files" || ({ echo "$as_me:$LINENO: creating files" >&5
21545 echo "$as_me: creating files" >&6;} && mkdir "files") ;;
21546 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21547 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21548 misc ) test -d "misc" || ({ echo "$as_me:$LINENO: creating misc" >&5
21549 echo "$as_me: creating misc" >&6;} && mkdir "misc") ;;
21550 objects ) test -d "objects" || ({ echo "$as_me:$LINENO: creating objects" >&5
21551 echo "$as_me: creating objects" >&6;} && mkdir "objects") ;;
21552 programs/regedit/tests ) test -d "programs/regedit/tests" || ({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21553 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir "programs/regedit/tests") ;;
21554 windows ) test -d "windows" || ({ echo "$as_me:$LINENO: creating windows" >&5
21555 echo "$as_me: creating windows" >&6;} && mkdir "windows") ;;
21560 cat >>$CONFIG_STATUS <<\_ACEOF
21562 { (exit 0); exit 0; }
21564 chmod +x $CONFIG_STATUS
21565 ac_clean_files=$ac_clean_files_save
21568 # configure is writing to config.log, and then calls config.status.
21569 # config.status does its own redirection, appending to config.log.
21570 # Unfortunately, on DOS this fails, as config.log is still kept open
21571 # by configure, so config.status won't be able to write to it; its
21572 # output is simply discarded. So we exec the FD to /dev/null,
21573 # effectively closing config.log, so it can be properly (re)opened and
21574 # appended to by config.status. When coming back to configure, we
21575 # need to make the FD available again.
21576 if test "$no_create" != yes; then
21578 ac_config_status_args=
21579 test "$silent" = yes &&
21580 ac_config_status_args="$ac_config_status_args --quiet"
21582 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21584 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21585 # would make configure fail if this is the last instruction.
21586 $ac_cs_success || { (exit 1); exit 1; }
21590 if test "$have_x" = "no"
21593 echo "*** Warning: X development files not found. Wine will be built without"
21594 echo "*** X support, which currently does not work, and would probably not be"
21595 echo "*** what you want anyway. You will need to install devel packages of"
21596 echo "*** Xlib/Xfree86 at the very least."
21599 if test "$wine_cv_opengl_version_OK" = "no"
21602 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21603 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21606 if test "$wine_cv_msg_freetype" = "yes"
21609 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21610 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21611 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21612 echo "*** enable Wine to use TrueType fonts."
21616 echo "Configure finished. Do 'make depend && make' to compile Wine."