push b7454c0be268e63e23db077ecd5238ed6dc9ec0b
[wine/hacks.git] / configure
blob6437c59dde6c20ca6126d59b353738dd6268fd63
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.58.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.58'
578 PACKAGE_STRING='Wine 0.9.58'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 TESTSUBDIRS
667 WINETEST
668 SET_MAKE
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
677 CXXFLAGS
678 ac_ct_CXX
679 CPPBIN
680 TOOLSDIR
681 XMKMF
683 X_CFLAGS
684 X_PRE_LIBS
685 X_LIBS
686 X_EXTRA_LIBS
687 FLEX
688 BISON
690 ac_ct_AS
693 ARFLAGS
694 RANLIB
695 STRIP
696 WINDRES
697 LN_S
699 GREP
700 EGREP
701 LDCONFIG
702 INSTALL_PROGRAM
703 INSTALL_SCRIPT
704 INSTALL_DATA
705 LINT
706 LINTFLAGS
707 FONTFORGE
708 PKG_CONFIG
709 RSVG
710 ICOTOOL
711 PRELINK
712 LIBPTHREAD
713 XLIB
714 XFILES
715 OPENGLFILES
716 GLU32FILES
717 OPENGL_LIBS
718 QUARTZFILES
719 DLLEXT
720 DLLFLAGS
721 LDSHARED
722 LDDLLFLAGS
723 LIBEXT
724 IMPLIBEXT
725 LDRPATH_INSTALL
726 LDRPATH_LOCAL
728 DLLTOOL
729 DLLWRAP
730 MINGWAR
731 SECURITYLIB
732 COREFOUNDATIONLIB
733 IOKITLIB
734 LDEXECFLAGS
735 DISKARBITRATIONLIB
736 COREAUDIO
737 CARBONLIB
738 CROSSTEST
739 CROSSCC
740 CROSSWINDRES
741 NASLIBS
742 XML2LIBS
743 XML2INCL
744 XSLTLIBS
745 XSLTINCL
746 HALINCL
747 sane_devel
748 SANEINCL
749 gphoto2_devel
750 gphoto2port_devel
751 GPHOTO2LIBS
752 GPHOTO2INCL
753 RESOLVLIBS
754 LCMSLIBS
755 LDAPLIBS
756 ft_devel
757 FREETYPELIBS
758 FREETYPEINCL
759 FONTSSUBDIRS
760 ESDCONFIG
761 ESDLIBS
762 ESDINCL
763 ALSALIBS
764 AUDIOIOLIBS
765 FONTCONFIGINCL
766 EXTRACFLAGS
767 BUILTINFLAG
768 LDPATH
769 CRTLIBS
770 SOCKETLIBS
771 MAIN_BINARY
772 EXTRA_BINARIES
773 LIBDL
774 LIBPOLL
775 DEPENDENCIES
776 LIBOBJS
777 LTLIBOBJS'
778 ac_subst_files='MAKE_RULES
779 MAKE_DLL_RULES
780 MAKE_IMPLIB_RULES
781 MAKE_TEST_RULES
782 MAKE_PROG_RULES'
783 ac_precious_vars='build_alias
784 host_alias
785 target_alias
787 CFLAGS
788 LDFLAGS
789 LIBS
790 CPPFLAGS
792 CXXFLAGS
794 XMKMF
795 CPP'
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
836 htmldir='${docdir}'
837 dvidir='${docdir}'
838 pdfdir='${docdir}'
839 psdir='${docdir}'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
844 ac_prev=
845 ac_dashdash=
846 for ac_option
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
851 ac_prev=
852 continue
855 case $ac_option in
856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 *) ac_optarg=yes ;;
858 esac
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
864 ac_dashdash=yes ;;
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
867 ac_prev=bindir ;;
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 bindir=$ac_optarg ;;
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
883 --config-cache | -C)
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
887 ac_prev=datadir ;;
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_$ac_feature=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_$ac_feature=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1114 -with-* | --with-*)
1115 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_$ac_package=\$ac_optarg ;;
1123 -without-* | --without-*)
1124 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_$ac_package=no ;;
1132 --x)
1133 # Obsolete; use --with-x.
1134 with_x=yes ;;
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1155 *=*)
1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 esac
1173 done
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1188 case $ac_val in
1189 [\\/$]* | ?:[\\/]* ) continue;;
1190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191 esac
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1194 done
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1199 build=$build_alias
1200 host=$host_alias
1201 target=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x; then
1205 if test "x$build_alias" = x; then
1206 cross_compiling=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1210 cross_compiling=yes
1214 ac_tool_prefix=
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217 test "$silent" = yes && exec 6>/dev/null
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1239 echo X"$0" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 s//\1/
1244 /^X\(\/\/\)[^/].*/{
1245 s//\1/
1248 /^X\(\/\/\)$/{
1249 s//\1/
1252 /^X\(\/\).*/{
1253 s//\1/
1256 s/.*/./; q'`
1257 srcdir=$ac_confdir
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 srcdir=..
1261 else
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 ac_abs_confdir=`(
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1273 pwd)`
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 srcdir=.
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1281 case $srcdir in
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 esac
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 done
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1297 cat <<_ACEOF
1298 \`configure' configures Wine 0.9.58 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1307 Configuration:
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 [PREFIX]
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1351 _ACEOF
1353 cat <<\_ACEOF
1355 X features:
1356 --x-includes=DIR X include files are in DIR
1357 --x-libraries=DIR X library files are in DIR
1359 System types:
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1362 _ACEOF
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of Wine 0.9.58:";;
1368 esac
1369 cat <<\_ACEOF
1371 Optional Features:
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1376 binaries)
1377 --enable-maintainer-mode
1378 enable maintainer-specific build rules
1379 --disable-tests do not build the testsuites
1381 Optional Packages:
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --without-alsa do not use the Alsa sound support
1385 --without-audioio do not use the AudioIO sound support
1386 --without-capi do not use CAPI (ISDN support)
1387 --without-cms do not use CMS (color management support)
1388 --without-coreaudio do not use the CoreAudio sound support
1389 --without-cups do not use CUPS
1390 --without-curses do not use (n)curses
1391 --without-esd do not use the EsounD sound support
1392 --without-fontconfig do not use fontconfig
1393 --without-gphoto do not use gphoto (Digital Camera support)
1394 --without-hal do not use HAL (dynamic device support)
1395 --without-jack do not use the Jack sound support
1396 --without-jpeg do not use JPEG
1397 --without-ldap do not use LDAP
1398 --without-nas do not use the NAS sound support
1399 --without-opengl do not use OpenGL
1400 --without-openssl do not use OpenSSL
1401 --without-oss do not use the OSS sound support
1402 --without-png do not use PNG
1403 --without-sane do not use SANE (scanner support)
1404 --without-xcomposite do not use the Xcomposite extension
1405 --without-xcursor do not use the Xcursor extension
1406 --without-xinerama do not use Xinerama (multi-monitor support)
1407 --without-xinput do not use the Xinput extension
1408 --without-xml do not use XML
1409 --without-xrandr do not use Xrandr (resolution changes)
1410 --without-xrender do not use the Xrender extension
1411 --without-xshape do not use the Xshape extension
1412 --without-xshm do not use XShm (shared memory extension)
1413 --without-xslt do not use XSLT
1414 --without-xvidmode do not use XFree video mode extension
1415 --with-wine-tools=DIR use Wine tools from directory DIR
1416 --with-x use the X Window System
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1426 CXX C++ compiler command
1427 CXXFLAGS C++ compiler flags
1428 XMKMF Path to xmkmf, Makefile generator for X Window System
1429 CPP C preprocessor
1431 Use these variables to override the choices made by `configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1434 Report bugs to <wine-devel@winehq.org>.
1435 _ACEOF
1436 ac_status=$?
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442 test -d "$ac_dir" || continue
1443 ac_builddir=.
1445 case "$ac_dir" in
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454 esac ;;
1455 esac
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1461 case $srcdir in
1462 .) # We are building in place.
1463 ac_srcdir=.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1470 *) # Relative name.
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474 esac
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1483 echo &&
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1485 else
1486 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 fi || ac_status=$?
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1489 done
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1494 cat <<\_ACEOF
1495 Wine configure 0.9.58
1496 generated by GNU Autoconf 2.61
1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1499 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1502 _ACEOF
1503 exit
1505 cat >config.log <<_ACEOF
1506 This file contains any messages produced by compilers while
1507 running configure, to aid debugging if configure makes a mistake.
1509 It was created by Wine $as_me 0.9.58, which was
1510 generated by GNU Autoconf 2.61. Invocation command line was
1512 $ $0 $@
1514 _ACEOF
1515 exec 5>>config.log
1517 cat <<_ASUNAME
1518 ## --------- ##
1519 ## Platform. ##
1520 ## --------- ##
1522 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1523 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1524 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1525 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1526 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1529 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1531 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1532 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1533 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1534 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1535 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1536 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1537 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1539 _ASUNAME
1541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 for as_dir in $PATH
1544 IFS=$as_save_IFS
1545 test -z "$as_dir" && as_dir=.
1546 echo "PATH: $as_dir"
1547 done
1548 IFS=$as_save_IFS
1550 } >&5
1552 cat >&5 <<_ACEOF
1555 ## ----------- ##
1556 ## Core tests. ##
1557 ## ----------- ##
1559 _ACEOF
1562 # Keep a trace of the command line.
1563 # Strip out --no-create and --no-recursion so they do not pile up.
1564 # Strip out --silent because we don't want to record it for future runs.
1565 # Also quote any args containing shell meta-characters.
1566 # Make two passes to allow for proper duplicate-argument suppression.
1567 ac_configure_args=
1568 ac_configure_args0=
1569 ac_configure_args1=
1570 ac_must_keep_next=false
1571 for ac_pass in 1 2
1573 for ac_arg
1575 case $ac_arg in
1576 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1578 | -silent | --silent | --silen | --sile | --sil)
1579 continue ;;
1580 *\'*)
1581 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 esac
1583 case $ac_pass in
1584 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1586 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1587 if test $ac_must_keep_next = true; then
1588 ac_must_keep_next=false # Got value, back to normal.
1589 else
1590 case $ac_arg in
1591 *=* | --config-cache | -C | -disable-* | --disable-* \
1592 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1593 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1594 | -with-* | --with-* | -without-* | --without-* | --x)
1595 case "$ac_configure_args0 " in
1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1597 esac
1599 -* ) ac_must_keep_next=true ;;
1600 esac
1602 ac_configure_args="$ac_configure_args '$ac_arg'"
1604 esac
1605 done
1606 done
1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1610 # When interrupted or exit'd, cleanup temporary files, and complete
1611 # config.log. We remove comments because anyway the quotes in there
1612 # would cause problems or look ugly.
1613 # WARNING: Use '\'' to represent an apostrophe within the trap.
1614 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1615 trap 'exit_status=$?
1616 # Save into config.log some information that might help in debugging.
1618 echo
1620 cat <<\_ASBOX
1621 ## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##
1624 _ASBOX
1625 echo
1626 # The following way of writing the cache mishandles newlines in values,
1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1629 eval ac_val=\$$ac_var
1630 case $ac_val in #(
1631 *${as_nl}*)
1632 case $ac_var in #(
1633 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1634 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1635 esac
1636 case $ac_var in #(
1637 _ | IFS | as_nl) ;; #(
1638 *) $as_unset $ac_var ;;
1639 esac ;;
1640 esac
1641 done
1642 (set) 2>&1 |
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1645 sed -n \
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1648 ;; #(
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1652 esac |
1653 sort
1655 echo
1657 cat <<\_ASBOX
1658 ## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##
1661 _ASBOX
1662 echo
1663 for ac_var in $ac_subst_vars
1665 eval ac_val=\$$ac_var
1666 case $ac_val in
1667 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 esac
1669 echo "$ac_var='\''$ac_val'\''"
1670 done | sort
1671 echo
1673 if test -n "$ac_subst_files"; then
1674 cat <<\_ASBOX
1675 ## ------------------- ##
1676 ## File substitutions. ##
1677 ## ------------------- ##
1678 _ASBOX
1679 echo
1680 for ac_var in $ac_subst_files
1682 eval ac_val=\$$ac_var
1683 case $ac_val in
1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 esac
1686 echo "$ac_var='\''$ac_val'\''"
1687 done | sort
1688 echo
1691 if test -s confdefs.h; then
1692 cat <<\_ASBOX
1693 ## ----------- ##
1694 ## confdefs.h. ##
1695 ## ----------- ##
1696 _ASBOX
1697 echo
1698 cat confdefs.h
1699 echo
1701 test "$ac_signal" != 0 &&
1702 echo "$as_me: caught signal $ac_signal"
1703 echo "$as_me: exit $exit_status"
1704 } >&5
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 exit $exit_status
1709 for ac_signal in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1711 done
1712 ac_signal=0
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest* confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1721 _ACEOF
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1726 _ACEOF
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 _ACEOF
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 _ACEOF
1739 cat >>confdefs.h <<_ACEOF
1740 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1741 _ACEOF
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer explicitly selected file to automatically selected ones.
1746 if test -n "$CONFIG_SITE"; then
1747 set x "$CONFIG_SITE"
1748 elif test "x$prefix" != xNONE; then
1749 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1750 else
1751 set x "$ac_default_prefix/share/config.site" \
1752 "$ac_default_prefix/etc/config.site"
1754 shift
1755 for ac_site_file
1757 if test -r "$ac_site_file"; then
1758 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 echo "$as_me: loading site script $ac_site_file" >&6;}
1760 sed 's/^/| /' "$ac_site_file" >&5
1761 . "$ac_site_file"
1763 done
1765 if test -r "$cache_file"; then
1766 # Some versions of bash will fail to source /dev/null (special
1767 # files actually), so we avoid doing that.
1768 if test -f "$cache_file"; then
1769 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 echo "$as_me: loading cache $cache_file" >&6;}
1771 case $cache_file in
1772 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1773 *) . "./$cache_file";;
1774 esac
1776 else
1777 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 echo "$as_me: creating cache $cache_file" >&6;}
1779 >$cache_file
1782 # Check that the precious variables saved in the cache have kept the same
1783 # value.
1784 ac_cache_corrupted=false
1785 for ac_var in $ac_precious_vars; do
1786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1787 eval ac_new_set=\$ac_env_${ac_var}_set
1788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1789 eval ac_new_val=\$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1791 set,)
1792 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted=: ;;
1795 ,set)
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1799 ,);;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1803 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1804 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1805 echo "$as_me: former value: $ac_old_val" >&2;}
1806 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1807 echo "$as_me: current value: $ac_new_val" >&2;}
1808 ac_cache_corrupted=:
1809 fi;;
1810 esac
1811 # Pass precious variables to config.status.
1812 if test "$ac_new_set" = set; then
1813 case $ac_new_val in
1814 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 *) ac_arg=$ac_var=$ac_new_val ;;
1816 esac
1817 case " $ac_configure_args " in
1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1819 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1820 esac
1822 done
1823 if $ac_cache_corrupted; then
1824 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1825 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1826 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1827 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1828 { (exit 1); exit 1; }; }
1855 ac_ext=c
1856 ac_cpp='$CPP $CPPFLAGS'
1857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1863 ac_config_headers="$ac_config_headers include/config.h"
1865 ac_aux_dir=
1866 for ac_dir in tools "$srcdir"/tools; do
1867 if test -f "$ac_dir/install-sh"; then
1868 ac_aux_dir=$ac_dir
1869 ac_install_sh="$ac_aux_dir/install-sh -c"
1870 break
1871 elif test -f "$ac_dir/install.sh"; then
1872 ac_aux_dir=$ac_dir
1873 ac_install_sh="$ac_aux_dir/install.sh -c"
1874 break
1875 elif test -f "$ac_dir/shtool"; then
1876 ac_aux_dir=$ac_dir
1877 ac_install_sh="$ac_aux_dir/shtool install -c"
1878 break
1880 done
1881 if test -z "$ac_aux_dir"; then
1882 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1883 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1884 { (exit 1); exit 1; }; }
1887 # These three variables are undocumented and unsupported,
1888 # and are intended to be withdrawn in a future Autoconf release.
1889 # They can cause serious problems if a builder's source tree is in a directory
1890 # whose full name contains unusual characters.
1891 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1892 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1893 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1898 # Check whether --enable-win16 was given.
1899 if test "${enable_win16+set}" = set; then
1900 enableval=$enable_win16;
1903 # Check whether --enable-win64 was given.
1904 if test "${enable_win64+set}" = set; then
1905 enableval=$enable_win64;
1908 # Check whether --enable-maintainer-mode was given.
1909 if test "${enable_maintainer_mode+set}" = set; then
1910 enableval=$enable_maintainer_mode;
1911 else
1912 MAINTAINER_MODE=\#
1918 # Check whether --with-alsa was given.
1919 if test "${with_alsa+set}" = set; then
1920 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1924 # Check whether --with-audioio was given.
1925 if test "${with_audioio+set}" = set; then
1926 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1930 # Check whether --with-capi was given.
1931 if test "${with_capi+set}" = set; then
1932 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1936 # Check whether --with-cms was given.
1937 if test "${with_cms+set}" = set; then
1938 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1942 # Check whether --with-coreaudio was given.
1943 if test "${with_coreaudio+set}" = set; then
1944 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1948 # Check whether --with-cups was given.
1949 if test "${with_cups+set}" = set; then
1950 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1954 # Check whether --with-curses was given.
1955 if test "${with_curses+set}" = set; then
1956 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1960 # Check whether --with-esd was given.
1961 if test "${with_esd+set}" = set; then
1962 withval=$with_esd;
1966 # Check whether --with-fontconfig was given.
1967 if test "${with_fontconfig+set}" = set; then
1968 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1972 # Check whether --with-gphoto was given.
1973 if test "${with_gphoto+set}" = set; then
1974 withval=$with_gphoto;
1978 # Check whether --with-hal was given.
1979 if test "${with_hal+set}" = set; then
1980 withval=$with_hal;
1984 # Check whether --with-jack was given.
1985 if test "${with_jack+set}" = set; then
1986 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1990 # Check whether --with-jpeg was given.
1991 if test "${with_jpeg+set}" = set; then
1992 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1996 # Check whether --with-ldap was given.
1997 if test "${with_ldap+set}" = set; then
1998 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2002 # Check whether --with-nas was given.
2003 if test "${with_nas+set}" = set; then
2004 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2008 # Check whether --with-opengl was given.
2009 if test "${with_opengl+set}" = set; then
2010 withval=$with_opengl;
2014 # Check whether --with-openssl was given.
2015 if test "${with_openssl+set}" = set; then
2016 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2020 # Check whether --with-oss was given.
2021 if test "${with_oss+set}" = set; then
2022 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2026 # Check whether --with-png was given.
2027 if test "${with_png+set}" = set; then
2028 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2032 # Check whether --with-sane was given.
2033 if test "${with_sane+set}" = set; then
2034 withval=$with_sane;
2038 # Check whether --with-xcomposite was given.
2039 if test "${with_xcomposite+set}" = set; then
2040 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2044 # Check whether --with-xcursor was given.
2045 if test "${with_xcursor+set}" = set; then
2046 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2050 # Check whether --with-xinerama was given.
2051 if test "${with_xinerama+set}" = set; then
2052 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2056 # Check whether --with-xinput was given.
2057 if test "${with_xinput+set}" = set; then
2058 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2062 # Check whether --with-xml was given.
2063 if test "${with_xml+set}" = set; then
2064 withval=$with_xml;
2068 # Check whether --with-xrandr was given.
2069 if test "${with_xrandr+set}" = set; then
2070 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2074 # Check whether --with-xrender was given.
2075 if test "${with_xrender+set}" = set; then
2076 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2080 # Check whether --with-xshape was given.
2081 if test "${with_xshape+set}" = set; then
2082 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2086 # Check whether --with-xshm was given.
2087 if test "${with_xshm+set}" = set; then
2088 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2092 # Check whether --with-xslt was given.
2093 if test "${with_xslt+set}" = set; then
2094 withval=$with_xslt;
2098 # Check whether --with-xvidmode was given.
2099 if test "${with_xvidmode+set}" = set; then
2100 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2105 # Check whether --with-wine-tools was given.
2106 if test "${with_wine_tools+set}" = set; then
2107 withval=$with_wine_tools;
2110 # Check whether --enable-tests was given.
2111 if test "${enable_tests+set}" = set; then
2112 enableval=$enable_tests;
2116 # Make sure we can run config.sub.
2117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2118 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2119 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2120 { (exit 1); exit 1; }; }
2122 { echo "$as_me:$LINENO: checking build system type" >&5
2123 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2124 if test "${ac_cv_build+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 else
2127 ac_build_alias=$build_alias
2128 test "x$ac_build_alias" = x &&
2129 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2130 test "x$ac_build_alias" = x &&
2131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2133 { (exit 1); exit 1; }; }
2134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2135 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2136 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2137 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2141 echo "${ECHO_T}$ac_cv_build" >&6; }
2142 case $ac_cv_build in
2143 *-*-*) ;;
2144 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2145 echo "$as_me: error: invalid value of canonical build" >&2;}
2146 { (exit 1); exit 1; }; };;
2147 esac
2148 build=$ac_cv_build
2149 ac_save_IFS=$IFS; IFS='-'
2150 set x $ac_cv_build
2151 shift
2152 build_cpu=$1
2153 build_vendor=$2
2154 shift; shift
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2157 build_os=$*
2158 IFS=$ac_save_IFS
2159 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2162 { echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167 if test "x$host_alias" = x; then
2168 ac_cv_host=$ac_cv_build
2169 else
2170 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2172 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2178 echo "${ECHO_T}$ac_cv_host" >&6; }
2179 case $ac_cv_host in
2180 *-*-*) ;;
2181 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2182 echo "$as_me: error: invalid value of canonical host" >&2;}
2183 { (exit 1); exit 1; }; };;
2184 esac
2185 host=$ac_cv_host
2186 ac_save_IFS=$IFS; IFS='-'
2187 set x $ac_cv_host
2188 shift
2189 host_cpu=$1
2190 host_vendor=$2
2191 shift; shift
2192 # Remember, the first character of IFS is used to create $*,
2193 # except with old shells:
2194 host_os=$*
2195 IFS=$ac_save_IFS
2196 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2199 case $host in
2200 x86_64*linux*)
2201 if test "x$enable_win64" != "xyes"
2202 then
2203 test -n "$CC" || CC="gcc -m32"
2204 test -n "$CXX"|| CXX="g++ -m32"
2205 test -n "$LD" || LD="ld -m elf_i386"
2206 test -n "$AS" || AS="as --32"
2207 host_cpu="i386"
2210 esac
2212 case $host_cpu in
2213 *i[3456789]86*)
2214 if test "x$enable_win16" != "xno"
2215 then
2216 enable_win16="yes"
2219 esac
2221 WIN16_FILES="\$(WIN16_FILES)"
2223 WIN16_INSTALL="\$(WIN16_INSTALL)"
2225 if test "x$enable_win16" != "xyes"
2226 then
2227 WIN16_FILES=""
2228 WIN16_INSTALL=""
2231 if test "x$enable_tests" == "xno"
2232 then
2233 TESTSUBDIRS=""
2235 WINETEST=""
2237 else
2238 TESTSUBDIRS="\$(TESTSUBDIRS)"
2240 WINETEST="winetest"
2244 case "$srcdir" in
2245 .) ;;
2246 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2247 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&5
2249 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2250 You need to run 'make distclean' in the source tree first." >&2;}
2251 { (exit 1); exit 1; }; }
2252 fi ;;
2253 esac
2256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2258 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2259 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 cat >conftest.make <<\_ACEOF
2263 SHELL = /bin/sh
2264 all:
2265 @echo '@@@%%%=$(MAKE)=@@@%%%'
2266 _ACEOF
2267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2269 *@@@%%%=?*=@@@%%%*)
2270 eval ac_cv_prog_make_${ac_make}_set=yes;;
2272 eval ac_cv_prog_make_${ac_make}_set=no;;
2273 esac
2274 rm -f conftest.make
2276 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2277 { echo "$as_me:$LINENO: result: yes" >&5
2278 echo "${ECHO_T}yes" >&6; }
2279 SET_MAKE=
2280 else
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2283 SET_MAKE="MAKE=${MAKE-make}"
2286 ac_ext=c
2287 ac_cpp='$CPP $CPPFLAGS'
2288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2291 if test -n "$ac_tool_prefix"; then
2292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2293 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296 if test "${ac_cv_prog_CC+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else
2299 if test -n "$CC"; then
2300 ac_cv_prog_CC="$CC" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2305 IFS=$as_save_IFS
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2313 done
2314 done
2315 IFS=$as_save_IFS
2319 CC=$ac_cv_prog_CC
2320 if test -n "$CC"; then
2321 { echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6; }
2323 else
2324 { echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6; }
2330 if test -z "$ac_cv_prog_CC"; then
2331 ac_ct_CC=$CC
2332 # Extract the first word of "gcc", so it can be a program name with args.
2333 set dummy gcc; ac_word=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 else
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2341 else
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2345 IFS=$as_save_IFS
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC="gcc"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 break 2
2353 done
2354 done
2355 IFS=$as_save_IFS
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6; }
2363 else
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2368 if test "x$ac_ct_CC" = x; then
2369 CC=""
2370 else
2371 case $cross_compiling:$ac_tool_warned in
2372 yes:)
2373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 whose name does not start with the host triplet. If you think this
2378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 ac_tool_warned=yes ;;
2380 esac
2381 CC=$ac_ct_CC
2383 else
2384 CC="$ac_cv_prog_CC"
2387 if test -z "$CC"; then
2388 if test -n "$ac_tool_prefix"; then
2389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2390 set dummy ${ac_tool_prefix}cc; ac_word=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 else
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC="$CC" # Let the user override the test.
2398 else
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 for as_dir in $PATH
2402 IFS=$as_save_IFS
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_CC="${ac_tool_prefix}cc"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 break 2
2410 done
2411 done
2412 IFS=$as_save_IFS
2416 CC=$ac_cv_prog_CC
2417 if test -n "$CC"; then
2418 { echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6; }
2420 else
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc; ac_word=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 else
2439 ac_prog_rejected=no
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected=yes
2449 continue
2451 ac_cv_prog_CC="cc"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 break 2
2455 done
2456 done
2457 IFS=$as_save_IFS
2459 if test $ac_prog_rejected = yes; then
2460 # We found a bogon in the path, so make sure we never use it.
2461 set dummy $ac_cv_prog_CC
2462 shift
2463 if test $# != 0; then
2464 # We chose a different compiler from the bogus one.
2465 # However, it has the same basename, so the bogon will be chosen
2466 # first if we set CC to just the basename; use the full file name.
2467 shift
2468 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2473 CC=$ac_cv_prog_CC
2474 if test -n "$CC"; then
2475 { echo "$as_me:$LINENO: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6; }
2477 else
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2484 if test -z "$CC"; then
2485 if test -n "$ac_tool_prefix"; then
2486 for ac_prog in cl.exe
2488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2511 IFS=$as_save_IFS
2515 CC=$ac_cv_prog_CC
2516 if test -n "$CC"; then
2517 { echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6; }
2519 else
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2525 test -n "$CC" && break
2526 done
2528 if test -z "$CC"; then
2529 ac_ct_CC=$CC
2530 for ac_prog in cl.exe
2532 # Extract the first word of "$ac_prog", so it can be a program name with args.
2533 set dummy $ac_prog; ac_word=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 else
2539 if test -n "$ac_ct_CC"; then
2540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2541 else
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 for as_dir in $PATH
2545 IFS=$as_save_IFS
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_ac_ct_CC="$ac_prog"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 break 2
2553 done
2554 done
2555 IFS=$as_save_IFS
2559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2560 if test -n "$ac_ct_CC"; then
2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 echo "${ECHO_T}$ac_ct_CC" >&6; }
2563 else
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2569 test -n "$ac_ct_CC" && break
2570 done
2572 if test "x$ac_ct_CC" = x; then
2573 CC=""
2574 else
2575 case $cross_compiling:$ac_tool_warned in
2576 yes:)
2577 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&5
2580 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2581 whose name does not start with the host triplet. If you think this
2582 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2583 ac_tool_warned=yes ;;
2584 esac
2585 CC=$ac_ct_CC
2592 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: no acceptable C compiler found in \$PATH
2595 See \`config.log' for more details." >&2;}
2596 { (exit 1); exit 1; }; }
2598 # Provide some information about the compiler.
2599 echo "$as_me:$LINENO: checking for C compiler version" >&5
2600 ac_compiler=`set X $ac_compile; echo $2`
2601 { (ac_try="$ac_compiler --version >&5"
2602 case "(($ac_try" in
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2605 esac
2606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2607 (eval "$ac_compiler --version >&5") 2>&5
2608 ac_status=$?
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (ac_try="$ac_compiler -v >&5"
2612 case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615 esac
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compiler -v >&5") 2>&5
2618 ac_status=$?
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621 { (ac_try="$ac_compiler -V >&5"
2622 case "(($ac_try" in
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2625 esac
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler -V >&5") 2>&5
2628 ac_status=$?
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2644 return 0;
2646 _ACEOF
2647 ac_clean_files_save=$ac_clean_files
2648 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2649 # Try to create an executable without -o first, disregard a.out.
2650 # It will help us diagnose broken compilers, and finding out an intuition
2651 # of exeext.
2652 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2653 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2654 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 # List of possible output files, starting from the most likely.
2657 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2658 # only as a last resort. b.out is created by i960 compilers.
2659 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2661 # The IRIX 6 linker writes into existing files which may not be
2662 # executable, retaining their permissions. Remove them first so a
2663 # subsequent execution test works.
2664 ac_rmfiles=
2665 for ac_file in $ac_files
2667 case $ac_file in
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2669 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2670 esac
2671 done
2672 rm -f $ac_rmfiles
2674 if { (ac_try="$ac_link_default"
2675 case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_link_default") 2>&5
2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2685 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2686 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2687 # so that the user can short-circuit this test for compilers unknown to
2688 # Autoconf.
2689 for ac_file in $ac_files ''
2691 test -f "$ac_file" || continue
2692 case $ac_file in
2693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2695 [ab].out )
2696 # We found the default executable, but exeext='' is most
2697 # certainly right.
2698 break;;
2699 *.* )
2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2701 then :; else
2702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 # We set ac_cv_exeext here because the later test for it is not
2705 # safe: cross compilers may not add the suffix if given an `-o'
2706 # argument, so we may need to know it at that point already.
2707 # Even if this section looks crufty: it has the advantage of
2708 # actually working.
2709 break;;
2711 break;;
2712 esac
2713 done
2714 test "$ac_cv_exeext" = no && ac_cv_exeext=
2716 else
2717 ac_file=''
2720 { echo "$as_me:$LINENO: result: $ac_file" >&5
2721 echo "${ECHO_T}$ac_file" >&6; }
2722 if test -z "$ac_file"; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.$ac_ext >&5
2726 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&5
2728 echo "$as_me: error: C compiler cannot create executables
2729 See \`config.log' for more details." >&2;}
2730 { (exit 77); exit 77; }; }
2733 ac_exeext=$ac_cv_exeext
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2738 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2739 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2740 # If not cross compiling, check that we can run a simple program.
2741 if test "$cross_compiling" != yes; then
2742 if { ac_try='./$ac_file'
2743 { (case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_try") 2>&5
2749 ac_status=$?
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2752 cross_compiling=no
2753 else
2754 if test "$cross_compiling" = maybe; then
2755 cross_compiling=yes
2756 else
2757 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details." >&5
2760 echo "$as_me: error: cannot run C compiled programs.
2761 If you meant to cross compile, use \`--host'.
2762 See \`config.log' for more details." >&2;}
2763 { (exit 1); exit 1; }; }
2767 { echo "$as_me:$LINENO: result: yes" >&5
2768 echo "${ECHO_T}yes" >&6; }
2770 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2771 ac_clean_files=$ac_clean_files_save
2772 # Check that the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2775 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2776 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2777 echo "${ECHO_T}$cross_compiling" >&6; }
2779 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2780 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2781 if { (ac_try="$ac_link"
2782 case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_link") 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; then
2791 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2792 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2793 # work properly (i.e., refer to `conftest.exe'), while it won't with
2794 # `rm'.
2795 for ac_file in conftest.exe conftest conftest.*; do
2796 test -f "$ac_file" || continue
2797 case $ac_file in
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2799 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2800 break;;
2801 * ) break;;
2802 esac
2803 done
2804 else
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2812 rm -f conftest$ac_cv_exeext
2813 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2814 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2816 rm -f conftest.$ac_ext
2817 EXEEXT=$ac_cv_exeext
2818 ac_exeext=$EXEEXT
2819 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2820 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2821 if test "${ac_cv_objext+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 else
2824 cat >conftest.$ac_ext <<_ACEOF
2825 /* confdefs.h. */
2826 _ACEOF
2827 cat confdefs.h >>conftest.$ac_ext
2828 cat >>conftest.$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2832 main ()
2836 return 0;
2838 _ACEOF
2839 rm -f conftest.o conftest.obj
2840 if { (ac_try="$ac_compile"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compile") 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 for ac_file in conftest.o conftest.obj conftest.*; do
2851 test -f "$ac_file" || continue;
2852 case $ac_file in
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2855 break;;
2856 esac
2857 done
2858 else
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details." >&5
2864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details." >&2;}
2866 { (exit 1); exit 1; }; }
2869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2871 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2872 echo "${ECHO_T}$ac_cv_objext" >&6; }
2873 OBJEXT=$ac_cv_objext
2874 ac_objext=$OBJEXT
2875 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2876 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 else
2880 cat >conftest.$ac_ext <<_ACEOF
2881 /* confdefs.h. */
2882 _ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2888 main ()
2890 #ifndef __GNUC__
2891 choke me
2892 #endif
2895 return 0;
2897 _ACEOF
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2906 ac_status=$?
2907 grep -v '^ *+' conftest.er1 >conftest.err
2908 rm -f conftest.er1
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_compiler_gnu=yes
2916 else
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920 ac_compiler_gnu=no
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2927 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2928 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2929 GCC=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_CFLAGS=${CFLAGS+set}
2931 ac_save_CFLAGS=$CFLAGS
2932 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2933 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2934 if test "${ac_cv_prog_cc_g+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 else
2937 ac_save_c_werror_flag=$ac_c_werror_flag
2938 ac_c_werror_flag=yes
2939 ac_cv_prog_cc_g=no
2940 CFLAGS="-g"
2941 cat >conftest.$ac_ext <<_ACEOF
2942 /* confdefs.h. */
2943 _ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2949 main ()
2953 return 0;
2955 _ACEOF
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2964 ac_status=$?
2965 grep -v '^ *+' conftest.er1 >conftest.err
2966 rm -f conftest.er1
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } && {
2970 test -z "$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 } && test -s conftest.$ac_objext; then
2973 ac_cv_prog_cc_g=yes
2974 else
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 CFLAGS=""
2979 cat >conftest.$ac_ext <<_ACEOF
2980 /* confdefs.h. */
2981 _ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2987 main ()
2991 return 0;
2993 _ACEOF
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2996 case "(($ac_try" in
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
2999 esac
3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>conftest.er1
3002 ac_status=$?
3003 grep -v '^ *+' conftest.er1 >conftest.err
3004 rm -f conftest.er1
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } && {
3008 test -z "$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3010 } && test -s conftest.$ac_objext; then
3012 else
3013 echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_c_werror_flag=$ac_save_c_werror_flag
3017 CFLAGS="-g"
3018 cat >conftest.$ac_ext <<_ACEOF
3019 /* confdefs.h. */
3020 _ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3026 main ()
3030 return 0;
3032 _ACEOF
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3035 case "(($ac_try" in
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3038 esac
3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3041 ac_status=$?
3042 grep -v '^ *+' conftest.er1 >conftest.err
3043 rm -f conftest.er1
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3050 ac_cv_prog_cc_g=yes
3051 else
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_c_werror_flag=$ac_save_c_werror_flag
3067 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3069 if test "$ac_test_CFLAGS" = set; then
3070 CFLAGS=$ac_save_CFLAGS
3071 elif test $ac_cv_prog_cc_g = yes; then
3072 if test "$GCC" = yes; then
3073 CFLAGS="-g -O2"
3074 else
3075 CFLAGS="-g"
3077 else
3078 if test "$GCC" = yes; then
3079 CFLAGS="-O2"
3080 else
3081 CFLAGS=
3084 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3085 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3086 if test "${ac_cv_prog_cc_c89+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 else
3089 ac_cv_prog_cc_c89=no
3090 ac_save_CC=$CC
3091 cat >conftest.$ac_ext <<_ACEOF
3092 /* confdefs.h. */
3093 _ACEOF
3094 cat confdefs.h >>conftest.$ac_ext
3095 cat >>conftest.$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3097 #include <stdarg.h>
3098 #include <stdio.h>
3099 #include <sys/types.h>
3100 #include <sys/stat.h>
3101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3102 struct buf { int x; };
3103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3104 static char *e (p, i)
3105 char **p;
3106 int i;
3108 return p[i];
3110 static char *f (char * (*g) (char **, int), char **p, ...)
3112 char *s;
3113 va_list v;
3114 va_start (v,p);
3115 s = g (p, va_arg (v,int));
3116 va_end (v);
3117 return s;
3120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3121 function prototypes and stuff, but not '\xHH' hex character constants.
3122 These don't provoke an error unfortunately, instead are silently treated
3123 as 'x'. The following induces an error, until -std is added to get
3124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3125 array size at least. It's necessary to write '\x00'==0 to get something
3126 that's true only with -std. */
3127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3130 inside strings and character constants. */
3131 #define FOO(x) 'x'
3132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3134 int test (int i, double x);
3135 struct s1 {int (*f) (int a);};
3136 struct s2 {int (*f) (double a);};
3137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3138 int argc;
3139 char **argv;
3141 main ()
3143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3145 return 0;
3147 _ACEOF
3148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3151 CC="$ac_save_CC $ac_arg"
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3154 case "(($ac_try" in
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3157 esac
3158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_c_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3169 ac_cv_prog_cc_c89=$ac_arg
3170 else
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext
3178 test "x$ac_cv_prog_cc_c89" != "xno" && break
3179 done
3180 rm -f conftest.$ac_ext
3181 CC=$ac_save_CC
3184 # AC_CACHE_VAL
3185 case "x$ac_cv_prog_cc_c89" in
3187 { echo "$as_me:$LINENO: result: none needed" >&5
3188 echo "${ECHO_T}none needed" >&6; } ;;
3189 xno)
3190 { echo "$as_me:$LINENO: result: unsupported" >&5
3191 echo "${ECHO_T}unsupported" >&6; } ;;
3193 CC="$CC $ac_cv_prog_cc_c89"
3194 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3195 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3196 esac
3199 ac_ext=c
3200 ac_cpp='$CPP $CPPFLAGS'
3201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3205 ac_ext=cpp
3206 ac_cpp='$CXXCPP $CPPFLAGS'
3207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3210 if test -z "$CXX"; then
3211 if test -n "$CCC"; then
3212 CXX=$CCC
3213 else
3214 if test -n "$ac_tool_prefix"; then
3215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3221 if test "${ac_cv_prog_CXX+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 else
3224 if test -n "$CXX"; then
3225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3226 else
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 for as_dir in $PATH
3230 IFS=$as_save_IFS
3231 test -z "$as_dir" && as_dir=.
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 break 2
3238 done
3239 done
3240 IFS=$as_save_IFS
3244 CXX=$ac_cv_prog_CXX
3245 if test -n "$CXX"; then
3246 { echo "$as_me:$LINENO: result: $CXX" >&5
3247 echo "${ECHO_T}$CXX" >&6; }
3248 else
3249 { echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6; }
3254 test -n "$CXX" && break
3255 done
3257 if test -z "$CXX"; then
3258 ac_ct_CXX=$CXX
3259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy $ac_prog; ac_word=$2
3263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 else
3268 if test -n "$ac_ct_CXX"; then
3269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3274 IFS=$as_save_IFS
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_ac_ct_CXX="$ac_prog"
3279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 break 2
3282 done
3283 done
3284 IFS=$as_save_IFS
3288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3289 if test -n "$ac_ct_CXX"; then
3290 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3291 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3292 else
3293 { echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6; }
3298 test -n "$ac_ct_CXX" && break
3299 done
3301 if test "x$ac_ct_CXX" = x; then
3302 CXX="g++"
3303 else
3304 case $cross_compiling:$ac_tool_warned in
3305 yes:)
3306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3307 whose name does not start with the host triplet. If you think this
3308 configuration is useful to you, please write to autoconf@gnu.org." >&5
3309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3310 whose name does not start with the host triplet. If you think this
3311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3312 ac_tool_warned=yes ;;
3313 esac
3314 CXX=$ac_ct_CXX
3320 # Provide some information about the compiler.
3321 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3322 ac_compiler=`set X $ac_compile; echo $2`
3323 { (ac_try="$ac_compiler --version >&5"
3324 case "(($ac_try" in
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3327 esac
3328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compiler --version >&5") 2>&5
3330 ac_status=$?
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }
3333 { (ac_try="$ac_compiler -v >&5"
3334 case "(($ac_try" in
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3337 esac
3338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compiler -v >&5") 2>&5
3340 ac_status=$?
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }
3343 { (ac_try="$ac_compiler -V >&5"
3344 case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compiler -V >&5") 2>&5
3350 ac_status=$?
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }
3354 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3355 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3356 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 else
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3367 main ()
3369 #ifndef __GNUC__
3370 choke me
3371 #endif
3374 return 0;
3376 _ACEOF
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3379 case "(($ac_try" in
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3382 esac
3383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3385 ac_status=$?
3386 grep -v '^ *+' conftest.er1 >conftest.err
3387 rm -f conftest.er1
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_cxx_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3394 ac_compiler_gnu=yes
3395 else
3396 echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3399 ac_compiler_gnu=no
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3406 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3407 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3408 GXX=`test $ac_compiler_gnu = yes && echo yes`
3409 ac_test_CXXFLAGS=${CXXFLAGS+set}
3410 ac_save_CXXFLAGS=$CXXFLAGS
3411 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3412 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3413 if test "${ac_cv_prog_cxx_g+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 else
3416 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3417 ac_cxx_werror_flag=yes
3418 ac_cv_prog_cxx_g=no
3419 CXXFLAGS="-g"
3420 cat >conftest.$ac_ext <<_ACEOF
3421 /* confdefs.h. */
3422 _ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3428 main ()
3432 return 0;
3434 _ACEOF
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3437 case "(($ac_try" in
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3440 esac
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3443 ac_status=$?
3444 grep -v '^ *+' conftest.er1 >conftest.err
3445 rm -f conftest.er1
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_cxx_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3452 ac_cv_prog_cxx_g=yes
3453 else
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 CXXFLAGS=""
3458 cat >conftest.$ac_ext <<_ACEOF
3459 /* confdefs.h. */
3460 _ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3466 main ()
3470 return 0;
3472 _ACEOF
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3475 case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3478 esac
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3481 ac_status=$?
3482 grep -v '^ *+' conftest.er1 >conftest.err
3483 rm -f conftest.er1
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_cxx_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3491 else
3492 echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3496 CXXFLAGS="-g"
3497 cat >conftest.$ac_ext <<_ACEOF
3498 /* confdefs.h. */
3499 _ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3505 main ()
3509 return 0;
3511 _ACEOF
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3514 case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3517 esac
3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3520 ac_status=$?
3521 grep -v '^ *+' conftest.er1 >conftest.err
3522 rm -f conftest.er1
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_cxx_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_prog_cxx_g=yes
3530 else
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3546 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3547 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3548 if test "$ac_test_CXXFLAGS" = set; then
3549 CXXFLAGS=$ac_save_CXXFLAGS
3550 elif test $ac_cv_prog_cxx_g = yes; then
3551 if test "$GXX" = yes; then
3552 CXXFLAGS="-g -O2"
3553 else
3554 CXXFLAGS="-g"
3556 else
3557 if test "$GXX" = yes; then
3558 CXXFLAGS="-O2"
3559 else
3560 CXXFLAGS=
3563 ac_ext=c
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3574 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 else
3577 if test -n "$CPPBIN"; then
3578 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3591 done
3592 done
3593 IFS=$as_save_IFS
3597 CPPBIN=$ac_cv_prog_CPPBIN
3598 if test -n "$CPPBIN"; then
3599 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3600 echo "${ECHO_T}$CPPBIN" >&6; }
3601 else
3602 { echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6; }
3608 if test -z "$ac_cv_prog_CPPBIN"; then
3609 ac_ct_CPPBIN=$CPPBIN
3610 # Extract the first word of "cpp", so it can be a program name with args.
3611 set dummy cpp; ac_word=$2
3612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3614 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 else
3617 if test -n "$ac_ct_CPPBIN"; then
3618 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CPPBIN="cpp"
3628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3633 IFS=$as_save_IFS
3637 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3638 if test -n "$ac_ct_CPPBIN"; then
3639 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3640 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3641 else
3642 { echo "$as_me:$LINENO: result: no" >&5
3643 echo "${ECHO_T}no" >&6; }
3646 if test "x$ac_ct_CPPBIN" = x; then
3647 CPPBIN="cpp"
3648 else
3649 case $cross_compiling:$ac_tool_warned in
3650 yes:)
3651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3652 whose name does not start with the host triplet. If you think this
3653 configuration is useful to you, please write to autoconf@gnu.org." >&5
3654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3655 whose name does not start with the host triplet. If you think this
3656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3657 ac_tool_warned=yes ;;
3658 esac
3659 CPPBIN=$ac_ct_CPPBIN
3661 else
3662 CPPBIN="$ac_cv_prog_CPPBIN"
3666 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3667 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3668 if test "${wine_cv_toolsdir+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 else
3671 if test -z "$with_wine_tools"; then
3672 if test "$cross_compiling" = "yes"; then
3673 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3674 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3675 { (exit 1); exit 1; }; }
3676 else
3677 wine_cv_toolsdir="\$(TOPOBJDIR)"
3679 elif test -d "$with_wine_tools/tools/winebuild"; then
3680 case $with_wine_tools in
3681 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3682 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3683 esac
3684 else
3685 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3686 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3687 { (exit 1); exit 1; }; }
3690 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3691 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3692 TOOLSDIR=$wine_cv_toolsdir
3696 ac_ext=c
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3702 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3703 # On Suns, sometimes $CPP names a directory.
3704 if test -n "$CPP" && test -d "$CPP"; then
3705 CPP=
3707 if test -z "$CPP"; then
3708 if test "${ac_cv_prog_CPP+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else
3711 # Double quotes because CPP needs to be expanded
3712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3714 ac_preproc_ok=false
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3724 /* confdefs.h. */
3725 _ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3729 #ifdef __STDC__
3730 # include <limits.h>
3731 #else
3732 # include <assert.h>
3733 #endif
3734 Syntax error
3735 _ACEOF
3736 if { (ac_try="$ac_cpp conftest.$ac_ext"
3737 case "(($ac_try" in
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3740 esac
3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3743 ac_status=$?
3744 grep -v '^ *+' conftest.er1 >conftest.err
3745 rm -f conftest.er1
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } >/dev/null && {
3749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3750 test ! -s conftest.err
3751 }; then
3753 else
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3757 # Broken: fails on valid input.
3758 continue
3761 rm -f conftest.err conftest.$ac_ext
3763 # OK, works on sane cases. Now check whether nonexistent headers
3764 # can be detected and how.
3765 cat >conftest.$ac_ext <<_ACEOF
3766 /* confdefs.h. */
3767 _ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 #include <ac_nonexistent.h>
3772 _ACEOF
3773 if { (ac_try="$ac_cpp conftest.$ac_ext"
3774 case "(($ac_try" in
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3777 esac
3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3780 ac_status=$?
3781 grep -v '^ *+' conftest.er1 >conftest.err
3782 rm -f conftest.er1
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } >/dev/null && {
3786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3787 test ! -s conftest.err
3788 }; then
3789 # Broken: success on invalid input.
3790 continue
3791 else
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 # Passes both tests.
3796 ac_preproc_ok=:
3797 break
3800 rm -f conftest.err conftest.$ac_ext
3802 done
3803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3804 rm -f conftest.err conftest.$ac_ext
3805 if $ac_preproc_ok; then
3806 break
3809 done
3810 ac_cv_prog_CPP=$CPP
3813 CPP=$ac_cv_prog_CPP
3814 else
3815 ac_cv_prog_CPP=$CPP
3817 { echo "$as_me:$LINENO: result: $CPP" >&5
3818 echo "${ECHO_T}$CPP" >&6; }
3819 ac_preproc_ok=false
3820 for ac_c_preproc_warn_flag in '' yes
3822 # Use a header file that comes with gcc, so configuring glibc
3823 # with a fresh cross-compiler works.
3824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3825 # <limits.h> exists even on freestanding compilers.
3826 # On the NeXT, cc -E runs the code through the compiler's parser,
3827 # not just through cpp. "Syntax error" is here to catch this case.
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #ifdef __STDC__
3835 # include <limits.h>
3836 #else
3837 # include <assert.h>
3838 #endif
3839 Syntax error
3840 _ACEOF
3841 if { (ac_try="$ac_cpp conftest.$ac_ext"
3842 case "(($ac_try" in
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3845 esac
3846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3848 ac_status=$?
3849 grep -v '^ *+' conftest.er1 >conftest.err
3850 rm -f conftest.er1
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } >/dev/null && {
3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3856 }; then
3858 else
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Broken: fails on valid input.
3863 continue
3866 rm -f conftest.err conftest.$ac_ext
3868 # OK, works on sane cases. Now check whether nonexistent headers
3869 # can be detected and how.
3870 cat >conftest.$ac_ext <<_ACEOF
3871 /* confdefs.h. */
3872 _ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3877 _ACEOF
3878 if { (ac_try="$ac_cpp conftest.$ac_ext"
3879 case "(($ac_try" in
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3882 esac
3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3885 ac_status=$?
3886 grep -v '^ *+' conftest.er1 >conftest.err
3887 rm -f conftest.er1
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } >/dev/null && {
3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3893 }; then
3894 # Broken: success on invalid input.
3895 continue
3896 else
3897 echo "$as_me: failed program was:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3900 # Passes both tests.
3901 ac_preproc_ok=:
3902 break
3905 rm -f conftest.err conftest.$ac_ext
3907 done
3908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3909 rm -f conftest.err conftest.$ac_ext
3910 if $ac_preproc_ok; then
3912 else
3913 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log' for more details." >&5
3915 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3916 See \`config.log' for more details." >&2;}
3917 { (exit 1); exit 1; }; }
3920 ac_ext=c
3921 ac_cpp='$CPP $CPPFLAGS'
3922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 { echo "$as_me:$LINENO: checking for X" >&5
3928 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3931 # Check whether --with-x was given.
3932 if test "${with_x+set}" = set; then
3933 withval=$with_x;
3936 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3937 if test "x$with_x" = xno; then
3938 # The user explicitly disabled X.
3939 have_x=disabled
3940 else
3941 case $x_includes,$x_libraries in #(
3942 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3943 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3944 { (exit 1); exit 1; }; };; #(
3945 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else
3948 # One or both of the vars are not set, and there is no cached value.
3949 ac_x_includes=no ac_x_libraries=no
3950 rm -f -r conftest.dir
3951 if mkdir conftest.dir; then
3952 cd conftest.dir
3953 cat >Imakefile <<'_ACEOF'
3954 incroot:
3955 @echo incroot='${INCROOT}'
3956 usrlibdir:
3957 @echo usrlibdir='${USRLIBDIR}'
3958 libdir:
3959 @echo libdir='${LIBDIR}'
3960 _ACEOF
3961 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 for ac_var in incroot usrlibdir libdir; do
3964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3965 done
3966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3967 for ac_extension in a so sl; do
3968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3970 ac_im_usrlibdir=$ac_im_libdir; break
3972 done
3973 # Screen out bogus values from the imake configuration. They are
3974 # bogus both because they are the default anyway, and because
3975 # using them would break gcc on systems where it needs fixed includes.
3976 case $ac_im_incroot in
3977 /usr/include) ac_x_includes= ;;
3978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3979 esac
3980 case $ac_im_usrlibdir in
3981 /usr/lib | /lib) ;;
3982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3983 esac
3985 cd ..
3986 rm -f -r conftest.dir
3989 # Standard set of common directories for X headers.
3990 # Check X11 before X11Rn because it is often a symlink to the current release.
3991 ac_x_header_dirs='
3992 /usr/X11/include
3993 /usr/X11R6/include
3994 /usr/X11R5/include
3995 /usr/X11R4/include
3997 /usr/include/X11
3998 /usr/include/X11R6
3999 /usr/include/X11R5
4000 /usr/include/X11R4
4002 /usr/local/X11/include
4003 /usr/local/X11R6/include
4004 /usr/local/X11R5/include
4005 /usr/local/X11R4/include
4007 /usr/local/include/X11
4008 /usr/local/include/X11R6
4009 /usr/local/include/X11R5
4010 /usr/local/include/X11R4
4012 /usr/X386/include
4013 /usr/x386/include
4014 /usr/XFree86/include/X11
4016 /usr/include
4017 /usr/local/include
4018 /usr/unsupported/include
4019 /usr/athena/include
4020 /usr/local/x11r5/include
4021 /usr/lpp/Xamples/include
4023 /usr/openwin/include
4024 /usr/openwin/share/include'
4026 if test "$ac_x_includes" = no; then
4027 # Guess where to find include files, by looking for Xlib.h.
4028 # First, try using that file with no special directory specified.
4029 cat >conftest.$ac_ext <<_ACEOF
4030 /* confdefs.h. */
4031 _ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 #include <X11/Xlib.h>
4036 _ACEOF
4037 if { (ac_try="$ac_cpp conftest.$ac_ext"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4044 ac_status=$?
4045 grep -v '^ *+' conftest.er1 >conftest.err
4046 rm -f conftest.er1
4047 cat conftest.err >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } >/dev/null && {
4050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4051 test ! -s conftest.err
4052 }; then
4053 # We can compile using X headers with no special include directory.
4054 ac_x_includes=
4055 else
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 for ac_dir in $ac_x_header_dirs; do
4060 if test -r "$ac_dir/X11/Xlib.h"; then
4061 ac_x_includes=$ac_dir
4062 break
4064 done
4067 rm -f conftest.err conftest.$ac_ext
4068 fi # $ac_x_includes = no
4070 if test "$ac_x_libraries" = no; then
4071 # Check for the libraries.
4072 # See if we find them without any special options.
4073 # Don't add to $LIBS permanently.
4074 ac_save_LIBS=$LIBS
4075 LIBS="-lX11 $LIBS"
4076 cat >conftest.$ac_ext <<_ACEOF
4077 /* confdefs.h. */
4078 _ACEOF
4079 cat confdefs.h >>conftest.$ac_ext
4080 cat >>conftest.$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 #include <X11/Xlib.h>
4084 main ()
4086 XrmInitialize ()
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4099 ac_status=$?
4100 grep -v '^ *+' conftest.er1 >conftest.err
4101 rm -f conftest.er1
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4109 LIBS=$ac_save_LIBS
4110 # We can link X programs with no special library path.
4111 ac_x_libraries=
4112 else
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 LIBS=$ac_save_LIBS
4117 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4119 # Don't even attempt the hair of trying to link an X program!
4120 for ac_extension in a so sl; do
4121 if test -r "$ac_dir/libX11.$ac_extension"; then
4122 ac_x_libraries=$ac_dir
4123 break 2
4125 done
4126 done
4129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4130 conftest$ac_exeext conftest.$ac_ext
4131 fi # $ac_x_libraries = no
4133 case $ac_x_includes,$ac_x_libraries in #(
4134 no,* | *,no | *\'*)
4135 # Didn't find X, or a directory has "'" in its name.
4136 ac_cv_have_x="have_x=no";; #(
4138 # Record where we found X for the cache.
4139 ac_cv_have_x="have_x=yes\
4140 ac_x_includes='$ac_x_includes'\
4141 ac_x_libraries='$ac_x_libraries'"
4142 esac
4144 ;; #(
4145 *) have_x=yes;;
4146 esac
4147 eval "$ac_cv_have_x"
4148 fi # $with_x != no
4150 if test "$have_x" != yes; then
4151 { echo "$as_me:$LINENO: result: $have_x" >&5
4152 echo "${ECHO_T}$have_x" >&6; }
4153 no_x=yes
4154 else
4155 # If each of the values was on the command line, it overrides each guess.
4156 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4157 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4158 # Update the cache value to reflect the command line values.
4159 ac_cv_have_x="have_x=yes\
4160 ac_x_includes='$x_includes'\
4161 ac_x_libraries='$x_libraries'"
4162 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4163 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4166 if test "$no_x" = yes; then
4167 # Not all programs may use this symbol, but it does not hurt to define it.
4169 cat >>confdefs.h <<\_ACEOF
4170 #define X_DISPLAY_MISSING 1
4171 _ACEOF
4173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4174 else
4175 if test -n "$x_includes"; then
4176 X_CFLAGS="$X_CFLAGS -I$x_includes"
4179 # It would also be nice to do this for all -L options, not just this one.
4180 if test -n "$x_libraries"; then
4181 X_LIBS="$X_LIBS -L$x_libraries"
4182 # For Solaris; some versions of Sun CC require a space after -R and
4183 # others require no space. Words are not sufficient . . . .
4184 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4185 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4187 ac_xsave_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest$ac_exeext &&
4221 $as_test_x conftest$ac_exeext; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 X_LIBS="$X_LIBS -R$x_libraries"
4225 else
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.$ac_ext >&5
4229 LIBS="$ac_xsave_LIBS -R $x_libraries"
4230 cat >conftest.$ac_ext <<_ACEOF
4231 /* confdefs.h. */
4232 _ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 rm -f conftest.$ac_objext conftest$ac_exeext
4246 if { (ac_try="$ac_link"
4247 case "(($ac_try" in
4248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4250 esac
4251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_link") 2>conftest.er1
4253 ac_status=$?
4254 grep -v '^ *+' conftest.er1 >conftest.err
4255 rm -f conftest.er1
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest$ac_exeext &&
4262 $as_test_x conftest$ac_exeext; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 X_LIBS="$X_LIBS -R $x_libraries"
4266 else
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { echo "$as_me:$LINENO: result: neither works" >&5
4271 echo "${ECHO_T}neither works" >&6; }
4274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4275 conftest$ac_exeext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4279 conftest$ac_exeext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_xsave_c_werror_flag
4281 LIBS=$ac_xsave_LIBS
4284 # Check for system-dependent libraries X programs must link with.
4285 # Do this before checking for the system-independent R6 libraries
4286 # (-lICE), since we may need -lsocket or whatever for X linking.
4288 if test "$ISC" = yes; then
4289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4290 else
4291 # Martyn Johnson says this is needed for Ultrix, if the X
4292 # libraries were built with DECnet support. And Karl Berry says
4293 # the Alpha needs dnet_stub (dnet does not exist).
4294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4295 cat >conftest.$ac_ext <<_ACEOF
4296 /* confdefs.h. */
4297 _ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4302 /* Override any GCC internal prototype to avoid an error.
4303 Use char because int might match the return type of a GCC
4304 builtin and then its argument prototype would still apply. */
4305 #ifdef __cplusplus
4306 extern "C"
4307 #endif
4308 char XOpenDisplay ();
4310 main ()
4312 return XOpenDisplay ();
4314 return 0;
4316 _ACEOF
4317 rm -f conftest.$ac_objext conftest$ac_exeext
4318 if { (ac_try="$ac_link"
4319 case "(($ac_try" in
4320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321 *) ac_try_echo=$ac_try;;
4322 esac
4323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324 (eval "$ac_link") 2>conftest.er1
4325 ac_status=$?
4326 grep -v '^ *+' conftest.er1 >conftest.err
4327 rm -f conftest.er1
4328 cat conftest.err >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } && {
4331 test -z "$ac_c_werror_flag" ||
4332 test ! -s conftest.err
4333 } && test -s conftest$ac_exeext &&
4334 $as_test_x conftest$ac_exeext; then
4336 else
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.$ac_ext >&5
4340 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4341 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4342 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 else
4345 ac_check_lib_save_LIBS=$LIBS
4346 LIBS="-ldnet $LIBS"
4347 cat >conftest.$ac_ext <<_ACEOF
4348 /* confdefs.h. */
4349 _ACEOF
4350 cat confdefs.h >>conftest.$ac_ext
4351 cat >>conftest.$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4354 /* Override any GCC internal prototype to avoid an error.
4355 Use char because int might match the return type of a GCC
4356 builtin and then its argument prototype would still apply. */
4357 #ifdef __cplusplus
4358 extern "C"
4359 #endif
4360 char dnet_ntoa ();
4362 main ()
4364 return dnet_ntoa ();
4366 return 0;
4368 _ACEOF
4369 rm -f conftest.$ac_objext conftest$ac_exeext
4370 if { (ac_try="$ac_link"
4371 case "(($ac_try" in
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4374 esac
4375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376 (eval "$ac_link") 2>conftest.er1
4377 ac_status=$?
4378 grep -v '^ *+' conftest.er1 >conftest.err
4379 rm -f conftest.er1
4380 cat conftest.err >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } && {
4383 test -z "$ac_c_werror_flag" ||
4384 test ! -s conftest.err
4385 } && test -s conftest$ac_exeext &&
4386 $as_test_x conftest$ac_exeext; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4388 else
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4414 /* confdefs.h. */
4415 _ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4423 #ifdef __cplusplus
4424 extern "C"
4425 #endif
4426 char dnet_ntoa ();
4428 main ()
4430 return dnet_ntoa ();
4432 return 0;
4434 _ACEOF
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4443 ac_status=$?
4444 grep -v '^ *+' conftest.er1 >conftest.err
4445 rm -f conftest.er1
4446 cat conftest.err >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && {
4449 test -z "$ac_c_werror_flag" ||
4450 test ! -s conftest.err
4451 } && test -s conftest$ac_exeext &&
4452 $as_test_x conftest$ac_exeext; then
4453 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4454 else
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4458 ac_cv_lib_dnet_stub_dnet_ntoa=no
4461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4462 conftest$ac_exeext conftest.$ac_ext
4463 LIBS=$ac_check_lib_save_LIBS
4465 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4466 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4467 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4468 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4475 conftest$ac_exeext conftest.$ac_ext
4476 LIBS="$ac_xsave_LIBS"
4478 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4479 # to get the SysV transport functions.
4480 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4481 # needs -lnsl.
4482 # The nsl library prevents programs from opening the X display
4483 # on Irix 5.2, according to T.E. Dickey.
4484 # The functions gethostbyname, getservbyname, and inet_addr are
4485 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4486 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4488 if test "${ac_cv_func_gethostbyname+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 else
4491 cat >conftest.$ac_ext <<_ACEOF
4492 /* confdefs.h. */
4493 _ACEOF
4494 cat confdefs.h >>conftest.$ac_ext
4495 cat >>conftest.$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4497 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4499 #define gethostbyname innocuous_gethostbyname
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char gethostbyname (); below.
4503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 <limits.h> exists even on freestanding compilers. */
4506 #ifdef __STDC__
4507 # include <limits.h>
4508 #else
4509 # include <assert.h>
4510 #endif
4512 #undef gethostbyname
4514 /* Override any GCC internal prototype to avoid an error.
4515 Use char because int might match the return type of a GCC
4516 builtin and then its argument prototype would still apply. */
4517 #ifdef __cplusplus
4518 extern "C"
4519 #endif
4520 char gethostbyname ();
4521 /* The GNU C library defines this for functions which it implements
4522 to always fail with ENOSYS. Some functions are actually named
4523 something starting with __ and the normal name is an alias. */
4524 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4525 choke me
4526 #endif
4529 main ()
4531 return gethostbyname ();
4533 return 0;
4535 _ACEOF
4536 rm -f conftest.$ac_objext conftest$ac_exeext
4537 if { (ac_try="$ac_link"
4538 case "(($ac_try" in
4539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4541 esac
4542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543 (eval "$ac_link") 2>conftest.er1
4544 ac_status=$?
4545 grep -v '^ *+' conftest.er1 >conftest.err
4546 rm -f conftest.er1
4547 cat conftest.err >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && {
4550 test -z "$ac_c_werror_flag" ||
4551 test ! -s conftest.err
4552 } && test -s conftest$ac_exeext &&
4553 $as_test_x conftest$ac_exeext; then
4554 ac_cv_func_gethostbyname=yes
4555 else
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 ac_cv_func_gethostbyname=no
4562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4563 conftest$ac_exeext conftest.$ac_ext
4565 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4568 if test $ac_cv_func_gethostbyname = no; then
4569 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4570 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4571 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 else
4574 ac_check_lib_save_LIBS=$LIBS
4575 LIBS="-lnsl $LIBS"
4576 cat >conftest.$ac_ext <<_ACEOF
4577 /* confdefs.h. */
4578 _ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4583 /* Override any GCC internal prototype to avoid an error.
4584 Use char because int might match the return type of a GCC
4585 builtin and then its argument prototype would still apply. */
4586 #ifdef __cplusplus
4587 extern "C"
4588 #endif
4589 char gethostbyname ();
4591 main ()
4593 return gethostbyname ();
4595 return 0;
4597 _ACEOF
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (ac_try="$ac_link"
4600 case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_link") 2>conftest.er1
4606 ac_status=$?
4607 grep -v '^ *+' conftest.er1 >conftest.err
4608 rm -f conftest.er1
4609 cat conftest.err >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && {
4612 test -z "$ac_c_werror_flag" ||
4613 test ! -s conftest.err
4614 } && test -s conftest$ac_exeext &&
4615 $as_test_x conftest$ac_exeext; then
4616 ac_cv_lib_nsl_gethostbyname=yes
4617 else
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.$ac_ext >&5
4621 ac_cv_lib_nsl_gethostbyname=no
4624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4625 conftest$ac_exeext conftest.$ac_ext
4626 LIBS=$ac_check_lib_save_LIBS
4628 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4629 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4630 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4631 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4634 if test $ac_cv_lib_nsl_gethostbyname = no; then
4635 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4636 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4637 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 else
4640 ac_check_lib_save_LIBS=$LIBS
4641 LIBS="-lbsd $LIBS"
4642 cat >conftest.$ac_ext <<_ACEOF
4643 /* confdefs.h. */
4644 _ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 /* Override any GCC internal prototype to avoid an error.
4650 Use char because int might match the return type of a GCC
4651 builtin and then its argument prototype would still apply. */
4652 #ifdef __cplusplus
4653 extern "C"
4654 #endif
4655 char gethostbyname ();
4657 main ()
4659 return gethostbyname ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_lib_bsd_gethostbyname=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_lib_bsd_gethostbyname=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4695 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4696 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4703 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4704 # socket/setsockopt and other routines are undefined under SCO ODT
4705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4706 # on later versions), says Simon Leinen: it contains gethostby*
4707 # variants that don't use the name server (or something). -lsocket
4708 # must be given before -lnsl if both are needed. We assume that
4709 # if connect needs -lnsl, so does gethostbyname.
4710 { echo "$as_me:$LINENO: checking for connect" >&5
4711 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4712 if test "${ac_cv_func_connect+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 else
4715 cat >conftest.$ac_ext <<_ACEOF
4716 /* confdefs.h. */
4717 _ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4723 #define connect innocuous_connect
4725 /* System header to define __stub macros and hopefully few prototypes,
4726 which can conflict with char connect (); below.
4727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 <limits.h> exists even on freestanding compilers. */
4730 #ifdef __STDC__
4731 # include <limits.h>
4732 #else
4733 # include <assert.h>
4734 #endif
4736 #undef connect
4738 /* Override any GCC internal prototype to avoid an error.
4739 Use char because int might match the return type of a GCC
4740 builtin and then its argument prototype would still apply. */
4741 #ifdef __cplusplus
4742 extern "C"
4743 #endif
4744 char connect ();
4745 /* The GNU C library defines this for functions which it implements
4746 to always fail with ENOSYS. Some functions are actually named
4747 something starting with __ and the normal name is an alias. */
4748 #if defined __stub_connect || defined __stub___connect
4749 choke me
4750 #endif
4753 main ()
4755 return connect ();
4757 return 0;
4759 _ACEOF
4760 rm -f conftest.$ac_objext conftest$ac_exeext
4761 if { (ac_try="$ac_link"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_link") 2>conftest.er1
4768 ac_status=$?
4769 grep -v '^ *+' conftest.er1 >conftest.err
4770 rm -f conftest.er1
4771 cat conftest.err >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest$ac_exeext &&
4777 $as_test_x conftest$ac_exeext; then
4778 ac_cv_func_connect=yes
4779 else
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.$ac_ext >&5
4783 ac_cv_func_connect=no
4786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4787 conftest$ac_exeext conftest.$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4790 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4792 if test $ac_cv_func_connect = no; then
4793 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4794 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4795 if test "${ac_cv_lib_socket_connect+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 else
4798 ac_check_lib_save_LIBS=$LIBS
4799 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4800 cat >conftest.$ac_ext <<_ACEOF
4801 /* confdefs.h. */
4802 _ACEOF
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4810 #ifdef __cplusplus
4811 extern "C"
4812 #endif
4813 char connect ();
4815 main ()
4817 return connect ();
4819 return 0;
4821 _ACEOF
4822 rm -f conftest.$ac_objext conftest$ac_exeext
4823 if { (ac_try="$ac_link"
4824 case "(($ac_try" in
4825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4827 esac
4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4829 (eval "$ac_link") 2>conftest.er1
4830 ac_status=$?
4831 grep -v '^ *+' conftest.er1 >conftest.err
4832 rm -f conftest.er1
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } && {
4836 test -z "$ac_c_werror_flag" ||
4837 test ! -s conftest.err
4838 } && test -s conftest$ac_exeext &&
4839 $as_test_x conftest$ac_exeext; then
4840 ac_cv_lib_socket_connect=yes
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_cv_lib_socket_connect=no
4848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4849 conftest$ac_exeext conftest.$ac_ext
4850 LIBS=$ac_check_lib_save_LIBS
4852 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4853 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4854 if test $ac_cv_lib_socket_connect = yes; then
4855 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4860 # Guillermo Gomez says -lposix is necessary on A/UX.
4861 { echo "$as_me:$LINENO: checking for remove" >&5
4862 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4863 if test "${ac_cv_func_remove+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 else
4866 cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h. */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4874 #define remove innocuous_remove
4876 /* System header to define __stub macros and hopefully few prototypes,
4877 which can conflict with char remove (); below.
4878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4879 <limits.h> exists even on freestanding compilers. */
4881 #ifdef __STDC__
4882 # include <limits.h>
4883 #else
4884 # include <assert.h>
4885 #endif
4887 #undef remove
4889 /* Override any GCC internal prototype to avoid an error.
4890 Use char because int might match the return type of a GCC
4891 builtin and then its argument prototype would still apply. */
4892 #ifdef __cplusplus
4893 extern "C"
4894 #endif
4895 char remove ();
4896 /* The GNU C library defines this for functions which it implements
4897 to always fail with ENOSYS. Some functions are actually named
4898 something starting with __ and the normal name is an alias. */
4899 #if defined __stub_remove || defined __stub___remove
4900 choke me
4901 #endif
4904 main ()
4906 return remove ();
4908 return 0;
4910 _ACEOF
4911 rm -f conftest.$ac_objext conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4913 case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>conftest.er1
4919 ac_status=$?
4920 grep -v '^ *+' conftest.er1 >conftest.err
4921 rm -f conftest.er1
4922 cat conftest.err >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest$ac_exeext &&
4928 $as_test_x conftest$ac_exeext; then
4929 ac_cv_func_remove=yes
4930 else
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.$ac_ext >&5
4934 ac_cv_func_remove=no
4937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4938 conftest$ac_exeext conftest.$ac_ext
4940 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4941 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4943 if test $ac_cv_func_remove = no; then
4944 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4945 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4946 if test "${ac_cv_lib_posix_remove+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 else
4949 ac_check_lib_save_LIBS=$LIBS
4950 LIBS="-lposix $LIBS"
4951 cat >conftest.$ac_ext <<_ACEOF
4952 /* confdefs.h. */
4953 _ACEOF
4954 cat confdefs.h >>conftest.$ac_ext
4955 cat >>conftest.$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 /* Override any GCC internal prototype to avoid an error.
4959 Use char because int might match the return type of a GCC
4960 builtin and then its argument prototype would still apply. */
4961 #ifdef __cplusplus
4962 extern "C"
4963 #endif
4964 char remove ();
4966 main ()
4968 return remove ();
4970 return 0;
4972 _ACEOF
4973 rm -f conftest.$ac_objext conftest$ac_exeext
4974 if { (ac_try="$ac_link"
4975 case "(($ac_try" in
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4978 esac
4979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980 (eval "$ac_link") 2>conftest.er1
4981 ac_status=$?
4982 grep -v '^ *+' conftest.er1 >conftest.err
4983 rm -f conftest.er1
4984 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && {
4987 test -z "$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 } && test -s conftest$ac_exeext &&
4990 $as_test_x conftest$ac_exeext; then
4991 ac_cv_lib_posix_remove=yes
4992 else
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_lib_posix_remove=no
4999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5000 conftest$ac_exeext conftest.$ac_ext
5001 LIBS=$ac_check_lib_save_LIBS
5003 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5004 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5005 if test $ac_cv_lib_posix_remove = yes; then
5006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5011 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5012 { echo "$as_me:$LINENO: checking for shmat" >&5
5013 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5014 if test "${ac_cv_func_shmat+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 else
5017 cat >conftest.$ac_ext <<_ACEOF
5018 /* confdefs.h. */
5019 _ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5025 #define shmat innocuous_shmat
5027 /* System header to define __stub macros and hopefully few prototypes,
5028 which can conflict with char shmat (); below.
5029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 <limits.h> exists even on freestanding compilers. */
5032 #ifdef __STDC__
5033 # include <limits.h>
5034 #else
5035 # include <assert.h>
5036 #endif
5038 #undef shmat
5040 /* Override any GCC internal prototype to avoid an error.
5041 Use char because int might match the return type of a GCC
5042 builtin and then its argument prototype would still apply. */
5043 #ifdef __cplusplus
5044 extern "C"
5045 #endif
5046 char shmat ();
5047 /* The GNU C library defines this for functions which it implements
5048 to always fail with ENOSYS. Some functions are actually named
5049 something starting with __ and the normal name is an alias. */
5050 #if defined __stub_shmat || defined __stub___shmat
5051 choke me
5052 #endif
5055 main ()
5057 return shmat ();
5059 return 0;
5061 _ACEOF
5062 rm -f conftest.$ac_objext conftest$ac_exeext
5063 if { (ac_try="$ac_link"
5064 case "(($ac_try" in
5065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066 *) ac_try_echo=$ac_try;;
5067 esac
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$ac_link") 2>conftest.er1
5070 ac_status=$?
5071 grep -v '^ *+' conftest.er1 >conftest.err
5072 rm -f conftest.er1
5073 cat conftest.err >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest$ac_exeext &&
5079 $as_test_x conftest$ac_exeext; then
5080 ac_cv_func_shmat=yes
5081 else
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5085 ac_cv_func_shmat=no
5088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5089 conftest$ac_exeext conftest.$ac_ext
5091 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5092 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5094 if test $ac_cv_func_shmat = no; then
5095 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5096 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5097 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 else
5100 ac_check_lib_save_LIBS=$LIBS
5101 LIBS="-lipc $LIBS"
5102 cat >conftest.$ac_ext <<_ACEOF
5103 /* confdefs.h. */
5104 _ACEOF
5105 cat confdefs.h >>conftest.$ac_ext
5106 cat >>conftest.$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 /* Override any GCC internal prototype to avoid an error.
5110 Use char because int might match the return type of a GCC
5111 builtin and then its argument prototype would still apply. */
5112 #ifdef __cplusplus
5113 extern "C"
5114 #endif
5115 char shmat ();
5117 main ()
5119 return shmat ();
5121 return 0;
5123 _ACEOF
5124 rm -f conftest.$ac_objext conftest$ac_exeext
5125 if { (ac_try="$ac_link"
5126 case "(($ac_try" in
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5129 esac
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_link") 2>conftest.er1
5132 ac_status=$?
5133 grep -v '^ *+' conftest.er1 >conftest.err
5134 rm -f conftest.er1
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest$ac_exeext &&
5141 $as_test_x conftest$ac_exeext; then
5142 ac_cv_lib_ipc_shmat=yes
5143 else
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_lib_ipc_shmat=no
5150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5151 conftest$ac_exeext conftest.$ac_ext
5152 LIBS=$ac_check_lib_save_LIBS
5154 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5155 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5156 if test $ac_cv_lib_ipc_shmat = yes; then
5157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5163 # Check for libraries that X11R6 Xt/Xaw programs need.
5164 ac_save_LDFLAGS=$LDFLAGS
5165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5167 # check for ICE first), but we must link in the order -lSM -lICE or
5168 # we get undefined symbols. So assume we have SM if we have ICE.
5169 # These have to be linked with before -lX11, unlike the other
5170 # libraries we check for below, so use a different variable.
5171 # John Interrante, Karl Berry
5172 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5173 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5174 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 else
5177 ac_check_lib_save_LIBS=$LIBS
5178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5179 cat >conftest.$ac_ext <<_ACEOF
5180 /* confdefs.h. */
5181 _ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 /* Override any GCC internal prototype to avoid an error.
5187 Use char because int might match the return type of a GCC
5188 builtin and then its argument prototype would still apply. */
5189 #ifdef __cplusplus
5190 extern "C"
5191 #endif
5192 char IceConnectionNumber ();
5194 main ()
5196 return IceConnectionNumber ();
5198 return 0;
5200 _ACEOF
5201 rm -f conftest.$ac_objext conftest$ac_exeext
5202 if { (ac_try="$ac_link"
5203 case "(($ac_try" in
5204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5205 *) ac_try_echo=$ac_try;;
5206 esac
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_link") 2>conftest.er1
5209 ac_status=$?
5210 grep -v '^ *+' conftest.er1 >conftest.err
5211 rm -f conftest.er1
5212 cat conftest.err >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } && {
5215 test -z "$ac_c_werror_flag" ||
5216 test ! -s conftest.err
5217 } && test -s conftest$ac_exeext &&
5218 $as_test_x conftest$ac_exeext; then
5219 ac_cv_lib_ICE_IceConnectionNumber=yes
5220 else
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5224 ac_cv_lib_ICE_IceConnectionNumber=no
5227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5228 conftest$ac_exeext conftest.$ac_ext
5229 LIBS=$ac_check_lib_save_LIBS
5231 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5232 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5233 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5234 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5237 LDFLAGS=$ac_save_LDFLAGS
5242 for ac_prog in flex
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy $ac_prog; ac_word=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_FLEX+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 if test -n "$FLEX"; then
5252 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5253 else
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH
5257 IFS=$as_save_IFS
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_FLEX="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 break 2
5265 done
5266 done
5267 IFS=$as_save_IFS
5271 FLEX=$ac_cv_prog_FLEX
5272 if test -n "$FLEX"; then
5273 { echo "$as_me:$LINENO: result: $FLEX" >&5
5274 echo "${ECHO_T}$FLEX" >&6; }
5275 else
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$FLEX" && break
5282 done
5283 test -n "$FLEX" || FLEX="none"
5285 if test "$FLEX" = "none"
5286 then
5287 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5288 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 for ac_prog in bison
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5298 if test "${ac_cv_prog_BISON+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 else
5301 if test -n "$BISON"; then
5302 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5303 else
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5307 IFS=$as_save_IFS
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_prog_BISON="$ac_prog"
5312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 break 2
5315 done
5316 done
5317 IFS=$as_save_IFS
5321 BISON=$ac_cv_prog_BISON
5322 if test -n "$BISON"; then
5323 { echo "$as_me:$LINENO: result: $BISON" >&5
5324 echo "${ECHO_T}$BISON" >&6; }
5325 else
5326 { echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6; }
5331 test -n "$BISON" && break
5332 done
5333 test -n "$BISON" || BISON="none"
5335 if test "$BISON" = "none"
5336 then
5337 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5338 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5339 { (exit 1); exit 1; }; }
5342 if test -n "$ac_tool_prefix"; then
5343 for ac_prog in gas as
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5349 if test "${ac_cv_prog_AS+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352 if test -n "$AS"; then
5353 ac_cv_prog_AS="$AS" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5368 IFS=$as_save_IFS
5372 AS=$ac_cv_prog_AS
5373 if test -n "$AS"; then
5374 { echo "$as_me:$LINENO: result: $AS" >&5
5375 echo "${ECHO_T}$AS" >&6; }
5376 else
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5382 test -n "$AS" && break
5383 done
5385 if test -z "$AS"; then
5386 ac_ct_AS=$AS
5387 for ac_prog in gas as
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy $ac_prog; ac_word=$2
5391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5393 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 else
5396 if test -n "$ac_ct_AS"; then
5397 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AS="$ac_prog"
5407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5417 if test -n "$ac_ct_AS"; then
5418 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5419 echo "${ECHO_T}$ac_ct_AS" >&6; }
5420 else
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5426 test -n "$ac_ct_AS" && break
5427 done
5429 if test "x$ac_ct_AS" = x; then
5430 AS="as"
5431 else
5432 case $cross_compiling:$ac_tool_warned in
5433 yes:)
5434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&5
5437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5438 whose name does not start with the host triplet. If you think this
5439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5440 ac_tool_warned=yes ;;
5441 esac
5442 AS=$ac_ct_AS
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ld; ac_word=$2
5449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_LD+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 else
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD="$LD" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_LD="${ac_tool_prefix}ld"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5468 done
5469 done
5470 IFS=$as_save_IFS
5474 LD=$ac_cv_prog_LD
5475 if test -n "$LD"; then
5476 { echo "$as_me:$LINENO: result: $LD" >&5
5477 echo "${ECHO_T}$LD" >&6; }
5478 else
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 if test -z "$ac_cv_prog_LD"; then
5486 ac_ct_LD=$LD
5487 # Extract the first word of "ld", so it can be a program name with args.
5488 set dummy ld; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$ac_ct_LD"; then
5495 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_LD="ld"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5515 if test -n "$ac_ct_LD"; then
5516 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5517 echo "${ECHO_T}$ac_ct_LD" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5523 if test "x$ac_ct_LD" = x; then
5524 LD="ld"
5525 else
5526 case $cross_compiling:$ac_tool_warned in
5527 yes:)
5528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5529 whose name does not start with the host triplet. If you think this
5530 configuration is useful to you, please write to autoconf@gnu.org." >&5
5531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5532 whose name does not start with the host triplet. If you think this
5533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536 LD=$ac_ct_LD
5538 else
5539 LD="$ac_cv_prog_LD"
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}ar; ac_word=$2
5545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5547 if test "${ac_cv_prog_AR+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 else
5550 if test -n "$AR"; then
5551 ac_cv_prog_AR="$AR" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_AR="${ac_tool_prefix}ar"
5561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 AR=$ac_cv_prog_AR
5571 if test -n "$AR"; then
5572 { echo "$as_me:$LINENO: result: $AR" >&5
5573 echo "${ECHO_T}$AR" >&6; }
5574 else
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 if test -z "$ac_cv_prog_AR"; then
5582 ac_ct_AR=$AR
5583 # Extract the first word of "ar", so it can be a program name with args.
5584 set dummy ar; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$ac_ct_AR"; then
5591 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_AR="ar"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5611 if test -n "$ac_ct_AR"; then
5612 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5613 echo "${ECHO_T}$ac_ct_AR" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5619 if test "x$ac_ct_AR" = x; then
5620 AR="ar"
5621 else
5622 case $cross_compiling:$ac_tool_warned in
5623 yes:)
5624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5625 whose name does not start with the host triplet. If you think this
5626 configuration is useful to you, please write to autoconf@gnu.org." >&5
5627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5628 whose name does not start with the host triplet. If you think this
5629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5630 ac_tool_warned=yes ;;
5631 esac
5632 AR=$ac_ct_AR
5634 else
5635 AR="$ac_cv_prog_AR"
5638 ARFLAGS=rc
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 else
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 RANLIB=$ac_cv_prog_RANLIB
5669 if test -n "$RANLIB"; then
5670 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5671 echo "${ECHO_T}$RANLIB" >&6; }
5672 else
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib; ac_word=$2
5683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 else
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_ac_ct_RANLIB="ranlib"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5711 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5712 else
5713 { echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6; }
5717 if test "x$ac_ct_RANLIB" = x; then
5718 RANLIB=":"
5719 else
5720 case $cross_compiling:$ac_tool_warned in
5721 yes:)
5722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5723 whose name does not start with the host triplet. If you think this
5724 configuration is useful to you, please write to autoconf@gnu.org." >&5
5725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5726 whose name does not start with the host triplet. If you think this
5727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5728 ac_tool_warned=yes ;;
5729 esac
5730 RANLIB=$ac_ct_RANLIB
5732 else
5733 RANLIB="$ac_cv_prog_RANLIB"
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5738 set dummy ${ac_tool_prefix}strip; ac_word=$2
5739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5741 if test "${ac_cv_prog_STRIP+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 else
5744 if test -n "$STRIP"; then
5745 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5746 else
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 for as_dir in $PATH
5750 IFS=$as_save_IFS
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 STRIP=$ac_cv_prog_STRIP
5765 if test -n "$STRIP"; then
5766 { echo "$as_me:$LINENO: result: $STRIP" >&5
5767 echo "${ECHO_T}$STRIP" >&6; }
5768 else
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5775 if test -z "$ac_cv_prog_STRIP"; then
5776 ac_ct_STRIP=$STRIP
5777 # Extract the first word of "strip", so it can be a program name with args.
5778 set dummy strip; ac_word=$2
5779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 else
5784 if test -n "$ac_ct_STRIP"; then
5785 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794 ac_cv_prog_ac_ct_STRIP="strip"
5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5805 if test -n "$ac_ct_STRIP"; then
5806 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5807 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5808 else
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5813 if test "x$ac_ct_STRIP" = x; then
5814 STRIP="strip"
5815 else
5816 case $cross_compiling:$ac_tool_warned in
5817 yes:)
5818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5819 whose name does not start with the host triplet. If you think this
5820 configuration is useful to you, please write to autoconf@gnu.org." >&5
5821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5822 whose name does not start with the host triplet. If you think this
5823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5824 ac_tool_warned=yes ;;
5825 esac
5826 STRIP=$ac_ct_STRIP
5828 else
5829 STRIP="$ac_cv_prog_STRIP"
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}windres; ac_word=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_WINDRES+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 else
5840 if test -n "$WINDRES"; then
5841 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 WINDRES=$ac_cv_prog_WINDRES
5861 if test -n "$WINDRES"; then
5862 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5863 echo "${ECHO_T}$WINDRES" >&6; }
5864 else
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5871 if test -z "$ac_cv_prog_WINDRES"; then
5872 ac_ct_WINDRES=$WINDRES
5873 # Extract the first word of "windres", so it can be a program name with args.
5874 set dummy windres; ac_word=$2
5875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5877 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 else
5880 if test -n "$ac_ct_WINDRES"; then
5881 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5882 else
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in $PATH
5886 IFS=$as_save_IFS
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_WINDRES="windres"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 break 2
5894 done
5895 done
5896 IFS=$as_save_IFS
5900 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5901 if test -n "$ac_ct_WINDRES"; then
5902 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5903 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5904 else
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5909 if test "x$ac_ct_WINDRES" = x; then
5910 WINDRES="false"
5911 else
5912 case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5915 whose name does not start with the host triplet. If you think this
5916 configuration is useful to you, please write to autoconf@gnu.org." >&5
5917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5918 whose name does not start with the host triplet. If you think this
5919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5920 ac_tool_warned=yes ;;
5921 esac
5922 WINDRES=$ac_ct_WINDRES
5924 else
5925 WINDRES="$ac_cv_prog_WINDRES"
5928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5930 LN_S=$as_ln_s
5931 if test "$LN_S" = "ln -s"; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5934 else
5935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5936 echo "${ECHO_T}no, using $LN_S" >&6; }
5939 { echo "$as_me:$LINENO: checking whether ln works" >&5
5940 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5941 rm -f conf$$ conf$$.file
5942 echo >conf$$.file
5943 if ln conf$$.file conf$$ 2>/dev/null; then
5944 LN=ln
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5948 else
5949 LN="cp -p"
5951 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5952 echo "${ECHO_T}no, using $LN" >&6; }
5954 rm -f conf$$ conf$$.file
5955 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5956 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5957 if test "${ac_cv_path_GREP+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 else
5960 # Extract the first word of "grep ggrep" to use in msg output
5961 if test -z "$GREP"; then
5962 set dummy grep ggrep; ac_prog_name=$2
5963 if test "${ac_cv_path_GREP+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 else
5966 ac_path_GREP_found=false
5967 # Loop through the user's path and test for each of PROGNAME-LIST
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_prog in grep ggrep; do
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5976 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5977 # Check for GNU ac_path_GREP and select it if it is found.
5978 # Check for GNU $ac_path_GREP
5979 case `"$ac_path_GREP" --version 2>&1` in
5980 *GNU*)
5981 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5983 ac_count=0
5984 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5985 while :
5987 cat "conftest.in" "conftest.in" >"conftest.tmp"
5988 mv "conftest.tmp" "conftest.in"
5989 cp "conftest.in" "conftest.nl"
5990 echo 'GREP' >> "conftest.nl"
5991 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5992 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5993 ac_count=`expr $ac_count + 1`
5994 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5995 # Best one so far, save it but keep looking for a better one
5996 ac_cv_path_GREP="$ac_path_GREP"
5997 ac_path_GREP_max=$ac_count
5999 # 10*(2^10) chars as input seems more than enough
6000 test $ac_count -gt 10 && break
6001 done
6002 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6003 esac
6006 $ac_path_GREP_found && break 3
6007 done
6008 done
6010 done
6011 IFS=$as_save_IFS
6016 GREP="$ac_cv_path_GREP"
6017 if test -z "$GREP"; then
6018 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6019 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6020 { (exit 1); exit 1; }; }
6023 else
6024 ac_cv_path_GREP=$GREP
6029 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6030 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6031 GREP="$ac_cv_path_GREP"
6034 { echo "$as_me:$LINENO: checking for egrep" >&5
6035 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6036 if test "${ac_cv_path_EGREP+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 else
6039 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6040 then ac_cv_path_EGREP="$GREP -E"
6041 else
6042 # Extract the first word of "egrep" to use in msg output
6043 if test -z "$EGREP"; then
6044 set dummy egrep; ac_prog_name=$2
6045 if test "${ac_cv_path_EGREP+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 else
6048 ac_path_EGREP_found=false
6049 # Loop through the user's path and test for each of PROGNAME-LIST
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6053 IFS=$as_save_IFS
6054 test -z "$as_dir" && as_dir=.
6055 for ac_prog in egrep; do
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6059 # Check for GNU ac_path_EGREP and select it if it is found.
6060 # Check for GNU $ac_path_EGREP
6061 case `"$ac_path_EGREP" --version 2>&1` in
6062 *GNU*)
6063 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6065 ac_count=0
6066 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6067 while :
6069 cat "conftest.in" "conftest.in" >"conftest.tmp"
6070 mv "conftest.tmp" "conftest.in"
6071 cp "conftest.in" "conftest.nl"
6072 echo 'EGREP' >> "conftest.nl"
6073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6075 ac_count=`expr $ac_count + 1`
6076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6077 # Best one so far, save it but keep looking for a better one
6078 ac_cv_path_EGREP="$ac_path_EGREP"
6079 ac_path_EGREP_max=$ac_count
6081 # 10*(2^10) chars as input seems more than enough
6082 test $ac_count -gt 10 && break
6083 done
6084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6085 esac
6088 $ac_path_EGREP_found && break 3
6089 done
6090 done
6092 done
6093 IFS=$as_save_IFS
6098 EGREP="$ac_cv_path_EGREP"
6099 if test -z "$EGREP"; then
6100 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6101 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6102 { (exit 1); exit 1; }; }
6105 else
6106 ac_cv_path_EGREP=$EGREP
6112 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6113 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6114 EGREP="$ac_cv_path_EGREP"
6117 # Extract the first word of "ldconfig", so it can be a program name with args.
6118 set dummy ldconfig; ac_word=$2
6119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6121 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 else
6124 case $LDCONFIG in
6125 [\\/]* | ?:[\\/]*)
6126 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in /sbin /usr/sbin $PATH
6132 IFS=$as_save_IFS
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 break 2
6140 done
6141 done
6142 IFS=$as_save_IFS
6144 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6146 esac
6148 LDCONFIG=$ac_cv_path_LDCONFIG
6149 if test -n "$LDCONFIG"; then
6150 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6151 echo "${ECHO_T}$LDCONFIG" >&6; }
6152 else
6153 { echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6; }
6158 # Find a good install program. We prefer a C program (faster),
6159 # so one script is as good as another. But avoid the broken or
6160 # incompatible versions:
6161 # SysV /etc/install, /usr/sbin/install
6162 # SunOS /usr/etc/install
6163 # IRIX /sbin/install
6164 # AIX /bin/install
6165 # AmigaOS /C/install, which installs bootblocks on floppy discs
6166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6169 # OS/2's system install, which has a completely different semantic
6170 # ./install, which can be erroneously created by make from ./install.sh.
6171 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6173 if test -z "$INSTALL"; then
6174 if test "${ac_cv_path_install+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 for as_dir in $PATH
6180 IFS=$as_save_IFS
6181 test -z "$as_dir" && as_dir=.
6182 # Account for people who put trailing slashes in PATH elements.
6183 case $as_dir/ in
6184 ./ | .// | /cC/* | \
6185 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6186 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6187 /usr/ucb/* ) ;;
6189 # OSF1 and SCO ODT 3.0 have their own names for install.
6190 # Don't use installbsd from OSF since it installs stuff as root
6191 # by default.
6192 for ac_prog in ginstall scoinst install; do
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6195 if test $ac_prog = install &&
6196 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6197 # AIX install. It has an incompatible calling convention.
6199 elif test $ac_prog = install &&
6200 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6201 # program-specific install script used by HP pwplus--don't use.
6203 else
6204 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6205 break 3
6208 done
6209 done
6211 esac
6212 done
6213 IFS=$as_save_IFS
6217 if test "${ac_cv_path_install+set}" = set; then
6218 INSTALL=$ac_cv_path_install
6219 else
6220 # As a last resort, use the slow shell script. Don't cache a
6221 # value for INSTALL within a source directory, because that will
6222 # break other packages using the cache if that directory is
6223 # removed, or if the value is a relative name.
6224 INSTALL=$ac_install_sh
6227 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6228 echo "${ECHO_T}$INSTALL" >&6; }
6230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6231 # It thinks the first close brace ends the variable substitution.
6232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6234 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6236 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6238 case "$INSTALL" in
6239 [\\/$]* | ?:[\\/]* ) ;;
6240 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6241 esac
6243 for ac_prog in lclint lint
6245 # Extract the first word of "$ac_prog", so it can be a program name with args.
6246 set dummy $ac_prog; ac_word=$2
6247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6249 if test "${ac_cv_prog_LINT+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 else
6252 if test -n "$LINT"; then
6253 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6254 else
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 for as_dir in $PATH
6258 IFS=$as_save_IFS
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_LINT="$ac_prog"
6263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 break 2
6266 done
6267 done
6268 IFS=$as_save_IFS
6272 LINT=$ac_cv_prog_LINT
6273 if test -n "$LINT"; then
6274 { echo "$as_me:$LINENO: result: $LINT" >&5
6275 echo "${ECHO_T}$LINT" >&6; }
6276 else
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6282 test -n "$LINT" && break
6283 done
6285 if test "$LINT" = "lint"
6286 then
6287 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6292 for ac_prog in fontforge
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6298 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 else
6301 if test -n "$FONTFORGE"; then
6302 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6303 else
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH
6307 IFS=$as_save_IFS
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_FONTFORGE="$ac_prog"
6312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 break 2
6315 done
6316 done
6317 IFS=$as_save_IFS
6321 FONTFORGE=$ac_cv_prog_FONTFORGE
6322 if test -n "$FONTFORGE"; then
6323 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6324 echo "${ECHO_T}$FONTFORGE" >&6; }
6325 else
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6331 test -n "$FONTFORGE" && break
6332 done
6333 test -n "$FONTFORGE" || FONTFORGE="false"
6335 for ac_prog in pkg-config
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy $ac_prog; ac_word=$2
6339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6341 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 else
6344 if test -n "$PKG_CONFIG"; then
6345 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6346 else
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_PKG_CONFIG="$ac_prog"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 break 2
6358 done
6359 done
6360 IFS=$as_save_IFS
6364 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6365 if test -n "$PKG_CONFIG"; then
6366 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6367 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6368 else
6369 { echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6; }
6374 test -n "$PKG_CONFIG" && break
6375 done
6376 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6378 for ac_prog in rsvg
6380 # Extract the first word of "$ac_prog", so it can be a program name with args.
6381 set dummy $ac_prog; ac_word=$2
6382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6384 if test "${ac_cv_prog_RSVG+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 else
6387 if test -n "$RSVG"; then
6388 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_RSVG="$ac_prog"
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 RSVG=$ac_cv_prog_RSVG
6408 if test -n "$RSVG"; then
6409 { echo "$as_me:$LINENO: result: $RSVG" >&5
6410 echo "${ECHO_T}$RSVG" >&6; }
6411 else
6412 { echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6; }
6417 test -n "$RSVG" && break
6418 done
6419 test -n "$RSVG" || RSVG="false"
6421 for ac_prog in icotool
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6427 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 else
6430 if test -n "$ICOTOOL"; then
6431 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ICOTOOL="$ac_prog"
6441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 break 2
6444 done
6445 done
6446 IFS=$as_save_IFS
6450 ICOTOOL=$ac_cv_prog_ICOTOOL
6451 if test -n "$ICOTOOL"; then
6452 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6453 echo "${ECHO_T}$ICOTOOL" >&6; }
6454 else
6455 { echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6; }
6460 test -n "$ICOTOOL" && break
6461 done
6462 test -n "$ICOTOOL" || ICOTOOL="false"
6465 if test "${enable_maintainer_mode+set}" = set
6466 then
6467 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6468 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6469 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6472 case $host_cpu in
6473 *i[3456789]86*)
6474 # Extract the first word of "prelink", so it can be a program name with args.
6475 set dummy prelink; ac_word=$2
6476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6478 if test "${ac_cv_path_PRELINK+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 else
6481 case $PRELINK in
6482 [\\/]* | ?:[\\/]*)
6483 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in /sbin /usr/sbin $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6501 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6503 esac
6505 PRELINK=$ac_cv_path_PRELINK
6506 if test -n "$PRELINK"; then
6507 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6508 echo "${ECHO_T}$PRELINK" >&6; }
6509 else
6510 { echo "$as_me:$LINENO: result: no" >&5
6511 echo "${ECHO_T}no" >&6; }
6516 esac
6520 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6521 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6522 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 else
6525 ac_check_lib_save_LIBS=$LIBS
6526 LIBS="-li386 $LIBS"
6527 cat >conftest.$ac_ext <<_ACEOF
6528 /* confdefs.h. */
6529 _ACEOF
6530 cat confdefs.h >>conftest.$ac_ext
6531 cat >>conftest.$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6534 /* Override any GCC internal prototype to avoid an error.
6535 Use char because int might match the return type of a GCC
6536 builtin and then its argument prototype would still apply. */
6537 #ifdef __cplusplus
6538 extern "C"
6539 #endif
6540 char i386_set_ldt ();
6542 main ()
6544 return i386_set_ldt ();
6546 return 0;
6548 _ACEOF
6549 rm -f conftest.$ac_objext conftest$ac_exeext
6550 if { (ac_try="$ac_link"
6551 case "(($ac_try" in
6552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6554 esac
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_link") 2>conftest.er1
6557 ac_status=$?
6558 grep -v '^ *+' conftest.er1 >conftest.err
6559 rm -f conftest.er1
6560 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } && {
6563 test -z "$ac_c_werror_flag" ||
6564 test ! -s conftest.err
6565 } && test -s conftest$ac_exeext &&
6566 $as_test_x conftest$ac_exeext; then
6567 ac_cv_lib_i386_i386_set_ldt=yes
6568 else
6569 echo "$as_me: failed program was:" >&5
6570 sed 's/^/| /' conftest.$ac_ext >&5
6572 ac_cv_lib_i386_i386_set_ldt=no
6575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6576 conftest$ac_exeext conftest.$ac_ext
6577 LIBS=$ac_check_lib_save_LIBS
6579 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6580 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6581 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6582 cat >>confdefs.h <<_ACEOF
6583 #define HAVE_LIBI386 1
6584 _ACEOF
6586 LIBS="-li386 $LIBS"
6591 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6592 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6593 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 else
6596 ac_check_lib_save_LIBS=$LIBS
6597 LIBS="-lossaudio $LIBS"
6598 cat >conftest.$ac_ext <<_ACEOF
6599 /* confdefs.h. */
6600 _ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6605 /* Override any GCC internal prototype to avoid an error.
6606 Use char because int might match the return type of a GCC
6607 builtin and then its argument prototype would still apply. */
6608 #ifdef __cplusplus
6609 extern "C"
6610 #endif
6611 char _oss_ioctl ();
6613 main ()
6615 return _oss_ioctl ();
6617 return 0;
6619 _ACEOF
6620 rm -f conftest.$ac_objext conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6622 case "(($ac_try" in
6623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6624 *) ac_try_echo=$ac_try;;
6625 esac
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>conftest.er1
6628 ac_status=$?
6629 grep -v '^ *+' conftest.er1 >conftest.err
6630 rm -f conftest.er1
6631 cat conftest.err >&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } && {
6634 test -z "$ac_c_werror_flag" ||
6635 test ! -s conftest.err
6636 } && test -s conftest$ac_exeext &&
6637 $as_test_x conftest$ac_exeext; then
6638 ac_cv_lib_ossaudio__oss_ioctl=yes
6639 else
6640 echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.$ac_ext >&5
6643 ac_cv_lib_ossaudio__oss_ioctl=no
6646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6647 conftest$ac_exeext conftest.$ac_ext
6648 LIBS=$ac_check_lib_save_LIBS
6650 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6651 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6652 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6653 cat >>confdefs.h <<_ACEOF
6654 #define HAVE_LIBOSSAUDIO 1
6655 _ACEOF
6657 LIBS="-lossaudio $LIBS"
6661 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6662 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6663 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 else
6666 ac_check_lib_save_LIBS=$LIBS
6667 LIBS="-lpthread $LIBS"
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6675 /* Override any GCC internal prototype to avoid an error.
6676 Use char because int might match the return type of a GCC
6677 builtin and then its argument prototype would still apply. */
6678 #ifdef __cplusplus
6679 extern "C"
6680 #endif
6681 char pthread_create ();
6683 main ()
6685 return pthread_create ();
6687 return 0;
6689 _ACEOF
6690 rm -f conftest.$ac_objext conftest$ac_exeext
6691 if { (ac_try="$ac_link"
6692 case "(($ac_try" in
6693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6694 *) ac_try_echo=$ac_try;;
6695 esac
6696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6697 (eval "$ac_link") 2>conftest.er1
6698 ac_status=$?
6699 grep -v '^ *+' conftest.er1 >conftest.err
6700 rm -f conftest.er1
6701 cat conftest.err >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); } && {
6704 test -z "$ac_c_werror_flag" ||
6705 test ! -s conftest.err
6706 } && test -s conftest$ac_exeext &&
6707 $as_test_x conftest$ac_exeext; then
6708 ac_cv_lib_pthread_pthread_create=yes
6709 else
6710 echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.$ac_ext >&5
6713 ac_cv_lib_pthread_pthread_create=no
6716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6717 conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6720 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6721 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6722 if test $ac_cv_lib_pthread_pthread_create = yes; then
6723 LIBPTHREAD="-lpthread"
6728 XLIB=""
6730 XFILES=""
6732 OPENGLFILES=""
6734 GLU32FILES=""
6736 OPENGL_LIBS=""
6738 QUARTZFILES=""
6742 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6743 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6744 if test "${ac_cv_header_stdc+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6746 else
6747 cat >conftest.$ac_ext <<_ACEOF
6748 /* confdefs.h. */
6749 _ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6753 #include <stdlib.h>
6754 #include <stdarg.h>
6755 #include <string.h>
6756 #include <float.h>
6759 main ()
6763 return 0;
6765 _ACEOF
6766 rm -f conftest.$ac_objext
6767 if { (ac_try="$ac_compile"
6768 case "(($ac_try" in
6769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6770 *) ac_try_echo=$ac_try;;
6771 esac
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6773 (eval "$ac_compile") 2>conftest.er1
6774 ac_status=$?
6775 grep -v '^ *+' conftest.er1 >conftest.err
6776 rm -f conftest.er1
6777 cat conftest.err >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } && {
6780 test -z "$ac_c_werror_flag" ||
6781 test ! -s conftest.err
6782 } && test -s conftest.$ac_objext; then
6783 ac_cv_header_stdc=yes
6784 else
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6788 ac_cv_header_stdc=no
6791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6793 if test $ac_cv_header_stdc = yes; then
6794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <string.h>
6803 _ACEOF
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "memchr" >/dev/null 2>&1; then
6807 else
6808 ac_cv_header_stdc=no
6810 rm -f conftest*
6814 if test $ac_cv_header_stdc = yes; then
6815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6816 cat >conftest.$ac_ext <<_ACEOF
6817 /* confdefs.h. */
6818 _ACEOF
6819 cat confdefs.h >>conftest.$ac_ext
6820 cat >>conftest.$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6822 #include <stdlib.h>
6824 _ACEOF
6825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6826 $EGREP "free" >/dev/null 2>&1; then
6828 else
6829 ac_cv_header_stdc=no
6831 rm -f conftest*
6835 if test $ac_cv_header_stdc = yes; then
6836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6837 if test "$cross_compiling" = yes; then
6839 else
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 #include <ctype.h>
6847 #include <stdlib.h>
6848 #if ((' ' & 0x0FF) == 0x020)
6849 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6850 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6851 #else
6852 # define ISLOWER(c) \
6853 (('a' <= (c) && (c) <= 'i') \
6854 || ('j' <= (c) && (c) <= 'r') \
6855 || ('s' <= (c) && (c) <= 'z'))
6856 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6857 #endif
6859 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6861 main ()
6863 int i;
6864 for (i = 0; i < 256; i++)
6865 if (XOR (islower (i), ISLOWER (i))
6866 || toupper (i) != TOUPPER (i))
6867 return 2;
6868 return 0;
6870 _ACEOF
6871 rm -f conftest$ac_exeext
6872 if { (ac_try="$ac_link"
6873 case "(($ac_try" in
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6876 esac
6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_link") 2>&5
6879 ac_status=$?
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6882 { (case "(($ac_try" in
6883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6884 *) ac_try_echo=$ac_try;;
6885 esac
6886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6887 (eval "$ac_try") 2>&5
6888 ac_status=$?
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; }; then
6892 else
6893 echo "$as_me: program exited with status $ac_status" >&5
6894 echo "$as_me: failed program was:" >&5
6895 sed 's/^/| /' conftest.$ac_ext >&5
6897 ( exit $ac_status )
6898 ac_cv_header_stdc=no
6900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6906 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6907 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6908 if test $ac_cv_header_stdc = yes; then
6910 cat >>confdefs.h <<\_ACEOF
6911 #define STDC_HEADERS 1
6912 _ACEOF
6916 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6926 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6927 inttypes.h stdint.h unistd.h
6929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 else
6935 cat >conftest.$ac_ext <<_ACEOF
6936 /* confdefs.h. */
6937 _ACEOF
6938 cat confdefs.h >>conftest.$ac_ext
6939 cat >>conftest.$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6941 $ac_includes_default
6943 #include <$ac_header>
6944 _ACEOF
6945 rm -f conftest.$ac_objext
6946 if { (ac_try="$ac_compile"
6947 case "(($ac_try" in
6948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949 *) ac_try_echo=$ac_try;;
6950 esac
6951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952 (eval "$ac_compile") 2>conftest.er1
6953 ac_status=$?
6954 grep -v '^ *+' conftest.er1 >conftest.err
6955 rm -f conftest.er1
6956 cat conftest.err >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } && {
6959 test -z "$ac_c_werror_flag" ||
6960 test ! -s conftest.err
6961 } && test -s conftest.$ac_objext; then
6962 eval "$as_ac_Header=yes"
6963 else
6964 echo "$as_me: failed program was:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6967 eval "$as_ac_Header=no"
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6972 ac_res=`eval echo '${'$as_ac_Header'}'`
6973 { echo "$as_me:$LINENO: result: $ac_res" >&5
6974 echo "${ECHO_T}$ac_res" >&6; }
6975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6976 cat >>confdefs.h <<_ACEOF
6977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6978 _ACEOF
6982 done
7095 for ac_header in \
7096 AudioUnit/AudioUnit.h \
7097 Carbon/Carbon.h \
7098 CoreAudio/CoreAudio.h \
7099 DiskArbitration/DiskArbitration.h \
7100 IOKit/IOKitLib.h \
7101 alsa/asoundlib.h \
7102 arpa/inet.h \
7103 arpa/nameser.h \
7104 asm/types.h \
7105 capi20.h \
7106 cups/cups.h \
7107 curses.h \
7108 direct.h \
7109 dlfcn.h \
7110 elf.h \
7111 float.h \
7112 fontconfig/fontconfig.h \
7113 getopt.h \
7114 ieeefp.h \
7115 io.h \
7116 jack/jack.h \
7117 jpeglib.h \
7118 lber.h \
7119 lcms.h \
7120 lcms/lcms.h \
7121 ldap.h \
7122 libaudioio.h \
7123 link.h \
7124 linux/cdrom.h \
7125 linux/compiler.h \
7126 linux/hdreg.h \
7127 linux/input.h \
7128 linux/ioctl.h \
7129 linux/joystick.h \
7130 linux/major.h \
7131 linux/param.h \
7132 linux/serial.h \
7133 linux/ucdrom.h \
7134 mach/mach.h \
7135 mach/machine.h \
7136 machine/cpu.h \
7137 machine/limits.h \
7138 machine/soundcard.h \
7139 mntent.h \
7140 ncurses.h \
7141 netdb.h \
7142 netinet/in.h \
7143 netinet/in_systm.h \
7144 netinet/tcp.h \
7145 netinet/tcp_fsm.h \
7146 openssl/err.h \
7147 openssl/ssl.h \
7148 png.h \
7149 poll.h \
7150 process.h \
7151 pthread.h \
7152 pwd.h \
7153 regex.h \
7154 sched.h \
7155 scsi/scsi.h \
7156 scsi/scsi_ioctl.h \
7157 scsi/sg.h \
7158 soundcard.h \
7159 stdint.h \
7160 strings.h \
7161 sys/asoundlib.h \
7162 sys/cdio.h \
7163 sys/elf32.h \
7164 sys/epoll.h \
7165 sys/errno.h \
7166 sys/event.h \
7167 sys/exec_elf.h \
7168 sys/filio.h \
7169 sys/ioctl.h \
7170 sys/ipc.h \
7171 sys/limits.h \
7172 sys/link.h \
7173 sys/lwp.h \
7174 sys/mman.h \
7175 sys/modem.h \
7176 sys/msg.h \
7177 sys/mtio.h \
7178 sys/param.h \
7179 sys/poll.h \
7180 sys/prctl.h \
7181 sys/ptrace.h \
7182 sys/reg.h \
7183 sys/resource.h \
7184 sys/scsiio.h \
7185 sys/shm.h \
7186 sys/signal.h \
7187 sys/socket.h \
7188 sys/socketvar.h \
7189 sys/sockio.h \
7190 sys/soundcard.h \
7191 sys/statvfs.h \
7192 sys/strtio.h \
7193 sys/syscall.h \
7194 sys/sysctl.h \
7195 sys/time.h \
7196 sys/times.h \
7197 sys/uio.h \
7198 sys/un.h \
7199 sys/vm86.h \
7200 sys/wait.h \
7201 syscall.h \
7202 termios.h \
7203 unistd.h \
7204 utime.h \
7205 valgrind/memcheck.h
7208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 ac_res=`eval echo '${'$as_ac_Header'}'`
7216 { echo "$as_me:$LINENO: result: $ac_res" >&5
7217 echo "${ECHO_T}$ac_res" >&6; }
7218 else
7219 # Is the header compilable?
7220 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7222 cat >conftest.$ac_ext <<_ACEOF
7223 /* confdefs.h. */
7224 _ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7228 $ac_includes_default
7229 #include <$ac_header>
7230 _ACEOF
7231 rm -f conftest.$ac_objext
7232 if { (ac_try="$ac_compile"
7233 case "(($ac_try" in
7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7236 esac
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_compile") 2>conftest.er1
7239 ac_status=$?
7240 grep -v '^ *+' conftest.er1 >conftest.err
7241 rm -f conftest.er1
7242 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } && {
7245 test -z "$ac_c_werror_flag" ||
7246 test ! -s conftest.err
7247 } && test -s conftest.$ac_objext; then
7248 ac_header_compiler=yes
7249 else
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 ac_header_compiler=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7258 echo "${ECHO_T}$ac_header_compiler" >&6; }
7260 # Is the header present?
7261 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7263 cat >conftest.$ac_ext <<_ACEOF
7264 /* confdefs.h. */
7265 _ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <$ac_header>
7270 _ACEOF
7271 if { (ac_try="$ac_cpp conftest.$ac_ext"
7272 case "(($ac_try" in
7273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7275 esac
7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7278 ac_status=$?
7279 grep -v '^ *+' conftest.er1 >conftest.err
7280 rm -f conftest.er1
7281 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } >/dev/null && {
7284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7286 }; then
7287 ac_header_preproc=yes
7288 else
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 ac_header_preproc=no
7295 rm -f conftest.err conftest.$ac_ext
7296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7297 echo "${ECHO_T}$ac_header_preproc" >&6; }
7299 # So? What about this header?
7300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7301 yes:no: )
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7306 ac_header_preproc=yes
7308 no:yes:* )
7309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7321 ( cat <<\_ASBOX
7322 ## ------------------------------------ ##
7323 ## Report this to wine-devel@winehq.org ##
7324 ## ------------------------------------ ##
7325 _ASBOX
7326 ) | sed "s/^/$as_me: WARNING: /" >&2
7328 esac
7329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 else
7334 eval "$as_ac_Header=\$ac_header_preproc"
7336 ac_res=`eval echo '${'$as_ac_Header'}'`
7337 { echo "$as_me:$LINENO: result: $ac_res" >&5
7338 echo "${ECHO_T}$ac_res" >&6; }
7341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7342 cat >>confdefs.h <<_ACEOF
7343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 _ACEOF
7348 done
7350 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7351 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7352 if test "${ac_cv_header_stat_broken+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 else
7355 cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h. */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #include <sys/stat.h>
7364 #if defined S_ISBLK && defined S_IFDIR
7365 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7366 #endif
7368 #if defined S_ISBLK && defined S_IFCHR
7369 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7370 #endif
7372 #if defined S_ISLNK && defined S_IFREG
7373 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7374 #endif
7376 #if defined S_ISSOCK && defined S_IFREG
7377 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7378 #endif
7380 _ACEOF
7381 rm -f conftest.$ac_objext
7382 if { (ac_try="$ac_compile"
7383 case "(($ac_try" in
7384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7386 esac
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7389 ac_status=$?
7390 grep -v '^ *+' conftest.er1 >conftest.err
7391 rm -f conftest.er1
7392 cat conftest.err >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.$ac_objext; then
7398 ac_cv_header_stat_broken=no
7399 else
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7403 ac_cv_header_stat_broken=yes
7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7408 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7409 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7410 if test $ac_cv_header_stat_broken = yes; then
7412 cat >>confdefs.h <<\_ACEOF
7413 #define STAT_MACROS_BROKEN 1
7414 _ACEOF
7424 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 else
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #ifdef HAVE_SYS_PARAM_H
7440 # include <sys/param.h>
7441 #endif
7443 #include <$ac_header>
7444 _ACEOF
7445 rm -f conftest.$ac_objext
7446 if { (ac_try="$ac_compile"
7447 case "(($ac_try" in
7448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7449 *) ac_try_echo=$ac_try;;
7450 esac
7451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7452 (eval "$ac_compile") 2>conftest.er1
7453 ac_status=$?
7454 grep -v '^ *+' conftest.er1 >conftest.err
7455 rm -f conftest.er1
7456 cat conftest.err >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } && {
7459 test -z "$ac_c_werror_flag" ||
7460 test ! -s conftest.err
7461 } && test -s conftest.$ac_objext; then
7462 eval "$as_ac_Header=yes"
7463 else
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 eval "$as_ac_Header=no"
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 ac_res=`eval echo '${'$as_ac_Header'}'`
7473 { echo "$as_me:$LINENO: result: $ac_res" >&5
7474 echo "${ECHO_T}$ac_res" >&6; }
7475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7476 cat >>confdefs.h <<_ACEOF
7477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 _ACEOF
7482 done
7493 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 else
7501 cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h. */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <sys/types.h>
7508 #ifdef HAVE_SYS_SOCKET_H
7509 # include <sys/socket.h>
7510 #endif
7511 #ifdef HAVE_SYS_SOCKETVAR_H
7512 # include <sys/socketvar.h>
7513 #endif
7514 #ifdef HAVE_NETINET_IN_H
7515 # include <netinet/in.h>
7516 #endif
7518 #include <$ac_header>
7519 _ACEOF
7520 rm -f conftest.$ac_objext
7521 if { (ac_try="$ac_compile"
7522 case "(($ac_try" in
7523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7525 esac
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7528 ac_status=$?
7529 grep -v '^ *+' conftest.er1 >conftest.err
7530 rm -f conftest.er1
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.$ac_objext; then
7537 eval "$as_ac_Header=yes"
7538 else
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7561 for ac_header in netinet/tcp_var.h
7563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 cat >conftest.$ac_ext <<_ACEOF
7570 /* confdefs.h. */
7571 _ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 #include <sys/types.h>
7576 #ifdef HAVE_SYS_SOCKET_H
7577 # include <sys/socket.h>
7578 #endif
7579 #ifdef HAVE_SYS_SOCKETVAR_H
7580 # include <sys/socketvar.h>
7581 #endif
7582 #ifdef HAVE_NETINET_IN_H
7583 # include <netinet/in.h>
7584 #endif
7585 #ifdef HAVE_NETINET_TCP_H
7586 # include <netinet/tcp.h>
7587 #endif
7589 #include <$ac_header>
7590 _ACEOF
7591 rm -f conftest.$ac_objext
7592 if { (ac_try="$ac_compile"
7593 case "(($ac_try" in
7594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7595 *) ac_try_echo=$ac_try;;
7596 esac
7597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7598 (eval "$ac_compile") 2>conftest.er1
7599 ac_status=$?
7600 grep -v '^ *+' conftest.er1 >conftest.err
7601 rm -f conftest.er1
7602 cat conftest.err >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } && {
7605 test -z "$ac_c_werror_flag" ||
7606 test ! -s conftest.err
7607 } && test -s conftest.$ac_objext; then
7608 eval "$as_ac_Header=yes"
7609 else
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.$ac_ext >&5
7613 eval "$as_ac_Header=no"
7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7618 ac_res=`eval echo '${'$as_ac_Header'}'`
7619 { echo "$as_me:$LINENO: result: $ac_res" >&5
7620 echo "${ECHO_T}$ac_res" >&6; }
7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7624 _ACEOF
7628 done
7632 for ac_header in linux/ipx.h
7634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 else
7640 cat >conftest.$ac_ext <<_ACEOF
7641 /* confdefs.h. */
7642 _ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 #include <sys/types.h>
7647 #ifdef HAVE_ASM_TYPES_H
7648 # include <asm/types.h>
7649 #endif
7650 #ifdef HAVE_SYS_SOCKET_H
7651 # include <sys/socket.h>
7652 #endif
7654 #include <$ac_header>
7655 _ACEOF
7656 rm -f conftest.$ac_objext
7657 if { (ac_try="$ac_compile"
7658 case "(($ac_try" in
7659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7660 *) ac_try_echo=$ac_try;;
7661 esac
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_compile") 2>conftest.er1
7664 ac_status=$?
7665 grep -v '^ *+' conftest.er1 >conftest.err
7666 rm -f conftest.er1
7667 cat conftest.err >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } && {
7670 test -z "$ac_c_werror_flag" ||
7671 test ! -s conftest.err
7672 } && test -s conftest.$ac_objext; then
7673 eval "$as_ac_Header=yes"
7674 else
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.$ac_ext >&5
7678 eval "$as_ac_Header=no"
7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7683 ac_res=`eval echo '${'$as_ac_Header'}'`
7684 { echo "$as_me:$LINENO: result: $ac_res" >&5
7685 echo "${ECHO_T}$ac_res" >&6; }
7686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7687 cat >>confdefs.h <<_ACEOF
7688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7689 _ACEOF
7693 done
7697 for ac_header in resolv.h
7699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 else
7705 cat >conftest.$ac_ext <<_ACEOF
7706 /* confdefs.h. */
7707 _ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 #include <sys/types.h>
7712 #ifdef HAVE_SYS_SOCKET_H
7713 # include <sys/socket.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_H
7716 # include <netinet/in.h>
7717 #endif
7718 #ifdef HAVE_ARPA_NAMESER_H
7719 # include <arpa/nameser.h>
7720 #endif
7722 #include <$ac_header>
7723 _ACEOF
7724 rm -f conftest.$ac_objext
7725 if { (ac_try="$ac_compile"
7726 case "(($ac_try" in
7727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728 *) ac_try_echo=$ac_try;;
7729 esac
7730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7731 (eval "$ac_compile") 2>conftest.er1
7732 ac_status=$?
7733 grep -v '^ *+' conftest.er1 >conftest.err
7734 rm -f conftest.er1
7735 cat conftest.err >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } && {
7738 test -z "$ac_c_werror_flag" ||
7739 test ! -s conftest.err
7740 } && test -s conftest.$ac_objext; then
7741 eval "$as_ac_Header=yes"
7742 else
7743 echo "$as_me: failed program was:" >&5
7744 sed 's/^/| /' conftest.$ac_ext >&5
7746 eval "$as_ac_Header=no"
7749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7751 ac_res=`eval echo '${'$as_ac_Header'}'`
7752 { echo "$as_me:$LINENO: result: $ac_res" >&5
7753 echo "${ECHO_T}$ac_res" >&6; }
7754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7755 cat >>confdefs.h <<_ACEOF
7756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7757 _ACEOF
7761 done
7765 for ac_header in ucontext.h
7767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 else
7773 cat >conftest.$ac_ext <<_ACEOF
7774 /* confdefs.h. */
7775 _ACEOF
7776 cat confdefs.h >>conftest.$ac_ext
7777 cat >>conftest.$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7779 #include <signal.h>
7781 #include <$ac_header>
7782 _ACEOF
7783 rm -f conftest.$ac_objext
7784 if { (ac_try="$ac_compile"
7785 case "(($ac_try" in
7786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7787 *) ac_try_echo=$ac_try;;
7788 esac
7789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7790 (eval "$ac_compile") 2>conftest.er1
7791 ac_status=$?
7792 grep -v '^ *+' conftest.er1 >conftest.err
7793 rm -f conftest.er1
7794 cat conftest.err >&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } && {
7797 test -z "$ac_c_werror_flag" ||
7798 test ! -s conftest.err
7799 } && test -s conftest.$ac_objext; then
7800 eval "$as_ac_Header=yes"
7801 else
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7805 eval "$as_ac_Header=no"
7808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7810 ac_res=`eval echo '${'$as_ac_Header'}'`
7811 { echo "$as_me:$LINENO: result: $ac_res" >&5
7812 echo "${ECHO_T}$ac_res" >&6; }
7813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7814 cat >>confdefs.h <<_ACEOF
7815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7816 _ACEOF
7820 done
7824 for ac_header in sys/thr.h
7826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7831 else
7832 cat >conftest.$ac_ext <<_ACEOF
7833 /* confdefs.h. */
7834 _ACEOF
7835 cat confdefs.h >>conftest.$ac_ext
7836 cat >>conftest.$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7838 #include <sys/types.h>
7839 #ifdef HAVE_UCONTEXT_H
7840 #include <ucontext.h>
7841 #endif
7843 #include <$ac_header>
7844 _ACEOF
7845 rm -f conftest.$ac_objext
7846 if { (ac_try="$ac_compile"
7847 case "(($ac_try" in
7848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7849 *) ac_try_echo=$ac_try;;
7850 esac
7851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7852 (eval "$ac_compile") 2>conftest.er1
7853 ac_status=$?
7854 grep -v '^ *+' conftest.er1 >conftest.err
7855 rm -f conftest.er1
7856 cat conftest.err >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } && {
7859 test -z "$ac_c_werror_flag" ||
7860 test ! -s conftest.err
7861 } && test -s conftest.$ac_objext; then
7862 eval "$as_ac_Header=yes"
7863 else
7864 echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.$ac_ext >&5
7867 eval "$as_ac_Header=no"
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 ac_res=`eval echo '${'$as_ac_Header'}'`
7873 { echo "$as_me:$LINENO: result: $ac_res" >&5
7874 echo "${ECHO_T}$ac_res" >&6; }
7875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7876 cat >>confdefs.h <<_ACEOF
7877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7878 _ACEOF
7882 done
7886 for ac_header in pthread_np.h
7888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 else
7894 cat >conftest.$ac_ext <<_ACEOF
7895 /* confdefs.h. */
7896 _ACEOF
7897 cat confdefs.h >>conftest.$ac_ext
7898 cat >>conftest.$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7900 #ifdef HAVE_PTHREAD_H
7901 #include <pthread.h>
7902 #endif
7904 #include <$ac_header>
7905 _ACEOF
7906 rm -f conftest.$ac_objext
7907 if { (ac_try="$ac_compile"
7908 case "(($ac_try" in
7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7910 *) ac_try_echo=$ac_try;;
7911 esac
7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 (eval "$ac_compile") 2>conftest.er1
7914 ac_status=$?
7915 grep -v '^ *+' conftest.er1 >conftest.err
7916 rm -f conftest.er1
7917 cat conftest.err >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && {
7920 test -z "$ac_c_werror_flag" ||
7921 test ! -s conftest.err
7922 } && test -s conftest.$ac_objext; then
7923 eval "$as_ac_Header=yes"
7924 else
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.$ac_ext >&5
7928 eval "$as_ac_Header=no"
7931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7933 ac_res=`eval echo '${'$as_ac_Header'}'`
7934 { echo "$as_me:$LINENO: result: $ac_res" >&5
7935 echo "${ECHO_T}$ac_res" >&6; }
7936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7937 cat >>confdefs.h <<_ACEOF
7938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7939 _ACEOF
7943 done
7947 for ac_header in linux/videodev.h
7949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 else
7955 cat >conftest.$ac_ext <<_ACEOF
7956 /* confdefs.h. */
7957 _ACEOF
7958 cat confdefs.h >>conftest.$ac_ext
7959 cat >>conftest.$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7961 #ifdef HAVE_SYS_TIME_H
7962 #include <sys/time.h>
7963 #endif
7964 #include <sys/types.h>
7965 #ifdef HAVE_ASM_TYPES_H
7966 #include <asm/types.h>
7967 #endif
7969 #include <$ac_header>
7970 _ACEOF
7971 rm -f conftest.$ac_objext
7972 if { (ac_try="$ac_compile"
7973 case "(($ac_try" in
7974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7975 *) ac_try_echo=$ac_try;;
7976 esac
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7978 (eval "$ac_compile") 2>conftest.er1
7979 ac_status=$?
7980 grep -v '^ *+' conftest.er1 >conftest.err
7981 rm -f conftest.er1
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } && {
7985 test -z "$ac_c_werror_flag" ||
7986 test ! -s conftest.err
7987 } && test -s conftest.$ac_objext; then
7988 eval "$as_ac_Header=yes"
7989 else
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7993 eval "$as_ac_Header=no"
7996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7998 ac_res=`eval echo '${'$as_ac_Header'}'`
7999 { echo "$as_me:$LINENO: result: $ac_res" >&5
8000 echo "${ECHO_T}$ac_res" >&6; }
8001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8002 cat >>confdefs.h <<_ACEOF
8003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8004 _ACEOF
8008 done
8012 for ac_header in linux/capi.h
8014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 else
8020 cat >conftest.$ac_ext <<_ACEOF
8021 /* confdefs.h. */
8022 _ACEOF
8023 cat confdefs.h >>conftest.$ac_ext
8024 cat >>conftest.$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8026 #define __user
8028 #include <$ac_header>
8029 _ACEOF
8030 rm -f conftest.$ac_objext
8031 if { (ac_try="$ac_compile"
8032 case "(($ac_try" in
8033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 *) ac_try_echo=$ac_try;;
8035 esac
8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
8038 ac_status=$?
8039 grep -v '^ *+' conftest.er1 >conftest.err
8040 rm -f conftest.er1
8041 cat conftest.err >&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } && {
8044 test -z "$ac_c_werror_flag" ||
8045 test ! -s conftest.err
8046 } && test -s conftest.$ac_objext; then
8047 eval "$as_ac_Header=yes"
8048 else
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8052 eval "$as_ac_Header=no"
8055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8057 ac_res=`eval echo '${'$as_ac_Header'}'`
8058 { echo "$as_me:$LINENO: result: $ac_res" >&5
8059 echo "${ECHO_T}$ac_res" >&6; }
8060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8061 cat >>confdefs.h <<_ACEOF
8062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8063 _ACEOF
8067 done
8071 DLLEXT=""
8073 DLLFLAGS="-D_REENTRANT"
8075 LDSHARED=""
8077 LDDLLFLAGS=""
8079 LIBEXT="so"
8081 IMPLIBEXT="def"
8083 LDRPATH_INSTALL=""
8085 LDRPATH_LOCAL=""
8087 # Extract the first word of "ldd", so it can be a program name with args.
8088 set dummy ldd; ac_word=$2
8089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8091 if test "${ac_cv_path_LDD+set}" = set; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8093 else
8094 case $LDD in
8095 [\\/]* | ?:[\\/]*)
8096 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 as_dummy="/sbin:/usr/sbin:$PATH"
8101 for as_dir in $as_dummy
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8115 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8117 esac
8119 LDD=$ac_cv_path_LDD
8120 if test -n "$LDD"; then
8121 { echo "$as_me:$LINENO: result: $LDD" >&5
8122 echo "${ECHO_T}$LDD" >&6; }
8123 else
8124 { echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6; }
8130 case $host_os in
8131 cygwin*|mingw32*)
8132 if test -n "$ac_tool_prefix"; then
8133 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8134 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8137 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8138 echo $ECHO_N "(cached) $ECHO_C" >&6
8139 else
8140 if test -n "$DLLTOOL"; then
8141 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8142 else
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 for as_dir in $PATH
8146 IFS=$as_save_IFS
8147 test -z "$as_dir" && as_dir=.
8148 for ac_exec_ext in '' $ac_executable_extensions; do
8149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8150 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8152 break 2
8154 done
8155 done
8156 IFS=$as_save_IFS
8160 DLLTOOL=$ac_cv_prog_DLLTOOL
8161 if test -n "$DLLTOOL"; then
8162 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8163 echo "${ECHO_T}$DLLTOOL" >&6; }
8164 else
8165 { echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6; }
8171 if test -z "$ac_cv_prog_DLLTOOL"; then
8172 ac_ct_DLLTOOL=$DLLTOOL
8173 # Extract the first word of "dlltool", so it can be a program name with args.
8174 set dummy dlltool; ac_word=$2
8175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8177 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 else
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8182 else
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 for as_dir in $PATH
8186 IFS=$as_save_IFS
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8192 break 2
8194 done
8195 done
8196 IFS=$as_save_IFS
8200 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8201 if test -n "$ac_ct_DLLTOOL"; then
8202 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8203 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8204 else
8205 { echo "$as_me:$LINENO: result: no" >&5
8206 echo "${ECHO_T}no" >&6; }
8209 if test "x$ac_ct_DLLTOOL" = x; then
8210 DLLTOOL="false"
8211 else
8212 case $cross_compiling:$ac_tool_warned in
8213 yes:)
8214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8215 whose name does not start with the host triplet. If you think this
8216 configuration is useful to you, please write to autoconf@gnu.org." >&5
8217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8218 whose name does not start with the host triplet. If you think this
8219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8220 ac_tool_warned=yes ;;
8221 esac
8222 DLLTOOL=$ac_ct_DLLTOOL
8224 else
8225 DLLTOOL="$ac_cv_prog_DLLTOOL"
8228 if test -n "$ac_tool_prefix"; then
8229 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8230 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8233 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 else
8236 if test -n "$DLLWRAP"; then
8237 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8238 else
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 for as_dir in $PATH
8242 IFS=$as_save_IFS
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 break 2
8250 done
8251 done
8252 IFS=$as_save_IFS
8256 DLLWRAP=$ac_cv_prog_DLLWRAP
8257 if test -n "$DLLWRAP"; then
8258 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8259 echo "${ECHO_T}$DLLWRAP" >&6; }
8260 else
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8267 if test -z "$ac_cv_prog_DLLWRAP"; then
8268 ac_ct_DLLWRAP=$DLLWRAP
8269 # Extract the first word of "dllwrap", so it can be a program name with args.
8270 set dummy dllwrap; ac_word=$2
8271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8273 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8274 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 else
8276 if test -n "$ac_ct_DLLWRAP"; then
8277 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8278 else
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280 for as_dir in $PATH
8282 IFS=$as_save_IFS
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 break 2
8290 done
8291 done
8292 IFS=$as_save_IFS
8296 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8297 if test -n "$ac_ct_DLLWRAP"; then
8298 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8299 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8300 else
8301 { echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6; }
8305 if test "x$ac_ct_DLLWRAP" = x; then
8306 DLLWRAP="false"
8307 else
8308 case $cross_compiling:$ac_tool_warned in
8309 yes:)
8310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8311 whose name does not start with the host triplet. If you think this
8312 configuration is useful to you, please write to autoconf@gnu.org." >&5
8313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8314 whose name does not start with the host triplet. If you think this
8315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8316 ac_tool_warned=yes ;;
8317 esac
8318 DLLWRAP=$ac_ct_DLLWRAP
8320 else
8321 DLLWRAP="$ac_cv_prog_DLLWRAP"
8324 if test -n "$ac_tool_prefix"; then
8325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8326 set dummy ${ac_tool_prefix}ar; ac_word=$2
8327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8329 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 if test -n "$MINGWAR"; then
8333 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8334 else
8335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 for as_dir in $PATH
8338 IFS=$as_save_IFS
8339 test -z "$as_dir" && as_dir=.
8340 for ac_exec_ext in '' $ac_executable_extensions; do
8341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8342 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 break 2
8346 done
8347 done
8348 IFS=$as_save_IFS
8352 MINGWAR=$ac_cv_prog_MINGWAR
8353 if test -n "$MINGWAR"; then
8354 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8355 echo "${ECHO_T}$MINGWAR" >&6; }
8356 else
8357 { echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6; }
8363 if test -z "$ac_cv_prog_MINGWAR"; then
8364 ac_ct_MINGWAR=$MINGWAR
8365 # Extract the first word of "ar", so it can be a program name with args.
8366 set dummy ar; ac_word=$2
8367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8369 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8370 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 else
8372 if test -n "$ac_ct_MINGWAR"; then
8373 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8374 else
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 for as_dir in $PATH
8378 IFS=$as_save_IFS
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8382 ac_cv_prog_ac_ct_MINGWAR="ar"
8383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 break 2
8386 done
8387 done
8388 IFS=$as_save_IFS
8392 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8393 if test -n "$ac_ct_MINGWAR"; then
8394 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8395 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8396 else
8397 { echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6; }
8401 if test "x$ac_ct_MINGWAR" = x; then
8402 MINGWAR="false"
8403 else
8404 case $cross_compiling:$ac_tool_warned in
8405 yes:)
8406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8407 whose name does not start with the host triplet. If you think this
8408 configuration is useful to you, please write to autoconf@gnu.org." >&5
8409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8410 whose name does not start with the host triplet. If you think this
8411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8412 ac_tool_warned=yes ;;
8413 esac
8414 MINGWAR=$ac_ct_MINGWAR
8416 else
8417 MINGWAR="$ac_cv_prog_MINGWAR"
8420 if test "$DLLWRAP" = "false"; then
8421 LIBEXT="a"
8422 else
8423 LIBEXT="dll"
8425 IMPLIBEXT="a"
8426 WIN16_FILES=""
8427 WIN16_INSTALL=""
8429 darwin*|macosx*)
8430 DLLEXT=".so"
8431 LIBEXT="dylib"
8432 DLLFLAGS="$DLLFLAGS -fPIC"
8433 LDDLLFLAGS="-bundle -multiply_defined suppress"
8434 LIBWINE_LDFLAGS="-multiply_defined suppress"
8435 LDSHARED="\$(CC) -dynamiclib"
8436 STRIP="$STRIP -x"
8437 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8438 SECURITYLIB="-framework Security -framework CoreFoundation"
8440 COREFOUNDATIONLIB="-framework CoreFoundation"
8442 IOKITLIB="-framework IOKit -framework CoreFoundation"
8444 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8446 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8447 then
8448 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8451 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8452 then
8453 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8456 case $host_cpu in
8457 *powerpc*)
8458 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8459 esac
8460 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8461 then
8462 CARBONLIB="-framework Carbon"
8464 QUARTZFILES='$(QUARTZFILES)'
8468 DLLFLAGS="$DLLFLAGS -fPIC"
8469 DLLEXT=".so"
8470 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8471 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8472 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8477 cat >conftest.$ac_ext <<_ACEOF
8478 void myfunc() {}
8479 _ACEOF
8480 rm -f conftest.$ac_objext conftest$ac_exeext
8481 if { (ac_try="$ac_link"
8482 case "(($ac_try" in
8483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8485 esac
8486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_link") 2>conftest.er1
8488 ac_status=$?
8489 grep -v '^ *+' conftest.er1 >conftest.err
8490 rm -f conftest.er1
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest$ac_exeext &&
8497 $as_test_x conftest$ac_exeext; then
8498 ac_cv_c_dll_gnuelf="yes"
8499 else
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 ac_cv_c_dll_gnuelf="no"
8506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8511 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8512 if test "$ac_cv_c_dll_gnuelf" = "yes"
8513 then
8514 LDSHARED="\$(CC) -shared"
8515 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8516 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8517 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8518 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 else
8521 ac_wine_try_cflags_saved=$CFLAGS
8522 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8523 cat >conftest.$ac_ext <<_ACEOF
8524 /* confdefs.h. */
8525 _ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8531 main ()
8535 return 0;
8537 _ACEOF
8538 rm -f conftest.$ac_objext conftest$ac_exeext
8539 if { (ac_try="$ac_link"
8540 case "(($ac_try" in
8541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8542 *) ac_try_echo=$ac_try;;
8543 esac
8544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8545 (eval "$ac_link") 2>conftest.er1
8546 ac_status=$?
8547 grep -v '^ *+' conftest.er1 >conftest.err
8548 rm -f conftest.er1
8549 cat conftest.err >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } && {
8552 test -z "$ac_c_werror_flag" ||
8553 test ! -s conftest.err
8554 } && test -s conftest$ac_exeext &&
8555 $as_test_x conftest$ac_exeext; then
8556 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8557 else
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.$ac_ext >&5
8561 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8569 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8570 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8571 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8572 else
8573 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8574 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8575 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8577 else
8578 ac_wine_try_cflags_saved=$CFLAGS
8579 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8580 cat >conftest.$ac_ext <<_ACEOF
8581 /* confdefs.h. */
8582 _ACEOF
8583 cat confdefs.h >>conftest.$ac_ext
8584 cat >>conftest.$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8588 main ()
8592 return 0;
8594 _ACEOF
8595 rm -f conftest.$ac_objext conftest$ac_exeext
8596 if { (ac_try="$ac_link"
8597 case "(($ac_try" in
8598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8599 *) ac_try_echo=$ac_try;;
8600 esac
8601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8602 (eval "$ac_link") 2>conftest.er1
8603 ac_status=$?
8604 grep -v '^ *+' conftest.er1 >conftest.err
8605 rm -f conftest.er1
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } && {
8609 test -z "$ac_c_werror_flag" ||
8610 test ! -s conftest.err
8611 } && test -s conftest$ac_exeext &&
8612 $as_test_x conftest$ac_exeext; then
8613 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8614 else
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8618 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8626 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8627 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8628 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8634 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8635 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8636 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8638 else
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8641 cat >conftest.$ac_ext <<_ACEOF
8642 /* confdefs.h. */
8643 _ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8649 main ()
8653 return 0;
8655 _ACEOF
8656 rm -f conftest.$ac_objext conftest$ac_exeext
8657 if { (ac_try="$ac_link"
8658 case "(($ac_try" in
8659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8660 *) ac_try_echo=$ac_try;;
8661 esac
8662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8663 (eval "$ac_link") 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && {
8670 test -z "$ac_c_werror_flag" ||
8671 test ! -s conftest.err
8672 } && test -s conftest$ac_exeext &&
8673 $as_test_x conftest$ac_exeext; then
8674 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8675 else
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.$ac_ext >&5
8679 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8687 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8688 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8689 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8693 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8694 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8695 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8700 cat >conftest.$ac_ext <<_ACEOF
8701 /* confdefs.h. */
8702 _ACEOF
8703 cat confdefs.h >>conftest.$ac_ext
8704 cat >>conftest.$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8708 main ()
8712 return 0;
8714 _ACEOF
8715 rm -f conftest.$ac_objext conftest$ac_exeext
8716 if { (ac_try="$ac_link"
8717 case "(($ac_try" in
8718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8720 esac
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_link") 2>conftest.er1
8723 ac_status=$?
8724 grep -v '^ *+' conftest.er1 >conftest.err
8725 rm -f conftest.er1
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && {
8729 test -z "$ac_c_werror_flag" ||
8730 test ! -s conftest.err
8731 } && test -s conftest$ac_exeext &&
8732 $as_test_x conftest$ac_exeext; then
8733 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8734 else
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8746 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8747 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8748 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8752 echo '{ global: *; };' >conftest.map
8753 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8754 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8755 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 else
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8760 cat >conftest.$ac_ext <<_ACEOF
8761 /* confdefs.h. */
8762 _ACEOF
8763 cat confdefs.h >>conftest.$ac_ext
8764 cat >>conftest.$ac_ext <<_ACEOF
8765 /* end confdefs.h. */
8768 main ()
8772 return 0;
8774 _ACEOF
8775 rm -f conftest.$ac_objext conftest$ac_exeext
8776 if { (ac_try="$ac_link"
8777 case "(($ac_try" in
8778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8779 *) ac_try_echo=$ac_try;;
8780 esac
8781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8782 (eval "$ac_link") 2>conftest.er1
8783 ac_status=$?
8784 grep -v '^ *+' conftest.er1 >conftest.err
8785 rm -f conftest.er1
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && {
8789 test -z "$ac_c_werror_flag" ||
8790 test ! -s conftest.err
8791 } && test -s conftest$ac_exeext &&
8792 $as_test_x conftest$ac_exeext; then
8793 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8794 else
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.$ac_ext >&5
8798 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8806 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8807 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8808 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8811 rm -f conftest.map
8813 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8814 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8815 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8820 cat >conftest.$ac_ext <<_ACEOF
8821 /* confdefs.h. */
8822 _ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8828 main ()
8832 return 0;
8834 _ACEOF
8835 rm -f conftest.$ac_objext conftest$ac_exeext
8836 if { (ac_try="$ac_link"
8837 case "(($ac_try" in
8838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8839 *) ac_try_echo=$ac_try;;
8840 esac
8841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8842 (eval "$ac_link") 2>conftest.er1
8843 ac_status=$?
8844 grep -v '^ *+' conftest.er1 >conftest.err
8845 rm -f conftest.er1
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } && {
8849 test -z "$ac_c_werror_flag" ||
8850 test ! -s conftest.err
8851 } && test -s conftest$ac_exeext &&
8852 $as_test_x conftest$ac_exeext; then
8853 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8854 else
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8866 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8867 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8868 LDEXECFLAGS="-Wl,--export-dynamic"
8873 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8874 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8875 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8877 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 else
8879 ac_wine_try_cflags_saved=$CFLAGS
8880 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8881 cat >conftest.$ac_ext <<_ACEOF
8882 /* confdefs.h. */
8883 _ACEOF
8884 cat confdefs.h >>conftest.$ac_ext
8885 cat >>conftest.$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8889 main ()
8893 return 0;
8895 _ACEOF
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (ac_try="$ac_link"
8898 case "(($ac_try" in
8899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8901 esac
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_link") 2>conftest.er1
8904 ac_status=$?
8905 grep -v '^ *+' conftest.er1 >conftest.err
8906 rm -f conftest.er1
8907 cat conftest.err >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } && {
8910 test -z "$ac_c_werror_flag" ||
8911 test ! -s conftest.err
8912 } && test -s conftest$ac_exeext &&
8913 $as_test_x conftest$ac_exeext; then
8914 eval "$as_ac_var=yes"
8915 else
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.$ac_ext >&5
8919 eval "$as_ac_var=no"
8922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8923 conftest$ac_exeext conftest.$ac_ext
8924 CFLAGS=$ac_wine_try_cflags_saved
8926 ac_res=`eval echo '${'$as_ac_var'}'`
8927 { echo "$as_me:$LINENO: result: $ac_res" >&5
8928 echo "${ECHO_T}$ac_res" >&6; }
8929 if test `eval echo '${'$as_ac_var'}'` = yes; then
8930 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8931 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8932 else
8933 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8934 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8935 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8938 else
8939 ac_wine_try_cflags_saved=$CFLAGS
8940 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8941 cat >conftest.$ac_ext <<_ACEOF
8942 /* confdefs.h. */
8943 _ACEOF
8944 cat confdefs.h >>conftest.$ac_ext
8945 cat >>conftest.$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8949 main ()
8953 return 0;
8955 _ACEOF
8956 rm -f conftest.$ac_objext conftest$ac_exeext
8957 if { (ac_try="$ac_link"
8958 case "(($ac_try" in
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8961 esac
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_link") 2>conftest.er1
8964 ac_status=$?
8965 grep -v '^ *+' conftest.er1 >conftest.err
8966 rm -f conftest.er1
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && {
8970 test -z "$ac_c_werror_flag" ||
8971 test ! -s conftest.err
8972 } && test -s conftest$ac_exeext &&
8973 $as_test_x conftest$ac_exeext; then
8974 eval "$as_ac_var=yes"
8975 else
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 eval "$as_ac_var=no"
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8983 conftest$ac_exeext conftest.$ac_ext
8984 CFLAGS=$ac_wine_try_cflags_saved
8986 ac_res=`eval echo '${'$as_ac_var'}'`
8987 { echo "$as_me:$LINENO: result: $ac_res" >&5
8988 echo "${ECHO_T}$ac_res" >&6; }
8989 if test `eval echo '${'$as_ac_var'}'` = yes; then
8990 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8991 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8997 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8998 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8999 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 else
9002 ac_wine_try_cflags_saved=$CFLAGS
9003 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9004 cat >conftest.$ac_ext <<_ACEOF
9005 /* confdefs.h. */
9006 _ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9012 main ()
9016 return 0;
9018 _ACEOF
9019 rm -f conftest.$ac_objext conftest$ac_exeext
9020 if { (ac_try="$ac_link"
9021 case "(($ac_try" in
9022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9023 *) ac_try_echo=$ac_try;;
9024 esac
9025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9026 (eval "$ac_link") 2>conftest.er1
9027 ac_status=$?
9028 grep -v '^ *+' conftest.er1 >conftest.err
9029 rm -f conftest.er1
9030 cat conftest.err >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } && {
9033 test -z "$ac_c_werror_flag" ||
9034 test ! -s conftest.err
9035 } && test -s conftest$ac_exeext &&
9036 $as_test_x conftest$ac_exeext; then
9037 ac_cv_cflags__Wl___enable_new_dtags=yes
9038 else
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.$ac_ext >&5
9042 ac_cv_cflags__Wl___enable_new_dtags=no
9045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9046 conftest$ac_exeext conftest.$ac_ext
9047 CFLAGS=$ac_wine_try_cflags_saved
9049 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9050 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9051 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9052 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9056 case $host_cpu in
9057 *i[3456789]86* | x86_64)
9058 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9059 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9060 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 else
9063 ac_wine_try_cflags_saved=$CFLAGS
9064 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9065 cat >conftest.$ac_ext <<_ACEOF
9066 /* confdefs.h. */
9067 _ACEOF
9068 cat confdefs.h >>conftest.$ac_ext
9069 cat >>conftest.$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9073 main ()
9077 return 0;
9079 _ACEOF
9080 rm -f conftest.$ac_objext conftest$ac_exeext
9081 if { (ac_try="$ac_link"
9082 case "(($ac_try" in
9083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9084 *) ac_try_echo=$ac_try;;
9085 esac
9086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087 (eval "$ac_link") 2>conftest.er1
9088 ac_status=$?
9089 grep -v '^ *+' conftest.er1 >conftest.err
9090 rm -f conftest.er1
9091 cat conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } && {
9094 test -z "$ac_c_werror_flag" ||
9095 test ! -s conftest.err
9096 } && test -s conftest$ac_exeext &&
9097 $as_test_x conftest$ac_exeext; then
9098 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9099 else
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9103 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9107 conftest$ac_exeext conftest.$ac_ext
9108 CFLAGS=$ac_wine_try_cflags_saved
9110 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9111 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9112 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9113 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9117 esac
9119 else
9120 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9121 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9122 if test "${ac_cv_c_dll_unixware+set}" = set; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 else
9125 ac_wine_try_cflags_saved=$CFLAGS
9126 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9127 cat >conftest.$ac_ext <<_ACEOF
9128 void myfunc() {}
9129 _ACEOF
9130 rm -f conftest.$ac_objext conftest$ac_exeext
9131 if { (ac_try="$ac_link"
9132 case "(($ac_try" in
9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9134 *) ac_try_echo=$ac_try;;
9135 esac
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9137 (eval "$ac_link") 2>conftest.er1
9138 ac_status=$?
9139 grep -v '^ *+' conftest.er1 >conftest.err
9140 rm -f conftest.er1
9141 cat conftest.err >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } && {
9144 test -z "$ac_c_werror_flag" ||
9145 test ! -s conftest.err
9146 } && test -s conftest$ac_exeext &&
9147 $as_test_x conftest$ac_exeext; then
9148 ac_cv_c_dll_unixware="yes"
9149 else
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.$ac_ext >&5
9153 ac_cv_c_dll_unixware="no"
9156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9161 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9162 if test "$ac_cv_c_dll_unixware" = "yes"
9163 then
9164 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9165 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9167 else
9168 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9169 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9170 if test "${ac_cv_c_dll_hpux+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9172 else
9173 ac_wine_try_cflags_saved=$CFLAGS
9174 CFLAGS="$CFLAGS -shared"
9175 cat >conftest.$ac_ext <<_ACEOF
9176 void myfunc() {}
9177 _ACEOF
9178 rm -f conftest.$ac_objext conftest$ac_exeext
9179 if { (ac_try="$ac_link"
9180 case "(($ac_try" in
9181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9183 esac
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_link") 2>conftest.er1
9186 ac_status=$?
9187 grep -v '^ *+' conftest.er1 >conftest.err
9188 rm -f conftest.er1
9189 cat conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } && {
9192 test -z "$ac_c_werror_flag" ||
9193 test ! -s conftest.err
9194 } && test -s conftest$ac_exeext &&
9195 $as_test_x conftest$ac_exeext; then
9196 ac_cv_c_dll_hpux="yes"
9197 else
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 ac_cv_c_dll_hpux="no"
9204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9205 conftest$ac_exeext conftest.$ac_ext
9206 CFLAGS=$ac_wine_try_cflags_saved
9208 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9209 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9210 if test "$ac_cv_c_dll_hpux" = "yes"
9211 then
9212 LIBEXT="sl"
9213 DLLEXT=".sl"
9214 LDDLLFLAGS="-shared -fPIC"
9215 LDSHARED="\$(CC) -shared"
9220 CROSSTEST=""
9222 if test "$cross_compiling" = "no"
9223 then
9224 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9226 # Extract the first word of "$ac_prog", so it can be a program name with args.
9227 set dummy $ac_prog; ac_word=$2
9228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9230 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 else
9233 if test -n "$CROSSCC"; then
9234 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9235 else
9236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9237 for as_dir in $PATH
9239 IFS=$as_save_IFS
9240 test -z "$as_dir" && as_dir=.
9241 for ac_exec_ext in '' $ac_executable_extensions; do
9242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9243 ac_cv_prog_CROSSCC="$ac_prog"
9244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9245 break 2
9247 done
9248 done
9249 IFS=$as_save_IFS
9253 CROSSCC=$ac_cv_prog_CROSSCC
9254 if test -n "$CROSSCC"; then
9255 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9256 echo "${ECHO_T}$CROSSCC" >&6; }
9257 else
9258 { echo "$as_me:$LINENO: result: no" >&5
9259 echo "${ECHO_T}no" >&6; }
9263 test -n "$CROSSCC" && break
9264 done
9265 test -n "$CROSSCC" || CROSSCC="false"
9267 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9269 # Extract the first word of "$ac_prog", so it can be a program name with args.
9270 set dummy $ac_prog; ac_word=$2
9271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9273 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 else
9276 if test -n "$DLLTOOL"; then
9277 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9278 else
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9280 for as_dir in $PATH
9282 IFS=$as_save_IFS
9283 test -z "$as_dir" && as_dir=.
9284 for ac_exec_ext in '' $ac_executable_extensions; do
9285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9286 ac_cv_prog_DLLTOOL="$ac_prog"
9287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9288 break 2
9290 done
9291 done
9292 IFS=$as_save_IFS
9296 DLLTOOL=$ac_cv_prog_DLLTOOL
9297 if test -n "$DLLTOOL"; then
9298 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9299 echo "${ECHO_T}$DLLTOOL" >&6; }
9300 else
9301 { echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6; }
9306 test -n "$DLLTOOL" && break
9307 done
9308 test -n "$DLLTOOL" || DLLTOOL="false"
9310 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9312 # Extract the first word of "$ac_prog", so it can be a program name with args.
9313 set dummy $ac_prog; ac_word=$2
9314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9316 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9318 else
9319 if test -n "$CROSSWINDRES"; then
9320 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9321 else
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9323 for as_dir in $PATH
9325 IFS=$as_save_IFS
9326 test -z "$as_dir" && as_dir=.
9327 for ac_exec_ext in '' $ac_executable_extensions; do
9328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9329 ac_cv_prog_CROSSWINDRES="$ac_prog"
9330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9331 break 2
9333 done
9334 done
9335 IFS=$as_save_IFS
9339 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9340 if test -n "$CROSSWINDRES"; then
9341 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9342 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9343 else
9344 { echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6; }
9349 test -n "$CROSSWINDRES" && break
9350 done
9351 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9353 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9355 # Extract the first word of "$ac_prog", so it can be a program name with args.
9356 set dummy $ac_prog; ac_word=$2
9357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9359 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 else
9362 if test -n "$MINGWAR"; then
9363 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9364 else
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9366 for as_dir in $PATH
9368 IFS=$as_save_IFS
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_prog_MINGWAR="$ac_prog"
9373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9374 break 2
9376 done
9377 done
9378 IFS=$as_save_IFS
9382 MINGWAR=$ac_cv_prog_MINGWAR
9383 if test -n "$MINGWAR"; then
9384 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9385 echo "${ECHO_T}$MINGWAR" >&6; }
9386 else
9387 { echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6; }
9392 test -n "$MINGWAR" && break
9393 done
9394 test -n "$MINGWAR" || MINGWAR="false"
9396 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9399 esac
9401 if test "$LIBEXT" = "a"; then
9402 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9403 It is currently not possible to build Wine without shared library
9404 (.so) support to allow transparent switch between .so and .dll files.
9405 If you are using Linux, you will need a newer binutils.
9406 " >&5
9407 echo "$as_me: error: could not find a way to build shared libraries.
9408 It is currently not possible to build Wine without shared library
9409 (.so) support to allow transparent switch between .so and .dll files.
9410 If you are using Linux, you will need a newer binutils.
9411 " >&2;}
9412 { (exit 1); exit 1; }; }
9416 if test "$have_x" = "yes"
9417 then
9418 XLIB="-lXext -lX11"
9419 ac_save_CPPFLAGS="$CPPFLAGS"
9420 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9422 { echo "$as_me:$LINENO: checking for -lX11" >&5
9423 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9424 if test "${ac_cv_lib_soname_X11+set}" = set; then
9425 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 else
9427 ac_check_soname_save_LIBS=$LIBS
9428 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9429 cat >conftest.$ac_ext <<_ACEOF
9430 /* confdefs.h. */
9431 _ACEOF
9432 cat confdefs.h >>conftest.$ac_ext
9433 cat >>conftest.$ac_ext <<_ACEOF
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9439 #ifdef __cplusplus
9440 extern "C"
9441 #endif
9442 char XCreateWindow ();
9444 main ()
9446 return XCreateWindow ();
9448 return 0;
9450 _ACEOF
9451 rm -f conftest.$ac_objext conftest$ac_exeext
9452 if { (ac_try="$ac_link"
9453 case "(($ac_try" in
9454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455 *) ac_try_echo=$ac_try;;
9456 esac
9457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 (eval "$ac_link") 2>conftest.er1
9459 ac_status=$?
9460 grep -v '^ *+' conftest.er1 >conftest.err
9461 rm -f conftest.er1
9462 cat conftest.err >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } && {
9465 test -z "$ac_c_werror_flag" ||
9466 test ! -s conftest.err
9467 } && test -s conftest$ac_exeext &&
9468 $as_test_x conftest$ac_exeext; then
9469 case "$LIBEXT" in
9470 dll) ;;
9471 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9472 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9473 esac
9474 else
9475 echo "$as_me: failed program was:" >&5
9476 sed 's/^/| /' conftest.$ac_ext >&5
9481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9482 conftest$ac_exeext conftest.$ac_ext
9483 LIBS=$ac_check_soname_save_LIBS
9485 if test "x$ac_cv_lib_soname_X11" = "x"; then
9486 { echo "$as_me:$LINENO: result: not found" >&5
9487 echo "${ECHO_T}not found" >&6; }
9489 else
9490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9491 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9493 cat >>confdefs.h <<_ACEOF
9494 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9495 _ACEOF
9500 { echo "$as_me:$LINENO: checking for -lXext" >&5
9501 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9502 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 else
9505 ac_check_soname_save_LIBS=$LIBS
9506 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9507 cat >conftest.$ac_ext <<_ACEOF
9508 /* confdefs.h. */
9509 _ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9517 #ifdef __cplusplus
9518 extern "C"
9519 #endif
9520 char XextCreateExtension ();
9522 main ()
9524 return XextCreateExtension ();
9526 return 0;
9528 _ACEOF
9529 rm -f conftest.$ac_objext conftest$ac_exeext
9530 if { (ac_try="$ac_link"
9531 case "(($ac_try" in
9532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9533 *) ac_try_echo=$ac_try;;
9534 esac
9535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9536 (eval "$ac_link") 2>conftest.er1
9537 ac_status=$?
9538 grep -v '^ *+' conftest.er1 >conftest.err
9539 rm -f conftest.er1
9540 cat conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } && {
9543 test -z "$ac_c_werror_flag" ||
9544 test ! -s conftest.err
9545 } && test -s conftest$ac_exeext &&
9546 $as_test_x conftest$ac_exeext; then
9547 case "$LIBEXT" in
9548 dll) ;;
9549 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9550 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9551 esac
9552 else
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.$ac_ext >&5
9559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_soname_save_LIBS
9563 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9564 { echo "$as_me:$LINENO: result: not found" >&5
9565 echo "${ECHO_T}not found" >&6; }
9567 else
9568 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9569 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9571 cat >>confdefs.h <<_ACEOF
9572 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9573 _ACEOF
9591 for ac_header in X11/Xlib.h \
9592 X11/XKBlib.h \
9593 X11/Xutil.h \
9594 X11/Xcursor/Xcursor.h \
9595 X11/extensions/shape.h \
9596 X11/extensions/XInput.h \
9597 X11/extensions/XShm.h \
9598 X11/extensions/Xcomposite.h \
9599 X11/extensions/Xinerama.h \
9600 X11/extensions/Xrandr.h \
9601 X11/extensions/Xrender.h \
9602 X11/extensions/xf86vmode.h
9604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 else
9610 cat >conftest.$ac_ext <<_ACEOF
9611 /* confdefs.h. */
9612 _ACEOF
9613 cat confdefs.h >>conftest.$ac_ext
9614 cat >>conftest.$ac_ext <<_ACEOF
9615 /* end confdefs.h. */
9616 #ifdef HAVE_X11_XLIB_H
9617 # include <X11/Xlib.h>
9618 #endif
9619 #ifdef HAVE_X11_XUTIL_H
9620 # include <X11/Xutil.h>
9621 #endif
9623 #include <$ac_header>
9624 _ACEOF
9625 rm -f conftest.$ac_objext
9626 if { (ac_try="$ac_compile"
9627 case "(($ac_try" in
9628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9629 *) ac_try_echo=$ac_try;;
9630 esac
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_compile") 2>conftest.er1
9633 ac_status=$?
9634 grep -v '^ *+' conftest.er1 >conftest.err
9635 rm -f conftest.er1
9636 cat conftest.err >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } && {
9639 test -z "$ac_c_werror_flag" ||
9640 test ! -s conftest.err
9641 } && test -s conftest.$ac_objext; then
9642 eval "$as_ac_Header=yes"
9643 else
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.$ac_ext >&5
9647 eval "$as_ac_Header=no"
9650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9652 ac_res=`eval echo '${'$as_ac_Header'}'`
9653 { echo "$as_me:$LINENO: result: $ac_res" >&5
9654 echo "${ECHO_T}$ac_res" >&6; }
9655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9656 cat >>confdefs.h <<_ACEOF
9657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9658 _ACEOF
9662 done
9665 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9666 then
9667 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9668 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9669 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 else
9672 ac_check_lib_save_LIBS=$LIBS
9673 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9674 cat >conftest.$ac_ext <<_ACEOF
9675 /* confdefs.h. */
9676 _ACEOF
9677 cat confdefs.h >>conftest.$ac_ext
9678 cat >>conftest.$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9684 #ifdef __cplusplus
9685 extern "C"
9686 #endif
9687 char XkbQueryExtension ();
9689 main ()
9691 return XkbQueryExtension ();
9693 return 0;
9695 _ACEOF
9696 rm -f conftest.$ac_objext conftest$ac_exeext
9697 if { (ac_try="$ac_link"
9698 case "(($ac_try" in
9699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9700 *) ac_try_echo=$ac_try;;
9701 esac
9702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9703 (eval "$ac_link") 2>conftest.er1
9704 ac_status=$?
9705 grep -v '^ *+' conftest.er1 >conftest.err
9706 rm -f conftest.er1
9707 cat conftest.err >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } && {
9710 test -z "$ac_c_werror_flag" ||
9711 test ! -s conftest.err
9712 } && test -s conftest$ac_exeext &&
9713 $as_test_x conftest$ac_exeext; then
9714 ac_cv_lib_X11_XkbQueryExtension=yes
9715 else
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_cv_lib_X11_XkbQueryExtension=no
9722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9727 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9728 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9730 cat >>confdefs.h <<\_ACEOF
9731 #define HAVE_XKB 1
9732 _ACEOF
9738 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9739 then
9740 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9741 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9742 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 else
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9747 cat >conftest.$ac_ext <<_ACEOF
9748 /* confdefs.h. */
9749 _ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9757 #ifdef __cplusplus
9758 extern "C"
9759 #endif
9760 char XcursorImageLoadCursor ();
9762 main ()
9764 return XcursorImageLoadCursor ();
9766 return 0;
9768 _ACEOF
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (ac_try="$ac_link"
9771 case "(($ac_try" in
9772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9773 *) ac_try_echo=$ac_try;;
9774 esac
9775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_link") 2>conftest.er1
9777 ac_status=$?
9778 grep -v '^ *+' conftest.er1 >conftest.err
9779 rm -f conftest.er1
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err
9785 } && test -s conftest$ac_exeext &&
9786 $as_test_x conftest$ac_exeext; then
9787 case "$LIBEXT" in
9788 dll) ;;
9789 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9790 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9791 esac
9792 else
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9800 conftest$ac_exeext conftest.$ac_ext
9801 LIBS=$ac_check_soname_save_LIBS
9803 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9804 { echo "$as_me:$LINENO: result: not found" >&5
9805 echo "${ECHO_T}not found" >&6; }
9807 else
9808 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9809 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9811 cat >>confdefs.h <<_ACEOF
9812 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9813 _ACEOF
9819 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9820 case "x$with_xcursor" in
9821 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9822 xno) ;;
9823 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9824 This is an error since --with-xcursor was requested." >&5
9825 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9826 This is an error since --with-xcursor was requested." >&2;}
9827 { (exit 1); exit 1; }; } ;;
9828 esac
9832 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9833 then
9834 { echo "$as_me:$LINENO: checking for -lXi" >&5
9835 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9836 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 else
9839 ac_check_soname_save_LIBS=$LIBS
9840 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9841 cat >conftest.$ac_ext <<_ACEOF
9842 /* confdefs.h. */
9843 _ACEOF
9844 cat confdefs.h >>conftest.$ac_ext
9845 cat >>conftest.$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9851 #ifdef __cplusplus
9852 extern "C"
9853 #endif
9854 char XOpenDevice ();
9856 main ()
9858 return XOpenDevice ();
9860 return 0;
9862 _ACEOF
9863 rm -f conftest.$ac_objext conftest$ac_exeext
9864 if { (ac_try="$ac_link"
9865 case "(($ac_try" in
9866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9867 *) ac_try_echo=$ac_try;;
9868 esac
9869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9870 (eval "$ac_link") 2>conftest.er1
9871 ac_status=$?
9872 grep -v '^ *+' conftest.er1 >conftest.err
9873 rm -f conftest.er1
9874 cat conftest.err >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } && {
9877 test -z "$ac_c_werror_flag" ||
9878 test ! -s conftest.err
9879 } && test -s conftest$ac_exeext &&
9880 $as_test_x conftest$ac_exeext; then
9881 case "$LIBEXT" in
9882 dll) ;;
9883 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9884 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9885 esac
9886 else
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_soname_save_LIBS
9897 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9898 { echo "$as_me:$LINENO: result: not found" >&5
9899 echo "${ECHO_T}not found" >&6; }
9901 else
9902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9903 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9905 cat >>confdefs.h <<_ACEOF
9906 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9907 _ACEOF
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9914 case "x$with_xinput" in
9915 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9916 xno) ;;
9917 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9918 This is an error since --with-xinput was requested." >&5
9919 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9920 This is an error since --with-xinput was requested." >&2;}
9921 { (exit 1); exit 1; }; } ;;
9922 esac
9926 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9927 then
9928 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9929 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9930 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9931 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 else
9933 ac_check_lib_save_LIBS=$LIBS
9934 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9935 cat >conftest.$ac_ext <<_ACEOF
9936 /* confdefs.h. */
9937 _ACEOF
9938 cat confdefs.h >>conftest.$ac_ext
9939 cat >>conftest.$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9945 #ifdef __cplusplus
9946 extern "C"
9947 #endif
9948 char XShmQueryExtension ();
9950 main ()
9952 return XShmQueryExtension ();
9954 return 0;
9956 _ACEOF
9957 rm -f conftest.$ac_objext conftest$ac_exeext
9958 if { (ac_try="$ac_link"
9959 case "(($ac_try" in
9960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9961 *) ac_try_echo=$ac_try;;
9962 esac
9963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9964 (eval "$ac_link") 2>conftest.er1
9965 ac_status=$?
9966 grep -v '^ *+' conftest.er1 >conftest.err
9967 rm -f conftest.er1
9968 cat conftest.err >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } && {
9971 test -z "$ac_c_werror_flag" ||
9972 test ! -s conftest.err
9973 } && test -s conftest$ac_exeext &&
9974 $as_test_x conftest$ac_exeext; then
9975 ac_cv_lib_Xext_XShmQueryExtension=yes
9976 else
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.$ac_ext >&5
9980 ac_cv_lib_Xext_XShmQueryExtension=no
9983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_lib_save_LIBS
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9988 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9989 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9991 cat >>confdefs.h <<\_ACEOF
9992 #define HAVE_LIBXXSHM 1
9993 _ACEOF
9998 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9999 case "x$with_xshm" in
10000 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10001 xno) ;;
10002 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10003 This is an error since --with-xshm was requested." >&5
10004 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10005 This is an error since --with-xshm was requested." >&2;}
10006 { (exit 1); exit 1; }; } ;;
10007 esac
10011 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10012 then
10013 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10014 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10015 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 else
10018 ac_check_lib_save_LIBS=$LIBS
10019 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10020 cat >conftest.$ac_ext <<_ACEOF
10021 /* confdefs.h. */
10022 _ACEOF
10023 cat confdefs.h >>conftest.$ac_ext
10024 cat >>conftest.$ac_ext <<_ACEOF
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 char XShapeQueryExtension ();
10035 main ()
10037 return XShapeQueryExtension ();
10039 return 0;
10041 _ACEOF
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (ac_try="$ac_link"
10044 case "(($ac_try" in
10045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10047 esac
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_link") 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && {
10056 test -z "$ac_c_werror_flag" ||
10057 test ! -s conftest.err
10058 } && test -s conftest$ac_exeext &&
10059 $as_test_x conftest$ac_exeext; then
10060 ac_cv_lib_Xext_XShapeQueryExtension=yes
10061 else
10062 echo "$as_me: failed program was:" >&5
10063 sed 's/^/| /' conftest.$ac_ext >&5
10065 ac_cv_lib_Xext_XShapeQueryExtension=no
10068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_lib_save_LIBS
10072 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10073 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10074 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10076 cat >>confdefs.h <<\_ACEOF
10077 #define HAVE_LIBXSHAPE 1
10078 _ACEOF
10083 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10084 case "x$with_xshape" in
10085 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10086 xno) ;;
10087 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10088 This is an error since --with-xshape was requested." >&5
10089 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10090 This is an error since --with-xshape was requested." >&2;}
10091 { (exit 1); exit 1; }; } ;;
10092 esac
10096 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10097 then
10098 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10099 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10100 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 else
10103 ac_check_lib_save_LIBS=$LIBS
10104 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10105 cat >conftest.$ac_ext <<_ACEOF
10106 /* confdefs.h. */
10107 _ACEOF
10108 cat confdefs.h >>conftest.$ac_ext
10109 cat >>conftest.$ac_ext <<_ACEOF
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10115 #ifdef __cplusplus
10116 extern "C"
10117 #endif
10118 char XF86VidModeQueryExtension ();
10120 main ()
10122 return XF86VidModeQueryExtension ();
10124 return 0;
10126 _ACEOF
10127 rm -f conftest.$ac_objext conftest$ac_exeext
10128 if { (ac_try="$ac_link"
10129 case "(($ac_try" in
10130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10131 *) ac_try_echo=$ac_try;;
10132 esac
10133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10134 (eval "$ac_link") 2>conftest.er1
10135 ac_status=$?
10136 grep -v '^ *+' conftest.er1 >conftest.err
10137 rm -f conftest.er1
10138 cat conftest.err >&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } && {
10141 test -z "$ac_c_werror_flag" ||
10142 test ! -s conftest.err
10143 } && test -s conftest$ac_exeext &&
10144 $as_test_x conftest$ac_exeext; then
10145 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10146 else
10147 echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.$ac_ext >&5
10150 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10154 conftest$ac_exeext conftest.$ac_ext
10155 LIBS=$ac_check_lib_save_LIBS
10157 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10158 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10159 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10161 cat >>confdefs.h <<\_ACEOF
10162 #define HAVE_LIBXXF86VM 1
10163 _ACEOF
10165 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10170 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10171 case "x$with_xvidmode" in
10172 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10173 xno) ;;
10174 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10175 This is an error since --with-xvidmode was requested." >&5
10176 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10177 This is an error since --with-xvidmode was requested." >&2;}
10178 { (exit 1); exit 1; }; } ;;
10179 esac
10183 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
10184 then
10185 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10186 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10187 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 else
10190 ac_check_soname_save_LIBS=$LIBS
10191 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10192 cat >conftest.$ac_ext <<_ACEOF
10193 /* confdefs.h. */
10194 _ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10199 /* Override any GCC internal prototype to avoid an error.
10200 Use char because int might match the return type of a GCC
10201 builtin and then its argument prototype would still apply. */
10202 #ifdef __cplusplus
10203 extern "C"
10204 #endif
10205 char XRenderQueryExtension ();
10207 main ()
10209 return XRenderQueryExtension ();
10211 return 0;
10213 _ACEOF
10214 rm -f conftest.$ac_objext conftest$ac_exeext
10215 if { (ac_try="$ac_link"
10216 case "(($ac_try" in
10217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10218 *) ac_try_echo=$ac_try;;
10219 esac
10220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10221 (eval "$ac_link") 2>conftest.er1
10222 ac_status=$?
10223 grep -v '^ *+' conftest.er1 >conftest.err
10224 rm -f conftest.er1
10225 cat conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); } && {
10228 test -z "$ac_c_werror_flag" ||
10229 test ! -s conftest.err
10230 } && test -s conftest$ac_exeext &&
10231 $as_test_x conftest$ac_exeext; then
10232 case "$LIBEXT" in
10233 dll) ;;
10234 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10235 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10236 esac
10237 else
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_soname_save_LIBS
10248 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10249 { echo "$as_me:$LINENO: result: not found" >&5
10250 echo "${ECHO_T}not found" >&6; }
10252 else
10253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10254 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10256 cat >>confdefs.h <<_ACEOF
10257 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10258 _ACEOF
10260 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10261 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10262 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 else
10265 ac_check_lib_save_LIBS=$LIBS
10266 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10267 cat >conftest.$ac_ext <<_ACEOF
10268 /* confdefs.h. */
10269 _ACEOF
10270 cat confdefs.h >>conftest.$ac_ext
10271 cat >>conftest.$ac_ext <<_ACEOF
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10277 #ifdef __cplusplus
10278 extern "C"
10279 #endif
10280 char XRenderSetPictureTransform ();
10282 main ()
10284 return XRenderSetPictureTransform ();
10286 return 0;
10288 _ACEOF
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (ac_try="$ac_link"
10291 case "(($ac_try" in
10292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10293 *) ac_try_echo=$ac_try;;
10294 esac
10295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10296 (eval "$ac_link") 2>conftest.er1
10297 ac_status=$?
10298 grep -v '^ *+' conftest.er1 >conftest.err
10299 rm -f conftest.er1
10300 cat conftest.err >&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } && {
10303 test -z "$ac_c_werror_flag" ||
10304 test ! -s conftest.err
10305 } && test -s conftest$ac_exeext &&
10306 $as_test_x conftest$ac_exeext; then
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10308 else
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10312 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_lib_save_LIBS
10319 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10320 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10321 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10323 cat >>confdefs.h <<\_ACEOF
10324 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10325 _ACEOF
10333 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10334 case "x$with_xrender" in
10335 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10336 xno) ;;
10337 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10338 This is an error since --with-xrender was requested." >&5
10339 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10340 This is an error since --with-xrender was requested." >&2;}
10341 { (exit 1); exit 1; }; } ;;
10342 esac
10346 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10347 then
10348 cat >conftest.$ac_ext <<_ACEOF
10349 /* confdefs.h. */
10350 _ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10357 main ()
10359 static typeof(XRRSetScreenConfigAndRate) * func;
10361 return 0;
10363 _ACEOF
10364 rm -f conftest.$ac_objext
10365 if { (ac_try="$ac_compile"
10366 case "(($ac_try" in
10367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10368 *) ac_try_echo=$ac_try;;
10369 esac
10370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10371 (eval "$ac_compile") 2>conftest.er1
10372 ac_status=$?
10373 grep -v '^ *+' conftest.er1 >conftest.err
10374 rm -f conftest.er1
10375 cat conftest.err >&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } && {
10378 test -z "$ac_c_werror_flag" ||
10379 test ! -s conftest.err
10380 } && test -s conftest.$ac_objext; then
10381 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10382 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10383 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 else
10386 ac_check_soname_save_LIBS=$LIBS
10387 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10388 cat >conftest.$ac_ext <<_ACEOF
10389 /* confdefs.h. */
10390 _ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10398 #ifdef __cplusplus
10399 extern "C"
10400 #endif
10401 char XRRQueryExtension ();
10403 main ()
10405 return XRRQueryExtension ();
10407 return 0;
10409 _ACEOF
10410 rm -f conftest.$ac_objext conftest$ac_exeext
10411 if { (ac_try="$ac_link"
10412 case "(($ac_try" in
10413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10414 *) ac_try_echo=$ac_try;;
10415 esac
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_link") 2>conftest.er1
10418 ac_status=$?
10419 grep -v '^ *+' conftest.er1 >conftest.err
10420 rm -f conftest.er1
10421 cat conftest.err >&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } && {
10424 test -z "$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10426 } && test -s conftest$ac_exeext &&
10427 $as_test_x conftest$ac_exeext; then
10428 case "$LIBEXT" in
10429 dll) ;;
10430 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10431 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10432 esac
10433 else
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.$ac_ext >&5
10440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_soname_save_LIBS
10444 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10445 { echo "$as_me:$LINENO: result: not found" >&5
10446 echo "${ECHO_T}not found" >&6; }
10448 else
10449 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10450 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10452 cat >>confdefs.h <<_ACEOF
10453 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10454 _ACEOF
10459 else
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10468 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10469 case "x$with_xrandr" in
10470 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10471 xno) ;;
10472 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10473 This is an error since --with-xrandr was requested." >&5
10474 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10475 This is an error since --with-xrandr was requested." >&2;}
10476 { (exit 1); exit 1; }; } ;;
10477 esac
10481 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10482 then
10483 cat >conftest.$ac_ext <<_ACEOF
10484 /* confdefs.h. */
10485 _ACEOF
10486 cat confdefs.h >>conftest.$ac_ext
10487 cat >>conftest.$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10489 #include <X11/Xlib.h>
10490 #include <X11/extensions/Xinerama.h>
10492 main ()
10494 static typeof(XineramaQueryScreens) * func;
10496 return 0;
10498 _ACEOF
10499 rm -f conftest.$ac_objext
10500 if { (ac_try="$ac_compile"
10501 case "(($ac_try" in
10502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10503 *) ac_try_echo=$ac_try;;
10504 esac
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_compile") 2>conftest.er1
10507 ac_status=$?
10508 grep -v '^ *+' conftest.er1 >conftest.err
10509 rm -f conftest.er1
10510 cat conftest.err >&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); } && {
10513 test -z "$ac_c_werror_flag" ||
10514 test ! -s conftest.err
10515 } && test -s conftest.$ac_objext; then
10516 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10517 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10518 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 else
10521 ac_check_soname_save_LIBS=$LIBS
10522 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10523 cat >conftest.$ac_ext <<_ACEOF
10524 /* confdefs.h. */
10525 _ACEOF
10526 cat confdefs.h >>conftest.$ac_ext
10527 cat >>conftest.$ac_ext <<_ACEOF
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10533 #ifdef __cplusplus
10534 extern "C"
10535 #endif
10536 char XineramaQueryScreens ();
10538 main ()
10540 return XineramaQueryScreens ();
10542 return 0;
10544 _ACEOF
10545 rm -f conftest.$ac_objext conftest$ac_exeext
10546 if { (ac_try="$ac_link"
10547 case "(($ac_try" in
10548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10549 *) ac_try_echo=$ac_try;;
10550 esac
10551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10552 (eval "$ac_link") 2>conftest.er1
10553 ac_status=$?
10554 grep -v '^ *+' conftest.er1 >conftest.err
10555 rm -f conftest.er1
10556 cat conftest.err >&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } && {
10559 test -z "$ac_c_werror_flag" ||
10560 test ! -s conftest.err
10561 } && test -s conftest$ac_exeext &&
10562 $as_test_x conftest$ac_exeext; then
10563 case "$LIBEXT" in
10564 dll) ;;
10565 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10566 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10567 esac
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10576 conftest$ac_exeext conftest.$ac_ext
10577 LIBS=$ac_check_soname_save_LIBS
10579 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10580 { echo "$as_me:$LINENO: result: not found" >&5
10581 echo "${ECHO_T}not found" >&6; }
10583 else
10584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10585 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10587 cat >>confdefs.h <<_ACEOF
10588 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10589 _ACEOF
10594 else
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.$ac_ext >&5
10601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10603 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10604 case "x$with_xinerama" in
10605 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10606 xno) ;;
10607 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10608 This is an error since --with-xinerama was requested." >&5
10609 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10610 This is an error since --with-xinerama was requested." >&2;}
10611 { (exit 1); exit 1; }; } ;;
10612 esac
10616 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10617 then
10618 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10619 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10620 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 else
10623 ac_check_soname_save_LIBS=$LIBS
10624 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10625 cat >conftest.$ac_ext <<_ACEOF
10626 /* confdefs.h. */
10627 _ACEOF
10628 cat confdefs.h >>conftest.$ac_ext
10629 cat >>conftest.$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10635 #ifdef __cplusplus
10636 extern "C"
10637 #endif
10638 char XCompositeRedirectWindow ();
10640 main ()
10642 return XCompositeRedirectWindow ();
10644 return 0;
10646 _ACEOF
10647 rm -f conftest.$ac_objext conftest$ac_exeext
10648 if { (ac_try="$ac_link"
10649 case "(($ac_try" in
10650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10651 *) ac_try_echo=$ac_try;;
10652 esac
10653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10654 (eval "$ac_link") 2>conftest.er1
10655 ac_status=$?
10656 grep -v '^ *+' conftest.er1 >conftest.err
10657 rm -f conftest.er1
10658 cat conftest.err >&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } && {
10661 test -z "$ac_c_werror_flag" ||
10662 test ! -s conftest.err
10663 } && test -s conftest$ac_exeext &&
10664 $as_test_x conftest$ac_exeext; then
10665 case "$LIBEXT" in
10666 dll) ;;
10667 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10668 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10669 esac
10670 else
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_soname_save_LIBS
10681 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10682 { echo "$as_me:$LINENO: result: not found" >&5
10683 echo "${ECHO_T}not found" >&6; }
10685 else
10686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10687 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10689 cat >>confdefs.h <<_ACEOF
10690 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10691 _ACEOF
10697 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10698 case "x$with_xcomposite" in
10699 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10700 xno) ;;
10701 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10702 This is an error since --with-xcomposite was requested." >&5
10703 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10704 This is an error since --with-xcomposite was requested." >&2;}
10705 { (exit 1); exit 1; }; } ;;
10706 esac
10711 opengl_msg=""
10712 if test "x$with_opengl" != "xno"
10713 then
10718 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10724 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 else
10726 cat >conftest.$ac_ext <<_ACEOF
10727 /* confdefs.h. */
10728 _ACEOF
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10732 #ifdef HAVE_GL_GLX_H
10733 # include <GL/glx.h>
10734 #endif
10736 #include <$ac_header>
10737 _ACEOF
10738 rm -f conftest.$ac_objext
10739 if { (ac_try="$ac_compile"
10740 case "(($ac_try" in
10741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10742 *) ac_try_echo=$ac_try;;
10743 esac
10744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10745 (eval "$ac_compile") 2>conftest.er1
10746 ac_status=$?
10747 grep -v '^ *+' conftest.er1 >conftest.err
10748 rm -f conftest.er1
10749 cat conftest.err >&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } && {
10752 test -z "$ac_c_werror_flag" ||
10753 test ! -s conftest.err
10754 } && test -s conftest.$ac_objext; then
10755 eval "$as_ac_Header=yes"
10756 else
10757 echo "$as_me: failed program was:" >&5
10758 sed 's/^/| /' conftest.$ac_ext >&5
10760 eval "$as_ac_Header=no"
10763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10765 ac_res=`eval echo '${'$as_ac_Header'}'`
10766 { echo "$as_me:$LINENO: result: $ac_res" >&5
10767 echo "${ECHO_T}$ac_res" >&6; }
10768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10769 cat >>confdefs.h <<_ACEOF
10770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10771 _ACEOF
10775 done
10777 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10778 then
10779 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10780 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10781 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10783 else
10784 cat >conftest.$ac_ext <<_ACEOF
10785 /* confdefs.h. */
10786 _ACEOF
10787 cat confdefs.h >>conftest.$ac_ext
10788 cat >>conftest.$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10790 #include <GL/gl.h>
10792 main ()
10794 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10796 return 0;
10798 _ACEOF
10799 rm -f conftest.$ac_objext
10800 if { (ac_try="$ac_compile"
10801 case "(($ac_try" in
10802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10803 *) ac_try_echo=$ac_try;;
10804 esac
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_compile") 2>conftest.er1
10807 ac_status=$?
10808 grep -v '^ *+' conftest.er1 >conftest.err
10809 rm -f conftest.er1
10810 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } && {
10813 test -z "$ac_c_werror_flag" ||
10814 test ! -s conftest.err
10815 } && test -s conftest.$ac_objext; then
10816 wine_cv_opengl_header_version_OK="yes"
10817 else
10818 echo "$as_me: failed program was:" >&5
10819 sed 's/^/| /' conftest.$ac_ext >&5
10821 wine_cv_opengl_header_version_OK="no"
10824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10826 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10827 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10829 if test "$wine_cv_opengl_header_version_OK" = "yes"
10830 then
10831 { echo "$as_me:$LINENO: checking for -lGL" >&5
10832 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10833 if test "${ac_cv_lib_soname_GL+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10835 else
10836 ac_check_soname_save_LIBS=$LIBS
10837 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10838 cat >conftest.$ac_ext <<_ACEOF
10839 /* confdefs.h. */
10840 _ACEOF
10841 cat confdefs.h >>conftest.$ac_ext
10842 cat >>conftest.$ac_ext <<_ACEOF
10843 /* end confdefs.h. */
10845 /* Override any GCC internal prototype to avoid an error.
10846 Use char because int might match the return type of a GCC
10847 builtin and then its argument prototype would still apply. */
10848 #ifdef __cplusplus
10849 extern "C"
10850 #endif
10851 char glXCreateContext ();
10853 main ()
10855 return glXCreateContext ();
10857 return 0;
10859 _ACEOF
10860 rm -f conftest.$ac_objext conftest$ac_exeext
10861 if { (ac_try="$ac_link"
10862 case "(($ac_try" in
10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10865 esac
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_link") 2>conftest.er1
10868 ac_status=$?
10869 grep -v '^ *+' conftest.er1 >conftest.err
10870 rm -f conftest.er1
10871 cat conftest.err >&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && {
10874 test -z "$ac_c_werror_flag" ||
10875 test ! -s conftest.err
10876 } && test -s conftest$ac_exeext &&
10877 $as_test_x conftest$ac_exeext; then
10878 case "$LIBEXT" in
10879 dll) ;;
10880 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10881 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10882 esac
10883 else
10884 echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.$ac_ext >&5
10890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_soname_save_LIBS
10894 if test "x$ac_cv_lib_soname_GL" = "x"; then
10895 { echo "$as_me:$LINENO: result: not found" >&5
10896 echo "${ECHO_T}not found" >&6; }
10897 { echo "$as_me:$LINENO: checking for -lGL" >&5
10898 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10899 if test "${ac_cv_lib_soname_GL+set}" = set; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10901 else
10902 ac_check_soname_save_LIBS=$LIBS
10903 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10904 cat >conftest.$ac_ext <<_ACEOF
10905 /* confdefs.h. */
10906 _ACEOF
10907 cat confdefs.h >>conftest.$ac_ext
10908 cat >>conftest.$ac_ext <<_ACEOF
10909 /* end confdefs.h. */
10911 /* Override any GCC internal prototype to avoid an error.
10912 Use char because int might match the return type of a GCC
10913 builtin and then its argument prototype would still apply. */
10914 #ifdef __cplusplus
10915 extern "C"
10916 #endif
10917 char glXCreateContext ();
10919 main ()
10921 return glXCreateContext ();
10923 return 0;
10925 _ACEOF
10926 rm -f conftest.$ac_objext conftest$ac_exeext
10927 if { (ac_try="$ac_link"
10928 case "(($ac_try" in
10929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10930 *) ac_try_echo=$ac_try;;
10931 esac
10932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10933 (eval "$ac_link") 2>conftest.er1
10934 ac_status=$?
10935 grep -v '^ *+' conftest.er1 >conftest.err
10936 rm -f conftest.er1
10937 cat conftest.err >&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } && {
10940 test -z "$ac_c_werror_flag" ||
10941 test ! -s conftest.err
10942 } && test -s conftest$ac_exeext &&
10943 $as_test_x conftest$ac_exeext; then
10944 case "$LIBEXT" in
10945 dll) ;;
10946 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10947 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10948 esac
10949 else
10950 echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.$ac_ext >&5
10956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10957 conftest$ac_exeext conftest.$ac_ext
10958 LIBS=$ac_check_soname_save_LIBS
10960 if test "x$ac_cv_lib_soname_GL" = "x"; then
10961 { echo "$as_me:$LINENO: result: not found" >&5
10962 echo "${ECHO_T}not found" >&6; }
10963 if test -f /usr/X11R6/lib/libGL.a
10964 then
10965 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10966 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10967 else
10968 opengl_msg="No OpenGL library found on this system."
10970 else
10971 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10972 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10974 cat >>confdefs.h <<_ACEOF
10975 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10976 _ACEOF
10978 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10979 OPENGLFILES='$(OPENGLFILES)'
10981 cat >>confdefs.h <<\_ACEOF
10982 #define HAVE_OPENGL 1
10983 _ACEOF
10987 else
10988 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10989 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10991 cat >>confdefs.h <<_ACEOF
10992 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10993 _ACEOF
10995 OPENGL_LIBS="-lGL"
10996 OPENGLFILES='$(OPENGLFILES)'
10998 cat >>confdefs.h <<\_ACEOF
10999 #define HAVE_OPENGL 1
11000 _ACEOF
11005 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11006 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11007 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 else
11010 ac_check_lib_save_LIBS=$LIBS
11011 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11012 cat >conftest.$ac_ext <<_ACEOF
11013 /* confdefs.h. */
11014 _ACEOF
11015 cat confdefs.h >>conftest.$ac_ext
11016 cat >>conftest.$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char gluLookAt ();
11027 main ()
11029 return gluLookAt ();
11031 return 0;
11033 _ACEOF
11034 rm -f conftest.$ac_objext conftest$ac_exeext
11035 if { (ac_try="$ac_link"
11036 case "(($ac_try" in
11037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11038 *) ac_try_echo=$ac_try;;
11039 esac
11040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11041 (eval "$ac_link") 2>conftest.er1
11042 ac_status=$?
11043 grep -v '^ *+' conftest.er1 >conftest.err
11044 rm -f conftest.er1
11045 cat conftest.err >&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } && {
11048 test -z "$ac_c_werror_flag" ||
11049 test ! -s conftest.err
11050 } && test -s conftest$ac_exeext &&
11051 $as_test_x conftest$ac_exeext; then
11052 ac_cv_lib_GLU_gluLookAt=yes
11053 else
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.$ac_ext >&5
11057 ac_cv_lib_GLU_gluLookAt=no
11060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11061 conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_check_lib_save_LIBS
11064 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11065 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11066 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11067 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11068 GLU32FILES='$(GLU32FILES)'
11072 else
11073 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11075 else
11076 opengl_msg="OpenGL development headers not found."
11079 if test -n "$opengl_msg"; then
11080 case "x$with_opengl" in
11081 x) wine_warnings="$wine_warnings|$opengl_msg
11082 OpenGL and Direct3D won't be supported." ;;
11083 xno) ;;
11084 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11085 OpenGL and Direct3D won't be supported.
11086 This is an error since --with-opengl was requested." >&5
11087 echo "$as_me: error: $opengl_msg
11088 OpenGL and Direct3D won't be supported.
11089 This is an error since --with-opengl was requested." >&2;}
11090 { (exit 1); exit 1; }; } ;;
11091 esac
11095 NASLIBS=""
11098 for ac_header in audio/audiolib.h
11100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11102 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11105 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 ac_res=`eval echo '${'$as_ac_Header'}'`
11108 { echo "$as_me:$LINENO: result: $ac_res" >&5
11109 echo "${ECHO_T}$ac_res" >&6; }
11110 else
11111 # Is the header compilable?
11112 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11114 cat >conftest.$ac_ext <<_ACEOF
11115 /* confdefs.h. */
11116 _ACEOF
11117 cat confdefs.h >>conftest.$ac_ext
11118 cat >>conftest.$ac_ext <<_ACEOF
11119 /* end confdefs.h. */
11120 $ac_includes_default
11121 #include <$ac_header>
11122 _ACEOF
11123 rm -f conftest.$ac_objext
11124 if { (ac_try="$ac_compile"
11125 case "(($ac_try" in
11126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11127 *) ac_try_echo=$ac_try;;
11128 esac
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_compile") 2>conftest.er1
11131 ac_status=$?
11132 grep -v '^ *+' conftest.er1 >conftest.err
11133 rm -f conftest.er1
11134 cat conftest.err >&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } && {
11137 test -z "$ac_c_werror_flag" ||
11138 test ! -s conftest.err
11139 } && test -s conftest.$ac_objext; then
11140 ac_header_compiler=yes
11141 else
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11145 ac_header_compiler=no
11148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11149 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11150 echo "${ECHO_T}$ac_header_compiler" >&6; }
11152 # Is the header present?
11153 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11155 cat >conftest.$ac_ext <<_ACEOF
11156 /* confdefs.h. */
11157 _ACEOF
11158 cat confdefs.h >>conftest.$ac_ext
11159 cat >>conftest.$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11161 #include <$ac_header>
11162 _ACEOF
11163 if { (ac_try="$ac_cpp conftest.$ac_ext"
11164 case "(($ac_try" in
11165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11166 *) ac_try_echo=$ac_try;;
11167 esac
11168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11170 ac_status=$?
11171 grep -v '^ *+' conftest.er1 >conftest.err
11172 rm -f conftest.er1
11173 cat conftest.err >&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); } >/dev/null && {
11176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11177 test ! -s conftest.err
11178 }; then
11179 ac_header_preproc=yes
11180 else
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.$ac_ext >&5
11184 ac_header_preproc=no
11187 rm -f conftest.err conftest.$ac_ext
11188 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11189 echo "${ECHO_T}$ac_header_preproc" >&6; }
11191 # So? What about this header?
11192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11193 yes:no: )
11194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11198 ac_header_preproc=yes
11200 no:yes:* )
11201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11213 ( cat <<\_ASBOX
11214 ## ------------------------------------ ##
11215 ## Report this to wine-devel@winehq.org ##
11216 ## ------------------------------------ ##
11217 _ASBOX
11218 ) | sed "s/^/$as_me: WARNING: /" >&2
11220 esac
11221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 else
11226 eval "$as_ac_Header=\$ac_header_preproc"
11228 ac_res=`eval echo '${'$as_ac_Header'}'`
11229 { echo "$as_me:$LINENO: result: $ac_res" >&5
11230 echo "${ECHO_T}$ac_res" >&6; }
11233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11234 cat >>confdefs.h <<_ACEOF
11235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11236 _ACEOF
11238 for ac_header in audio/soundlib.h
11240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11244 echo $ECHO_N "(cached) $ECHO_C" >&6
11245 else
11246 cat >conftest.$ac_ext <<_ACEOF
11247 /* confdefs.h. */
11248 _ACEOF
11249 cat confdefs.h >>conftest.$ac_ext
11250 cat >>conftest.$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11252 #include <audio/audiolib.h>
11254 #include <$ac_header>
11255 _ACEOF
11256 rm -f conftest.$ac_objext
11257 if { (ac_try="$ac_compile"
11258 case "(($ac_try" in
11259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11260 *) ac_try_echo=$ac_try;;
11261 esac
11262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11263 (eval "$ac_compile") 2>conftest.er1
11264 ac_status=$?
11265 grep -v '^ *+' conftest.er1 >conftest.err
11266 rm -f conftest.er1
11267 cat conftest.err >&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && {
11270 test -z "$ac_c_werror_flag" ||
11271 test ! -s conftest.err
11272 } && test -s conftest.$ac_objext; then
11273 eval "$as_ac_Header=yes"
11274 else
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11278 eval "$as_ac_Header=no"
11281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11283 ac_res=`eval echo '${'$as_ac_Header'}'`
11284 { echo "$as_me:$LINENO: result: $ac_res" >&5
11285 echo "${ECHO_T}$ac_res" >&6; }
11286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11287 cat >>confdefs.h <<_ACEOF
11288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11289 _ACEOF
11293 done
11295 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11296 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11297 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11298 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 else
11300 ac_check_lib_save_LIBS=$LIBS
11301 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11302 cat >conftest.$ac_ext <<_ACEOF
11303 /* confdefs.h. */
11304 _ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char AuCreateFlow ();
11317 main ()
11319 return AuCreateFlow ();
11321 return 0;
11323 _ACEOF
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (ac_try="$ac_link"
11326 case "(($ac_try" in
11327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11328 *) ac_try_echo=$ac_try;;
11329 esac
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_link") 2>conftest.er1
11332 ac_status=$?
11333 grep -v '^ *+' conftest.er1 >conftest.err
11334 rm -f conftest.er1
11335 cat conftest.err >&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } && {
11338 test -z "$ac_c_werror_flag" ||
11339 test ! -s conftest.err
11340 } && test -s conftest$ac_exeext &&
11341 $as_test_x conftest$ac_exeext; then
11342 ac_cv_lib_audio_AuCreateFlow=yes
11343 else
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.$ac_ext >&5
11347 ac_cv_lib_audio_AuCreateFlow=no
11350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11355 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11356 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11358 cat >>confdefs.h <<\_ACEOF
11359 #define HAVE_NAS 1
11360 _ACEOF
11362 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11363 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11364 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11367 ac_check_lib_save_LIBS=$LIBS
11368 LIBS="-lXau $X_LIBS $LIBS"
11369 cat >conftest.$ac_ext <<_ACEOF
11370 /* confdefs.h. */
11371 _ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11379 #ifdef __cplusplus
11380 extern "C"
11381 #endif
11382 char XauGetBestAuthByAddr ();
11384 main ()
11386 return XauGetBestAuthByAddr ();
11388 return 0;
11390 _ACEOF
11391 rm -f conftest.$ac_objext conftest$ac_exeext
11392 if { (ac_try="$ac_link"
11393 case "(($ac_try" in
11394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11395 *) ac_try_echo=$ac_try;;
11396 esac
11397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11398 (eval "$ac_link") 2>conftest.er1
11399 ac_status=$?
11400 grep -v '^ *+' conftest.er1 >conftest.err
11401 rm -f conftest.er1
11402 cat conftest.err >&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } && {
11405 test -z "$ac_c_werror_flag" ||
11406 test ! -s conftest.err
11407 } && test -s conftest$ac_exeext &&
11408 $as_test_x conftest$ac_exeext; then
11409 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11410 else
11411 echo "$as_me: failed program was:" >&5
11412 sed 's/^/| /' conftest.$ac_ext >&5
11414 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11421 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11422 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11423 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11424 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11425 else
11426 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11434 done
11437 CPPFLAGS="$ac_save_CPPFLAGS"
11438 XFILES='$(XFILES)'
11439 else
11440 XLIB=""
11441 X_CFLAGS=""
11442 X_LIBS=""
11444 if test "x$XLIB" = "x"; then
11445 case "x$with_x" in
11446 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11447 without X support, which probably isn't what you want. You will need to install
11448 development packages of Xlib/Xfree86 at the very least." ;;
11449 xno) ;;
11450 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11451 without X support, which probably isn't what you want. You will need to install
11452 development packages of Xlib/Xfree86 at the very least.
11453 This is an error since --with-x was requested." >&5
11454 echo "$as_me: error: X development files not found. Wine will be built
11455 without X support, which probably isn't what you want. You will need to install
11456 development packages of Xlib/Xfree86 at the very least.
11457 This is an error since --with-x was requested." >&2;}
11458 { (exit 1); exit 1; }; } ;;
11459 esac
11464 XML2LIBS=""
11466 XML2INCL=""
11468 XSLTLIBS=""
11470 XSLTINCL=""
11472 if test "x$with_xml" != "xno"
11473 then
11474 ac_save_CPPFLAGS="$CPPFLAGS"
11475 if test "$PKG_CONFIG" != "false"
11476 then
11477 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11478 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11479 else
11480 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11481 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11483 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11485 for ac_header in libxml/parser.h
11487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 ac_res=`eval echo '${'$as_ac_Header'}'`
11495 { echo "$as_me:$LINENO: result: $ac_res" >&5
11496 echo "${ECHO_T}$ac_res" >&6; }
11497 else
11498 # Is the header compilable?
11499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11501 cat >conftest.$ac_ext <<_ACEOF
11502 /* confdefs.h. */
11503 _ACEOF
11504 cat confdefs.h >>conftest.$ac_ext
11505 cat >>conftest.$ac_ext <<_ACEOF
11506 /* end confdefs.h. */
11507 $ac_includes_default
11508 #include <$ac_header>
11509 _ACEOF
11510 rm -f conftest.$ac_objext
11511 if { (ac_try="$ac_compile"
11512 case "(($ac_try" in
11513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11514 *) ac_try_echo=$ac_try;;
11515 esac
11516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11517 (eval "$ac_compile") 2>conftest.er1
11518 ac_status=$?
11519 grep -v '^ *+' conftest.er1 >conftest.err
11520 rm -f conftest.er1
11521 cat conftest.err >&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } && {
11524 test -z "$ac_c_werror_flag" ||
11525 test ! -s conftest.err
11526 } && test -s conftest.$ac_objext; then
11527 ac_header_compiler=yes
11528 else
11529 echo "$as_me: failed program was:" >&5
11530 sed 's/^/| /' conftest.$ac_ext >&5
11532 ac_header_compiler=no
11535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11537 echo "${ECHO_T}$ac_header_compiler" >&6; }
11539 # Is the header present?
11540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11542 cat >conftest.$ac_ext <<_ACEOF
11543 /* confdefs.h. */
11544 _ACEOF
11545 cat confdefs.h >>conftest.$ac_ext
11546 cat >>conftest.$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11548 #include <$ac_header>
11549 _ACEOF
11550 if { (ac_try="$ac_cpp conftest.$ac_ext"
11551 case "(($ac_try" in
11552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11553 *) ac_try_echo=$ac_try;;
11554 esac
11555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11557 ac_status=$?
11558 grep -v '^ *+' conftest.er1 >conftest.err
11559 rm -f conftest.er1
11560 cat conftest.err >&5
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } >/dev/null && {
11563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11564 test ! -s conftest.err
11565 }; then
11566 ac_header_preproc=yes
11567 else
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.$ac_ext >&5
11571 ac_header_preproc=no
11574 rm -f conftest.err conftest.$ac_ext
11575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11576 echo "${ECHO_T}$ac_header_preproc" >&6; }
11578 # So? What about this header?
11579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11580 yes:no: )
11581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11585 ac_header_preproc=yes
11587 no:yes:* )
11588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11600 ( cat <<\_ASBOX
11601 ## ------------------------------------ ##
11602 ## Report this to wine-devel@winehq.org ##
11603 ## ------------------------------------ ##
11604 _ASBOX
11605 ) | sed "s/^/$as_me: WARNING: /" >&2
11607 esac
11608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 else
11613 eval "$as_ac_Header=\$ac_header_preproc"
11615 ac_res=`eval echo '${'$as_ac_Header'}'`
11616 { echo "$as_me:$LINENO: result: $ac_res" >&5
11617 echo "${ECHO_T}$ac_res" >&6; }
11620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11621 cat >>confdefs.h <<_ACEOF
11622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11623 _ACEOF
11624 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11625 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11626 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11628 else
11629 ac_check_lib_save_LIBS=$LIBS
11630 LIBS="-lxml2 $ac_xml_libs $LIBS"
11631 cat >conftest.$ac_ext <<_ACEOF
11632 /* confdefs.h. */
11633 _ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11641 #ifdef __cplusplus
11642 extern "C"
11643 #endif
11644 char xmlParseMemory ();
11646 main ()
11648 return xmlParseMemory ();
11650 return 0;
11652 _ACEOF
11653 rm -f conftest.$ac_objext conftest$ac_exeext
11654 if { (ac_try="$ac_link"
11655 case "(($ac_try" in
11656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11657 *) ac_try_echo=$ac_try;;
11658 esac
11659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11660 (eval "$ac_link") 2>conftest.er1
11661 ac_status=$?
11662 grep -v '^ *+' conftest.er1 >conftest.err
11663 rm -f conftest.er1
11664 cat conftest.err >&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); } && {
11667 test -z "$ac_c_werror_flag" ||
11668 test ! -s conftest.err
11669 } && test -s conftest$ac_exeext &&
11670 $as_test_x conftest$ac_exeext; then
11671 ac_cv_lib_xml2_xmlParseMemory=yes
11672 else
11673 echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.$ac_ext >&5
11676 ac_cv_lib_xml2_xmlParseMemory=no
11679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_lib_save_LIBS
11683 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11684 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11685 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11687 cat >>confdefs.h <<\_ACEOF
11688 #define HAVE_LIBXML2 1
11689 _ACEOF
11691 XML2LIBS="$ac_xml_libs"
11692 XML2INCL="$ac_xml_cflags"
11695 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11696 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11697 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11698 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 else
11700 ac_check_lib_save_LIBS=$LIBS
11701 LIBS="-lxml2 $ac_xml_libs $LIBS"
11702 cat >conftest.$ac_ext <<_ACEOF
11703 /* confdefs.h. */
11704 _ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11712 #ifdef __cplusplus
11713 extern "C"
11714 #endif
11715 char xmlReadMemory ();
11717 main ()
11719 return xmlReadMemory ();
11721 return 0;
11723 _ACEOF
11724 rm -f conftest.$ac_objext conftest$ac_exeext
11725 if { (ac_try="$ac_link"
11726 case "(($ac_try" in
11727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11728 *) ac_try_echo=$ac_try;;
11729 esac
11730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11731 (eval "$ac_link") 2>conftest.er1
11732 ac_status=$?
11733 grep -v '^ *+' conftest.er1 >conftest.err
11734 rm -f conftest.er1
11735 cat conftest.err >&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } && {
11738 test -z "$ac_c_werror_flag" ||
11739 test ! -s conftest.err
11740 } && test -s conftest$ac_exeext &&
11741 $as_test_x conftest$ac_exeext; then
11742 ac_cv_lib_xml2_xmlReadMemory=yes
11743 else
11744 echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.$ac_ext >&5
11747 ac_cv_lib_xml2_xmlReadMemory=no
11750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_lib_save_LIBS
11754 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11755 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11756 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11758 cat >>confdefs.h <<\_ACEOF
11759 #define HAVE_XMLREADMEMORY 1
11760 _ACEOF
11764 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11765 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11766 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11768 else
11769 ac_check_lib_save_LIBS=$LIBS
11770 LIBS="-lxml2 $ac_xml_libs $LIBS"
11771 cat >conftest.$ac_ext <<_ACEOF
11772 /* confdefs.h. */
11773 _ACEOF
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11778 /* Override any GCC internal prototype to avoid an error.
11779 Use char because int might match the return type of a GCC
11780 builtin and then its argument prototype would still apply. */
11781 #ifdef __cplusplus
11782 extern "C"
11783 #endif
11784 char xmlNewDocPI ();
11786 main ()
11788 return xmlNewDocPI ();
11790 return 0;
11792 _ACEOF
11793 rm -f conftest.$ac_objext conftest$ac_exeext
11794 if { (ac_try="$ac_link"
11795 case "(($ac_try" in
11796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11797 *) ac_try_echo=$ac_try;;
11798 esac
11799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11800 (eval "$ac_link") 2>conftest.er1
11801 ac_status=$?
11802 grep -v '^ *+' conftest.er1 >conftest.err
11803 rm -f conftest.er1
11804 cat conftest.err >&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); } && {
11807 test -z "$ac_c_werror_flag" ||
11808 test ! -s conftest.err
11809 } && test -s conftest$ac_exeext &&
11810 $as_test_x conftest$ac_exeext; then
11811 ac_cv_lib_xml2_xmlNewDocPI=yes
11812 else
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.$ac_ext >&5
11816 ac_cv_lib_xml2_xmlNewDocPI=no
11819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_lib_save_LIBS
11823 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11824 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11825 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11827 cat >>confdefs.h <<\_ACEOF
11828 #define HAVE_XMLNEWDOCPI 1
11829 _ACEOF
11836 done
11838 CPPFLAGS="$ac_save_CPPFLAGS"
11840 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11841 case "x$with_xml" in
11842 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11843 xno) ;;
11844 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11845 This is an error since --with-xml was requested." >&5
11846 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11847 This is an error since --with-xml was requested." >&2;}
11848 { (exit 1); exit 1; }; } ;;
11849 esac
11853 if test "x$with_xslt" != "xno"
11854 then
11855 if test "$PKG_CONFIG" != "false"
11856 then
11857 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11858 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11859 else
11860 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11861 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11863 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11866 for ac_header in libxslt/pattern.h libxslt/transform.h
11868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874 cat >conftest.$ac_ext <<_ACEOF
11875 /* confdefs.h. */
11876 _ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 #ifdef HAVE_LIBXSLT_PATTERN_H
11881 # include <libxslt/pattern.h>
11882 #endif
11884 #include <$ac_header>
11885 _ACEOF
11886 rm -f conftest.$ac_objext
11887 if { (ac_try="$ac_compile"
11888 case "(($ac_try" in
11889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11890 *) ac_try_echo=$ac_try;;
11891 esac
11892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11893 (eval "$ac_compile") 2>conftest.er1
11894 ac_status=$?
11895 grep -v '^ *+' conftest.er1 >conftest.err
11896 rm -f conftest.er1
11897 cat conftest.err >&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } && {
11900 test -z "$ac_c_werror_flag" ||
11901 test ! -s conftest.err
11902 } && test -s conftest.$ac_objext; then
11903 eval "$as_ac_Header=yes"
11904 else
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.$ac_ext >&5
11908 eval "$as_ac_Header=no"
11911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11913 ac_res=`eval echo '${'$as_ac_Header'}'`
11914 { echo "$as_me:$LINENO: result: $ac_res" >&5
11915 echo "${ECHO_T}$ac_res" >&6; }
11916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11917 cat >>confdefs.h <<_ACEOF
11918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11919 _ACEOF
11920 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11921 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11922 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 else
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lxslt $ac_xslt_libs $LIBS"
11927 cat >conftest.$ac_ext <<_ACEOF
11928 /* confdefs.h. */
11929 _ACEOF
11930 cat confdefs.h >>conftest.$ac_ext
11931 cat >>conftest.$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char xsltCompilePattern ();
11942 main ()
11944 return xsltCompilePattern ();
11946 return 0;
11948 _ACEOF
11949 rm -f conftest.$ac_objext conftest$ac_exeext
11950 if { (ac_try="$ac_link"
11951 case "(($ac_try" in
11952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11953 *) ac_try_echo=$ac_try;;
11954 esac
11955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11956 (eval "$ac_link") 2>conftest.er1
11957 ac_status=$?
11958 grep -v '^ *+' conftest.er1 >conftest.err
11959 rm -f conftest.er1
11960 cat conftest.err >&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } && {
11963 test -z "$ac_c_werror_flag" ||
11964 test ! -s conftest.err
11965 } && test -s conftest$ac_exeext &&
11966 $as_test_x conftest$ac_exeext; then
11967 ac_cv_lib_xslt_xsltCompilePattern=yes
11968 else
11969 echo "$as_me: failed program was:" >&5
11970 sed 's/^/| /' conftest.$ac_ext >&5
11972 ac_cv_lib_xslt_xsltCompilePattern=no
11975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11976 conftest$ac_exeext conftest.$ac_ext
11977 LIBS=$ac_check_lib_save_LIBS
11979 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11980 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11981 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11983 cat >>confdefs.h <<\_ACEOF
11984 #define HAVE_LIBXSLT 1
11985 _ACEOF
11987 XSLTLIBS="$ac_xslt_libs"
11988 XSLTINCL="$ac_xslt_cflags"
11994 done
11996 CPPFLAGS="$ac_save_CPPFLAGS"
11998 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11999 case "x$with_xslt" in
12000 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12001 xno) ;;
12002 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12003 This is an error since --with-xslt was requested." >&5
12004 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12005 This is an error since --with-xslt was requested." >&2;}
12006 { (exit 1); exit 1; }; } ;;
12007 esac
12011 HALINCL=""
12013 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12014 then
12015 ac_save_CPPFLAGS="$CPPFLAGS"
12016 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12017 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12018 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12021 for ac_header in dbus/dbus.h hal/libhal.h
12023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 ac_res=`eval echo '${'$as_ac_Header'}'`
12031 { echo "$as_me:$LINENO: result: $ac_res" >&5
12032 echo "${ECHO_T}$ac_res" >&6; }
12033 else
12034 # Is the header compilable?
12035 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12037 cat >conftest.$ac_ext <<_ACEOF
12038 /* confdefs.h. */
12039 _ACEOF
12040 cat confdefs.h >>conftest.$ac_ext
12041 cat >>conftest.$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12043 $ac_includes_default
12044 #include <$ac_header>
12045 _ACEOF
12046 rm -f conftest.$ac_objext
12047 if { (ac_try="$ac_compile"
12048 case "(($ac_try" in
12049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12050 *) ac_try_echo=$ac_try;;
12051 esac
12052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12053 (eval "$ac_compile") 2>conftest.er1
12054 ac_status=$?
12055 grep -v '^ *+' conftest.er1 >conftest.err
12056 rm -f conftest.er1
12057 cat conftest.err >&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } && {
12060 test -z "$ac_c_werror_flag" ||
12061 test ! -s conftest.err
12062 } && test -s conftest.$ac_objext; then
12063 ac_header_compiler=yes
12064 else
12065 echo "$as_me: failed program was:" >&5
12066 sed 's/^/| /' conftest.$ac_ext >&5
12068 ac_header_compiler=no
12071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12072 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12073 echo "${ECHO_T}$ac_header_compiler" >&6; }
12075 # Is the header present?
12076 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12078 cat >conftest.$ac_ext <<_ACEOF
12079 /* confdefs.h. */
12080 _ACEOF
12081 cat confdefs.h >>conftest.$ac_ext
12082 cat >>conftest.$ac_ext <<_ACEOF
12083 /* end confdefs.h. */
12084 #include <$ac_header>
12085 _ACEOF
12086 if { (ac_try="$ac_cpp conftest.$ac_ext"
12087 case "(($ac_try" in
12088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089 *) ac_try_echo=$ac_try;;
12090 esac
12091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12093 ac_status=$?
12094 grep -v '^ *+' conftest.er1 >conftest.err
12095 rm -f conftest.er1
12096 cat conftest.err >&5
12097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12098 (exit $ac_status); } >/dev/null && {
12099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12100 test ! -s conftest.err
12101 }; then
12102 ac_header_preproc=yes
12103 else
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.$ac_ext >&5
12107 ac_header_preproc=no
12110 rm -f conftest.err conftest.$ac_ext
12111 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12112 echo "${ECHO_T}$ac_header_preproc" >&6; }
12114 # So? What about this header?
12115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12116 yes:no: )
12117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12121 ac_header_preproc=yes
12123 no:yes:* )
12124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12136 ( cat <<\_ASBOX
12137 ## ------------------------------------ ##
12138 ## Report this to wine-devel@winehq.org ##
12139 ## ------------------------------------ ##
12140 _ASBOX
12141 ) | sed "s/^/$as_me: WARNING: /" >&2
12143 esac
12144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 else
12149 eval "$as_ac_Header=\$ac_header_preproc"
12151 ac_res=`eval echo '${'$as_ac_Header'}'`
12152 { echo "$as_me:$LINENO: result: $ac_res" >&5
12153 echo "${ECHO_T}$ac_res" >&6; }
12156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12157 cat >>confdefs.h <<_ACEOF
12158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12159 _ACEOF
12163 done
12165 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12166 then
12167 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12168 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12169 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 else
12172 ac_check_lib_save_LIBS=$LIBS
12173 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12174 cat >conftest.$ac_ext <<_ACEOF
12175 /* confdefs.h. */
12176 _ACEOF
12177 cat confdefs.h >>conftest.$ac_ext
12178 cat >>conftest.$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12184 #ifdef __cplusplus
12185 extern "C"
12186 #endif
12187 char dbus_connection_close ();
12189 main ()
12191 return dbus_connection_close ();
12193 return 0;
12195 _ACEOF
12196 rm -f conftest.$ac_objext conftest$ac_exeext
12197 if { (ac_try="$ac_link"
12198 case "(($ac_try" in
12199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12200 *) ac_try_echo=$ac_try;;
12201 esac
12202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12203 (eval "$ac_link") 2>conftest.er1
12204 ac_status=$?
12205 grep -v '^ *+' conftest.er1 >conftest.err
12206 rm -f conftest.er1
12207 cat conftest.err >&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); } && {
12210 test -z "$ac_c_werror_flag" ||
12211 test ! -s conftest.err
12212 } && test -s conftest$ac_exeext &&
12213 $as_test_x conftest$ac_exeext; then
12214 ac_cv_lib_dbus_1_dbus_connection_close=yes
12215 else
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12219 ac_cv_lib_dbus_1_dbus_connection_close=no
12222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12223 conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_lib_save_LIBS
12226 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12227 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12228 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12229 { echo "$as_me:$LINENO: checking for -lhal" >&5
12230 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12231 if test "${ac_cv_lib_soname_hal+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 else
12234 ac_check_soname_save_LIBS=$LIBS
12235 LIBS="-lhal $ac_hal_libs $LIBS"
12236 cat >conftest.$ac_ext <<_ACEOF
12237 /* confdefs.h. */
12238 _ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12243 /* Override any GCC internal prototype to avoid an error.
12244 Use char because int might match the return type of a GCC
12245 builtin and then its argument prototype would still apply. */
12246 #ifdef __cplusplus
12247 extern "C"
12248 #endif
12249 char libhal_ctx_new ();
12251 main ()
12253 return libhal_ctx_new ();
12255 return 0;
12257 _ACEOF
12258 rm -f conftest.$ac_objext conftest$ac_exeext
12259 if { (ac_try="$ac_link"
12260 case "(($ac_try" in
12261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12262 *) ac_try_echo=$ac_try;;
12263 esac
12264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12265 (eval "$ac_link") 2>conftest.er1
12266 ac_status=$?
12267 grep -v '^ *+' conftest.er1 >conftest.err
12268 rm -f conftest.er1
12269 cat conftest.err >&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } && {
12272 test -z "$ac_c_werror_flag" ||
12273 test ! -s conftest.err
12274 } && test -s conftest$ac_exeext &&
12275 $as_test_x conftest$ac_exeext; then
12276 case "$LIBEXT" in
12277 dll) ;;
12278 dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12279 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12280 esac
12281 else
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.$ac_ext >&5
12288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_soname_save_LIBS
12292 if test "x$ac_cv_lib_soname_hal" = "x"; then
12293 { echo "$as_me:$LINENO: result: not found" >&5
12294 echo "${ECHO_T}not found" >&6; }
12296 else
12297 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12298 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12300 cat >>confdefs.h <<_ACEOF
12301 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12302 _ACEOF
12304 HALINCL="$ac_hal_cflags"
12310 CPPFLAGS="$ac_save_CPPFLAGS"
12312 if test "x$ac_cv_lib_soname_hal" = "x"; then
12313 case "x$with_hal" in
12314 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12315 xno) ;;
12316 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12317 This is an error since --with-hal was requested." >&5
12318 echo "$as_me: error: libhal development files not found, no dynamic device support.
12319 This is an error since --with-hal was requested." >&2;}
12320 { (exit 1); exit 1; }; } ;;
12321 esac
12325 CURSESLIBS=""
12326 if test "$ac_cv_header_ncurses_h" = "yes"
12327 then
12328 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12329 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12330 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12331 echo $ECHO_N "(cached) $ECHO_C" >&6
12332 else
12333 ac_check_soname_save_LIBS=$LIBS
12334 LIBS="-lncurses $LIBS"
12335 cat >conftest.$ac_ext <<_ACEOF
12336 /* confdefs.h. */
12337 _ACEOF
12338 cat confdefs.h >>conftest.$ac_ext
12339 cat >>conftest.$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12345 #ifdef __cplusplus
12346 extern "C"
12347 #endif
12348 char waddch ();
12350 main ()
12352 return waddch ();
12354 return 0;
12356 _ACEOF
12357 rm -f conftest.$ac_objext conftest$ac_exeext
12358 if { (ac_try="$ac_link"
12359 case "(($ac_try" in
12360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12361 *) ac_try_echo=$ac_try;;
12362 esac
12363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12364 (eval "$ac_link") 2>conftest.er1
12365 ac_status=$?
12366 grep -v '^ *+' conftest.er1 >conftest.err
12367 rm -f conftest.er1
12368 cat conftest.err >&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } && {
12371 test -z "$ac_c_werror_flag" ||
12372 test ! -s conftest.err
12373 } && test -s conftest$ac_exeext &&
12374 $as_test_x conftest$ac_exeext; then
12375 case "$LIBEXT" in
12376 dll) ;;
12377 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12378 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12379 esac
12380 else
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.$ac_ext >&5
12387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12388 conftest$ac_exeext conftest.$ac_ext
12389 LIBS=$ac_check_soname_save_LIBS
12391 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12392 { echo "$as_me:$LINENO: result: not found" >&5
12393 echo "${ECHO_T}not found" >&6; }
12395 else
12396 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12397 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12399 cat >>confdefs.h <<_ACEOF
12400 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12401 _ACEOF
12403 CURSESLIBS="-lncurses"
12406 elif test "$ac_cv_header_curses_h" = "yes"
12407 then
12408 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12409 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12410 if test "${ac_cv_lib_soname_curses+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 else
12413 ac_check_soname_save_LIBS=$LIBS
12414 LIBS="-lcurses $LIBS"
12415 cat >conftest.$ac_ext <<_ACEOF
12416 /* confdefs.h. */
12417 _ACEOF
12418 cat confdefs.h >>conftest.$ac_ext
12419 cat >>conftest.$ac_ext <<_ACEOF
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char waddch ();
12430 main ()
12432 return waddch ();
12434 return 0;
12436 _ACEOF
12437 rm -f conftest.$ac_objext conftest$ac_exeext
12438 if { (ac_try="$ac_link"
12439 case "(($ac_try" in
12440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12441 *) ac_try_echo=$ac_try;;
12442 esac
12443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12444 (eval "$ac_link") 2>conftest.er1
12445 ac_status=$?
12446 grep -v '^ *+' conftest.er1 >conftest.err
12447 rm -f conftest.er1
12448 cat conftest.err >&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); } && {
12451 test -z "$ac_c_werror_flag" ||
12452 test ! -s conftest.err
12453 } && test -s conftest$ac_exeext &&
12454 $as_test_x conftest$ac_exeext; then
12455 case "$LIBEXT" in
12456 dll) ;;
12457 dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12458 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12459 esac
12460 else
12461 echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.$ac_ext >&5
12467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12468 conftest$ac_exeext conftest.$ac_ext
12469 LIBS=$ac_check_soname_save_LIBS
12471 if test "x$ac_cv_lib_soname_curses" = "x"; then
12472 { echo "$as_me:$LINENO: result: not found" >&5
12473 echo "${ECHO_T}not found" >&6; }
12475 else
12476 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12477 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12479 cat >>confdefs.h <<_ACEOF
12480 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12481 _ACEOF
12483 CURSESLIBS="-lcurses"
12487 ac_save_LIBS="$LIBS"
12488 LIBS="$LIBS $CURSESLIBS"
12490 for ac_func in mousemask
12492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 else
12498 cat >conftest.$ac_ext <<_ACEOF
12499 /* confdefs.h. */
12500 _ACEOF
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12506 #define $ac_func innocuous_$ac_func
12508 /* System header to define __stub macros and hopefully few prototypes,
12509 which can conflict with char $ac_func (); below.
12510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12511 <limits.h> exists even on freestanding compilers. */
12513 #ifdef __STDC__
12514 # include <limits.h>
12515 #else
12516 # include <assert.h>
12517 #endif
12519 #undef $ac_func
12521 /* Override any GCC internal prototype to avoid an error.
12522 Use char because int might match the return type of a GCC
12523 builtin and then its argument prototype would still apply. */
12524 #ifdef __cplusplus
12525 extern "C"
12526 #endif
12527 char $ac_func ();
12528 /* The GNU C library defines this for functions which it implements
12529 to always fail with ENOSYS. Some functions are actually named
12530 something starting with __ and the normal name is an alias. */
12531 #if defined __stub_$ac_func || defined __stub___$ac_func
12532 choke me
12533 #endif
12536 main ()
12538 return $ac_func ();
12540 return 0;
12542 _ACEOF
12543 rm -f conftest.$ac_objext conftest$ac_exeext
12544 if { (ac_try="$ac_link"
12545 case "(($ac_try" in
12546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12547 *) ac_try_echo=$ac_try;;
12548 esac
12549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12550 (eval "$ac_link") 2>conftest.er1
12551 ac_status=$?
12552 grep -v '^ *+' conftest.er1 >conftest.err
12553 rm -f conftest.er1
12554 cat conftest.err >&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); } && {
12557 test -z "$ac_c_werror_flag" ||
12558 test ! -s conftest.err
12559 } && test -s conftest$ac_exeext &&
12560 $as_test_x conftest$ac_exeext; then
12561 eval "$as_ac_var=yes"
12562 else
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.$ac_ext >&5
12566 eval "$as_ac_var=no"
12569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12570 conftest$ac_exeext conftest.$ac_ext
12572 ac_res=`eval echo '${'$as_ac_var'}'`
12573 { echo "$as_me:$LINENO: result: $ac_res" >&5
12574 echo "${ECHO_T}$ac_res" >&6; }
12575 if test `eval echo '${'$as_ac_var'}'` = yes; then
12576 cat >>confdefs.h <<_ACEOF
12577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12578 _ACEOF
12581 done
12583 LIBS="$ac_save_LIBS"
12584 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12585 case "x$with_curses" in
12586 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12587 xno) ;;
12588 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12589 This is an error since --with-curses was requested." >&5
12590 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12591 This is an error since --with-curses was requested." >&2;}
12592 { (exit 1); exit 1; }; } ;;
12593 esac
12597 # Extract the first word of "sane-config", so it can be a program name with args.
12598 set dummy sane-config; ac_word=$2
12599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12601 if test "${ac_cv_prog_sane_devel+set}" = set; then
12602 echo $ECHO_N "(cached) $ECHO_C" >&6
12603 else
12604 if test -n "$sane_devel"; then
12605 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12606 else
12607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12608 for as_dir in $PATH
12610 IFS=$as_save_IFS
12611 test -z "$as_dir" && as_dir=.
12612 for ac_exec_ext in '' $ac_executable_extensions; do
12613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12614 ac_cv_prog_sane_devel="sane-config"
12615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12616 break 2
12618 done
12619 done
12620 IFS=$as_save_IFS
12622 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12625 sane_devel=$ac_cv_prog_sane_devel
12626 if test -n "$sane_devel"; then
12627 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12628 echo "${ECHO_T}$sane_devel" >&6; }
12629 else
12630 { echo "$as_me:$LINENO: result: no" >&5
12631 echo "${ECHO_T}no" >&6; }
12635 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12636 then
12637 ac_sane_incl="`$sane_devel --cflags`"
12638 ac_save_CPPFLAGS="$CPPFLAGS"
12639 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12640 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12641 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12642 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12643 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12646 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12647 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12648 else
12649 # Is the header compilable?
12650 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12651 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12652 cat >conftest.$ac_ext <<_ACEOF
12653 /* confdefs.h. */
12654 _ACEOF
12655 cat confdefs.h >>conftest.$ac_ext
12656 cat >>conftest.$ac_ext <<_ACEOF
12657 /* end confdefs.h. */
12658 $ac_includes_default
12659 #include <sane/sane.h>
12660 _ACEOF
12661 rm -f conftest.$ac_objext
12662 if { (ac_try="$ac_compile"
12663 case "(($ac_try" in
12664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665 *) ac_try_echo=$ac_try;;
12666 esac
12667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668 (eval "$ac_compile") 2>conftest.er1
12669 ac_status=$?
12670 grep -v '^ *+' conftest.er1 >conftest.err
12671 rm -f conftest.er1
12672 cat conftest.err >&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } && {
12675 test -z "$ac_c_werror_flag" ||
12676 test ! -s conftest.err
12677 } && test -s conftest.$ac_objext; then
12678 ac_header_compiler=yes
12679 else
12680 echo "$as_me: failed program was:" >&5
12681 sed 's/^/| /' conftest.$ac_ext >&5
12683 ac_header_compiler=no
12686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12687 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12688 echo "${ECHO_T}$ac_header_compiler" >&6; }
12690 # Is the header present?
12691 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12692 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12693 cat >conftest.$ac_ext <<_ACEOF
12694 /* confdefs.h. */
12695 _ACEOF
12696 cat confdefs.h >>conftest.$ac_ext
12697 cat >>conftest.$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12699 #include <sane/sane.h>
12700 _ACEOF
12701 if { (ac_try="$ac_cpp conftest.$ac_ext"
12702 case "(($ac_try" in
12703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12704 *) ac_try_echo=$ac_try;;
12705 esac
12706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12708 ac_status=$?
12709 grep -v '^ *+' conftest.er1 >conftest.err
12710 rm -f conftest.er1
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } >/dev/null && {
12714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12715 test ! -s conftest.err
12716 }; then
12717 ac_header_preproc=yes
12718 else
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.$ac_ext >&5
12722 ac_header_preproc=no
12725 rm -f conftest.err conftest.$ac_ext
12726 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12727 echo "${ECHO_T}$ac_header_preproc" >&6; }
12729 # So? What about this header?
12730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12731 yes:no: )
12732 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12733 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12735 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12736 ac_header_preproc=yes
12738 no:yes:* )
12739 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12740 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12741 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12742 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12743 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12744 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12745 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12746 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12747 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12748 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12749 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12750 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12751 ( cat <<\_ASBOX
12752 ## ------------------------------------ ##
12753 ## Report this to wine-devel@winehq.org ##
12754 ## ------------------------------------ ##
12755 _ASBOX
12756 ) | sed "s/^/$as_me: WARNING: /" >&2
12758 esac
12759 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12760 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12761 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 else
12764 ac_cv_header_sane_sane_h=$ac_header_preproc
12766 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12767 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12770 if test $ac_cv_header_sane_sane_h = yes; then
12771 { echo "$as_me:$LINENO: checking for -lsane" >&5
12772 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12773 if test "${ac_cv_lib_soname_sane+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 else
12776 ac_check_soname_save_LIBS=$LIBS
12777 LIBS="-lsane $LIBS"
12778 cat >conftest.$ac_ext <<_ACEOF
12779 /* confdefs.h. */
12780 _ACEOF
12781 cat confdefs.h >>conftest.$ac_ext
12782 cat >>conftest.$ac_ext <<_ACEOF
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12788 #ifdef __cplusplus
12789 extern "C"
12790 #endif
12791 char sane_init ();
12793 main ()
12795 return sane_init ();
12797 return 0;
12799 _ACEOF
12800 rm -f conftest.$ac_objext conftest$ac_exeext
12801 if { (ac_try="$ac_link"
12802 case "(($ac_try" in
12803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12804 *) ac_try_echo=$ac_try;;
12805 esac
12806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12807 (eval "$ac_link") 2>conftest.er1
12808 ac_status=$?
12809 grep -v '^ *+' conftest.er1 >conftest.err
12810 rm -f conftest.er1
12811 cat conftest.err >&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } && {
12814 test -z "$ac_c_werror_flag" ||
12815 test ! -s conftest.err
12816 } && test -s conftest$ac_exeext &&
12817 $as_test_x conftest$ac_exeext; then
12818 case "$LIBEXT" in
12819 dll) ;;
12820 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12821 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12822 esac
12823 else
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12831 conftest$ac_exeext conftest.$ac_ext
12832 LIBS=$ac_check_soname_save_LIBS
12834 if test "x$ac_cv_lib_soname_sane" = "x"; then
12835 { echo "$as_me:$LINENO: result: not found" >&5
12836 echo "${ECHO_T}not found" >&6; }
12838 else
12839 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12840 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12842 cat >>confdefs.h <<_ACEOF
12843 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12844 _ACEOF
12846 SANEINCL="$ac_sane_incl"
12853 CPPFLAGS="$ac_save_CPPFLAGS"
12855 if test "x$ac_cv_lib_soname_sane" = "x"; then
12856 case "x$with_sane" in
12857 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12858 xno) ;;
12859 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12860 This is an error since --with-sane was requested." >&5
12861 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12862 This is an error since --with-sane was requested." >&2;}
12863 { (exit 1); exit 1; }; } ;;
12864 esac
12868 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12869 set dummy gphoto2-config; ac_word=$2
12870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12872 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 else
12875 if test -n "$gphoto2_devel"; then
12876 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12877 else
12878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12879 for as_dir in $PATH
12881 IFS=$as_save_IFS
12882 test -z "$as_dir" && as_dir=.
12883 for ac_exec_ext in '' $ac_executable_extensions; do
12884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12885 ac_cv_prog_gphoto2_devel="gphoto2-config"
12886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12887 break 2
12889 done
12890 done
12891 IFS=$as_save_IFS
12893 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12896 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12897 if test -n "$gphoto2_devel"; then
12898 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12899 echo "${ECHO_T}$gphoto2_devel" >&6; }
12900 else
12901 { echo "$as_me:$LINENO: result: no" >&5
12902 echo "${ECHO_T}no" >&6; }
12906 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12907 set dummy gphoto2-port-config; ac_word=$2
12908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12910 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 else
12913 if test -n "$gphoto2port_devel"; then
12914 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12915 else
12916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12917 for as_dir in $PATH
12919 IFS=$as_save_IFS
12920 test -z "$as_dir" && as_dir=.
12921 for ac_exec_ext in '' $ac_executable_extensions; do
12922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12923 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12925 break 2
12927 done
12928 done
12929 IFS=$as_save_IFS
12931 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12934 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12935 if test -n "$gphoto2port_devel"; then
12936 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12937 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12938 else
12939 { echo "$as_me:$LINENO: result: no" >&5
12940 echo "${ECHO_T}no" >&6; }
12944 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12945 then
12946 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12947 ac_gphoto2_libs=""
12948 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12950 case "$i" in
12951 -L/usr/lib|-L/usr/lib64) ;;
12952 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12953 esac
12954 done
12955 ac_save_CPPFLAGS="$CPPFLAGS"
12956 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12957 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12958 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12959 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12960 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12964 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12965 else
12966 # Is the header compilable?
12967 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12968 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12969 cat >conftest.$ac_ext <<_ACEOF
12970 /* confdefs.h. */
12971 _ACEOF
12972 cat confdefs.h >>conftest.$ac_ext
12973 cat >>conftest.$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12975 $ac_includes_default
12976 #include <gphoto2-camera.h>
12977 _ACEOF
12978 rm -f conftest.$ac_objext
12979 if { (ac_try="$ac_compile"
12980 case "(($ac_try" in
12981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12982 *) ac_try_echo=$ac_try;;
12983 esac
12984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12985 (eval "$ac_compile") 2>conftest.er1
12986 ac_status=$?
12987 grep -v '^ *+' conftest.er1 >conftest.err
12988 rm -f conftest.er1
12989 cat conftest.err >&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); } && {
12992 test -z "$ac_c_werror_flag" ||
12993 test ! -s conftest.err
12994 } && test -s conftest.$ac_objext; then
12995 ac_header_compiler=yes
12996 else
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.$ac_ext >&5
13000 ac_header_compiler=no
13003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13005 echo "${ECHO_T}$ac_header_compiler" >&6; }
13007 # Is the header present?
13008 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13009 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13010 cat >conftest.$ac_ext <<_ACEOF
13011 /* confdefs.h. */
13012 _ACEOF
13013 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 #include <gphoto2-camera.h>
13017 _ACEOF
13018 if { (ac_try="$ac_cpp conftest.$ac_ext"
13019 case "(($ac_try" in
13020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13021 *) ac_try_echo=$ac_try;;
13022 esac
13023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13025 ac_status=$?
13026 grep -v '^ *+' conftest.er1 >conftest.err
13027 rm -f conftest.er1
13028 cat conftest.err >&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev/null && {
13031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13032 test ! -s conftest.err
13033 }; then
13034 ac_header_preproc=yes
13035 else
13036 echo "$as_me: failed program was:" >&5
13037 sed 's/^/| /' conftest.$ac_ext >&5
13039 ac_header_preproc=no
13042 rm -f conftest.err conftest.$ac_ext
13043 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13044 echo "${ECHO_T}$ac_header_preproc" >&6; }
13046 # So? What about this header?
13047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13048 yes:no: )
13049 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13050 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13051 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13052 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13053 ac_header_preproc=yes
13055 no:yes:* )
13056 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13057 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13058 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13059 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13061 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13062 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13063 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13064 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13065 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13066 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13067 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13068 ( cat <<\_ASBOX
13069 ## ------------------------------------ ##
13070 ## Report this to wine-devel@winehq.org ##
13071 ## ------------------------------------ ##
13072 _ASBOX
13073 ) | sed "s/^/$as_me: WARNING: /" >&2
13075 esac
13076 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13077 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13078 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13079 echo $ECHO_N "(cached) $ECHO_C" >&6
13080 else
13081 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13083 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13084 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13087 if test $ac_cv_header_gphoto2_camera_h = yes; then
13088 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13089 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13090 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 else
13093 ac_check_lib_save_LIBS=$LIBS
13094 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13095 cat >conftest.$ac_ext <<_ACEOF
13096 /* confdefs.h. */
13097 _ACEOF
13098 cat confdefs.h >>conftest.$ac_ext
13099 cat >>conftest.$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13102 /* Override any GCC internal prototype to avoid an error.
13103 Use char because int might match the return type of a GCC
13104 builtin and then its argument prototype would still apply. */
13105 #ifdef __cplusplus
13106 extern "C"
13107 #endif
13108 char gp_camera_new ();
13110 main ()
13112 return gp_camera_new ();
13114 return 0;
13116 _ACEOF
13117 rm -f conftest.$ac_objext conftest$ac_exeext
13118 if { (ac_try="$ac_link"
13119 case "(($ac_try" in
13120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13122 esac
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_link") 2>conftest.er1
13125 ac_status=$?
13126 grep -v '^ *+' conftest.er1 >conftest.err
13127 rm -f conftest.er1
13128 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } && {
13131 test -z "$ac_c_werror_flag" ||
13132 test ! -s conftest.err
13133 } && test -s conftest$ac_exeext &&
13134 $as_test_x conftest$ac_exeext; then
13135 ac_cv_lib_gphoto2_gp_camera_new=yes
13136 else
13137 echo "$as_me: failed program was:" >&5
13138 sed 's/^/| /' conftest.$ac_ext >&5
13140 ac_cv_lib_gphoto2_gp_camera_new=no
13143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13144 conftest$ac_exeext conftest.$ac_ext
13145 LIBS=$ac_check_lib_save_LIBS
13147 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13148 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13149 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13151 cat >>confdefs.h <<\_ACEOF
13152 #define HAVE_GPHOTO2 1
13153 _ACEOF
13155 GPHOTO2LIBS="$ac_gphoto2_libs"
13157 GPHOTO2INCL="$ac_gphoto2_incl"
13164 CPPFLAGS="$ac_save_CPPFLAGS"
13166 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13167 case "x$with_gphoto" in
13168 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13169 xno) ;;
13170 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13171 This is an error since --with-gphoto was requested." >&5
13172 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13173 This is an error since --with-gphoto was requested." >&2;}
13174 { (exit 1); exit 1; }; } ;;
13175 esac
13180 RESOLVLIBS=""
13182 if test "$ac_cv_header_resolv_h" = "yes"
13183 then
13184 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13185 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13186 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13187 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 else
13189 ac_check_lib_save_LIBS=$LIBS
13190 LIBS="-lresolv $LIBS"
13191 cat >conftest.$ac_ext <<_ACEOF
13192 /* confdefs.h. */
13193 _ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13198 /* Override any GCC internal prototype to avoid an error.
13199 Use char because int might match the return type of a GCC
13200 builtin and then its argument prototype would still apply. */
13201 #ifdef __cplusplus
13202 extern "C"
13203 #endif
13204 char res_query ();
13206 main ()
13208 return res_query ();
13210 return 0;
13212 _ACEOF
13213 rm -f conftest.$ac_objext conftest$ac_exeext
13214 if { (ac_try="$ac_link"
13215 case "(($ac_try" in
13216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13217 *) ac_try_echo=$ac_try;;
13218 esac
13219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13220 (eval "$ac_link") 2>conftest.er1
13221 ac_status=$?
13222 grep -v '^ *+' conftest.er1 >conftest.err
13223 rm -f conftest.er1
13224 cat conftest.err >&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); } && {
13227 test -z "$ac_c_werror_flag" ||
13228 test ! -s conftest.err
13229 } && test -s conftest$ac_exeext &&
13230 $as_test_x conftest$ac_exeext; then
13231 ac_cv_lib_resolv_res_query=yes
13232 else
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.$ac_ext >&5
13236 ac_cv_lib_resolv_res_query=no
13239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13240 conftest$ac_exeext conftest.$ac_ext
13241 LIBS=$ac_check_lib_save_LIBS
13243 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13244 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13245 if test $ac_cv_lib_resolv_res_query = yes; then
13247 cat >>confdefs.h <<\_ACEOF
13248 #define HAVE_RESOLV 1
13249 _ACEOF
13251 RESOLVLIBS="-lresolv"
13256 LCMSLIBS=""
13258 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13259 then
13260 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13261 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13262 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 else
13265 ac_check_lib_save_LIBS=$LIBS
13266 LIBS="-llcms $LIBS"
13267 cat >conftest.$ac_ext <<_ACEOF
13268 /* confdefs.h. */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13277 #ifdef __cplusplus
13278 extern "C"
13279 #endif
13280 char cmsOpenProfileFromFile ();
13282 main ()
13284 return cmsOpenProfileFromFile ();
13286 return 0;
13288 _ACEOF
13289 rm -f conftest.$ac_objext conftest$ac_exeext
13290 if { (ac_try="$ac_link"
13291 case "(($ac_try" in
13292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13293 *) ac_try_echo=$ac_try;;
13294 esac
13295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13296 (eval "$ac_link") 2>conftest.er1
13297 ac_status=$?
13298 grep -v '^ *+' conftest.er1 >conftest.err
13299 rm -f conftest.er1
13300 cat conftest.err >&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } && {
13303 test -z "$ac_c_werror_flag" ||
13304 test ! -s conftest.err
13305 } && test -s conftest$ac_exeext &&
13306 $as_test_x conftest$ac_exeext; then
13307 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13308 else
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.$ac_ext >&5
13312 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13316 conftest$ac_exeext conftest.$ac_ext
13317 LIBS=$ac_check_lib_save_LIBS
13319 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13320 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13321 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13323 cat >>confdefs.h <<\_ACEOF
13324 #define HAVE_LCMS 1
13325 _ACEOF
13327 LCMSLIBS="-llcms"
13331 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13332 case "x$with_cms" in
13333 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13334 xno) ;;
13335 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13336 This is an error since --with-cms was requested." >&5
13337 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13338 This is an error since --with-cms was requested." >&2;}
13339 { (exit 1); exit 1; }; } ;;
13340 esac
13344 LDAPLIBS=""
13346 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13347 then
13348 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13349 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13350 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 else
13353 ac_check_lib_save_LIBS=$LIBS
13354 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13362 /* Override any GCC internal prototype to avoid an error.
13363 Use char because int might match the return type of a GCC
13364 builtin and then its argument prototype would still apply. */
13365 #ifdef __cplusplus
13366 extern "C"
13367 #endif
13368 char ldap_initialize ();
13370 main ()
13372 return ldap_initialize ();
13374 return 0;
13376 _ACEOF
13377 rm -f conftest.$ac_objext conftest$ac_exeext
13378 if { (ac_try="$ac_link"
13379 case "(($ac_try" in
13380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13381 *) ac_try_echo=$ac_try;;
13382 esac
13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13384 (eval "$ac_link") 2>conftest.er1
13385 ac_status=$?
13386 grep -v '^ *+' conftest.er1 >conftest.err
13387 rm -f conftest.er1
13388 cat conftest.err >&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } && {
13391 test -z "$ac_c_werror_flag" ||
13392 test ! -s conftest.err
13393 } && test -s conftest$ac_exeext &&
13394 $as_test_x conftest$ac_exeext; then
13395 ac_cv_lib_ldap_r_ldap_initialize=yes
13396 else
13397 echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.$ac_ext >&5
13400 ac_cv_lib_ldap_r_ldap_initialize=no
13403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13404 conftest$ac_exeext conftest.$ac_ext
13405 LIBS=$ac_check_lib_save_LIBS
13407 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13408 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13409 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13410 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13411 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13412 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13413 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 else
13415 ac_check_lib_save_LIBS=$LIBS
13416 LIBS="-llber $LIBPTHREAD $LIBS"
13417 cat >conftest.$ac_ext <<_ACEOF
13418 /* confdefs.h. */
13419 _ACEOF
13420 cat confdefs.h >>conftest.$ac_ext
13421 cat >>conftest.$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13424 /* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13427 #ifdef __cplusplus
13428 extern "C"
13429 #endif
13430 char ber_init ();
13432 main ()
13434 return ber_init ();
13436 return 0;
13438 _ACEOF
13439 rm -f conftest.$ac_objext conftest$ac_exeext
13440 if { (ac_try="$ac_link"
13441 case "(($ac_try" in
13442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13443 *) ac_try_echo=$ac_try;;
13444 esac
13445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13446 (eval "$ac_link") 2>conftest.er1
13447 ac_status=$?
13448 grep -v '^ *+' conftest.er1 >conftest.err
13449 rm -f conftest.er1
13450 cat conftest.err >&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } && {
13453 test -z "$ac_c_werror_flag" ||
13454 test ! -s conftest.err
13455 } && test -s conftest$ac_exeext &&
13456 $as_test_x conftest$ac_exeext; then
13457 ac_cv_lib_lber_ber_init=yes
13458 else
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13462 ac_cv_lib_lber_ber_init=no
13465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_lib_save_LIBS
13469 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13470 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13471 if test $ac_cv_lib_lber_ber_init = yes; then
13473 cat >>confdefs.h <<\_ACEOF
13474 #define HAVE_LDAP 1
13475 _ACEOF
13477 LDAPLIBS="-lldap_r -llber"
13482 ac_wine_check_funcs_save_LIBS="$LIBS"
13483 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13492 for ac_func in \
13493 ldap_count_references \
13494 ldap_first_reference \
13495 ldap_next_reference \
13496 ldap_parse_reference \
13497 ldap_parse_sort_control \
13498 ldap_parse_sortresponse_control \
13499 ldap_parse_vlv_control \
13500 ldap_parse_vlvresponse_control
13502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13506 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 else
13508 cat >conftest.$ac_ext <<_ACEOF
13509 /* confdefs.h. */
13510 _ACEOF
13511 cat confdefs.h >>conftest.$ac_ext
13512 cat >>conftest.$ac_ext <<_ACEOF
13513 /* end confdefs.h. */
13514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13516 #define $ac_func innocuous_$ac_func
13518 /* System header to define __stub macros and hopefully few prototypes,
13519 which can conflict with char $ac_func (); below.
13520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13521 <limits.h> exists even on freestanding compilers. */
13523 #ifdef __STDC__
13524 # include <limits.h>
13525 #else
13526 # include <assert.h>
13527 #endif
13529 #undef $ac_func
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13534 #ifdef __cplusplus
13535 extern "C"
13536 #endif
13537 char $ac_func ();
13538 /* The GNU C library defines this for functions which it implements
13539 to always fail with ENOSYS. Some functions are actually named
13540 something starting with __ and the normal name is an alias. */
13541 #if defined __stub_$ac_func || defined __stub___$ac_func
13542 choke me
13543 #endif
13546 main ()
13548 return $ac_func ();
13550 return 0;
13552 _ACEOF
13553 rm -f conftest.$ac_objext conftest$ac_exeext
13554 if { (ac_try="$ac_link"
13555 case "(($ac_try" in
13556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13557 *) ac_try_echo=$ac_try;;
13558 esac
13559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13560 (eval "$ac_link") 2>conftest.er1
13561 ac_status=$?
13562 grep -v '^ *+' conftest.er1 >conftest.err
13563 rm -f conftest.er1
13564 cat conftest.err >&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } && {
13567 test -z "$ac_c_werror_flag" ||
13568 test ! -s conftest.err
13569 } && test -s conftest$ac_exeext &&
13570 $as_test_x conftest$ac_exeext; then
13571 eval "$as_ac_var=yes"
13572 else
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.$ac_ext >&5
13576 eval "$as_ac_var=no"
13579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13580 conftest$ac_exeext conftest.$ac_ext
13582 ac_res=`eval echo '${'$as_ac_var'}'`
13583 { echo "$as_me:$LINENO: result: $ac_res" >&5
13584 echo "${ECHO_T}$ac_res" >&6; }
13585 if test `eval echo '${'$as_ac_var'}'` = yes; then
13586 cat >>confdefs.h <<_ACEOF
13587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13588 _ACEOF
13591 done
13593 LIBS="$ac_wine_check_funcs_save_LIBS"
13595 if test "x$LDAPLIBS" = "x"; then
13596 case "x$with_ldap" in
13597 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13598 xno) ;;
13599 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13600 This is an error since --with-ldap was requested." >&5
13601 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13602 This is an error since --with-ldap was requested." >&2;}
13603 { (exit 1); exit 1; }; } ;;
13604 esac
13608 for ac_prog in freetype-config freetype2-config
13610 # Extract the first word of "$ac_prog", so it can be a program name with args.
13611 set dummy $ac_prog; ac_word=$2
13612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13614 if test "${ac_cv_prog_ft_devel+set}" = set; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 else
13617 if test -n "$ft_devel"; then
13618 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13619 else
13620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13621 for as_dir in $PATH
13623 IFS=$as_save_IFS
13624 test -z "$as_dir" && as_dir=.
13625 for ac_exec_ext in '' $ac_executable_extensions; do
13626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13627 ac_cv_prog_ft_devel="$ac_prog"
13628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13629 break 2
13631 done
13632 done
13633 IFS=$as_save_IFS
13637 ft_devel=$ac_cv_prog_ft_devel
13638 if test -n "$ft_devel"; then
13639 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13640 echo "${ECHO_T}$ft_devel" >&6; }
13641 else
13642 { echo "$as_me:$LINENO: result: no" >&5
13643 echo "${ECHO_T}no" >&6; }
13647 test -n "$ft_devel" && break
13648 done
13649 test -n "$ft_devel" || ft_devel="false"
13651 if test "$ft_devel" != "false"
13652 then
13653 ac_freetype_libs=`$ft_devel --libs`
13654 ac_freetype_incl=`$ft_devel --cflags`
13655 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13656 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13657 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 else
13660 ac_check_soname_save_LIBS=$LIBS
13661 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13672 #ifdef __cplusplus
13673 extern "C"
13674 #endif
13675 char FT_Init_FreeType ();
13677 main ()
13679 return FT_Init_FreeType ();
13681 return 0;
13683 _ACEOF
13684 rm -f conftest.$ac_objext conftest$ac_exeext
13685 if { (ac_try="$ac_link"
13686 case "(($ac_try" in
13687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13688 *) ac_try_echo=$ac_try;;
13689 esac
13690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13691 (eval "$ac_link") 2>conftest.er1
13692 ac_status=$?
13693 grep -v '^ *+' conftest.er1 >conftest.err
13694 rm -f conftest.er1
13695 cat conftest.err >&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } && {
13698 test -z "$ac_c_werror_flag" ||
13699 test ! -s conftest.err
13700 } && test -s conftest$ac_exeext &&
13701 $as_test_x conftest$ac_exeext; then
13702 case "$LIBEXT" in
13703 dll) ;;
13704 dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep "libfreetype\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13705 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13706 esac
13707 else
13708 echo "$as_me: failed program was:" >&5
13709 sed 's/^/| /' conftest.$ac_ext >&5
13714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13715 conftest$ac_exeext conftest.$ac_ext
13716 LIBS=$ac_check_soname_save_LIBS
13718 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13719 { echo "$as_me:$LINENO: result: not found" >&5
13720 echo "${ECHO_T}not found" >&6; }
13721 ft_lib=no
13722 else
13723 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13724 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13726 cat >>confdefs.h <<_ACEOF
13727 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13728 _ACEOF
13730 ft_lib=yes
13733 if test "$ft_lib" = "yes"
13734 then
13735 ac_save_CPPFLAGS="$CPPFLAGS"
13736 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13749 for ac_header in ft2build.h \
13750 freetype/freetype.h \
13751 freetype/ftglyph.h \
13752 freetype/fttypes.h \
13753 freetype/tttables.h \
13754 freetype/ftnames.h \
13755 freetype/ftsnames.h \
13756 freetype/ttnameid.h \
13757 freetype/ftoutln.h \
13758 freetype/ftwinfnt.h \
13759 freetype/ftmodapi.h \
13760 freetype/internal/sfnt.h
13762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 else
13768 cat >conftest.$ac_ext <<_ACEOF
13769 /* confdefs.h. */
13770 _ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 #ifdef HAVE_FT2BUILD_H
13775 # include <ft2build.h>
13776 #endif
13778 #include <$ac_header>
13779 _ACEOF
13780 rm -f conftest.$ac_objext
13781 if { (ac_try="$ac_compile"
13782 case "(($ac_try" in
13783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13784 *) ac_try_echo=$ac_try;;
13785 esac
13786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13787 (eval "$ac_compile") 2>conftest.er1
13788 ac_status=$?
13789 grep -v '^ *+' conftest.er1 >conftest.err
13790 rm -f conftest.er1
13791 cat conftest.err >&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); } && {
13794 test -z "$ac_c_werror_flag" ||
13795 test ! -s conftest.err
13796 } && test -s conftest.$ac_objext; then
13797 eval "$as_ac_Header=yes"
13798 else
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.$ac_ext >&5
13802 eval "$as_ac_Header=no"
13805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13807 ac_res=`eval echo '${'$as_ac_Header'}'`
13808 { echo "$as_me:$LINENO: result: $ac_res" >&5
13809 echo "${ECHO_T}$ac_res" >&6; }
13810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13811 cat >>confdefs.h <<_ACEOF
13812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13813 _ACEOF
13817 done
13819 cat >conftest.$ac_ext <<_ACEOF
13820 /* confdefs.h. */
13821 _ACEOF
13822 cat confdefs.h >>conftest.$ac_ext
13823 cat >>conftest.$ac_ext <<_ACEOF
13824 /* end confdefs.h. */
13825 #include <ft2build.h>
13826 #include <freetype/fttrigon.h>
13827 _ACEOF
13828 if { (ac_try="$ac_cpp conftest.$ac_ext"
13829 case "(($ac_try" in
13830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13831 *) ac_try_echo=$ac_try;;
13832 esac
13833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13835 ac_status=$?
13836 grep -v '^ *+' conftest.er1 >conftest.err
13837 rm -f conftest.er1
13838 cat conftest.err >&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); } >/dev/null && {
13841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13842 test ! -s conftest.err
13843 }; then
13845 cat >>confdefs.h <<\_ACEOF
13846 #define HAVE_FREETYPE_FTTRIGON_H 1
13847 _ACEOF
13849 wine_cv_fttrigon=yes
13850 else
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13854 wine_cv_fttrigon=no
13857 rm -f conftest.err conftest.$ac_ext
13858 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13859 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13860 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 else
13863 cat >conftest.$ac_ext <<_ACEOF
13864 /* confdefs.h. */
13865 _ACEOF
13866 cat confdefs.h >>conftest.$ac_ext
13867 cat >>conftest.$ac_ext <<_ACEOF
13868 /* end confdefs.h. */
13869 #include <freetype/ftmodapi.h>
13871 typedef FT_TrueTypeEngineType ac__type_new_;
13873 main ()
13875 if ((ac__type_new_ *) 0)
13876 return 0;
13877 if (sizeof (ac__type_new_))
13878 return 0;
13880 return 0;
13882 _ACEOF
13883 rm -f conftest.$ac_objext
13884 if { (ac_try="$ac_compile"
13885 case "(($ac_try" in
13886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13887 *) ac_try_echo=$ac_try;;
13888 esac
13889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13890 (eval "$ac_compile") 2>conftest.er1
13891 ac_status=$?
13892 grep -v '^ *+' conftest.er1 >conftest.err
13893 rm -f conftest.er1
13894 cat conftest.err >&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); } && {
13897 test -z "$ac_c_werror_flag" ||
13898 test ! -s conftest.err
13899 } && test -s conftest.$ac_objext; then
13900 ac_cv_type_FT_TrueTypeEngineType=yes
13901 else
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.$ac_ext >&5
13905 ac_cv_type_FT_TrueTypeEngineType=no
13908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13910 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13911 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13912 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13914 cat >>confdefs.h <<_ACEOF
13915 #define HAVE_FT_TRUETYPEENGINETYPE 1
13916 _ACEOF
13921 ac_save_CFLAGS="$CFLAGS"
13922 CFLAGS="$CFLAGS $ac_freetype_libs"
13924 for ac_func in FT_Load_Sfnt_Table
13926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 else
13932 cat >conftest.$ac_ext <<_ACEOF
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13940 #define $ac_func innocuous_$ac_func
13942 /* System header to define __stub macros and hopefully few prototypes,
13943 which can conflict with char $ac_func (); below.
13944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13945 <limits.h> exists even on freestanding compilers. */
13947 #ifdef __STDC__
13948 # include <limits.h>
13949 #else
13950 # include <assert.h>
13951 #endif
13953 #undef $ac_func
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 #ifdef __cplusplus
13959 extern "C"
13960 #endif
13961 char $ac_func ();
13962 /* The GNU C library defines this for functions which it implements
13963 to always fail with ENOSYS. Some functions are actually named
13964 something starting with __ and the normal name is an alias. */
13965 #if defined __stub_$ac_func || defined __stub___$ac_func
13966 choke me
13967 #endif
13970 main ()
13972 return $ac_func ();
13974 return 0;
13976 _ACEOF
13977 rm -f conftest.$ac_objext conftest$ac_exeext
13978 if { (ac_try="$ac_link"
13979 case "(($ac_try" in
13980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13981 *) ac_try_echo=$ac_try;;
13982 esac
13983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13984 (eval "$ac_link") 2>conftest.er1
13985 ac_status=$?
13986 grep -v '^ *+' conftest.er1 >conftest.err
13987 rm -f conftest.er1
13988 cat conftest.err >&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } && {
13991 test -z "$ac_c_werror_flag" ||
13992 test ! -s conftest.err
13993 } && test -s conftest$ac_exeext &&
13994 $as_test_x conftest$ac_exeext; then
13995 eval "$as_ac_var=yes"
13996 else
13997 echo "$as_me: failed program was:" >&5
13998 sed 's/^/| /' conftest.$ac_ext >&5
14000 eval "$as_ac_var=no"
14003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14004 conftest$ac_exeext conftest.$ac_ext
14006 ac_res=`eval echo '${'$as_ac_var'}'`
14007 { echo "$as_me:$LINENO: result: $ac_res" >&5
14008 echo "${ECHO_T}$ac_res" >&6; }
14009 if test `eval echo '${'$as_ac_var'}'` = yes; then
14010 cat >>confdefs.h <<_ACEOF
14011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14012 _ACEOF
14015 done
14017 CFLAGS="$ac_save_CFLAGS"
14018 CPPFLAGS="$ac_save_CPPFLAGS"
14019 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14020 then
14022 cat >>confdefs.h <<\_ACEOF
14023 #define HAVE_FREETYPE 1
14024 _ACEOF
14026 FREETYPELIBS="$ac_freetype_libs"
14028 FREETYPEINCL="$ac_freetype_incl"
14034 if test "x$FREETYPELIBS" = "x"
14035 then
14036 wine_warnings="$wine_warnings|FreeType development files not found.
14037 Fonts will not be built. Dialog text may be invisible or unaligned."
14038 else
14039 FONTSSUBDIRS="fonts"
14043 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14044 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14045 if test "${ac_cv_c_ppdev+set}" = set; then
14046 echo $ECHO_N "(cached) $ECHO_C" >&6
14047 else
14048 cat >conftest.$ac_ext <<_ACEOF
14049 /* confdefs.h. */
14050 _ACEOF
14051 cat confdefs.h >>conftest.$ac_ext
14052 cat >>conftest.$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 #include <linux/ppdev.h>
14056 main ()
14058 ioctl (1,PPCLAIM,0)
14060 return 0;
14062 _ACEOF
14063 rm -f conftest.$ac_objext
14064 if { (ac_try="$ac_compile"
14065 case "(($ac_try" in
14066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14067 *) ac_try_echo=$ac_try;;
14068 esac
14069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14070 (eval "$ac_compile") 2>conftest.er1
14071 ac_status=$?
14072 grep -v '^ *+' conftest.er1 >conftest.err
14073 rm -f conftest.er1
14074 cat conftest.err >&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } && {
14077 test -z "$ac_c_werror_flag" ||
14078 test ! -s conftest.err
14079 } && test -s conftest.$ac_objext; then
14080 ac_cv_c_ppdev="yes"
14081 else
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.$ac_ext >&5
14085 ac_cv_c_ppdev="no"
14088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14090 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14091 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14092 if test "$ac_cv_c_ppdev" = "yes"
14093 then
14095 cat >>confdefs.h <<\_ACEOF
14096 #define HAVE_PPDEV 1
14097 _ACEOF
14101 { echo "$as_me:$LINENO: checking for va_copy" >&5
14102 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14103 if test "${ac_cv_c_va_copy+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 else
14106 cat >conftest.$ac_ext <<_ACEOF
14107 /* confdefs.h. */
14108 _ACEOF
14109 cat confdefs.h >>conftest.$ac_ext
14110 cat >>conftest.$ac_ext <<_ACEOF
14111 /* end confdefs.h. */
14112 #include <stdarg.h>
14114 main ()
14116 va_list ap1, ap2; va_copy(ap1,ap2);
14118 return 0;
14120 _ACEOF
14121 rm -f conftest.$ac_objext conftest$ac_exeext
14122 if { (ac_try="$ac_link"
14123 case "(($ac_try" in
14124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14125 *) ac_try_echo=$ac_try;;
14126 esac
14127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14128 (eval "$ac_link") 2>conftest.er1
14129 ac_status=$?
14130 grep -v '^ *+' conftest.er1 >conftest.err
14131 rm -f conftest.er1
14132 cat conftest.err >&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } && {
14135 test -z "$ac_c_werror_flag" ||
14136 test ! -s conftest.err
14137 } && test -s conftest$ac_exeext &&
14138 $as_test_x conftest$ac_exeext; then
14139 ac_cv_c_va_copy="yes"
14140 else
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.$ac_ext >&5
14144 ac_cv_c_va_copy="no"
14147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14148 conftest$ac_exeext conftest.$ac_ext
14151 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14152 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14153 if test "$ac_cv_c_va_copy" = "yes"
14154 then
14156 cat >>confdefs.h <<\_ACEOF
14157 #define HAVE_VA_COPY 1
14158 _ACEOF
14161 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14162 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14163 if test "${ac_cv_c___va_copy+set}" = set; then
14164 echo $ECHO_N "(cached) $ECHO_C" >&6
14165 else
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 #include <stdarg.h>
14174 main ()
14176 va_list ap1, ap2; __va_copy(ap1,ap2);
14178 return 0;
14180 _ACEOF
14181 rm -f conftest.$ac_objext conftest$ac_exeext
14182 if { (ac_try="$ac_link"
14183 case "(($ac_try" in
14184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14185 *) ac_try_echo=$ac_try;;
14186 esac
14187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14188 (eval "$ac_link") 2>conftest.er1
14189 ac_status=$?
14190 grep -v '^ *+' conftest.er1 >conftest.err
14191 rm -f conftest.er1
14192 cat conftest.err >&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); } && {
14195 test -z "$ac_c_werror_flag" ||
14196 test ! -s conftest.err
14197 } && test -s conftest$ac_exeext &&
14198 $as_test_x conftest$ac_exeext; then
14199 ac_cv_c___va_copy="yes"
14200 else
14201 echo "$as_me: failed program was:" >&5
14202 sed 's/^/| /' conftest.$ac_ext >&5
14204 ac_cv_c___va_copy="no"
14207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14208 conftest$ac_exeext conftest.$ac_ext
14211 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14212 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14213 if test "$ac_cv_c___va_copy" = "yes"
14214 then
14216 cat >>confdefs.h <<\_ACEOF
14217 #define HAVE___VA_COPY 1
14218 _ACEOF
14222 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14223 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14224 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 else
14227 cat >conftest.$ac_ext <<_ACEOF
14228 /* confdefs.h. */
14229 _ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14233 #include <setjmp.h>
14235 main ()
14237 sigjmp_buf buf;
14238 sigsetjmp( buf, 1 );
14239 siglongjmp( buf, 1 );
14241 return 0;
14243 _ACEOF
14244 rm -f conftest.$ac_objext conftest$ac_exeext
14245 if { (ac_try="$ac_link"
14246 case "(($ac_try" in
14247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14248 *) ac_try_echo=$ac_try;;
14249 esac
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_link") 2>conftest.er1
14252 ac_status=$?
14253 grep -v '^ *+' conftest.er1 >conftest.err
14254 rm -f conftest.er1
14255 cat conftest.err >&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); } && {
14258 test -z "$ac_c_werror_flag" ||
14259 test ! -s conftest.err
14260 } && test -s conftest$ac_exeext &&
14261 $as_test_x conftest$ac_exeext; then
14262 ac_cv_c_sigsetjmp="yes"
14263 else
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14267 ac_cv_c_sigsetjmp="no"
14270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14271 conftest$ac_exeext conftest.$ac_ext
14274 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14275 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14276 if test "$ac_cv_c_sigsetjmp" = "yes"
14277 then
14279 cat >>confdefs.h <<\_ACEOF
14280 #define HAVE_SIGSETJMP 1
14281 _ACEOF
14285 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14286 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14287 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 else
14290 cat >conftest.$ac_ext <<_ACEOF
14291 /* confdefs.h. */
14292 _ACEOF
14293 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14296 #define _GNU_SOURCE
14297 #include <pthread.h>
14299 typedef pthread_rwlock_t ac__type_new_;
14301 main ()
14303 if ((ac__type_new_ *) 0)
14304 return 0;
14305 if (sizeof (ac__type_new_))
14306 return 0;
14308 return 0;
14310 _ACEOF
14311 rm -f conftest.$ac_objext
14312 if { (ac_try="$ac_compile"
14313 case "(($ac_try" in
14314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14315 *) ac_try_echo=$ac_try;;
14316 esac
14317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14318 (eval "$ac_compile") 2>conftest.er1
14319 ac_status=$?
14320 grep -v '^ *+' conftest.er1 >conftest.err
14321 rm -f conftest.er1
14322 cat conftest.err >&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); } && {
14325 test -z "$ac_c_werror_flag" ||
14326 test ! -s conftest.err
14327 } && test -s conftest.$ac_objext; then
14328 ac_cv_type_pthread_rwlock_t=yes
14329 else
14330 echo "$as_me: failed program was:" >&5
14331 sed 's/^/| /' conftest.$ac_ext >&5
14333 ac_cv_type_pthread_rwlock_t=no
14336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14338 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14339 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14340 if test $ac_cv_type_pthread_rwlock_t = yes; then
14342 cat >>confdefs.h <<_ACEOF
14343 #define HAVE_PTHREAD_RWLOCK_T 1
14344 _ACEOF
14348 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14349 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14350 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 cat >conftest.$ac_ext <<_ACEOF
14354 /* confdefs.h. */
14355 _ACEOF
14356 cat confdefs.h >>conftest.$ac_ext
14357 cat >>conftest.$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14359 #define _GNU_SOURCE
14360 #include <pthread.h>
14362 typedef pthread_rwlockattr_t ac__type_new_;
14364 main ()
14366 if ((ac__type_new_ *) 0)
14367 return 0;
14368 if (sizeof (ac__type_new_))
14369 return 0;
14371 return 0;
14373 _ACEOF
14374 rm -f conftest.$ac_objext
14375 if { (ac_try="$ac_compile"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14379 esac
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_compile") 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest.$ac_objext; then
14391 ac_cv_type_pthread_rwlockattr_t=yes
14392 else
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14396 ac_cv_type_pthread_rwlockattr_t=no
14399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14402 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14403 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14405 cat >>confdefs.h <<_ACEOF
14406 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14407 _ACEOF
14413 ac_wine_check_funcs_save_LIBS="$LIBS"
14414 LIBS="$LIBS $LIBPTHREAD"
14419 for ac_func in \
14420 pthread_attr_get_np \
14421 pthread_getattr_np \
14422 pthread_get_stackaddr_np \
14423 pthread_get_stacksize_np
14425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 else
14431 cat >conftest.$ac_ext <<_ACEOF
14432 /* confdefs.h. */
14433 _ACEOF
14434 cat confdefs.h >>conftest.$ac_ext
14435 cat >>conftest.$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14439 #define $ac_func innocuous_$ac_func
14441 /* System header to define __stub macros and hopefully few prototypes,
14442 which can conflict with char $ac_func (); below.
14443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14444 <limits.h> exists even on freestanding compilers. */
14446 #ifdef __STDC__
14447 # include <limits.h>
14448 #else
14449 # include <assert.h>
14450 #endif
14452 #undef $ac_func
14454 /* Override any GCC internal prototype to avoid an error.
14455 Use char because int might match the return type of a GCC
14456 builtin and then its argument prototype would still apply. */
14457 #ifdef __cplusplus
14458 extern "C"
14459 #endif
14460 char $ac_func ();
14461 /* The GNU C library defines this for functions which it implements
14462 to always fail with ENOSYS. Some functions are actually named
14463 something starting with __ and the normal name is an alias. */
14464 #if defined __stub_$ac_func || defined __stub___$ac_func
14465 choke me
14466 #endif
14469 main ()
14471 return $ac_func ();
14473 return 0;
14475 _ACEOF
14476 rm -f conftest.$ac_objext conftest$ac_exeext
14477 if { (ac_try="$ac_link"
14478 case "(($ac_try" in
14479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480 *) ac_try_echo=$ac_try;;
14481 esac
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 (eval "$ac_link") 2>conftest.er1
14484 ac_status=$?
14485 grep -v '^ *+' conftest.er1 >conftest.err
14486 rm -f conftest.er1
14487 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } && {
14490 test -z "$ac_c_werror_flag" ||
14491 test ! -s conftest.err
14492 } && test -s conftest$ac_exeext &&
14493 $as_test_x conftest$ac_exeext; then
14494 eval "$as_ac_var=yes"
14495 else
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.$ac_ext >&5
14499 eval "$as_ac_var=no"
14502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14503 conftest$ac_exeext conftest.$ac_ext
14505 ac_res=`eval echo '${'$as_ac_var'}'`
14506 { echo "$as_me:$LINENO: result: $ac_res" >&5
14507 echo "${ECHO_T}$ac_res" >&6; }
14508 if test `eval echo '${'$as_ac_var'}'` = yes; then
14509 cat >>confdefs.h <<_ACEOF
14510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14511 _ACEOF
14514 done
14516 LIBS="$ac_wine_check_funcs_save_LIBS"
14518 # Extract the first word of "esd-config", so it can be a program name with args.
14519 set dummy esd-config; ac_word=$2
14520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14522 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 else
14525 case $ESDCONFIG in
14526 [\\/]* | ?:[\\/]*)
14527 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14531 for as_dir in $PATH
14533 IFS=$as_save_IFS
14534 test -z "$as_dir" && as_dir=.
14535 for ac_exec_ext in '' $ac_executable_extensions; do
14536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14537 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14539 break 2
14541 done
14542 done
14543 IFS=$as_save_IFS
14546 esac
14548 ESDCONFIG=$ac_cv_path_ESDCONFIG
14549 if test -n "$ESDCONFIG"; then
14550 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14551 echo "${ECHO_T}$ESDCONFIG" >&6; }
14552 else
14553 { echo "$as_me:$LINENO: result: no" >&5
14554 echo "${ECHO_T}no" >&6; }
14558 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14559 then
14560 ESD_CFLAGS=""
14561 for i in `$ESDCONFIG --cflags`
14563 case "$i" in
14564 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14565 esac
14566 done
14567 ESD_LIBS=`$ESDCONFIG --libs`
14568 save_CFLAGS="$CFLAGS"
14569 CFLAGS="$CFLAGS $ESD_CFLAGS"
14570 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14571 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14572 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 else
14575 ac_check_lib_save_LIBS=$LIBS
14576 LIBS="-lesd $LIBS"
14577 cat >conftest.$ac_ext <<_ACEOF
14578 /* confdefs.h. */
14579 _ACEOF
14580 cat confdefs.h >>conftest.$ac_ext
14581 cat >>conftest.$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14587 #ifdef __cplusplus
14588 extern "C"
14589 #endif
14590 char esd_open_sound ();
14592 main ()
14594 return esd_open_sound ();
14596 return 0;
14598 _ACEOF
14599 rm -f conftest.$ac_objext conftest$ac_exeext
14600 if { (ac_try="$ac_link"
14601 case "(($ac_try" in
14602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14603 *) ac_try_echo=$ac_try;;
14604 esac
14605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14606 (eval "$ac_link") 2>conftest.er1
14607 ac_status=$?
14608 grep -v '^ *+' conftest.er1 >conftest.err
14609 rm -f conftest.er1
14610 cat conftest.err >&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } && {
14613 test -z "$ac_c_werror_flag" ||
14614 test ! -s conftest.err
14615 } && test -s conftest$ac_exeext &&
14616 $as_test_x conftest$ac_exeext; then
14617 ac_cv_lib_esd_esd_open_sound=yes
14618 else
14619 echo "$as_me: failed program was:" >&5
14620 sed 's/^/| /' conftest.$ac_ext >&5
14622 ac_cv_lib_esd_esd_open_sound=no
14625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14626 conftest$ac_exeext conftest.$ac_ext
14627 LIBS=$ac_check_lib_save_LIBS
14629 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14630 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14631 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14632 ESDLIBS=$ESD_LIBS
14634 ESDINCL=$ESD_CFLAGS
14637 cat >>confdefs.h <<\_ACEOF
14638 #define HAVE_ESD 1
14639 _ACEOF
14643 CFLAGS="$save_CFLAGS"
14646 ALSALIBS=""
14648 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14649 then
14650 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14651 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14652 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14653 echo $ECHO_N "(cached) $ECHO_C" >&6
14654 else
14655 ac_check_lib_save_LIBS=$LIBS
14656 LIBS="-lasound $LIBS"
14657 cat >conftest.$ac_ext <<_ACEOF
14658 /* confdefs.h. */
14659 _ACEOF
14660 cat confdefs.h >>conftest.$ac_ext
14661 cat >>conftest.$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14667 #ifdef __cplusplus
14668 extern "C"
14669 #endif
14670 char snd_pcm_hw_params_get_access ();
14672 main ()
14674 return snd_pcm_hw_params_get_access ();
14676 return 0;
14678 _ACEOF
14679 rm -f conftest.$ac_objext conftest$ac_exeext
14680 if { (ac_try="$ac_link"
14681 case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14684 esac
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_link") 2>conftest.er1
14687 ac_status=$?
14688 grep -v '^ *+' conftest.er1 >conftest.err
14689 rm -f conftest.er1
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest$ac_exeext &&
14696 $as_test_x conftest$ac_exeext; then
14697 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14698 else
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14702 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14706 conftest$ac_exeext conftest.$ac_ext
14707 LIBS=$ac_check_lib_save_LIBS
14709 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14710 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14711 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14712 cat >conftest.$ac_ext <<_ACEOF
14713 /* confdefs.h. */
14714 _ACEOF
14715 cat confdefs.h >>conftest.$ac_ext
14716 cat >>conftest.$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14718 #ifdef HAVE_ALSA_ASOUNDLIB_H
14719 #include <alsa/asoundlib.h>
14720 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14721 #include <sys/asoundlib.h>
14722 #endif
14724 main ()
14726 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14728 return 0;
14730 _ACEOF
14731 rm -f conftest.$ac_objext
14732 if { (ac_try="$ac_compile"
14733 case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14736 esac
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compile") 2>conftest.er1
14739 ac_status=$?
14740 grep -v '^ *+' conftest.er1 >conftest.err
14741 rm -f conftest.er1
14742 cat conftest.err >&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } && {
14745 test -z "$ac_c_werror_flag" ||
14746 test ! -s conftest.err
14747 } && test -s conftest.$ac_objext; then
14749 cat >>confdefs.h <<\_ACEOF
14750 #define HAVE_ALSA 1
14751 _ACEOF
14753 ALSALIBS="-lasound"
14754 else
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14766 AUDIOIOLIBS=""
14768 if test "$ac_cv_header_libaudioio_h" = "yes"
14769 then
14770 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14771 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14772 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 ac_check_lib_save_LIBS=$LIBS
14776 LIBS="-laudioio $LIBS"
14777 cat >conftest.$ac_ext <<_ACEOF
14778 /* confdefs.h. */
14779 _ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h. */
14784 /* Override any GCC internal prototype to avoid an error.
14785 Use char because int might match the return type of a GCC
14786 builtin and then its argument prototype would still apply. */
14787 #ifdef __cplusplus
14788 extern "C"
14789 #endif
14790 char AudioIOGetVersion ();
14792 main ()
14794 return AudioIOGetVersion ();
14796 return 0;
14798 _ACEOF
14799 rm -f conftest.$ac_objext conftest$ac_exeext
14800 if { (ac_try="$ac_link"
14801 case "(($ac_try" in
14802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14803 *) ac_try_echo=$ac_try;;
14804 esac
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806 (eval "$ac_link") 2>conftest.er1
14807 ac_status=$?
14808 grep -v '^ *+' conftest.er1 >conftest.err
14809 rm -f conftest.er1
14810 cat conftest.err >&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } && {
14813 test -z "$ac_c_werror_flag" ||
14814 test ! -s conftest.err
14815 } && test -s conftest$ac_exeext &&
14816 $as_test_x conftest$ac_exeext; then
14817 ac_cv_lib_audioio_AudioIOGetVersion=yes
14818 else
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14822 ac_cv_lib_audioio_AudioIOGetVersion=no
14825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14826 conftest$ac_exeext conftest.$ac_ext
14827 LIBS=$ac_check_lib_save_LIBS
14829 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14830 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14831 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14832 AUDIOIOLIBS="-laudioio"
14834 cat >>confdefs.h <<\_ACEOF
14835 #define HAVE_LIBAUDIOIO 1
14836 _ACEOF
14843 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14844 then
14845 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14846 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14847 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14850 ac_check_soname_save_LIBS=$LIBS
14851 LIBS="-lcapi20 $LIBS"
14852 cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14862 #ifdef __cplusplus
14863 extern "C"
14864 #endif
14865 char capi20_register ();
14867 main ()
14869 return capi20_register ();
14871 return 0;
14873 _ACEOF
14874 rm -f conftest.$ac_objext conftest$ac_exeext
14875 if { (ac_try="$ac_link"
14876 case "(($ac_try" in
14877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14878 *) ac_try_echo=$ac_try;;
14879 esac
14880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14881 (eval "$ac_link") 2>conftest.er1
14882 ac_status=$?
14883 grep -v '^ *+' conftest.er1 >conftest.err
14884 rm -f conftest.er1
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } && {
14888 test -z "$ac_c_werror_flag" ||
14889 test ! -s conftest.err
14890 } && test -s conftest$ac_exeext &&
14891 $as_test_x conftest$ac_exeext; then
14892 case "$LIBEXT" in
14893 dll) ;;
14894 dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14895 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14896 esac
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14905 conftest$ac_exeext conftest.$ac_ext
14906 LIBS=$ac_check_soname_save_LIBS
14908 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14909 { echo "$as_me:$LINENO: result: not found" >&5
14910 echo "${ECHO_T}not found" >&6; }
14912 else
14913 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14914 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14916 cat >>confdefs.h <<_ACEOF
14917 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14918 _ACEOF
14924 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14925 case "x$with_capi" in
14926 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14927 xno) ;;
14928 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14929 This is an error since --with-capi was requested." >&5
14930 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14931 This is an error since --with-capi was requested." >&2;}
14932 { (exit 1); exit 1; }; } ;;
14933 esac
14937 if test "$ac_cv_header_cups_cups_h" = "yes"
14938 then
14939 { echo "$as_me:$LINENO: checking for -lcups" >&5
14940 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14941 if test "${ac_cv_lib_soname_cups+set}" = set; then
14942 echo $ECHO_N "(cached) $ECHO_C" >&6
14943 else
14944 ac_check_soname_save_LIBS=$LIBS
14945 LIBS="-lcups $LIBS"
14946 cat >conftest.$ac_ext <<_ACEOF
14947 /* confdefs.h. */
14948 _ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14953 /* Override any GCC internal prototype to avoid an error.
14954 Use char because int might match the return type of a GCC
14955 builtin and then its argument prototype would still apply. */
14956 #ifdef __cplusplus
14957 extern "C"
14958 #endif
14959 char cupsGetDefault ();
14961 main ()
14963 return cupsGetDefault ();
14965 return 0;
14967 _ACEOF
14968 rm -f conftest.$ac_objext conftest$ac_exeext
14969 if { (ac_try="$ac_link"
14970 case "(($ac_try" in
14971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14972 *) ac_try_echo=$ac_try;;
14973 esac
14974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14975 (eval "$ac_link") 2>conftest.er1
14976 ac_status=$?
14977 grep -v '^ *+' conftest.er1 >conftest.err
14978 rm -f conftest.er1
14979 cat conftest.err >&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } && {
14982 test -z "$ac_c_werror_flag" ||
14983 test ! -s conftest.err
14984 } && test -s conftest$ac_exeext &&
14985 $as_test_x conftest$ac_exeext; then
14986 case "$LIBEXT" in
14987 dll) ;;
14988 dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14989 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14990 esac
14991 else
14992 echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.$ac_ext >&5
14998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14999 conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_soname_save_LIBS
15002 if test "x$ac_cv_lib_soname_cups" = "x"; then
15003 { echo "$as_me:$LINENO: result: not found" >&5
15004 echo "${ECHO_T}not found" >&6; }
15006 else
15007 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15008 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15010 cat >>confdefs.h <<_ACEOF
15011 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15012 _ACEOF
15018 if test "x$ac_cv_lib_soname_cups" = "x"; then
15019 case "x$with_cups" in
15020 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15021 xno) ;;
15022 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15023 This is an error since --with-cups was requested." >&5
15024 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15025 This is an error since --with-cups was requested." >&2;}
15026 { (exit 1); exit 1; }; } ;;
15027 esac
15031 if test "$ac_cv_header_jack_jack_h" = "yes"
15032 then
15033 { echo "$as_me:$LINENO: checking for -ljack" >&5
15034 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15035 if test "${ac_cv_lib_soname_jack+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 else
15038 ac_check_soname_save_LIBS=$LIBS
15039 LIBS="-ljack $LIBS"
15040 cat >conftest.$ac_ext <<_ACEOF
15041 /* confdefs.h. */
15042 _ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15047 /* Override any GCC internal prototype to avoid an error.
15048 Use char because int might match the return type of a GCC
15049 builtin and then its argument prototype would still apply. */
15050 #ifdef __cplusplus
15051 extern "C"
15052 #endif
15053 char jack_client_new ();
15055 main ()
15057 return jack_client_new ();
15059 return 0;
15061 _ACEOF
15062 rm -f conftest.$ac_objext conftest$ac_exeext
15063 if { (ac_try="$ac_link"
15064 case "(($ac_try" in
15065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066 *) ac_try_echo=$ac_try;;
15067 esac
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069 (eval "$ac_link") 2>conftest.er1
15070 ac_status=$?
15071 grep -v '^ *+' conftest.er1 >conftest.err
15072 rm -f conftest.er1
15073 cat conftest.err >&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } && {
15076 test -z "$ac_c_werror_flag" ||
15077 test ! -s conftest.err
15078 } && test -s conftest$ac_exeext &&
15079 $as_test_x conftest$ac_exeext; then
15080 case "$LIBEXT" in
15081 dll) ;;
15082 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15083 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15084 esac
15085 else
15086 echo "$as_me: failed program was:" >&5
15087 sed 's/^/| /' conftest.$ac_ext >&5
15092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15093 conftest$ac_exeext conftest.$ac_ext
15094 LIBS=$ac_check_soname_save_LIBS
15096 if test "x$ac_cv_lib_soname_jack" = "x"; then
15097 { echo "$as_me:$LINENO: result: not found" >&5
15098 echo "${ECHO_T}not found" >&6; }
15100 else
15101 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15102 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15104 cat >>confdefs.h <<_ACEOF
15105 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15106 _ACEOF
15113 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15114 then
15115 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15116 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15117 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 else
15120 ac_check_soname_save_LIBS=$LIBS
15121 LIBS="-lfontconfig $LIBS"
15122 cat >conftest.$ac_ext <<_ACEOF
15123 /* confdefs.h. */
15124 _ACEOF
15125 cat confdefs.h >>conftest.$ac_ext
15126 cat >>conftest.$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15132 #ifdef __cplusplus
15133 extern "C"
15134 #endif
15135 char FcInit ();
15137 main ()
15139 return FcInit ();
15141 return 0;
15143 _ACEOF
15144 rm -f conftest.$ac_objext conftest$ac_exeext
15145 if { (ac_try="$ac_link"
15146 case "(($ac_try" in
15147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15148 *) ac_try_echo=$ac_try;;
15149 esac
15150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15151 (eval "$ac_link") 2>conftest.er1
15152 ac_status=$?
15153 grep -v '^ *+' conftest.er1 >conftest.err
15154 rm -f conftest.er1
15155 cat conftest.err >&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } && {
15158 test -z "$ac_c_werror_flag" ||
15159 test ! -s conftest.err
15160 } && test -s conftest$ac_exeext &&
15161 $as_test_x conftest$ac_exeext; then
15162 case "$LIBEXT" in
15163 dll) ;;
15164 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15165 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15166 esac
15167 else
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.$ac_ext >&5
15174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15175 conftest$ac_exeext conftest.$ac_ext
15176 LIBS=$ac_check_soname_save_LIBS
15178 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15179 { echo "$as_me:$LINENO: result: not found" >&5
15180 echo "${ECHO_T}not found" >&6; }
15182 else
15183 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15184 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15186 cat >>confdefs.h <<_ACEOF
15187 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15188 _ACEOF
15193 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15194 then
15195 ac_save_CPPFLAGS="$CPPFLAGS"
15196 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15197 $as_unset ac_cv_header_fontconfig_fontconfig_h
15199 for ac_header in fontconfig/fontconfig.h
15201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 ac_res=`eval echo '${'$as_ac_Header'}'`
15209 { echo "$as_me:$LINENO: result: $ac_res" >&5
15210 echo "${ECHO_T}$ac_res" >&6; }
15211 else
15212 # Is the header compilable?
15213 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15215 cat >conftest.$ac_ext <<_ACEOF
15216 /* confdefs.h. */
15217 _ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221 $ac_includes_default
15222 #include <$ac_header>
15223 _ACEOF
15224 rm -f conftest.$ac_objext
15225 if { (ac_try="$ac_compile"
15226 case "(($ac_try" in
15227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15228 *) ac_try_echo=$ac_try;;
15229 esac
15230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15231 (eval "$ac_compile") 2>conftest.er1
15232 ac_status=$?
15233 grep -v '^ *+' conftest.er1 >conftest.err
15234 rm -f conftest.er1
15235 cat conftest.err >&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); } && {
15238 test -z "$ac_c_werror_flag" ||
15239 test ! -s conftest.err
15240 } && test -s conftest.$ac_objext; then
15241 ac_header_compiler=yes
15242 else
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.$ac_ext >&5
15246 ac_header_compiler=no
15249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15251 echo "${ECHO_T}$ac_header_compiler" >&6; }
15253 # Is the header present?
15254 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15256 cat >conftest.$ac_ext <<_ACEOF
15257 /* confdefs.h. */
15258 _ACEOF
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 #include <$ac_header>
15263 _ACEOF
15264 if { (ac_try="$ac_cpp conftest.$ac_ext"
15265 case "(($ac_try" in
15266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15267 *) ac_try_echo=$ac_try;;
15268 esac
15269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15271 ac_status=$?
15272 grep -v '^ *+' conftest.er1 >conftest.err
15273 rm -f conftest.er1
15274 cat conftest.err >&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); } >/dev/null && {
15277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15278 test ! -s conftest.err
15279 }; then
15280 ac_header_preproc=yes
15281 else
15282 echo "$as_me: failed program was:" >&5
15283 sed 's/^/| /' conftest.$ac_ext >&5
15285 ac_header_preproc=no
15288 rm -f conftest.err conftest.$ac_ext
15289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15290 echo "${ECHO_T}$ac_header_preproc" >&6; }
15292 # So? What about this header?
15293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15294 yes:no: )
15295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15299 ac_header_preproc=yes
15301 no:yes:* )
15302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15314 ( cat <<\_ASBOX
15315 ## ------------------------------------ ##
15316 ## Report this to wine-devel@winehq.org ##
15317 ## ------------------------------------ ##
15318 _ASBOX
15319 ) | sed "s/^/$as_me: WARNING: /" >&2
15321 esac
15322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 else
15327 eval "$as_ac_Header=\$ac_header_preproc"
15329 ac_res=`eval echo '${'$as_ac_Header'}'`
15330 { echo "$as_me:$LINENO: result: $ac_res" >&5
15331 echo "${ECHO_T}$ac_res" >&6; }
15334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15335 cat >>confdefs.h <<_ACEOF
15336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15337 _ACEOF
15341 done
15343 CPPFLAGS="$ac_save_CPPFLAGS"
15344 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15345 then
15346 FONTCONFIGINCL="$X_CFLAGS"
15348 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15349 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15350 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 else
15353 ac_check_soname_save_LIBS=$LIBS
15354 LIBS="-lfontconfig $X_LIBS $LIBS"
15355 cat >conftest.$ac_ext <<_ACEOF
15356 /* confdefs.h. */
15357 _ACEOF
15358 cat confdefs.h >>conftest.$ac_ext
15359 cat >>conftest.$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15365 #ifdef __cplusplus
15366 extern "C"
15367 #endif
15368 char FcInit ();
15370 main ()
15372 return FcInit ();
15374 return 0;
15376 _ACEOF
15377 rm -f conftest.$ac_objext conftest$ac_exeext
15378 if { (ac_try="$ac_link"
15379 case "(($ac_try" in
15380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15381 *) ac_try_echo=$ac_try;;
15382 esac
15383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15384 (eval "$ac_link") 2>conftest.er1
15385 ac_status=$?
15386 grep -v '^ *+' conftest.er1 >conftest.err
15387 rm -f conftest.er1
15388 cat conftest.err >&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } && {
15391 test -z "$ac_c_werror_flag" ||
15392 test ! -s conftest.err
15393 } && test -s conftest$ac_exeext &&
15394 $as_test_x conftest$ac_exeext; then
15395 case "$LIBEXT" in
15396 dll) ;;
15397 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15398 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15399 esac
15400 else
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15412 { echo "$as_me:$LINENO: result: not found" >&5
15413 echo "${ECHO_T}not found" >&6; }
15415 else
15416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15417 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15419 cat >>confdefs.h <<_ACEOF
15420 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15421 _ACEOF
15428 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15429 case "x$with_fontconfig" in
15430 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15431 xno) ;;
15432 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15433 This is an error since --with-fontconfig was requested." >&5
15434 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15435 This is an error since --with-fontconfig was requested." >&2;}
15436 { (exit 1); exit 1; }; } ;;
15437 esac
15441 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15442 then
15443 { echo "$as_me:$LINENO: checking for -lssl" >&5
15444 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15445 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 else
15448 ac_check_soname_save_LIBS=$LIBS
15449 LIBS="-lssl $LIBS"
15450 cat >conftest.$ac_ext <<_ACEOF
15451 /* confdefs.h. */
15452 _ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15460 #ifdef __cplusplus
15461 extern "C"
15462 #endif
15463 char SSL_library_init ();
15465 main ()
15467 return SSL_library_init ();
15469 return 0;
15471 _ACEOF
15472 rm -f conftest.$ac_objext conftest$ac_exeext
15473 if { (ac_try="$ac_link"
15474 case "(($ac_try" in
15475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15476 *) ac_try_echo=$ac_try;;
15477 esac
15478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_link") 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_c_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest$ac_exeext &&
15489 $as_test_x conftest$ac_exeext; then
15490 case "$LIBEXT" in
15491 dll) ;;
15492 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15493 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15494 esac
15495 else
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15503 conftest$ac_exeext conftest.$ac_ext
15504 LIBS=$ac_check_soname_save_LIBS
15506 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15507 { echo "$as_me:$LINENO: result: not found" >&5
15508 echo "${ECHO_T}not found" >&6; }
15510 else
15511 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15512 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15514 cat >>confdefs.h <<_ACEOF
15515 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15516 _ACEOF
15521 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15522 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15523 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 else
15526 ac_check_soname_save_LIBS=$LIBS
15527 LIBS="-lcrypto $LIBS"
15528 cat >conftest.$ac_ext <<_ACEOF
15529 /* confdefs.h. */
15530 _ACEOF
15531 cat confdefs.h >>conftest.$ac_ext
15532 cat >>conftest.$ac_ext <<_ACEOF
15533 /* end confdefs.h. */
15535 /* Override any GCC internal prototype to avoid an error.
15536 Use char because int might match the return type of a GCC
15537 builtin and then its argument prototype would still apply. */
15538 #ifdef __cplusplus
15539 extern "C"
15540 #endif
15541 char BIO_new_socket ();
15543 main ()
15545 return BIO_new_socket ();
15547 return 0;
15549 _ACEOF
15550 rm -f conftest.$ac_objext conftest$ac_exeext
15551 if { (ac_try="$ac_link"
15552 case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15555 esac
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_link") 2>conftest.er1
15558 ac_status=$?
15559 grep -v '^ *+' conftest.er1 >conftest.err
15560 rm -f conftest.er1
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest$ac_exeext &&
15567 $as_test_x conftest$ac_exeext; then
15568 case "$LIBEXT" in
15569 dll) ;;
15570 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15571 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15572 esac
15573 else
15574 echo "$as_me: failed program was:" >&5
15575 sed 's/^/| /' conftest.$ac_ext >&5
15580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15581 conftest$ac_exeext conftest.$ac_ext
15582 LIBS=$ac_check_soname_save_LIBS
15584 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15585 { echo "$as_me:$LINENO: result: not found" >&5
15586 echo "${ECHO_T}not found" >&6; }
15588 else
15589 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15590 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15592 cat >>confdefs.h <<_ACEOF
15593 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15594 _ACEOF
15600 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15601 case "x$with_openssl" in
15602 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15603 xno) ;;
15604 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15605 This is an error since --with-openssl was requested." >&5
15606 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15607 This is an error since --with-openssl was requested." >&2;}
15608 { (exit 1); exit 1; }; } ;;
15609 esac
15613 if test "$ac_cv_header_jpeglib_h" = "yes"
15614 then
15615 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15616 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15617 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15619 else
15620 ac_check_soname_save_LIBS=$LIBS
15621 LIBS="-ljpeg $LIBS"
15622 cat >conftest.$ac_ext <<_ACEOF
15623 /* confdefs.h. */
15624 _ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15632 #ifdef __cplusplus
15633 extern "C"
15634 #endif
15635 char jpeg_start_decompress ();
15637 main ()
15639 return jpeg_start_decompress ();
15641 return 0;
15643 _ACEOF
15644 rm -f conftest.$ac_objext conftest$ac_exeext
15645 if { (ac_try="$ac_link"
15646 case "(($ac_try" in
15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15648 *) ac_try_echo=$ac_try;;
15649 esac
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_link") 2>conftest.er1
15652 ac_status=$?
15653 grep -v '^ *+' conftest.er1 >conftest.err
15654 rm -f conftest.er1
15655 cat conftest.err >&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_c_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest$ac_exeext &&
15661 $as_test_x conftest$ac_exeext; then
15662 case "$LIBEXT" in
15663 dll) ;;
15664 dylib) ac_cv_lib_soname_jpeg=`otool -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15665 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15666 esac
15667 else
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.$ac_ext >&5
15674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15675 conftest$ac_exeext conftest.$ac_ext
15676 LIBS=$ac_check_soname_save_LIBS
15678 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15679 { echo "$as_me:$LINENO: result: not found" >&5
15680 echo "${ECHO_T}not found" >&6; }
15682 else
15683 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15684 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15686 cat >>confdefs.h <<_ACEOF
15687 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15688 _ACEOF
15694 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15695 case "x$with_jpeg" in
15696 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15697 xno) ;;
15698 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15699 This is an error since --with-jpeg was requested." >&5
15700 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15701 This is an error since --with-jpeg was requested." >&2;}
15702 { (exit 1); exit 1; }; } ;;
15703 esac
15707 if test "$ac_cv_header_png_h" = "yes"
15708 then
15709 { echo "$as_me:$LINENO: checking for -lpng" >&5
15710 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15711 if test "${ac_cv_lib_soname_png+set}" = set; then
15712 echo $ECHO_N "(cached) $ECHO_C" >&6
15713 else
15714 ac_check_soname_save_LIBS=$LIBS
15715 LIBS="-lpng $LIBS"
15716 cat >conftest.$ac_ext <<_ACEOF
15717 /* confdefs.h. */
15718 _ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char png_create_read_struct ();
15731 main ()
15733 return png_create_read_struct ();
15735 return 0;
15737 _ACEOF
15738 rm -f conftest.$ac_objext conftest$ac_exeext
15739 if { (ac_try="$ac_link"
15740 case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15743 esac
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_link") 2>conftest.er1
15746 ac_status=$?
15747 grep -v '^ *+' conftest.er1 >conftest.err
15748 rm -f conftest.er1
15749 cat conftest.err >&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } && {
15752 test -z "$ac_c_werror_flag" ||
15753 test ! -s conftest.err
15754 } && test -s conftest$ac_exeext &&
15755 $as_test_x conftest$ac_exeext; then
15756 case "$LIBEXT" in
15757 dll) ;;
15758 dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15759 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15760 esac
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15769 conftest$ac_exeext conftest.$ac_ext
15770 LIBS=$ac_check_soname_save_LIBS
15772 if test "x$ac_cv_lib_soname_png" = "x"; then
15773 { echo "$as_me:$LINENO: result: not found" >&5
15774 echo "${ECHO_T}not found" >&6; }
15776 else
15777 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15778 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15780 cat >>confdefs.h <<_ACEOF
15781 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15782 _ACEOF
15788 if test "x$ac_cv_lib_soname_png" = "x"; then
15789 case "x$with_png" in
15790 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15791 xno) ;;
15792 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15793 This is an error since --with-png was requested." >&5
15794 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15795 This is an error since --with-png was requested." >&2;}
15796 { (exit 1); exit 1; }; } ;;
15797 esac
15801 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15802 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15803 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806 ac_check_soname_save_LIBS=$LIBS
15807 LIBS="-lodbc $LIBS"
15808 cat >conftest.$ac_ext <<_ACEOF
15809 /* confdefs.h. */
15810 _ACEOF
15811 cat confdefs.h >>conftest.$ac_ext
15812 cat >>conftest.$ac_ext <<_ACEOF
15813 /* end confdefs.h. */
15815 /* Override any GCC internal prototype to avoid an error.
15816 Use char because int might match the return type of a GCC
15817 builtin and then its argument prototype would still apply. */
15818 #ifdef __cplusplus
15819 extern "C"
15820 #endif
15821 char SQLConnect ();
15823 main ()
15825 return SQLConnect ();
15827 return 0;
15829 _ACEOF
15830 rm -f conftest.$ac_objext conftest$ac_exeext
15831 if { (ac_try="$ac_link"
15832 case "(($ac_try" in
15833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15834 *) ac_try_echo=$ac_try;;
15835 esac
15836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15837 (eval "$ac_link") 2>conftest.er1
15838 ac_status=$?
15839 grep -v '^ *+' conftest.er1 >conftest.err
15840 rm -f conftest.er1
15841 cat conftest.err >&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); } && {
15844 test -z "$ac_c_werror_flag" ||
15845 test ! -s conftest.err
15846 } && test -s conftest$ac_exeext &&
15847 $as_test_x conftest$ac_exeext; then
15848 case "$LIBEXT" in
15849 dll) ;;
15850 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15851 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15852 esac
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15861 conftest$ac_exeext conftest.$ac_ext
15862 LIBS=$ac_check_soname_save_LIBS
15864 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15865 { echo "$as_me:$LINENO: result: not found" >&5
15866 echo "${ECHO_T}not found" >&6; }
15867 cat >>confdefs.h <<_ACEOF
15868 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15869 _ACEOF
15871 else
15872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15873 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15875 cat >>confdefs.h <<_ACEOF
15876 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15877 _ACEOF
15883 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15884 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15885 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15886 "$ac_cv_header_soundcard_h" != "yes" -a \
15887 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15888 then
15889 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15893 EXTRACFLAGS=""
15895 if test "x${GCC}" = "xyes"
15896 then
15897 EXTRACFLAGS="-Wall -pipe"
15899 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15900 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15901 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15902 echo $ECHO_N "(cached) $ECHO_C" >&6
15903 else
15904 if test "$cross_compiling" = yes; then
15905 ac_cv_c_gcc_strength_bug="yes"
15906 else
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 int L[4] = {0,1,2,3};
15915 main ()
15917 static int Array[3];
15918 unsigned int B = 3;
15919 int i;
15920 for(i=0; i<B; i++) Array[i] = i - 3;
15921 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15922 L[i] = 4;
15923 exit( Array[1] != -2 || L[2] != 3)
15925 return 0;
15927 _ACEOF
15928 rm -f conftest$ac_exeext
15929 if { (ac_try="$ac_link"
15930 case "(($ac_try" in
15931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15932 *) ac_try_echo=$ac_try;;
15933 esac
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_link") 2>&5
15936 ac_status=$?
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15939 { (case "(($ac_try" in
15940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15941 *) ac_try_echo=$ac_try;;
15942 esac
15943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15944 (eval "$ac_try") 2>&5
15945 ac_status=$?
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; }; then
15948 ac_cv_c_gcc_strength_bug="no"
15949 else
15950 echo "$as_me: program exited with status $ac_status" >&5
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15954 ( exit $ac_status )
15955 ac_cv_c_gcc_strength_bug="yes"
15957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15962 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15963 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15964 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15965 then
15966 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15970 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15971 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15972 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 else
15975 ac_wine_try_cflags_saved=$CFLAGS
15976 CFLAGS="$CFLAGS -fshort-wchar"
15977 cat >conftest.$ac_ext <<_ACEOF
15978 /* confdefs.h. */
15979 _ACEOF
15980 cat confdefs.h >>conftest.$ac_ext
15981 cat >>conftest.$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15985 main ()
15989 return 0;
15991 _ACEOF
15992 rm -f conftest.$ac_objext conftest$ac_exeext
15993 if { (ac_try="$ac_link"
15994 case "(($ac_try" in
15995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15996 *) ac_try_echo=$ac_try;;
15997 esac
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_link") 2>conftest.er1
16000 ac_status=$?
16001 grep -v '^ *+' conftest.er1 >conftest.err
16002 rm -f conftest.er1
16003 cat conftest.err >&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } && {
16006 test -z "$ac_c_werror_flag" ||
16007 test ! -s conftest.err
16008 } && test -s conftest$ac_exeext &&
16009 $as_test_x conftest$ac_exeext; then
16010 ac_cv_cflags__fshort_wchar=yes
16011 else
16012 echo "$as_me: failed program was:" >&5
16013 sed 's/^/| /' conftest.$ac_ext >&5
16015 ac_cv_cflags__fshort_wchar=no
16018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16019 conftest$ac_exeext conftest.$ac_ext
16020 CFLAGS=$ac_wine_try_cflags_saved
16022 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16023 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16024 if test $ac_cv_cflags__fshort_wchar = yes; then
16026 cat >>confdefs.h <<\_ACEOF
16027 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16028 _ACEOF
16032 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16033 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16034 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16035 echo $ECHO_N "(cached) $ECHO_C" >&6
16036 else
16037 ac_wine_try_cflags_saved=$CFLAGS
16038 CFLAGS="$CFLAGS -fno-strict-aliasing"
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16047 main ()
16051 return 0;
16053 _ACEOF
16054 rm -f conftest.$ac_objext conftest$ac_exeext
16055 if { (ac_try="$ac_link"
16056 case "(($ac_try" in
16057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16058 *) ac_try_echo=$ac_try;;
16059 esac
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_link") 2>conftest.er1
16062 ac_status=$?
16063 grep -v '^ *+' conftest.er1 >conftest.err
16064 rm -f conftest.er1
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } && {
16068 test -z "$ac_c_werror_flag" ||
16069 test ! -s conftest.err
16070 } && test -s conftest$ac_exeext &&
16071 $as_test_x conftest$ac_exeext; then
16072 ac_cv_cflags__fno_strict_aliasing=yes
16073 else
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.$ac_ext >&5
16077 ac_cv_cflags__fno_strict_aliasing=no
16080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16081 conftest$ac_exeext conftest.$ac_ext
16082 CFLAGS=$ac_wine_try_cflags_saved
16084 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16085 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16086 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16087 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16090 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16091 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16092 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 else
16095 ac_wine_try_cflags_saved=$CFLAGS
16096 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16105 main ()
16109 return 0;
16111 _ACEOF
16112 rm -f conftest.$ac_objext conftest$ac_exeext
16113 if { (ac_try="$ac_link"
16114 case "(($ac_try" in
16115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16116 *) ac_try_echo=$ac_try;;
16117 esac
16118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16119 (eval "$ac_link") 2>conftest.er1
16120 ac_status=$?
16121 grep -v '^ *+' conftest.er1 >conftest.err
16122 rm -f conftest.er1
16123 cat conftest.err >&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } && {
16126 test -z "$ac_c_werror_flag" ||
16127 test ! -s conftest.err
16128 } && test -s conftest$ac_exeext &&
16129 $as_test_x conftest$ac_exeext; then
16130 ac_cv_cflags__Wdeclaration_after_statement=yes
16131 else
16132 echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.$ac_ext >&5
16135 ac_cv_cflags__Wdeclaration_after_statement=no
16138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16139 conftest$ac_exeext conftest.$ac_ext
16140 CFLAGS=$ac_wine_try_cflags_saved
16142 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16143 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16144 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16145 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16148 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16149 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16150 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 else
16153 ac_wine_try_cflags_saved=$CFLAGS
16154 CFLAGS="$CFLAGS -Wwrite-strings"
16155 cat >conftest.$ac_ext <<_ACEOF
16156 /* confdefs.h. */
16157 _ACEOF
16158 cat confdefs.h >>conftest.$ac_ext
16159 cat >>conftest.$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16163 main ()
16167 return 0;
16169 _ACEOF
16170 rm -f conftest.$ac_objext conftest$ac_exeext
16171 if { (ac_try="$ac_link"
16172 case "(($ac_try" in
16173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16174 *) ac_try_echo=$ac_try;;
16175 esac
16176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16177 (eval "$ac_link") 2>conftest.er1
16178 ac_status=$?
16179 grep -v '^ *+' conftest.er1 >conftest.err
16180 rm -f conftest.er1
16181 cat conftest.err >&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } && {
16184 test -z "$ac_c_werror_flag" ||
16185 test ! -s conftest.err
16186 } && test -s conftest$ac_exeext &&
16187 $as_test_x conftest$ac_exeext; then
16188 ac_cv_cflags__Wwrite_strings=yes
16189 else
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16193 ac_cv_cflags__Wwrite_strings=no
16196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16197 conftest$ac_exeext conftest.$ac_ext
16198 CFLAGS=$ac_wine_try_cflags_saved
16200 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16201 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16202 if test $ac_cv_cflags__Wwrite_strings = yes; then
16203 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16206 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16207 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16208 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 else
16211 ac_wine_try_cflags_saved=$CFLAGS
16212 CFLAGS="$CFLAGS -Wtype-limits"
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h. */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16221 main ()
16225 return 0;
16227 _ACEOF
16228 rm -f conftest.$ac_objext conftest$ac_exeext
16229 if { (ac_try="$ac_link"
16230 case "(($ac_try" in
16231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16232 *) ac_try_echo=$ac_try;;
16233 esac
16234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16235 (eval "$ac_link") 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } && {
16242 test -z "$ac_c_werror_flag" ||
16243 test ! -s conftest.err
16244 } && test -s conftest$ac_exeext &&
16245 $as_test_x conftest$ac_exeext; then
16246 ac_cv_cflags__Wtype_limits=yes
16247 else
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.$ac_ext >&5
16251 ac_cv_cflags__Wtype_limits=no
16254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16255 conftest$ac_exeext conftest.$ac_ext
16256 CFLAGS=$ac_wine_try_cflags_saved
16258 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16259 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16260 if test $ac_cv_cflags__Wtype_limits = yes; then
16261 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16265 saved_CFLAGS="$CFLAGS"
16266 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16267 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16268 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16269 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16270 echo $ECHO_N "(cached) $ECHO_C" >&6
16271 else
16272 cat >conftest.$ac_ext <<_ACEOF
16273 /* confdefs.h. */
16274 _ACEOF
16275 cat confdefs.h >>conftest.$ac_ext
16276 cat >>conftest.$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 #include <string.h>
16280 main ()
16284 return 0;
16286 _ACEOF
16287 rm -f conftest.$ac_objext
16288 if { (ac_try="$ac_compile"
16289 case "(($ac_try" in
16290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16291 *) ac_try_echo=$ac_try;;
16292 esac
16293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16294 (eval "$ac_compile") 2>conftest.er1
16295 ac_status=$?
16296 grep -v '^ *+' conftest.er1 >conftest.err
16297 rm -f conftest.er1
16298 cat conftest.err >&5
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } && {
16301 test -z "$ac_c_werror_flag" ||
16302 test ! -s conftest.err
16303 } && test -s conftest.$ac_objext; then
16304 ac_cv_c_string_h_warnings=no
16305 else
16306 echo "$as_me: failed program was:" >&5
16307 sed 's/^/| /' conftest.$ac_ext >&5
16309 ac_cv_c_string_h_warnings=yes
16312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16314 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16315 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16316 CFLAGS="$saved_CFLAGS"
16317 if test "$ac_cv_c_string_h_warnings" = "no"
16318 then
16319 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16322 BUILTINFLAG=""
16324 saved_CFLAGS="$CFLAGS"
16325 CFLAGS="$CFLAGS -Werror"
16326 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16327 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16328 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16330 else
16331 cat >conftest.$ac_ext <<_ACEOF
16332 /* confdefs.h. */
16333 _ACEOF
16334 cat confdefs.h >>conftest.$ac_ext
16335 cat >>conftest.$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16339 main ()
16341 int iswlower(unsigned short);
16343 return 0;
16345 _ACEOF
16346 rm -f conftest.$ac_objext
16347 if { (ac_try="$ac_compile"
16348 case "(($ac_try" in
16349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16351 esac
16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16353 (eval "$ac_compile") 2>conftest.er1
16354 ac_status=$?
16355 grep -v '^ *+' conftest.er1 >conftest.err
16356 rm -f conftest.er1
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } && {
16360 test -z "$ac_c_werror_flag" ||
16361 test ! -s conftest.err
16362 } && test -s conftest.$ac_objext; then
16363 ac_cv_c_builtin_wchar_ctype=no
16364 else
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.$ac_ext >&5
16368 ac_cv_c_builtin_wchar_ctype=yes
16371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16373 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16374 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16375 CFLAGS="$saved_CFLAGS"
16376 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16377 then
16378 BUILTINFLAG="-fno-builtin"
16383 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16384 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16385 if test "${ac_cv_asm_func_def+set}" = set; then
16386 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 else
16388 cat >conftest.$ac_ext <<_ACEOF
16389 /* confdefs.h. */
16390 _ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16396 main ()
16398 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16400 return 0;
16402 _ACEOF
16403 rm -f conftest.$ac_objext conftest$ac_exeext
16404 if { (ac_try="$ac_link"
16405 case "(($ac_try" in
16406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16407 *) ac_try_echo=$ac_try;;
16408 esac
16409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16410 (eval "$ac_link") 2>conftest.er1
16411 ac_status=$?
16412 grep -v '^ *+' conftest.er1 >conftest.err
16413 rm -f conftest.er1
16414 cat conftest.err >&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); } && {
16417 test -z "$ac_c_werror_flag" ||
16418 test ! -s conftest.err
16419 } && test -s conftest$ac_exeext &&
16420 $as_test_x conftest$ac_exeext; then
16421 ac_cv_asm_func_def=".def"
16422 else
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.$ac_ext >&5
16426 cat >conftest.$ac_ext <<_ACEOF
16427 /* confdefs.h. */
16428 _ACEOF
16429 cat confdefs.h >>conftest.$ac_ext
16430 cat >>conftest.$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16434 main ()
16436 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16438 return 0;
16440 _ACEOF
16441 rm -f conftest.$ac_objext conftest$ac_exeext
16442 if { (ac_try="$ac_link"
16443 case "(($ac_try" in
16444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16445 *) ac_try_echo=$ac_try;;
16446 esac
16447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16448 (eval "$ac_link") 2>conftest.er1
16449 ac_status=$?
16450 grep -v '^ *+' conftest.er1 >conftest.err
16451 rm -f conftest.er1
16452 cat conftest.err >&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } && {
16455 test -z "$ac_c_werror_flag" ||
16456 test ! -s conftest.err
16457 } && test -s conftest$ac_exeext &&
16458 $as_test_x conftest$ac_exeext; then
16459 ac_cv_asm_func_def=".type @function"
16460 else
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16464 cat >conftest.$ac_ext <<_ACEOF
16465 /* confdefs.h. */
16466 _ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16472 main ()
16474 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16476 return 0;
16478 _ACEOF
16479 rm -f conftest.$ac_objext conftest$ac_exeext
16480 if { (ac_try="$ac_link"
16481 case "(($ac_try" in
16482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16483 *) ac_try_echo=$ac_try;;
16484 esac
16485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16486 (eval "$ac_link") 2>conftest.er1
16487 ac_status=$?
16488 grep -v '^ *+' conftest.er1 >conftest.err
16489 rm -f conftest.er1
16490 cat conftest.err >&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); } && {
16493 test -z "$ac_c_werror_flag" ||
16494 test ! -s conftest.err
16495 } && test -s conftest$ac_exeext &&
16496 $as_test_x conftest$ac_exeext; then
16497 ac_cv_asm_func_def=".type 2"
16498 else
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16502 ac_cv_asm_func_def="unknown"
16505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16506 conftest$ac_exeext conftest.$ac_ext
16509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16510 conftest$ac_exeext conftest.$ac_ext
16513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16514 conftest$ac_exeext conftest.$ac_ext
16516 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16517 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16521 case "$ac_cv_asm_func_def" in
16522 ".def")
16523 cat >>confdefs.h <<\_ACEOF
16524 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16525 _ACEOF
16527 ".type @function")
16528 cat >>confdefs.h <<\_ACEOF
16529 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16530 _ACEOF
16532 ".type 2")
16533 cat >>confdefs.h <<\_ACEOF
16534 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16535 _ACEOF
16538 cat >>confdefs.h <<\_ACEOF
16539 #define __ASM_FUNC(name) ""
16540 _ACEOF
16542 esac
16545 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16546 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16547 if test "${ac_cv_c_extern_prefix+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 else
16550 cat >conftest.$ac_ext <<_ACEOF
16551 /* confdefs.h. */
16552 _ACEOF
16553 cat confdefs.h >>conftest.$ac_ext
16554 cat >>conftest.$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16556 extern int ac_test;
16558 main ()
16560 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16562 return 0;
16564 _ACEOF
16565 rm -f conftest.$ac_objext conftest$ac_exeext
16566 if { (ac_try="$ac_link"
16567 case "(($ac_try" in
16568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16569 *) ac_try_echo=$ac_try;;
16570 esac
16571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16572 (eval "$ac_link") 2>conftest.er1
16573 ac_status=$?
16574 grep -v '^ *+' conftest.er1 >conftest.err
16575 rm -f conftest.er1
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } && {
16579 test -z "$ac_c_werror_flag" ||
16580 test ! -s conftest.err
16581 } && test -s conftest$ac_exeext &&
16582 $as_test_x conftest$ac_exeext; then
16583 ac_cv_c_extern_prefix="yes"
16584 else
16585 echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.$ac_ext >&5
16588 ac_cv_c_extern_prefix="no"
16591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16592 conftest$ac_exeext conftest.$ac_ext
16594 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16595 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16599 if test "$ac_cv_c_extern_prefix" = "yes"
16600 then
16601 cat >>confdefs.h <<\_ACEOF
16602 #define __ASM_NAME(name) "_" name
16603 _ACEOF
16605 else
16606 cat >>confdefs.h <<\_ACEOF
16607 #define __ASM_NAME(name) name
16608 _ACEOF
16613 LDPATH=""
16615 case $build_os in
16616 cygwin*|mingw32*)
16617 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16619 darwin*|macosx*)
16621 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16622 then
16623 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16627 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16629 esac
16631 case $host_os in
16632 mingw32*)
16633 CRTLIBS="-lmsvcrt"
16635 SOCKETLIBS="-lws2_32"
16638 esac
16640 MAIN_BINARY="wine-pthread"
16641 case $host_cpu in
16642 *i[3456789]86*)
16643 case $host_os in
16644 linux* | k*bsd*-gnu)
16645 MAIN_BINARY="wine-glibc"
16647 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16649 freebsd*)
16650 MAIN_BINARY="wine-freebsd"
16652 EXTRA_BINARIES="wine-pthread"
16654 esac
16656 esac
16728 for ac_func in \
16729 _pclose \
16730 _popen \
16731 _snprintf \
16732 _spawnvp \
16733 _strdup \
16734 _stricmp \
16735 _strnicmp \
16736 _strtoi64 \
16737 _strtoui64 \
16738 _vsnprintf \
16739 asctime_r \
16740 chsize \
16741 clone \
16742 dlopen \
16743 epoll_create \
16744 ffs \
16745 finite \
16746 fork \
16747 fpclass \
16748 fstatfs \
16749 fstatvfs \
16750 ftruncate \
16751 futimes \
16752 futimesat \
16753 getdirentries \
16754 getopt_long \
16755 getpagesize \
16756 getpwuid \
16757 gettid \
16758 gettimeofday \
16759 getuid \
16760 inet_pton \
16761 kqueue \
16762 lstat \
16763 memmove \
16764 mmap \
16765 pclose \
16766 poll \
16767 popen \
16768 prctl \
16769 pread \
16770 pwrite \
16771 readlink \
16772 rfork \
16773 sched_yield \
16774 select \
16775 setproctitle \
16776 setrlimit \
16777 settimeofday \
16778 sigaltstack \
16779 sigprocmask \
16780 snprintf \
16781 spawnvp \
16782 statfs \
16783 statvfs \
16784 strcasecmp \
16785 strdup \
16786 strerror \
16787 strncasecmp \
16788 strtold \
16789 strtoll \
16790 strtoull \
16791 tcgetattr \
16792 thr_kill2 \
16793 timegm \
16794 usleep \
16795 vsnprintf \
16796 wait4 \
16797 waitpid \
16800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 else
16806 cat >conftest.$ac_ext <<_ACEOF
16807 /* confdefs.h. */
16808 _ACEOF
16809 cat confdefs.h >>conftest.$ac_ext
16810 cat >>conftest.$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16814 #define $ac_func innocuous_$ac_func
16816 /* System header to define __stub macros and hopefully few prototypes,
16817 which can conflict with char $ac_func (); below.
16818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16819 <limits.h> exists even on freestanding compilers. */
16821 #ifdef __STDC__
16822 # include <limits.h>
16823 #else
16824 # include <assert.h>
16825 #endif
16827 #undef $ac_func
16829 /* Override any GCC internal prototype to avoid an error.
16830 Use char because int might match the return type of a GCC
16831 builtin and then its argument prototype would still apply. */
16832 #ifdef __cplusplus
16833 extern "C"
16834 #endif
16835 char $ac_func ();
16836 /* The GNU C library defines this for functions which it implements
16837 to always fail with ENOSYS. Some functions are actually named
16838 something starting with __ and the normal name is an alias. */
16839 #if defined __stub_$ac_func || defined __stub___$ac_func
16840 choke me
16841 #endif
16844 main ()
16846 return $ac_func ();
16848 return 0;
16850 _ACEOF
16851 rm -f conftest.$ac_objext conftest$ac_exeext
16852 if { (ac_try="$ac_link"
16853 case "(($ac_try" in
16854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16855 *) ac_try_echo=$ac_try;;
16856 esac
16857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16858 (eval "$ac_link") 2>conftest.er1
16859 ac_status=$?
16860 grep -v '^ *+' conftest.er1 >conftest.err
16861 rm -f conftest.er1
16862 cat conftest.err >&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); } && {
16865 test -z "$ac_c_werror_flag" ||
16866 test ! -s conftest.err
16867 } && test -s conftest$ac_exeext &&
16868 $as_test_x conftest$ac_exeext; then
16869 eval "$as_ac_var=yes"
16870 else
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16874 eval "$as_ac_var=no"
16877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16878 conftest$ac_exeext conftest.$ac_ext
16880 ac_res=`eval echo '${'$as_ac_var'}'`
16881 { echo "$as_me:$LINENO: result: $ac_res" >&5
16882 echo "${ECHO_T}$ac_res" >&6; }
16883 if test `eval echo '${'$as_ac_var'}'` = yes; then
16884 cat >>confdefs.h <<_ACEOF
16885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16886 _ACEOF
16889 done
16892 if test "$ac_cv_func_dlopen" = no
16893 then
16894 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16897 echo $ECHO_N "(cached) $ECHO_C" >&6
16898 else
16899 ac_check_lib_save_LIBS=$LIBS
16900 LIBS="-ldl $LIBS"
16901 cat >conftest.$ac_ext <<_ACEOF
16902 /* confdefs.h. */
16903 _ACEOF
16904 cat confdefs.h >>conftest.$ac_ext
16905 cat >>conftest.$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16908 /* Override any GCC internal prototype to avoid an error.
16909 Use char because int might match the return type of a GCC
16910 builtin and then its argument prototype would still apply. */
16911 #ifdef __cplusplus
16912 extern "C"
16913 #endif
16914 char dlopen ();
16916 main ()
16918 return dlopen ();
16920 return 0;
16922 _ACEOF
16923 rm -f conftest.$ac_objext conftest$ac_exeext
16924 if { (ac_try="$ac_link"
16925 case "(($ac_try" in
16926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16927 *) ac_try_echo=$ac_try;;
16928 esac
16929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16930 (eval "$ac_link") 2>conftest.er1
16931 ac_status=$?
16932 grep -v '^ *+' conftest.er1 >conftest.err
16933 rm -f conftest.er1
16934 cat conftest.err >&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } && {
16937 test -z "$ac_c_werror_flag" ||
16938 test ! -s conftest.err
16939 } && test -s conftest$ac_exeext &&
16940 $as_test_x conftest$ac_exeext; then
16941 ac_cv_lib_dl_dlopen=yes
16942 else
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.$ac_ext >&5
16946 ac_cv_lib_dl_dlopen=no
16949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16950 conftest$ac_exeext conftest.$ac_ext
16951 LIBS=$ac_check_lib_save_LIBS
16953 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16954 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16955 if test $ac_cv_lib_dl_dlopen = yes; then
16956 cat >>confdefs.h <<\_ACEOF
16957 #define HAVE_DLOPEN 1
16958 _ACEOF
16959 LIBDL="-ldl"
16964 ac_wine_check_funcs_save_LIBS="$LIBS"
16965 LIBS="$LIBS $LIBDL"
16967 for ac_func in dladdr
16969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16973 echo $ECHO_N "(cached) $ECHO_C" >&6
16974 else
16975 cat >conftest.$ac_ext <<_ACEOF
16976 /* confdefs.h. */
16977 _ACEOF
16978 cat confdefs.h >>conftest.$ac_ext
16979 cat >>conftest.$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16983 #define $ac_func innocuous_$ac_func
16985 /* System header to define __stub macros and hopefully few prototypes,
16986 which can conflict with char $ac_func (); below.
16987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16988 <limits.h> exists even on freestanding compilers. */
16990 #ifdef __STDC__
16991 # include <limits.h>
16992 #else
16993 # include <assert.h>
16994 #endif
16996 #undef $ac_func
16998 /* Override any GCC internal prototype to avoid an error.
16999 Use char because int might match the return type of a GCC
17000 builtin and then its argument prototype would still apply. */
17001 #ifdef __cplusplus
17002 extern "C"
17003 #endif
17004 char $ac_func ();
17005 /* The GNU C library defines this for functions which it implements
17006 to always fail with ENOSYS. Some functions are actually named
17007 something starting with __ and the normal name is an alias. */
17008 #if defined __stub_$ac_func || defined __stub___$ac_func
17009 choke me
17010 #endif
17013 main ()
17015 return $ac_func ();
17017 return 0;
17019 _ACEOF
17020 rm -f conftest.$ac_objext conftest$ac_exeext
17021 if { (ac_try="$ac_link"
17022 case "(($ac_try" in
17023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17024 *) ac_try_echo=$ac_try;;
17025 esac
17026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17027 (eval "$ac_link") 2>conftest.er1
17028 ac_status=$?
17029 grep -v '^ *+' conftest.er1 >conftest.err
17030 rm -f conftest.er1
17031 cat conftest.err >&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } && {
17034 test -z "$ac_c_werror_flag" ||
17035 test ! -s conftest.err
17036 } && test -s conftest$ac_exeext &&
17037 $as_test_x conftest$ac_exeext; then
17038 eval "$as_ac_var=yes"
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 eval "$as_ac_var=no"
17046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17047 conftest$ac_exeext conftest.$ac_ext
17049 ac_res=`eval echo '${'$as_ac_var'}'`
17050 { echo "$as_me:$LINENO: result: $ac_res" >&5
17051 echo "${ECHO_T}$ac_res" >&6; }
17052 if test `eval echo '${'$as_ac_var'}'` = yes; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17055 _ACEOF
17058 done
17060 LIBS="$ac_wine_check_funcs_save_LIBS"
17062 if test "$ac_cv_func_poll" = no
17063 then
17064 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17065 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17066 if test "${ac_cv_lib_poll_poll+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 ac_check_lib_save_LIBS=$LIBS
17070 LIBS="-lpoll $LIBS"
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17078 /* Override any GCC internal prototype to avoid an error.
17079 Use char because int might match the return type of a GCC
17080 builtin and then its argument prototype would still apply. */
17081 #ifdef __cplusplus
17082 extern "C"
17083 #endif
17084 char poll ();
17086 main ()
17088 return poll ();
17090 return 0;
17092 _ACEOF
17093 rm -f conftest.$ac_objext conftest$ac_exeext
17094 if { (ac_try="$ac_link"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17098 esac
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_link") 2>conftest.er1
17101 ac_status=$?
17102 grep -v '^ *+' conftest.er1 >conftest.err
17103 rm -f conftest.er1
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } && {
17107 test -z "$ac_c_werror_flag" ||
17108 test ! -s conftest.err
17109 } && test -s conftest$ac_exeext &&
17110 $as_test_x conftest$ac_exeext; then
17111 ac_cv_lib_poll_poll=yes
17112 else
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17116 ac_cv_lib_poll_poll=no
17119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17120 conftest$ac_exeext conftest.$ac_ext
17121 LIBS=$ac_check_lib_save_LIBS
17123 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17124 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17125 if test $ac_cv_lib_poll_poll = yes; then
17126 cat >>confdefs.h <<\_ACEOF
17127 #define HAVE_POLL 1
17128 _ACEOF
17129 LIBPOLL="-lpoll"
17135 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17136 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17137 if test "${ac_cv_search_gethostbyname+set}" = set; then
17138 echo $ECHO_N "(cached) $ECHO_C" >&6
17139 else
17140 ac_func_search_save_LIBS=$LIBS
17141 cat >conftest.$ac_ext <<_ACEOF
17142 /* confdefs.h. */
17143 _ACEOF
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17148 /* Override any GCC internal prototype to avoid an error.
17149 Use char because int might match the return type of a GCC
17150 builtin and then its argument prototype would still apply. */
17151 #ifdef __cplusplus
17152 extern "C"
17153 #endif
17154 char gethostbyname ();
17156 main ()
17158 return gethostbyname ();
17160 return 0;
17162 _ACEOF
17163 for ac_lib in '' nsl; do
17164 if test -z "$ac_lib"; then
17165 ac_res="none required"
17166 else
17167 ac_res=-l$ac_lib
17168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17170 rm -f conftest.$ac_objext conftest$ac_exeext
17171 if { (ac_try="$ac_link"
17172 case "(($ac_try" in
17173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17174 *) ac_try_echo=$ac_try;;
17175 esac
17176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17177 (eval "$ac_link") 2>conftest.er1
17178 ac_status=$?
17179 grep -v '^ *+' conftest.er1 >conftest.err
17180 rm -f conftest.er1
17181 cat conftest.err >&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } && {
17184 test -z "$ac_c_werror_flag" ||
17185 test ! -s conftest.err
17186 } && test -s conftest$ac_exeext &&
17187 $as_test_x conftest$ac_exeext; then
17188 ac_cv_search_gethostbyname=$ac_res
17189 else
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17197 conftest$ac_exeext
17198 if test "${ac_cv_search_gethostbyname+set}" = set; then
17199 break
17201 done
17202 if test "${ac_cv_search_gethostbyname+set}" = set; then
17204 else
17205 ac_cv_search_gethostbyname=no
17207 rm conftest.$ac_ext
17208 LIBS=$ac_func_search_save_LIBS
17210 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17211 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17212 ac_res=$ac_cv_search_gethostbyname
17213 if test "$ac_res" != no; then
17214 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17219 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17220 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17221 if test "${ac_cv_search_connect+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 else
17224 ac_func_search_save_LIBS=$LIBS
17225 cat >conftest.$ac_ext <<_ACEOF
17226 /* confdefs.h. */
17227 _ACEOF
17228 cat confdefs.h >>conftest.$ac_ext
17229 cat >>conftest.$ac_ext <<_ACEOF
17230 /* end confdefs.h. */
17232 /* Override any GCC internal prototype to avoid an error.
17233 Use char because int might match the return type of a GCC
17234 builtin and then its argument prototype would still apply. */
17235 #ifdef __cplusplus
17236 extern "C"
17237 #endif
17238 char connect ();
17240 main ()
17242 return connect ();
17244 return 0;
17246 _ACEOF
17247 for ac_lib in '' socket; do
17248 if test -z "$ac_lib"; then
17249 ac_res="none required"
17250 else
17251 ac_res=-l$ac_lib
17252 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17254 rm -f conftest.$ac_objext conftest$ac_exeext
17255 if { (ac_try="$ac_link"
17256 case "(($ac_try" in
17257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17258 *) ac_try_echo=$ac_try;;
17259 esac
17260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17261 (eval "$ac_link") 2>conftest.er1
17262 ac_status=$?
17263 grep -v '^ *+' conftest.er1 >conftest.err
17264 rm -f conftest.er1
17265 cat conftest.err >&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } && {
17268 test -z "$ac_c_werror_flag" ||
17269 test ! -s conftest.err
17270 } && test -s conftest$ac_exeext &&
17271 $as_test_x conftest$ac_exeext; then
17272 ac_cv_search_connect=$ac_res
17273 else
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17281 conftest$ac_exeext
17282 if test "${ac_cv_search_connect+set}" = set; then
17283 break
17285 done
17286 if test "${ac_cv_search_connect+set}" = set; then
17288 else
17289 ac_cv_search_connect=no
17291 rm conftest.$ac_ext
17292 LIBS=$ac_func_search_save_LIBS
17294 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17295 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17296 ac_res=$ac_cv_search_connect
17297 if test "$ac_res" != no; then
17298 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17303 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17304 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17305 if test "${ac_cv_search_inet_aton+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308 ac_func_search_save_LIBS=$LIBS
17309 cat >conftest.$ac_ext <<_ACEOF
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17316 /* Override any GCC internal prototype to avoid an error.
17317 Use char because int might match the return type of a GCC
17318 builtin and then its argument prototype would still apply. */
17319 #ifdef __cplusplus
17320 extern "C"
17321 #endif
17322 char inet_aton ();
17324 main ()
17326 return inet_aton ();
17328 return 0;
17330 _ACEOF
17331 for ac_lib in '' resolv; do
17332 if test -z "$ac_lib"; then
17333 ac_res="none required"
17334 else
17335 ac_res=-l$ac_lib
17336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17338 rm -f conftest.$ac_objext conftest$ac_exeext
17339 if { (ac_try="$ac_link"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17343 esac
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>conftest.er1
17346 ac_status=$?
17347 grep -v '^ *+' conftest.er1 >conftest.err
17348 rm -f conftest.er1
17349 cat conftest.err >&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && {
17352 test -z "$ac_c_werror_flag" ||
17353 test ! -s conftest.err
17354 } && test -s conftest$ac_exeext &&
17355 $as_test_x conftest$ac_exeext; then
17356 ac_cv_search_inet_aton=$ac_res
17357 else
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17365 conftest$ac_exeext
17366 if test "${ac_cv_search_inet_aton+set}" = set; then
17367 break
17369 done
17370 if test "${ac_cv_search_inet_aton+set}" = set; then
17372 else
17373 ac_cv_search_inet_aton=no
17375 rm conftest.$ac_ext
17376 LIBS=$ac_func_search_save_LIBS
17378 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17379 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17380 ac_res=$ac_cv_search_inet_aton
17381 if test "$ac_res" != no; then
17382 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17395 for ac_func in \
17396 getaddrinfo \
17397 getnameinfo \
17398 getnetbyname \
17399 getprotobyname \
17400 getprotobynumber \
17401 getservbyport \
17402 inet_network \
17403 sendmsg \
17406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 else
17412 cat >conftest.$ac_ext <<_ACEOF
17413 /* confdefs.h. */
17414 _ACEOF
17415 cat confdefs.h >>conftest.$ac_ext
17416 cat >>conftest.$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17420 #define $ac_func innocuous_$ac_func
17422 /* System header to define __stub macros and hopefully few prototypes,
17423 which can conflict with char $ac_func (); below.
17424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17425 <limits.h> exists even on freestanding compilers. */
17427 #ifdef __STDC__
17428 # include <limits.h>
17429 #else
17430 # include <assert.h>
17431 #endif
17433 #undef $ac_func
17435 /* Override any GCC internal prototype to avoid an error.
17436 Use char because int might match the return type of a GCC
17437 builtin and then its argument prototype would still apply. */
17438 #ifdef __cplusplus
17439 extern "C"
17440 #endif
17441 char $ac_func ();
17442 /* The GNU C library defines this for functions which it implements
17443 to always fail with ENOSYS. Some functions are actually named
17444 something starting with __ and the normal name is an alias. */
17445 #if defined __stub_$ac_func || defined __stub___$ac_func
17446 choke me
17447 #endif
17450 main ()
17452 return $ac_func ();
17454 return 0;
17456 _ACEOF
17457 rm -f conftest.$ac_objext conftest$ac_exeext
17458 if { (ac_try="$ac_link"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17462 esac
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest$ac_exeext &&
17474 $as_test_x conftest$ac_exeext; then
17475 eval "$as_ac_var=yes"
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 eval "$as_ac_var=no"
17483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17484 conftest$ac_exeext conftest.$ac_ext
17486 ac_res=`eval echo '${'$as_ac_var'}'`
17487 { echo "$as_me:$LINENO: result: $ac_res" >&5
17488 echo "${ECHO_T}$ac_res" >&6; }
17489 if test `eval echo '${'$as_ac_var'}'` = yes; then
17490 cat >>confdefs.h <<_ACEOF
17491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17492 _ACEOF
17495 done
17499 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17500 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17501 if test "${ac_cv_c_const+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 else
17504 cat >conftest.$ac_ext <<_ACEOF
17505 /* confdefs.h. */
17506 _ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17512 main ()
17514 /* FIXME: Include the comments suggested by Paul. */
17515 #ifndef __cplusplus
17516 /* Ultrix mips cc rejects this. */
17517 typedef int charset[2];
17518 const charset cs;
17519 /* SunOS 4.1.1 cc rejects this. */
17520 char const *const *pcpcc;
17521 char **ppc;
17522 /* NEC SVR4.0.2 mips cc rejects this. */
17523 struct point {int x, y;};
17524 static struct point const zero = {0,0};
17525 /* AIX XL C 1.02.0.0 rejects this.
17526 It does not let you subtract one const X* pointer from another in
17527 an arm of an if-expression whose if-part is not a constant
17528 expression */
17529 const char *g = "string";
17530 pcpcc = &g + (g ? g-g : 0);
17531 /* HPUX 7.0 cc rejects these. */
17532 ++pcpcc;
17533 ppc = (char**) pcpcc;
17534 pcpcc = (char const *const *) ppc;
17535 { /* SCO 3.2v4 cc rejects this. */
17536 char *t;
17537 char const *s = 0 ? (char *) 0 : (char const *) 0;
17539 *t++ = 0;
17540 if (s) return 0;
17542 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17543 int x[] = {25, 17};
17544 const int *foo = &x[0];
17545 ++foo;
17547 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17548 typedef const int *iptr;
17549 iptr p = 0;
17550 ++p;
17552 { /* AIX XL C 1.02.0.0 rejects this saying
17553 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17554 struct s { int j; const int *ap[3]; };
17555 struct s *b; b->j = 5;
17557 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17558 const int foo = 10;
17559 if (!foo) return 0;
17561 return !cs[0] && !zero.x;
17562 #endif
17565 return 0;
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17576 ac_status=$?
17577 grep -v '^ *+' conftest.er1 >conftest.err
17578 rm -f conftest.er1
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_c_const=yes
17586 else
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17590 ac_cv_c_const=no
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17596 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17597 if test $ac_cv_c_const = no; then
17599 cat >>confdefs.h <<\_ACEOF
17600 #define const
17601 _ACEOF
17605 { echo "$as_me:$LINENO: checking for inline" >&5
17606 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17607 if test "${ac_cv_c_inline+set}" = set; then
17608 echo $ECHO_N "(cached) $ECHO_C" >&6
17609 else
17610 ac_cv_c_inline=no
17611 for ac_kw in inline __inline__ __inline; do
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 #ifndef __cplusplus
17619 typedef int foo_t;
17620 static $ac_kw foo_t static_foo () {return 0; }
17621 $ac_kw foo_t foo () {return 0; }
17622 #endif
17624 _ACEOF
17625 rm -f conftest.$ac_objext
17626 if { (ac_try="$ac_compile"
17627 case "(($ac_try" in
17628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17629 *) ac_try_echo=$ac_try;;
17630 esac
17631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17632 (eval "$ac_compile") 2>conftest.er1
17633 ac_status=$?
17634 grep -v '^ *+' conftest.er1 >conftest.err
17635 rm -f conftest.er1
17636 cat conftest.err >&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } && {
17639 test -z "$ac_c_werror_flag" ||
17640 test ! -s conftest.err
17641 } && test -s conftest.$ac_objext; then
17642 ac_cv_c_inline=$ac_kw
17643 else
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 test "$ac_cv_c_inline" != no && break
17652 done
17655 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17656 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17659 case $ac_cv_c_inline in
17660 inline | yes) ;;
17662 case $ac_cv_c_inline in
17663 no) ac_val=;;
17664 *) ac_val=$ac_cv_c_inline;;
17665 esac
17666 cat >>confdefs.h <<_ACEOF
17667 #ifndef __cplusplus
17668 #define inline $ac_val
17669 #endif
17670 _ACEOF
17672 esac
17674 { echo "$as_me:$LINENO: checking for mode_t" >&5
17675 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17676 if test "${ac_cv_type_mode_t+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17678 else
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17686 typedef mode_t ac__type_new_;
17688 main ()
17690 if ((ac__type_new_ *) 0)
17691 return 0;
17692 if (sizeof (ac__type_new_))
17693 return 0;
17695 return 0;
17697 _ACEOF
17698 rm -f conftest.$ac_objext
17699 if { (ac_try="$ac_compile"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17703 esac
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_compile") 2>conftest.er1
17706 ac_status=$?
17707 grep -v '^ *+' conftest.er1 >conftest.err
17708 rm -f conftest.er1
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && {
17712 test -z "$ac_c_werror_flag" ||
17713 test ! -s conftest.err
17714 } && test -s conftest.$ac_objext; then
17715 ac_cv_type_mode_t=yes
17716 else
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.$ac_ext >&5
17720 ac_cv_type_mode_t=no
17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17726 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17727 if test $ac_cv_type_mode_t = yes; then
17729 cat >>confdefs.h <<_ACEOF
17730 #define HAVE_MODE_T 1
17731 _ACEOF
17735 { echo "$as_me:$LINENO: checking for off_t" >&5
17736 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17737 if test "${ac_cv_type_off_t+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 else
17740 cat >conftest.$ac_ext <<_ACEOF
17741 /* confdefs.h. */
17742 _ACEOF
17743 cat confdefs.h >>conftest.$ac_ext
17744 cat >>conftest.$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 $ac_includes_default
17747 typedef off_t ac__type_new_;
17749 main ()
17751 if ((ac__type_new_ *) 0)
17752 return 0;
17753 if (sizeof (ac__type_new_))
17754 return 0;
17756 return 0;
17758 _ACEOF
17759 rm -f conftest.$ac_objext
17760 if { (ac_try="$ac_compile"
17761 case "(($ac_try" in
17762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17763 *) ac_try_echo=$ac_try;;
17764 esac
17765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17766 (eval "$ac_compile") 2>conftest.er1
17767 ac_status=$?
17768 grep -v '^ *+' conftest.er1 >conftest.err
17769 rm -f conftest.er1
17770 cat conftest.err >&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } && {
17773 test -z "$ac_c_werror_flag" ||
17774 test ! -s conftest.err
17775 } && test -s conftest.$ac_objext; then
17776 ac_cv_type_off_t=yes
17777 else
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.$ac_ext >&5
17781 ac_cv_type_off_t=no
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17787 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17788 if test $ac_cv_type_off_t = yes; then
17790 cat >>confdefs.h <<_ACEOF
17791 #define HAVE_OFF_T 1
17792 _ACEOF
17796 { echo "$as_me:$LINENO: checking for pid_t" >&5
17797 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17798 if test "${ac_cv_type_pid_t+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 else
17801 cat >conftest.$ac_ext <<_ACEOF
17802 /* confdefs.h. */
17803 _ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 $ac_includes_default
17808 typedef pid_t ac__type_new_;
17810 main ()
17812 if ((ac__type_new_ *) 0)
17813 return 0;
17814 if (sizeof (ac__type_new_))
17815 return 0;
17817 return 0;
17819 _ACEOF
17820 rm -f conftest.$ac_objext
17821 if { (ac_try="$ac_compile"
17822 case "(($ac_try" in
17823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17824 *) ac_try_echo=$ac_try;;
17825 esac
17826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 (eval "$ac_compile") 2>conftest.er1
17828 ac_status=$?
17829 grep -v '^ *+' conftest.er1 >conftest.err
17830 rm -f conftest.er1
17831 cat conftest.err >&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } && {
17834 test -z "$ac_c_werror_flag" ||
17835 test ! -s conftest.err
17836 } && test -s conftest.$ac_objext; then
17837 ac_cv_type_pid_t=yes
17838 else
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17842 ac_cv_type_pid_t=no
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17847 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17848 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17849 if test $ac_cv_type_pid_t = yes; then
17851 cat >>confdefs.h <<_ACEOF
17852 #define HAVE_PID_T 1
17853 _ACEOF
17857 { echo "$as_me:$LINENO: checking for size_t" >&5
17858 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17859 if test "${ac_cv_type_size_t+set}" = set; then
17860 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 else
17862 cat >conftest.$ac_ext <<_ACEOF
17863 /* confdefs.h. */
17864 _ACEOF
17865 cat confdefs.h >>conftest.$ac_ext
17866 cat >>conftest.$ac_ext <<_ACEOF
17867 /* end confdefs.h. */
17868 $ac_includes_default
17869 typedef size_t ac__type_new_;
17871 main ()
17873 if ((ac__type_new_ *) 0)
17874 return 0;
17875 if (sizeof (ac__type_new_))
17876 return 0;
17878 return 0;
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17886 esac
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 ac_cv_type_size_t=yes
17899 else
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17903 ac_cv_type_size_t=no
17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17908 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17909 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17910 if test $ac_cv_type_size_t = yes; then
17912 cat >>confdefs.h <<_ACEOF
17913 #define HAVE_SIZE_T 1
17914 _ACEOF
17918 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17919 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17920 if test "${ac_cv_type_ssize_t+set}" = set; then
17921 echo $ECHO_N "(cached) $ECHO_C" >&6
17922 else
17923 cat >conftest.$ac_ext <<_ACEOF
17924 /* confdefs.h. */
17925 _ACEOF
17926 cat confdefs.h >>conftest.$ac_ext
17927 cat >>conftest.$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17929 $ac_includes_default
17930 typedef ssize_t ac__type_new_;
17932 main ()
17934 if ((ac__type_new_ *) 0)
17935 return 0;
17936 if (sizeof (ac__type_new_))
17937 return 0;
17939 return 0;
17941 _ACEOF
17942 rm -f conftest.$ac_objext
17943 if { (ac_try="$ac_compile"
17944 case "(($ac_try" in
17945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17946 *) ac_try_echo=$ac_try;;
17947 esac
17948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17949 (eval "$ac_compile") 2>conftest.er1
17950 ac_status=$?
17951 grep -v '^ *+' conftest.er1 >conftest.err
17952 rm -f conftest.er1
17953 cat conftest.err >&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); } && {
17956 test -z "$ac_c_werror_flag" ||
17957 test ! -s conftest.err
17958 } && test -s conftest.$ac_objext; then
17959 ac_cv_type_ssize_t=yes
17960 else
17961 echo "$as_me: failed program was:" >&5
17962 sed 's/^/| /' conftest.$ac_ext >&5
17964 ac_cv_type_ssize_t=no
17967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17970 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17971 if test $ac_cv_type_ssize_t = yes; then
17973 cat >>confdefs.h <<_ACEOF
17974 #define HAVE_SSIZE_T 1
17975 _ACEOF
17979 { echo "$as_me:$LINENO: checking for long long" >&5
17980 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17981 if test "${ac_cv_type_long_long+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 typedef long long ac__type_new_;
17993 main ()
17995 if ((ac__type_new_ *) 0)
17996 return 0;
17997 if (sizeof (ac__type_new_))
17998 return 0;
18000 return 0;
18002 _ACEOF
18003 rm -f conftest.$ac_objext
18004 if { (ac_try="$ac_compile"
18005 case "(($ac_try" in
18006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18007 *) ac_try_echo=$ac_try;;
18008 esac
18009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18010 (eval "$ac_compile") 2>conftest.er1
18011 ac_status=$?
18012 grep -v '^ *+' conftest.er1 >conftest.err
18013 rm -f conftest.er1
18014 cat conftest.err >&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } && {
18017 test -z "$ac_c_werror_flag" ||
18018 test ! -s conftest.err
18019 } && test -s conftest.$ac_objext; then
18020 ac_cv_type_long_long=yes
18021 else
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18025 ac_cv_type_long_long=no
18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18030 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18031 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18032 if test $ac_cv_type_long_long = yes; then
18034 cat >>confdefs.h <<_ACEOF
18035 #define HAVE_LONG_LONG 1
18036 _ACEOF
18040 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18041 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18042 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 $ac_includes_default
18052 typedef fsblkcnt_t ac__type_new_;
18054 main ()
18056 if ((ac__type_new_ *) 0)
18057 return 0;
18058 if (sizeof (ac__type_new_))
18059 return 0;
18061 return 0;
18063 _ACEOF
18064 rm -f conftest.$ac_objext
18065 if { (ac_try="$ac_compile"
18066 case "(($ac_try" in
18067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18068 *) ac_try_echo=$ac_try;;
18069 esac
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18071 (eval "$ac_compile") 2>conftest.er1
18072 ac_status=$?
18073 grep -v '^ *+' conftest.er1 >conftest.err
18074 rm -f conftest.er1
18075 cat conftest.err >&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } && {
18078 test -z "$ac_c_werror_flag" ||
18079 test ! -s conftest.err
18080 } && test -s conftest.$ac_objext; then
18081 ac_cv_type_fsblkcnt_t=yes
18082 else
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.$ac_ext >&5
18086 ac_cv_type_fsblkcnt_t=no
18089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18091 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18092 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18093 if test $ac_cv_type_fsblkcnt_t = yes; then
18095 cat >>confdefs.h <<_ACEOF
18096 #define HAVE_FSBLKCNT_T 1
18097 _ACEOF
18101 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18102 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18103 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 else
18106 cat >conftest.$ac_ext <<_ACEOF
18107 /* confdefs.h. */
18108 _ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 $ac_includes_default
18113 typedef fsfilcnt_t ac__type_new_;
18115 main ()
18117 if ((ac__type_new_ *) 0)
18118 return 0;
18119 if (sizeof (ac__type_new_))
18120 return 0;
18122 return 0;
18124 _ACEOF
18125 rm -f conftest.$ac_objext
18126 if { (ac_try="$ac_compile"
18127 case "(($ac_try" in
18128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18130 esac
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_compile") 2>conftest.er1
18133 ac_status=$?
18134 grep -v '^ *+' conftest.er1 >conftest.err
18135 rm -f conftest.er1
18136 cat conftest.err >&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } && {
18139 test -z "$ac_c_werror_flag" ||
18140 test ! -s conftest.err
18141 } && test -s conftest.$ac_objext; then
18142 ac_cv_type_fsfilcnt_t=yes
18143 else
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18147 ac_cv_type_fsfilcnt_t=no
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18153 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18154 if test $ac_cv_type_fsfilcnt_t = yes; then
18156 cat >>confdefs.h <<_ACEOF
18157 #define HAVE_FSFILCNT_T 1
18158 _ACEOF
18163 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18164 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18165 if test "${ac_cv_type_sigset_t+set}" = set; then
18166 echo $ECHO_N "(cached) $ECHO_C" >&6
18167 else
18168 cat >conftest.$ac_ext <<_ACEOF
18169 /* confdefs.h. */
18170 _ACEOF
18171 cat confdefs.h >>conftest.$ac_ext
18172 cat >>conftest.$ac_ext <<_ACEOF
18173 /* end confdefs.h. */
18174 #include <signal.h>
18176 typedef sigset_t ac__type_new_;
18178 main ()
18180 if ((ac__type_new_ *) 0)
18181 return 0;
18182 if (sizeof (ac__type_new_))
18183 return 0;
18185 return 0;
18187 _ACEOF
18188 rm -f conftest.$ac_objext
18189 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in
18191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18192 *) ac_try_echo=$ac_try;;
18193 esac
18194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 (eval "$ac_compile") 2>conftest.er1
18196 ac_status=$?
18197 grep -v '^ *+' conftest.er1 >conftest.err
18198 rm -f conftest.er1
18199 cat conftest.err >&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } && {
18202 test -z "$ac_c_werror_flag" ||
18203 test ! -s conftest.err
18204 } && test -s conftest.$ac_objext; then
18205 ac_cv_type_sigset_t=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18210 ac_cv_type_sigset_t=no
18213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18216 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18217 if test $ac_cv_type_sigset_t = yes; then
18219 cat >>confdefs.h <<_ACEOF
18220 #define HAVE_SIGSET_T 1
18221 _ACEOF
18226 { echo "$as_me:$LINENO: checking for request_sense" >&5
18227 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18228 if test "${ac_cv_type_request_sense+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 else
18231 cat >conftest.$ac_ext <<_ACEOF
18232 /* confdefs.h. */
18233 _ACEOF
18234 cat confdefs.h >>conftest.$ac_ext
18235 cat >>conftest.$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18237 #include <linux/cdrom.h>
18239 typedef request_sense ac__type_new_;
18241 main ()
18243 if ((ac__type_new_ *) 0)
18244 return 0;
18245 if (sizeof (ac__type_new_))
18246 return 0;
18248 return 0;
18250 _ACEOF
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18256 esac
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_c_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 ac_cv_type_request_sense=yes
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18273 ac_cv_type_request_sense=no
18276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18279 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18280 if test $ac_cv_type_request_sense = yes; then
18282 cat >>confdefs.h <<_ACEOF
18283 #define HAVE_REQUEST_SENSE 1
18284 _ACEOF
18290 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18291 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18292 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18293 echo $ECHO_N "(cached) $ECHO_C" >&6
18294 else
18295 cat >conftest.$ac_ext <<_ACEOF
18296 /* confdefs.h. */
18297 _ACEOF
18298 cat confdefs.h >>conftest.$ac_ext
18299 cat >>conftest.$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 #ifdef HAVE_LINUX_INPUT_H
18302 #include <linux/input.h>
18303 #endif
18306 main ()
18308 static struct ff_effect ac_aggr;
18309 if (ac_aggr.direction)
18310 return 0;
18312 return 0;
18314 _ACEOF
18315 rm -f conftest.$ac_objext
18316 if { (ac_try="$ac_compile"
18317 case "(($ac_try" in
18318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18319 *) ac_try_echo=$ac_try;;
18320 esac
18321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18322 (eval "$ac_compile") 2>conftest.er1
18323 ac_status=$?
18324 grep -v '^ *+' conftest.er1 >conftest.err
18325 rm -f conftest.er1
18326 cat conftest.err >&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } && {
18329 test -z "$ac_c_werror_flag" ||
18330 test ! -s conftest.err
18331 } && test -s conftest.$ac_objext; then
18332 ac_cv_member_struct_ff_effect_direction=yes
18333 else
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.$ac_ext >&5
18337 cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h. */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 #ifdef HAVE_LINUX_INPUT_H
18344 #include <linux/input.h>
18345 #endif
18348 main ()
18350 static struct ff_effect ac_aggr;
18351 if (sizeof ac_aggr.direction)
18352 return 0;
18354 return 0;
18356 _ACEOF
18357 rm -f conftest.$ac_objext
18358 if { (ac_try="$ac_compile"
18359 case "(($ac_try" in
18360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18361 *) ac_try_echo=$ac_try;;
18362 esac
18363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18364 (eval "$ac_compile") 2>conftest.er1
18365 ac_status=$?
18366 grep -v '^ *+' conftest.er1 >conftest.err
18367 rm -f conftest.er1
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } && {
18371 test -z "$ac_c_werror_flag" ||
18372 test ! -s conftest.err
18373 } && test -s conftest.$ac_objext; then
18374 ac_cv_member_struct_ff_effect_direction=yes
18375 else
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.$ac_ext >&5
18379 ac_cv_member_struct_ff_effect_direction=no
18382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18388 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18389 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18391 cat >>confdefs.h <<_ACEOF
18392 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18393 _ACEOF
18399 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18400 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18401 if test "${wine_cv_have_sigaddset+set}" = set; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6
18403 else
18404 cat >conftest.$ac_ext <<_ACEOF
18405 /* confdefs.h. */
18406 _ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 #include <signal.h>
18412 main ()
18414 sigset_t set; sigaddset(&set,SIGTERM);
18416 return 0;
18418 _ACEOF
18419 rm -f conftest.$ac_objext conftest$ac_exeext
18420 if { (ac_try="$ac_link"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18424 esac
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_link") 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest$ac_exeext &&
18436 $as_test_x conftest$ac_exeext; then
18437 wine_cv_have_sigaddset=yes
18438 else
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18442 wine_cv_have_sigaddset=no
18445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18446 conftest$ac_exeext conftest.$ac_ext
18448 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18449 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18450 if test "$wine_cv_have_sigaddset" = "yes"
18451 then
18453 cat >>confdefs.h <<\_ACEOF
18454 #define HAVE_SIGADDSET 1
18455 _ACEOF
18460 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18461 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18462 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 else
18465 cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <netdb.h>
18473 main ()
18476 char *name=0;
18477 struct hostent he;
18478 struct hostent *result;
18479 char *buf=0;
18480 int bufsize=0;
18481 int res,errnr;
18482 char *addr=0;
18483 int addrlen=0;
18484 int addrtype=0;
18485 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18486 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18489 return 0;
18491 _ACEOF
18492 rm -f conftest.$ac_objext conftest$ac_exeext
18493 if { (ac_try="$ac_link"
18494 case "(($ac_try" in
18495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18496 *) ac_try_echo=$ac_try;;
18497 esac
18498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18499 (eval "$ac_link") 2>conftest.er1
18500 ac_status=$?
18501 grep -v '^ *+' conftest.er1 >conftest.err
18502 rm -f conftest.er1
18503 cat conftest.err >&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); } && {
18506 test -z "$ac_c_werror_flag" ||
18507 test ! -s conftest.err
18508 } && test -s conftest$ac_exeext &&
18509 $as_test_x conftest$ac_exeext; then
18510 wine_cv_linux_gethostbyname_r_6=yes
18511 else
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18515 wine_cv_linux_gethostbyname_r_6=no
18519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18520 conftest$ac_exeext conftest.$ac_ext
18523 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18524 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18525 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18526 then
18528 cat >>confdefs.h <<\_ACEOF
18529 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18530 _ACEOF
18534 if test "$ac_cv_header_linux_joystick_h" = "yes"
18535 then
18536 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18537 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18538 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18548 #include <sys/ioctl.h>
18549 #include <sys/types.h>
18550 #include <linux/joystick.h>
18552 struct js_event blub;
18553 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18554 #error "no 2.2 header"
18555 #endif
18558 main ()
18560 /*empty*/
18562 return 0;
18564 _ACEOF
18565 rm -f conftest.$ac_objext
18566 if { (ac_try="$ac_compile"
18567 case "(($ac_try" in
18568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18569 *) ac_try_echo=$ac_try;;
18570 esac
18571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18572 (eval "$ac_compile") 2>conftest.er1
18573 ac_status=$?
18574 grep -v '^ *+' conftest.er1 >conftest.err
18575 rm -f conftest.er1
18576 cat conftest.err >&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } && {
18579 test -z "$ac_c_werror_flag" ||
18580 test ! -s conftest.err
18581 } && test -s conftest.$ac_objext; then
18582 wine_cv_linux_joystick_22_api=yes
18583 else
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.$ac_ext >&5
18587 wine_cv_linux_joystick_22_api=no
18590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18593 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18594 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18595 if test "$wine_cv_linux_joystick_22_api" = "yes"
18596 then
18598 cat >>confdefs.h <<\_ACEOF
18599 #define HAVE_LINUX_22_JOYSTICK_API 1
18600 _ACEOF
18606 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18607 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18608 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 else
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h. */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 #include <sys/types.h>
18618 #ifdef HAVE_SYS_PARAM_H
18619 # include <sys/param.h>
18620 #endif
18621 #ifdef HAVE_SYS_MOUNT_H
18622 # include <sys/mount.h>
18623 #endif
18624 #ifdef HAVE_SYS_VFS_H
18625 # include <sys/vfs.h>
18626 #endif
18627 #ifdef HAVE_SYS_STATFS_H
18628 # include <sys/statfs.h>
18629 #endif
18632 main ()
18634 static struct statfs ac_aggr;
18635 if (ac_aggr.f_bfree)
18636 return 0;
18638 return 0;
18640 _ACEOF
18641 rm -f conftest.$ac_objext
18642 if { (ac_try="$ac_compile"
18643 case "(($ac_try" in
18644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18645 *) ac_try_echo=$ac_try;;
18646 esac
18647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18648 (eval "$ac_compile") 2>conftest.er1
18649 ac_status=$?
18650 grep -v '^ *+' conftest.er1 >conftest.err
18651 rm -f conftest.er1
18652 cat conftest.err >&5
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); } && {
18655 test -z "$ac_c_werror_flag" ||
18656 test ! -s conftest.err
18657 } && test -s conftest.$ac_objext; then
18658 ac_cv_member_struct_statfs_f_bfree=yes
18659 else
18660 echo "$as_me: failed program was:" >&5
18661 sed 's/^/| /' conftest.$ac_ext >&5
18663 cat >conftest.$ac_ext <<_ACEOF
18664 /* confdefs.h. */
18665 _ACEOF
18666 cat confdefs.h >>conftest.$ac_ext
18667 cat >>conftest.$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18669 #include <sys/types.h>
18670 #ifdef HAVE_SYS_PARAM_H
18671 # include <sys/param.h>
18672 #endif
18673 #ifdef HAVE_SYS_MOUNT_H
18674 # include <sys/mount.h>
18675 #endif
18676 #ifdef HAVE_SYS_VFS_H
18677 # include <sys/vfs.h>
18678 #endif
18679 #ifdef HAVE_SYS_STATFS_H
18680 # include <sys/statfs.h>
18681 #endif
18684 main ()
18686 static struct statfs ac_aggr;
18687 if (sizeof ac_aggr.f_bfree)
18688 return 0;
18690 return 0;
18692 _ACEOF
18693 rm -f conftest.$ac_objext
18694 if { (ac_try="$ac_compile"
18695 case "(($ac_try" in
18696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18697 *) ac_try_echo=$ac_try;;
18698 esac
18699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18700 (eval "$ac_compile") 2>conftest.er1
18701 ac_status=$?
18702 grep -v '^ *+' conftest.er1 >conftest.err
18703 rm -f conftest.er1
18704 cat conftest.err >&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); } && {
18707 test -z "$ac_c_werror_flag" ||
18708 test ! -s conftest.err
18709 } && test -s conftest.$ac_objext; then
18710 ac_cv_member_struct_statfs_f_bfree=yes
18711 else
18712 echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.$ac_ext >&5
18715 ac_cv_member_struct_statfs_f_bfree=no
18718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18724 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18725 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18727 cat >>confdefs.h <<_ACEOF
18728 #define HAVE_STRUCT_STATFS_F_BFREE 1
18729 _ACEOF
18733 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18734 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18735 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 #include <sys/types.h>
18745 #ifdef HAVE_SYS_PARAM_H
18746 # include <sys/param.h>
18747 #endif
18748 #ifdef HAVE_SYS_MOUNT_H
18749 # include <sys/mount.h>
18750 #endif
18751 #ifdef HAVE_SYS_VFS_H
18752 # include <sys/vfs.h>
18753 #endif
18754 #ifdef HAVE_SYS_STATFS_H
18755 # include <sys/statfs.h>
18756 #endif
18759 main ()
18761 static struct statfs ac_aggr;
18762 if (ac_aggr.f_bavail)
18763 return 0;
18765 return 0;
18767 _ACEOF
18768 rm -f conftest.$ac_objext
18769 if { (ac_try="$ac_compile"
18770 case "(($ac_try" in
18771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18773 esac
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_compile") 2>conftest.er1
18776 ac_status=$?
18777 grep -v '^ *+' conftest.er1 >conftest.err
18778 rm -f conftest.er1
18779 cat conftest.err >&5
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && {
18782 test -z "$ac_c_werror_flag" ||
18783 test ! -s conftest.err
18784 } && test -s conftest.$ac_objext; then
18785 ac_cv_member_struct_statfs_f_bavail=yes
18786 else
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.$ac_ext >&5
18790 cat >conftest.$ac_ext <<_ACEOF
18791 /* confdefs.h. */
18792 _ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 #include <sys/types.h>
18797 #ifdef HAVE_SYS_PARAM_H
18798 # include <sys/param.h>
18799 #endif
18800 #ifdef HAVE_SYS_MOUNT_H
18801 # include <sys/mount.h>
18802 #endif
18803 #ifdef HAVE_SYS_VFS_H
18804 # include <sys/vfs.h>
18805 #endif
18806 #ifdef HAVE_SYS_STATFS_H
18807 # include <sys/statfs.h>
18808 #endif
18811 main ()
18813 static struct statfs ac_aggr;
18814 if (sizeof ac_aggr.f_bavail)
18815 return 0;
18817 return 0;
18819 _ACEOF
18820 rm -f conftest.$ac_objext
18821 if { (ac_try="$ac_compile"
18822 case "(($ac_try" in
18823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18824 *) ac_try_echo=$ac_try;;
18825 esac
18826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18827 (eval "$ac_compile") 2>conftest.er1
18828 ac_status=$?
18829 grep -v '^ *+' conftest.er1 >conftest.err
18830 rm -f conftest.er1
18831 cat conftest.err >&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); } && {
18834 test -z "$ac_c_werror_flag" ||
18835 test ! -s conftest.err
18836 } && test -s conftest.$ac_objext; then
18837 ac_cv_member_struct_statfs_f_bavail=yes
18838 else
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.$ac_ext >&5
18842 ac_cv_member_struct_statfs_f_bavail=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18850 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18851 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18852 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18854 cat >>confdefs.h <<_ACEOF
18855 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18856 _ACEOF
18860 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18861 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18862 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 else
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 #include <sys/types.h>
18872 #ifdef HAVE_SYS_PARAM_H
18873 # include <sys/param.h>
18874 #endif
18875 #ifdef HAVE_SYS_MOUNT_H
18876 # include <sys/mount.h>
18877 #endif
18878 #ifdef HAVE_SYS_VFS_H
18879 # include <sys/vfs.h>
18880 #endif
18881 #ifdef HAVE_SYS_STATFS_H
18882 # include <sys/statfs.h>
18883 #endif
18886 main ()
18888 static struct statfs ac_aggr;
18889 if (ac_aggr.f_frsize)
18890 return 0;
18892 return 0;
18894 _ACEOF
18895 rm -f conftest.$ac_objext
18896 if { (ac_try="$ac_compile"
18897 case "(($ac_try" in
18898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18899 *) ac_try_echo=$ac_try;;
18900 esac
18901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18902 (eval "$ac_compile") 2>conftest.er1
18903 ac_status=$?
18904 grep -v '^ *+' conftest.er1 >conftest.err
18905 rm -f conftest.er1
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } && {
18909 test -z "$ac_c_werror_flag" ||
18910 test ! -s conftest.err
18911 } && test -s conftest.$ac_objext; then
18912 ac_cv_member_struct_statfs_f_frsize=yes
18913 else
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18917 cat >conftest.$ac_ext <<_ACEOF
18918 /* confdefs.h. */
18919 _ACEOF
18920 cat confdefs.h >>conftest.$ac_ext
18921 cat >>conftest.$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 #include <sys/types.h>
18924 #ifdef HAVE_SYS_PARAM_H
18925 # include <sys/param.h>
18926 #endif
18927 #ifdef HAVE_SYS_MOUNT_H
18928 # include <sys/mount.h>
18929 #endif
18930 #ifdef HAVE_SYS_VFS_H
18931 # include <sys/vfs.h>
18932 #endif
18933 #ifdef HAVE_SYS_STATFS_H
18934 # include <sys/statfs.h>
18935 #endif
18938 main ()
18940 static struct statfs ac_aggr;
18941 if (sizeof ac_aggr.f_frsize)
18942 return 0;
18944 return 0;
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18952 esac
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 ac_cv_member_struct_statfs_f_frsize=yes
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 ac_cv_member_struct_statfs_f_frsize=no
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18977 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18978 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18979 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18981 cat >>confdefs.h <<_ACEOF
18982 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18983 _ACEOF
18987 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18988 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18989 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 else
18992 cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 #include <sys/types.h>
18999 #ifdef HAVE_SYS_PARAM_H
19000 # include <sys/param.h>
19001 #endif
19002 #ifdef HAVE_SYS_MOUNT_H
19003 # include <sys/mount.h>
19004 #endif
19005 #ifdef HAVE_SYS_VFS_H
19006 # include <sys/vfs.h>
19007 #endif
19008 #ifdef HAVE_SYS_STATFS_H
19009 # include <sys/statfs.h>
19010 #endif
19013 main ()
19015 static struct statfs ac_aggr;
19016 if (ac_aggr.f_ffree)
19017 return 0;
19019 return 0;
19021 _ACEOF
19022 rm -f conftest.$ac_objext
19023 if { (ac_try="$ac_compile"
19024 case "(($ac_try" in
19025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19026 *) ac_try_echo=$ac_try;;
19027 esac
19028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19029 (eval "$ac_compile") 2>conftest.er1
19030 ac_status=$?
19031 grep -v '^ *+' conftest.er1 >conftest.err
19032 rm -f conftest.er1
19033 cat conftest.err >&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } && {
19036 test -z "$ac_c_werror_flag" ||
19037 test ! -s conftest.err
19038 } && test -s conftest.$ac_objext; then
19039 ac_cv_member_struct_statfs_f_ffree=yes
19040 else
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19044 cat >conftest.$ac_ext <<_ACEOF
19045 /* confdefs.h. */
19046 _ACEOF
19047 cat confdefs.h >>conftest.$ac_ext
19048 cat >>conftest.$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19050 #include <sys/types.h>
19051 #ifdef HAVE_SYS_PARAM_H
19052 # include <sys/param.h>
19053 #endif
19054 #ifdef HAVE_SYS_MOUNT_H
19055 # include <sys/mount.h>
19056 #endif
19057 #ifdef HAVE_SYS_VFS_H
19058 # include <sys/vfs.h>
19059 #endif
19060 #ifdef HAVE_SYS_STATFS_H
19061 # include <sys/statfs.h>
19062 #endif
19065 main ()
19067 static struct statfs ac_aggr;
19068 if (sizeof ac_aggr.f_ffree)
19069 return 0;
19071 return 0;
19073 _ACEOF
19074 rm -f conftest.$ac_objext
19075 if { (ac_try="$ac_compile"
19076 case "(($ac_try" in
19077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19078 *) ac_try_echo=$ac_try;;
19079 esac
19080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19081 (eval "$ac_compile") 2>conftest.er1
19082 ac_status=$?
19083 grep -v '^ *+' conftest.er1 >conftest.err
19084 rm -f conftest.er1
19085 cat conftest.err >&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); } && {
19088 test -z "$ac_c_werror_flag" ||
19089 test ! -s conftest.err
19090 } && test -s conftest.$ac_objext; then
19091 ac_cv_member_struct_statfs_f_ffree=yes
19092 else
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19096 ac_cv_member_struct_statfs_f_ffree=no
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19104 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19105 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19106 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_STRUCT_STATFS_F_FFREE 1
19110 _ACEOF
19114 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19115 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19116 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19118 else
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 #include <sys/types.h>
19126 #ifdef HAVE_SYS_PARAM_H
19127 # include <sys/param.h>
19128 #endif
19129 #ifdef HAVE_SYS_MOUNT_H
19130 # include <sys/mount.h>
19131 #endif
19132 #ifdef HAVE_SYS_VFS_H
19133 # include <sys/vfs.h>
19134 #endif
19135 #ifdef HAVE_SYS_STATFS_H
19136 # include <sys/statfs.h>
19137 #endif
19140 main ()
19142 static struct statfs ac_aggr;
19143 if (ac_aggr.f_favail)
19144 return 0;
19146 return 0;
19148 _ACEOF
19149 rm -f conftest.$ac_objext
19150 if { (ac_try="$ac_compile"
19151 case "(($ac_try" in
19152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19154 esac
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_compile") 2>conftest.er1
19157 ac_status=$?
19158 grep -v '^ *+' conftest.er1 >conftest.err
19159 rm -f conftest.er1
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } && {
19163 test -z "$ac_c_werror_flag" ||
19164 test ! -s conftest.err
19165 } && test -s conftest.$ac_objext; then
19166 ac_cv_member_struct_statfs_f_favail=yes
19167 else
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 #include <sys/types.h>
19178 #ifdef HAVE_SYS_PARAM_H
19179 # include <sys/param.h>
19180 #endif
19181 #ifdef HAVE_SYS_MOUNT_H
19182 # include <sys/mount.h>
19183 #endif
19184 #ifdef HAVE_SYS_VFS_H
19185 # include <sys/vfs.h>
19186 #endif
19187 #ifdef HAVE_SYS_STATFS_H
19188 # include <sys/statfs.h>
19189 #endif
19192 main ()
19194 static struct statfs ac_aggr;
19195 if (sizeof ac_aggr.f_favail)
19196 return 0;
19198 return 0;
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (ac_try="$ac_compile"
19203 case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19206 esac
19207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_compile") 2>conftest.er1
19209 ac_status=$?
19210 grep -v '^ *+' conftest.er1 >conftest.err
19211 rm -f conftest.er1
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } && {
19215 test -z "$ac_c_werror_flag" ||
19216 test ! -s conftest.err
19217 } && test -s conftest.$ac_objext; then
19218 ac_cv_member_struct_statfs_f_favail=yes
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 ac_cv_member_struct_statfs_f_favail=no
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19231 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19232 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19233 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19235 cat >>confdefs.h <<_ACEOF
19236 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19237 _ACEOF
19241 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19242 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19243 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19244 echo $ECHO_N "(cached) $ECHO_C" >&6
19245 else
19246 cat >conftest.$ac_ext <<_ACEOF
19247 /* confdefs.h. */
19248 _ACEOF
19249 cat confdefs.h >>conftest.$ac_ext
19250 cat >>conftest.$ac_ext <<_ACEOF
19251 /* end confdefs.h. */
19252 #include <sys/types.h>
19253 #ifdef HAVE_SYS_PARAM_H
19254 # include <sys/param.h>
19255 #endif
19256 #ifdef HAVE_SYS_MOUNT_H
19257 # include <sys/mount.h>
19258 #endif
19259 #ifdef HAVE_SYS_VFS_H
19260 # include <sys/vfs.h>
19261 #endif
19262 #ifdef HAVE_SYS_STATFS_H
19263 # include <sys/statfs.h>
19264 #endif
19267 main ()
19269 static struct statfs ac_aggr;
19270 if (ac_aggr.f_namelen)
19271 return 0;
19273 return 0;
19275 _ACEOF
19276 rm -f conftest.$ac_objext
19277 if { (ac_try="$ac_compile"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19281 esac
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_compile") 2>conftest.er1
19284 ac_status=$?
19285 grep -v '^ *+' conftest.er1 >conftest.err
19286 rm -f conftest.er1
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest.$ac_objext; then
19293 ac_cv_member_struct_statfs_f_namelen=yes
19294 else
19295 echo "$as_me: failed program was:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 #include <sys/types.h>
19305 #ifdef HAVE_SYS_PARAM_H
19306 # include <sys/param.h>
19307 #endif
19308 #ifdef HAVE_SYS_MOUNT_H
19309 # include <sys/mount.h>
19310 #endif
19311 #ifdef HAVE_SYS_VFS_H
19312 # include <sys/vfs.h>
19313 #endif
19314 #ifdef HAVE_SYS_STATFS_H
19315 # include <sys/statfs.h>
19316 #endif
19319 main ()
19321 static struct statfs ac_aggr;
19322 if (sizeof ac_aggr.f_namelen)
19323 return 0;
19325 return 0;
19327 _ACEOF
19328 rm -f conftest.$ac_objext
19329 if { (ac_try="$ac_compile"
19330 case "(($ac_try" in
19331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19332 *) ac_try_echo=$ac_try;;
19333 esac
19334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19335 (eval "$ac_compile") 2>conftest.er1
19336 ac_status=$?
19337 grep -v '^ *+' conftest.er1 >conftest.err
19338 rm -f conftest.er1
19339 cat conftest.err >&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); } && {
19342 test -z "$ac_c_werror_flag" ||
19343 test ! -s conftest.err
19344 } && test -s conftest.$ac_objext; then
19345 ac_cv_member_struct_statfs_f_namelen=yes
19346 else
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19350 ac_cv_member_struct_statfs_f_namelen=no
19353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19358 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19359 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19360 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19364 _ACEOF
19370 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19371 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19372 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 else
19375 cat >conftest.$ac_ext <<_ACEOF
19376 /* confdefs.h. */
19377 _ACEOF
19378 cat confdefs.h >>conftest.$ac_ext
19379 cat >>conftest.$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19381 #ifdef HAVE_SYS_STATVFS_H
19382 #include <sys/statvfs.h>
19383 #endif
19386 main ()
19388 static struct statvfs ac_aggr;
19389 if (ac_aggr.f_blocks)
19390 return 0;
19392 return 0;
19394 _ACEOF
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19400 esac
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19403 ac_status=$?
19404 grep -v '^ *+' conftest.er1 >conftest.err
19405 rm -f conftest.er1
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } && {
19409 test -z "$ac_c_werror_flag" ||
19410 test ! -s conftest.err
19411 } && test -s conftest.$ac_objext; then
19412 ac_cv_member_struct_statvfs_f_blocks=yes
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #ifdef HAVE_SYS_STATVFS_H
19424 #include <sys/statvfs.h>
19425 #endif
19428 main ()
19430 static struct statvfs ac_aggr;
19431 if (sizeof ac_aggr.f_blocks)
19432 return 0;
19434 return 0;
19436 _ACEOF
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19442 esac
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } && {
19451 test -z "$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19453 } && test -s conftest.$ac_objext; then
19454 ac_cv_member_struct_statvfs_f_blocks=yes
19455 else
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19459 ac_cv_member_struct_statvfs_f_blocks=no
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19467 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19468 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19469 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19473 _ACEOF
19479 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19480 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19481 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 else
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <sys/types.h>
19491 #ifdef HAVE_SYS_SOCKET_H
19492 # include <sys/socket.h>
19493 #endif
19494 #ifdef HAVE_SYS_UN_H
19495 # include <sys/un.h>
19496 #endif
19499 main ()
19501 static struct msghdr ac_aggr;
19502 if (ac_aggr.msg_accrights)
19503 return 0;
19505 return 0;
19507 _ACEOF
19508 rm -f conftest.$ac_objext
19509 if { (ac_try="$ac_compile"
19510 case "(($ac_try" in
19511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19512 *) ac_try_echo=$ac_try;;
19513 esac
19514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19515 (eval "$ac_compile") 2>conftest.er1
19516 ac_status=$?
19517 grep -v '^ *+' conftest.er1 >conftest.err
19518 rm -f conftest.er1
19519 cat conftest.err >&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } && {
19522 test -z "$ac_c_werror_flag" ||
19523 test ! -s conftest.err
19524 } && test -s conftest.$ac_objext; then
19525 ac_cv_member_struct_msghdr_msg_accrights=yes
19526 else
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.$ac_ext >&5
19530 cat >conftest.$ac_ext <<_ACEOF
19531 /* confdefs.h. */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <sys/types.h>
19537 #ifdef HAVE_SYS_SOCKET_H
19538 # include <sys/socket.h>
19539 #endif
19540 #ifdef HAVE_SYS_UN_H
19541 # include <sys/un.h>
19542 #endif
19545 main ()
19547 static struct msghdr ac_aggr;
19548 if (sizeof ac_aggr.msg_accrights)
19549 return 0;
19551 return 0;
19553 _ACEOF
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19559 esac
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19562 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.$ac_objext; then
19571 ac_cv_member_struct_msghdr_msg_accrights=yes
19572 else
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 ac_cv_member_struct_msghdr_msg_accrights=no
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19585 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19586 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19588 cat >>confdefs.h <<_ACEOF
19589 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19590 _ACEOF
19594 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19595 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19596 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19597 echo $ECHO_N "(cached) $ECHO_C" >&6
19598 else
19599 cat >conftest.$ac_ext <<_ACEOF
19600 /* confdefs.h. */
19601 _ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 #include <sys/types.h>
19606 #ifdef HAVE_SYS_SOCKET_H
19607 # include <sys/socket.h>
19608 #endif
19609 #ifdef HAVE_SYS_UN_H
19610 # include <sys/un.h>
19611 #endif
19614 main ()
19616 static struct sockaddr ac_aggr;
19617 if (ac_aggr.sa_len)
19618 return 0;
19620 return 0;
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_cv_member_struct_sockaddr_sa_len=yes
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 cat >conftest.$ac_ext <<_ACEOF
19646 /* confdefs.h. */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <sys/types.h>
19652 #ifdef HAVE_SYS_SOCKET_H
19653 # include <sys/socket.h>
19654 #endif
19655 #ifdef HAVE_SYS_UN_H
19656 # include <sys/un.h>
19657 #endif
19660 main ()
19662 static struct sockaddr ac_aggr;
19663 if (sizeof ac_aggr.sa_len)
19664 return 0;
19666 return 0;
19668 _ACEOF
19669 rm -f conftest.$ac_objext
19670 if { (ac_try="$ac_compile"
19671 case "(($ac_try" in
19672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19673 *) ac_try_echo=$ac_try;;
19674 esac
19675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19676 (eval "$ac_compile") 2>conftest.er1
19677 ac_status=$?
19678 grep -v '^ *+' conftest.er1 >conftest.err
19679 rm -f conftest.er1
19680 cat conftest.err >&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } && {
19683 test -z "$ac_c_werror_flag" ||
19684 test ! -s conftest.err
19685 } && test -s conftest.$ac_objext; then
19686 ac_cv_member_struct_sockaddr_sa_len=yes
19687 else
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.$ac_ext >&5
19691 ac_cv_member_struct_sockaddr_sa_len=no
19694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19699 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19700 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19701 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19703 cat >>confdefs.h <<_ACEOF
19704 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19705 _ACEOF
19709 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19710 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19711 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 else
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 #include <sys/types.h>
19721 #ifdef HAVE_SYS_SOCKET_H
19722 # include <sys/socket.h>
19723 #endif
19724 #ifdef HAVE_SYS_UN_H
19725 # include <sys/un.h>
19726 #endif
19729 main ()
19731 static struct sockaddr_un ac_aggr;
19732 if (ac_aggr.sun_len)
19733 return 0;
19735 return 0;
19737 _ACEOF
19738 rm -f conftest.$ac_objext
19739 if { (ac_try="$ac_compile"
19740 case "(($ac_try" in
19741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19742 *) ac_try_echo=$ac_try;;
19743 esac
19744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19745 (eval "$ac_compile") 2>conftest.er1
19746 ac_status=$?
19747 grep -v '^ *+' conftest.er1 >conftest.err
19748 rm -f conftest.er1
19749 cat conftest.err >&5
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); } && {
19752 test -z "$ac_c_werror_flag" ||
19753 test ! -s conftest.err
19754 } && test -s conftest.$ac_objext; then
19755 ac_cv_member_struct_sockaddr_un_sun_len=yes
19756 else
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19760 cat >conftest.$ac_ext <<_ACEOF
19761 /* confdefs.h. */
19762 _ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 #include <sys/types.h>
19767 #ifdef HAVE_SYS_SOCKET_H
19768 # include <sys/socket.h>
19769 #endif
19770 #ifdef HAVE_SYS_UN_H
19771 # include <sys/un.h>
19772 #endif
19775 main ()
19777 static struct sockaddr_un ac_aggr;
19778 if (sizeof ac_aggr.sun_len)
19779 return 0;
19781 return 0;
19783 _ACEOF
19784 rm -f conftest.$ac_objext
19785 if { (ac_try="$ac_compile"
19786 case "(($ac_try" in
19787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19788 *) ac_try_echo=$ac_try;;
19789 esac
19790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19791 (eval "$ac_compile") 2>conftest.er1
19792 ac_status=$?
19793 grep -v '^ *+' conftest.er1 >conftest.err
19794 rm -f conftest.er1
19795 cat conftest.err >&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } && {
19798 test -z "$ac_c_werror_flag" ||
19799 test ! -s conftest.err
19800 } && test -s conftest.$ac_objext; then
19801 ac_cv_member_struct_sockaddr_un_sun_len=yes
19802 else
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19806 ac_cv_member_struct_sockaddr_un_sun_len=no
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19815 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19816 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19818 cat >>confdefs.h <<_ACEOF
19819 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19820 _ACEOF
19826 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19827 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19828 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 else
19831 cat >conftest.$ac_ext <<_ACEOF
19832 /* confdefs.h. */
19833 _ACEOF
19834 cat confdefs.h >>conftest.$ac_ext
19835 cat >>conftest.$ac_ext <<_ACEOF
19836 /* end confdefs.h. */
19837 #include <sys/types.h>
19838 #ifdef HAVE_SCSI_SG_H
19839 #include <scsi/sg.h>
19840 #endif
19843 main ()
19845 static scsireq_t ac_aggr;
19846 if (ac_aggr.cmd)
19847 return 0;
19849 return 0;
19851 _ACEOF
19852 rm -f conftest.$ac_objext
19853 if { (ac_try="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19857 esac
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19860 ac_status=$?
19861 grep -v '^ *+' conftest.er1 >conftest.err
19862 rm -f conftest.er1
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19869 ac_cv_member_scsireq_t_cmd=yes
19870 else
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 cat >conftest.$ac_ext <<_ACEOF
19875 /* confdefs.h. */
19876 _ACEOF
19877 cat confdefs.h >>conftest.$ac_ext
19878 cat >>conftest.$ac_ext <<_ACEOF
19879 /* end confdefs.h. */
19880 #include <sys/types.h>
19881 #ifdef HAVE_SCSI_SG_H
19882 #include <scsi/sg.h>
19883 #endif
19886 main ()
19888 static scsireq_t ac_aggr;
19889 if (sizeof ac_aggr.cmd)
19890 return 0;
19892 return 0;
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19903 ac_status=$?
19904 grep -v '^ *+' conftest.er1 >conftest.err
19905 rm -f conftest.er1
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } && {
19909 test -z "$ac_c_werror_flag" ||
19910 test ! -s conftest.err
19911 } && test -s conftest.$ac_objext; then
19912 ac_cv_member_scsireq_t_cmd=yes
19913 else
19914 echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.$ac_ext >&5
19917 ac_cv_member_scsireq_t_cmd=no
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19925 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19926 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19927 if test $ac_cv_member_scsireq_t_cmd = yes; then
19929 cat >>confdefs.h <<_ACEOF
19930 #define HAVE_SCSIREQ_T_CMD 1
19931 _ACEOF
19935 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19936 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19937 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 else
19940 cat >conftest.$ac_ext <<_ACEOF
19941 /* confdefs.h. */
19942 _ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 #include <sys/types.h>
19947 #ifdef HAVE_SCSI_SG_H
19948 #include <scsi/sg.h>
19949 #endif
19952 main ()
19954 static sg_io_hdr_t ac_aggr;
19955 if (ac_aggr.interface_id)
19956 return 0;
19958 return 0;
19960 _ACEOF
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19966 esac
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19978 ac_cv_member_sg_io_hdr_t_interface_id=yes
19979 else
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19983 cat >conftest.$ac_ext <<_ACEOF
19984 /* confdefs.h. */
19985 _ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 #include <sys/types.h>
19990 #ifdef HAVE_SCSI_SG_H
19991 #include <scsi/sg.h>
19992 #endif
19995 main ()
19997 static sg_io_hdr_t ac_aggr;
19998 if (sizeof ac_aggr.interface_id)
19999 return 0;
20001 return 0;
20003 _ACEOF
20004 rm -f conftest.$ac_objext
20005 if { (ac_try="$ac_compile"
20006 case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20009 esac
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_compile") 2>conftest.er1
20012 ac_status=$?
20013 grep -v '^ *+' conftest.er1 >conftest.err
20014 rm -f conftest.er1
20015 cat conftest.err >&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && {
20018 test -z "$ac_c_werror_flag" ||
20019 test ! -s conftest.err
20020 } && test -s conftest.$ac_objext; then
20021 ac_cv_member_sg_io_hdr_t_interface_id=yes
20022 else
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.$ac_ext >&5
20026 ac_cv_member_sg_io_hdr_t_interface_id=no
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20034 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20035 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20036 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20038 cat >>confdefs.h <<_ACEOF
20039 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20040 _ACEOF
20046 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20047 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20048 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h. */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 #include <signal.h>
20060 main ()
20062 static siginfo_t ac_aggr;
20063 if (ac_aggr.si_fd)
20064 return 0;
20066 return 0;
20068 _ACEOF
20069 rm -f conftest.$ac_objext
20070 if { (ac_try="$ac_compile"
20071 case "(($ac_try" in
20072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20074 esac
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_compile") 2>conftest.er1
20077 ac_status=$?
20078 grep -v '^ *+' conftest.er1 >conftest.err
20079 rm -f conftest.er1
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } && {
20083 test -z "$ac_c_werror_flag" ||
20084 test ! -s conftest.err
20085 } && test -s conftest.$ac_objext; then
20086 ac_cv_member_siginfo_t_si_fd=yes
20087 else
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.$ac_ext >&5
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 #include <signal.h>
20100 main ()
20102 static siginfo_t ac_aggr;
20103 if (sizeof ac_aggr.si_fd)
20104 return 0;
20106 return 0;
20108 _ACEOF
20109 rm -f conftest.$ac_objext
20110 if { (ac_try="$ac_compile"
20111 case "(($ac_try" in
20112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20113 *) ac_try_echo=$ac_try;;
20114 esac
20115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20116 (eval "$ac_compile") 2>conftest.er1
20117 ac_status=$?
20118 grep -v '^ *+' conftest.er1 >conftest.err
20119 rm -f conftest.er1
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } && {
20123 test -z "$ac_c_werror_flag" ||
20124 test ! -s conftest.err
20125 } && test -s conftest.$ac_objext; then
20126 ac_cv_member_siginfo_t_si_fd=yes
20127 else
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20131 ac_cv_member_siginfo_t_si_fd=no
20134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20140 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20141 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20143 cat >>confdefs.h <<_ACEOF
20144 #define HAVE_SIGINFO_T_SI_FD 1
20145 _ACEOF
20151 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20152 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20153 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20155 else
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h. */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 #include <sys/types.h>
20163 #ifdef HAVE_SYS_MTIO_H
20164 #include <sys/mtio.h>
20165 #endif
20168 main ()
20170 static struct mtget ac_aggr;
20171 if (ac_aggr.mt_blksiz)
20172 return 0;
20174 return 0;
20176 _ACEOF
20177 rm -f conftest.$ac_objext
20178 if { (ac_try="$ac_compile"
20179 case "(($ac_try" in
20180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20181 *) ac_try_echo=$ac_try;;
20182 esac
20183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20184 (eval "$ac_compile") 2>conftest.er1
20185 ac_status=$?
20186 grep -v '^ *+' conftest.er1 >conftest.err
20187 rm -f conftest.er1
20188 cat conftest.err >&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } && {
20191 test -z "$ac_c_werror_flag" ||
20192 test ! -s conftest.err
20193 } && test -s conftest.$ac_objext; then
20194 ac_cv_member_struct_mtget_mt_blksiz=yes
20195 else
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20199 cat >conftest.$ac_ext <<_ACEOF
20200 /* confdefs.h. */
20201 _ACEOF
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 #include <sys/types.h>
20206 #ifdef HAVE_SYS_MTIO_H
20207 #include <sys/mtio.h>
20208 #endif
20211 main ()
20213 static struct mtget ac_aggr;
20214 if (sizeof ac_aggr.mt_blksiz)
20215 return 0;
20217 return 0;
20219 _ACEOF
20220 rm -f conftest.$ac_objext
20221 if { (ac_try="$ac_compile"
20222 case "(($ac_try" in
20223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20224 *) ac_try_echo=$ac_try;;
20225 esac
20226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 (eval "$ac_compile") 2>conftest.er1
20228 ac_status=$?
20229 grep -v '^ *+' conftest.er1 >conftest.err
20230 rm -f conftest.er1
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } && {
20234 test -z "$ac_c_werror_flag" ||
20235 test ! -s conftest.err
20236 } && test -s conftest.$ac_objext; then
20237 ac_cv_member_struct_mtget_mt_blksiz=yes
20238 else
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20242 ac_cv_member_struct_mtget_mt_blksiz=no
20245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20250 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20251 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20252 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20254 cat >>confdefs.h <<_ACEOF
20255 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20256 _ACEOF
20260 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20261 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20262 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 else
20265 cat >conftest.$ac_ext <<_ACEOF
20266 /* confdefs.h. */
20267 _ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 #include <sys/types.h>
20272 #ifdef HAVE_SYS_MTIO_H
20273 #include <sys/mtio.h>
20274 #endif
20277 main ()
20279 static struct mtget ac_aggr;
20280 if (ac_aggr.mt_gstat)
20281 return 0;
20283 return 0;
20285 _ACEOF
20286 rm -f conftest.$ac_objext
20287 if { (ac_try="$ac_compile"
20288 case "(($ac_try" in
20289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20290 *) ac_try_echo=$ac_try;;
20291 esac
20292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20293 (eval "$ac_compile") 2>conftest.er1
20294 ac_status=$?
20295 grep -v '^ *+' conftest.er1 >conftest.err
20296 rm -f conftest.er1
20297 cat conftest.err >&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } && {
20300 test -z "$ac_c_werror_flag" ||
20301 test ! -s conftest.err
20302 } && test -s conftest.$ac_objext; then
20303 ac_cv_member_struct_mtget_mt_gstat=yes
20304 else
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20308 cat >conftest.$ac_ext <<_ACEOF
20309 /* confdefs.h. */
20310 _ACEOF
20311 cat confdefs.h >>conftest.$ac_ext
20312 cat >>conftest.$ac_ext <<_ACEOF
20313 /* end confdefs.h. */
20314 #include <sys/types.h>
20315 #ifdef HAVE_SYS_MTIO_H
20316 #include <sys/mtio.h>
20317 #endif
20320 main ()
20322 static struct mtget ac_aggr;
20323 if (sizeof ac_aggr.mt_gstat)
20324 return 0;
20326 return 0;
20328 _ACEOF
20329 rm -f conftest.$ac_objext
20330 if { (ac_try="$ac_compile"
20331 case "(($ac_try" in
20332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20333 *) ac_try_echo=$ac_try;;
20334 esac
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_compile") 2>conftest.er1
20337 ac_status=$?
20338 grep -v '^ *+' conftest.er1 >conftest.err
20339 rm -f conftest.er1
20340 cat conftest.err >&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } && {
20343 test -z "$ac_c_werror_flag" ||
20344 test ! -s conftest.err
20345 } && test -s conftest.$ac_objext; then
20346 ac_cv_member_struct_mtget_mt_gstat=yes
20347 else
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.$ac_ext >&5
20351 ac_cv_member_struct_mtget_mt_gstat=no
20354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20360 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20361 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20363 cat >>confdefs.h <<_ACEOF
20364 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20365 _ACEOF
20369 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20370 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20371 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20373 else
20374 cat >conftest.$ac_ext <<_ACEOF
20375 /* confdefs.h. */
20376 _ACEOF
20377 cat confdefs.h >>conftest.$ac_ext
20378 cat >>conftest.$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20380 #include <sys/types.h>
20381 #ifdef HAVE_SYS_MTIO_H
20382 #include <sys/mtio.h>
20383 #endif
20386 main ()
20388 static struct mtget ac_aggr;
20389 if (ac_aggr.mt_blkno)
20390 return 0;
20392 return 0;
20394 _ACEOF
20395 rm -f conftest.$ac_objext
20396 if { (ac_try="$ac_compile"
20397 case "(($ac_try" in
20398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20399 *) ac_try_echo=$ac_try;;
20400 esac
20401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20402 (eval "$ac_compile") 2>conftest.er1
20403 ac_status=$?
20404 grep -v '^ *+' conftest.er1 >conftest.err
20405 rm -f conftest.er1
20406 cat conftest.err >&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } && {
20409 test -z "$ac_c_werror_flag" ||
20410 test ! -s conftest.err
20411 } && test -s conftest.$ac_objext; then
20412 ac_cv_member_struct_mtget_mt_blkno=yes
20413 else
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20417 cat >conftest.$ac_ext <<_ACEOF
20418 /* confdefs.h. */
20419 _ACEOF
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 #include <sys/types.h>
20424 #ifdef HAVE_SYS_MTIO_H
20425 #include <sys/mtio.h>
20426 #endif
20429 main ()
20431 static struct mtget ac_aggr;
20432 if (sizeof ac_aggr.mt_blkno)
20433 return 0;
20435 return 0;
20437 _ACEOF
20438 rm -f conftest.$ac_objext
20439 if { (ac_try="$ac_compile"
20440 case "(($ac_try" in
20441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20442 *) ac_try_echo=$ac_try;;
20443 esac
20444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20445 (eval "$ac_compile") 2>conftest.er1
20446 ac_status=$?
20447 grep -v '^ *+' conftest.er1 >conftest.err
20448 rm -f conftest.er1
20449 cat conftest.err >&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } && {
20452 test -z "$ac_c_werror_flag" ||
20453 test ! -s conftest.err
20454 } && test -s conftest.$ac_objext; then
20455 ac_cv_member_struct_mtget_mt_blkno=yes
20456 else
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.$ac_ext >&5
20460 ac_cv_member_struct_mtget_mt_blkno=no
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20468 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20469 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20470 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20472 cat >>confdefs.h <<_ACEOF
20473 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20474 _ACEOF
20480 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20481 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20482 if test "${ac_cv_member_struct_option_name+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 else
20485 cat >conftest.$ac_ext <<_ACEOF
20486 /* confdefs.h. */
20487 _ACEOF
20488 cat confdefs.h >>conftest.$ac_ext
20489 cat >>conftest.$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 #ifdef HAVE_GETOPT_H
20492 #include <getopt.h>
20493 #endif
20496 main ()
20498 static struct option ac_aggr;
20499 if (ac_aggr.name)
20500 return 0;
20502 return 0;
20504 _ACEOF
20505 rm -f conftest.$ac_objext
20506 if { (ac_try="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20509 *) ac_try_echo=$ac_try;;
20510 esac
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20513 ac_status=$?
20514 grep -v '^ *+' conftest.er1 >conftest.err
20515 rm -f conftest.er1
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.$ac_objext; then
20522 ac_cv_member_struct_option_name=yes
20523 else
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.$ac_ext >&5
20527 cat >conftest.$ac_ext <<_ACEOF
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533 #ifdef HAVE_GETOPT_H
20534 #include <getopt.h>
20535 #endif
20538 main ()
20540 static struct option ac_aggr;
20541 if (sizeof ac_aggr.name)
20542 return 0;
20544 return 0;
20546 _ACEOF
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20555 ac_status=$?
20556 grep -v '^ *+' conftest.er1 >conftest.err
20557 rm -f conftest.er1
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.$ac_objext; then
20564 ac_cv_member_struct_option_name=yes
20565 else
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20569 ac_cv_member_struct_option_name=no
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20577 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20578 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20579 if test $ac_cv_member_struct_option_name = yes; then
20581 cat >>confdefs.h <<_ACEOF
20582 #define HAVE_STRUCT_OPTION_NAME 1
20583 _ACEOF
20589 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20590 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20591 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 else
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 $ac_includes_default
20602 main ()
20604 static struct stat ac_aggr;
20605 if (ac_aggr.st_blocks)
20606 return 0;
20608 return 0;
20610 _ACEOF
20611 rm -f conftest.$ac_objext
20612 if { (ac_try="$ac_compile"
20613 case "(($ac_try" in
20614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20615 *) ac_try_echo=$ac_try;;
20616 esac
20617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_compile") 2>conftest.er1
20619 ac_status=$?
20620 grep -v '^ *+' conftest.er1 >conftest.err
20621 rm -f conftest.er1
20622 cat conftest.err >&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); } && {
20625 test -z "$ac_c_werror_flag" ||
20626 test ! -s conftest.err
20627 } && test -s conftest.$ac_objext; then
20628 ac_cv_member_struct_stat_st_blocks=yes
20629 else
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 $ac_includes_default
20641 main ()
20643 static struct stat ac_aggr;
20644 if (sizeof ac_aggr.st_blocks)
20645 return 0;
20647 return 0;
20649 _ACEOF
20650 rm -f conftest.$ac_objext
20651 if { (ac_try="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20654 *) ac_try_echo=$ac_try;;
20655 esac
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.$ac_objext; then
20667 ac_cv_member_struct_stat_st_blocks=yes
20668 else
20669 echo "$as_me: failed program was:" >&5
20670 sed 's/^/| /' conftest.$ac_ext >&5
20672 ac_cv_member_struct_stat_st_blocks=no
20675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20680 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20681 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20682 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20684 cat >>confdefs.h <<_ACEOF
20685 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20686 _ACEOF
20692 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20693 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20694 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20695 echo $ECHO_N "(cached) $ECHO_C" >&6
20696 else
20697 cat >conftest.$ac_ext <<_ACEOF
20698 /* confdefs.h. */
20699 _ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20703 #ifdef HAVE_SYS_TYPES_H
20704 #include <sys/types.h>
20705 #endif
20706 #ifdef HAVE_NETINET_IN_H
20707 #include <netinet/in.h>
20708 #endif
20711 main ()
20713 static struct sockaddr_in6 ac_aggr;
20714 if (ac_aggr.sin6_scope_id)
20715 return 0;
20717 return 0;
20719 _ACEOF
20720 rm -f conftest.$ac_objext
20721 if { (ac_try="$ac_compile"
20722 case "(($ac_try" in
20723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20725 esac
20726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_compile") 2>conftest.er1
20728 ac_status=$?
20729 grep -v '^ *+' conftest.er1 >conftest.err
20730 rm -f conftest.er1
20731 cat conftest.err >&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } && {
20734 test -z "$ac_c_werror_flag" ||
20735 test ! -s conftest.err
20736 } && test -s conftest.$ac_objext; then
20737 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20738 else
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.$ac_ext >&5
20742 cat >conftest.$ac_ext <<_ACEOF
20743 /* confdefs.h. */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 #ifdef HAVE_SYS_TYPES_H
20749 #include <sys/types.h>
20750 #endif
20751 #ifdef HAVE_NETINET_IN_H
20752 #include <netinet/in.h>
20753 #endif
20756 main ()
20758 static struct sockaddr_in6 ac_aggr;
20759 if (sizeof ac_aggr.sin6_scope_id)
20760 return 0;
20762 return 0;
20764 _ACEOF
20765 rm -f conftest.$ac_objext
20766 if { (ac_try="$ac_compile"
20767 case "(($ac_try" in
20768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20769 *) ac_try_echo=$ac_try;;
20770 esac
20771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20772 (eval "$ac_compile") 2>conftest.er1
20773 ac_status=$?
20774 grep -v '^ *+' conftest.er1 >conftest.err
20775 rm -f conftest.er1
20776 cat conftest.err >&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); } && {
20779 test -z "$ac_c_werror_flag" ||
20780 test ! -s conftest.err
20781 } && test -s conftest.$ac_objext; then
20782 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20783 else
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.$ac_ext >&5
20787 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20795 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20796 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20797 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20799 cat >>confdefs.h <<_ACEOF
20800 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20801 _ACEOF
20807 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20808 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20809 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 else
20812 cat >conftest.$ac_ext <<_ACEOF
20813 /* confdefs.h. */
20814 _ACEOF
20815 cat confdefs.h >>conftest.$ac_ext
20816 cat >>conftest.$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 #ifdef HAVE_SYS_TYPES_H
20819 #include <sys/types.h>
20820 #endif
20821 #ifdef HAVE_NETINET_IN_H
20822 # include <netinet/in.h>
20823 #endif
20824 #ifdef HAVE_ARPA_NAMESER_H
20825 # include <arpa/nameser.h>
20826 #endif
20829 main ()
20831 static ns_msg ac_aggr;
20832 if (ac_aggr._msg_ptr)
20833 return 0;
20835 return 0;
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_cv_member_ns_msg__msg_ptr=yes
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20860 cat >conftest.$ac_ext <<_ACEOF
20861 /* confdefs.h. */
20862 _ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 #ifdef HAVE_SYS_TYPES_H
20867 #include <sys/types.h>
20868 #endif
20869 #ifdef HAVE_NETINET_IN_H
20870 # include <netinet/in.h>
20871 #endif
20872 #ifdef HAVE_ARPA_NAMESER_H
20873 # include <arpa/nameser.h>
20874 #endif
20877 main ()
20879 static ns_msg ac_aggr;
20880 if (sizeof ac_aggr._msg_ptr)
20881 return 0;
20883 return 0;
20885 _ACEOF
20886 rm -f conftest.$ac_objext
20887 if { (ac_try="$ac_compile"
20888 case "(($ac_try" in
20889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20890 *) ac_try_echo=$ac_try;;
20891 esac
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_compile") 2>conftest.er1
20894 ac_status=$?
20895 grep -v '^ *+' conftest.er1 >conftest.err
20896 rm -f conftest.er1
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } && {
20900 test -z "$ac_c_werror_flag" ||
20901 test ! -s conftest.err
20902 } && test -s conftest.$ac_objext; then
20903 ac_cv_member_ns_msg__msg_ptr=yes
20904 else
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.$ac_ext >&5
20908 ac_cv_member_ns_msg__msg_ptr=no
20911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20916 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20917 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20918 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20920 cat >>confdefs.h <<_ACEOF
20921 #define HAVE_NS_MSG__MSG_PTR 1
20922 _ACEOF
20928 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20929 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20930 if test "${ac_cv_have_timezone+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20932 else
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 #include <time.h>
20941 main ()
20943 timezone = 1
20945 return 0;
20947 _ACEOF
20948 rm -f conftest.$ac_objext conftest$ac_exeext
20949 if { (ac_try="$ac_link"
20950 case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20953 esac
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_link") 2>conftest.er1
20956 ac_status=$?
20957 grep -v '^ *+' conftest.er1 >conftest.err
20958 rm -f conftest.er1
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && {
20962 test -z "$ac_c_werror_flag" ||
20963 test ! -s conftest.err
20964 } && test -s conftest$ac_exeext &&
20965 $as_test_x conftest$ac_exeext; then
20966 ac_cv_have_timezone="yes"
20967 else
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20971 ac_cv_have_timezone="no"
20974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20975 conftest$ac_exeext conftest.$ac_ext
20977 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20978 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20979 if test "$ac_cv_have_timezone" = "yes"
20980 then
20982 cat >>confdefs.h <<\_ACEOF
20983 #define HAVE_TIMEZONE 1
20984 _ACEOF
20987 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20988 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20989 if test "${ac_cv_have_daylight+set}" = set; then
20990 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 else
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h. */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 #include <time.h>
21000 main ()
21002 daylight = 1
21004 return 0;
21006 _ACEOF
21007 rm -f conftest.$ac_objext conftest$ac_exeext
21008 if { (ac_try="$ac_link"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_link") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest$ac_exeext &&
21024 $as_test_x conftest$ac_exeext; then
21025 ac_cv_have_daylight="yes"
21026 else
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.$ac_ext >&5
21030 ac_cv_have_daylight="no"
21033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21034 conftest$ac_exeext conftest.$ac_ext
21036 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21037 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21038 if test "$ac_cv_have_daylight" = "yes"
21039 then
21041 cat >>confdefs.h <<\_ACEOF
21042 #define HAVE_DAYLIGHT 1
21043 _ACEOF
21048 case $host_cpu in
21049 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21050 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21051 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 else
21054 cat >conftest.$ac_ext <<_ACEOF
21055 /* confdefs.h. */
21056 _ACEOF
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 #ifndef __i386__
21062 #endif
21063 _ACEOF
21064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21065 $EGREP "yes" >/dev/null 2>&1; then
21066 ac_cv_cpp_def___i386__=yes
21067 else
21068 ac_cv_cpp_def___i386__=no
21070 rm -f conftest*
21073 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21074 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21075 if test $ac_cv_cpp_def___i386__ = yes; then
21076 CFLAGS="$CFLAGS -D__i386__"
21077 LINTFLAGS="$LINTFLAGS -D__i386__"
21080 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21081 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21082 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21083 echo $ECHO_N "(cached) $ECHO_C" >&6
21084 else
21085 cat >conftest.$ac_ext <<_ACEOF
21086 /* confdefs.h. */
21087 _ACEOF
21088 cat confdefs.h >>conftest.$ac_ext
21089 cat >>conftest.$ac_ext <<_ACEOF
21090 /* end confdefs.h. */
21091 #ifndef __x86_64__
21093 #endif
21094 _ACEOF
21095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21096 $EGREP "yes" >/dev/null 2>&1; then
21097 ac_cv_cpp_def___x86_64__=yes
21098 else
21099 ac_cv_cpp_def___x86_64__=no
21101 rm -f conftest*
21104 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21105 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21106 if test $ac_cv_cpp_def___x86_64__ = yes; then
21107 CFLAGS="$CFLAGS -D__x86_64__"
21108 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21111 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21112 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21113 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 else
21116 cat >conftest.$ac_ext <<_ACEOF
21117 /* confdefs.h. */
21118 _ACEOF
21119 cat confdefs.h >>conftest.$ac_ext
21120 cat >>conftest.$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 #ifndef __ALPHA__
21124 #endif
21125 _ACEOF
21126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21127 $EGREP "yes" >/dev/null 2>&1; then
21128 ac_cv_cpp_def___ALPHA__=yes
21129 else
21130 ac_cv_cpp_def___ALPHA__=no
21132 rm -f conftest*
21135 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21136 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21137 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21138 CFLAGS="$CFLAGS -D__ALPHA__"
21139 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21142 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21143 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21144 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21145 echo $ECHO_N "(cached) $ECHO_C" >&6
21146 else
21147 cat >conftest.$ac_ext <<_ACEOF
21148 /* confdefs.h. */
21149 _ACEOF
21150 cat confdefs.h >>conftest.$ac_ext
21151 cat >>conftest.$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21153 #ifndef __sparc__
21155 #endif
21156 _ACEOF
21157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21158 $EGREP "yes" >/dev/null 2>&1; then
21159 ac_cv_cpp_def___sparc__=yes
21160 else
21161 ac_cv_cpp_def___sparc__=no
21163 rm -f conftest*
21166 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21167 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21168 if test $ac_cv_cpp_def___sparc__ = yes; then
21169 CFLAGS="$CFLAGS -D__sparc__"
21170 LINTFLAGS="$LINTFLAGS -D__sparc__"
21173 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21174 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21175 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21176 echo $ECHO_N "(cached) $ECHO_C" >&6
21177 else
21178 cat >conftest.$ac_ext <<_ACEOF
21179 /* confdefs.h. */
21180 _ACEOF
21181 cat confdefs.h >>conftest.$ac_ext
21182 cat >>conftest.$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 #ifndef __powerpc__
21186 #endif
21187 _ACEOF
21188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21189 $EGREP "yes" >/dev/null 2>&1; then
21190 ac_cv_cpp_def___powerpc__=yes
21191 else
21192 ac_cv_cpp_def___powerpc__=no
21194 rm -f conftest*
21197 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21198 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21199 if test $ac_cv_cpp_def___powerpc__ = yes; then
21200 CFLAGS="$CFLAGS -D__powerpc__"
21201 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21204 esac
21206 case $host_vendor in
21207 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21208 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21209 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21210 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 else
21212 cat >conftest.$ac_ext <<_ACEOF
21213 /* confdefs.h. */
21214 _ACEOF
21215 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21218 #ifndef __sun__
21220 #endif
21221 _ACEOF
21222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21223 $EGREP "yes" >/dev/null 2>&1; then
21224 ac_cv_cpp_def___sun__=yes
21225 else
21226 ac_cv_cpp_def___sun__=no
21228 rm -f conftest*
21231 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21232 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21233 if test $ac_cv_cpp_def___sun__ = yes; then
21234 CFLAGS="$CFLAGS -D__sun__"
21235 LINTFLAGS="$LINTFLAGS -D__sun__"
21238 esac
21241 DEPENDENCIES="### Dependencies:
21243 .INIT: Makefile
21244 .BEGIN: Makefile
21245 Makefile: dummy
21246 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21248 \$(OBJS): \$(IDL_GEN_HEADERS)
21249 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21250 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21251 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21257 ac_config_commands="$ac_config_commands include/stamp-h"
21260 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21262 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21264 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21266 ac_config_commands="$ac_config_commands dlls/user32/resources"
21268 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21270 ac_config_commands="$ac_config_commands include/wine"
21273 MAKE_RULES=Make.rules
21276 MAKE_DLL_RULES=dlls/Makedll.rules
21279 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21282 MAKE_TEST_RULES=dlls/Maketest.rules
21285 MAKE_PROG_RULES=programs/Makeprog.rules
21288 ac_config_files="$ac_config_files Make.rules"
21290 ac_config_files="$ac_config_files dlls/Makedll.rules"
21292 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21294 ac_config_files="$ac_config_files dlls/Maketest.rules"
21296 ac_config_files="$ac_config_files programs/Makeprog.rules"
21298 ac_config_files="$ac_config_files Makefile"
21300 ac_config_files="$ac_config_files dlls/Makefile"
21302 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21304 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21306 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21308 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21310 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21312 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21314 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21316 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21318 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21320 ac_config_files="$ac_config_files dlls/atl/Makefile"
21322 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21324 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21326 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21328 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21330 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21332 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21334 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21336 ac_config_files="$ac_config_files dlls/cards/Makefile"
21338 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21340 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21342 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21344 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21346 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21348 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21350 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21352 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21354 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21356 ac_config_files="$ac_config_files dlls/credui/Makefile"
21358 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21360 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21362 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21364 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21366 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21368 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21370 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21372 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21374 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21376 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21378 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21380 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21382 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21384 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21386 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21388 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21390 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21392 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21394 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21396 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21398 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21400 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21402 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21404 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21406 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21408 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21410 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21412 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21414 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21416 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21418 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21420 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21422 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21424 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21426 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21428 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21430 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21432 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21434 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21436 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21438 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21440 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21442 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21444 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21446 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21448 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21450 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21452 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21454 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21456 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21458 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21460 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21462 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21464 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21466 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21468 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21470 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21472 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21474 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21476 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21478 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21480 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21482 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21484 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21486 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21488 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21490 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21492 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21494 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21496 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21498 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21500 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21502 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21504 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21506 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21508 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21510 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21512 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21514 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21516 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21518 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21520 ac_config_files="$ac_config_files dlls/hal/Makefile"
21522 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21524 ac_config_files="$ac_config_files dlls/hid/Makefile"
21526 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21528 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21530 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21532 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21534 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21536 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21538 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21540 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21542 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21544 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21546 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21548 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21550 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21552 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21554 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21556 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21558 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21560 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21562 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21564 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21566 ac_config_files="$ac_config_files dlls/itss/Makefile"
21568 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21570 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21572 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21574 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21576 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21578 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21580 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21582 ac_config_files="$ac_config_files dlls/localui/Makefile"
21584 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21586 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21588 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21590 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21592 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21594 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21596 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21598 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21600 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21602 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21604 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21606 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21608 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21610 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21612 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21614 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21616 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21618 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21620 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21622 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21624 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21626 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21628 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21630 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21632 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21634 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21636 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21638 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21640 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21642 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21644 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21646 ac_config_files="$ac_config_files dlls/msi/Makefile"
21648 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21650 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21652 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21654 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21656 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21658 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21660 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21662 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21664 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21666 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21668 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21670 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21672 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21674 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21676 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21680 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21682 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21684 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21686 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21688 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21690 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21692 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21694 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21696 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21698 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21700 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21702 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21704 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21706 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21708 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21710 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21712 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21714 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21716 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21718 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21720 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21722 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21724 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21726 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21728 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21730 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21732 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21734 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21736 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21738 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21740 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21742 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21744 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21746 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21748 ac_config_files="$ac_config_files dlls/printui/Makefile"
21750 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21752 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21754 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21756 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21758 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21760 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21762 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21766 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21768 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21770 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21772 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21774 ac_config_files="$ac_config_files dlls/query/Makefile"
21776 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21778 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21780 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21782 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21784 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21786 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21788 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21790 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21792 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21794 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21796 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21798 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21800 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21802 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21804 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21806 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21808 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21810 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21812 ac_config_files="$ac_config_files dlls/security/Makefile"
21814 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21816 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21818 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21820 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21822 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21824 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21826 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21828 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21830 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21832 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21834 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21836 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21838 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21840 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21842 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21844 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21846 ac_config_files="$ac_config_files dlls/slc/Makefile"
21848 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21850 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21852 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21854 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21856 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21858 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21860 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21862 ac_config_files="$ac_config_files dlls/sti/Makefile"
21864 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21866 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21868 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21870 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21872 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21874 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21876 ac_config_files="$ac_config_files dlls/url/Makefile"
21878 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21880 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21882 ac_config_files="$ac_config_files dlls/user32/Makefile"
21884 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21886 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21888 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21890 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21892 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21894 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21896 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21898 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21900 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21902 ac_config_files="$ac_config_files dlls/version/Makefile"
21904 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21906 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21908 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21910 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21912 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21914 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21916 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21918 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21920 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21922 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21924 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21926 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21928 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21930 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21932 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21934 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21936 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21938 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21940 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21942 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21944 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21946 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21948 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21950 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21952 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21954 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21956 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21958 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21960 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21962 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21964 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21966 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21968 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21970 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21972 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21976 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21978 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21980 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21982 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21984 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21986 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21988 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21990 ac_config_files="$ac_config_files documentation/Makefile"
21992 ac_config_files="$ac_config_files fonts/Makefile"
21994 ac_config_files="$ac_config_files include/Makefile"
21996 ac_config_files="$ac_config_files libs/Makefile"
21998 ac_config_files="$ac_config_files libs/port/Makefile"
22000 ac_config_files="$ac_config_files libs/wine/Makefile"
22002 ac_config_files="$ac_config_files libs/wpp/Makefile"
22004 ac_config_files="$ac_config_files loader/Makefile"
22006 ac_config_files="$ac_config_files programs/Makefile"
22008 ac_config_files="$ac_config_files programs/clock/Makefile"
22010 ac_config_files="$ac_config_files programs/cmd/Makefile"
22012 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22014 ac_config_files="$ac_config_files programs/control/Makefile"
22016 ac_config_files="$ac_config_files programs/eject/Makefile"
22018 ac_config_files="$ac_config_files programs/expand/Makefile"
22020 ac_config_files="$ac_config_files programs/explorer/Makefile"
22022 ac_config_files="$ac_config_files programs/hh/Makefile"
22024 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22026 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22028 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22030 ac_config_files="$ac_config_files programs/net/Makefile"
22032 ac_config_files="$ac_config_files programs/notepad/Makefile"
22034 ac_config_files="$ac_config_files programs/oleview/Makefile"
22036 ac_config_files="$ac_config_files programs/progman/Makefile"
22038 ac_config_files="$ac_config_files programs/reg/Makefile"
22040 ac_config_files="$ac_config_files programs/regedit/Makefile"
22042 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22044 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22046 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22048 ac_config_files="$ac_config_files programs/secedit/Makefile"
22050 ac_config_files="$ac_config_files programs/services/Makefile"
22052 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22054 ac_config_files="$ac_config_files programs/start/Makefile"
22056 ac_config_files="$ac_config_files programs/svchost/Makefile"
22058 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22060 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22062 ac_config_files="$ac_config_files programs/view/Makefile"
22064 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22066 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22068 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22070 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22072 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22074 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22076 ac_config_files="$ac_config_files programs/winefile/Makefile"
22078 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22080 ac_config_files="$ac_config_files programs/winemine/Makefile"
22082 ac_config_files="$ac_config_files programs/winepath/Makefile"
22084 ac_config_files="$ac_config_files programs/winetest/Makefile"
22086 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22088 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22090 ac_config_files="$ac_config_files programs/winver/Makefile"
22092 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22094 ac_config_files="$ac_config_files programs/write/Makefile"
22096 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22098 ac_config_files="$ac_config_files server/Makefile"
22100 ac_config_files="$ac_config_files tools/Makefile"
22102 ac_config_files="$ac_config_files tools/widl/Makefile"
22104 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22106 ac_config_files="$ac_config_files tools/winedump/Makefile"
22108 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22110 ac_config_files="$ac_config_files tools/wmc/Makefile"
22112 ac_config_files="$ac_config_files tools/wrc/Makefile"
22115 cat >confcache <<\_ACEOF
22116 # This file is a shell script that caches the results of configure
22117 # tests run on this system so they can be shared between configure
22118 # scripts and configure runs, see configure's option --config-cache.
22119 # It is not useful on other systems. If it contains results you don't
22120 # want to keep, you may remove or edit it.
22122 # config.status only pays attention to the cache file if you give it
22123 # the --recheck option to rerun configure.
22125 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22126 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22127 # following values.
22129 _ACEOF
22131 # The following way of writing the cache mishandles newlines in values,
22132 # but we know of no workaround that is simple, portable, and efficient.
22133 # So, we kill variables containing newlines.
22134 # Ultrix sh set writes to stderr and can't be redirected directly,
22135 # and sets the high bit in the cache file unless we assign to the vars.
22137 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22138 eval ac_val=\$$ac_var
22139 case $ac_val in #(
22140 *${as_nl}*)
22141 case $ac_var in #(
22142 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22143 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22144 esac
22145 case $ac_var in #(
22146 _ | IFS | as_nl) ;; #(
22147 *) $as_unset $ac_var ;;
22148 esac ;;
22149 esac
22150 done
22152 (set) 2>&1 |
22153 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22154 *${as_nl}ac_space=\ *)
22155 # `set' does not quote correctly, so add quotes (double-quote
22156 # substitution turns \\\\ into \\, and sed turns \\ into \).
22157 sed -n \
22158 "s/'/'\\\\''/g;
22159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22160 ;; #(
22162 # `set' quotes correctly as required by POSIX, so do not add quotes.
22163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22165 esac |
22166 sort
22168 sed '
22169 /^ac_cv_env_/b end
22170 t clear
22171 :clear
22172 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22173 t end
22174 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22175 :end' >>confcache
22176 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22177 if test -w "$cache_file"; then
22178 test "x$cache_file" != "x/dev/null" &&
22179 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22180 echo "$as_me: updating cache $cache_file" >&6;}
22181 cat confcache >$cache_file
22182 else
22183 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22184 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22187 rm -f confcache
22189 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22190 # Let make expand exec_prefix.
22191 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22193 DEFS=-DHAVE_CONFIG_H
22195 ac_libobjs=
22196 ac_ltlibobjs=
22197 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22198 # 1. Remove the extension, and $U if already installed.
22199 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22200 ac_i=`echo "$ac_i" | sed "$ac_script"`
22201 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22202 # will be set to the directory where LIBOBJS objects are built.
22203 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22204 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22205 done
22206 LIBOBJS=$ac_libobjs
22208 LTLIBOBJS=$ac_ltlibobjs
22212 : ${CONFIG_STATUS=./config.status}
22213 ac_clean_files_save=$ac_clean_files
22214 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22215 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22216 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22217 cat >$CONFIG_STATUS <<_ACEOF
22218 #! $SHELL
22219 # Generated by $as_me.
22220 # Run this file to recreate the current configuration.
22221 # Compiler output produced by configure, useful for debugging
22222 # configure, is in config.log if it exists.
22224 debug=false
22225 ac_cs_recheck=false
22226 ac_cs_silent=false
22227 SHELL=\${CONFIG_SHELL-$SHELL}
22228 _ACEOF
22230 cat >>$CONFIG_STATUS <<\_ACEOF
22231 ## --------------------- ##
22232 ## M4sh Initialization. ##
22233 ## --------------------- ##
22235 # Be more Bourne compatible
22236 DUALCASE=1; export DUALCASE # for MKS sh
22237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22238 emulate sh
22239 NULLCMD=:
22240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22241 # is contrary to our usage. Disable this feature.
22242 alias -g '${1+"$@"}'='"$@"'
22243 setopt NO_GLOB_SUBST
22244 else
22245 case `(set -o) 2>/dev/null` in
22246 *posix*) set -o posix ;;
22247 esac
22254 # PATH needs CR
22255 # Avoid depending upon Character Ranges.
22256 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22259 as_cr_digits='0123456789'
22260 as_cr_alnum=$as_cr_Letters$as_cr_digits
22262 # The user is always right.
22263 if test "${PATH_SEPARATOR+set}" != set; then
22264 echo "#! /bin/sh" >conf$$.sh
22265 echo "exit 0" >>conf$$.sh
22266 chmod +x conf$$.sh
22267 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22268 PATH_SEPARATOR=';'
22269 else
22270 PATH_SEPARATOR=:
22272 rm -f conf$$.sh
22275 # Support unset when possible.
22276 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22277 as_unset=unset
22278 else
22279 as_unset=false
22283 # IFS
22284 # We need space, tab and new line, in precisely that order. Quoting is
22285 # there to prevent editors from complaining about space-tab.
22286 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22287 # splitting by setting IFS to empty value.)
22288 as_nl='
22290 IFS=" "" $as_nl"
22292 # Find who we are. Look in the path if we contain no directory separator.
22293 case $0 in
22294 *[\\/]* ) as_myself=$0 ;;
22295 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22296 for as_dir in $PATH
22298 IFS=$as_save_IFS
22299 test -z "$as_dir" && as_dir=.
22300 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22301 done
22302 IFS=$as_save_IFS
22305 esac
22306 # We did not find ourselves, most probably we were run as `sh COMMAND'
22307 # in which case we are not to be found in the path.
22308 if test "x$as_myself" = x; then
22309 as_myself=$0
22311 if test ! -f "$as_myself"; then
22312 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22313 { (exit 1); exit 1; }
22316 # Work around bugs in pre-3.0 UWIN ksh.
22317 for as_var in ENV MAIL MAILPATH
22318 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22319 done
22320 PS1='$ '
22321 PS2='> '
22322 PS4='+ '
22324 # NLS nuisances.
22325 for as_var in \
22326 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22327 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22328 LC_TELEPHONE LC_TIME
22330 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22331 eval $as_var=C; export $as_var
22332 else
22333 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22335 done
22337 # Required to use basename.
22338 if expr a : '\(a\)' >/dev/null 2>&1 &&
22339 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22340 as_expr=expr
22341 else
22342 as_expr=false
22345 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22346 as_basename=basename
22347 else
22348 as_basename=false
22352 # Name of the executable.
22353 as_me=`$as_basename -- "$0" ||
22354 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22355 X"$0" : 'X\(//\)$' \| \
22356 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22357 echo X/"$0" |
22358 sed '/^.*\/\([^/][^/]*\)\/*$/{
22359 s//\1/
22362 /^X\/\(\/\/\)$/{
22363 s//\1/
22366 /^X\/\(\/\).*/{
22367 s//\1/
22370 s/.*/./; q'`
22372 # CDPATH.
22373 $as_unset CDPATH
22377 as_lineno_1=$LINENO
22378 as_lineno_2=$LINENO
22379 test "x$as_lineno_1" != "x$as_lineno_2" &&
22380 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22382 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22383 # uniformly replaced by the line number. The first 'sed' inserts a
22384 # line-number line after each line using $LINENO; the second 'sed'
22385 # does the real work. The second script uses 'N' to pair each
22386 # line-number line with the line containing $LINENO, and appends
22387 # trailing '-' during substitution so that $LINENO is not a special
22388 # case at line end.
22389 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22390 # scripts with optimization help from Paolo Bonzini. Blame Lee
22391 # E. McMahon (1931-1989) for sed's syntax. :-)
22392 sed -n '
22394 /[$]LINENO/=
22395 ' <$as_myself |
22396 sed '
22397 s/[$]LINENO.*/&-/
22398 t lineno
22400 :lineno
22402 :loop
22403 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22404 t loop
22405 s/-\n.*//
22406 ' >$as_me.lineno &&
22407 chmod +x "$as_me.lineno" ||
22408 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22409 { (exit 1); exit 1; }; }
22411 # Don't try to exec as it changes $[0], causing all sort of problems
22412 # (the dirname of $[0] is not the place where we might find the
22413 # original and so on. Autoconf is especially sensitive to this).
22414 . "./$as_me.lineno"
22415 # Exit status is that of the last command.
22416 exit
22420 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22421 as_dirname=dirname
22422 else
22423 as_dirname=false
22426 ECHO_C= ECHO_N= ECHO_T=
22427 case `echo -n x` in
22428 -n*)
22429 case `echo 'x\c'` in
22430 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22431 *) ECHO_C='\c';;
22432 esac;;
22434 ECHO_N='-n';;
22435 esac
22437 if expr a : '\(a\)' >/dev/null 2>&1 &&
22438 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22439 as_expr=expr
22440 else
22441 as_expr=false
22444 rm -f conf$$ conf$$.exe conf$$.file
22445 if test -d conf$$.dir; then
22446 rm -f conf$$.dir/conf$$.file
22447 else
22448 rm -f conf$$.dir
22449 mkdir conf$$.dir
22451 echo >conf$$.file
22452 if ln -s conf$$.file conf$$ 2>/dev/null; then
22453 as_ln_s='ln -s'
22454 # ... but there are two gotchas:
22455 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22456 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22457 # In both cases, we have to default to `cp -p'.
22458 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22459 as_ln_s='cp -p'
22460 elif ln conf$$.file conf$$ 2>/dev/null; then
22461 as_ln_s=ln
22462 else
22463 as_ln_s='cp -p'
22465 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22466 rmdir conf$$.dir 2>/dev/null
22468 if mkdir -p . 2>/dev/null; then
22469 as_mkdir_p=:
22470 else
22471 test -d ./-p && rmdir ./-p
22472 as_mkdir_p=false
22475 if test -x / >/dev/null 2>&1; then
22476 as_test_x='test -x'
22477 else
22478 if ls -dL / >/dev/null 2>&1; then
22479 as_ls_L_option=L
22480 else
22481 as_ls_L_option=
22483 as_test_x='
22484 eval sh -c '\''
22485 if test -d "$1"; then
22486 test -d "$1/.";
22487 else
22488 case $1 in
22489 -*)set "./$1";;
22490 esac;
22491 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22492 ???[sx]*):;;*)false;;esac;fi
22493 '\'' sh
22496 as_executable_p=$as_test_x
22498 # Sed expression to map a string onto a valid CPP name.
22499 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22501 # Sed expression to map a string onto a valid variable name.
22502 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22505 exec 6>&1
22507 # Save the log message, to keep $[0] and so on meaningful, and to
22508 # report actual input values of CONFIG_FILES etc. instead of their
22509 # values after options handling.
22510 ac_log="
22511 This file was extended by Wine $as_me 0.9.58, which was
22512 generated by GNU Autoconf 2.61. Invocation command line was
22514 CONFIG_FILES = $CONFIG_FILES
22515 CONFIG_HEADERS = $CONFIG_HEADERS
22516 CONFIG_LINKS = $CONFIG_LINKS
22517 CONFIG_COMMANDS = $CONFIG_COMMANDS
22518 $ $0 $@
22520 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22523 _ACEOF
22525 cat >>$CONFIG_STATUS <<_ACEOF
22526 # Files that config.status was made for.
22527 config_files="$ac_config_files"
22528 config_headers="$ac_config_headers"
22529 config_commands="$ac_config_commands"
22531 _ACEOF
22533 cat >>$CONFIG_STATUS <<\_ACEOF
22534 ac_cs_usage="\
22535 \`$as_me' instantiates files from templates according to the
22536 current configuration.
22538 Usage: $0 [OPTIONS] [FILE]...
22540 -h, --help print this help, then exit
22541 -V, --version print version number and configuration settings, then exit
22542 -q, --quiet do not print progress messages
22543 -d, --debug don't remove temporary files
22544 --recheck update $as_me by reconfiguring in the same conditions
22545 --file=FILE[:TEMPLATE]
22546 instantiate the configuration file FILE
22547 --header=FILE[:TEMPLATE]
22548 instantiate the configuration header FILE
22550 Configuration files:
22551 $config_files
22553 Configuration headers:
22554 $config_headers
22556 Configuration commands:
22557 $config_commands
22559 Report bugs to <bug-autoconf@gnu.org>."
22561 _ACEOF
22562 cat >>$CONFIG_STATUS <<_ACEOF
22563 ac_cs_version="\\
22564 Wine config.status 0.9.58
22565 configured by $0, generated by GNU Autoconf 2.61,
22566 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22568 Copyright (C) 2006 Free Software Foundation, Inc.
22569 This config.status script is free software; the Free Software Foundation
22570 gives unlimited permission to copy, distribute and modify it."
22572 ac_pwd='$ac_pwd'
22573 srcdir='$srcdir'
22574 INSTALL='$INSTALL'
22575 _ACEOF
22577 cat >>$CONFIG_STATUS <<\_ACEOF
22578 # If no file are specified by the user, then we need to provide default
22579 # value. By we need to know if files were specified by the user.
22580 ac_need_defaults=:
22581 while test $# != 0
22583 case $1 in
22584 --*=*)
22585 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22586 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22587 ac_shift=:
22590 ac_option=$1
22591 ac_optarg=$2
22592 ac_shift=shift
22594 esac
22596 case $ac_option in
22597 # Handling of the options.
22598 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22599 ac_cs_recheck=: ;;
22600 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22601 echo "$ac_cs_version"; exit ;;
22602 --debug | --debu | --deb | --de | --d | -d )
22603 debug=: ;;
22604 --file | --fil | --fi | --f )
22605 $ac_shift
22606 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22607 ac_need_defaults=false;;
22608 --header | --heade | --head | --hea )
22609 $ac_shift
22610 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22611 ac_need_defaults=false;;
22612 --he | --h)
22613 # Conflict between --help and --header
22614 { echo "$as_me: error: ambiguous option: $1
22615 Try \`$0 --help' for more information." >&2
22616 { (exit 1); exit 1; }; };;
22617 --help | --hel | -h )
22618 echo "$ac_cs_usage"; exit ;;
22619 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22620 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22621 ac_cs_silent=: ;;
22623 # This is an error.
22624 -*) { echo "$as_me: error: unrecognized option: $1
22625 Try \`$0 --help' for more information." >&2
22626 { (exit 1); exit 1; }; } ;;
22628 *) ac_config_targets="$ac_config_targets $1"
22629 ac_need_defaults=false ;;
22631 esac
22632 shift
22633 done
22635 ac_configure_extra_args=
22637 if $ac_cs_silent; then
22638 exec 6>/dev/null
22639 ac_configure_extra_args="$ac_configure_extra_args --silent"
22642 _ACEOF
22643 cat >>$CONFIG_STATUS <<_ACEOF
22644 if \$ac_cs_recheck; then
22645 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22646 CONFIG_SHELL=$SHELL
22647 export CONFIG_SHELL
22648 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22651 _ACEOF
22652 cat >>$CONFIG_STATUS <<\_ACEOF
22653 exec 5>>config.log
22655 echo
22656 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22657 ## Running $as_me. ##
22658 _ASBOX
22659 echo "$ac_log"
22660 } >&5
22662 _ACEOF
22663 cat >>$CONFIG_STATUS <<_ACEOF
22664 _ACEOF
22666 cat >>$CONFIG_STATUS <<\_ACEOF
22668 # Handling of arguments.
22669 for ac_config_target in $ac_config_targets
22671 case $ac_config_target in
22672 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22673 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22674 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22675 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22676 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22677 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22678 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22679 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22680 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22681 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22682 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22683 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22684 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22685 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22686 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22687 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22688 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22689 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22690 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22691 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22692 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22693 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22694 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22695 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22696 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22697 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22698 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22699 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22700 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22701 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22702 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22703 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22704 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22705 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22706 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22707 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22708 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22709 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22710 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22711 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22712 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22713 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22714 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22715 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22716 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22717 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22718 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22719 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22720 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22721 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22722 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22723 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22724 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22725 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22726 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22727 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22728 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22729 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22730 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22731 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22732 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22733 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22734 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22735 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22736 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22737 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22738 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22739 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22740 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22741 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22742 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22743 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22744 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22745 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22746 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22747 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22748 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22749 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22750 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22751 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22752 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22753 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22754 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22755 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22756 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22757 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22758 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22759 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22760 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22761 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22762 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22763 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22764 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22765 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22766 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22767 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22768 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22769 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22770 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22771 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22772 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22773 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22774 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22775 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22776 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22777 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22778 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22779 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22780 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22781 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22782 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22783 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22784 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22785 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22786 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22787 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22788 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
22789 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22790 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22791 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22792 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22793 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22794 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22795 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22796 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22797 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22798 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22799 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22800 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22801 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22802 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22803 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22804 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22805 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22806 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22807 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22808 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22809 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22810 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22811 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22812 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22813 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22814 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22815 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22816 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22817 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22818 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22819 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22820 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22821 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22822 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
22823 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22824 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22825 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22826 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22827 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22828 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22829 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22830 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22831 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22832 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22833 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22834 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22835 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22836 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22837 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22838 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22839 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22840 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22841 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22842 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22843 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22844 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22845 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22846 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22847 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22848 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22849 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22850 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22851 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22852 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22853 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22854 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22855 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22856 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22857 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22858 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22859 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22860 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22861 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22862 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22863 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22864 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22865 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22866 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22867 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22868 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22869 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22870 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22871 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22872 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22873 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22874 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22875 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22876 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22877 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22878 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22879 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22880 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22881 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22882 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22883 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22884 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22885 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22886 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22887 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22888 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22889 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22890 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22891 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22892 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22893 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22894 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22895 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22896 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22897 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22898 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22899 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22900 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22901 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22902 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22903 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22904 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22905 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22906 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22907 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22908 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22909 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22910 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22911 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22912 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22913 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22914 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22915 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22916 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22917 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22918 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22919 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22920 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22921 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22922 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22923 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22924 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22925 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22926 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22927 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22928 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22929 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22930 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22931 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22932 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22933 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22934 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22935 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22936 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22937 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22938 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22939 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22940 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22941 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22942 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22943 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22944 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22945 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22946 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22947 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22948 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22949 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22950 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22951 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22952 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22953 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22954 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22955 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22956 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22957 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22958 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22959 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22960 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22961 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22962 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22963 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22964 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22965 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22966 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22967 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22968 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22969 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22970 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22971 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22972 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22973 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22974 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22975 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22976 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22977 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22978 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22979 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22980 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22981 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22982 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22983 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22984 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22985 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22986 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22987 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22988 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22989 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22990 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22991 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22992 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22993 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22994 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22995 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22996 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22997 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22998 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22999 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23000 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23001 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23002 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23003 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23004 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23005 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23006 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23007 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23008 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23009 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23010 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23011 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23012 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23013 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23014 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23015 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23016 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23017 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23018 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23019 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23020 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23021 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23022 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23023 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23024 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23025 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23026 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23027 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23028 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23029 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23030 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23031 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23032 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23033 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23034 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23035 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23036 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23037 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23038 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23039 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23040 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23041 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23042 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23043 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23044 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23045 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23046 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23047 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23048 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23049 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23050 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23051 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23052 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23053 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23054 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23055 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23056 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23057 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23058 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23059 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23060 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23061 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23062 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23063 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23064 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23065 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23066 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23067 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23068 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23069 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23070 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23071 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23072 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23073 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23074 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23075 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23076 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23077 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23078 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23079 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23080 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23081 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23082 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23083 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23084 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23085 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23086 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23087 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23088 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23089 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23090 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23091 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23092 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23094 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23095 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23096 { (exit 1); exit 1; }; };;
23097 esac
23098 done
23101 # If the user did not use the arguments to specify the items to instantiate,
23102 # then the envvar interface is used. Set only those that are not.
23103 # We use the long form for the default assignment because of an extremely
23104 # bizarre bug on SunOS 4.1.3.
23105 if $ac_need_defaults; then
23106 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23107 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23108 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23111 # Have a temporary directory for convenience. Make it in the build tree
23112 # simply because there is no reason against having it here, and in addition,
23113 # creating and moving files from /tmp can sometimes cause problems.
23114 # Hook for its removal unless debugging.
23115 # Note that there is a small window in which the directory will not be cleaned:
23116 # after its creation but before its name has been assigned to `$tmp'.
23117 $debug ||
23119 tmp=
23120 trap 'exit_status=$?
23121 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23123 trap '{ (exit 1); exit 1; }' 1 2 13 15
23125 # Create a (secure) tmp directory for tmp files.
23128 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23129 test -n "$tmp" && test -d "$tmp"
23130 } ||
23132 tmp=./conf$$-$RANDOM
23133 (umask 077 && mkdir "$tmp")
23134 } ||
23136 echo "$me: cannot create a temporary directory in ." >&2
23137 { (exit 1); exit 1; }
23141 # Set up the sed scripts for CONFIG_FILES section.
23144 # No need to generate the scripts if there are no CONFIG_FILES.
23145 # This happens for instance when ./config.status config.h
23146 if test -n "$CONFIG_FILES"; then
23148 _ACEOF
23150 # Create sed commands to just substitute file output variables.
23152 # Remaining file output variables are in a fragment that also has non-file
23153 # output varibles.
23157 ac_delim='%!_!# '
23158 for ac_last_try in false false false false false :; do
23159 cat >conf$$subs.sed <<_ACEOF
23160 SHELL!$SHELL$ac_delim
23161 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23162 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23163 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23164 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23165 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23166 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23167 exec_prefix!$exec_prefix$ac_delim
23168 prefix!$prefix$ac_delim
23169 program_transform_name!$program_transform_name$ac_delim
23170 bindir!$bindir$ac_delim
23171 sbindir!$sbindir$ac_delim
23172 libexecdir!$libexecdir$ac_delim
23173 datarootdir!$datarootdir$ac_delim
23174 datadir!$datadir$ac_delim
23175 sysconfdir!$sysconfdir$ac_delim
23176 sharedstatedir!$sharedstatedir$ac_delim
23177 localstatedir!$localstatedir$ac_delim
23178 includedir!$includedir$ac_delim
23179 oldincludedir!$oldincludedir$ac_delim
23180 docdir!$docdir$ac_delim
23181 infodir!$infodir$ac_delim
23182 htmldir!$htmldir$ac_delim
23183 dvidir!$dvidir$ac_delim
23184 pdfdir!$pdfdir$ac_delim
23185 psdir!$psdir$ac_delim
23186 libdir!$libdir$ac_delim
23187 localedir!$localedir$ac_delim
23188 mandir!$mandir$ac_delim
23189 DEFS!$DEFS$ac_delim
23190 ECHO_C!$ECHO_C$ac_delim
23191 ECHO_N!$ECHO_N$ac_delim
23192 ECHO_T!$ECHO_T$ac_delim
23193 LIBS!$LIBS$ac_delim
23194 build_alias!$build_alias$ac_delim
23195 host_alias!$host_alias$ac_delim
23196 target_alias!$target_alias$ac_delim
23197 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23198 build!$build$ac_delim
23199 build_cpu!$build_cpu$ac_delim
23200 build_vendor!$build_vendor$ac_delim
23201 build_os!$build_os$ac_delim
23202 host!$host$ac_delim
23203 host_cpu!$host_cpu$ac_delim
23204 host_vendor!$host_vendor$ac_delim
23205 host_os!$host_os$ac_delim
23206 WIN16_FILES!$WIN16_FILES$ac_delim
23207 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23208 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23209 WINETEST!$WINETEST$ac_delim
23210 SET_MAKE!$SET_MAKE$ac_delim
23211 CC!$CC$ac_delim
23212 CFLAGS!$CFLAGS$ac_delim
23213 LDFLAGS!$LDFLAGS$ac_delim
23214 CPPFLAGS!$CPPFLAGS$ac_delim
23215 ac_ct_CC!$ac_ct_CC$ac_delim
23216 EXEEXT!$EXEEXT$ac_delim
23217 OBJEXT!$OBJEXT$ac_delim
23218 CXX!$CXX$ac_delim
23219 CXXFLAGS!$CXXFLAGS$ac_delim
23220 ac_ct_CXX!$ac_ct_CXX$ac_delim
23221 CPPBIN!$CPPBIN$ac_delim
23222 TOOLSDIR!$TOOLSDIR$ac_delim
23223 XMKMF!$XMKMF$ac_delim
23224 CPP!$CPP$ac_delim
23225 X_CFLAGS!$X_CFLAGS$ac_delim
23226 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23227 X_LIBS!$X_LIBS$ac_delim
23228 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23229 FLEX!$FLEX$ac_delim
23230 BISON!$BISON$ac_delim
23231 AS!$AS$ac_delim
23232 ac_ct_AS!$ac_ct_AS$ac_delim
23233 LD!$LD$ac_delim
23234 AR!$AR$ac_delim
23235 ARFLAGS!$ARFLAGS$ac_delim
23236 RANLIB!$RANLIB$ac_delim
23237 STRIP!$STRIP$ac_delim
23238 WINDRES!$WINDRES$ac_delim
23239 LN_S!$LN_S$ac_delim
23240 LN!$LN$ac_delim
23241 GREP!$GREP$ac_delim
23242 _ACEOF
23244 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23245 break
23246 elif $ac_last_try; then
23247 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23248 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23249 { (exit 1); exit 1; }; }
23250 else
23251 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23253 done
23255 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23256 if test -n "$ac_eof"; then
23257 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23258 ac_eof=`expr $ac_eof + 1`
23261 cat >>$CONFIG_STATUS <<_ACEOF
23262 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23263 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23264 /^[ ]*@MAKE_RULES@[ ]*$/{
23265 r $MAKE_RULES
23268 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23269 r $MAKE_DLL_RULES
23272 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23273 r $MAKE_IMPLIB_RULES
23276 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23277 r $MAKE_TEST_RULES
23280 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23281 r $MAKE_PROG_RULES
23284 _ACEOF
23285 sed '
23286 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23287 s/^/s,@/; s/!/@,|#_!!_#|/
23290 s/'"$ac_delim"'$/,g/; t
23291 s/$/\\/; p
23292 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23293 ' >>$CONFIG_STATUS <conf$$subs.sed
23294 rm -f conf$$subs.sed
23295 cat >>$CONFIG_STATUS <<_ACEOF
23296 CEOF$ac_eof
23297 _ACEOF
23300 ac_delim='%!_!# '
23301 for ac_last_try in false false false false false :; do
23302 cat >conf$$subs.sed <<_ACEOF
23303 EGREP!$EGREP$ac_delim
23304 LDCONFIG!$LDCONFIG$ac_delim
23305 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23306 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23307 INSTALL_DATA!$INSTALL_DATA$ac_delim
23308 LINT!$LINT$ac_delim
23309 LINTFLAGS!$LINTFLAGS$ac_delim
23310 FONTFORGE!$FONTFORGE$ac_delim
23311 PKG_CONFIG!$PKG_CONFIG$ac_delim
23312 RSVG!$RSVG$ac_delim
23313 ICOTOOL!$ICOTOOL$ac_delim
23314 PRELINK!$PRELINK$ac_delim
23315 LIBPTHREAD!$LIBPTHREAD$ac_delim
23316 XLIB!$XLIB$ac_delim
23317 XFILES!$XFILES$ac_delim
23318 OPENGLFILES!$OPENGLFILES$ac_delim
23319 GLU32FILES!$GLU32FILES$ac_delim
23320 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23321 QUARTZFILES!$QUARTZFILES$ac_delim
23322 DLLEXT!$DLLEXT$ac_delim
23323 DLLFLAGS!$DLLFLAGS$ac_delim
23324 LDSHARED!$LDSHARED$ac_delim
23325 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23326 LIBEXT!$LIBEXT$ac_delim
23327 IMPLIBEXT!$IMPLIBEXT$ac_delim
23328 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23329 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23330 LDD!$LDD$ac_delim
23331 DLLTOOL!$DLLTOOL$ac_delim
23332 DLLWRAP!$DLLWRAP$ac_delim
23333 MINGWAR!$MINGWAR$ac_delim
23334 SECURITYLIB!$SECURITYLIB$ac_delim
23335 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23336 IOKITLIB!$IOKITLIB$ac_delim
23337 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23338 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23339 COREAUDIO!$COREAUDIO$ac_delim
23340 CARBONLIB!$CARBONLIB$ac_delim
23341 CROSSTEST!$CROSSTEST$ac_delim
23342 CROSSCC!$CROSSCC$ac_delim
23343 CROSSWINDRES!$CROSSWINDRES$ac_delim
23344 NASLIBS!$NASLIBS$ac_delim
23345 XML2LIBS!$XML2LIBS$ac_delim
23346 XML2INCL!$XML2INCL$ac_delim
23347 XSLTLIBS!$XSLTLIBS$ac_delim
23348 XSLTINCL!$XSLTINCL$ac_delim
23349 HALINCL!$HALINCL$ac_delim
23350 sane_devel!$sane_devel$ac_delim
23351 SANEINCL!$SANEINCL$ac_delim
23352 gphoto2_devel!$gphoto2_devel$ac_delim
23353 gphoto2port_devel!$gphoto2port_devel$ac_delim
23354 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23355 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23356 RESOLVLIBS!$RESOLVLIBS$ac_delim
23357 LCMSLIBS!$LCMSLIBS$ac_delim
23358 LDAPLIBS!$LDAPLIBS$ac_delim
23359 ft_devel!$ft_devel$ac_delim
23360 FREETYPELIBS!$FREETYPELIBS$ac_delim
23361 FREETYPEINCL!$FREETYPEINCL$ac_delim
23362 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23363 ESDCONFIG!$ESDCONFIG$ac_delim
23364 ESDLIBS!$ESDLIBS$ac_delim
23365 ESDINCL!$ESDINCL$ac_delim
23366 ALSALIBS!$ALSALIBS$ac_delim
23367 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23368 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23369 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23370 BUILTINFLAG!$BUILTINFLAG$ac_delim
23371 LDPATH!$LDPATH$ac_delim
23372 CRTLIBS!$CRTLIBS$ac_delim
23373 SOCKETLIBS!$SOCKETLIBS$ac_delim
23374 MAIN_BINARY!$MAIN_BINARY$ac_delim
23375 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23376 LIBDL!$LIBDL$ac_delim
23377 LIBPOLL!$LIBPOLL$ac_delim
23378 DEPENDENCIES!$DEPENDENCIES$ac_delim
23379 LIBOBJS!$LIBOBJS$ac_delim
23380 LTLIBOBJS!$LTLIBOBJS$ac_delim
23381 _ACEOF
23383 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
23384 break
23385 elif $ac_last_try; then
23386 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23387 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23388 { (exit 1); exit 1; }; }
23389 else
23390 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23392 done
23394 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23395 if test -n "$ac_eof"; then
23396 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23397 ac_eof=`expr $ac_eof + 1`
23400 cat >>$CONFIG_STATUS <<_ACEOF
23401 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23403 _ACEOF
23404 sed '
23405 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23406 s/^/s,@/; s/!/@,|#_!!_#|/
23409 s/'"$ac_delim"'$/,g/; t
23410 s/$/\\/; p
23411 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23412 ' >>$CONFIG_STATUS <conf$$subs.sed
23413 rm -f conf$$subs.sed
23414 cat >>$CONFIG_STATUS <<_ACEOF
23415 :end
23416 s/|#_!!_#|//g
23417 CEOF$ac_eof
23418 _ACEOF
23421 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23422 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23423 # trailing colons and then remove the whole line if VPATH becomes empty
23424 # (actually we leave an empty line to preserve line numbers).
23425 if test "x$srcdir" = x.; then
23426 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23427 s/:*\$(srcdir):*/:/
23428 s/:*\${srcdir}:*/:/
23429 s/:*@srcdir@:*/:/
23430 s/^\([^=]*=[ ]*\):*/\1/
23431 s/:*$//
23432 s/^[^=]*=[ ]*$//
23436 cat >>$CONFIG_STATUS <<\_ACEOF
23437 fi # test -n "$CONFIG_FILES"
23440 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23442 case $ac_tag in
23443 :[FHLC]) ac_mode=$ac_tag; continue;;
23444 esac
23445 case $ac_mode$ac_tag in
23446 :[FHL]*:*);;
23447 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23448 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23449 { (exit 1); exit 1; }; };;
23450 :[FH]-) ac_tag=-:-;;
23451 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23452 esac
23453 ac_save_IFS=$IFS
23454 IFS=:
23455 set x $ac_tag
23456 IFS=$ac_save_IFS
23457 shift
23458 ac_file=$1
23459 shift
23461 case $ac_mode in
23462 :L) ac_source=$1;;
23463 :[FH])
23464 ac_file_inputs=
23465 for ac_f
23467 case $ac_f in
23468 -) ac_f="$tmp/stdin";;
23469 *) # Look for the file first in the build tree, then in the source tree
23470 # (if the path is not absolute). The absolute path cannot be DOS-style,
23471 # because $ac_f cannot contain `:'.
23472 test -f "$ac_f" ||
23473 case $ac_f in
23474 [\\/$]*) false;;
23475 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23476 esac ||
23477 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23478 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23479 { (exit 1); exit 1; }; };;
23480 esac
23481 ac_file_inputs="$ac_file_inputs $ac_f"
23482 done
23484 # Let's still pretend it is `configure' which instantiates (i.e., don't
23485 # use $as_me), people would be surprised to read:
23486 # /* config.h. Generated by config.status. */
23487 configure_input="Generated from "`IFS=:
23488 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23489 if test x"$ac_file" != x-; then
23490 configure_input="$ac_file. $configure_input"
23491 { echo "$as_me:$LINENO: creating $ac_file" >&5
23492 echo "$as_me: creating $ac_file" >&6;}
23495 case $ac_tag in
23496 *:-:* | *:-) cat >"$tmp/stdin";;
23497 esac
23499 esac
23501 ac_dir=`$as_dirname -- "$ac_file" ||
23502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23503 X"$ac_file" : 'X\(//\)[^/]' \| \
23504 X"$ac_file" : 'X\(//\)$' \| \
23505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23506 echo X"$ac_file" |
23507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23508 s//\1/
23511 /^X\(\/\/\)[^/].*/{
23512 s//\1/
23515 /^X\(\/\/\)$/{
23516 s//\1/
23519 /^X\(\/\).*/{
23520 s//\1/
23523 s/.*/./; q'`
23524 { as_dir="$ac_dir"
23525 case $as_dir in #(
23526 -*) as_dir=./$as_dir;;
23527 esac
23528 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23529 as_dirs=
23530 while :; do
23531 case $as_dir in #(
23532 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23533 *) as_qdir=$as_dir;;
23534 esac
23535 as_dirs="'$as_qdir' $as_dirs"
23536 as_dir=`$as_dirname -- "$as_dir" ||
23537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23538 X"$as_dir" : 'X\(//\)[^/]' \| \
23539 X"$as_dir" : 'X\(//\)$' \| \
23540 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23541 echo X"$as_dir" |
23542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23543 s//\1/
23546 /^X\(\/\/\)[^/].*/{
23547 s//\1/
23550 /^X\(\/\/\)$/{
23551 s//\1/
23554 /^X\(\/\).*/{
23555 s//\1/
23558 s/.*/./; q'`
23559 test -d "$as_dir" && break
23560 done
23561 test -z "$as_dirs" || eval "mkdir $as_dirs"
23562 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23563 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23564 { (exit 1); exit 1; }; }; }
23565 ac_builddir=.
23567 case "$ac_dir" in
23568 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23570 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23571 # A ".." for each directory in $ac_dir_suffix.
23572 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23573 case $ac_top_builddir_sub in
23574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23576 esac ;;
23577 esac
23578 ac_abs_top_builddir=$ac_pwd
23579 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23580 # for backward compatibility:
23581 ac_top_builddir=$ac_top_build_prefix
23583 case $srcdir in
23584 .) # We are building in place.
23585 ac_srcdir=.
23586 ac_top_srcdir=$ac_top_builddir_sub
23587 ac_abs_top_srcdir=$ac_pwd ;;
23588 [\\/]* | ?:[\\/]* ) # Absolute name.
23589 ac_srcdir=$srcdir$ac_dir_suffix;
23590 ac_top_srcdir=$srcdir
23591 ac_abs_top_srcdir=$srcdir ;;
23592 *) # Relative name.
23593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23594 ac_top_srcdir=$ac_top_build_prefix$srcdir
23595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23596 esac
23597 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23600 case $ac_mode in
23603 # CONFIG_FILE
23606 case $INSTALL in
23607 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23608 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23609 esac
23610 _ACEOF
23612 cat >>$CONFIG_STATUS <<\_ACEOF
23613 # If the template does not know about datarootdir, expand it.
23614 # FIXME: This hack should be removed a few years after 2.60.
23615 ac_datarootdir_hack=; ac_datarootdir_seen=
23617 case `sed -n '/datarootdir/ {
23621 /@datadir@/p
23622 /@docdir@/p
23623 /@infodir@/p
23624 /@localedir@/p
23625 /@mandir@/p
23626 ' $ac_file_inputs` in
23627 *datarootdir*) ac_datarootdir_seen=yes;;
23628 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23629 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23630 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23631 _ACEOF
23632 cat >>$CONFIG_STATUS <<_ACEOF
23633 ac_datarootdir_hack='
23634 s&@datadir@&$datadir&g
23635 s&@docdir@&$docdir&g
23636 s&@infodir@&$infodir&g
23637 s&@localedir@&$localedir&g
23638 s&@mandir@&$mandir&g
23639 s&\\\${datarootdir}&$datarootdir&g' ;;
23640 esac
23641 _ACEOF
23643 # Neutralize VPATH when `$srcdir' = `.'.
23644 # Shell code in configure.ac might set extrasub.
23645 # FIXME: do we really want to maintain this feature?
23646 cat >>$CONFIG_STATUS <<_ACEOF
23647 sed "$ac_vpsub
23648 $extrasub
23649 _ACEOF
23650 cat >>$CONFIG_STATUS <<\_ACEOF
23652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23653 s&@configure_input@&$configure_input&;t t
23654 s&@top_builddir@&$ac_top_builddir_sub&;t t
23655 s&@srcdir@&$ac_srcdir&;t t
23656 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23657 s&@top_srcdir@&$ac_top_srcdir&;t t
23658 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23659 s&@builddir@&$ac_builddir&;t t
23660 s&@abs_builddir@&$ac_abs_builddir&;t t
23661 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23662 s&@INSTALL@&$ac_INSTALL&;t t
23663 $ac_datarootdir_hack
23664 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23666 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23667 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23668 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23669 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23670 which seems to be undefined. Please make sure it is defined." >&5
23671 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23672 which seems to be undefined. Please make sure it is defined." >&2;}
23674 rm -f "$tmp/stdin"
23675 case $ac_file in
23676 -) cat "$tmp/out"; rm -f "$tmp/out";;
23677 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23678 esac
23682 # CONFIG_HEADER
23684 _ACEOF
23686 # Transform confdefs.h into a sed script `conftest.defines', that
23687 # substitutes the proper values into config.h.in to produce config.h.
23688 rm -f conftest.defines conftest.tail
23689 # First, append a space to every undef/define line, to ease matching.
23690 echo 's/$/ /' >conftest.defines
23691 # Then, protect against being on the right side of a sed subst, or in
23692 # an unquoted here document, in config.status. If some macros were
23693 # called several times there might be several #defines for the same
23694 # symbol, which is useless. But do not sort them, since the last
23695 # AC_DEFINE must be honored.
23696 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23697 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23698 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23699 # PARAMS is the parameter list in the macro definition--in most cases, it's
23700 # just an empty string.
23701 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23702 ac_dB='\\)[ (].*,\\1define\\2'
23703 ac_dC=' '
23704 ac_dD=' ,'
23706 uniq confdefs.h |
23707 sed -n '
23708 t rset
23709 :rset
23710 s/^[ ]*#[ ]*define[ ][ ]*//
23711 t ok
23714 s/[\\&,]/\\&/g
23715 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23716 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23717 ' >>conftest.defines
23719 # Remove the space that was appended to ease matching.
23720 # Then replace #undef with comments. This is necessary, for
23721 # example, in the case of _POSIX_SOURCE, which is predefined and required
23722 # on some systems where configure will not decide to define it.
23723 # (The regexp can be short, since the line contains either #define or #undef.)
23724 echo 's/ $//
23725 s,^[ #]*u.*,/* & */,' >>conftest.defines
23727 # Break up conftest.defines:
23728 ac_max_sed_lines=50
23730 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23731 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23732 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23733 # et cetera.
23734 ac_in='$ac_file_inputs'
23735 ac_out='"$tmp/out1"'
23736 ac_nxt='"$tmp/out2"'
23738 while :
23740 # Write a here document:
23741 cat >>$CONFIG_STATUS <<_ACEOF
23742 # First, check the format of the line:
23743 cat >"\$tmp/defines.sed" <<\\CEOF
23744 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23745 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23747 :def
23748 _ACEOF
23749 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23750 echo 'CEOF
23751 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23752 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23753 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23754 grep . conftest.tail >/dev/null || break
23755 rm -f conftest.defines
23756 mv conftest.tail conftest.defines
23757 done
23758 rm -f conftest.defines conftest.tail
23760 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23761 cat >>$CONFIG_STATUS <<\_ACEOF
23762 if test x"$ac_file" != x-; then
23763 echo "/* $configure_input */" >"$tmp/config.h"
23764 cat "$ac_result" >>"$tmp/config.h"
23765 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23766 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23767 echo "$as_me: $ac_file is unchanged" >&6;}
23768 else
23769 rm -f $ac_file
23770 mv "$tmp/config.h" $ac_file
23772 else
23773 echo "/* $configure_input */"
23774 cat "$ac_result"
23776 rm -f "$tmp/out12"
23779 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23780 echo "$as_me: executing $ac_file commands" >&6;}
23782 esac
23785 case $ac_file$ac_mode in
23786 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23787 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23788 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23789 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23790 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23791 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23792 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23793 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23794 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23795 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23796 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23797 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23798 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23800 esac
23801 done # for ac_tag
23804 { (exit 0); exit 0; }
23805 _ACEOF
23806 chmod +x $CONFIG_STATUS
23807 ac_clean_files=$ac_clean_files_save
23810 # configure is writing to config.log, and then calls config.status.
23811 # config.status does its own redirection, appending to config.log.
23812 # Unfortunately, on DOS this fails, as config.log is still kept open
23813 # by configure, so config.status won't be able to write to it; its
23814 # output is simply discarded. So we exec the FD to /dev/null,
23815 # effectively closing config.log, so it can be properly (re)opened and
23816 # appended to by config.status. When coming back to configure, we
23817 # need to make the FD available again.
23818 if test "$no_create" != yes; then
23819 ac_cs_success=:
23820 ac_config_status_args=
23821 test "$silent" = yes &&
23822 ac_config_status_args="$ac_config_status_args --quiet"
23823 exec 5>/dev/null
23824 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23825 exec 5>>config.log
23826 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23827 # would make configure fail if this is the last instruction.
23828 $ac_cs_success || { (exit 1); exit 1; }
23832 if test "$no_create" = "yes"
23833 then
23834 exit 0
23837 ac_save_IFS="$IFS"
23838 IFS="|"
23839 if test "x$wine_notices != "x; then
23840 echo >&6
23841 for msg in $wine_notices; do
23842 if test -n "$msg"; then
23843 { echo "$as_me:$LINENO: $msg" >&5
23844 echo "$as_me: $msg" >&6;}
23846 done
23848 for msg in $wine_warnings; do
23849 if test -n "$msg"; then
23850 echo >&2
23851 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23852 echo "$as_me: WARNING: $msg" >&2;}
23854 done
23855 IFS="$ac_save_IFS"
23857 echo "
23858 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23859 " >&6