d3d9: Fix a few ok conditions in the visual tests.
[wine.git] / configure
blob3a18ed9aeee0dd92360ff7b79f4bcda337dfb888
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.59.
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.59'
578 PACKAGE_STRING='Wine 0.9.59'
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 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 RSVG
708 ICOTOOL
709 PRELINK
710 LIBPTHREAD
711 XLIB
712 XFILES
713 OPENGLFILES
714 GLU32FILES
715 OPENGL_LIBS
716 QUARTZFILES
717 DLLEXT
718 DLLFLAGS
719 LDSHARED
720 LDDLLFLAGS
721 LIBEXT
722 IMPLIBEXT
723 LDRPATH_INSTALL
724 LDRPATH_LOCAL
726 DLLTOOL
727 DLLWRAP
728 MINGWAR
729 SECURITYLIB
730 COREFOUNDATIONLIB
731 IOKITLIB
732 LDEXECFLAGS
733 DISKARBITRATIONLIB
734 COREAUDIO
735 CARBONLIB
736 CROSSTEST
737 CROSSCC
738 CROSSWINDRES
739 NASLIBS
740 XML2LIBS
741 XML2INCL
742 XSLTLIBS
743 XSLTINCL
744 HALINCL
745 sane_devel
746 SANEINCL
747 gphoto2_devel
748 gphoto2port_devel
749 GPHOTO2LIBS
750 GPHOTO2INCL
751 RESOLVLIBS
752 LCMSLIBS
753 LDAPLIBS
754 ft_devel
755 FREETYPELIBS
756 FREETYPEINCL
757 FONTSSUBDIRS
758 ESDCONFIG
759 ESDLIBS
760 ESDINCL
761 ALSALIBS
762 AUDIOIOLIBS
763 FONTCONFIGINCL
764 EXTRACFLAGS
765 BUILTINFLAG
766 LDPATH
767 CRTLIBS
768 SOCKETLIBS
769 MAIN_BINARY
770 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781 ac_precious_vars='build_alias
782 host_alias
783 target_alias
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
790 CXXFLAGS
792 XMKMF
793 CPP'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures Wine 0.9.59 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 X features:
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1357 System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 0.9.59:";;
1366 esac
1367 cat <<\_ACEOF
1369 Optional Features:
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 binaries)
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-gphoto do not use gphoto (Digital Camera support)
1391 --without-hal do not use HAL (dynamic device support)
1392 --without-jack do not use the Jack sound support
1393 --without-jpeg do not use JPEG
1394 --without-ldap do not use LDAP
1395 --without-nas do not use the NAS sound support
1396 --without-opengl do not use OpenGL
1397 --without-openssl do not use OpenSSL
1398 --without-oss do not use the OSS sound support
1399 --without-png do not use PNG
1400 --without-sane do not use SANE (scanner support)
1401 --without-xcomposite do not use the Xcomposite extension
1402 --without-xcursor do not use the Xcursor extension
1403 --without-xinerama do not use Xinerama (multi-monitor support)
1404 --without-xinput do not use the Xinput extension
1405 --without-xml do not use XML
1406 --without-xrandr do not use Xrandr (resolution changes)
1407 --without-xrender do not use the Xrender extension
1408 --without-xshape do not use the Xshape extension
1409 --without-xshm do not use XShm (shared memory extension)
1410 --without-xslt do not use XSLT
1411 --without-xvidmode do not use XFree video mode extension
1412 --with-wine-tools=DIR use Wine tools from directory DIR
1413 --with-x use the X Window System
1415 Some influential environment variables:
1416 CC C compiler command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1419 nonstandard directory <lib dir>
1420 LIBS libraries to pass to the linker, e.g. -l<library>
1421 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1422 you have headers in a nonstandard directory <include dir>
1423 CXX C++ compiler command
1424 CXXFLAGS C++ compiler flags
1425 XMKMF Path to xmkmf, Makefile generator for X Window System
1426 CPP C preprocessor
1428 Use these variables to override the choices made by `configure' or to help
1429 it to find libraries and programs with nonstandard names/locations.
1431 Report bugs to <wine-devel@winehq.org>.
1432 _ACEOF
1433 ac_status=$?
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439 test -d "$ac_dir" || continue
1440 ac_builddir=.
1442 case "$ac_dir" in
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 esac ;;
1452 esac
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1458 case $srcdir in
1459 .) # We are building in place.
1460 ac_srcdir=.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1467 *) # Relative name.
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1471 esac
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1477 echo &&
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1482 else
1483 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1484 fi || ac_status=$?
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1486 done
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1491 cat <<\_ACEOF
1492 Wine configure 0.9.59
1493 generated by GNU Autoconf 2.61
1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1496 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1499 _ACEOF
1500 exit
1502 cat >config.log <<_ACEOF
1503 This file contains any messages produced by compilers while
1504 running configure, to aid debugging if configure makes a mistake.
1506 It was created by Wine $as_me 0.9.59, which was
1507 generated by GNU Autoconf 2.61. Invocation command line was
1509 $ $0 $@
1511 _ACEOF
1512 exec 5>>config.log
1514 cat <<_ASUNAME
1515 ## --------- ##
1516 ## Platform. ##
1517 ## --------- ##
1519 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1520 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1521 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1522 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1523 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1525 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1526 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1528 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1529 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1530 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1531 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1532 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1533 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1534 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1536 _ASUNAME
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 for as_dir in $PATH
1541 IFS=$as_save_IFS
1542 test -z "$as_dir" && as_dir=.
1543 echo "PATH: $as_dir"
1544 done
1545 IFS=$as_save_IFS
1547 } >&5
1549 cat >&5 <<_ACEOF
1552 ## ----------- ##
1553 ## Core tests. ##
1554 ## ----------- ##
1556 _ACEOF
1559 # Keep a trace of the command line.
1560 # Strip out --no-create and --no-recursion so they do not pile up.
1561 # Strip out --silent because we don't want to record it for future runs.
1562 # Also quote any args containing shell meta-characters.
1563 # Make two passes to allow for proper duplicate-argument suppression.
1564 ac_configure_args=
1565 ac_configure_args0=
1566 ac_configure_args1=
1567 ac_must_keep_next=false
1568 for ac_pass in 1 2
1570 for ac_arg
1572 case $ac_arg in
1573 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1575 | -silent | --silent | --silen | --sile | --sil)
1576 continue ;;
1577 *\'*)
1578 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 esac
1580 case $ac_pass in
1581 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1583 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1584 if test $ac_must_keep_next = true; then
1585 ac_must_keep_next=false # Got value, back to normal.
1586 else
1587 case $ac_arg in
1588 *=* | --config-cache | -C | -disable-* | --disable-* \
1589 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1590 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1591 | -with-* | --with-* | -without-* | --without-* | --x)
1592 case "$ac_configure_args0 " in
1593 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594 esac
1596 -* ) ac_must_keep_next=true ;;
1597 esac
1599 ac_configure_args="$ac_configure_args '$ac_arg'"
1601 esac
1602 done
1603 done
1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1607 # When interrupted or exit'd, cleanup temporary files, and complete
1608 # config.log. We remove comments because anyway the quotes in there
1609 # would cause problems or look ugly.
1610 # WARNING: Use '\'' to represent an apostrophe within the trap.
1611 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1612 trap 'exit_status=$?
1613 # Save into config.log some information that might help in debugging.
1615 echo
1617 cat <<\_ASBOX
1618 ## ---------------- ##
1619 ## Cache variables. ##
1620 ## ---------------- ##
1621 _ASBOX
1622 echo
1623 # The following way of writing the cache mishandles newlines in values,
1625 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1626 eval ac_val=\$$ac_var
1627 case $ac_val in #(
1628 *${as_nl}*)
1629 case $ac_var in #(
1630 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1631 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1632 esac
1633 case $ac_var in #(
1634 _ | IFS | as_nl) ;; #(
1635 *) $as_unset $ac_var ;;
1636 esac ;;
1637 esac
1638 done
1639 (set) 2>&1 |
1640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1641 *${as_nl}ac_space=\ *)
1642 sed -n \
1643 "s/'\''/'\''\\\\'\'''\''/g;
1644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1645 ;; #(
1647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1649 esac |
1650 sort
1652 echo
1654 cat <<\_ASBOX
1655 ## ----------------- ##
1656 ## Output variables. ##
1657 ## ----------------- ##
1658 _ASBOX
1659 echo
1660 for ac_var in $ac_subst_vars
1662 eval ac_val=\$$ac_var
1663 case $ac_val in
1664 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1665 esac
1666 echo "$ac_var='\''$ac_val'\''"
1667 done | sort
1668 echo
1670 if test -n "$ac_subst_files"; then
1671 cat <<\_ASBOX
1672 ## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##
1675 _ASBOX
1676 echo
1677 for ac_var in $ac_subst_files
1679 eval ac_val=\$$ac_var
1680 case $ac_val in
1681 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 esac
1683 echo "$ac_var='\''$ac_val'\''"
1684 done | sort
1685 echo
1688 if test -s confdefs.h; then
1689 cat <<\_ASBOX
1690 ## ----------- ##
1691 ## confdefs.h. ##
1692 ## ----------- ##
1693 _ASBOX
1694 echo
1695 cat confdefs.h
1696 echo
1698 test "$ac_signal" != 0 &&
1699 echo "$as_me: caught signal $ac_signal"
1700 echo "$as_me: exit $exit_status"
1701 } >&5
1702 rm -f core *.core core.conftest.* &&
1703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704 exit $exit_status
1706 for ac_signal in 1 2 13 15; do
1707 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1708 done
1709 ac_signal=0
1711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1712 rm -f -r conftest* confdefs.h
1714 # Predefined preprocessor variables.
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1718 _ACEOF
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 _ACEOF
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1728 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1733 _ACEOF
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1738 _ACEOF
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer explicitly selected file to automatically selected ones.
1743 if test -n "$CONFIG_SITE"; then
1744 set x "$CONFIG_SITE"
1745 elif test "x$prefix" != xNONE; then
1746 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1747 else
1748 set x "$ac_default_prefix/share/config.site" \
1749 "$ac_default_prefix/etc/config.site"
1751 shift
1752 for ac_site_file
1754 if test -r "$ac_site_file"; then
1755 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1756 echo "$as_me: loading site script $ac_site_file" >&6;}
1757 sed 's/^/| /' "$ac_site_file" >&5
1758 . "$ac_site_file"
1760 done
1762 if test -r "$cache_file"; then
1763 # Some versions of bash will fail to source /dev/null (special
1764 # files actually), so we avoid doing that.
1765 if test -f "$cache_file"; then
1766 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1767 echo "$as_me: loading cache $cache_file" >&6;}
1768 case $cache_file in
1769 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1770 *) . "./$cache_file";;
1771 esac
1773 else
1774 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1775 echo "$as_me: creating cache $cache_file" >&6;}
1776 >$cache_file
1779 # Check that the precious variables saved in the cache have kept the same
1780 # value.
1781 ac_cache_corrupted=false
1782 for ac_var in $ac_precious_vars; do
1783 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1784 eval ac_new_set=\$ac_env_${ac_var}_set
1785 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1786 eval ac_new_val=\$ac_env_${ac_var}_value
1787 case $ac_old_set,$ac_new_set in
1788 set,)
1789 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1790 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1792 ,set)
1793 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1794 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1795 ac_cache_corrupted=: ;;
1796 ,);;
1798 if test "x$ac_old_val" != "x$ac_new_val"; then
1799 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1800 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1801 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1802 echo "$as_me: former value: $ac_old_val" >&2;}
1803 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1804 echo "$as_me: current value: $ac_new_val" >&2;}
1805 ac_cache_corrupted=:
1806 fi;;
1807 esac
1808 # Pass precious variables to config.status.
1809 if test "$ac_new_set" = set; then
1810 case $ac_new_val in
1811 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1812 *) ac_arg=$ac_var=$ac_new_val ;;
1813 esac
1814 case " $ac_configure_args " in
1815 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1816 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1817 esac
1819 done
1820 if $ac_cache_corrupted; then
1821 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1822 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1823 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1824 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1825 { (exit 1); exit 1; }; }
1852 ac_ext=c
1853 ac_cpp='$CPP $CPPFLAGS'
1854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860 ac_config_headers="$ac_config_headers include/config.h"
1862 ac_aux_dir=
1863 for ac_dir in tools "$srcdir"/tools; do
1864 if test -f "$ac_dir/install-sh"; then
1865 ac_aux_dir=$ac_dir
1866 ac_install_sh="$ac_aux_dir/install-sh -c"
1867 break
1868 elif test -f "$ac_dir/install.sh"; then
1869 ac_aux_dir=$ac_dir
1870 ac_install_sh="$ac_aux_dir/install.sh -c"
1871 break
1872 elif test -f "$ac_dir/shtool"; then
1873 ac_aux_dir=$ac_dir
1874 ac_install_sh="$ac_aux_dir/shtool install -c"
1875 break
1877 done
1878 if test -z "$ac_aux_dir"; then
1879 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1880 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1881 { (exit 1); exit 1; }; }
1884 # These three variables are undocumented and unsupported,
1885 # and are intended to be withdrawn in a future Autoconf release.
1886 # They can cause serious problems if a builder's source tree is in a directory
1887 # whose full name contains unusual characters.
1888 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1889 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1890 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1895 # Check whether --enable-win16 was given.
1896 if test "${enable_win16+set}" = set; then
1897 enableval=$enable_win16;
1900 # Check whether --enable-win64 was given.
1901 if test "${enable_win64+set}" = set; then
1902 enableval=$enable_win64;
1905 # Check whether --enable-maintainer-mode was given.
1906 if test "${enable_maintainer_mode+set}" = set; then
1907 enableval=$enable_maintainer_mode;
1908 else
1909 MAINTAINER_MODE=\#
1915 # Check whether --with-alsa was given.
1916 if test "${with_alsa+set}" = set; then
1917 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1921 # Check whether --with-audioio was given.
1922 if test "${with_audioio+set}" = set; then
1923 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1927 # Check whether --with-capi was given.
1928 if test "${with_capi+set}" = set; then
1929 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1933 # Check whether --with-cms was given.
1934 if test "${with_cms+set}" = set; then
1935 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1939 # Check whether --with-coreaudio was given.
1940 if test "${with_coreaudio+set}" = set; then
1941 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1945 # Check whether --with-cups was given.
1946 if test "${with_cups+set}" = set; then
1947 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1951 # Check whether --with-curses was given.
1952 if test "${with_curses+set}" = set; then
1953 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1957 # Check whether --with-esd was given.
1958 if test "${with_esd+set}" = set; then
1959 withval=$with_esd;
1963 # Check whether --with-fontconfig was given.
1964 if test "${with_fontconfig+set}" = set; then
1965 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1969 # Check whether --with-gphoto was given.
1970 if test "${with_gphoto+set}" = set; then
1971 withval=$with_gphoto;
1975 # Check whether --with-hal was given.
1976 if test "${with_hal+set}" = set; then
1977 withval=$with_hal;
1981 # Check whether --with-jack was given.
1982 if test "${with_jack+set}" = set; then
1983 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1987 # Check whether --with-jpeg was given.
1988 if test "${with_jpeg+set}" = set; then
1989 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1993 # Check whether --with-ldap was given.
1994 if test "${with_ldap+set}" = set; then
1995 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1999 # Check whether --with-nas was given.
2000 if test "${with_nas+set}" = set; then
2001 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2005 # Check whether --with-opengl was given.
2006 if test "${with_opengl+set}" = set; then
2007 withval=$with_opengl;
2011 # Check whether --with-openssl was given.
2012 if test "${with_openssl+set}" = set; then
2013 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2017 # Check whether --with-oss was given.
2018 if test "${with_oss+set}" = set; then
2019 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
2023 # Check whether --with-png was given.
2024 if test "${with_png+set}" = set; then
2025 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2029 # Check whether --with-sane was given.
2030 if test "${with_sane+set}" = set; then
2031 withval=$with_sane;
2035 # Check whether --with-xcomposite was given.
2036 if test "${with_xcomposite+set}" = set; then
2037 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2041 # Check whether --with-xcursor was given.
2042 if test "${with_xcursor+set}" = set; then
2043 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2047 # Check whether --with-xinerama was given.
2048 if test "${with_xinerama+set}" = set; then
2049 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2053 # Check whether --with-xinput was given.
2054 if test "${with_xinput+set}" = set; then
2055 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2059 # Check whether --with-xml was given.
2060 if test "${with_xml+set}" = set; then
2061 withval=$with_xml;
2065 # Check whether --with-xrandr was given.
2066 if test "${with_xrandr+set}" = set; then
2067 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2071 # Check whether --with-xrender was given.
2072 if test "${with_xrender+set}" = set; then
2073 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2077 # Check whether --with-xshape was given.
2078 if test "${with_xshape+set}" = set; then
2079 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2083 # Check whether --with-xshm was given.
2084 if test "${with_xshm+set}" = set; then
2085 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2089 # Check whether --with-xslt was given.
2090 if test "${with_xslt+set}" = set; then
2091 withval=$with_xslt;
2095 # Check whether --with-xvidmode was given.
2096 if test "${with_xvidmode+set}" = set; then
2097 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2102 # Check whether --with-wine-tools was given.
2103 if test "${with_wine_tools+set}" = set; then
2104 withval=$with_wine_tools;
2108 # Make sure we can run config.sub.
2109 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2110 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2111 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2112 { (exit 1); exit 1; }; }
2114 { echo "$as_me:$LINENO: checking build system type" >&5
2115 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2116 if test "${ac_cv_build+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119 ac_build_alias=$build_alias
2120 test "x$ac_build_alias" = x &&
2121 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2122 test "x$ac_build_alias" = x &&
2123 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2124 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2125 { (exit 1); exit 1; }; }
2126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2127 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2128 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2129 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2133 echo "${ECHO_T}$ac_cv_build" >&6; }
2134 case $ac_cv_build in
2135 *-*-*) ;;
2136 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2137 echo "$as_me: error: invalid value of canonical build" >&2;}
2138 { (exit 1); exit 1; }; };;
2139 esac
2140 build=$ac_cv_build
2141 ac_save_IFS=$IFS; IFS='-'
2142 set x $ac_cv_build
2143 shift
2144 build_cpu=$1
2145 build_vendor=$2
2146 shift; shift
2147 # Remember, the first character of IFS is used to create $*,
2148 # except with old shells:
2149 build_os=$*
2150 IFS=$ac_save_IFS
2151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2154 { echo "$as_me:$LINENO: checking host system type" >&5
2155 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2156 if test "${ac_cv_host+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 else
2159 if test "x$host_alias" = x; then
2160 ac_cv_host=$ac_cv_build
2161 else
2162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2163 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2164 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2165 { (exit 1); exit 1; }; }
2169 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2170 echo "${ECHO_T}$ac_cv_host" >&6; }
2171 case $ac_cv_host in
2172 *-*-*) ;;
2173 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2174 echo "$as_me: error: invalid value of canonical host" >&2;}
2175 { (exit 1); exit 1; }; };;
2176 esac
2177 host=$ac_cv_host
2178 ac_save_IFS=$IFS; IFS='-'
2179 set x $ac_cv_host
2180 shift
2181 host_cpu=$1
2182 host_vendor=$2
2183 shift; shift
2184 # Remember, the first character of IFS is used to create $*,
2185 # except with old shells:
2186 host_os=$*
2187 IFS=$ac_save_IFS
2188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2191 case $host in
2192 x86_64*linux*)
2193 if test "x$enable_win64" != "xyes"
2194 then
2195 test -n "$CC" || CC="gcc -m32"
2196 test -n "$CXX"|| CXX="g++ -m32"
2197 test -n "$LD" || LD="ld -m elf_i386"
2198 test -n "$AS" || AS="as --32"
2199 host_cpu="i386"
2202 esac
2204 case $host_cpu in
2205 *i[3456789]86*)
2206 if test "x$enable_win16" != "xno"
2207 then
2208 enable_win16="yes"
2211 esac
2213 WIN16_FILES="\$(WIN16_FILES)"
2215 WIN16_INSTALL="\$(WIN16_INSTALL)"
2217 if test "x$enable_win16" != "xyes"
2218 then
2219 WIN16_FILES=""
2220 WIN16_INSTALL=""
2223 case "$srcdir" in
2224 .) ;;
2225 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2226 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2227 You need to run 'make distclean' in the source tree first." >&5
2228 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2229 You need to run 'make distclean' in the source tree first." >&2;}
2230 { (exit 1); exit 1; }; }
2231 fi ;;
2232 esac
2235 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2236 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2237 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2238 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241 cat >conftest.make <<\_ACEOF
2242 SHELL = /bin/sh
2243 all:
2244 @echo '@@@%%%=$(MAKE)=@@@%%%'
2245 _ACEOF
2246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2248 *@@@%%%=?*=@@@%%%*)
2249 eval ac_cv_prog_make_${ac_make}_set=yes;;
2251 eval ac_cv_prog_make_${ac_make}_set=no;;
2252 esac
2253 rm -f conftest.make
2255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2256 { echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6; }
2258 SET_MAKE=
2259 else
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2262 SET_MAKE="MAKE=${MAKE-make}"
2265 ac_ext=c
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2292 done
2293 done
2294 IFS=$as_save_IFS
2298 CC=$ac_cv_prog_CC
2299 if test -n "$CC"; then
2300 { echo "$as_me:$LINENO: result: $CC" >&5
2301 echo "${ECHO_T}$CC" >&6; }
2302 else
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2309 if test -z "$ac_cv_prog_CC"; then
2310 ac_ct_CC=$CC
2311 # Extract the first word of "gcc", so it can be a program name with args.
2312 set dummy gcc; ac_word=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 else
2318 if test -n "$ac_ct_CC"; then
2319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2320 else
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 for as_dir in $PATH
2324 IFS=$as_save_IFS
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_ac_ct_CC="gcc"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 break 2
2332 done
2333 done
2334 IFS=$as_save_IFS
2338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2339 if test -n "$ac_ct_CC"; then
2340 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2341 echo "${ECHO_T}$ac_ct_CC" >&6; }
2342 else
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2347 if test "x$ac_ct_CC" = x; then
2348 CC=""
2349 else
2350 case $cross_compiling:$ac_tool_warned in
2351 yes:)
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned=yes ;;
2359 esac
2360 CC=$ac_ct_CC
2362 else
2363 CC="$ac_cv_prog_CC"
2366 if test -z "$CC"; then
2367 if test -n "$ac_tool_prefix"; then
2368 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2369 set dummy ${ac_tool_prefix}cc; ac_word=$2
2370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2372 if test "${ac_cv_prog_CC+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 else
2375 if test -n "$CC"; then
2376 ac_cv_prog_CC="$CC" # Let the user override the test.
2377 else
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2381 IFS=$as_save_IFS
2382 test -z "$as_dir" && as_dir=.
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 ac_cv_prog_CC="${ac_tool_prefix}cc"
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 break 2
2389 done
2390 done
2391 IFS=$as_save_IFS
2395 CC=$ac_cv_prog_CC
2396 if test -n "$CC"; then
2397 { echo "$as_me:$LINENO: result: $CC" >&5
2398 echo "${ECHO_T}$CC" >&6; }
2399 else
2400 { echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6; }
2407 if test -z "$CC"; then
2408 # Extract the first word of "cc", so it can be a program name with args.
2409 set dummy cc; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC="$CC" # Let the user override the test.
2417 else
2418 ac_prog_rejected=no
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 for as_dir in $PATH
2422 IFS=$as_save_IFS
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2427 ac_prog_rejected=yes
2428 continue
2430 ac_cv_prog_CC="cc"
2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2432 break 2
2434 done
2435 done
2436 IFS=$as_save_IFS
2438 if test $ac_prog_rejected = yes; then
2439 # We found a bogon in the path, so make sure we never use it.
2440 set dummy $ac_cv_prog_CC
2441 shift
2442 if test $# != 0; then
2443 # We chose a different compiler from the bogus one.
2444 # However, it has the same basename, so the bogon will be chosen
2445 # first if we set CC to just the basename; use the full file name.
2446 shift
2447 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2452 CC=$ac_cv_prog_CC
2453 if test -n "$CC"; then
2454 { echo "$as_me:$LINENO: result: $CC" >&5
2455 echo "${ECHO_T}$CC" >&6; }
2456 else
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2463 if test -z "$CC"; then
2464 if test -n "$ac_tool_prefix"; then
2465 for ac_prog in cl.exe
2467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2471 if test "${ac_cv_prog_CC+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 else
2474 if test -n "$CC"; then
2475 ac_cv_prog_CC="$CC" # Let the user override the test.
2476 else
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 for as_dir in $PATH
2480 IFS=$as_save_IFS
2481 test -z "$as_dir" && as_dir=.
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 break 2
2488 done
2489 done
2490 IFS=$as_save_IFS
2494 CC=$ac_cv_prog_CC
2495 if test -n "$CC"; then
2496 { echo "$as_me:$LINENO: result: $CC" >&5
2497 echo "${ECHO_T}$CC" >&6; }
2498 else
2499 { echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6; }
2504 test -n "$CC" && break
2505 done
2507 if test -z "$CC"; then
2508 ac_ct_CC=$CC
2509 for ac_prog in cl.exe
2511 # Extract the first word of "$ac_prog", so it can be a program name with args.
2512 set dummy $ac_prog; ac_word=$2
2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518 if test -n "$ac_ct_CC"; then
2519 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2524 IFS=$as_save_IFS
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_ac_ct_CC="$ac_prog"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 break 2
2532 done
2533 done
2534 IFS=$as_save_IFS
2538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2539 if test -n "$ac_ct_CC"; then
2540 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2541 echo "${ECHO_T}$ac_ct_CC" >&6; }
2542 else
2543 { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2548 test -n "$ac_ct_CC" && break
2549 done
2551 if test "x$ac_ct_CC" = x; then
2552 CC=""
2553 else
2554 case $cross_compiling:$ac_tool_warned in
2555 yes:)
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet. If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2563 esac
2564 CC=$ac_ct_CC
2571 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&5
2573 echo "$as_me: error: no acceptable C compiler found in \$PATH
2574 See \`config.log' for more details." >&2;}
2575 { (exit 1); exit 1; }; }
2577 # Provide some information about the compiler.
2578 echo "$as_me:$LINENO: checking for C compiler version" >&5
2579 ac_compiler=`set X $ac_compile; echo $2`
2580 { (ac_try="$ac_compiler --version >&5"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_compiler --version >&5") 2>&5
2587 ac_status=$?
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }
2590 { (ac_try="$ac_compiler -v >&5"
2591 case "(($ac_try" in
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2594 esac
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596 (eval "$ac_compiler -v >&5") 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }
2600 { (ac_try="$ac_compiler -V >&5"
2601 case "(($ac_try" in
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2604 esac
2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606 (eval "$ac_compiler -V >&5") 2>&5
2607 ac_status=$?
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }
2611 cat >conftest.$ac_ext <<_ACEOF
2612 /* confdefs.h. */
2613 _ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2619 main ()
2623 return 0;
2625 _ACEOF
2626 ac_clean_files_save=$ac_clean_files
2627 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2628 # Try to create an executable without -o first, disregard a.out.
2629 # It will help us diagnose broken compilers, and finding out an intuition
2630 # of exeext.
2631 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2632 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2633 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2635 # List of possible output files, starting from the most likely.
2636 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2637 # only as a last resort. b.out is created by i960 compilers.
2638 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2640 # The IRIX 6 linker writes into existing files which may not be
2641 # executable, retaining their permissions. Remove them first so a
2642 # subsequent execution test works.
2643 ac_rmfiles=
2644 for ac_file in $ac_files
2646 case $ac_file in
2647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2648 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2649 esac
2650 done
2651 rm -f $ac_rmfiles
2653 if { (ac_try="$ac_link_default"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_link_default") 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; then
2663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2666 # so that the user can short-circuit this test for compilers unknown to
2667 # Autoconf.
2668 for ac_file in $ac_files ''
2670 test -f "$ac_file" || continue
2671 case $ac_file in
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2674 [ab].out )
2675 # We found the default executable, but exeext='' is most
2676 # certainly right.
2677 break;;
2678 *.* )
2679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2680 then :; else
2681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2683 # We set ac_cv_exeext here because the later test for it is not
2684 # safe: cross compilers may not add the suffix if given an `-o'
2685 # argument, so we may need to know it at that point already.
2686 # Even if this section looks crufty: it has the advantage of
2687 # actually working.
2688 break;;
2690 break;;
2691 esac
2692 done
2693 test "$ac_cv_exeext" = no && ac_cv_exeext=
2695 else
2696 ac_file=''
2699 { echo "$as_me:$LINENO: result: $ac_file" >&5
2700 echo "${ECHO_T}$ac_file" >&6; }
2701 if test -z "$ac_file"; then
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&5
2707 echo "$as_me: error: C compiler cannot create executables
2708 See \`config.log' for more details." >&2;}
2709 { (exit 77); exit 77; }; }
2712 ac_exeext=$ac_cv_exeext
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2719 # If not cross compiling, check that we can run a simple program.
2720 if test "$cross_compiling" != yes; then
2721 if { ac_try='./$ac_file'
2722 { (case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725 esac
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_try") 2>&5
2728 ac_status=$?
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2731 cross_compiling=no
2732 else
2733 if test "$cross_compiling" = maybe; then
2734 cross_compiling=yes
2735 else
2736 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2737 If you meant to cross compile, use \`--host'.
2738 See \`config.log' for more details." >&5
2739 echo "$as_me: error: cannot run C compiled programs.
2740 If you meant to cross compile, use \`--host'.
2741 See \`config.log' for more details." >&2;}
2742 { (exit 1); exit 1; }; }
2746 { echo "$as_me:$LINENO: result: yes" >&5
2747 echo "${ECHO_T}yes" >&6; }
2749 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2750 ac_clean_files=$ac_clean_files_save
2751 # Check that the compiler produces executables we can run. If not, either
2752 # the compiler is broken, or we cross compile.
2753 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2754 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2755 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2756 echo "${ECHO_T}$cross_compiling" >&6; }
2758 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2759 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2760 if { (ac_try="$ac_link"
2761 case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764 esac
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_link") 2>&5
2767 ac_status=$?
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2771 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2772 # work properly (i.e., refer to `conftest.exe'), while it won't with
2773 # `rm'.
2774 for ac_file in conftest.exe conftest conftest.*; do
2775 test -f "$ac_file" || continue
2776 case $ac_file in
2777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2779 break;;
2780 * ) break;;
2781 esac
2782 done
2783 else
2784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&5
2786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2787 See \`config.log' for more details." >&2;}
2788 { (exit 1); exit 1; }; }
2791 rm -f conftest$ac_cv_exeext
2792 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2793 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2795 rm -f conftest.$ac_ext
2796 EXEEXT=$ac_cv_exeext
2797 ac_exeext=$EXEEXT
2798 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2800 if test "${ac_cv_objext+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 else
2803 cat >conftest.$ac_ext <<_ACEOF
2804 /* confdefs.h. */
2805 _ACEOF
2806 cat confdefs.h >>conftest.$ac_ext
2807 cat >>conftest.$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2811 main ()
2815 return 0;
2817 _ACEOF
2818 rm -f conftest.o conftest.obj
2819 if { (ac_try="$ac_compile"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_compile") 2>&5
2826 ac_status=$?
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; then
2829 for ac_file in conftest.o conftest.obj conftest.*; do
2830 test -f "$ac_file" || continue;
2831 case $ac_file in
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2834 break;;
2835 esac
2836 done
2837 else
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2848 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2850 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2851 echo "${ECHO_T}$ac_cv_objext" >&6; }
2852 OBJEXT=$ac_cv_objext
2853 ac_objext=$OBJEXT
2854 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 else
2859 cat >conftest.$ac_ext <<_ACEOF
2860 /* confdefs.h. */
2861 _ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2867 main ()
2869 #ifndef __GNUC__
2870 choke me
2871 #endif
2874 return 0;
2876 _ACEOF
2877 rm -f conftest.$ac_objext
2878 if { (ac_try="$ac_compile"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884 (eval "$ac_compile") 2>conftest.er1
2885 ac_status=$?
2886 grep -v '^ *+' conftest.er1 >conftest.err
2887 rm -f conftest.er1
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then
2894 ac_compiler_gnu=yes
2895 else
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_compiler_gnu=no
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2906 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2907 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2908 GCC=`test $ac_compiler_gnu = yes && echo yes`
2909 ac_test_CFLAGS=${CFLAGS+set}
2910 ac_save_CFLAGS=$CFLAGS
2911 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2912 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2913 if test "${ac_cv_prog_cc_g+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 else
2916 ac_save_c_werror_flag=$ac_c_werror_flag
2917 ac_c_werror_flag=yes
2918 ac_cv_prog_cc_g=no
2919 CFLAGS="-g"
2920 cat >conftest.$ac_ext <<_ACEOF
2921 /* confdefs.h. */
2922 _ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2928 main ()
2932 return 0;
2934 _ACEOF
2935 rm -f conftest.$ac_objext
2936 if { (ac_try="$ac_compile"
2937 case "(($ac_try" in
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2940 esac
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_compile") 2>conftest.er1
2943 ac_status=$?
2944 grep -v '^ *+' conftest.er1 >conftest.err
2945 rm -f conftest.er1
2946 cat conftest.err >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } && {
2949 test -z "$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 } && test -s conftest.$ac_objext; then
2952 ac_cv_prog_cc_g=yes
2953 else
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 CFLAGS=""
2958 cat >conftest.$ac_ext <<_ACEOF
2959 /* confdefs.h. */
2960 _ACEOF
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2966 main ()
2970 return 0;
2972 _ACEOF
2973 rm -f conftest.$ac_objext
2974 if { (ac_try="$ac_compile"
2975 case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2980 (eval "$ac_compile") 2>conftest.er1
2981 ac_status=$?
2982 grep -v '^ *+' conftest.er1 >conftest.err
2983 rm -f conftest.er1
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } && {
2987 test -z "$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2989 } && test -s conftest.$ac_objext; then
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_c_werror_flag=$ac_save_c_werror_flag
2996 CFLAGS="-g"
2997 cat >conftest.$ac_ext <<_ACEOF
2998 /* confdefs.h. */
2999 _ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3005 main ()
3009 return 0;
3011 _ACEOF
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3014 case "(($ac_try" in
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3017 esac
3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3020 ac_status=$?
3021 grep -v '^ *+' conftest.er1 >conftest.err
3022 rm -f conftest.er1
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3029 ac_cv_prog_cc_g=yes
3030 else
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 ac_c_werror_flag=$ac_save_c_werror_flag
3046 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3047 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3048 if test "$ac_test_CFLAGS" = set; then
3049 CFLAGS=$ac_save_CFLAGS
3050 elif test $ac_cv_prog_cc_g = yes; then
3051 if test "$GCC" = yes; then
3052 CFLAGS="-g -O2"
3053 else
3054 CFLAGS="-g"
3056 else
3057 if test "$GCC" = yes; then
3058 CFLAGS="-O2"
3059 else
3060 CFLAGS=
3063 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3064 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_c89+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 else
3068 ac_cv_prog_cc_c89=no
3069 ac_save_CC=$CC
3070 cat >conftest.$ac_ext <<_ACEOF
3071 /* confdefs.h. */
3072 _ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3076 #include <stdarg.h>
3077 #include <stdio.h>
3078 #include <sys/types.h>
3079 #include <sys/stat.h>
3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3081 struct buf { int x; };
3082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3083 static char *e (p, i)
3084 char **p;
3085 int i;
3087 return p[i];
3089 static char *f (char * (*g) (char **, int), char **p, ...)
3091 char *s;
3092 va_list v;
3093 va_start (v,p);
3094 s = g (p, va_arg (v,int));
3095 va_end (v);
3096 return s;
3099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3100 function prototypes and stuff, but not '\xHH' hex character constants.
3101 These don't provoke an error unfortunately, instead are silently treated
3102 as 'x'. The following induces an error, until -std is added to get
3103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3104 array size at least. It's necessary to write '\x00'==0 to get something
3105 that's true only with -std. */
3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3109 inside strings and character constants. */
3110 #define FOO(x) 'x'
3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3113 int test (int i, double x);
3114 struct s1 {int (*f) (int a);};
3115 struct s2 {int (*f) (double a);};
3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3117 int argc;
3118 char **argv;
3120 main ()
3122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3124 return 0;
3126 _ACEOF
3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3130 CC="$ac_save_CC $ac_arg"
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3133 case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_c_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3148 ac_cv_prog_cc_c89=$ac_arg
3149 else
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext
3157 test "x$ac_cv_prog_cc_c89" != "xno" && break
3158 done
3159 rm -f conftest.$ac_ext
3160 CC=$ac_save_CC
3163 # AC_CACHE_VAL
3164 case "x$ac_cv_prog_cc_c89" in
3166 { echo "$as_me:$LINENO: result: none needed" >&5
3167 echo "${ECHO_T}none needed" >&6; } ;;
3168 xno)
3169 { echo "$as_me:$LINENO: result: unsupported" >&5
3170 echo "${ECHO_T}unsupported" >&6; } ;;
3172 CC="$CC $ac_cv_prog_cc_c89"
3173 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3174 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3175 esac
3178 ac_ext=c
3179 ac_cpp='$CPP $CPPFLAGS'
3180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3184 ac_ext=cpp
3185 ac_cpp='$CXXCPP $CPPFLAGS'
3186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3189 if test -z "$CXX"; then
3190 if test -n "$CCC"; then
3191 CXX=$CCC
3192 else
3193 if test -n "$ac_tool_prefix"; then
3194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_CXX+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 else
3203 if test -n "$CXX"; then
3204 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3205 else
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 for as_dir in $PATH
3209 IFS=$as_save_IFS
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 break 2
3217 done
3218 done
3219 IFS=$as_save_IFS
3223 CXX=$ac_cv_prog_CXX
3224 if test -n "$CXX"; then
3225 { echo "$as_me:$LINENO: result: $CXX" >&5
3226 echo "${ECHO_T}$CXX" >&6; }
3227 else
3228 { echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6; }
3233 test -n "$CXX" && break
3234 done
3236 if test -z "$CXX"; then
3237 ac_ct_CXX=$CXX
3238 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3240 # Extract the first word of "$ac_prog", so it can be a program name with args.
3241 set dummy $ac_prog; ac_word=$2
3242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 else
3247 if test -n "$ac_ct_CXX"; then
3248 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3249 else
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 for as_dir in $PATH
3253 IFS=$as_save_IFS
3254 test -z "$as_dir" && as_dir=.
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257 ac_cv_prog_ac_ct_CXX="$ac_prog"
3258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 break 2
3261 done
3262 done
3263 IFS=$as_save_IFS
3267 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3268 if test -n "$ac_ct_CXX"; then
3269 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3270 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3271 else
3272 { echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6; }
3277 test -n "$ac_ct_CXX" && break
3278 done
3280 if test "x$ac_ct_CXX" = x; then
3281 CXX="g++"
3282 else
3283 case $cross_compiling:$ac_tool_warned in
3284 yes:)
3285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3286 whose name does not start with the host triplet. If you think this
3287 configuration is useful to you, please write to autoconf@gnu.org." >&5
3288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3289 whose name does not start with the host triplet. If you think this
3290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3291 ac_tool_warned=yes ;;
3292 esac
3293 CXX=$ac_ct_CXX
3299 # Provide some information about the compiler.
3300 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3301 ac_compiler=`set X $ac_compile; echo $2`
3302 { (ac_try="$ac_compiler --version >&5"
3303 case "(($ac_try" in
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3306 esac
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308 (eval "$ac_compiler --version >&5") 2>&5
3309 ac_status=$?
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }
3312 { (ac_try="$ac_compiler -v >&5"
3313 case "(($ac_try" in
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3316 esac
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compiler -v >&5") 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }
3322 { (ac_try="$ac_compiler -V >&5"
3323 case "(($ac_try" in
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3326 esac
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_compiler -V >&5") 2>&5
3329 ac_status=$?
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }
3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3334 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3335 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 else
3338 cat >conftest.$ac_ext <<_ACEOF
3339 /* confdefs.h. */
3340 _ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3346 main ()
3348 #ifndef __GNUC__
3349 choke me
3350 #endif
3353 return 0;
3355 _ACEOF
3356 rm -f conftest.$ac_objext
3357 if { (ac_try="$ac_compile"
3358 case "(($ac_try" in
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3361 esac
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_compile") 2>conftest.er1
3364 ac_status=$?
3365 grep -v '^ *+' conftest.er1 >conftest.err
3366 rm -f conftest.er1
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } && {
3370 test -z "$ac_cxx_werror_flag" ||
3371 test ! -s conftest.err
3372 } && test -s conftest.$ac_objext; then
3373 ac_compiler_gnu=yes
3374 else
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3378 ac_compiler_gnu=no
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3385 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3386 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3387 GXX=`test $ac_compiler_gnu = yes && echo yes`
3388 ac_test_CXXFLAGS=${CXXFLAGS+set}
3389 ac_save_CXXFLAGS=$CXXFLAGS
3390 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3391 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3392 if test "${ac_cv_prog_cxx_g+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3396 ac_cxx_werror_flag=yes
3397 ac_cv_prog_cxx_g=no
3398 CXXFLAGS="-g"
3399 cat >conftest.$ac_ext <<_ACEOF
3400 /* confdefs.h. */
3401 _ACEOF
3402 cat confdefs.h >>conftest.$ac_ext
3403 cat >>conftest.$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3407 main ()
3411 return 0;
3413 _ACEOF
3414 rm -f conftest.$ac_objext
3415 if { (ac_try="$ac_compile"
3416 case "(($ac_try" in
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3419 esac
3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421 (eval "$ac_compile") 2>conftest.er1
3422 ac_status=$?
3423 grep -v '^ *+' conftest.er1 >conftest.err
3424 rm -f conftest.er1
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } && {
3428 test -z "$ac_cxx_werror_flag" ||
3429 test ! -s conftest.err
3430 } && test -s conftest.$ac_objext; then
3431 ac_cv_prog_cxx_g=yes
3432 else
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3436 CXXFLAGS=""
3437 cat >conftest.$ac_ext <<_ACEOF
3438 /* confdefs.h. */
3439 _ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3445 main ()
3449 return 0;
3451 _ACEOF
3452 rm -f conftest.$ac_objext
3453 if { (ac_try="$ac_compile"
3454 case "(($ac_try" in
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3457 esac
3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3459 (eval "$ac_compile") 2>conftest.er1
3460 ac_status=$?
3461 grep -v '^ *+' conftest.er1 >conftest.err
3462 rm -f conftest.er1
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } && {
3466 test -z "$ac_cxx_werror_flag" ||
3467 test ! -s conftest.err
3468 } && test -s conftest.$ac_objext; then
3470 else
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3475 CXXFLAGS="-g"
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3484 main ()
3488 return 0;
3490 _ACEOF
3491 rm -f conftest.$ac_objext
3492 if { (ac_try="$ac_compile"
3493 case "(($ac_try" in
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3496 esac
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_compile") 2>conftest.er1
3499 ac_status=$?
3500 grep -v '^ *+' conftest.er1 >conftest.err
3501 rm -f conftest.er1
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } && {
3505 test -z "$ac_cxx_werror_flag" ||
3506 test ! -s conftest.err
3507 } && test -s conftest.$ac_objext; then
3508 ac_cv_prog_cxx_g=yes
3509 else
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3526 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3527 if test "$ac_test_CXXFLAGS" = set; then
3528 CXXFLAGS=$ac_save_CXXFLAGS
3529 elif test $ac_cv_prog_cxx_g = yes; then
3530 if test "$GXX" = yes; then
3531 CXXFLAGS="-g -O2"
3532 else
3533 CXXFLAGS="-g"
3535 else
3536 if test "$GXX" = yes; then
3537 CXXFLAGS="-O2"
3538 else
3539 CXXFLAGS=
3542 ac_ext=c
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 if test -n "$ac_tool_prefix"; then
3549 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3550 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3553 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 else
3556 if test -n "$CPPBIN"; then
3557 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3558 else
3559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3560 for as_dir in $PATH
3562 IFS=$as_save_IFS
3563 test -z "$as_dir" && as_dir=.
3564 for ac_exec_ext in '' $ac_executable_extensions; do
3565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 break 2
3570 done
3571 done
3572 IFS=$as_save_IFS
3576 CPPBIN=$ac_cv_prog_CPPBIN
3577 if test -n "$CPPBIN"; then
3578 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3579 echo "${ECHO_T}$CPPBIN" >&6; }
3580 else
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3587 if test -z "$ac_cv_prog_CPPBIN"; then
3588 ac_ct_CPPBIN=$CPPBIN
3589 # Extract the first word of "cpp", so it can be a program name with args.
3590 set dummy cpp; ac_word=$2
3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596 if test -n "$ac_ct_CPPBIN"; then
3597 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3598 else
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_ac_ct_CPPBIN="cpp"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 break 2
3610 done
3611 done
3612 IFS=$as_save_IFS
3616 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3617 if test -n "$ac_ct_CPPBIN"; then
3618 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3619 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3620 else
3621 { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3625 if test "x$ac_ct_CPPBIN" = x; then
3626 CPPBIN="cpp"
3627 else
3628 case $cross_compiling:$ac_tool_warned in
3629 yes:)
3630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3631 whose name does not start with the host triplet. If you think this
3632 configuration is useful to you, please write to autoconf@gnu.org." >&5
3633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3634 whose name does not start with the host triplet. If you think this
3635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3636 ac_tool_warned=yes ;;
3637 esac
3638 CPPBIN=$ac_ct_CPPBIN
3640 else
3641 CPPBIN="$ac_cv_prog_CPPBIN"
3645 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3646 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3647 if test "${wine_cv_toolsdir+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 else
3650 if test -z "$with_wine_tools"; then
3651 if test "$cross_compiling" = "yes"; then
3652 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3653 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3654 { (exit 1); exit 1; }; }
3655 else
3656 wine_cv_toolsdir="\$(TOPOBJDIR)"
3658 elif test -d "$with_wine_tools/tools/winebuild"; then
3659 case $with_wine_tools in
3660 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3661 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3662 esac
3663 else
3664 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3665 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3666 { (exit 1); exit 1; }; }
3669 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3670 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3671 TOOLSDIR=$wine_cv_toolsdir
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3682 # On Suns, sometimes $CPP names a directory.
3683 if test -n "$CPP" && test -d "$CPP"; then
3684 CPP=
3686 if test -z "$CPP"; then
3687 if test "${ac_cv_prog_CPP+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 else
3690 # Double quotes because CPP needs to be expanded
3691 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3693 ac_preproc_ok=false
3694 for ac_c_preproc_warn_flag in '' yes
3696 # Use a header file that comes with gcc, so configuring glibc
3697 # with a fresh cross-compiler works.
3698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3699 # <limits.h> exists even on freestanding compilers.
3700 # On the NeXT, cc -E runs the code through the compiler's parser,
3701 # not just through cpp. "Syntax error" is here to catch this case.
3702 cat >conftest.$ac_ext <<_ACEOF
3703 /* confdefs.h. */
3704 _ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3708 #ifdef __STDC__
3709 # include <limits.h>
3710 #else
3711 # include <assert.h>
3712 #endif
3713 Syntax error
3714 _ACEOF
3715 if { (ac_try="$ac_cpp conftest.$ac_ext"
3716 case "(($ac_try" in
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3719 esac
3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3722 ac_status=$?
3723 grep -v '^ *+' conftest.er1 >conftest.err
3724 rm -f conftest.er1
3725 cat conftest.err >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } >/dev/null && {
3728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729 test ! -s conftest.err
3730 }; then
3732 else
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 # Broken: fails on valid input.
3737 continue
3740 rm -f conftest.err conftest.$ac_ext
3742 # OK, works on sane cases. Now check whether nonexistent headers
3743 # can be detected and how.
3744 cat >conftest.$ac_ext <<_ACEOF
3745 /* confdefs.h. */
3746 _ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3750 #include <ac_nonexistent.h>
3751 _ACEOF
3752 if { (ac_try="$ac_cpp conftest.$ac_ext"
3753 case "(($ac_try" in
3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3756 esac
3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759 ac_status=$?
3760 grep -v '^ *+' conftest.er1 >conftest.err
3761 rm -f conftest.er1
3762 cat conftest.err >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); } >/dev/null && {
3765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3766 test ! -s conftest.err
3767 }; then
3768 # Broken: success on invalid input.
3769 continue
3770 else
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Passes both tests.
3775 ac_preproc_ok=:
3776 break
3779 rm -f conftest.err conftest.$ac_ext
3781 done
3782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783 rm -f conftest.err conftest.$ac_ext
3784 if $ac_preproc_ok; then
3785 break
3788 done
3789 ac_cv_prog_CPP=$CPP
3792 CPP=$ac_cv_prog_CPP
3793 else
3794 ac_cv_prog_CPP=$CPP
3796 { echo "$as_me:$LINENO: result: $CPP" >&5
3797 echo "${ECHO_T}$CPP" >&6; }
3798 ac_preproc_ok=false
3799 for ac_c_preproc_warn_flag in '' yes
3801 # Use a header file that comes with gcc, so configuring glibc
3802 # with a fresh cross-compiler works.
3803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804 # <limits.h> exists even on freestanding compilers.
3805 # On the NeXT, cc -E runs the code through the compiler's parser,
3806 # not just through cpp. "Syntax error" is here to catch this case.
3807 cat >conftest.$ac_ext <<_ACEOF
3808 /* confdefs.h. */
3809 _ACEOF
3810 cat confdefs.h >>conftest.$ac_ext
3811 cat >>conftest.$ac_ext <<_ACEOF
3812 /* end confdefs.h. */
3813 #ifdef __STDC__
3814 # include <limits.h>
3815 #else
3816 # include <assert.h>
3817 #endif
3818 Syntax error
3819 _ACEOF
3820 if { (ac_try="$ac_cpp conftest.$ac_ext"
3821 case "(($ac_try" in
3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823 *) ac_try_echo=$ac_try;;
3824 esac
3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827 ac_status=$?
3828 grep -v '^ *+' conftest.er1 >conftest.err
3829 rm -f conftest.er1
3830 cat conftest.err >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } >/dev/null && {
3833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834 test ! -s conftest.err
3835 }; then
3837 else
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3841 # Broken: fails on valid input.
3842 continue
3845 rm -f conftest.err conftest.$ac_ext
3847 # OK, works on sane cases. Now check whether nonexistent headers
3848 # can be detected and how.
3849 cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h. */
3851 _ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <ac_nonexistent.h>
3856 _ACEOF
3857 if { (ac_try="$ac_cpp conftest.$ac_ext"
3858 case "(($ac_try" in
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3861 esac
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3864 ac_status=$?
3865 grep -v '^ *+' conftest.er1 >conftest.err
3866 rm -f conftest.er1
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } >/dev/null && {
3870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3871 test ! -s conftest.err
3872 }; then
3873 # Broken: success on invalid input.
3874 continue
3875 else
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 # Passes both tests.
3880 ac_preproc_ok=:
3881 break
3884 rm -f conftest.err conftest.$ac_ext
3886 done
3887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3888 rm -f conftest.err conftest.$ac_ext
3889 if $ac_preproc_ok; then
3891 else
3892 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log' for more details." >&5
3894 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3895 See \`config.log' for more details." >&2;}
3896 { (exit 1); exit 1; }; }
3899 ac_ext=c
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906 { echo "$as_me:$LINENO: checking for X" >&5
3907 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3910 # Check whether --with-x was given.
3911 if test "${with_x+set}" = set; then
3912 withval=$with_x;
3915 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3916 if test "x$with_x" = xno; then
3917 # The user explicitly disabled X.
3918 have_x=disabled
3919 else
3920 case $x_includes,$x_libraries in #(
3921 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3922 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3923 { (exit 1); exit 1; }; };; #(
3924 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 else
3927 # One or both of the vars are not set, and there is no cached value.
3928 ac_x_includes=no ac_x_libraries=no
3929 rm -f -r conftest.dir
3930 if mkdir conftest.dir; then
3931 cd conftest.dir
3932 cat >Imakefile <<'_ACEOF'
3933 incroot:
3934 @echo incroot='${INCROOT}'
3935 usrlibdir:
3936 @echo usrlibdir='${USRLIBDIR}'
3937 libdir:
3938 @echo libdir='${LIBDIR}'
3939 _ACEOF
3940 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3941 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3942 for ac_var in incroot usrlibdir libdir; do
3943 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3944 done
3945 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3946 for ac_extension in a so sl; do
3947 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3948 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3949 ac_im_usrlibdir=$ac_im_libdir; break
3951 done
3952 # Screen out bogus values from the imake configuration. They are
3953 # bogus both because they are the default anyway, and because
3954 # using them would break gcc on systems where it needs fixed includes.
3955 case $ac_im_incroot in
3956 /usr/include) ac_x_includes= ;;
3957 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3958 esac
3959 case $ac_im_usrlibdir in
3960 /usr/lib | /lib) ;;
3961 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3962 esac
3964 cd ..
3965 rm -f -r conftest.dir
3968 # Standard set of common directories for X headers.
3969 # Check X11 before X11Rn because it is often a symlink to the current release.
3970 ac_x_header_dirs='
3971 /usr/X11/include
3972 /usr/X11R6/include
3973 /usr/X11R5/include
3974 /usr/X11R4/include
3976 /usr/include/X11
3977 /usr/include/X11R6
3978 /usr/include/X11R5
3979 /usr/include/X11R4
3981 /usr/local/X11/include
3982 /usr/local/X11R6/include
3983 /usr/local/X11R5/include
3984 /usr/local/X11R4/include
3986 /usr/local/include/X11
3987 /usr/local/include/X11R6
3988 /usr/local/include/X11R5
3989 /usr/local/include/X11R4
3991 /usr/X386/include
3992 /usr/x386/include
3993 /usr/XFree86/include/X11
3995 /usr/include
3996 /usr/local/include
3997 /usr/unsupported/include
3998 /usr/athena/include
3999 /usr/local/x11r5/include
4000 /usr/lpp/Xamples/include
4002 /usr/openwin/include
4003 /usr/openwin/share/include'
4005 if test "$ac_x_includes" = no; then
4006 # Guess where to find include files, by looking for Xlib.h.
4007 # First, try using that file with no special directory specified.
4008 cat >conftest.$ac_ext <<_ACEOF
4009 /* confdefs.h. */
4010 _ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 #include <X11/Xlib.h>
4015 _ACEOF
4016 if { (ac_try="$ac_cpp conftest.$ac_ext"
4017 case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4023 ac_status=$?
4024 grep -v '^ *+' conftest.er1 >conftest.err
4025 rm -f conftest.er1
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } >/dev/null && {
4029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4030 test ! -s conftest.err
4031 }; then
4032 # We can compile using X headers with no special include directory.
4033 ac_x_includes=
4034 else
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4038 for ac_dir in $ac_x_header_dirs; do
4039 if test -r "$ac_dir/X11/Xlib.h"; then
4040 ac_x_includes=$ac_dir
4041 break
4043 done
4046 rm -f conftest.err conftest.$ac_ext
4047 fi # $ac_x_includes = no
4049 if test "$ac_x_libraries" = no; then
4050 # Check for the libraries.
4051 # See if we find them without any special options.
4052 # Don't add to $LIBS permanently.
4053 ac_save_LIBS=$LIBS
4054 LIBS="-lX11 $LIBS"
4055 cat >conftest.$ac_ext <<_ACEOF
4056 /* confdefs.h. */
4057 _ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4061 #include <X11/Xlib.h>
4063 main ()
4065 XrmInitialize ()
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4088 LIBS=$ac_save_LIBS
4089 # We can link X programs with no special library path.
4090 ac_x_libraries=
4091 else
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 LIBS=$ac_save_LIBS
4096 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4098 # Don't even attempt the hair of trying to link an X program!
4099 for ac_extension in a so sl; do
4100 if test -r "$ac_dir/libX11.$ac_extension"; then
4101 ac_x_libraries=$ac_dir
4102 break 2
4104 done
4105 done
4108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4109 conftest$ac_exeext conftest.$ac_ext
4110 fi # $ac_x_libraries = no
4112 case $ac_x_includes,$ac_x_libraries in #(
4113 no,* | *,no | *\'*)
4114 # Didn't find X, or a directory has "'" in its name.
4115 ac_cv_have_x="have_x=no";; #(
4117 # Record where we found X for the cache.
4118 ac_cv_have_x="have_x=yes\
4119 ac_x_includes='$ac_x_includes'\
4120 ac_x_libraries='$ac_x_libraries'"
4121 esac
4123 ;; #(
4124 *) have_x=yes;;
4125 esac
4126 eval "$ac_cv_have_x"
4127 fi # $with_x != no
4129 if test "$have_x" != yes; then
4130 { echo "$as_me:$LINENO: result: $have_x" >&5
4131 echo "${ECHO_T}$have_x" >&6; }
4132 no_x=yes
4133 else
4134 # If each of the values was on the command line, it overrides each guess.
4135 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4136 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4137 # Update the cache value to reflect the command line values.
4138 ac_cv_have_x="have_x=yes\
4139 ac_x_includes='$x_includes'\
4140 ac_x_libraries='$x_libraries'"
4141 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4142 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4145 if test "$no_x" = yes; then
4146 # Not all programs may use this symbol, but it does not hurt to define it.
4148 cat >>confdefs.h <<\_ACEOF
4149 #define X_DISPLAY_MISSING 1
4150 _ACEOF
4152 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4153 else
4154 if test -n "$x_includes"; then
4155 X_CFLAGS="$X_CFLAGS -I$x_includes"
4158 # It would also be nice to do this for all -L options, not just this one.
4159 if test -n "$x_libraries"; then
4160 X_LIBS="$X_LIBS -L$x_libraries"
4161 # For Solaris; some versions of Sun CC require a space after -R and
4162 # others require no space. Words are not sufficient . . . .
4163 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4164 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4165 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4166 ac_xsave_c_werror_flag=$ac_c_werror_flag
4167 ac_c_werror_flag=yes
4168 cat >conftest.$ac_ext <<_ACEOF
4169 /* confdefs.h. */
4170 _ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4176 main ()
4180 return 0;
4182 _ACEOF
4183 rm -f conftest.$ac_objext conftest$ac_exeext
4184 if { (ac_try="$ac_link"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_link") 2>conftest.er1
4191 ac_status=$?
4192 grep -v '^ *+' conftest.er1 >conftest.err
4193 rm -f conftest.er1
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest$ac_exeext &&
4200 $as_test_x conftest$ac_exeext; then
4201 { echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6; }
4203 X_LIBS="$X_LIBS -R$x_libraries"
4204 else
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 LIBS="$ac_xsave_LIBS -R $x_libraries"
4209 cat >conftest.$ac_ext <<_ACEOF
4210 /* confdefs.h. */
4211 _ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4217 main ()
4221 return 0;
4223 _ACEOF
4224 rm -f conftest.$ac_objext conftest$ac_exeext
4225 if { (ac_try="$ac_link"
4226 case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4229 esac
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_link") 2>conftest.er1
4232 ac_status=$?
4233 grep -v '^ *+' conftest.er1 >conftest.err
4234 rm -f conftest.er1
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } && {
4238 test -z "$ac_c_werror_flag" ||
4239 test ! -s conftest.err
4240 } && test -s conftest$ac_exeext &&
4241 $as_test_x conftest$ac_exeext; then
4242 { echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6; }
4244 X_LIBS="$X_LIBS -R $x_libraries"
4245 else
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 { echo "$as_me:$LINENO: result: neither works" >&5
4250 echo "${ECHO_T}neither works" >&6; }
4253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4254 conftest$ac_exeext conftest.$ac_ext
4257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4258 conftest$ac_exeext conftest.$ac_ext
4259 ac_c_werror_flag=$ac_xsave_c_werror_flag
4260 LIBS=$ac_xsave_LIBS
4263 # Check for system-dependent libraries X programs must link with.
4264 # Do this before checking for the system-independent R6 libraries
4265 # (-lICE), since we may need -lsocket or whatever for X linking.
4267 if test "$ISC" = yes; then
4268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4269 else
4270 # Martyn Johnson says this is needed for Ultrix, if the X
4271 # libraries were built with DECnet support. And Karl Berry says
4272 # the Alpha needs dnet_stub (dnet does not exist).
4273 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4274 cat >conftest.$ac_ext <<_ACEOF
4275 /* confdefs.h. */
4276 _ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4281 /* Override any GCC internal prototype to avoid an error.
4282 Use char because int might match the return type of a GCC
4283 builtin and then its argument prototype would still apply. */
4284 #ifdef __cplusplus
4285 extern "C"
4286 #endif
4287 char XOpenDisplay ();
4289 main ()
4291 return XOpenDisplay ();
4293 return 0;
4295 _ACEOF
4296 rm -f conftest.$ac_objext conftest$ac_exeext
4297 if { (ac_try="$ac_link"
4298 case "(($ac_try" in
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4301 esac
4302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303 (eval "$ac_link") 2>conftest.er1
4304 ac_status=$?
4305 grep -v '^ *+' conftest.er1 >conftest.err
4306 rm -f conftest.er1
4307 cat conftest.err >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } && {
4310 test -z "$ac_c_werror_flag" ||
4311 test ! -s conftest.err
4312 } && test -s conftest$ac_exeext &&
4313 $as_test_x conftest$ac_exeext; then
4315 else
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4319 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4320 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4321 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 else
4324 ac_check_lib_save_LIBS=$LIBS
4325 LIBS="-ldnet $LIBS"
4326 cat >conftest.$ac_ext <<_ACEOF
4327 /* confdefs.h. */
4328 _ACEOF
4329 cat confdefs.h >>conftest.$ac_ext
4330 cat >>conftest.$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4333 /* Override any GCC internal prototype to avoid an error.
4334 Use char because int might match the return type of a GCC
4335 builtin and then its argument prototype would still apply. */
4336 #ifdef __cplusplus
4337 extern "C"
4338 #endif
4339 char dnet_ntoa ();
4341 main ()
4343 return dnet_ntoa ();
4345 return 0;
4347 _ACEOF
4348 rm -f conftest.$ac_objext conftest$ac_exeext
4349 if { (ac_try="$ac_link"
4350 case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_link") 2>conftest.er1
4356 ac_status=$?
4357 grep -v '^ *+' conftest.er1 >conftest.err
4358 rm -f conftest.er1
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } && {
4362 test -z "$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4364 } && test -s conftest$ac_exeext &&
4365 $as_test_x conftest$ac_exeext; then
4366 ac_cv_lib_dnet_dnet_ntoa=yes
4367 else
4368 echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4371 ac_cv_lib_dnet_dnet_ntoa=no
4374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4375 conftest$ac_exeext conftest.$ac_ext
4376 LIBS=$ac_check_lib_save_LIBS
4378 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4379 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4380 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4381 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4384 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4385 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4386 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4387 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 else
4390 ac_check_lib_save_LIBS=$LIBS
4391 LIBS="-ldnet_stub $LIBS"
4392 cat >conftest.$ac_ext <<_ACEOF
4393 /* confdefs.h. */
4394 _ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4399 /* Override any GCC internal prototype to avoid an error.
4400 Use char because int might match the return type of a GCC
4401 builtin and then its argument prototype would still apply. */
4402 #ifdef __cplusplus
4403 extern "C"
4404 #endif
4405 char dnet_ntoa ();
4407 main ()
4409 return dnet_ntoa ();
4411 return 0;
4413 _ACEOF
4414 rm -f conftest.$ac_objext conftest$ac_exeext
4415 if { (ac_try="$ac_link"
4416 case "(($ac_try" in
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4419 esac
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 (eval "$ac_link") 2>conftest.er1
4422 ac_status=$?
4423 grep -v '^ *+' conftest.er1 >conftest.err
4424 rm -f conftest.er1
4425 cat conftest.err >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } && {
4428 test -z "$ac_c_werror_flag" ||
4429 test ! -s conftest.err
4430 } && test -s conftest$ac_exeext &&
4431 $as_test_x conftest$ac_exeext; then
4432 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4433 else
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 ac_cv_lib_dnet_stub_dnet_ntoa=no
4440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4441 conftest$ac_exeext conftest.$ac_ext
4442 LIBS=$ac_check_lib_save_LIBS
4444 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4445 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4446 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4447 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4454 conftest$ac_exeext conftest.$ac_ext
4455 LIBS="$ac_xsave_LIBS"
4457 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4458 # to get the SysV transport functions.
4459 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4460 # needs -lnsl.
4461 # The nsl library prevents programs from opening the X display
4462 # on Irix 5.2, according to T.E. Dickey.
4463 # The functions gethostbyname, getservbyname, and inet_addr are
4464 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4465 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4466 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_gethostbyname+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 else
4470 cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h. */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define gethostbyname innocuous_gethostbyname
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char gethostbyname (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4485 #ifdef __STDC__
4486 # include <limits.h>
4487 #else
4488 # include <assert.h>
4489 #endif
4491 #undef gethostbyname
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4496 #ifdef __cplusplus
4497 extern "C"
4498 #endif
4499 char gethostbyname ();
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4504 choke me
4505 #endif
4508 main ()
4510 return gethostbyname ();
4512 return 0;
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4517 case "(($ac_try" in
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4520 esac
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4523 ac_status=$?
4524 grep -v '^ *+' conftest.er1 >conftest.err
4525 rm -f conftest.er1
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_gethostbyname=yes
4534 else
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_gethostbyname=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4545 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4547 if test $ac_cv_func_gethostbyname = no; then
4548 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4549 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else
4553 ac_check_lib_save_LIBS=$LIBS
4554 LIBS="-lnsl $LIBS"
4555 cat >conftest.$ac_ext <<_ACEOF
4556 /* confdefs.h. */
4557 _ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4565 #ifdef __cplusplus
4566 extern "C"
4567 #endif
4568 char gethostbyname ();
4570 main ()
4572 return gethostbyname ();
4574 return 0;
4576 _ACEOF
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4579 case "(($ac_try" in
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4582 esac
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4585 ac_status=$?
4586 grep -v '^ *+' conftest.er1 >conftest.err
4587 rm -f conftest.er1
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_nsl_gethostbyname=yes
4596 else
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_nsl_gethostbyname=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4608 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4609 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4610 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4613 if test $ac_cv_lib_nsl_gethostbyname = no; then
4614 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4615 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4616 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 ac_check_lib_save_LIBS=$LIBS
4620 LIBS="-lbsd $LIBS"
4621 cat >conftest.$ac_ext <<_ACEOF
4622 /* confdefs.h. */
4623 _ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4628 /* Override any GCC internal prototype to avoid an error.
4629 Use char because int might match the return type of a GCC
4630 builtin and then its argument prototype would still apply. */
4631 #ifdef __cplusplus
4632 extern "C"
4633 #endif
4634 char gethostbyname ();
4636 main ()
4638 return gethostbyname ();
4640 return 0;
4642 _ACEOF
4643 rm -f conftest.$ac_objext conftest$ac_exeext
4644 if { (ac_try="$ac_link"
4645 case "(($ac_try" in
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4648 esac
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_link") 2>conftest.er1
4651 ac_status=$?
4652 grep -v '^ *+' conftest.er1 >conftest.err
4653 rm -f conftest.er1
4654 cat conftest.err >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); } && {
4657 test -z "$ac_c_werror_flag" ||
4658 test ! -s conftest.err
4659 } && test -s conftest$ac_exeext &&
4660 $as_test_x conftest$ac_exeext; then
4661 ac_cv_lib_bsd_gethostbyname=yes
4662 else
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 ac_cv_lib_bsd_gethostbyname=no
4669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4670 conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4673 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4675 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4682 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4683 # socket/setsockopt and other routines are undefined under SCO ODT
4684 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4685 # on later versions), says Simon Leinen: it contains gethostby*
4686 # variants that don't use the name server (or something). -lsocket
4687 # must be given before -lnsl if both are needed. We assume that
4688 # if connect needs -lnsl, so does gethostbyname.
4689 { echo "$as_me:$LINENO: checking for connect" >&5
4690 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4691 if test "${ac_cv_func_connect+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 else
4694 cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h. */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4702 #define connect innocuous_connect
4704 /* System header to define __stub macros and hopefully few prototypes,
4705 which can conflict with char connect (); below.
4706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4707 <limits.h> exists even on freestanding compilers. */
4709 #ifdef __STDC__
4710 # include <limits.h>
4711 #else
4712 # include <assert.h>
4713 #endif
4715 #undef connect
4717 /* Override any GCC internal prototype to avoid an error.
4718 Use char because int might match the return type of a GCC
4719 builtin and then its argument prototype would still apply. */
4720 #ifdef __cplusplus
4721 extern "C"
4722 #endif
4723 char connect ();
4724 /* The GNU C library defines this for functions which it implements
4725 to always fail with ENOSYS. Some functions are actually named
4726 something starting with __ and the normal name is an alias. */
4727 #if defined __stub_connect || defined __stub___connect
4728 choke me
4729 #endif
4732 main ()
4734 return connect ();
4736 return 0;
4738 _ACEOF
4739 rm -f conftest.$ac_objext conftest$ac_exeext
4740 if { (ac_try="$ac_link"
4741 case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_link") 2>conftest.er1
4747 ac_status=$?
4748 grep -v '^ *+' conftest.er1 >conftest.err
4749 rm -f conftest.er1
4750 cat conftest.err >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } && {
4753 test -z "$ac_c_werror_flag" ||
4754 test ! -s conftest.err
4755 } && test -s conftest$ac_exeext &&
4756 $as_test_x conftest$ac_exeext; then
4757 ac_cv_func_connect=yes
4758 else
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 ac_cv_func_connect=no
4765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4766 conftest$ac_exeext conftest.$ac_ext
4768 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4769 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4771 if test $ac_cv_func_connect = no; then
4772 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4773 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4774 if test "${ac_cv_lib_socket_connect+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 else
4777 ac_check_lib_save_LIBS=$LIBS
4778 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4779 cat >conftest.$ac_ext <<_ACEOF
4780 /* confdefs.h. */
4781 _ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4786 /* Override any GCC internal prototype to avoid an error.
4787 Use char because int might match the return type of a GCC
4788 builtin and then its argument prototype would still apply. */
4789 #ifdef __cplusplus
4790 extern "C"
4791 #endif
4792 char connect ();
4794 main ()
4796 return connect ();
4798 return 0;
4800 _ACEOF
4801 rm -f conftest.$ac_objext conftest$ac_exeext
4802 if { (ac_try="$ac_link"
4803 case "(($ac_try" in
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4806 esac
4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808 (eval "$ac_link") 2>conftest.er1
4809 ac_status=$?
4810 grep -v '^ *+' conftest.er1 >conftest.err
4811 rm -f conftest.er1
4812 cat conftest.err >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } && {
4815 test -z "$ac_c_werror_flag" ||
4816 test ! -s conftest.err
4817 } && test -s conftest$ac_exeext &&
4818 $as_test_x conftest$ac_exeext; then
4819 ac_cv_lib_socket_connect=yes
4820 else
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 ac_cv_lib_socket_connect=no
4827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4828 conftest$ac_exeext conftest.$ac_ext
4829 LIBS=$ac_check_lib_save_LIBS
4831 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4832 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4833 if test $ac_cv_lib_socket_connect = yes; then
4834 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4839 # Guillermo Gomez says -lposix is necessary on A/UX.
4840 { echo "$as_me:$LINENO: checking for remove" >&5
4841 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4842 if test "${ac_cv_func_remove+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 else
4845 cat >conftest.$ac_ext <<_ACEOF
4846 /* confdefs.h. */
4847 _ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4853 #define remove innocuous_remove
4855 /* System header to define __stub macros and hopefully few prototypes,
4856 which can conflict with char remove (); below.
4857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4858 <limits.h> exists even on freestanding compilers. */
4860 #ifdef __STDC__
4861 # include <limits.h>
4862 #else
4863 # include <assert.h>
4864 #endif
4866 #undef remove
4868 /* Override any GCC internal prototype to avoid an error.
4869 Use char because int might match the return type of a GCC
4870 builtin and then its argument prototype would still apply. */
4871 #ifdef __cplusplus
4872 extern "C"
4873 #endif
4874 char remove ();
4875 /* The GNU C library defines this for functions which it implements
4876 to always fail with ENOSYS. Some functions are actually named
4877 something starting with __ and the normal name is an alias. */
4878 #if defined __stub_remove || defined __stub___remove
4879 choke me
4880 #endif
4883 main ()
4885 return remove ();
4887 return 0;
4889 _ACEOF
4890 rm -f conftest.$ac_objext conftest$ac_exeext
4891 if { (ac_try="$ac_link"
4892 case "(($ac_try" in
4893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894 *) ac_try_echo=$ac_try;;
4895 esac
4896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897 (eval "$ac_link") 2>conftest.er1
4898 ac_status=$?
4899 grep -v '^ *+' conftest.er1 >conftest.err
4900 rm -f conftest.er1
4901 cat conftest.err >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } && {
4904 test -z "$ac_c_werror_flag" ||
4905 test ! -s conftest.err
4906 } && test -s conftest$ac_exeext &&
4907 $as_test_x conftest$ac_exeext; then
4908 ac_cv_func_remove=yes
4909 else
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4913 ac_cv_func_remove=no
4916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4917 conftest$ac_exeext conftest.$ac_ext
4919 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4920 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4922 if test $ac_cv_func_remove = no; then
4923 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4924 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4925 if test "${ac_cv_lib_posix_remove+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 else
4928 ac_check_lib_save_LIBS=$LIBS
4929 LIBS="-lposix $LIBS"
4930 cat >conftest.$ac_ext <<_ACEOF
4931 /* confdefs.h. */
4932 _ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4940 #ifdef __cplusplus
4941 extern "C"
4942 #endif
4943 char remove ();
4945 main ()
4947 return remove ();
4949 return 0;
4951 _ACEOF
4952 rm -f conftest.$ac_objext conftest$ac_exeext
4953 if { (ac_try="$ac_link"
4954 case "(($ac_try" in
4955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4957 esac
4958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4959 (eval "$ac_link") 2>conftest.er1
4960 ac_status=$?
4961 grep -v '^ *+' conftest.er1 >conftest.err
4962 rm -f conftest.er1
4963 cat conftest.err >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } && {
4966 test -z "$ac_c_werror_flag" ||
4967 test ! -s conftest.err
4968 } && test -s conftest$ac_exeext &&
4969 $as_test_x conftest$ac_exeext; then
4970 ac_cv_lib_posix_remove=yes
4971 else
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 ac_cv_lib_posix_remove=no
4978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4979 conftest$ac_exeext conftest.$ac_ext
4980 LIBS=$ac_check_lib_save_LIBS
4982 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4983 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4984 if test $ac_cv_lib_posix_remove = yes; then
4985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4990 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4991 { echo "$as_me:$LINENO: checking for shmat" >&5
4992 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4993 if test "${ac_cv_func_shmat+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 else
4996 cat >conftest.$ac_ext <<_ACEOF
4997 /* confdefs.h. */
4998 _ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5004 #define shmat innocuous_shmat
5006 /* System header to define __stub macros and hopefully few prototypes,
5007 which can conflict with char shmat (); below.
5008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009 <limits.h> exists even on freestanding compilers. */
5011 #ifdef __STDC__
5012 # include <limits.h>
5013 #else
5014 # include <assert.h>
5015 #endif
5017 #undef shmat
5019 /* Override any GCC internal prototype to avoid an error.
5020 Use char because int might match the return type of a GCC
5021 builtin and then its argument prototype would still apply. */
5022 #ifdef __cplusplus
5023 extern "C"
5024 #endif
5025 char shmat ();
5026 /* The GNU C library defines this for functions which it implements
5027 to always fail with ENOSYS. Some functions are actually named
5028 something starting with __ and the normal name is an alias. */
5029 #if defined __stub_shmat || defined __stub___shmat
5030 choke me
5031 #endif
5034 main ()
5036 return shmat ();
5038 return 0;
5040 _ACEOF
5041 rm -f conftest.$ac_objext conftest$ac_exeext
5042 if { (ac_try="$ac_link"
5043 case "(($ac_try" in
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5046 esac
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_link") 2>conftest.er1
5049 ac_status=$?
5050 grep -v '^ *+' conftest.er1 >conftest.err
5051 rm -f conftest.er1
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest$ac_exeext &&
5058 $as_test_x conftest$ac_exeext; then
5059 ac_cv_func_shmat=yes
5060 else
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5064 ac_cv_func_shmat=no
5067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5068 conftest$ac_exeext conftest.$ac_ext
5070 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5071 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5073 if test $ac_cv_func_shmat = no; then
5074 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5075 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5076 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 else
5079 ac_check_lib_save_LIBS=$LIBS
5080 LIBS="-lipc $LIBS"
5081 cat >conftest.$ac_ext <<_ACEOF
5082 /* confdefs.h. */
5083 _ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5088 /* Override any GCC internal prototype to avoid an error.
5089 Use char because int might match the return type of a GCC
5090 builtin and then its argument prototype would still apply. */
5091 #ifdef __cplusplus
5092 extern "C"
5093 #endif
5094 char shmat ();
5096 main ()
5098 return shmat ();
5100 return 0;
5102 _ACEOF
5103 rm -f conftest.$ac_objext conftest$ac_exeext
5104 if { (ac_try="$ac_link"
5105 case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5108 esac
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_link") 2>conftest.er1
5111 ac_status=$?
5112 grep -v '^ *+' conftest.er1 >conftest.err
5113 rm -f conftest.er1
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } && {
5117 test -z "$ac_c_werror_flag" ||
5118 test ! -s conftest.err
5119 } && test -s conftest$ac_exeext &&
5120 $as_test_x conftest$ac_exeext; then
5121 ac_cv_lib_ipc_shmat=yes
5122 else
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5126 ac_cv_lib_ipc_shmat=no
5129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5130 conftest$ac_exeext conftest.$ac_ext
5131 LIBS=$ac_check_lib_save_LIBS
5133 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5134 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5135 if test $ac_cv_lib_ipc_shmat = yes; then
5136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5142 # Check for libraries that X11R6 Xt/Xaw programs need.
5143 ac_save_LDFLAGS=$LDFLAGS
5144 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5145 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5146 # check for ICE first), but we must link in the order -lSM -lICE or
5147 # we get undefined symbols. So assume we have SM if we have ICE.
5148 # These have to be linked with before -lX11, unlike the other
5149 # libraries we check for below, so use a different variable.
5150 # John Interrante, Karl Berry
5151 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5152 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5153 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 else
5156 ac_check_lib_save_LIBS=$LIBS
5157 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5165 /* Override any GCC internal prototype to avoid an error.
5166 Use char because int might match the return type of a GCC
5167 builtin and then its argument prototype would still apply. */
5168 #ifdef __cplusplus
5169 extern "C"
5170 #endif
5171 char IceConnectionNumber ();
5173 main ()
5175 return IceConnectionNumber ();
5177 return 0;
5179 _ACEOF
5180 rm -f conftest.$ac_objext conftest$ac_exeext
5181 if { (ac_try="$ac_link"
5182 case "(($ac_try" in
5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5184 *) ac_try_echo=$ac_try;;
5185 esac
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 (eval "$ac_link") 2>conftest.er1
5188 ac_status=$?
5189 grep -v '^ *+' conftest.er1 >conftest.err
5190 rm -f conftest.er1
5191 cat conftest.err >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } && {
5194 test -z "$ac_c_werror_flag" ||
5195 test ! -s conftest.err
5196 } && test -s conftest$ac_exeext &&
5197 $as_test_x conftest$ac_exeext; then
5198 ac_cv_lib_ICE_IceConnectionNumber=yes
5199 else
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 ac_cv_lib_ICE_IceConnectionNumber=no
5206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5207 conftest$ac_exeext conftest.$ac_ext
5208 LIBS=$ac_check_lib_save_LIBS
5210 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5211 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5212 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5213 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5216 LDFLAGS=$ac_save_LDFLAGS
5221 for ac_prog in flex
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5227 if test "${ac_cv_prog_FLEX+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 else
5230 if test -n "$FLEX"; then
5231 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5232 else
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH
5236 IFS=$as_save_IFS
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_FLEX="$ac_prog"
5241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 break 2
5244 done
5245 done
5246 IFS=$as_save_IFS
5250 FLEX=$ac_cv_prog_FLEX
5251 if test -n "$FLEX"; then
5252 { echo "$as_me:$LINENO: result: $FLEX" >&5
5253 echo "${ECHO_T}$FLEX" >&6; }
5254 else
5255 { echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6; }
5260 test -n "$FLEX" && break
5261 done
5262 test -n "$FLEX" || FLEX="none"
5264 if test "$FLEX" = "none"
5265 then
5266 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5267 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5268 { (exit 1); exit 1; }; }
5271 for ac_prog in bison
5273 # Extract the first word of "$ac_prog", so it can be a program name with args.
5274 set dummy $ac_prog; ac_word=$2
5275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5277 if test "${ac_cv_prog_BISON+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 else
5280 if test -n "$BISON"; then
5281 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5282 else
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH
5286 IFS=$as_save_IFS
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_prog_BISON="$ac_prog"
5291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 break 2
5294 done
5295 done
5296 IFS=$as_save_IFS
5300 BISON=$ac_cv_prog_BISON
5301 if test -n "$BISON"; then
5302 { echo "$as_me:$LINENO: result: $BISON" >&5
5303 echo "${ECHO_T}$BISON" >&6; }
5304 else
5305 { echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6; }
5310 test -n "$BISON" && break
5311 done
5312 test -n "$BISON" || BISON="none"
5314 if test "$BISON" = "none"
5315 then
5316 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5317 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5318 { (exit 1); exit 1; }; }
5321 if test -n "$ac_tool_prefix"; then
5322 for ac_prog in gas as
5324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5328 if test "${ac_cv_prog_AS+set}" = set; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 else
5331 if test -n "$AS"; then
5332 ac_cv_prog_AS="$AS" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 break 2
5345 done
5346 done
5347 IFS=$as_save_IFS
5351 AS=$ac_cv_prog_AS
5352 if test -n "$AS"; then
5353 { echo "$as_me:$LINENO: result: $AS" >&5
5354 echo "${ECHO_T}$AS" >&6; }
5355 else
5356 { echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6; }
5361 test -n "$AS" && break
5362 done
5364 if test -z "$AS"; then
5365 ac_ct_AS=$AS
5366 for ac_prog in gas as
5368 # Extract the first word of "$ac_prog", so it can be a program name with args.
5369 set dummy $ac_prog; ac_word=$2
5370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5372 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 else
5375 if test -n "$ac_ct_AS"; then
5376 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5377 else
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH
5381 IFS=$as_save_IFS
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5385 ac_cv_prog_ac_ct_AS="$ac_prog"
5386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 break 2
5389 done
5390 done
5391 IFS=$as_save_IFS
5395 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5396 if test -n "$ac_ct_AS"; then
5397 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5398 echo "${ECHO_T}$ac_ct_AS" >&6; }
5399 else
5400 { echo "$as_me:$LINENO: result: no" >&5
5401 echo "${ECHO_T}no" >&6; }
5405 test -n "$ac_ct_AS" && break
5406 done
5408 if test "x$ac_ct_AS" = x; then
5409 AS="as"
5410 else
5411 case $cross_compiling:$ac_tool_warned in
5412 yes:)
5413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5414 whose name does not start with the host triplet. If you think this
5415 configuration is useful to you, please write to autoconf@gnu.org." >&5
5416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5417 whose name does not start with the host triplet. If you think this
5418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5419 ac_tool_warned=yes ;;
5420 esac
5421 AS=$ac_ct_AS
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}ld; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LD+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5433 if test -n "$LD"; then
5434 ac_cv_prog_LD="$LD" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LD="${ac_tool_prefix}ld"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 LD=$ac_cv_prog_LD
5454 if test -n "$LD"; then
5455 { echo "$as_me:$LINENO: result: $LD" >&5
5456 echo "${ECHO_T}$LD" >&6; }
5457 else
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5464 if test -z "$ac_cv_prog_LD"; then
5465 ac_ct_LD=$LD
5466 # Extract the first word of "ld", so it can be a program name with args.
5467 set dummy ld; ac_word=$2
5468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5470 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 else
5473 if test -n "$ac_ct_LD"; then
5474 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_ac_ct_LD="ld"
5484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5494 if test -n "$ac_ct_LD"; then
5495 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5496 echo "${ECHO_T}$ac_ct_LD" >&6; }
5497 else
5498 { echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6; }
5502 if test "x$ac_ct_LD" = x; then
5503 LD="ld"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5508 whose name does not start with the host triplet. If you think this
5509 configuration is useful to you, please write to autoconf@gnu.org." >&5
5510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5511 whose name does not start with the host triplet. If you think this
5512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5513 ac_tool_warned=yes ;;
5514 esac
5515 LD=$ac_ct_LD
5517 else
5518 LD="$ac_cv_prog_LD"
5521 if test -n "$ac_tool_prefix"; then
5522 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5523 set dummy ${ac_tool_prefix}ar; ac_word=$2
5524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5526 if test "${ac_cv_prog_AR+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 else
5529 if test -n "$AR"; then
5530 ac_cv_prog_AR="$AR" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5539 ac_cv_prog_AR="${ac_tool_prefix}ar"
5540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 AR=$ac_cv_prog_AR
5550 if test -n "$AR"; then
5551 { echo "$as_me:$LINENO: result: $AR" >&5
5552 echo "${ECHO_T}$AR" >&6; }
5553 else
5554 { echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6; }
5560 if test -z "$ac_cv_prog_AR"; then
5561 ac_ct_AR=$AR
5562 # Extract the first word of "ar", so it can be a program name with args.
5563 set dummy ar; ac_word=$2
5564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5566 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5568 else
5569 if test -n "$ac_ct_AR"; then
5570 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579 ac_cv_prog_ac_ct_AR="ar"
5580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5592 echo "${ECHO_T}$ac_ct_AR" >&6; }
5593 else
5594 { echo "$as_me:$LINENO: result: no" >&5
5595 echo "${ECHO_T}no" >&6; }
5598 if test "x$ac_ct_AR" = x; then
5599 AR="ar"
5600 else
5601 case $cross_compiling:$ac_tool_warned in
5602 yes:)
5603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5604 whose name does not start with the host triplet. If you think this
5605 configuration is useful to you, please write to autoconf@gnu.org." >&5
5606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5607 whose name does not start with the host triplet. If you think this
5608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5609 ac_tool_warned=yes ;;
5610 esac
5611 AR=$ac_ct_AR
5613 else
5614 AR="$ac_cv_prog_AR"
5617 ARFLAGS=rc
5619 if test -n "$ac_tool_prefix"; then
5620 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5624 if test "${ac_cv_prog_RANLIB+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 else
5627 if test -n "$RANLIB"; then
5628 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5629 else
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 break 2
5641 done
5642 done
5643 IFS=$as_save_IFS
5647 RANLIB=$ac_cv_prog_RANLIB
5648 if test -n "$RANLIB"; then
5649 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5650 echo "${ECHO_T}$RANLIB" >&6; }
5651 else
5652 { echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6; }
5658 if test -z "$ac_cv_prog_RANLIB"; then
5659 ac_ct_RANLIB=$RANLIB
5660 # Extract the first word of "ranlib", so it can be a program name with args.
5661 set dummy ranlib; ac_word=$2
5662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 else
5667 if test -n "$ac_ct_RANLIB"; then
5668 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5673 IFS=$as_save_IFS
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_ac_ct_RANLIB="ranlib"
5678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5688 if test -n "$ac_ct_RANLIB"; then
5689 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5690 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5691 else
5692 { echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6; }
5696 if test "x$ac_ct_RANLIB" = x; then
5697 RANLIB=":"
5698 else
5699 case $cross_compiling:$ac_tool_warned in
5700 yes:)
5701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5702 whose name does not start with the host triplet. If you think this
5703 configuration is useful to you, please write to autoconf@gnu.org." >&5
5704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5705 whose name does not start with the host triplet. If you think this
5706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5707 ac_tool_warned=yes ;;
5708 esac
5709 RANLIB=$ac_ct_RANLIB
5711 else
5712 RANLIB="$ac_cv_prog_RANLIB"
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}strip; ac_word=$2
5718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5720 if test "${ac_cv_prog_STRIP+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 else
5723 if test -n "$STRIP"; then
5724 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 break 2
5737 done
5738 done
5739 IFS=$as_save_IFS
5743 STRIP=$ac_cv_prog_STRIP
5744 if test -n "$STRIP"; then
5745 { echo "$as_me:$LINENO: result: $STRIP" >&5
5746 echo "${ECHO_T}$STRIP" >&6; }
5747 else
5748 { echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6; }
5754 if test -z "$ac_cv_prog_STRIP"; then
5755 ac_ct_STRIP=$STRIP
5756 # Extract the first word of "strip", so it can be a program name with args.
5757 set dummy strip; ac_word=$2
5758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5762 else
5763 if test -n "$ac_ct_STRIP"; then
5764 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5769 IFS=$as_save_IFS
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_STRIP="strip"
5774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 break 2
5777 done
5778 done
5779 IFS=$as_save_IFS
5783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5784 if test -n "$ac_ct_STRIP"; then
5785 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5786 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5787 else
5788 { echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6; }
5792 if test "x$ac_ct_STRIP" = x; then
5793 STRIP="strip"
5794 else
5795 case $cross_compiling:$ac_tool_warned in
5796 yes:)
5797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5798 whose name does not start with the host triplet. If you think this
5799 configuration is useful to you, please write to autoconf@gnu.org." >&5
5800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5801 whose name does not start with the host triplet. If you think this
5802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805 STRIP=$ac_ct_STRIP
5807 else
5808 STRIP="$ac_cv_prog_STRIP"
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}windres; ac_word=$2
5814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5816 if test "${ac_cv_prog_WINDRES+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819 if test -n "$WINDRES"; then
5820 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 WINDRES=$ac_cv_prog_WINDRES
5840 if test -n "$WINDRES"; then
5841 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5842 echo "${ECHO_T}$WINDRES" >&6; }
5843 else
5844 { echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6; }
5850 if test -z "$ac_cv_prog_WINDRES"; then
5851 ac_ct_WINDRES=$WINDRES
5852 # Extract the first word of "windres", so it can be a program name with args.
5853 set dummy windres; ac_word=$2
5854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5856 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5857 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 else
5859 if test -n "$ac_ct_WINDRES"; then
5860 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5865 IFS=$as_save_IFS
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 ac_cv_prog_ac_ct_WINDRES="windres"
5870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 break 2
5873 done
5874 done
5875 IFS=$as_save_IFS
5879 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5880 if test -n "$ac_ct_WINDRES"; then
5881 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5882 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5883 else
5884 { echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6; }
5888 if test "x$ac_ct_WINDRES" = x; then
5889 WINDRES="false"
5890 else
5891 case $cross_compiling:$ac_tool_warned in
5892 yes:)
5893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5894 whose name does not start with the host triplet. If you think this
5895 configuration is useful to you, please write to autoconf@gnu.org." >&5
5896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5897 whose name does not start with the host triplet. If you think this
5898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5899 ac_tool_warned=yes ;;
5900 esac
5901 WINDRES=$ac_ct_WINDRES
5903 else
5904 WINDRES="$ac_cv_prog_WINDRES"
5907 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5909 LN_S=$as_ln_s
5910 if test "$LN_S" = "ln -s"; then
5911 { echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6; }
5913 else
5914 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5915 echo "${ECHO_T}no, using $LN_S" >&6; }
5918 { echo "$as_me:$LINENO: checking whether ln works" >&5
5919 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5920 rm -f conf$$ conf$$.file
5921 echo >conf$$.file
5922 if ln conf$$.file conf$$ 2>/dev/null; then
5923 LN=ln
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5927 else
5928 LN="cp -p"
5930 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5931 echo "${ECHO_T}no, using $LN" >&6; }
5933 rm -f conf$$ conf$$.file
5934 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5935 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5936 if test "${ac_cv_path_GREP+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939 # Extract the first word of "grep ggrep" to use in msg output
5940 if test -z "$GREP"; then
5941 set dummy grep ggrep; ac_prog_name=$2
5942 if test "${ac_cv_path_GREP+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5944 else
5945 ac_path_GREP_found=false
5946 # Loop through the user's path and test for each of PROGNAME-LIST
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5950 IFS=$as_save_IFS
5951 test -z "$as_dir" && as_dir=.
5952 for ac_prog in grep ggrep; do
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5955 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5956 # Check for GNU ac_path_GREP and select it if it is found.
5957 # Check for GNU $ac_path_GREP
5958 case `"$ac_path_GREP" --version 2>&1` in
5959 *GNU*)
5960 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5962 ac_count=0
5963 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5964 while :
5966 cat "conftest.in" "conftest.in" >"conftest.tmp"
5967 mv "conftest.tmp" "conftest.in"
5968 cp "conftest.in" "conftest.nl"
5969 echo 'GREP' >> "conftest.nl"
5970 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5972 ac_count=`expr $ac_count + 1`
5973 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5974 # Best one so far, save it but keep looking for a better one
5975 ac_cv_path_GREP="$ac_path_GREP"
5976 ac_path_GREP_max=$ac_count
5978 # 10*(2^10) chars as input seems more than enough
5979 test $ac_count -gt 10 && break
5980 done
5981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5982 esac
5985 $ac_path_GREP_found && break 3
5986 done
5987 done
5989 done
5990 IFS=$as_save_IFS
5995 GREP="$ac_cv_path_GREP"
5996 if test -z "$GREP"; then
5997 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5998 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5999 { (exit 1); exit 1; }; }
6002 else
6003 ac_cv_path_GREP=$GREP
6008 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6009 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6010 GREP="$ac_cv_path_GREP"
6013 { echo "$as_me:$LINENO: checking for egrep" >&5
6014 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6015 if test "${ac_cv_path_EGREP+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 else
6018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6019 then ac_cv_path_EGREP="$GREP -E"
6020 else
6021 # Extract the first word of "egrep" to use in msg output
6022 if test -z "$EGREP"; then
6023 set dummy egrep; ac_prog_name=$2
6024 if test "${ac_cv_path_EGREP+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 else
6027 ac_path_EGREP_found=false
6028 # Loop through the user's path and test for each of PROGNAME-LIST
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_prog in egrep; do
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6037 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6038 # Check for GNU ac_path_EGREP and select it if it is found.
6039 # Check for GNU $ac_path_EGREP
6040 case `"$ac_path_EGREP" --version 2>&1` in
6041 *GNU*)
6042 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6044 ac_count=0
6045 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6046 while :
6048 cat "conftest.in" "conftest.in" >"conftest.tmp"
6049 mv "conftest.tmp" "conftest.in"
6050 cp "conftest.in" "conftest.nl"
6051 echo 'EGREP' >> "conftest.nl"
6052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6053 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6054 ac_count=`expr $ac_count + 1`
6055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6056 # Best one so far, save it but keep looking for a better one
6057 ac_cv_path_EGREP="$ac_path_EGREP"
6058 ac_path_EGREP_max=$ac_count
6060 # 10*(2^10) chars as input seems more than enough
6061 test $ac_count -gt 10 && break
6062 done
6063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6064 esac
6067 $ac_path_EGREP_found && break 3
6068 done
6069 done
6071 done
6072 IFS=$as_save_IFS
6077 EGREP="$ac_cv_path_EGREP"
6078 if test -z "$EGREP"; then
6079 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6080 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6081 { (exit 1); exit 1; }; }
6084 else
6085 ac_cv_path_EGREP=$EGREP
6091 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6092 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6093 EGREP="$ac_cv_path_EGREP"
6096 # Extract the first word of "ldconfig", so it can be a program name with args.
6097 set dummy ldconfig; ac_word=$2
6098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6100 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 else
6103 case $LDCONFIG in
6104 [\\/]* | ?:[\\/]*)
6105 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in /sbin /usr/sbin $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6123 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6125 esac
6127 LDCONFIG=$ac_cv_path_LDCONFIG
6128 if test -n "$LDCONFIG"; then
6129 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6130 echo "${ECHO_T}$LDCONFIG" >&6; }
6131 else
6132 { echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6; }
6137 # Find a good install program. We prefer a C program (faster),
6138 # so one script is as good as another. But avoid the broken or
6139 # incompatible versions:
6140 # SysV /etc/install, /usr/sbin/install
6141 # SunOS /usr/etc/install
6142 # IRIX /sbin/install
6143 # AIX /bin/install
6144 # AmigaOS /C/install, which installs bootblocks on floppy discs
6145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6148 # OS/2's system install, which has a completely different semantic
6149 # ./install, which can be erroneously created by make from ./install.sh.
6150 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6152 if test -z "$INSTALL"; then
6153 if test "${ac_cv_path_install+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 else
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6159 IFS=$as_save_IFS
6160 test -z "$as_dir" && as_dir=.
6161 # Account for people who put trailing slashes in PATH elements.
6162 case $as_dir/ in
6163 ./ | .// | /cC/* | \
6164 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6165 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6166 /usr/ucb/* ) ;;
6168 # OSF1 and SCO ODT 3.0 have their own names for install.
6169 # Don't use installbsd from OSF since it installs stuff as root
6170 # by default.
6171 for ac_prog in ginstall scoinst install; do
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6174 if test $ac_prog = install &&
6175 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6176 # AIX install. It has an incompatible calling convention.
6178 elif test $ac_prog = install &&
6179 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6180 # program-specific install script used by HP pwplus--don't use.
6182 else
6183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6184 break 3
6187 done
6188 done
6190 esac
6191 done
6192 IFS=$as_save_IFS
6196 if test "${ac_cv_path_install+set}" = set; then
6197 INSTALL=$ac_cv_path_install
6198 else
6199 # As a last resort, use the slow shell script. Don't cache a
6200 # value for INSTALL within a source directory, because that will
6201 # break other packages using the cache if that directory is
6202 # removed, or if the value is a relative name.
6203 INSTALL=$ac_install_sh
6206 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6207 echo "${ECHO_T}$INSTALL" >&6; }
6209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6210 # It thinks the first close brace ends the variable substitution.
6211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6217 case "$INSTALL" in
6218 [\\/$]* | ?:[\\/]* ) ;;
6219 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6220 esac
6222 for ac_prog in lclint lint
6224 # Extract the first word of "$ac_prog", so it can be a program name with args.
6225 set dummy $ac_prog; ac_word=$2
6226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6228 if test "${ac_cv_prog_LINT+set}" = set; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 else
6231 if test -n "$LINT"; then
6232 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6233 else
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 for as_dir in $PATH
6237 IFS=$as_save_IFS
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_LINT="$ac_prog"
6242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6243 break 2
6245 done
6246 done
6247 IFS=$as_save_IFS
6251 LINT=$ac_cv_prog_LINT
6252 if test -n "$LINT"; then
6253 { echo "$as_me:$LINENO: result: $LINT" >&5
6254 echo "${ECHO_T}$LINT" >&6; }
6255 else
6256 { echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6; }
6261 test -n "$LINT" && break
6262 done
6264 if test "$LINT" = "lint"
6265 then
6266 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6271 for ac_prog in fontforge
6273 # Extract the first word of "$ac_prog", so it can be a program name with args.
6274 set dummy $ac_prog; ac_word=$2
6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6277 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 else
6280 if test -n "$FONTFORGE"; then
6281 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_FONTFORGE="$ac_prog"
6291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6294 done
6295 done
6296 IFS=$as_save_IFS
6300 FONTFORGE=$ac_cv_prog_FONTFORGE
6301 if test -n "$FONTFORGE"; then
6302 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6303 echo "${ECHO_T}$FONTFORGE" >&6; }
6304 else
6305 { echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6; }
6310 test -n "$FONTFORGE" && break
6311 done
6312 test -n "$FONTFORGE" || FONTFORGE="false"
6314 for ac_prog in pkg-config
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy $ac_prog; ac_word=$2
6318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6320 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 else
6323 if test -n "$PKG_CONFIG"; then
6324 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6325 else
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_PKG_CONFIG="$ac_prog"
6334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 break 2
6337 done
6338 done
6339 IFS=$as_save_IFS
6343 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6344 if test -n "$PKG_CONFIG"; then
6345 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6346 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6347 else
6348 { echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6; }
6353 test -n "$PKG_CONFIG" && break
6354 done
6355 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6357 for ac_prog in rsvg
6359 # Extract the first word of "$ac_prog", so it can be a program name with args.
6360 set dummy $ac_prog; ac_word=$2
6361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6363 if test "${ac_cv_prog_RSVG+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6365 else
6366 if test -n "$RSVG"; then
6367 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6368 else
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 for as_dir in $PATH
6372 IFS=$as_save_IFS
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_RSVG="$ac_prog"
6377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 break 2
6380 done
6381 done
6382 IFS=$as_save_IFS
6386 RSVG=$ac_cv_prog_RSVG
6387 if test -n "$RSVG"; then
6388 { echo "$as_me:$LINENO: result: $RSVG" >&5
6389 echo "${ECHO_T}$RSVG" >&6; }
6390 else
6391 { echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6; }
6396 test -n "$RSVG" && break
6397 done
6398 test -n "$RSVG" || RSVG="false"
6400 for ac_prog in icotool
6402 # Extract the first word of "$ac_prog", so it can be a program name with args.
6403 set dummy $ac_prog; ac_word=$2
6404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6406 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6408 else
6409 if test -n "$ICOTOOL"; then
6410 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6411 else
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 for as_dir in $PATH
6415 IFS=$as_save_IFS
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_ICOTOOL="$ac_prog"
6420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6421 break 2
6423 done
6424 done
6425 IFS=$as_save_IFS
6429 ICOTOOL=$ac_cv_prog_ICOTOOL
6430 if test -n "$ICOTOOL"; then
6431 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6432 echo "${ECHO_T}$ICOTOOL" >&6; }
6433 else
6434 { echo "$as_me:$LINENO: result: no" >&5
6435 echo "${ECHO_T}no" >&6; }
6439 test -n "$ICOTOOL" && break
6440 done
6441 test -n "$ICOTOOL" || ICOTOOL="false"
6444 if test "${enable_maintainer_mode+set}" = set
6445 then
6446 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6447 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6448 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6451 case $host_cpu in
6452 *i[3456789]86*)
6453 # Extract the first word of "prelink", so it can be a program name with args.
6454 set dummy prelink; ac_word=$2
6455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6457 if test "${ac_cv_path_PRELINK+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 else
6460 case $PRELINK in
6461 [\\/]* | ?:[\\/]*)
6462 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in /sbin /usr/sbin $PATH
6468 IFS=$as_save_IFS
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 break 2
6476 done
6477 done
6478 IFS=$as_save_IFS
6480 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6482 esac
6484 PRELINK=$ac_cv_path_PRELINK
6485 if test -n "$PRELINK"; then
6486 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6487 echo "${ECHO_T}$PRELINK" >&6; }
6488 else
6489 { echo "$as_me:$LINENO: result: no" >&5
6490 echo "${ECHO_T}no" >&6; }
6495 esac
6499 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6500 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6501 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6503 else
6504 ac_check_lib_save_LIBS=$LIBS
6505 LIBS="-li386 $LIBS"
6506 cat >conftest.$ac_ext <<_ACEOF
6507 /* confdefs.h. */
6508 _ACEOF
6509 cat confdefs.h >>conftest.$ac_ext
6510 cat >>conftest.$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6513 /* Override any GCC internal prototype to avoid an error.
6514 Use char because int might match the return type of a GCC
6515 builtin and then its argument prototype would still apply. */
6516 #ifdef __cplusplus
6517 extern "C"
6518 #endif
6519 char i386_set_ldt ();
6521 main ()
6523 return i386_set_ldt ();
6525 return 0;
6527 _ACEOF
6528 rm -f conftest.$ac_objext conftest$ac_exeext
6529 if { (ac_try="$ac_link"
6530 case "(($ac_try" in
6531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6532 *) ac_try_echo=$ac_try;;
6533 esac
6534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6535 (eval "$ac_link") 2>conftest.er1
6536 ac_status=$?
6537 grep -v '^ *+' conftest.er1 >conftest.err
6538 rm -f conftest.er1
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } && {
6542 test -z "$ac_c_werror_flag" ||
6543 test ! -s conftest.err
6544 } && test -s conftest$ac_exeext &&
6545 $as_test_x conftest$ac_exeext; then
6546 ac_cv_lib_i386_i386_set_ldt=yes
6547 else
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6551 ac_cv_lib_i386_i386_set_ldt=no
6554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6555 conftest$ac_exeext conftest.$ac_ext
6556 LIBS=$ac_check_lib_save_LIBS
6558 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6559 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6560 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6561 cat >>confdefs.h <<_ACEOF
6562 #define HAVE_LIBI386 1
6563 _ACEOF
6565 LIBS="-li386 $LIBS"
6570 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6571 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6572 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 else
6575 ac_check_lib_save_LIBS=$LIBS
6576 LIBS="-lossaudio $LIBS"
6577 cat >conftest.$ac_ext <<_ACEOF
6578 /* confdefs.h. */
6579 _ACEOF
6580 cat confdefs.h >>conftest.$ac_ext
6581 cat >>conftest.$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6584 /* Override any GCC internal prototype to avoid an error.
6585 Use char because int might match the return type of a GCC
6586 builtin and then its argument prototype would still apply. */
6587 #ifdef __cplusplus
6588 extern "C"
6589 #endif
6590 char _oss_ioctl ();
6592 main ()
6594 return _oss_ioctl ();
6596 return 0;
6598 _ACEOF
6599 rm -f conftest.$ac_objext conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6601 case "(($ac_try" in
6602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6604 esac
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>conftest.er1
6607 ac_status=$?
6608 grep -v '^ *+' conftest.er1 >conftest.err
6609 rm -f conftest.er1
6610 cat conftest.err >&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && {
6613 test -z "$ac_c_werror_flag" ||
6614 test ! -s conftest.err
6615 } && test -s conftest$ac_exeext &&
6616 $as_test_x conftest$ac_exeext; then
6617 ac_cv_lib_ossaudio__oss_ioctl=yes
6618 else
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.$ac_ext >&5
6622 ac_cv_lib_ossaudio__oss_ioctl=no
6625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6626 conftest$ac_exeext conftest.$ac_ext
6627 LIBS=$ac_check_lib_save_LIBS
6629 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6630 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6631 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6632 cat >>confdefs.h <<_ACEOF
6633 #define HAVE_LIBOSSAUDIO 1
6634 _ACEOF
6636 LIBS="-lossaudio $LIBS"
6640 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6641 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6642 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 else
6645 ac_check_lib_save_LIBS=$LIBS
6646 LIBS="-lpthread $LIBS"
6647 cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h. */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6654 /* Override any GCC internal prototype to avoid an error.
6655 Use char because int might match the return type of a GCC
6656 builtin and then its argument prototype would still apply. */
6657 #ifdef __cplusplus
6658 extern "C"
6659 #endif
6660 char pthread_create ();
6662 main ()
6664 return pthread_create ();
6666 return 0;
6668 _ACEOF
6669 rm -f conftest.$ac_objext conftest$ac_exeext
6670 if { (ac_try="$ac_link"
6671 case "(($ac_try" in
6672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6673 *) ac_try_echo=$ac_try;;
6674 esac
6675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6676 (eval "$ac_link") 2>conftest.er1
6677 ac_status=$?
6678 grep -v '^ *+' conftest.er1 >conftest.err
6679 rm -f conftest.er1
6680 cat conftest.err >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); } && {
6683 test -z "$ac_c_werror_flag" ||
6684 test ! -s conftest.err
6685 } && test -s conftest$ac_exeext &&
6686 $as_test_x conftest$ac_exeext; then
6687 ac_cv_lib_pthread_pthread_create=yes
6688 else
6689 echo "$as_me: failed program was:" >&5
6690 sed 's/^/| /' conftest.$ac_ext >&5
6692 ac_cv_lib_pthread_pthread_create=no
6695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6696 conftest$ac_exeext conftest.$ac_ext
6697 LIBS=$ac_check_lib_save_LIBS
6699 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6700 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6701 if test $ac_cv_lib_pthread_pthread_create = yes; then
6702 LIBPTHREAD="-lpthread"
6707 XLIB=""
6709 XFILES=""
6711 OPENGLFILES=""
6713 GLU32FILES=""
6715 OPENGL_LIBS=""
6717 QUARTZFILES=""
6721 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6722 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6723 if test "${ac_cv_header_stdc+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 else
6726 cat >conftest.$ac_ext <<_ACEOF
6727 /* confdefs.h. */
6728 _ACEOF
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6732 #include <stdlib.h>
6733 #include <stdarg.h>
6734 #include <string.h>
6735 #include <float.h>
6738 main ()
6742 return 0;
6744 _ACEOF
6745 rm -f conftest.$ac_objext
6746 if { (ac_try="$ac_compile"
6747 case "(($ac_try" in
6748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6749 *) ac_try_echo=$ac_try;;
6750 esac
6751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6752 (eval "$ac_compile") 2>conftest.er1
6753 ac_status=$?
6754 grep -v '^ *+' conftest.er1 >conftest.err
6755 rm -f conftest.er1
6756 cat conftest.err >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } && {
6759 test -z "$ac_c_werror_flag" ||
6760 test ! -s conftest.err
6761 } && test -s conftest.$ac_objext; then
6762 ac_cv_header_stdc=yes
6763 else
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.$ac_ext >&5
6767 ac_cv_header_stdc=no
6770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6772 if test $ac_cv_header_stdc = yes; then
6773 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6774 cat >conftest.$ac_ext <<_ACEOF
6775 /* confdefs.h. */
6776 _ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6780 #include <string.h>
6782 _ACEOF
6783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6784 $EGREP "memchr" >/dev/null 2>&1; then
6786 else
6787 ac_cv_header_stdc=no
6789 rm -f conftest*
6793 if test $ac_cv_header_stdc = yes; then
6794 # ISC 2.0.2 stdlib.h does not declare free, 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 <stdlib.h>
6803 _ACEOF
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6816 if test "$cross_compiling" = yes; then
6818 else
6819 cat >conftest.$ac_ext <<_ACEOF
6820 /* confdefs.h. */
6821 _ACEOF
6822 cat confdefs.h >>conftest.$ac_ext
6823 cat >>conftest.$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6825 #include <ctype.h>
6826 #include <stdlib.h>
6827 #if ((' ' & 0x0FF) == 0x020)
6828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6830 #else
6831 # define ISLOWER(c) \
6832 (('a' <= (c) && (c) <= 'i') \
6833 || ('j' <= (c) && (c) <= 'r') \
6834 || ('s' <= (c) && (c) <= 'z'))
6835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6836 #endif
6838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6840 main ()
6842 int i;
6843 for (i = 0; i < 256; i++)
6844 if (XOR (islower (i), ISLOWER (i))
6845 || toupper (i) != TOUPPER (i))
6846 return 2;
6847 return 0;
6849 _ACEOF
6850 rm -f conftest$ac_exeext
6851 if { (ac_try="$ac_link"
6852 case "(($ac_try" in
6853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854 *) ac_try_echo=$ac_try;;
6855 esac
6856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6857 (eval "$ac_link") 2>&5
6858 ac_status=$?
6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6861 { (case "(($ac_try" in
6862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863 *) ac_try_echo=$ac_try;;
6864 esac
6865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6866 (eval "$ac_try") 2>&5
6867 ac_status=$?
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); }; }; then
6871 else
6872 echo "$as_me: program exited with status $ac_status" >&5
6873 echo "$as_me: failed program was:" >&5
6874 sed 's/^/| /' conftest.$ac_ext >&5
6876 ( exit $ac_status )
6877 ac_cv_header_stdc=no
6879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6885 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6886 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6887 if test $ac_cv_header_stdc = yes; then
6889 cat >>confdefs.h <<\_ACEOF
6890 #define STDC_HEADERS 1
6891 _ACEOF
6895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6906 inttypes.h stdint.h unistd.h
6908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
6913 else
6914 cat >conftest.$ac_ext <<_ACEOF
6915 /* confdefs.h. */
6916 _ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6920 $ac_includes_default
6922 #include <$ac_header>
6923 _ACEOF
6924 rm -f conftest.$ac_objext
6925 if { (ac_try="$ac_compile"
6926 case "(($ac_try" in
6927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928 *) ac_try_echo=$ac_try;;
6929 esac
6930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6931 (eval "$ac_compile") 2>conftest.er1
6932 ac_status=$?
6933 grep -v '^ *+' conftest.er1 >conftest.err
6934 rm -f conftest.er1
6935 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } && {
6938 test -z "$ac_c_werror_flag" ||
6939 test ! -s conftest.err
6940 } && test -s conftest.$ac_objext; then
6941 eval "$as_ac_Header=yes"
6942 else
6943 echo "$as_me: failed program was:" >&5
6944 sed 's/^/| /' conftest.$ac_ext >&5
6946 eval "$as_ac_Header=no"
6949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6951 ac_res=`eval echo '${'$as_ac_Header'}'`
6952 { echo "$as_me:$LINENO: result: $ac_res" >&5
6953 echo "${ECHO_T}$ac_res" >&6; }
6954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6955 cat >>confdefs.h <<_ACEOF
6956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6957 _ACEOF
6961 done
7074 for ac_header in \
7075 AudioUnit/AudioUnit.h \
7076 Carbon/Carbon.h \
7077 CoreAudio/CoreAudio.h \
7078 DiskArbitration/DiskArbitration.h \
7079 IOKit/IOKitLib.h \
7080 alsa/asoundlib.h \
7081 arpa/inet.h \
7082 arpa/nameser.h \
7083 asm/types.h \
7084 capi20.h \
7085 cups/cups.h \
7086 curses.h \
7087 direct.h \
7088 dlfcn.h \
7089 elf.h \
7090 float.h \
7091 fontconfig/fontconfig.h \
7092 getopt.h \
7093 ieeefp.h \
7094 io.h \
7095 jack/jack.h \
7096 jpeglib.h \
7097 lber.h \
7098 lcms.h \
7099 lcms/lcms.h \
7100 ldap.h \
7101 libaudioio.h \
7102 link.h \
7103 linux/cdrom.h \
7104 linux/compiler.h \
7105 linux/hdreg.h \
7106 linux/input.h \
7107 linux/ioctl.h \
7108 linux/joystick.h \
7109 linux/major.h \
7110 linux/param.h \
7111 linux/serial.h \
7112 linux/ucdrom.h \
7113 mach/mach.h \
7114 mach/machine.h \
7115 machine/cpu.h \
7116 machine/limits.h \
7117 machine/soundcard.h \
7118 mntent.h \
7119 ncurses.h \
7120 netdb.h \
7121 netinet/in.h \
7122 netinet/in_systm.h \
7123 netinet/tcp.h \
7124 netinet/tcp_fsm.h \
7125 openssl/err.h \
7126 openssl/ssl.h \
7127 png.h \
7128 poll.h \
7129 process.h \
7130 pthread.h \
7131 pwd.h \
7132 regex.h \
7133 sched.h \
7134 scsi/scsi.h \
7135 scsi/scsi_ioctl.h \
7136 scsi/sg.h \
7137 soundcard.h \
7138 stdint.h \
7139 strings.h \
7140 sys/asoundlib.h \
7141 sys/cdio.h \
7142 sys/elf32.h \
7143 sys/epoll.h \
7144 sys/errno.h \
7145 sys/event.h \
7146 sys/exec_elf.h \
7147 sys/filio.h \
7148 sys/ioctl.h \
7149 sys/ipc.h \
7150 sys/limits.h \
7151 sys/link.h \
7152 sys/lwp.h \
7153 sys/mman.h \
7154 sys/modem.h \
7155 sys/msg.h \
7156 sys/mtio.h \
7157 sys/param.h \
7158 sys/poll.h \
7159 sys/prctl.h \
7160 sys/ptrace.h \
7161 sys/reg.h \
7162 sys/resource.h \
7163 sys/scsiio.h \
7164 sys/shm.h \
7165 sys/signal.h \
7166 sys/socket.h \
7167 sys/socketvar.h \
7168 sys/sockio.h \
7169 sys/soundcard.h \
7170 sys/statvfs.h \
7171 sys/strtio.h \
7172 sys/syscall.h \
7173 sys/sysctl.h \
7174 sys/time.h \
7175 sys/times.h \
7176 sys/uio.h \
7177 sys/un.h \
7178 sys/vm86.h \
7179 sys/wait.h \
7180 syscall.h \
7181 termios.h \
7182 unistd.h \
7183 utime.h \
7184 valgrind/memcheck.h
7187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7189 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 ac_res=`eval echo '${'$as_ac_Header'}'`
7195 { echo "$as_me:$LINENO: result: $ac_res" >&5
7196 echo "${ECHO_T}$ac_res" >&6; }
7197 else
7198 # Is the header compilable?
7199 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7201 cat >conftest.$ac_ext <<_ACEOF
7202 /* confdefs.h. */
7203 _ACEOF
7204 cat confdefs.h >>conftest.$ac_ext
7205 cat >>conftest.$ac_ext <<_ACEOF
7206 /* end confdefs.h. */
7207 $ac_includes_default
7208 #include <$ac_header>
7209 _ACEOF
7210 rm -f conftest.$ac_objext
7211 if { (ac_try="$ac_compile"
7212 case "(($ac_try" in
7213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7214 *) ac_try_echo=$ac_try;;
7215 esac
7216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7217 (eval "$ac_compile") 2>conftest.er1
7218 ac_status=$?
7219 grep -v '^ *+' conftest.er1 >conftest.err
7220 rm -f conftest.er1
7221 cat conftest.err >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); } && {
7224 test -z "$ac_c_werror_flag" ||
7225 test ! -s conftest.err
7226 } && test -s conftest.$ac_objext; then
7227 ac_header_compiler=yes
7228 else
7229 echo "$as_me: failed program was:" >&5
7230 sed 's/^/| /' conftest.$ac_ext >&5
7232 ac_header_compiler=no
7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7237 echo "${ECHO_T}$ac_header_compiler" >&6; }
7239 # Is the header present?
7240 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7242 cat >conftest.$ac_ext <<_ACEOF
7243 /* confdefs.h. */
7244 _ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 #include <$ac_header>
7249 _ACEOF
7250 if { (ac_try="$ac_cpp conftest.$ac_ext"
7251 case "(($ac_try" in
7252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7253 *) ac_try_echo=$ac_try;;
7254 esac
7255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7257 ac_status=$?
7258 grep -v '^ *+' conftest.er1 >conftest.err
7259 rm -f conftest.er1
7260 cat conftest.err >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); } >/dev/null && {
7263 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7264 test ! -s conftest.err
7265 }; then
7266 ac_header_preproc=yes
7267 else
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.$ac_ext >&5
7271 ac_header_preproc=no
7274 rm -f conftest.err conftest.$ac_ext
7275 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7276 echo "${ECHO_T}$ac_header_preproc" >&6; }
7278 # So? What about this header?
7279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7280 yes:no: )
7281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7285 ac_header_preproc=yes
7287 no:yes:* )
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7300 ( cat <<\_ASBOX
7301 ## ------------------------------------ ##
7302 ## Report this to wine-devel@winehq.org ##
7303 ## ------------------------------------ ##
7304 _ASBOX
7305 ) | sed "s/^/$as_me: WARNING: /" >&2
7307 esac
7308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7312 else
7313 eval "$as_ac_Header=\$ac_header_preproc"
7315 ac_res=`eval echo '${'$as_ac_Header'}'`
7316 { echo "$as_me:$LINENO: result: $ac_res" >&5
7317 echo "${ECHO_T}$ac_res" >&6; }
7320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7321 cat >>confdefs.h <<_ACEOF
7322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7323 _ACEOF
7327 done
7329 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7330 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7331 if test "${ac_cv_header_stat_broken+set}" = set; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 else
7334 cat >conftest.$ac_ext <<_ACEOF
7335 /* confdefs.h. */
7336 _ACEOF
7337 cat confdefs.h >>conftest.$ac_ext
7338 cat >>conftest.$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7340 #include <sys/types.h>
7341 #include <sys/stat.h>
7343 #if defined S_ISBLK && defined S_IFDIR
7344 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7345 #endif
7347 #if defined S_ISBLK && defined S_IFCHR
7348 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7349 #endif
7351 #if defined S_ISLNK && defined S_IFREG
7352 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7353 #endif
7355 #if defined S_ISSOCK && defined S_IFREG
7356 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7357 #endif
7359 _ACEOF
7360 rm -f conftest.$ac_objext
7361 if { (ac_try="$ac_compile"
7362 case "(($ac_try" in
7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364 *) ac_try_echo=$ac_try;;
7365 esac
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 (eval "$ac_compile") 2>conftest.er1
7368 ac_status=$?
7369 grep -v '^ *+' conftest.er1 >conftest.err
7370 rm -f conftest.er1
7371 cat conftest.err >&5
7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373 (exit $ac_status); } && {
7374 test -z "$ac_c_werror_flag" ||
7375 test ! -s conftest.err
7376 } && test -s conftest.$ac_objext; then
7377 ac_cv_header_stat_broken=no
7378 else
7379 echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.$ac_ext >&5
7382 ac_cv_header_stat_broken=yes
7385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7387 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7388 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7389 if test $ac_cv_header_stat_broken = yes; then
7391 cat >>confdefs.h <<\_ACEOF
7392 #define STAT_MACROS_BROKEN 1
7393 _ACEOF
7403 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 else
7411 cat >conftest.$ac_ext <<_ACEOF
7412 /* confdefs.h. */
7413 _ACEOF
7414 cat confdefs.h >>conftest.$ac_ext
7415 cat >>conftest.$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 #include <sys/types.h>
7418 #ifdef HAVE_SYS_PARAM_H
7419 # include <sys/param.h>
7420 #endif
7422 #include <$ac_header>
7423 _ACEOF
7424 rm -f conftest.$ac_objext
7425 if { (ac_try="$ac_compile"
7426 case "(($ac_try" in
7427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7428 *) ac_try_echo=$ac_try;;
7429 esac
7430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7431 (eval "$ac_compile") 2>conftest.er1
7432 ac_status=$?
7433 grep -v '^ *+' conftest.er1 >conftest.err
7434 rm -f conftest.er1
7435 cat conftest.err >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } && {
7438 test -z "$ac_c_werror_flag" ||
7439 test ! -s conftest.err
7440 } && test -s conftest.$ac_objext; then
7441 eval "$as_ac_Header=yes"
7442 else
7443 echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.$ac_ext >&5
7446 eval "$as_ac_Header=no"
7449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7451 ac_res=`eval echo '${'$as_ac_Header'}'`
7452 { echo "$as_me:$LINENO: result: $ac_res" >&5
7453 echo "${ECHO_T}$ac_res" >&6; }
7454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7455 cat >>confdefs.h <<_ACEOF
7456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7457 _ACEOF
7461 done
7472 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
7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 else
7480 cat >conftest.$ac_ext <<_ACEOF
7481 /* confdefs.h. */
7482 _ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #include <sys/types.h>
7487 #ifdef HAVE_SYS_SOCKET_H
7488 # include <sys/socket.h>
7489 #endif
7490 #ifdef HAVE_SYS_SOCKETVAR_H
7491 # include <sys/socketvar.h>
7492 #endif
7493 #ifdef HAVE_NETINET_IN_H
7494 # include <netinet/in.h>
7495 #endif
7497 #include <$ac_header>
7498 _ACEOF
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7501 case "(($ac_try" in
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7504 esac
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7507 ac_status=$?
7508 grep -v '^ *+' conftest.er1 >conftest.err
7509 rm -f conftest.er1
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.$ac_objext; then
7516 eval "$as_ac_Header=yes"
7517 else
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7521 eval "$as_ac_Header=no"
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 ac_res=`eval echo '${'$as_ac_Header'}'`
7527 { echo "$as_me:$LINENO: result: $ac_res" >&5
7528 echo "${ECHO_T}$ac_res" >&6; }
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h <<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7532 _ACEOF
7536 done
7540 for ac_header in netinet/tcp_var.h
7542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 else
7548 cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <sys/types.h>
7555 #ifdef HAVE_SYS_SOCKET_H
7556 # include <sys/socket.h>
7557 #endif
7558 #ifdef HAVE_SYS_SOCKETVAR_H
7559 # include <sys/socketvar.h>
7560 #endif
7561 #ifdef HAVE_NETINET_IN_H
7562 # include <netinet/in.h>
7563 #endif
7564 #ifdef HAVE_NETINET_TCP_H
7565 # include <netinet/tcp.h>
7566 #endif
7568 #include <$ac_header>
7569 _ACEOF
7570 rm -f conftest.$ac_objext
7571 if { (ac_try="$ac_compile"
7572 case "(($ac_try" in
7573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7574 *) ac_try_echo=$ac_try;;
7575 esac
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577 (eval "$ac_compile") 2>conftest.er1
7578 ac_status=$?
7579 grep -v '^ *+' conftest.er1 >conftest.err
7580 rm -f conftest.er1
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } && {
7584 test -z "$ac_c_werror_flag" ||
7585 test ! -s conftest.err
7586 } && test -s conftest.$ac_objext; then
7587 eval "$as_ac_Header=yes"
7588 else
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 eval "$as_ac_Header=no"
7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7597 ac_res=`eval echo '${'$as_ac_Header'}'`
7598 { echo "$as_me:$LINENO: result: $ac_res" >&5
7599 echo "${ECHO_T}$ac_res" >&6; }
7600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7601 cat >>confdefs.h <<_ACEOF
7602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7611 for ac_header in linux/ipx.h
7613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 else
7619 cat >conftest.$ac_ext <<_ACEOF
7620 /* confdefs.h. */
7621 _ACEOF
7622 cat confdefs.h >>conftest.$ac_ext
7623 cat >>conftest.$ac_ext <<_ACEOF
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7626 #ifdef HAVE_ASM_TYPES_H
7627 # include <asm/types.h>
7628 #endif
7629 #ifdef HAVE_SYS_SOCKET_H
7630 # include <sys/socket.h>
7631 #endif
7633 #include <$ac_header>
7634 _ACEOF
7635 rm -f conftest.$ac_objext
7636 if { (ac_try="$ac_compile"
7637 case "(($ac_try" in
7638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7639 *) ac_try_echo=$ac_try;;
7640 esac
7641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7642 (eval "$ac_compile") 2>conftest.er1
7643 ac_status=$?
7644 grep -v '^ *+' conftest.er1 >conftest.err
7645 rm -f conftest.er1
7646 cat conftest.err >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); } && {
7649 test -z "$ac_c_werror_flag" ||
7650 test ! -s conftest.err
7651 } && test -s conftest.$ac_objext; then
7652 eval "$as_ac_Header=yes"
7653 else
7654 echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7657 eval "$as_ac_Header=no"
7660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7662 ac_res=`eval echo '${'$as_ac_Header'}'`
7663 { echo "$as_me:$LINENO: result: $ac_res" >&5
7664 echo "${ECHO_T}$ac_res" >&6; }
7665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7666 cat >>confdefs.h <<_ACEOF
7667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7668 _ACEOF
7672 done
7676 for ac_header in resolv.h
7678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7682 echo $ECHO_N "(cached) $ECHO_C" >&6
7683 else
7684 cat >conftest.$ac_ext <<_ACEOF
7685 /* confdefs.h. */
7686 _ACEOF
7687 cat confdefs.h >>conftest.$ac_ext
7688 cat >>conftest.$ac_ext <<_ACEOF
7689 /* end confdefs.h. */
7690 #include <sys/types.h>
7691 #ifdef HAVE_SYS_SOCKET_H
7692 # include <sys/socket.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IN_H
7695 # include <netinet/in.h>
7696 #endif
7697 #ifdef HAVE_ARPA_NAMESER_H
7698 # include <arpa/nameser.h>
7699 #endif
7701 #include <$ac_header>
7702 _ACEOF
7703 rm -f conftest.$ac_objext
7704 if { (ac_try="$ac_compile"
7705 case "(($ac_try" in
7706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7707 *) ac_try_echo=$ac_try;;
7708 esac
7709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7710 (eval "$ac_compile") 2>conftest.er1
7711 ac_status=$?
7712 grep -v '^ *+' conftest.er1 >conftest.err
7713 rm -f conftest.er1
7714 cat conftest.err >&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } && {
7717 test -z "$ac_c_werror_flag" ||
7718 test ! -s conftest.err
7719 } && test -s conftest.$ac_objext; then
7720 eval "$as_ac_Header=yes"
7721 else
7722 echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.$ac_ext >&5
7725 eval "$as_ac_Header=no"
7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7730 ac_res=`eval echo '${'$as_ac_Header'}'`
7731 { echo "$as_me:$LINENO: result: $ac_res" >&5
7732 echo "${ECHO_T}$ac_res" >&6; }
7733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7734 cat >>confdefs.h <<_ACEOF
7735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7736 _ACEOF
7740 done
7744 for ac_header in ucontext.h
7746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7747 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7751 else
7752 cat >conftest.$ac_ext <<_ACEOF
7753 /* confdefs.h. */
7754 _ACEOF
7755 cat confdefs.h >>conftest.$ac_ext
7756 cat >>conftest.$ac_ext <<_ACEOF
7757 /* end confdefs.h. */
7758 #include <signal.h>
7760 #include <$ac_header>
7761 _ACEOF
7762 rm -f conftest.$ac_objext
7763 if { (ac_try="$ac_compile"
7764 case "(($ac_try" in
7765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7766 *) ac_try_echo=$ac_try;;
7767 esac
7768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7769 (eval "$ac_compile") 2>conftest.er1
7770 ac_status=$?
7771 grep -v '^ *+' conftest.er1 >conftest.err
7772 rm -f conftest.er1
7773 cat conftest.err >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); } && {
7776 test -z "$ac_c_werror_flag" ||
7777 test ! -s conftest.err
7778 } && test -s conftest.$ac_objext; then
7779 eval "$as_ac_Header=yes"
7780 else
7781 echo "$as_me: failed program was:" >&5
7782 sed 's/^/| /' conftest.$ac_ext >&5
7784 eval "$as_ac_Header=no"
7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7789 ac_res=`eval echo '${'$as_ac_Header'}'`
7790 { echo "$as_me:$LINENO: result: $ac_res" >&5
7791 echo "${ECHO_T}$ac_res" >&6; }
7792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7793 cat >>confdefs.h <<_ACEOF
7794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7795 _ACEOF
7799 done
7803 for ac_header in sys/thr.h
7805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7809 echo $ECHO_N "(cached) $ECHO_C" >&6
7810 else
7811 cat >conftest.$ac_ext <<_ACEOF
7812 /* confdefs.h. */
7813 _ACEOF
7814 cat confdefs.h >>conftest.$ac_ext
7815 cat >>conftest.$ac_ext <<_ACEOF
7816 /* end confdefs.h. */
7817 #include <sys/types.h>
7818 #ifdef HAVE_UCONTEXT_H
7819 #include <ucontext.h>
7820 #endif
7822 #include <$ac_header>
7823 _ACEOF
7824 rm -f conftest.$ac_objext
7825 if { (ac_try="$ac_compile"
7826 case "(($ac_try" in
7827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7828 *) ac_try_echo=$ac_try;;
7829 esac
7830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7831 (eval "$ac_compile") 2>conftest.er1
7832 ac_status=$?
7833 grep -v '^ *+' conftest.er1 >conftest.err
7834 rm -f conftest.er1
7835 cat conftest.err >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); } && {
7838 test -z "$ac_c_werror_flag" ||
7839 test ! -s conftest.err
7840 } && test -s conftest.$ac_objext; then
7841 eval "$as_ac_Header=yes"
7842 else
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.$ac_ext >&5
7846 eval "$as_ac_Header=no"
7849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7851 ac_res=`eval echo '${'$as_ac_Header'}'`
7852 { echo "$as_me:$LINENO: result: $ac_res" >&5
7853 echo "${ECHO_T}$ac_res" >&6; }
7854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7855 cat >>confdefs.h <<_ACEOF
7856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7857 _ACEOF
7861 done
7865 for ac_header in pthread_np.h
7867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 else
7873 cat >conftest.$ac_ext <<_ACEOF
7874 /* confdefs.h. */
7875 _ACEOF
7876 cat confdefs.h >>conftest.$ac_ext
7877 cat >>conftest.$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7879 #ifdef HAVE_PTHREAD_H
7880 #include <pthread.h>
7881 #endif
7883 #include <$ac_header>
7884 _ACEOF
7885 rm -f conftest.$ac_objext
7886 if { (ac_try="$ac_compile"
7887 case "(($ac_try" in
7888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7889 *) ac_try_echo=$ac_try;;
7890 esac
7891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7892 (eval "$ac_compile") 2>conftest.er1
7893 ac_status=$?
7894 grep -v '^ *+' conftest.er1 >conftest.err
7895 rm -f conftest.er1
7896 cat conftest.err >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); } && {
7899 test -z "$ac_c_werror_flag" ||
7900 test ! -s conftest.err
7901 } && test -s conftest.$ac_objext; then
7902 eval "$as_ac_Header=yes"
7903 else
7904 echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.$ac_ext >&5
7907 eval "$as_ac_Header=no"
7910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7912 ac_res=`eval echo '${'$as_ac_Header'}'`
7913 { echo "$as_me:$LINENO: result: $ac_res" >&5
7914 echo "${ECHO_T}$ac_res" >&6; }
7915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7916 cat >>confdefs.h <<_ACEOF
7917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7918 _ACEOF
7922 done
7926 for ac_header in linux/videodev.h
7928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7932 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 else
7934 cat >conftest.$ac_ext <<_ACEOF
7935 /* confdefs.h. */
7936 _ACEOF
7937 cat confdefs.h >>conftest.$ac_ext
7938 cat >>conftest.$ac_ext <<_ACEOF
7939 /* end confdefs.h. */
7940 #ifdef HAVE_SYS_TIME_H
7941 #include <sys/time.h>
7942 #endif
7943 #include <sys/types.h>
7944 #ifdef HAVE_ASM_TYPES_H
7945 #include <asm/types.h>
7946 #endif
7948 #include <$ac_header>
7949 _ACEOF
7950 rm -f conftest.$ac_objext
7951 if { (ac_try="$ac_compile"
7952 case "(($ac_try" in
7953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7954 *) ac_try_echo=$ac_try;;
7955 esac
7956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7957 (eval "$ac_compile") 2>conftest.er1
7958 ac_status=$?
7959 grep -v '^ *+' conftest.er1 >conftest.err
7960 rm -f conftest.er1
7961 cat conftest.err >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); } && {
7964 test -z "$ac_c_werror_flag" ||
7965 test ! -s conftest.err
7966 } && test -s conftest.$ac_objext; then
7967 eval "$as_ac_Header=yes"
7968 else
7969 echo "$as_me: failed program was:" >&5
7970 sed 's/^/| /' conftest.$ac_ext >&5
7972 eval "$as_ac_Header=no"
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7977 ac_res=`eval echo '${'$as_ac_Header'}'`
7978 { echo "$as_me:$LINENO: result: $ac_res" >&5
7979 echo "${ECHO_T}$ac_res" >&6; }
7980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7981 cat >>confdefs.h <<_ACEOF
7982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7983 _ACEOF
7987 done
7991 for ac_header in linux/capi.h
7993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7997 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 else
7999 cat >conftest.$ac_ext <<_ACEOF
8000 /* confdefs.h. */
8001 _ACEOF
8002 cat confdefs.h >>conftest.$ac_ext
8003 cat >>conftest.$ac_ext <<_ACEOF
8004 /* end confdefs.h. */
8005 #define __user
8007 #include <$ac_header>
8008 _ACEOF
8009 rm -f conftest.$ac_objext
8010 if { (ac_try="$ac_compile"
8011 case "(($ac_try" in
8012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8013 *) ac_try_echo=$ac_try;;
8014 esac
8015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8016 (eval "$ac_compile") 2>conftest.er1
8017 ac_status=$?
8018 grep -v '^ *+' conftest.er1 >conftest.err
8019 rm -f conftest.er1
8020 cat conftest.err >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); } && {
8023 test -z "$ac_c_werror_flag" ||
8024 test ! -s conftest.err
8025 } && test -s conftest.$ac_objext; then
8026 eval "$as_ac_Header=yes"
8027 else
8028 echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.$ac_ext >&5
8031 eval "$as_ac_Header=no"
8034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8036 ac_res=`eval echo '${'$as_ac_Header'}'`
8037 { echo "$as_me:$LINENO: result: $ac_res" >&5
8038 echo "${ECHO_T}$ac_res" >&6; }
8039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8040 cat >>confdefs.h <<_ACEOF
8041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8042 _ACEOF
8046 done
8050 DLLEXT=""
8052 DLLFLAGS="-D_REENTRANT"
8054 LDSHARED=""
8056 LDDLLFLAGS=""
8058 LIBEXT="so"
8060 IMPLIBEXT="def"
8062 LDRPATH_INSTALL=""
8064 LDRPATH_LOCAL=""
8066 # Extract the first word of "ldd", so it can be a program name with args.
8067 set dummy ldd; ac_word=$2
8068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8070 if test "${ac_cv_path_LDD+set}" = set; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 else
8073 case $LDD in
8074 [\\/]* | ?:[\\/]*)
8075 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 as_dummy="/sbin:/usr/sbin:$PATH"
8080 for as_dir in $as_dummy
8082 IFS=$as_save_IFS
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8086 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 break 2
8090 done
8091 done
8092 IFS=$as_save_IFS
8094 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8096 esac
8098 LDD=$ac_cv_path_LDD
8099 if test -n "$LDD"; then
8100 { echo "$as_me:$LINENO: result: $LDD" >&5
8101 echo "${ECHO_T}$LDD" >&6; }
8102 else
8103 { echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6; }
8109 case $host_os in
8110 cygwin*|mingw32*)
8111 if test -n "$ac_tool_prefix"; then
8112 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8113 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8116 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8118 else
8119 if test -n "$DLLTOOL"; then
8120 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8121 else
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 for as_dir in $PATH
8125 IFS=$as_save_IFS
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8131 break 2
8133 done
8134 done
8135 IFS=$as_save_IFS
8139 DLLTOOL=$ac_cv_prog_DLLTOOL
8140 if test -n "$DLLTOOL"; then
8141 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8142 echo "${ECHO_T}$DLLTOOL" >&6; }
8143 else
8144 { echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6; }
8150 if test -z "$ac_cv_prog_DLLTOOL"; then
8151 ac_ct_DLLTOOL=$DLLTOOL
8152 # Extract the first word of "dlltool", so it can be a program name with args.
8153 set dummy dlltool; ac_word=$2
8154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8156 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8158 else
8159 if test -n "$ac_ct_DLLTOOL"; then
8160 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8165 IFS=$as_save_IFS
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 break 2
8173 done
8174 done
8175 IFS=$as_save_IFS
8179 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8182 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8183 else
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8188 if test "x$ac_ct_DLLTOOL" = x; then
8189 DLLTOOL="false"
8190 else
8191 case $cross_compiling:$ac_tool_warned in
8192 yes:)
8193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8194 whose name does not start with the host triplet. If you think this
8195 configuration is useful to you, please write to autoconf@gnu.org." >&5
8196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8197 whose name does not start with the host triplet. If you think this
8198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8199 ac_tool_warned=yes ;;
8200 esac
8201 DLLTOOL=$ac_ct_DLLTOOL
8203 else
8204 DLLTOOL="$ac_cv_prog_DLLTOOL"
8207 if test -n "$ac_tool_prefix"; then
8208 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8212 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 else
8215 if test -n "$DLLWRAP"; then
8216 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8217 else
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 for as_dir in $PATH
8221 IFS=$as_save_IFS
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8227 break 2
8229 done
8230 done
8231 IFS=$as_save_IFS
8235 DLLWRAP=$ac_cv_prog_DLLWRAP
8236 if test -n "$DLLWRAP"; then
8237 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8238 echo "${ECHO_T}$DLLWRAP" >&6; }
8239 else
8240 { echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6; }
8246 if test -z "$ac_cv_prog_DLLWRAP"; then
8247 ac_ct_DLLWRAP=$DLLWRAP
8248 # Extract the first word of "dllwrap", so it can be a program name with args.
8249 set dummy dllwrap; ac_word=$2
8250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8252 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8253 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 else
8255 if test -n "$ac_ct_DLLWRAP"; then
8256 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8257 else
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 for as_dir in $PATH
8261 IFS=$as_save_IFS
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 break 2
8269 done
8270 done
8271 IFS=$as_save_IFS
8275 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8276 if test -n "$ac_ct_DLLWRAP"; then
8277 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8278 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8279 else
8280 { echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6; }
8284 if test "x$ac_ct_DLLWRAP" = x; then
8285 DLLWRAP="false"
8286 else
8287 case $cross_compiling:$ac_tool_warned in
8288 yes:)
8289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8290 whose name does not start with the host triplet. If you think this
8291 configuration is useful to you, please write to autoconf@gnu.org." >&5
8292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8293 whose name does not start with the host triplet. If you think this
8294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8295 ac_tool_warned=yes ;;
8296 esac
8297 DLLWRAP=$ac_ct_DLLWRAP
8299 else
8300 DLLWRAP="$ac_cv_prog_DLLWRAP"
8303 if test -n "$ac_tool_prefix"; then
8304 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8305 set dummy ${ac_tool_prefix}ar; ac_word=$2
8306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8308 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 else
8311 if test -n "$MINGWAR"; then
8312 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8313 else
8314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315 for as_dir in $PATH
8317 IFS=$as_save_IFS
8318 test -z "$as_dir" && as_dir=.
8319 for ac_exec_ext in '' $ac_executable_extensions; do
8320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8321 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 break 2
8325 done
8326 done
8327 IFS=$as_save_IFS
8331 MINGWAR=$ac_cv_prog_MINGWAR
8332 if test -n "$MINGWAR"; then
8333 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8334 echo "${ECHO_T}$MINGWAR" >&6; }
8335 else
8336 { echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6; }
8342 if test -z "$ac_cv_prog_MINGWAR"; then
8343 ac_ct_MINGWAR=$MINGWAR
8344 # Extract the first word of "ar", so it can be a program name with args.
8345 set dummy ar; ac_word=$2
8346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8348 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8349 echo $ECHO_N "(cached) $ECHO_C" >&6
8350 else
8351 if test -n "$ac_ct_MINGWAR"; then
8352 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8353 else
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 for as_dir in $PATH
8357 IFS=$as_save_IFS
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8361 ac_cv_prog_ac_ct_MINGWAR="ar"
8362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 break 2
8365 done
8366 done
8367 IFS=$as_save_IFS
8371 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8372 if test -n "$ac_ct_MINGWAR"; then
8373 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8374 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8375 else
8376 { echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6; }
8380 if test "x$ac_ct_MINGWAR" = x; then
8381 MINGWAR="false"
8382 else
8383 case $cross_compiling:$ac_tool_warned in
8384 yes:)
8385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8386 whose name does not start with the host triplet. If you think this
8387 configuration is useful to you, please write to autoconf@gnu.org." >&5
8388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8389 whose name does not start with the host triplet. If you think this
8390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8391 ac_tool_warned=yes ;;
8392 esac
8393 MINGWAR=$ac_ct_MINGWAR
8395 else
8396 MINGWAR="$ac_cv_prog_MINGWAR"
8399 if test "$DLLWRAP" = "false"; then
8400 LIBEXT="a"
8401 else
8402 LIBEXT="dll"
8404 IMPLIBEXT="a"
8405 WIN16_FILES=""
8406 WIN16_INSTALL=""
8408 darwin*|macosx*)
8409 DLLEXT=".so"
8410 LIBEXT="dylib"
8411 DLLFLAGS="$DLLFLAGS -fPIC"
8412 LDDLLFLAGS="-bundle -multiply_defined suppress"
8413 LIBWINE_LDFLAGS="-multiply_defined suppress"
8414 LDSHARED="\$(CC) -dynamiclib"
8415 STRIP="$STRIP -x"
8416 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8417 SECURITYLIB="-framework Security -framework CoreFoundation"
8419 COREFOUNDATIONLIB="-framework CoreFoundation"
8421 IOKITLIB="-framework IOKit -framework CoreFoundation"
8423 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8425 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8426 then
8427 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8430 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8431 then
8432 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8435 case $host_cpu in
8436 *powerpc*)
8437 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8438 esac
8439 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8440 then
8441 CARBONLIB="-framework Carbon"
8443 QUARTZFILES='$(QUARTZFILES)'
8447 DLLFLAGS="$DLLFLAGS -fPIC"
8448 DLLEXT=".so"
8449 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8450 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8451 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8452 echo $ECHO_N "(cached) $ECHO_C" >&6
8453 else
8454 ac_wine_try_cflags_saved=$CFLAGS
8455 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8456 cat >conftest.$ac_ext <<_ACEOF
8457 void myfunc() {}
8458 _ACEOF
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 if { (ac_try="$ac_link"
8461 case "(($ac_try" in
8462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8464 esac
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_link") 2>conftest.er1
8467 ac_status=$?
8468 grep -v '^ *+' conftest.er1 >conftest.err
8469 rm -f conftest.er1
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest$ac_exeext &&
8476 $as_test_x conftest$ac_exeext; then
8477 ac_cv_c_dll_gnuelf="yes"
8478 else
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8482 ac_cv_c_dll_gnuelf="no"
8485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8490 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8491 if test "$ac_cv_c_dll_gnuelf" = "yes"
8492 then
8493 LDSHARED="\$(CC) -shared"
8494 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8495 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8496 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8497 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8502 cat >conftest.$ac_ext <<_ACEOF
8503 /* confdefs.h. */
8504 _ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8510 main ()
8514 return 0;
8516 _ACEOF
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (ac_try="$ac_link"
8519 case "(($ac_try" in
8520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8521 *) ac_try_echo=$ac_try;;
8522 esac
8523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8524 (eval "$ac_link") 2>conftest.er1
8525 ac_status=$?
8526 grep -v '^ *+' conftest.er1 >conftest.err
8527 rm -f conftest.er1
8528 cat conftest.err >&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } && {
8531 test -z "$ac_c_werror_flag" ||
8532 test ! -s conftest.err
8533 } && test -s conftest$ac_exeext &&
8534 $as_test_x conftest$ac_exeext; then
8535 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8540 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8548 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8549 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8550 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8551 else
8552 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8553 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8554 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8555 echo $ECHO_N "(cached) $ECHO_C" >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8559 cat >conftest.$ac_ext <<_ACEOF
8560 /* confdefs.h. */
8561 _ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8567 main ()
8571 return 0;
8573 _ACEOF
8574 rm -f conftest.$ac_objext conftest$ac_exeext
8575 if { (ac_try="$ac_link"
8576 case "(($ac_try" in
8577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8578 *) ac_try_echo=$ac_try;;
8579 esac
8580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8581 (eval "$ac_link") 2>conftest.er1
8582 ac_status=$?
8583 grep -v '^ *+' conftest.er1 >conftest.err
8584 rm -f conftest.er1
8585 cat conftest.err >&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } && {
8588 test -z "$ac_c_werror_flag" ||
8589 test ! -s conftest.err
8590 } && test -s conftest$ac_exeext &&
8591 $as_test_x conftest$ac_exeext; then
8592 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8593 else
8594 echo "$as_me: failed program was:" >&5
8595 sed 's/^/| /' conftest.$ac_ext >&5
8597 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8605 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8606 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8607 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8613 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8614 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8615 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8616 echo $ECHO_N "(cached) $ECHO_C" >&6
8617 else
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8620 cat >conftest.$ac_ext <<_ACEOF
8621 /* confdefs.h. */
8622 _ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8628 main ()
8632 return 0;
8634 _ACEOF
8635 rm -f conftest.$ac_objext conftest$ac_exeext
8636 if { (ac_try="$ac_link"
8637 case "(($ac_try" in
8638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8639 *) ac_try_echo=$ac_try;;
8640 esac
8641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8642 (eval "$ac_link") 2>conftest.er1
8643 ac_status=$?
8644 grep -v '^ *+' conftest.er1 >conftest.err
8645 rm -f conftest.er1
8646 cat conftest.err >&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); } && {
8649 test -z "$ac_c_werror_flag" ||
8650 test ! -s conftest.err
8651 } && test -s conftest$ac_exeext &&
8652 $as_test_x conftest$ac_exeext; then
8653 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8654 else
8655 echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.$ac_ext >&5
8658 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8666 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8667 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8668 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8672 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8673 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8674 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8676 else
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8679 cat >conftest.$ac_ext <<_ACEOF
8680 /* confdefs.h. */
8681 _ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8687 main ()
8691 return 0;
8693 _ACEOF
8694 rm -f conftest.$ac_objext conftest$ac_exeext
8695 if { (ac_try="$ac_link"
8696 case "(($ac_try" in
8697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8698 *) ac_try_echo=$ac_try;;
8699 esac
8700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8701 (eval "$ac_link") 2>conftest.er1
8702 ac_status=$?
8703 grep -v '^ *+' conftest.er1 >conftest.err
8704 rm -f conftest.er1
8705 cat conftest.err >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } && {
8708 test -z "$ac_c_werror_flag" ||
8709 test ! -s conftest.err
8710 } && test -s conftest$ac_exeext &&
8711 $as_test_x conftest$ac_exeext; then
8712 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8713 else
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8717 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8725 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8726 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8727 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8731 echo '{ global: *; };' >conftest.map
8732 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8733 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8734 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8735 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 else
8737 ac_wine_try_cflags_saved=$CFLAGS
8738 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8739 cat >conftest.$ac_ext <<_ACEOF
8740 /* confdefs.h. */
8741 _ACEOF
8742 cat confdefs.h >>conftest.$ac_ext
8743 cat >>conftest.$ac_ext <<_ACEOF
8744 /* end confdefs.h. */
8747 main ()
8751 return 0;
8753 _ACEOF
8754 rm -f conftest.$ac_objext conftest$ac_exeext
8755 if { (ac_try="$ac_link"
8756 case "(($ac_try" in
8757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8758 *) ac_try_echo=$ac_try;;
8759 esac
8760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8761 (eval "$ac_link") 2>conftest.er1
8762 ac_status=$?
8763 grep -v '^ *+' conftest.er1 >conftest.err
8764 rm -f conftest.er1
8765 cat conftest.err >&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); } && {
8768 test -z "$ac_c_werror_flag" ||
8769 test ! -s conftest.err
8770 } && test -s conftest$ac_exeext &&
8771 $as_test_x conftest$ac_exeext; then
8772 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8773 else
8774 echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.$ac_ext >&5
8777 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8785 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8786 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8787 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8790 rm -f conftest.map
8792 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8793 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8794 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8795 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8799 cat >conftest.$ac_ext <<_ACEOF
8800 /* confdefs.h. */
8801 _ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8807 main ()
8811 return 0;
8813 _ACEOF
8814 rm -f conftest.$ac_objext conftest$ac_exeext
8815 if { (ac_try="$ac_link"
8816 case "(($ac_try" in
8817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8818 *) ac_try_echo=$ac_try;;
8819 esac
8820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8821 (eval "$ac_link") 2>conftest.er1
8822 ac_status=$?
8823 grep -v '^ *+' conftest.er1 >conftest.err
8824 rm -f conftest.er1
8825 cat conftest.err >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); } && {
8828 test -z "$ac_c_werror_flag" ||
8829 test ! -s conftest.err
8830 } && test -s conftest$ac_exeext &&
8831 $as_test_x conftest$ac_exeext; then
8832 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8833 else
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8837 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8845 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8846 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8847 LDEXECFLAGS="-Wl,--export-dynamic"
8852 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8853 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8854 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 else
8858 ac_wine_try_cflags_saved=$CFLAGS
8859 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8860 cat >conftest.$ac_ext <<_ACEOF
8861 /* confdefs.h. */
8862 _ACEOF
8863 cat confdefs.h >>conftest.$ac_ext
8864 cat >>conftest.$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8868 main ()
8872 return 0;
8874 _ACEOF
8875 rm -f conftest.$ac_objext conftest$ac_exeext
8876 if { (ac_try="$ac_link"
8877 case "(($ac_try" in
8878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8879 *) ac_try_echo=$ac_try;;
8880 esac
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882 (eval "$ac_link") 2>conftest.er1
8883 ac_status=$?
8884 grep -v '^ *+' conftest.er1 >conftest.err
8885 rm -f conftest.er1
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } && {
8889 test -z "$ac_c_werror_flag" ||
8890 test ! -s conftest.err
8891 } && test -s conftest$ac_exeext &&
8892 $as_test_x conftest$ac_exeext; then
8893 eval "$as_ac_var=yes"
8894 else
8895 echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.$ac_ext >&5
8898 eval "$as_ac_var=no"
8901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8902 conftest$ac_exeext conftest.$ac_ext
8903 CFLAGS=$ac_wine_try_cflags_saved
8905 ac_res=`eval echo '${'$as_ac_var'}'`
8906 { echo "$as_me:$LINENO: result: $ac_res" >&5
8907 echo "${ECHO_T}$ac_res" >&6; }
8908 if test `eval echo '${'$as_ac_var'}'` = yes; then
8909 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8910 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8911 else
8912 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8913 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8914 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8915 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8916 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 else
8918 ac_wine_try_cflags_saved=$CFLAGS
8919 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8920 cat >conftest.$ac_ext <<_ACEOF
8921 /* confdefs.h. */
8922 _ACEOF
8923 cat confdefs.h >>conftest.$ac_ext
8924 cat >>conftest.$ac_ext <<_ACEOF
8925 /* end confdefs.h. */
8928 main ()
8932 return 0;
8934 _ACEOF
8935 rm -f conftest.$ac_objext conftest$ac_exeext
8936 if { (ac_try="$ac_link"
8937 case "(($ac_try" in
8938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 *) ac_try_echo=$ac_try;;
8940 esac
8941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942 (eval "$ac_link") 2>conftest.er1
8943 ac_status=$?
8944 grep -v '^ *+' conftest.er1 >conftest.err
8945 rm -f conftest.er1
8946 cat conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); } && {
8949 test -z "$ac_c_werror_flag" ||
8950 test ! -s conftest.err
8951 } && test -s conftest$ac_exeext &&
8952 $as_test_x conftest$ac_exeext; then
8953 eval "$as_ac_var=yes"
8954 else
8955 echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.$ac_ext >&5
8958 eval "$as_ac_var=no"
8961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8962 conftest$ac_exeext conftest.$ac_ext
8963 CFLAGS=$ac_wine_try_cflags_saved
8965 ac_res=`eval echo '${'$as_ac_var'}'`
8966 { echo "$as_me:$LINENO: result: $ac_res" >&5
8967 echo "${ECHO_T}$ac_res" >&6; }
8968 if test `eval echo '${'$as_ac_var'}'` = yes; then
8969 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8970 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8976 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8977 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8978 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8979 echo $ECHO_N "(cached) $ECHO_C" >&6
8980 else
8981 ac_wine_try_cflags_saved=$CFLAGS
8982 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8983 cat >conftest.$ac_ext <<_ACEOF
8984 /* confdefs.h. */
8985 _ACEOF
8986 cat confdefs.h >>conftest.$ac_ext
8987 cat >>conftest.$ac_ext <<_ACEOF
8988 /* end confdefs.h. */
8991 main ()
8995 return 0;
8997 _ACEOF
8998 rm -f conftest.$ac_objext conftest$ac_exeext
8999 if { (ac_try="$ac_link"
9000 case "(($ac_try" in
9001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9002 *) ac_try_echo=$ac_try;;
9003 esac
9004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9005 (eval "$ac_link") 2>conftest.er1
9006 ac_status=$?
9007 grep -v '^ *+' conftest.er1 >conftest.err
9008 rm -f conftest.er1
9009 cat conftest.err >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } && {
9012 test -z "$ac_c_werror_flag" ||
9013 test ! -s conftest.err
9014 } && test -s conftest$ac_exeext &&
9015 $as_test_x conftest$ac_exeext; then
9016 ac_cv_cflags__Wl___enable_new_dtags=yes
9017 else
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9021 ac_cv_cflags__Wl___enable_new_dtags=no
9024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9025 conftest$ac_exeext conftest.$ac_ext
9026 CFLAGS=$ac_wine_try_cflags_saved
9028 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9029 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9030 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9031 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9035 case $host_cpu in
9036 *i[3456789]86* | x86_64)
9037 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9038 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9039 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 else
9042 ac_wine_try_cflags_saved=$CFLAGS
9043 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9044 cat >conftest.$ac_ext <<_ACEOF
9045 /* confdefs.h. */
9046 _ACEOF
9047 cat confdefs.h >>conftest.$ac_ext
9048 cat >>conftest.$ac_ext <<_ACEOF
9049 /* end confdefs.h. */
9052 main ()
9056 return 0;
9058 _ACEOF
9059 rm -f conftest.$ac_objext conftest$ac_exeext
9060 if { (ac_try="$ac_link"
9061 case "(($ac_try" in
9062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9063 *) ac_try_echo=$ac_try;;
9064 esac
9065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9066 (eval "$ac_link") 2>conftest.er1
9067 ac_status=$?
9068 grep -v '^ *+' conftest.er1 >conftest.err
9069 rm -f conftest.er1
9070 cat conftest.err >&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); } && {
9073 test -z "$ac_c_werror_flag" ||
9074 test ! -s conftest.err
9075 } && test -s conftest$ac_exeext &&
9076 $as_test_x conftest$ac_exeext; then
9077 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9078 else
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9082 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9086 conftest$ac_exeext conftest.$ac_ext
9087 CFLAGS=$ac_wine_try_cflags_saved
9089 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9090 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9091 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9092 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9096 esac
9098 else
9099 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9100 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9101 if test "${ac_cv_c_dll_unixware+set}" = set; then
9102 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 else
9104 ac_wine_try_cflags_saved=$CFLAGS
9105 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9106 cat >conftest.$ac_ext <<_ACEOF
9107 void myfunc() {}
9108 _ACEOF
9109 rm -f conftest.$ac_objext conftest$ac_exeext
9110 if { (ac_try="$ac_link"
9111 case "(($ac_try" in
9112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9114 esac
9115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9116 (eval "$ac_link") 2>conftest.er1
9117 ac_status=$?
9118 grep -v '^ *+' conftest.er1 >conftest.err
9119 rm -f conftest.er1
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } && {
9123 test -z "$ac_c_werror_flag" ||
9124 test ! -s conftest.err
9125 } && test -s conftest$ac_exeext &&
9126 $as_test_x conftest$ac_exeext; then
9127 ac_cv_c_dll_unixware="yes"
9128 else
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9132 ac_cv_c_dll_unixware="no"
9135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9136 conftest$ac_exeext conftest.$ac_ext
9137 CFLAGS=$ac_wine_try_cflags_saved
9139 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9140 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9141 if test "$ac_cv_c_dll_unixware" = "yes"
9142 then
9143 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9144 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9146 else
9147 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9148 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9149 if test "${ac_cv_c_dll_hpux+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9151 else
9152 ac_wine_try_cflags_saved=$CFLAGS
9153 CFLAGS="$CFLAGS -shared"
9154 cat >conftest.$ac_ext <<_ACEOF
9155 void myfunc() {}
9156 _ACEOF
9157 rm -f conftest.$ac_objext conftest$ac_exeext
9158 if { (ac_try="$ac_link"
9159 case "(($ac_try" in
9160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9161 *) ac_try_echo=$ac_try;;
9162 esac
9163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9164 (eval "$ac_link") 2>conftest.er1
9165 ac_status=$?
9166 grep -v '^ *+' conftest.er1 >conftest.err
9167 rm -f conftest.er1
9168 cat conftest.err >&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); } && {
9171 test -z "$ac_c_werror_flag" ||
9172 test ! -s conftest.err
9173 } && test -s conftest$ac_exeext &&
9174 $as_test_x conftest$ac_exeext; then
9175 ac_cv_c_dll_hpux="yes"
9176 else
9177 echo "$as_me: failed program was:" >&5
9178 sed 's/^/| /' conftest.$ac_ext >&5
9180 ac_cv_c_dll_hpux="no"
9183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9184 conftest$ac_exeext conftest.$ac_ext
9185 CFLAGS=$ac_wine_try_cflags_saved
9187 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9188 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9189 if test "$ac_cv_c_dll_hpux" = "yes"
9190 then
9191 LIBEXT="sl"
9192 DLLEXT=".sl"
9193 LDDLLFLAGS="-shared -fPIC"
9194 LDSHARED="\$(CC) -shared"
9199 CROSSTEST=""
9201 if test "$cross_compiling" = "no"
9202 then
9203 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9205 # Extract the first word of "$ac_prog", so it can be a program name with args.
9206 set dummy $ac_prog; ac_word=$2
9207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9209 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 else
9212 if test -n "$CROSSCC"; then
9213 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9214 else
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9216 for as_dir in $PATH
9218 IFS=$as_save_IFS
9219 test -z "$as_dir" && as_dir=.
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9222 ac_cv_prog_CROSSCC="$ac_prog"
9223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9224 break 2
9226 done
9227 done
9228 IFS=$as_save_IFS
9232 CROSSCC=$ac_cv_prog_CROSSCC
9233 if test -n "$CROSSCC"; then
9234 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9235 echo "${ECHO_T}$CROSSCC" >&6; }
9236 else
9237 { echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6; }
9242 test -n "$CROSSCC" && break
9243 done
9244 test -n "$CROSSCC" || CROSSCC="false"
9246 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9248 # Extract the first word of "$ac_prog", so it can be a program name with args.
9249 set dummy $ac_prog; ac_word=$2
9250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9252 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9253 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 else
9255 if test -n "$DLLTOOL"; then
9256 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9257 else
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 for as_dir in $PATH
9261 IFS=$as_save_IFS
9262 test -z "$as_dir" && as_dir=.
9263 for ac_exec_ext in '' $ac_executable_extensions; do
9264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9265 ac_cv_prog_DLLTOOL="$ac_prog"
9266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9267 break 2
9269 done
9270 done
9271 IFS=$as_save_IFS
9275 DLLTOOL=$ac_cv_prog_DLLTOOL
9276 if test -n "$DLLTOOL"; then
9277 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9278 echo "${ECHO_T}$DLLTOOL" >&6; }
9279 else
9280 { echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6; }
9285 test -n "$DLLTOOL" && break
9286 done
9287 test -n "$DLLTOOL" || DLLTOOL="false"
9289 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9291 # Extract the first word of "$ac_prog", so it can be a program name with args.
9292 set dummy $ac_prog; ac_word=$2
9293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9295 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9297 else
9298 if test -n "$CROSSWINDRES"; then
9299 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9300 else
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 for as_dir in $PATH
9304 IFS=$as_save_IFS
9305 test -z "$as_dir" && as_dir=.
9306 for ac_exec_ext in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_prog_CROSSWINDRES="$ac_prog"
9309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9310 break 2
9312 done
9313 done
9314 IFS=$as_save_IFS
9318 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9319 if test -n "$CROSSWINDRES"; then
9320 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9321 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9322 else
9323 { echo "$as_me:$LINENO: result: no" >&5
9324 echo "${ECHO_T}no" >&6; }
9328 test -n "$CROSSWINDRES" && break
9329 done
9330 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9332 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9334 # Extract the first word of "$ac_prog", so it can be a program name with args.
9335 set dummy $ac_prog; ac_word=$2
9336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9338 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 else
9341 if test -n "$MINGWAR"; then
9342 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9343 else
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 for as_dir in $PATH
9347 IFS=$as_save_IFS
9348 test -z "$as_dir" && as_dir=.
9349 for ac_exec_ext in '' $ac_executable_extensions; do
9350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351 ac_cv_prog_MINGWAR="$ac_prog"
9352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9353 break 2
9355 done
9356 done
9357 IFS=$as_save_IFS
9361 MINGWAR=$ac_cv_prog_MINGWAR
9362 if test -n "$MINGWAR"; then
9363 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9364 echo "${ECHO_T}$MINGWAR" >&6; }
9365 else
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9371 test -n "$MINGWAR" && break
9372 done
9373 test -n "$MINGWAR" || MINGWAR="false"
9375 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9378 esac
9380 if test "$LIBEXT" = "a"; then
9381 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9382 It is currently not possible to build Wine without shared library
9383 (.so) support to allow transparent switch between .so and .dll files.
9384 If you are using Linux, you will need a newer binutils.
9385 " >&5
9386 echo "$as_me: error: could not find a way to build shared libraries.
9387 It is currently not possible to build Wine without shared library
9388 (.so) support to allow transparent switch between .so and .dll files.
9389 If you are using Linux, you will need a newer binutils.
9390 " >&2;}
9391 { (exit 1); exit 1; }; }
9395 if test "$have_x" = "yes"
9396 then
9397 XLIB="-lXext -lX11"
9398 ac_save_CPPFLAGS="$CPPFLAGS"
9399 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9401 { echo "$as_me:$LINENO: checking for -lX11" >&5
9402 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9403 if test "${ac_cv_lib_soname_X11+set}" = set; then
9404 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 else
9406 ac_check_soname_save_LIBS=$LIBS
9407 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9408 cat >conftest.$ac_ext <<_ACEOF
9409 /* confdefs.h. */
9410 _ACEOF
9411 cat confdefs.h >>conftest.$ac_ext
9412 cat >>conftest.$ac_ext <<_ACEOF
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9418 #ifdef __cplusplus
9419 extern "C"
9420 #endif
9421 char XCreateWindow ();
9423 main ()
9425 return XCreateWindow ();
9427 return 0;
9429 _ACEOF
9430 rm -f conftest.$ac_objext conftest$ac_exeext
9431 if { (ac_try="$ac_link"
9432 case "(($ac_try" in
9433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9434 *) ac_try_echo=$ac_try;;
9435 esac
9436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9437 (eval "$ac_link") 2>conftest.er1
9438 ac_status=$?
9439 grep -v '^ *+' conftest.er1 >conftest.err
9440 rm -f conftest.er1
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } && {
9444 test -z "$ac_c_werror_flag" ||
9445 test ! -s conftest.err
9446 } && test -s conftest$ac_exeext &&
9447 $as_test_x conftest$ac_exeext; then
9448 case "$LIBEXT" in
9449 dll) ;;
9450 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'` ;;
9451 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9452 esac
9453 else
9454 echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9461 conftest$ac_exeext conftest.$ac_ext
9462 LIBS=$ac_check_soname_save_LIBS
9464 if test "x$ac_cv_lib_soname_X11" = "x"; then
9465 { echo "$as_me:$LINENO: result: not found" >&5
9466 echo "${ECHO_T}not found" >&6; }
9468 else
9469 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9470 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9472 cat >>confdefs.h <<_ACEOF
9473 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9474 _ACEOF
9479 { echo "$as_me:$LINENO: checking for -lXext" >&5
9480 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9481 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9482 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 else
9484 ac_check_soname_save_LIBS=$LIBS
9485 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9486 cat >conftest.$ac_ext <<_ACEOF
9487 /* confdefs.h. */
9488 _ACEOF
9489 cat confdefs.h >>conftest.$ac_ext
9490 cat >>conftest.$ac_ext <<_ACEOF
9491 /* end confdefs.h. */
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9496 #ifdef __cplusplus
9497 extern "C"
9498 #endif
9499 char XextCreateExtension ();
9501 main ()
9503 return XextCreateExtension ();
9505 return 0;
9507 _ACEOF
9508 rm -f conftest.$ac_objext conftest$ac_exeext
9509 if { (ac_try="$ac_link"
9510 case "(($ac_try" in
9511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9512 *) ac_try_echo=$ac_try;;
9513 esac
9514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9515 (eval "$ac_link") 2>conftest.er1
9516 ac_status=$?
9517 grep -v '^ *+' conftest.er1 >conftest.err
9518 rm -f conftest.er1
9519 cat conftest.err >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); } && {
9522 test -z "$ac_c_werror_flag" ||
9523 test ! -s conftest.err
9524 } && test -s conftest$ac_exeext &&
9525 $as_test_x conftest$ac_exeext; then
9526 case "$LIBEXT" in
9527 dll) ;;
9528 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'` ;;
9529 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9530 esac
9531 else
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.$ac_ext >&5
9538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9539 conftest$ac_exeext conftest.$ac_ext
9540 LIBS=$ac_check_soname_save_LIBS
9542 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9543 { echo "$as_me:$LINENO: result: not found" >&5
9544 echo "${ECHO_T}not found" >&6; }
9546 else
9547 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9548 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9550 cat >>confdefs.h <<_ACEOF
9551 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9552 _ACEOF
9570 for ac_header in X11/Xlib.h \
9571 X11/XKBlib.h \
9572 X11/Xutil.h \
9573 X11/Xcursor/Xcursor.h \
9574 X11/extensions/shape.h \
9575 X11/extensions/XInput.h \
9576 X11/extensions/XShm.h \
9577 X11/extensions/Xcomposite.h \
9578 X11/extensions/Xinerama.h \
9579 X11/extensions/Xrandr.h \
9580 X11/extensions/Xrender.h \
9581 X11/extensions/xf86vmode.h
9583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 else
9589 cat >conftest.$ac_ext <<_ACEOF
9590 /* confdefs.h. */
9591 _ACEOF
9592 cat confdefs.h >>conftest.$ac_ext
9593 cat >>conftest.$ac_ext <<_ACEOF
9594 /* end confdefs.h. */
9595 #ifdef HAVE_X11_XLIB_H
9596 # include <X11/Xlib.h>
9597 #endif
9598 #ifdef HAVE_X11_XUTIL_H
9599 # include <X11/Xutil.h>
9600 #endif
9602 #include <$ac_header>
9603 _ACEOF
9604 rm -f conftest.$ac_objext
9605 if { (ac_try="$ac_compile"
9606 case "(($ac_try" in
9607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9608 *) ac_try_echo=$ac_try;;
9609 esac
9610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9611 (eval "$ac_compile") 2>conftest.er1
9612 ac_status=$?
9613 grep -v '^ *+' conftest.er1 >conftest.err
9614 rm -f conftest.er1
9615 cat conftest.err >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } && {
9618 test -z "$ac_c_werror_flag" ||
9619 test ! -s conftest.err
9620 } && test -s conftest.$ac_objext; then
9621 eval "$as_ac_Header=yes"
9622 else
9623 echo "$as_me: failed program was:" >&5
9624 sed 's/^/| /' conftest.$ac_ext >&5
9626 eval "$as_ac_Header=no"
9629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9631 ac_res=`eval echo '${'$as_ac_Header'}'`
9632 { echo "$as_me:$LINENO: result: $ac_res" >&5
9633 echo "${ECHO_T}$ac_res" >&6; }
9634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9635 cat >>confdefs.h <<_ACEOF
9636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9637 _ACEOF
9641 done
9644 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9645 then
9646 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9647 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9648 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 else
9651 ac_check_lib_save_LIBS=$LIBS
9652 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9653 cat >conftest.$ac_ext <<_ACEOF
9654 /* confdefs.h. */
9655 _ACEOF
9656 cat confdefs.h >>conftest.$ac_ext
9657 cat >>conftest.$ac_ext <<_ACEOF
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9663 #ifdef __cplusplus
9664 extern "C"
9665 #endif
9666 char XkbQueryExtension ();
9668 main ()
9670 return XkbQueryExtension ();
9672 return 0;
9674 _ACEOF
9675 rm -f conftest.$ac_objext conftest$ac_exeext
9676 if { (ac_try="$ac_link"
9677 case "(($ac_try" in
9678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9679 *) ac_try_echo=$ac_try;;
9680 esac
9681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9682 (eval "$ac_link") 2>conftest.er1
9683 ac_status=$?
9684 grep -v '^ *+' conftest.er1 >conftest.err
9685 rm -f conftest.er1
9686 cat conftest.err >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } && {
9689 test -z "$ac_c_werror_flag" ||
9690 test ! -s conftest.err
9691 } && test -s conftest$ac_exeext &&
9692 $as_test_x conftest$ac_exeext; then
9693 ac_cv_lib_X11_XkbQueryExtension=yes
9694 else
9695 echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.$ac_ext >&5
9698 ac_cv_lib_X11_XkbQueryExtension=no
9701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9702 conftest$ac_exeext conftest.$ac_ext
9703 LIBS=$ac_check_lib_save_LIBS
9705 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9706 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9707 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9709 cat >>confdefs.h <<\_ACEOF
9710 #define HAVE_XKB 1
9711 _ACEOF
9717 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9718 then
9719 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9720 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9721 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 else
9724 ac_check_soname_save_LIBS=$LIBS
9725 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9726 cat >conftest.$ac_ext <<_ACEOF
9727 /* confdefs.h. */
9728 _ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9736 #ifdef __cplusplus
9737 extern "C"
9738 #endif
9739 char XcursorImageLoadCursor ();
9741 main ()
9743 return XcursorImageLoadCursor ();
9745 return 0;
9747 _ACEOF
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (ac_try="$ac_link"
9750 case "(($ac_try" in
9751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9753 esac
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755 (eval "$ac_link") 2>conftest.er1
9756 ac_status=$?
9757 grep -v '^ *+' conftest.er1 >conftest.err
9758 rm -f conftest.er1
9759 cat conftest.err >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } && {
9762 test -z "$ac_c_werror_flag" ||
9763 test ! -s conftest.err
9764 } && test -s conftest$ac_exeext &&
9765 $as_test_x conftest$ac_exeext; then
9766 case "$LIBEXT" in
9767 dll) ;;
9768 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'` ;;
9769 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9770 esac
9771 else
9772 echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.$ac_ext >&5
9778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9779 conftest$ac_exeext conftest.$ac_ext
9780 LIBS=$ac_check_soname_save_LIBS
9782 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9783 { echo "$as_me:$LINENO: result: not found" >&5
9784 echo "${ECHO_T}not found" >&6; }
9786 else
9787 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9788 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9790 cat >>confdefs.h <<_ACEOF
9791 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9792 _ACEOF
9798 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9799 case "x$with_xcursor" in
9800 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9801 xno) ;;
9802 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9803 This is an error since --with-xcursor was requested." >&5
9804 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9805 This is an error since --with-xcursor was requested." >&2;}
9806 { (exit 1); exit 1; }; } ;;
9807 esac
9811 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9812 then
9813 { echo "$as_me:$LINENO: checking for -lXi" >&5
9814 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9815 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 else
9818 ac_check_soname_save_LIBS=$LIBS
9819 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9820 cat >conftest.$ac_ext <<_ACEOF
9821 /* confdefs.h. */
9822 _ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9827 /* Override any GCC internal prototype to avoid an error.
9828 Use char because int might match the return type of a GCC
9829 builtin and then its argument prototype would still apply. */
9830 #ifdef __cplusplus
9831 extern "C"
9832 #endif
9833 char XOpenDevice ();
9835 main ()
9837 return XOpenDevice ();
9839 return 0;
9841 _ACEOF
9842 rm -f conftest.$ac_objext conftest$ac_exeext
9843 if { (ac_try="$ac_link"
9844 case "(($ac_try" in
9845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9846 *) ac_try_echo=$ac_try;;
9847 esac
9848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9849 (eval "$ac_link") 2>conftest.er1
9850 ac_status=$?
9851 grep -v '^ *+' conftest.er1 >conftest.err
9852 rm -f conftest.er1
9853 cat conftest.err >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } && {
9856 test -z "$ac_c_werror_flag" ||
9857 test ! -s conftest.err
9858 } && test -s conftest$ac_exeext &&
9859 $as_test_x conftest$ac_exeext; then
9860 case "$LIBEXT" in
9861 dll) ;;
9862 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'` ;;
9863 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9864 esac
9865 else
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9877 { echo "$as_me:$LINENO: result: not found" >&5
9878 echo "${ECHO_T}not found" >&6; }
9880 else
9881 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9882 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9886 _ACEOF
9892 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9893 case "x$with_xinput" in
9894 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9895 xno) ;;
9896 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9897 This is an error since --with-xinput was requested." >&5
9898 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9899 This is an error since --with-xinput was requested." >&2;}
9900 { (exit 1); exit 1; }; } ;;
9901 esac
9905 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9906 then
9907 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9908 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9909 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 else
9912 ac_check_lib_save_LIBS=$LIBS
9913 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9914 cat >conftest.$ac_ext <<_ACEOF
9915 /* confdefs.h. */
9916 _ACEOF
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 char XShmQueryExtension ();
9929 main ()
9931 return XShmQueryExtension ();
9933 return 0;
9935 _ACEOF
9936 rm -f conftest.$ac_objext conftest$ac_exeext
9937 if { (ac_try="$ac_link"
9938 case "(($ac_try" in
9939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940 *) ac_try_echo=$ac_try;;
9941 esac
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_link") 2>conftest.er1
9944 ac_status=$?
9945 grep -v '^ *+' conftest.er1 >conftest.err
9946 rm -f conftest.er1
9947 cat conftest.err >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest$ac_exeext &&
9953 $as_test_x conftest$ac_exeext; then
9954 ac_cv_lib_Xext_XShmQueryExtension=yes
9955 else
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9959 ac_cv_lib_Xext_XShmQueryExtension=no
9962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9967 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9968 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9970 cat >>confdefs.h <<\_ACEOF
9971 #define HAVE_LIBXXSHM 1
9972 _ACEOF
9977 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9978 case "x$with_xshm" in
9979 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9980 xno) ;;
9981 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9982 This is an error since --with-xshm was requested." >&5
9983 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9984 This is an error since --with-xshm was requested." >&2;}
9985 { (exit 1); exit 1; }; } ;;
9986 esac
9990 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9991 then
9992 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9993 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9994 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 else
9997 ac_check_lib_save_LIBS=$LIBS
9998 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat >conftest.$ac_ext <<_ACEOF
10000 /* confdefs.h. */
10001 _ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10009 #ifdef __cplusplus
10010 extern "C"
10011 #endif
10012 char XShapeQueryExtension ();
10014 main ()
10016 return XShapeQueryExtension ();
10018 return 0;
10020 _ACEOF
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025 *) ac_try_echo=$ac_try;;
10026 esac
10027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028 (eval "$ac_link") 2>conftest.er1
10029 ac_status=$?
10030 grep -v '^ *+' conftest.er1 >conftest.err
10031 rm -f conftest.er1
10032 cat conftest.err >&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } && {
10035 test -z "$ac_c_werror_flag" ||
10036 test ! -s conftest.err
10037 } && test -s conftest$ac_exeext &&
10038 $as_test_x conftest$ac_exeext; then
10039 ac_cv_lib_Xext_XShapeQueryExtension=yes
10040 else
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.$ac_ext >&5
10044 ac_cv_lib_Xext_XShapeQueryExtension=no
10047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_lib_save_LIBS
10051 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10052 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10053 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10055 cat >>confdefs.h <<\_ACEOF
10056 #define HAVE_LIBXSHAPE 1
10057 _ACEOF
10062 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10063 case "x$with_xshape" in
10064 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10065 xno) ;;
10066 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10067 This is an error since --with-xshape was requested." >&5
10068 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10069 This is an error since --with-xshape was requested." >&2;}
10070 { (exit 1); exit 1; }; } ;;
10071 esac
10075 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10076 then
10077 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10078 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10079 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 else
10082 ac_check_lib_save_LIBS=$LIBS
10083 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10084 cat >conftest.$ac_ext <<_ACEOF
10085 /* confdefs.h. */
10086 _ACEOF
10087 cat confdefs.h >>conftest.$ac_ext
10088 cat >>conftest.$ac_ext <<_ACEOF
10089 /* end confdefs.h. */
10091 /* Override any GCC internal prototype to avoid an error.
10092 Use char because int might match the return type of a GCC
10093 builtin and then its argument prototype would still apply. */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XF86VidModeQueryExtension ();
10099 main ()
10101 return XF86VidModeQueryExtension ();
10103 return 0;
10105 _ACEOF
10106 rm -f conftest.$ac_objext conftest$ac_exeext
10107 if { (ac_try="$ac_link"
10108 case "(($ac_try" in
10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10111 esac
10112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_link") 2>conftest.er1
10114 ac_status=$?
10115 grep -v '^ *+' conftest.er1 >conftest.err
10116 rm -f conftest.er1
10117 cat conftest.err >&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } && {
10120 test -z "$ac_c_werror_flag" ||
10121 test ! -s conftest.err
10122 } && test -s conftest$ac_exeext &&
10123 $as_test_x conftest$ac_exeext; then
10124 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10125 else
10126 echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10129 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10136 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10137 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10138 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10140 cat >>confdefs.h <<\_ACEOF
10141 #define HAVE_LIBXXF86VM 1
10142 _ACEOF
10144 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10149 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10150 case "x$with_xvidmode" in
10151 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10152 xno) ;;
10153 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10154 This is an error since --with-xvidmode was requested." >&5
10155 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10156 This is an error since --with-xvidmode was requested." >&2;}
10157 { (exit 1); exit 1; }; } ;;
10158 esac
10162 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"
10163 then
10164 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10165 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10166 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 else
10169 ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10171 cat >conftest.$ac_ext <<_ACEOF
10172 /* confdefs.h. */
10173 _ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char XRenderQueryExtension ();
10186 main ()
10188 return XRenderQueryExtension ();
10190 return 0;
10192 _ACEOF
10193 rm -f conftest.$ac_objext conftest$ac_exeext
10194 if { (ac_try="$ac_link"
10195 case "(($ac_try" in
10196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10197 *) ac_try_echo=$ac_try;;
10198 esac
10199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10200 (eval "$ac_link") 2>conftest.er1
10201 ac_status=$?
10202 grep -v '^ *+' conftest.er1 >conftest.err
10203 rm -f conftest.er1
10204 cat conftest.err >&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } && {
10207 test -z "$ac_c_werror_flag" ||
10208 test ! -s conftest.err
10209 } && test -s conftest$ac_exeext &&
10210 $as_test_x conftest$ac_exeext; then
10211 case "$LIBEXT" in
10212 dll) ;;
10213 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'` ;;
10214 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10215 esac
10216 else
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.$ac_ext >&5
10223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_soname_save_LIBS
10227 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10228 { echo "$as_me:$LINENO: result: not found" >&5
10229 echo "${ECHO_T}not found" >&6; }
10231 else
10232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10233 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10235 cat >>confdefs.h <<_ACEOF
10236 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10237 _ACEOF
10239 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10240 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10241 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10243 else
10244 ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10246 cat >conftest.$ac_ext <<_ACEOF
10247 /* confdefs.h. */
10248 _ACEOF
10249 cat confdefs.h >>conftest.$ac_ext
10250 cat >>conftest.$ac_ext <<_ACEOF
10251 /* end confdefs.h. */
10253 /* Override any GCC internal prototype to avoid an error.
10254 Use char because int might match the return type of a GCC
10255 builtin and then its argument prototype would still apply. */
10256 #ifdef __cplusplus
10257 extern "C"
10258 #endif
10259 char XRenderSetPictureTransform ();
10261 main ()
10263 return XRenderSetPictureTransform ();
10265 return 0;
10267 _ACEOF
10268 rm -f conftest.$ac_objext conftest$ac_exeext
10269 if { (ac_try="$ac_link"
10270 case "(($ac_try" in
10271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10272 *) ac_try_echo=$ac_try;;
10273 esac
10274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10275 (eval "$ac_link") 2>conftest.er1
10276 ac_status=$?
10277 grep -v '^ *+' conftest.er1 >conftest.err
10278 rm -f conftest.er1
10279 cat conftest.err >&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); } && {
10282 test -z "$ac_c_werror_flag" ||
10283 test ! -s conftest.err
10284 } && test -s conftest$ac_exeext &&
10285 $as_test_x conftest$ac_exeext; then
10286 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10287 else
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.$ac_ext >&5
10291 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10295 conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_lib_save_LIBS
10298 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10299 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10300 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10302 cat >>confdefs.h <<\_ACEOF
10303 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10304 _ACEOF
10312 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10313 case "x$with_xrender" in
10314 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10315 xno) ;;
10316 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10317 This is an error since --with-xrender was requested." >&5
10318 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10319 This is an error since --with-xrender was requested." >&2;}
10320 { (exit 1); exit 1; }; } ;;
10321 esac
10325 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10326 then
10327 cat >conftest.$ac_ext <<_ACEOF
10328 /* confdefs.h. */
10329 _ACEOF
10330 cat confdefs.h >>conftest.$ac_ext
10331 cat >>conftest.$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10333 #include <X11/Xlib.h>
10334 #include <X11/extensions/Xrandr.h>
10336 main ()
10338 static typeof(XRRSetScreenConfigAndRate) * func;
10340 return 0;
10342 _ACEOF
10343 rm -f conftest.$ac_objext
10344 if { (ac_try="$ac_compile"
10345 case "(($ac_try" in
10346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10347 *) ac_try_echo=$ac_try;;
10348 esac
10349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10350 (eval "$ac_compile") 2>conftest.er1
10351 ac_status=$?
10352 grep -v '^ *+' conftest.er1 >conftest.err
10353 rm -f conftest.er1
10354 cat conftest.err >&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); } && {
10357 test -z "$ac_c_werror_flag" ||
10358 test ! -s conftest.err
10359 } && test -s conftest.$ac_objext; then
10360 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10361 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10362 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10363 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 else
10365 ac_check_soname_save_LIBS=$LIBS
10366 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10367 cat >conftest.$ac_ext <<_ACEOF
10368 /* confdefs.h. */
10369 _ACEOF
10370 cat confdefs.h >>conftest.$ac_ext
10371 cat >>conftest.$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10374 /* Override any GCC internal prototype to avoid an error.
10375 Use char because int might match the return type of a GCC
10376 builtin and then its argument prototype would still apply. */
10377 #ifdef __cplusplus
10378 extern "C"
10379 #endif
10380 char XRRQueryExtension ();
10382 main ()
10384 return XRRQueryExtension ();
10386 return 0;
10388 _ACEOF
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (ac_try="$ac_link"
10391 case "(($ac_try" in
10392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10393 *) ac_try_echo=$ac_try;;
10394 esac
10395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10396 (eval "$ac_link") 2>conftest.er1
10397 ac_status=$?
10398 grep -v '^ *+' conftest.er1 >conftest.err
10399 rm -f conftest.er1
10400 cat conftest.err >&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } && {
10403 test -z "$ac_c_werror_flag" ||
10404 test ! -s conftest.err
10405 } && test -s conftest$ac_exeext &&
10406 $as_test_x conftest$ac_exeext; then
10407 case "$LIBEXT" in
10408 dll) ;;
10409 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'` ;;
10410 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10411 esac
10412 else
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10420 conftest$ac_exeext conftest.$ac_ext
10421 LIBS=$ac_check_soname_save_LIBS
10423 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10424 { echo "$as_me:$LINENO: result: not found" >&5
10425 echo "${ECHO_T}not found" >&6; }
10427 else
10428 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10429 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10431 cat >>confdefs.h <<_ACEOF
10432 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10433 _ACEOF
10438 else
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10447 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10448 case "x$with_xrandr" in
10449 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10450 xno) ;;
10451 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10452 This is an error since --with-xrandr was requested." >&5
10453 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10454 This is an error since --with-xrandr was requested." >&2;}
10455 { (exit 1); exit 1; }; } ;;
10456 esac
10460 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10461 then
10462 cat >conftest.$ac_ext <<_ACEOF
10463 /* confdefs.h. */
10464 _ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10468 #include <X11/Xlib.h>
10469 #include <X11/extensions/Xinerama.h>
10471 main ()
10473 static typeof(XineramaQueryScreens) * func;
10475 return 0;
10477 _ACEOF
10478 rm -f conftest.$ac_objext
10479 if { (ac_try="$ac_compile"
10480 case "(($ac_try" in
10481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10482 *) ac_try_echo=$ac_try;;
10483 esac
10484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10485 (eval "$ac_compile") 2>conftest.er1
10486 ac_status=$?
10487 grep -v '^ *+' conftest.er1 >conftest.err
10488 rm -f conftest.er1
10489 cat conftest.err >&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } && {
10492 test -z "$ac_c_werror_flag" ||
10493 test ! -s conftest.err
10494 } && test -s conftest.$ac_objext; then
10495 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10496 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10497 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 else
10500 ac_check_soname_save_LIBS=$LIBS
10501 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10502 cat >conftest.$ac_ext <<_ACEOF
10503 /* confdefs.h. */
10504 _ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10512 #ifdef __cplusplus
10513 extern "C"
10514 #endif
10515 char XineramaQueryScreens ();
10517 main ()
10519 return XineramaQueryScreens ();
10521 return 0;
10523 _ACEOF
10524 rm -f conftest.$ac_objext conftest$ac_exeext
10525 if { (ac_try="$ac_link"
10526 case "(($ac_try" in
10527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 *) ac_try_echo=$ac_try;;
10529 esac
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 (eval "$ac_link") 2>conftest.er1
10532 ac_status=$?
10533 grep -v '^ *+' conftest.er1 >conftest.err
10534 rm -f conftest.er1
10535 cat conftest.err >&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } && {
10538 test -z "$ac_c_werror_flag" ||
10539 test ! -s conftest.err
10540 } && test -s conftest$ac_exeext &&
10541 $as_test_x conftest$ac_exeext; then
10542 case "$LIBEXT" in
10543 dll) ;;
10544 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'` ;;
10545 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10546 esac
10547 else
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_soname_save_LIBS
10558 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10559 { echo "$as_me:$LINENO: result: not found" >&5
10560 echo "${ECHO_T}not found" >&6; }
10562 else
10563 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10564 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10566 cat >>confdefs.h <<_ACEOF
10567 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10568 _ACEOF
10573 else
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10582 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10583 case "x$with_xinerama" in
10584 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10585 xno) ;;
10586 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10587 This is an error since --with-xinerama was requested." >&5
10588 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10589 This is an error since --with-xinerama was requested." >&2;}
10590 { (exit 1); exit 1; }; } ;;
10591 esac
10595 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10596 then
10597 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10598 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10599 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 else
10602 ac_check_soname_save_LIBS=$LIBS
10603 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10604 cat >conftest.$ac_ext <<_ACEOF
10605 /* confdefs.h. */
10606 _ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10611 /* Override any GCC internal prototype to avoid an error.
10612 Use char because int might match the return type of a GCC
10613 builtin and then its argument prototype would still apply. */
10614 #ifdef __cplusplus
10615 extern "C"
10616 #endif
10617 char XCompositeRedirectWindow ();
10619 main ()
10621 return XCompositeRedirectWindow ();
10623 return 0;
10625 _ACEOF
10626 rm -f conftest.$ac_objext conftest$ac_exeext
10627 if { (ac_try="$ac_link"
10628 case "(($ac_try" in
10629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10630 *) ac_try_echo=$ac_try;;
10631 esac
10632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10633 (eval "$ac_link") 2>conftest.er1
10634 ac_status=$?
10635 grep -v '^ *+' conftest.er1 >conftest.err
10636 rm -f conftest.er1
10637 cat conftest.err >&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } && {
10640 test -z "$ac_c_werror_flag" ||
10641 test ! -s conftest.err
10642 } && test -s conftest$ac_exeext &&
10643 $as_test_x conftest$ac_exeext; then
10644 case "$LIBEXT" in
10645 dll) ;;
10646 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'` ;;
10647 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10648 esac
10649 else
10650 echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.$ac_ext >&5
10656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10657 conftest$ac_exeext conftest.$ac_ext
10658 LIBS=$ac_check_soname_save_LIBS
10660 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10661 { echo "$as_me:$LINENO: result: not found" >&5
10662 echo "${ECHO_T}not found" >&6; }
10664 else
10665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10666 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10668 cat >>confdefs.h <<_ACEOF
10669 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10670 _ACEOF
10676 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10677 case "x$with_xcomposite" in
10678 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10679 xno) ;;
10680 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10681 This is an error since --with-xcomposite was requested." >&5
10682 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10683 This is an error since --with-xcomposite was requested." >&2;}
10684 { (exit 1); exit 1; }; } ;;
10685 esac
10690 opengl_msg=""
10691 if test "x$with_opengl" != "xno"
10692 then
10697 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10703 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 else
10705 cat >conftest.$ac_ext <<_ACEOF
10706 /* confdefs.h. */
10707 _ACEOF
10708 cat confdefs.h >>conftest.$ac_ext
10709 cat >>conftest.$ac_ext <<_ACEOF
10710 /* end confdefs.h. */
10711 #ifdef HAVE_GL_GLX_H
10712 # include <GL/glx.h>
10713 #endif
10715 #include <$ac_header>
10716 _ACEOF
10717 rm -f conftest.$ac_objext
10718 if { (ac_try="$ac_compile"
10719 case "(($ac_try" in
10720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10722 esac
10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 (eval "$ac_compile") 2>conftest.er1
10725 ac_status=$?
10726 grep -v '^ *+' conftest.er1 >conftest.err
10727 rm -f conftest.er1
10728 cat conftest.err >&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); } && {
10731 test -z "$ac_c_werror_flag" ||
10732 test ! -s conftest.err
10733 } && test -s conftest.$ac_objext; then
10734 eval "$as_ac_Header=yes"
10735 else
10736 echo "$as_me: failed program was:" >&5
10737 sed 's/^/| /' conftest.$ac_ext >&5
10739 eval "$as_ac_Header=no"
10742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10744 ac_res=`eval echo '${'$as_ac_Header'}'`
10745 { echo "$as_me:$LINENO: result: $ac_res" >&5
10746 echo "${ECHO_T}$ac_res" >&6; }
10747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10748 cat >>confdefs.h <<_ACEOF
10749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10750 _ACEOF
10754 done
10756 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10757 then
10758 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10759 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10760 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 else
10763 cat >conftest.$ac_ext <<_ACEOF
10764 /* confdefs.h. */
10765 _ACEOF
10766 cat confdefs.h >>conftest.$ac_ext
10767 cat >>conftest.$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10769 #include <GL/gl.h>
10771 main ()
10773 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10775 return 0;
10777 _ACEOF
10778 rm -f conftest.$ac_objext
10779 if { (ac_try="$ac_compile"
10780 case "(($ac_try" in
10781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10782 *) ac_try_echo=$ac_try;;
10783 esac
10784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10785 (eval "$ac_compile") 2>conftest.er1
10786 ac_status=$?
10787 grep -v '^ *+' conftest.er1 >conftest.err
10788 rm -f conftest.er1
10789 cat conftest.err >&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); } && {
10792 test -z "$ac_c_werror_flag" ||
10793 test ! -s conftest.err
10794 } && test -s conftest.$ac_objext; then
10795 wine_cv_opengl_header_version_OK="yes"
10796 else
10797 echo "$as_me: failed program was:" >&5
10798 sed 's/^/| /' conftest.$ac_ext >&5
10800 wine_cv_opengl_header_version_OK="no"
10803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10805 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10806 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10808 if test "$wine_cv_opengl_header_version_OK" = "yes"
10809 then
10810 { echo "$as_me:$LINENO: checking for -lGL" >&5
10811 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10812 if test "${ac_cv_lib_soname_GL+set}" = set; then
10813 echo $ECHO_N "(cached) $ECHO_C" >&6
10814 else
10815 ac_check_soname_save_LIBS=$LIBS
10816 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10817 cat >conftest.$ac_ext <<_ACEOF
10818 /* confdefs.h. */
10819 _ACEOF
10820 cat confdefs.h >>conftest.$ac_ext
10821 cat >>conftest.$ac_ext <<_ACEOF
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char glXCreateContext ();
10832 main ()
10834 return glXCreateContext ();
10836 return 0;
10838 _ACEOF
10839 rm -f conftest.$ac_objext conftest$ac_exeext
10840 if { (ac_try="$ac_link"
10841 case "(($ac_try" in
10842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10843 *) ac_try_echo=$ac_try;;
10844 esac
10845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10846 (eval "$ac_link") 2>conftest.er1
10847 ac_status=$?
10848 grep -v '^ *+' conftest.er1 >conftest.err
10849 rm -f conftest.er1
10850 cat conftest.err >&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } && {
10853 test -z "$ac_c_werror_flag" ||
10854 test ! -s conftest.err
10855 } && test -s conftest$ac_exeext &&
10856 $as_test_x conftest$ac_exeext; then
10857 case "$LIBEXT" in
10858 dll) ;;
10859 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'` ;;
10860 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10861 esac
10862 else
10863 echo "$as_me: failed program was:" >&5
10864 sed 's/^/| /' conftest.$ac_ext >&5
10869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10870 conftest$ac_exeext conftest.$ac_ext
10871 LIBS=$ac_check_soname_save_LIBS
10873 if test "x$ac_cv_lib_soname_GL" = "x"; then
10874 { echo "$as_me:$LINENO: result: not found" >&5
10875 echo "${ECHO_T}not found" >&6; }
10876 { echo "$as_me:$LINENO: checking for -lGL" >&5
10877 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10878 if test "${ac_cv_lib_soname_GL+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 else
10881 ac_check_soname_save_LIBS=$LIBS
10882 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"
10883 cat >conftest.$ac_ext <<_ACEOF
10884 /* confdefs.h. */
10885 _ACEOF
10886 cat confdefs.h >>conftest.$ac_ext
10887 cat >>conftest.$ac_ext <<_ACEOF
10888 /* end confdefs.h. */
10890 /* Override any GCC internal prototype to avoid an error.
10891 Use char because int might match the return type of a GCC
10892 builtin and then its argument prototype would still apply. */
10893 #ifdef __cplusplus
10894 extern "C"
10895 #endif
10896 char glXCreateContext ();
10898 main ()
10900 return glXCreateContext ();
10902 return 0;
10904 _ACEOF
10905 rm -f conftest.$ac_objext conftest$ac_exeext
10906 if { (ac_try="$ac_link"
10907 case "(($ac_try" in
10908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10909 *) ac_try_echo=$ac_try;;
10910 esac
10911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10912 (eval "$ac_link") 2>conftest.er1
10913 ac_status=$?
10914 grep -v '^ *+' conftest.er1 >conftest.err
10915 rm -f conftest.er1
10916 cat conftest.err >&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } && {
10919 test -z "$ac_c_werror_flag" ||
10920 test ! -s conftest.err
10921 } && test -s conftest$ac_exeext &&
10922 $as_test_x conftest$ac_exeext; then
10923 case "$LIBEXT" in
10924 dll) ;;
10925 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'` ;;
10926 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10927 esac
10928 else
10929 echo "$as_me: failed program was:" >&5
10930 sed 's/^/| /' conftest.$ac_ext >&5
10935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10936 conftest$ac_exeext conftest.$ac_ext
10937 LIBS=$ac_check_soname_save_LIBS
10939 if test "x$ac_cv_lib_soname_GL" = "x"; then
10940 { echo "$as_me:$LINENO: result: not found" >&5
10941 echo "${ECHO_T}not found" >&6; }
10942 if test -f /usr/X11R6/lib/libGL.a
10943 then
10944 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10945 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10946 else
10947 opengl_msg="No OpenGL library found on this system."
10949 else
10950 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10951 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10953 cat >>confdefs.h <<_ACEOF
10954 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10955 _ACEOF
10957 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"
10958 OPENGLFILES='$(OPENGLFILES)'
10960 cat >>confdefs.h <<\_ACEOF
10961 #define HAVE_OPENGL 1
10962 _ACEOF
10966 else
10967 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10968 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10970 cat >>confdefs.h <<_ACEOF
10971 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10972 _ACEOF
10974 OPENGL_LIBS="-lGL"
10975 OPENGLFILES='$(OPENGLFILES)'
10977 cat >>confdefs.h <<\_ACEOF
10978 #define HAVE_OPENGL 1
10979 _ACEOF
10984 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10985 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10986 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 else
10989 ac_check_lib_save_LIBS=$LIBS
10990 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10991 cat >conftest.$ac_ext <<_ACEOF
10992 /* confdefs.h. */
10993 _ACEOF
10994 cat confdefs.h >>conftest.$ac_ext
10995 cat >>conftest.$ac_ext <<_ACEOF
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char gluLookAt ();
11006 main ()
11008 return gluLookAt ();
11010 return 0;
11012 _ACEOF
11013 rm -f conftest.$ac_objext conftest$ac_exeext
11014 if { (ac_try="$ac_link"
11015 case "(($ac_try" in
11016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11017 *) ac_try_echo=$ac_try;;
11018 esac
11019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11020 (eval "$ac_link") 2>conftest.er1
11021 ac_status=$?
11022 grep -v '^ *+' conftest.er1 >conftest.err
11023 rm -f conftest.er1
11024 cat conftest.err >&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); } && {
11027 test -z "$ac_c_werror_flag" ||
11028 test ! -s conftest.err
11029 } && test -s conftest$ac_exeext &&
11030 $as_test_x conftest$ac_exeext; then
11031 ac_cv_lib_GLU_gluLookAt=yes
11032 else
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.$ac_ext >&5
11036 ac_cv_lib_GLU_gluLookAt=no
11039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11044 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11045 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11046 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11047 GLU32FILES='$(GLU32FILES)'
11051 else
11052 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11054 else
11055 opengl_msg="OpenGL development headers not found."
11058 if test -n "$opengl_msg"; then
11059 case "x$with_opengl" in
11060 x) wine_warnings="$wine_warnings|$opengl_msg
11061 OpenGL and Direct3D won't be supported." ;;
11062 xno) ;;
11063 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11064 OpenGL and Direct3D won't be supported.
11065 This is an error since --with-opengl was requested." >&5
11066 echo "$as_me: error: $opengl_msg
11067 OpenGL and Direct3D won't be supported.
11068 This is an error since --with-opengl was requested." >&2;}
11069 { (exit 1); exit 1; }; } ;;
11070 esac
11074 NASLIBS=""
11077 for ac_header in audio/audiolib.h
11079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11086 ac_res=`eval echo '${'$as_ac_Header'}'`
11087 { echo "$as_me:$LINENO: result: $ac_res" >&5
11088 echo "${ECHO_T}$ac_res" >&6; }
11089 else
11090 # Is the header compilable?
11091 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11093 cat >conftest.$ac_ext <<_ACEOF
11094 /* confdefs.h. */
11095 _ACEOF
11096 cat confdefs.h >>conftest.$ac_ext
11097 cat >>conftest.$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11099 $ac_includes_default
11100 #include <$ac_header>
11101 _ACEOF
11102 rm -f conftest.$ac_objext
11103 if { (ac_try="$ac_compile"
11104 case "(($ac_try" in
11105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11106 *) ac_try_echo=$ac_try;;
11107 esac
11108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11109 (eval "$ac_compile") 2>conftest.er1
11110 ac_status=$?
11111 grep -v '^ *+' conftest.er1 >conftest.err
11112 rm -f conftest.er1
11113 cat conftest.err >&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); } && {
11116 test -z "$ac_c_werror_flag" ||
11117 test ! -s conftest.err
11118 } && test -s conftest.$ac_objext; then
11119 ac_header_compiler=yes
11120 else
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.$ac_ext >&5
11124 ac_header_compiler=no
11127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11128 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11129 echo "${ECHO_T}$ac_header_compiler" >&6; }
11131 # Is the header present?
11132 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11134 cat >conftest.$ac_ext <<_ACEOF
11135 /* confdefs.h. */
11136 _ACEOF
11137 cat confdefs.h >>conftest.$ac_ext
11138 cat >>conftest.$ac_ext <<_ACEOF
11139 /* end confdefs.h. */
11140 #include <$ac_header>
11141 _ACEOF
11142 if { (ac_try="$ac_cpp conftest.$ac_ext"
11143 case "(($ac_try" in
11144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11145 *) ac_try_echo=$ac_try;;
11146 esac
11147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11149 ac_status=$?
11150 grep -v '^ *+' conftest.er1 >conftest.err
11151 rm -f conftest.er1
11152 cat conftest.err >&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); } >/dev/null && {
11155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11156 test ! -s conftest.err
11157 }; then
11158 ac_header_preproc=yes
11159 else
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 ac_header_preproc=no
11166 rm -f conftest.err conftest.$ac_ext
11167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11168 echo "${ECHO_T}$ac_header_preproc" >&6; }
11170 # So? What about this header?
11171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11172 yes:no: )
11173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11177 ac_header_preproc=yes
11179 no:yes:* )
11180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11192 ( cat <<\_ASBOX
11193 ## ------------------------------------ ##
11194 ## Report this to wine-devel@winehq.org ##
11195 ## ------------------------------------ ##
11196 _ASBOX
11197 ) | sed "s/^/$as_me: WARNING: /" >&2
11199 esac
11200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 else
11205 eval "$as_ac_Header=\$ac_header_preproc"
11207 ac_res=`eval echo '${'$as_ac_Header'}'`
11208 { echo "$as_me:$LINENO: result: $ac_res" >&5
11209 echo "${ECHO_T}$ac_res" >&6; }
11212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11213 cat >>confdefs.h <<_ACEOF
11214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11215 _ACEOF
11217 for ac_header in audio/soundlib.h
11219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11224 else
11225 cat >conftest.$ac_ext <<_ACEOF
11226 /* confdefs.h. */
11227 _ACEOF
11228 cat confdefs.h >>conftest.$ac_ext
11229 cat >>conftest.$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11231 #include <audio/audiolib.h>
11233 #include <$ac_header>
11234 _ACEOF
11235 rm -f conftest.$ac_objext
11236 if { (ac_try="$ac_compile"
11237 case "(($ac_try" in
11238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11239 *) ac_try_echo=$ac_try;;
11240 esac
11241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11242 (eval "$ac_compile") 2>conftest.er1
11243 ac_status=$?
11244 grep -v '^ *+' conftest.er1 >conftest.err
11245 rm -f conftest.er1
11246 cat conftest.err >&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); } && {
11249 test -z "$ac_c_werror_flag" ||
11250 test ! -s conftest.err
11251 } && test -s conftest.$ac_objext; then
11252 eval "$as_ac_Header=yes"
11253 else
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11257 eval "$as_ac_Header=no"
11260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11262 ac_res=`eval echo '${'$as_ac_Header'}'`
11263 { echo "$as_me:$LINENO: result: $ac_res" >&5
11264 echo "${ECHO_T}$ac_res" >&6; }
11265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11266 cat >>confdefs.h <<_ACEOF
11267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11268 _ACEOF
11272 done
11274 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11275 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11276 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 else
11279 ac_check_lib_save_LIBS=$LIBS
11280 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11281 cat >conftest.$ac_ext <<_ACEOF
11282 /* confdefs.h. */
11283 _ACEOF
11284 cat confdefs.h >>conftest.$ac_ext
11285 cat >>conftest.$ac_ext <<_ACEOF
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char AuCreateFlow ();
11296 main ()
11298 return AuCreateFlow ();
11300 return 0;
11302 _ACEOF
11303 rm -f conftest.$ac_objext conftest$ac_exeext
11304 if { (ac_try="$ac_link"
11305 case "(($ac_try" in
11306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11307 *) ac_try_echo=$ac_try;;
11308 esac
11309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11310 (eval "$ac_link") 2>conftest.er1
11311 ac_status=$?
11312 grep -v '^ *+' conftest.er1 >conftest.err
11313 rm -f conftest.er1
11314 cat conftest.err >&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); } && {
11317 test -z "$ac_c_werror_flag" ||
11318 test ! -s conftest.err
11319 } && test -s conftest$ac_exeext &&
11320 $as_test_x conftest$ac_exeext; then
11321 ac_cv_lib_audio_AuCreateFlow=yes
11322 else
11323 echo "$as_me: failed program was:" >&5
11324 sed 's/^/| /' conftest.$ac_ext >&5
11326 ac_cv_lib_audio_AuCreateFlow=no
11329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_lib_save_LIBS
11333 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11334 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11335 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11337 cat >>confdefs.h <<\_ACEOF
11338 #define HAVE_NAS 1
11339 _ACEOF
11341 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11342 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11343 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lXau $X_LIBS $LIBS"
11348 cat >conftest.$ac_ext <<_ACEOF
11349 /* confdefs.h. */
11350 _ACEOF
11351 cat confdefs.h >>conftest.$ac_ext
11352 cat >>conftest.$ac_ext <<_ACEOF
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char XauGetBestAuthByAddr ();
11363 main ()
11365 return XauGetBestAuthByAddr ();
11367 return 0;
11369 _ACEOF
11370 rm -f conftest.$ac_objext conftest$ac_exeext
11371 if { (ac_try="$ac_link"
11372 case "(($ac_try" in
11373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11374 *) ac_try_echo=$ac_try;;
11375 esac
11376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11377 (eval "$ac_link") 2>conftest.er1
11378 ac_status=$?
11379 grep -v '^ *+' conftest.er1 >conftest.err
11380 rm -f conftest.er1
11381 cat conftest.err >&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } && {
11384 test -z "$ac_c_werror_flag" ||
11385 test ! -s conftest.err
11386 } && test -s conftest$ac_exeext &&
11387 $as_test_x conftest$ac_exeext; then
11388 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11389 else
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.$ac_ext >&5
11393 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_lib_save_LIBS
11400 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11401 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11402 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11403 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11404 else
11405 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11413 done
11416 CPPFLAGS="$ac_save_CPPFLAGS"
11417 XFILES='$(XFILES)'
11418 else
11419 XLIB=""
11420 X_CFLAGS=""
11421 X_LIBS=""
11423 if test "x$XLIB" = "x"; then
11424 case "x$with_x" in
11425 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11426 without X support, which probably isn't what you want. You will need to install
11427 development packages of Xlib/Xfree86 at the very least." ;;
11428 xno) ;;
11429 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11430 without X support, which probably isn't what you want. You will need to install
11431 development packages of Xlib/Xfree86 at the very least.
11432 This is an error since --with-x was requested." >&5
11433 echo "$as_me: error: X development files not found. Wine will be built
11434 without X support, which probably isn't what you want. You will need to install
11435 development packages of Xlib/Xfree86 at the very least.
11436 This is an error since --with-x was requested." >&2;}
11437 { (exit 1); exit 1; }; } ;;
11438 esac
11443 XML2LIBS=""
11445 XML2INCL=""
11447 XSLTLIBS=""
11449 XSLTINCL=""
11451 if test "x$with_xml" != "xno"
11452 then
11453 ac_save_CPPFLAGS="$CPPFLAGS"
11454 if test "$PKG_CONFIG" != "false"
11455 then
11456 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11457 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11458 else
11459 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11460 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11462 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11464 for ac_header in libxml/parser.h
11466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11468 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11471 echo $ECHO_N "(cached) $ECHO_C" >&6
11473 ac_res=`eval echo '${'$as_ac_Header'}'`
11474 { echo "$as_me:$LINENO: result: $ac_res" >&5
11475 echo "${ECHO_T}$ac_res" >&6; }
11476 else
11477 # Is the header compilable?
11478 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11480 cat >conftest.$ac_ext <<_ACEOF
11481 /* confdefs.h. */
11482 _ACEOF
11483 cat confdefs.h >>conftest.$ac_ext
11484 cat >>conftest.$ac_ext <<_ACEOF
11485 /* end confdefs.h. */
11486 $ac_includes_default
11487 #include <$ac_header>
11488 _ACEOF
11489 rm -f conftest.$ac_objext
11490 if { (ac_try="$ac_compile"
11491 case "(($ac_try" in
11492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11493 *) ac_try_echo=$ac_try;;
11494 esac
11495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11496 (eval "$ac_compile") 2>conftest.er1
11497 ac_status=$?
11498 grep -v '^ *+' conftest.er1 >conftest.err
11499 rm -f conftest.er1
11500 cat conftest.err >&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); } && {
11503 test -z "$ac_c_werror_flag" ||
11504 test ! -s conftest.err
11505 } && test -s conftest.$ac_objext; then
11506 ac_header_compiler=yes
11507 else
11508 echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.$ac_ext >&5
11511 ac_header_compiler=no
11514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11515 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11516 echo "${ECHO_T}$ac_header_compiler" >&6; }
11518 # Is the header present?
11519 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11521 cat >conftest.$ac_ext <<_ACEOF
11522 /* confdefs.h. */
11523 _ACEOF
11524 cat confdefs.h >>conftest.$ac_ext
11525 cat >>conftest.$ac_ext <<_ACEOF
11526 /* end confdefs.h. */
11527 #include <$ac_header>
11528 _ACEOF
11529 if { (ac_try="$ac_cpp conftest.$ac_ext"
11530 case "(($ac_try" in
11531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11532 *) ac_try_echo=$ac_try;;
11533 esac
11534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11536 ac_status=$?
11537 grep -v '^ *+' conftest.er1 >conftest.err
11538 rm -f conftest.er1
11539 cat conftest.err >&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } >/dev/null && {
11542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11543 test ! -s conftest.err
11544 }; then
11545 ac_header_preproc=yes
11546 else
11547 echo "$as_me: failed program was:" >&5
11548 sed 's/^/| /' conftest.$ac_ext >&5
11550 ac_header_preproc=no
11553 rm -f conftest.err conftest.$ac_ext
11554 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11555 echo "${ECHO_T}$ac_header_preproc" >&6; }
11557 # So? What about this header?
11558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11559 yes:no: )
11560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11564 ac_header_preproc=yes
11566 no:yes:* )
11567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11579 ( cat <<\_ASBOX
11580 ## ------------------------------------ ##
11581 ## Report this to wine-devel@winehq.org ##
11582 ## ------------------------------------ ##
11583 _ASBOX
11584 ) | sed "s/^/$as_me: WARNING: /" >&2
11586 esac
11587 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 else
11592 eval "$as_ac_Header=\$ac_header_preproc"
11594 ac_res=`eval echo '${'$as_ac_Header'}'`
11595 { echo "$as_me:$LINENO: result: $ac_res" >&5
11596 echo "${ECHO_T}$ac_res" >&6; }
11599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11600 cat >>confdefs.h <<_ACEOF
11601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11602 _ACEOF
11603 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11604 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11605 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 else
11608 ac_check_lib_save_LIBS=$LIBS
11609 LIBS="-lxml2 $ac_xml_libs $LIBS"
11610 cat >conftest.$ac_ext <<_ACEOF
11611 /* confdefs.h. */
11612 _ACEOF
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11617 /* Override any GCC internal prototype to avoid an error.
11618 Use char because int might match the return type of a GCC
11619 builtin and then its argument prototype would still apply. */
11620 #ifdef __cplusplus
11621 extern "C"
11622 #endif
11623 char xmlParseMemory ();
11625 main ()
11627 return xmlParseMemory ();
11629 return 0;
11631 _ACEOF
11632 rm -f conftest.$ac_objext conftest$ac_exeext
11633 if { (ac_try="$ac_link"
11634 case "(($ac_try" in
11635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11636 *) ac_try_echo=$ac_try;;
11637 esac
11638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11639 (eval "$ac_link") 2>conftest.er1
11640 ac_status=$?
11641 grep -v '^ *+' conftest.er1 >conftest.err
11642 rm -f conftest.er1
11643 cat conftest.err >&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } && {
11646 test -z "$ac_c_werror_flag" ||
11647 test ! -s conftest.err
11648 } && test -s conftest$ac_exeext &&
11649 $as_test_x conftest$ac_exeext; then
11650 ac_cv_lib_xml2_xmlParseMemory=yes
11651 else
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.$ac_ext >&5
11655 ac_cv_lib_xml2_xmlParseMemory=no
11658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_lib_save_LIBS
11662 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11663 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11664 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11666 cat >>confdefs.h <<\_ACEOF
11667 #define HAVE_LIBXML2 1
11668 _ACEOF
11670 XML2LIBS="$ac_xml_libs"
11671 XML2INCL="$ac_xml_cflags"
11674 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11675 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11676 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 else
11679 ac_check_lib_save_LIBS=$LIBS
11680 LIBS="-lxml2 $ac_xml_libs $LIBS"
11681 cat >conftest.$ac_ext <<_ACEOF
11682 /* confdefs.h. */
11683 _ACEOF
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char xmlReadMemory ();
11696 main ()
11698 return xmlReadMemory ();
11700 return 0;
11702 _ACEOF
11703 rm -f conftest.$ac_objext conftest$ac_exeext
11704 if { (ac_try="$ac_link"
11705 case "(($ac_try" in
11706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11707 *) ac_try_echo=$ac_try;;
11708 esac
11709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11710 (eval "$ac_link") 2>conftest.er1
11711 ac_status=$?
11712 grep -v '^ *+' conftest.er1 >conftest.err
11713 rm -f conftest.er1
11714 cat conftest.err >&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); } && {
11717 test -z "$ac_c_werror_flag" ||
11718 test ! -s conftest.err
11719 } && test -s conftest$ac_exeext &&
11720 $as_test_x conftest$ac_exeext; then
11721 ac_cv_lib_xml2_xmlReadMemory=yes
11722 else
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.$ac_ext >&5
11726 ac_cv_lib_xml2_xmlReadMemory=no
11729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11730 conftest$ac_exeext conftest.$ac_ext
11731 LIBS=$ac_check_lib_save_LIBS
11733 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11734 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11735 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11737 cat >>confdefs.h <<\_ACEOF
11738 #define HAVE_XMLREADMEMORY 1
11739 _ACEOF
11743 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11744 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11745 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11747 else
11748 ac_check_lib_save_LIBS=$LIBS
11749 LIBS="-lxml2 $ac_xml_libs $LIBS"
11750 cat >conftest.$ac_ext <<_ACEOF
11751 /* confdefs.h. */
11752 _ACEOF
11753 cat confdefs.h >>conftest.$ac_ext
11754 cat >>conftest.$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11757 /* Override any GCC internal prototype to avoid an error.
11758 Use char because int might match the return type of a GCC
11759 builtin and then its argument prototype would still apply. */
11760 #ifdef __cplusplus
11761 extern "C"
11762 #endif
11763 char xmlNewDocPI ();
11765 main ()
11767 return xmlNewDocPI ();
11769 return 0;
11771 _ACEOF
11772 rm -f conftest.$ac_objext conftest$ac_exeext
11773 if { (ac_try="$ac_link"
11774 case "(($ac_try" in
11775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11776 *) ac_try_echo=$ac_try;;
11777 esac
11778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11779 (eval "$ac_link") 2>conftest.er1
11780 ac_status=$?
11781 grep -v '^ *+' conftest.er1 >conftest.err
11782 rm -f conftest.er1
11783 cat conftest.err >&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); } && {
11786 test -z "$ac_c_werror_flag" ||
11787 test ! -s conftest.err
11788 } && test -s conftest$ac_exeext &&
11789 $as_test_x conftest$ac_exeext; then
11790 ac_cv_lib_xml2_xmlNewDocPI=yes
11791 else
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.$ac_ext >&5
11795 ac_cv_lib_xml2_xmlNewDocPI=no
11798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11799 conftest$ac_exeext conftest.$ac_ext
11800 LIBS=$ac_check_lib_save_LIBS
11802 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11803 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11804 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11806 cat >>confdefs.h <<\_ACEOF
11807 #define HAVE_XMLNEWDOCPI 1
11808 _ACEOF
11815 done
11817 CPPFLAGS="$ac_save_CPPFLAGS"
11819 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11820 case "x$with_xml" in
11821 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11822 xno) ;;
11823 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11824 This is an error since --with-xml was requested." >&5
11825 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11826 This is an error since --with-xml was requested." >&2;}
11827 { (exit 1); exit 1; }; } ;;
11828 esac
11832 if test "x$with_xslt" != "xno"
11833 then
11834 if test "$PKG_CONFIG" != "false"
11835 then
11836 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11837 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11838 else
11839 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11840 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11842 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11845 for ac_header in libxslt/pattern.h libxslt/transform.h
11847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11852 else
11853 cat >conftest.$ac_ext <<_ACEOF
11854 /* confdefs.h. */
11855 _ACEOF
11856 cat confdefs.h >>conftest.$ac_ext
11857 cat >>conftest.$ac_ext <<_ACEOF
11858 /* end confdefs.h. */
11859 #ifdef HAVE_LIBXSLT_PATTERN_H
11860 # include <libxslt/pattern.h>
11861 #endif
11863 #include <$ac_header>
11864 _ACEOF
11865 rm -f conftest.$ac_objext
11866 if { (ac_try="$ac_compile"
11867 case "(($ac_try" in
11868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11869 *) ac_try_echo=$ac_try;;
11870 esac
11871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11872 (eval "$ac_compile") 2>conftest.er1
11873 ac_status=$?
11874 grep -v '^ *+' conftest.er1 >conftest.err
11875 rm -f conftest.er1
11876 cat conftest.err >&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } && {
11879 test -z "$ac_c_werror_flag" ||
11880 test ! -s conftest.err
11881 } && test -s conftest.$ac_objext; then
11882 eval "$as_ac_Header=yes"
11883 else
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.$ac_ext >&5
11887 eval "$as_ac_Header=no"
11890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11892 ac_res=`eval echo '${'$as_ac_Header'}'`
11893 { echo "$as_me:$LINENO: result: $ac_res" >&5
11894 echo "${ECHO_T}$ac_res" >&6; }
11895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11896 cat >>confdefs.h <<_ACEOF
11897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11898 _ACEOF
11899 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11900 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11901 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11902 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 else
11904 ac_check_lib_save_LIBS=$LIBS
11905 LIBS="-lxslt $ac_xslt_libs $LIBS"
11906 cat >conftest.$ac_ext <<_ACEOF
11907 /* confdefs.h. */
11908 _ACEOF
11909 cat confdefs.h >>conftest.$ac_ext
11910 cat >>conftest.$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11913 /* Override any GCC internal prototype to avoid an error.
11914 Use char because int might match the return type of a GCC
11915 builtin and then its argument prototype would still apply. */
11916 #ifdef __cplusplus
11917 extern "C"
11918 #endif
11919 char xsltCompilePattern ();
11921 main ()
11923 return xsltCompilePattern ();
11925 return 0;
11927 _ACEOF
11928 rm -f conftest.$ac_objext conftest$ac_exeext
11929 if { (ac_try="$ac_link"
11930 case "(($ac_try" in
11931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11932 *) ac_try_echo=$ac_try;;
11933 esac
11934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11935 (eval "$ac_link") 2>conftest.er1
11936 ac_status=$?
11937 grep -v '^ *+' conftest.er1 >conftest.err
11938 rm -f conftest.er1
11939 cat conftest.err >&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); } && {
11942 test -z "$ac_c_werror_flag" ||
11943 test ! -s conftest.err
11944 } && test -s conftest$ac_exeext &&
11945 $as_test_x conftest$ac_exeext; then
11946 ac_cv_lib_xslt_xsltCompilePattern=yes
11947 else
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.$ac_ext >&5
11951 ac_cv_lib_xslt_xsltCompilePattern=no
11954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_lib_save_LIBS
11958 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11959 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11960 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11962 cat >>confdefs.h <<\_ACEOF
11963 #define HAVE_LIBXSLT 1
11964 _ACEOF
11966 XSLTLIBS="$ac_xslt_libs"
11967 XSLTINCL="$ac_xslt_cflags"
11973 done
11975 CPPFLAGS="$ac_save_CPPFLAGS"
11977 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11978 case "x$with_xslt" in
11979 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11980 xno) ;;
11981 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11982 This is an error since --with-xslt was requested." >&5
11983 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11984 This is an error since --with-xslt was requested." >&2;}
11985 { (exit 1); exit 1; }; } ;;
11986 esac
11990 HALINCL=""
11992 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11993 then
11994 ac_save_CPPFLAGS="$CPPFLAGS"
11995 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11996 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11997 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12000 for ac_header in dbus/dbus.h hal/libhal.h
12002 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 ac_res=`eval echo '${'$as_ac_Header'}'`
12010 { echo "$as_me:$LINENO: result: $ac_res" >&5
12011 echo "${ECHO_T}$ac_res" >&6; }
12012 else
12013 # Is the header compilable?
12014 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12016 cat >conftest.$ac_ext <<_ACEOF
12017 /* confdefs.h. */
12018 _ACEOF
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12022 $ac_includes_default
12023 #include <$ac_header>
12024 _ACEOF
12025 rm -f conftest.$ac_objext
12026 if { (ac_try="$ac_compile"
12027 case "(($ac_try" in
12028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12029 *) ac_try_echo=$ac_try;;
12030 esac
12031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12032 (eval "$ac_compile") 2>conftest.er1
12033 ac_status=$?
12034 grep -v '^ *+' conftest.er1 >conftest.err
12035 rm -f conftest.er1
12036 cat conftest.err >&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } && {
12039 test -z "$ac_c_werror_flag" ||
12040 test ! -s conftest.err
12041 } && test -s conftest.$ac_objext; then
12042 ac_header_compiler=yes
12043 else
12044 echo "$as_me: failed program was:" >&5
12045 sed 's/^/| /' conftest.$ac_ext >&5
12047 ac_header_compiler=no
12050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12051 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12052 echo "${ECHO_T}$ac_header_compiler" >&6; }
12054 # Is the header present?
12055 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12057 cat >conftest.$ac_ext <<_ACEOF
12058 /* confdefs.h. */
12059 _ACEOF
12060 cat confdefs.h >>conftest.$ac_ext
12061 cat >>conftest.$ac_ext <<_ACEOF
12062 /* end confdefs.h. */
12063 #include <$ac_header>
12064 _ACEOF
12065 if { (ac_try="$ac_cpp conftest.$ac_ext"
12066 case "(($ac_try" in
12067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12068 *) ac_try_echo=$ac_try;;
12069 esac
12070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12072 ac_status=$?
12073 grep -v '^ *+' conftest.er1 >conftest.err
12074 rm -f conftest.er1
12075 cat conftest.err >&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } >/dev/null && {
12078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12079 test ! -s conftest.err
12080 }; then
12081 ac_header_preproc=yes
12082 else
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.$ac_ext >&5
12086 ac_header_preproc=no
12089 rm -f conftest.err conftest.$ac_ext
12090 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12091 echo "${ECHO_T}$ac_header_preproc" >&6; }
12093 # So? What about this header?
12094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12095 yes:no: )
12096 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12099 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12100 ac_header_preproc=yes
12102 no:yes:* )
12103 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12104 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12105 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12106 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12107 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12108 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12109 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12110 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12113 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12114 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12115 ( cat <<\_ASBOX
12116 ## ------------------------------------ ##
12117 ## Report this to wine-devel@winehq.org ##
12118 ## ------------------------------------ ##
12119 _ASBOX
12120 ) | sed "s/^/$as_me: WARNING: /" >&2
12122 esac
12123 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 else
12128 eval "$as_ac_Header=\$ac_header_preproc"
12130 ac_res=`eval echo '${'$as_ac_Header'}'`
12131 { echo "$as_me:$LINENO: result: $ac_res" >&5
12132 echo "${ECHO_T}$ac_res" >&6; }
12135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12136 cat >>confdefs.h <<_ACEOF
12137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12138 _ACEOF
12142 done
12144 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12145 then
12146 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12147 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12148 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12149 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 else
12151 ac_check_lib_save_LIBS=$LIBS
12152 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12153 cat >conftest.$ac_ext <<_ACEOF
12154 /* confdefs.h. */
12155 _ACEOF
12156 cat confdefs.h >>conftest.$ac_ext
12157 cat >>conftest.$ac_ext <<_ACEOF
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char dbus_connection_close ();
12168 main ()
12170 return dbus_connection_close ();
12172 return 0;
12174 _ACEOF
12175 rm -f conftest.$ac_objext conftest$ac_exeext
12176 if { (ac_try="$ac_link"
12177 case "(($ac_try" in
12178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12179 *) ac_try_echo=$ac_try;;
12180 esac
12181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12182 (eval "$ac_link") 2>conftest.er1
12183 ac_status=$?
12184 grep -v '^ *+' conftest.er1 >conftest.err
12185 rm -f conftest.er1
12186 cat conftest.err >&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } && {
12189 test -z "$ac_c_werror_flag" ||
12190 test ! -s conftest.err
12191 } && test -s conftest$ac_exeext &&
12192 $as_test_x conftest$ac_exeext; then
12193 ac_cv_lib_dbus_1_dbus_connection_close=yes
12194 else
12195 echo "$as_me: failed program was:" >&5
12196 sed 's/^/| /' conftest.$ac_ext >&5
12198 ac_cv_lib_dbus_1_dbus_connection_close=no
12201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12202 conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_lib_save_LIBS
12205 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12206 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12207 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12208 { echo "$as_me:$LINENO: checking for -lhal" >&5
12209 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12210 if test "${ac_cv_lib_soname_hal+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 else
12213 ac_check_soname_save_LIBS=$LIBS
12214 LIBS="-lhal $ac_hal_libs $LIBS"
12215 cat >conftest.$ac_ext <<_ACEOF
12216 /* confdefs.h. */
12217 _ACEOF
12218 cat confdefs.h >>conftest.$ac_ext
12219 cat >>conftest.$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12225 #ifdef __cplusplus
12226 extern "C"
12227 #endif
12228 char libhal_ctx_new ();
12230 main ()
12232 return libhal_ctx_new ();
12234 return 0;
12236 _ACEOF
12237 rm -f conftest.$ac_objext conftest$ac_exeext
12238 if { (ac_try="$ac_link"
12239 case "(($ac_try" in
12240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12241 *) ac_try_echo=$ac_try;;
12242 esac
12243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12244 (eval "$ac_link") 2>conftest.er1
12245 ac_status=$?
12246 grep -v '^ *+' conftest.er1 >conftest.err
12247 rm -f conftest.er1
12248 cat conftest.err >&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } && {
12251 test -z "$ac_c_werror_flag" ||
12252 test ! -s conftest.err
12253 } && test -s conftest$ac_exeext &&
12254 $as_test_x conftest$ac_exeext; then
12255 case "$LIBEXT" in
12256 dll) ;;
12257 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'` ;;
12258 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12259 esac
12260 else
12261 echo "$as_me: failed program was:" >&5
12262 sed 's/^/| /' conftest.$ac_ext >&5
12267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12268 conftest$ac_exeext conftest.$ac_ext
12269 LIBS=$ac_check_soname_save_LIBS
12271 if test "x$ac_cv_lib_soname_hal" = "x"; then
12272 { echo "$as_me:$LINENO: result: not found" >&5
12273 echo "${ECHO_T}not found" >&6; }
12275 else
12276 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12277 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12279 cat >>confdefs.h <<_ACEOF
12280 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12281 _ACEOF
12283 HALINCL="$ac_hal_cflags"
12289 CPPFLAGS="$ac_save_CPPFLAGS"
12291 if test "x$ac_cv_lib_soname_hal" = "x"; then
12292 case "x$with_hal" in
12293 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12294 xno) ;;
12295 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12296 This is an error since --with-hal was requested." >&5
12297 echo "$as_me: error: libhal development files not found, no dynamic device support.
12298 This is an error since --with-hal was requested." >&2;}
12299 { (exit 1); exit 1; }; } ;;
12300 esac
12304 CURSESLIBS=""
12305 if test "$ac_cv_header_ncurses_h" = "yes"
12306 then
12307 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12308 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12309 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12310 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 else
12312 ac_check_soname_save_LIBS=$LIBS
12313 LIBS="-lncurses $LIBS"
12314 cat >conftest.$ac_ext <<_ACEOF
12315 /* confdefs.h. */
12316 _ACEOF
12317 cat confdefs.h >>conftest.$ac_ext
12318 cat >>conftest.$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 #ifdef __cplusplus
12325 extern "C"
12326 #endif
12327 char waddch ();
12329 main ()
12331 return waddch ();
12333 return 0;
12335 _ACEOF
12336 rm -f conftest.$ac_objext conftest$ac_exeext
12337 if { (ac_try="$ac_link"
12338 case "(($ac_try" in
12339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12340 *) ac_try_echo=$ac_try;;
12341 esac
12342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12343 (eval "$ac_link") 2>conftest.er1
12344 ac_status=$?
12345 grep -v '^ *+' conftest.er1 >conftest.err
12346 rm -f conftest.er1
12347 cat conftest.err >&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } && {
12350 test -z "$ac_c_werror_flag" ||
12351 test ! -s conftest.err
12352 } && test -s conftest$ac_exeext &&
12353 $as_test_x conftest$ac_exeext; then
12354 case "$LIBEXT" in
12355 dll) ;;
12356 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'` ;;
12357 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12358 esac
12359 else
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.$ac_ext >&5
12366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12367 conftest$ac_exeext conftest.$ac_ext
12368 LIBS=$ac_check_soname_save_LIBS
12370 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12371 { echo "$as_me:$LINENO: result: not found" >&5
12372 echo "${ECHO_T}not found" >&6; }
12374 else
12375 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12376 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12378 cat >>confdefs.h <<_ACEOF
12379 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12380 _ACEOF
12382 CURSESLIBS="-lncurses"
12385 elif test "$ac_cv_header_curses_h" = "yes"
12386 then
12387 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12388 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12389 if test "${ac_cv_lib_soname_curses+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 else
12392 ac_check_soname_save_LIBS=$LIBS
12393 LIBS="-lcurses $LIBS"
12394 cat >conftest.$ac_ext <<_ACEOF
12395 /* confdefs.h. */
12396 _ACEOF
12397 cat confdefs.h >>conftest.$ac_ext
12398 cat >>conftest.$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char waddch ();
12409 main ()
12411 return waddch ();
12413 return 0;
12415 _ACEOF
12416 rm -f conftest.$ac_objext conftest$ac_exeext
12417 if { (ac_try="$ac_link"
12418 case "(($ac_try" in
12419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12420 *) ac_try_echo=$ac_try;;
12421 esac
12422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12423 (eval "$ac_link") 2>conftest.er1
12424 ac_status=$?
12425 grep -v '^ *+' conftest.er1 >conftest.err
12426 rm -f conftest.er1
12427 cat conftest.err >&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } && {
12430 test -z "$ac_c_werror_flag" ||
12431 test ! -s conftest.err
12432 } && test -s conftest$ac_exeext &&
12433 $as_test_x conftest$ac_exeext; then
12434 case "$LIBEXT" in
12435 dll) ;;
12436 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'` ;;
12437 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12438 esac
12439 else
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_soname_save_LIBS
12450 if test "x$ac_cv_lib_soname_curses" = "x"; then
12451 { echo "$as_me:$LINENO: result: not found" >&5
12452 echo "${ECHO_T}not found" >&6; }
12454 else
12455 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12456 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12458 cat >>confdefs.h <<_ACEOF
12459 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12460 _ACEOF
12462 CURSESLIBS="-lcurses"
12466 ac_save_LIBS="$LIBS"
12467 LIBS="$LIBS $CURSESLIBS"
12469 for ac_func in mousemask
12471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 else
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12485 #define $ac_func innocuous_$ac_func
12487 /* System header to define __stub macros and hopefully few prototypes,
12488 which can conflict with char $ac_func (); below.
12489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12490 <limits.h> exists even on freestanding compilers. */
12492 #ifdef __STDC__
12493 # include <limits.h>
12494 #else
12495 # include <assert.h>
12496 #endif
12498 #undef $ac_func
12500 /* Override any GCC internal prototype to avoid an error.
12501 Use char because int might match the return type of a GCC
12502 builtin and then its argument prototype would still apply. */
12503 #ifdef __cplusplus
12504 extern "C"
12505 #endif
12506 char $ac_func ();
12507 /* The GNU C library defines this for functions which it implements
12508 to always fail with ENOSYS. Some functions are actually named
12509 something starting with __ and the normal name is an alias. */
12510 #if defined __stub_$ac_func || defined __stub___$ac_func
12511 choke me
12512 #endif
12515 main ()
12517 return $ac_func ();
12519 return 0;
12521 _ACEOF
12522 rm -f conftest.$ac_objext conftest$ac_exeext
12523 if { (ac_try="$ac_link"
12524 case "(($ac_try" in
12525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12526 *) ac_try_echo=$ac_try;;
12527 esac
12528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12529 (eval "$ac_link") 2>conftest.er1
12530 ac_status=$?
12531 grep -v '^ *+' conftest.er1 >conftest.err
12532 rm -f conftest.er1
12533 cat conftest.err >&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); } && {
12536 test -z "$ac_c_werror_flag" ||
12537 test ! -s conftest.err
12538 } && test -s conftest$ac_exeext &&
12539 $as_test_x conftest$ac_exeext; then
12540 eval "$as_ac_var=yes"
12541 else
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.$ac_ext >&5
12545 eval "$as_ac_var=no"
12548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12549 conftest$ac_exeext conftest.$ac_ext
12551 ac_res=`eval echo '${'$as_ac_var'}'`
12552 { echo "$as_me:$LINENO: result: $ac_res" >&5
12553 echo "${ECHO_T}$ac_res" >&6; }
12554 if test `eval echo '${'$as_ac_var'}'` = yes; then
12555 cat >>confdefs.h <<_ACEOF
12556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12557 _ACEOF
12560 done
12562 LIBS="$ac_save_LIBS"
12563 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12564 case "x$with_curses" in
12565 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12566 xno) ;;
12567 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12568 This is an error since --with-curses was requested." >&5
12569 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12570 This is an error since --with-curses was requested." >&2;}
12571 { (exit 1); exit 1; }; } ;;
12572 esac
12576 # Extract the first word of "sane-config", so it can be a program name with args.
12577 set dummy sane-config; ac_word=$2
12578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12580 if test "${ac_cv_prog_sane_devel+set}" = set; then
12581 echo $ECHO_N "(cached) $ECHO_C" >&6
12582 else
12583 if test -n "$sane_devel"; then
12584 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12585 else
12586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12587 for as_dir in $PATH
12589 IFS=$as_save_IFS
12590 test -z "$as_dir" && as_dir=.
12591 for ac_exec_ext in '' $ac_executable_extensions; do
12592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12593 ac_cv_prog_sane_devel="sane-config"
12594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12595 break 2
12597 done
12598 done
12599 IFS=$as_save_IFS
12601 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12604 sane_devel=$ac_cv_prog_sane_devel
12605 if test -n "$sane_devel"; then
12606 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12607 echo "${ECHO_T}$sane_devel" >&6; }
12608 else
12609 { echo "$as_me:$LINENO: result: no" >&5
12610 echo "${ECHO_T}no" >&6; }
12614 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12615 then
12616 ac_sane_incl="`$sane_devel --cflags`"
12617 ac_save_CPPFLAGS="$CPPFLAGS"
12618 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12619 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12620 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12621 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12622 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12626 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12627 else
12628 # Is the header compilable?
12629 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12630 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 $ac_includes_default
12638 #include <sane/sane.h>
12639 _ACEOF
12640 rm -f conftest.$ac_objext
12641 if { (ac_try="$ac_compile"
12642 case "(($ac_try" in
12643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12644 *) ac_try_echo=$ac_try;;
12645 esac
12646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12647 (eval "$ac_compile") 2>conftest.er1
12648 ac_status=$?
12649 grep -v '^ *+' conftest.er1 >conftest.err
12650 rm -f conftest.er1
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } && {
12654 test -z "$ac_c_werror_flag" ||
12655 test ! -s conftest.err
12656 } && test -s conftest.$ac_objext; then
12657 ac_header_compiler=yes
12658 else
12659 echo "$as_me: failed program was:" >&5
12660 sed 's/^/| /' conftest.$ac_ext >&5
12662 ac_header_compiler=no
12665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12666 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12667 echo "${ECHO_T}$ac_header_compiler" >&6; }
12669 # Is the header present?
12670 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12671 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12672 cat >conftest.$ac_ext <<_ACEOF
12673 /* confdefs.h. */
12674 _ACEOF
12675 cat confdefs.h >>conftest.$ac_ext
12676 cat >>conftest.$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12678 #include <sane/sane.h>
12679 _ACEOF
12680 if { (ac_try="$ac_cpp conftest.$ac_ext"
12681 case "(($ac_try" in
12682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 *) ac_try_echo=$ac_try;;
12684 esac
12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } >/dev/null && {
12693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12694 test ! -s conftest.err
12695 }; then
12696 ac_header_preproc=yes
12697 else
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.$ac_ext >&5
12701 ac_header_preproc=no
12704 rm -f conftest.err conftest.$ac_ext
12705 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12706 echo "${ECHO_T}$ac_header_preproc" >&6; }
12708 # So? What about this header?
12709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12710 yes:no: )
12711 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12712 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12713 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12714 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12715 ac_header_preproc=yes
12717 no:yes:* )
12718 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12719 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12720 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12721 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12722 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12723 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12724 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12725 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12726 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12727 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12728 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12729 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12730 ( cat <<\_ASBOX
12731 ## ------------------------------------ ##
12732 ## Report this to wine-devel@winehq.org ##
12733 ## ------------------------------------ ##
12734 _ASBOX
12735 ) | sed "s/^/$as_me: WARNING: /" >&2
12737 esac
12738 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12739 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12740 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 else
12743 ac_cv_header_sane_sane_h=$ac_header_preproc
12745 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12746 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12749 if test $ac_cv_header_sane_sane_h = yes; then
12750 { echo "$as_me:$LINENO: checking for -lsane" >&5
12751 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12752 if test "${ac_cv_lib_soname_sane+set}" = set; then
12753 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 else
12755 ac_check_soname_save_LIBS=$LIBS
12756 LIBS="-lsane $LIBS"
12757 cat >conftest.$ac_ext <<_ACEOF
12758 /* confdefs.h. */
12759 _ACEOF
12760 cat confdefs.h >>conftest.$ac_ext
12761 cat >>conftest.$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12764 /* Override any GCC internal prototype to avoid an error.
12765 Use char because int might match the return type of a GCC
12766 builtin and then its argument prototype would still apply. */
12767 #ifdef __cplusplus
12768 extern "C"
12769 #endif
12770 char sane_init ();
12772 main ()
12774 return sane_init ();
12776 return 0;
12778 _ACEOF
12779 rm -f conftest.$ac_objext conftest$ac_exeext
12780 if { (ac_try="$ac_link"
12781 case "(($ac_try" in
12782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12783 *) ac_try_echo=$ac_try;;
12784 esac
12785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12786 (eval "$ac_link") 2>conftest.er1
12787 ac_status=$?
12788 grep -v '^ *+' conftest.er1 >conftest.err
12789 rm -f conftest.er1
12790 cat conftest.err >&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); } && {
12793 test -z "$ac_c_werror_flag" ||
12794 test ! -s conftest.err
12795 } && test -s conftest$ac_exeext &&
12796 $as_test_x conftest$ac_exeext; then
12797 case "$LIBEXT" in
12798 dll) ;;
12799 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'` ;;
12800 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12801 esac
12802 else
12803 echo "$as_me: failed program was:" >&5
12804 sed 's/^/| /' conftest.$ac_ext >&5
12809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12810 conftest$ac_exeext conftest.$ac_ext
12811 LIBS=$ac_check_soname_save_LIBS
12813 if test "x$ac_cv_lib_soname_sane" = "x"; then
12814 { echo "$as_me:$LINENO: result: not found" >&5
12815 echo "${ECHO_T}not found" >&6; }
12817 else
12818 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12819 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12821 cat >>confdefs.h <<_ACEOF
12822 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12823 _ACEOF
12825 SANEINCL="$ac_sane_incl"
12832 CPPFLAGS="$ac_save_CPPFLAGS"
12834 if test "x$ac_cv_lib_soname_sane" = "x"; then
12835 case "x$with_sane" in
12836 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12837 xno) ;;
12838 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12839 This is an error since --with-sane was requested." >&5
12840 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12841 This is an error since --with-sane was requested." >&2;}
12842 { (exit 1); exit 1; }; } ;;
12843 esac
12847 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12848 set dummy gphoto2-config; ac_word=$2
12849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12851 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12852 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 else
12854 if test -n "$gphoto2_devel"; then
12855 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12856 else
12857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12858 for as_dir in $PATH
12860 IFS=$as_save_IFS
12861 test -z "$as_dir" && as_dir=.
12862 for ac_exec_ext in '' $ac_executable_extensions; do
12863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12864 ac_cv_prog_gphoto2_devel="gphoto2-config"
12865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12866 break 2
12868 done
12869 done
12870 IFS=$as_save_IFS
12872 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12875 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12876 if test -n "$gphoto2_devel"; then
12877 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12878 echo "${ECHO_T}$gphoto2_devel" >&6; }
12879 else
12880 { echo "$as_me:$LINENO: result: no" >&5
12881 echo "${ECHO_T}no" >&6; }
12885 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12886 set dummy gphoto2-port-config; ac_word=$2
12887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12889 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12890 echo $ECHO_N "(cached) $ECHO_C" >&6
12891 else
12892 if test -n "$gphoto2port_devel"; then
12893 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12894 else
12895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12896 for as_dir in $PATH
12898 IFS=$as_save_IFS
12899 test -z "$as_dir" && as_dir=.
12900 for ac_exec_ext in '' $ac_executable_extensions; do
12901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12902 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12904 break 2
12906 done
12907 done
12908 IFS=$as_save_IFS
12910 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12913 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12914 if test -n "$gphoto2port_devel"; then
12915 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12916 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12917 else
12918 { echo "$as_me:$LINENO: result: no" >&5
12919 echo "${ECHO_T}no" >&6; }
12923 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12924 then
12925 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12926 ac_gphoto2_libs=""
12927 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12929 case "$i" in
12930 -L/usr/lib|-L/usr/lib64) ;;
12931 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12932 esac
12933 done
12934 ac_save_CPPFLAGS="$CPPFLAGS"
12935 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12936 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12937 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12938 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12939 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6
12942 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12943 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12944 else
12945 # Is the header compilable?
12946 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12947 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12948 cat >conftest.$ac_ext <<_ACEOF
12949 /* confdefs.h. */
12950 _ACEOF
12951 cat confdefs.h >>conftest.$ac_ext
12952 cat >>conftest.$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12954 $ac_includes_default
12955 #include <gphoto2-camera.h>
12956 _ACEOF
12957 rm -f conftest.$ac_objext
12958 if { (ac_try="$ac_compile"
12959 case "(($ac_try" in
12960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12961 *) ac_try_echo=$ac_try;;
12962 esac
12963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12964 (eval "$ac_compile") 2>conftest.er1
12965 ac_status=$?
12966 grep -v '^ *+' conftest.er1 >conftest.err
12967 rm -f conftest.er1
12968 cat conftest.err >&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); } && {
12971 test -z "$ac_c_werror_flag" ||
12972 test ! -s conftest.err
12973 } && test -s conftest.$ac_objext; then
12974 ac_header_compiler=yes
12975 else
12976 echo "$as_me: failed program was:" >&5
12977 sed 's/^/| /' conftest.$ac_ext >&5
12979 ac_header_compiler=no
12982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12983 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12984 echo "${ECHO_T}$ac_header_compiler" >&6; }
12986 # Is the header present?
12987 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12988 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12989 cat >conftest.$ac_ext <<_ACEOF
12990 /* confdefs.h. */
12991 _ACEOF
12992 cat confdefs.h >>conftest.$ac_ext
12993 cat >>conftest.$ac_ext <<_ACEOF
12994 /* end confdefs.h. */
12995 #include <gphoto2-camera.h>
12996 _ACEOF
12997 if { (ac_try="$ac_cpp conftest.$ac_ext"
12998 case "(($ac_try" in
12999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13000 *) ac_try_echo=$ac_try;;
13001 esac
13002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13004 ac_status=$?
13005 grep -v '^ *+' conftest.er1 >conftest.err
13006 rm -f conftest.er1
13007 cat conftest.err >&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); } >/dev/null && {
13010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13011 test ! -s conftest.err
13012 }; then
13013 ac_header_preproc=yes
13014 else
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13018 ac_header_preproc=no
13021 rm -f conftest.err conftest.$ac_ext
13022 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13023 echo "${ECHO_T}$ac_header_preproc" >&6; }
13025 # So? What about this header?
13026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13027 yes:no: )
13028 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13029 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13030 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13031 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13032 ac_header_preproc=yes
13034 no:yes:* )
13035 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13036 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13037 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13038 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13039 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13040 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13041 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13042 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13043 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13044 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13045 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13046 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13047 ( cat <<\_ASBOX
13048 ## ------------------------------------ ##
13049 ## Report this to wine-devel@winehq.org ##
13050 ## ------------------------------------ ##
13051 _ASBOX
13052 ) | sed "s/^/$as_me: WARNING: /" >&2
13054 esac
13055 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13056 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13057 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13059 else
13060 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13062 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13063 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13066 if test $ac_cv_header_gphoto2_camera_h = yes; then
13067 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13068 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13069 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13070 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 else
13072 ac_check_lib_save_LIBS=$LIBS
13073 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13074 cat >conftest.$ac_ext <<_ACEOF
13075 /* confdefs.h. */
13076 _ACEOF
13077 cat confdefs.h >>conftest.$ac_ext
13078 cat >>conftest.$ac_ext <<_ACEOF
13079 /* end confdefs.h. */
13081 /* Override any GCC internal prototype to avoid an error.
13082 Use char because int might match the return type of a GCC
13083 builtin and then its argument prototype would still apply. */
13084 #ifdef __cplusplus
13085 extern "C"
13086 #endif
13087 char gp_camera_new ();
13089 main ()
13091 return gp_camera_new ();
13093 return 0;
13095 _ACEOF
13096 rm -f conftest.$ac_objext conftest$ac_exeext
13097 if { (ac_try="$ac_link"
13098 case "(($ac_try" in
13099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13100 *) ac_try_echo=$ac_try;;
13101 esac
13102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13103 (eval "$ac_link") 2>conftest.er1
13104 ac_status=$?
13105 grep -v '^ *+' conftest.er1 >conftest.err
13106 rm -f conftest.er1
13107 cat conftest.err >&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); } && {
13110 test -z "$ac_c_werror_flag" ||
13111 test ! -s conftest.err
13112 } && test -s conftest$ac_exeext &&
13113 $as_test_x conftest$ac_exeext; then
13114 ac_cv_lib_gphoto2_gp_camera_new=yes
13115 else
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.$ac_ext >&5
13119 ac_cv_lib_gphoto2_gp_camera_new=no
13122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13123 conftest$ac_exeext conftest.$ac_ext
13124 LIBS=$ac_check_lib_save_LIBS
13126 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13127 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13128 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13130 cat >>confdefs.h <<\_ACEOF
13131 #define HAVE_GPHOTO2 1
13132 _ACEOF
13134 GPHOTO2LIBS="$ac_gphoto2_libs"
13136 GPHOTO2INCL="$ac_gphoto2_incl"
13143 CPPFLAGS="$ac_save_CPPFLAGS"
13145 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13146 case "x$with_gphoto" in
13147 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13148 xno) ;;
13149 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13150 This is an error since --with-gphoto was requested." >&5
13151 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13152 This is an error since --with-gphoto was requested." >&2;}
13153 { (exit 1); exit 1; }; } ;;
13154 esac
13159 RESOLVLIBS=""
13161 if test "$ac_cv_header_resolv_h" = "yes"
13162 then
13163 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13164 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13165 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 else
13168 ac_check_lib_save_LIBS=$LIBS
13169 LIBS="-lresolv $LIBS"
13170 cat >conftest.$ac_ext <<_ACEOF
13171 /* confdefs.h. */
13172 _ACEOF
13173 cat confdefs.h >>conftest.$ac_ext
13174 cat >>conftest.$ac_ext <<_ACEOF
13175 /* end confdefs.h. */
13177 /* Override any GCC internal prototype to avoid an error.
13178 Use char because int might match the return type of a GCC
13179 builtin and then its argument prototype would still apply. */
13180 #ifdef __cplusplus
13181 extern "C"
13182 #endif
13183 char res_query ();
13185 main ()
13187 return res_query ();
13189 return 0;
13191 _ACEOF
13192 rm -f conftest.$ac_objext conftest$ac_exeext
13193 if { (ac_try="$ac_link"
13194 case "(($ac_try" in
13195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13196 *) ac_try_echo=$ac_try;;
13197 esac
13198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13199 (eval "$ac_link") 2>conftest.er1
13200 ac_status=$?
13201 grep -v '^ *+' conftest.er1 >conftest.err
13202 rm -f conftest.er1
13203 cat conftest.err >&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } && {
13206 test -z "$ac_c_werror_flag" ||
13207 test ! -s conftest.err
13208 } && test -s conftest$ac_exeext &&
13209 $as_test_x conftest$ac_exeext; then
13210 ac_cv_lib_resolv_res_query=yes
13211 else
13212 echo "$as_me: failed program was:" >&5
13213 sed 's/^/| /' conftest.$ac_ext >&5
13215 ac_cv_lib_resolv_res_query=no
13218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13219 conftest$ac_exeext conftest.$ac_ext
13220 LIBS=$ac_check_lib_save_LIBS
13222 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13223 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13224 if test $ac_cv_lib_resolv_res_query = yes; then
13226 cat >>confdefs.h <<\_ACEOF
13227 #define HAVE_RESOLV 1
13228 _ACEOF
13230 RESOLVLIBS="-lresolv"
13235 LCMSLIBS=""
13237 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13238 then
13239 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13240 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13241 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 else
13244 ac_check_lib_save_LIBS=$LIBS
13245 LIBS="-llcms $LIBS"
13246 cat >conftest.$ac_ext <<_ACEOF
13247 /* confdefs.h. */
13248 _ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13256 #ifdef __cplusplus
13257 extern "C"
13258 #endif
13259 char cmsOpenProfileFromFile ();
13261 main ()
13263 return cmsOpenProfileFromFile ();
13265 return 0;
13267 _ACEOF
13268 rm -f conftest.$ac_objext conftest$ac_exeext
13269 if { (ac_try="$ac_link"
13270 case "(($ac_try" in
13271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13272 *) ac_try_echo=$ac_try;;
13273 esac
13274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13275 (eval "$ac_link") 2>conftest.er1
13276 ac_status=$?
13277 grep -v '^ *+' conftest.er1 >conftest.err
13278 rm -f conftest.er1
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } && {
13282 test -z "$ac_c_werror_flag" ||
13283 test ! -s conftest.err
13284 } && test -s conftest$ac_exeext &&
13285 $as_test_x conftest$ac_exeext; then
13286 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13287 else
13288 echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.$ac_ext >&5
13291 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13295 conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_lib_save_LIBS
13298 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13299 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13300 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13302 cat >>confdefs.h <<\_ACEOF
13303 #define HAVE_LCMS 1
13304 _ACEOF
13306 LCMSLIBS="-llcms"
13310 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13311 case "x$with_cms" in
13312 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13313 xno) ;;
13314 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13315 This is an error since --with-cms was requested." >&5
13316 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13317 This is an error since --with-cms was requested." >&2;}
13318 { (exit 1); exit 1; }; } ;;
13319 esac
13323 LDAPLIBS=""
13325 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13326 then
13327 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13328 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13329 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13330 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 else
13332 ac_check_lib_save_LIBS=$LIBS
13333 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13334 cat >conftest.$ac_ext <<_ACEOF
13335 /* confdefs.h. */
13336 _ACEOF
13337 cat confdefs.h >>conftest.$ac_ext
13338 cat >>conftest.$ac_ext <<_ACEOF
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13344 #ifdef __cplusplus
13345 extern "C"
13346 #endif
13347 char ldap_initialize ();
13349 main ()
13351 return ldap_initialize ();
13353 return 0;
13355 _ACEOF
13356 rm -f conftest.$ac_objext conftest$ac_exeext
13357 if { (ac_try="$ac_link"
13358 case "(($ac_try" in
13359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13360 *) ac_try_echo=$ac_try;;
13361 esac
13362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13363 (eval "$ac_link") 2>conftest.er1
13364 ac_status=$?
13365 grep -v '^ *+' conftest.er1 >conftest.err
13366 rm -f conftest.er1
13367 cat conftest.err >&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); } && {
13370 test -z "$ac_c_werror_flag" ||
13371 test ! -s conftest.err
13372 } && test -s conftest$ac_exeext &&
13373 $as_test_x conftest$ac_exeext; then
13374 ac_cv_lib_ldap_r_ldap_initialize=yes
13375 else
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.$ac_ext >&5
13379 ac_cv_lib_ldap_r_ldap_initialize=no
13382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13383 conftest$ac_exeext conftest.$ac_ext
13384 LIBS=$ac_check_lib_save_LIBS
13386 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13387 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13388 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13389 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13390 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13391 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 else
13394 ac_check_lib_save_LIBS=$LIBS
13395 LIBS="-llber $LIBPTHREAD $LIBS"
13396 cat >conftest.$ac_ext <<_ACEOF
13397 /* confdefs.h. */
13398 _ACEOF
13399 cat confdefs.h >>conftest.$ac_ext
13400 cat >>conftest.$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13403 /* Override any GCC internal prototype to avoid an error.
13404 Use char because int might match the return type of a GCC
13405 builtin and then its argument prototype would still apply. */
13406 #ifdef __cplusplus
13407 extern "C"
13408 #endif
13409 char ber_init ();
13411 main ()
13413 return ber_init ();
13415 return 0;
13417 _ACEOF
13418 rm -f conftest.$ac_objext conftest$ac_exeext
13419 if { (ac_try="$ac_link"
13420 case "(($ac_try" in
13421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13422 *) ac_try_echo=$ac_try;;
13423 esac
13424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13425 (eval "$ac_link") 2>conftest.er1
13426 ac_status=$?
13427 grep -v '^ *+' conftest.er1 >conftest.err
13428 rm -f conftest.er1
13429 cat conftest.err >&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } && {
13432 test -z "$ac_c_werror_flag" ||
13433 test ! -s conftest.err
13434 } && test -s conftest$ac_exeext &&
13435 $as_test_x conftest$ac_exeext; then
13436 ac_cv_lib_lber_ber_init=yes
13437 else
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13441 ac_cv_lib_lber_ber_init=no
13444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13445 conftest$ac_exeext conftest.$ac_ext
13446 LIBS=$ac_check_lib_save_LIBS
13448 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13449 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13450 if test $ac_cv_lib_lber_ber_init = yes; then
13452 cat >>confdefs.h <<\_ACEOF
13453 #define HAVE_LDAP 1
13454 _ACEOF
13456 LDAPLIBS="-lldap_r -llber"
13461 ac_wine_check_funcs_save_LIBS="$LIBS"
13462 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13471 for ac_func in \
13472 ldap_count_references \
13473 ldap_first_reference \
13474 ldap_next_reference \
13475 ldap_parse_reference \
13476 ldap_parse_sort_control \
13477 ldap_parse_sortresponse_control \
13478 ldap_parse_vlv_control \
13479 ldap_parse_vlvresponse_control
13481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487 cat >conftest.$ac_ext <<_ACEOF
13488 /* confdefs.h. */
13489 _ACEOF
13490 cat confdefs.h >>conftest.$ac_ext
13491 cat >>conftest.$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13495 #define $ac_func innocuous_$ac_func
13497 /* System header to define __stub macros and hopefully few prototypes,
13498 which can conflict with char $ac_func (); below.
13499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13500 <limits.h> exists even on freestanding compilers. */
13502 #ifdef __STDC__
13503 # include <limits.h>
13504 #else
13505 # include <assert.h>
13506 #endif
13508 #undef $ac_func
13510 /* Override any GCC internal prototype to avoid an error.
13511 Use char because int might match the return type of a GCC
13512 builtin and then its argument prototype would still apply. */
13513 #ifdef __cplusplus
13514 extern "C"
13515 #endif
13516 char $ac_func ();
13517 /* The GNU C library defines this for functions which it implements
13518 to always fail with ENOSYS. Some functions are actually named
13519 something starting with __ and the normal name is an alias. */
13520 #if defined __stub_$ac_func || defined __stub___$ac_func
13521 choke me
13522 #endif
13525 main ()
13527 return $ac_func ();
13529 return 0;
13531 _ACEOF
13532 rm -f conftest.$ac_objext conftest$ac_exeext
13533 if { (ac_try="$ac_link"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13537 esac
13538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_link") 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest$ac_exeext &&
13549 $as_test_x conftest$ac_exeext; then
13550 eval "$as_ac_var=yes"
13551 else
13552 echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13555 eval "$as_ac_var=no"
13558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13559 conftest$ac_exeext conftest.$ac_ext
13561 ac_res=`eval echo '${'$as_ac_var'}'`
13562 { echo "$as_me:$LINENO: result: $ac_res" >&5
13563 echo "${ECHO_T}$ac_res" >&6; }
13564 if test `eval echo '${'$as_ac_var'}'` = yes; then
13565 cat >>confdefs.h <<_ACEOF
13566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13567 _ACEOF
13570 done
13572 LIBS="$ac_wine_check_funcs_save_LIBS"
13574 if test "x$LDAPLIBS" = "x"; then
13575 case "x$with_ldap" in
13576 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13577 xno) ;;
13578 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13579 This is an error since --with-ldap was requested." >&5
13580 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13581 This is an error since --with-ldap was requested." >&2;}
13582 { (exit 1); exit 1; }; } ;;
13583 esac
13587 for ac_prog in freetype-config freetype2-config
13589 # Extract the first word of "$ac_prog", so it can be a program name with args.
13590 set dummy $ac_prog; ac_word=$2
13591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13593 if test "${ac_cv_prog_ft_devel+set}" = set; then
13594 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 else
13596 if test -n "$ft_devel"; then
13597 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13598 else
13599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13600 for as_dir in $PATH
13602 IFS=$as_save_IFS
13603 test -z "$as_dir" && as_dir=.
13604 for ac_exec_ext in '' $ac_executable_extensions; do
13605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13606 ac_cv_prog_ft_devel="$ac_prog"
13607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13608 break 2
13610 done
13611 done
13612 IFS=$as_save_IFS
13616 ft_devel=$ac_cv_prog_ft_devel
13617 if test -n "$ft_devel"; then
13618 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13619 echo "${ECHO_T}$ft_devel" >&6; }
13620 else
13621 { echo "$as_me:$LINENO: result: no" >&5
13622 echo "${ECHO_T}no" >&6; }
13626 test -n "$ft_devel" && break
13627 done
13628 test -n "$ft_devel" || ft_devel="false"
13630 if test "$ft_devel" != "false"
13631 then
13632 ac_freetype_libs=`$ft_devel --libs`
13633 ac_freetype_incl=`$ft_devel --cflags`
13634 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13635 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13636 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13637 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 else
13639 ac_check_soname_save_LIBS=$LIBS
13640 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13641 cat >conftest.$ac_ext <<_ACEOF
13642 /* confdefs.h. */
13643 _ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13648 /* Override any GCC internal prototype to avoid an error.
13649 Use char because int might match the return type of a GCC
13650 builtin and then its argument prototype would still apply. */
13651 #ifdef __cplusplus
13652 extern "C"
13653 #endif
13654 char FT_Init_FreeType ();
13656 main ()
13658 return FT_Init_FreeType ();
13660 return 0;
13662 _ACEOF
13663 rm -f conftest.$ac_objext conftest$ac_exeext
13664 if { (ac_try="$ac_link"
13665 case "(($ac_try" in
13666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13667 *) ac_try_echo=$ac_try;;
13668 esac
13669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13670 (eval "$ac_link") 2>conftest.er1
13671 ac_status=$?
13672 grep -v '^ *+' conftest.er1 >conftest.err
13673 rm -f conftest.er1
13674 cat conftest.err >&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } && {
13677 test -z "$ac_c_werror_flag" ||
13678 test ! -s conftest.err
13679 } && test -s conftest$ac_exeext &&
13680 $as_test_x conftest$ac_exeext; then
13681 case "$LIBEXT" in
13682 dll) ;;
13683 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'` ;;
13684 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13685 esac
13686 else
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.$ac_ext >&5
13693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13694 conftest$ac_exeext conftest.$ac_ext
13695 LIBS=$ac_check_soname_save_LIBS
13697 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13698 { echo "$as_me:$LINENO: result: not found" >&5
13699 echo "${ECHO_T}not found" >&6; }
13700 ft_lib=no
13701 else
13702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13703 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13705 cat >>confdefs.h <<_ACEOF
13706 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13707 _ACEOF
13709 ft_lib=yes
13712 if test "$ft_lib" = "yes"
13713 then
13714 ac_save_CPPFLAGS="$CPPFLAGS"
13715 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13728 for ac_header in ft2build.h \
13729 freetype/freetype.h \
13730 freetype/ftglyph.h \
13731 freetype/fttypes.h \
13732 freetype/tttables.h \
13733 freetype/ftnames.h \
13734 freetype/ftsnames.h \
13735 freetype/ttnameid.h \
13736 freetype/ftoutln.h \
13737 freetype/ftwinfnt.h \
13738 freetype/ftmodapi.h \
13739 freetype/internal/sfnt.h
13741 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13742 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 else
13747 cat >conftest.$ac_ext <<_ACEOF
13748 /* confdefs.h. */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 #ifdef HAVE_FT2BUILD_H
13754 # include <ft2build.h>
13755 #endif
13757 #include <$ac_header>
13758 _ACEOF
13759 rm -f conftest.$ac_objext
13760 if { (ac_try="$ac_compile"
13761 case "(($ac_try" in
13762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13763 *) ac_try_echo=$ac_try;;
13764 esac
13765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13766 (eval "$ac_compile") 2>conftest.er1
13767 ac_status=$?
13768 grep -v '^ *+' conftest.er1 >conftest.err
13769 rm -f conftest.er1
13770 cat conftest.err >&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } && {
13773 test -z "$ac_c_werror_flag" ||
13774 test ! -s conftest.err
13775 } && test -s conftest.$ac_objext; then
13776 eval "$as_ac_Header=yes"
13777 else
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.$ac_ext >&5
13781 eval "$as_ac_Header=no"
13784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13786 ac_res=`eval echo '${'$as_ac_Header'}'`
13787 { echo "$as_me:$LINENO: result: $ac_res" >&5
13788 echo "${ECHO_T}$ac_res" >&6; }
13789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13790 cat >>confdefs.h <<_ACEOF
13791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13792 _ACEOF
13796 done
13798 cat >conftest.$ac_ext <<_ACEOF
13799 /* confdefs.h. */
13800 _ACEOF
13801 cat confdefs.h >>conftest.$ac_ext
13802 cat >>conftest.$ac_ext <<_ACEOF
13803 /* end confdefs.h. */
13804 #include <ft2build.h>
13805 #include <freetype/fttrigon.h>
13806 _ACEOF
13807 if { (ac_try="$ac_cpp conftest.$ac_ext"
13808 case "(($ac_try" in
13809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13810 *) ac_try_echo=$ac_try;;
13811 esac
13812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13814 ac_status=$?
13815 grep -v '^ *+' conftest.er1 >conftest.err
13816 rm -f conftest.er1
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev/null && {
13820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13821 test ! -s conftest.err
13822 }; then
13824 cat >>confdefs.h <<\_ACEOF
13825 #define HAVE_FREETYPE_FTTRIGON_H 1
13826 _ACEOF
13828 wine_cv_fttrigon=yes
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13833 wine_cv_fttrigon=no
13836 rm -f conftest.err conftest.$ac_ext
13837 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13838 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13839 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 else
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <freetype/ftmodapi.h>
13850 typedef FT_TrueTypeEngineType ac__type_new_;
13852 main ()
13854 if ((ac__type_new_ *) 0)
13855 return 0;
13856 if (sizeof (ac__type_new_))
13857 return 0;
13859 return 0;
13861 _ACEOF
13862 rm -f conftest.$ac_objext
13863 if { (ac_try="$ac_compile"
13864 case "(($ac_try" in
13865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13866 *) ac_try_echo=$ac_try;;
13867 esac
13868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13869 (eval "$ac_compile") 2>conftest.er1
13870 ac_status=$?
13871 grep -v '^ *+' conftest.er1 >conftest.err
13872 rm -f conftest.er1
13873 cat conftest.err >&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); } && {
13876 test -z "$ac_c_werror_flag" ||
13877 test ! -s conftest.err
13878 } && test -s conftest.$ac_objext; then
13879 ac_cv_type_FT_TrueTypeEngineType=yes
13880 else
13881 echo "$as_me: failed program was:" >&5
13882 sed 's/^/| /' conftest.$ac_ext >&5
13884 ac_cv_type_FT_TrueTypeEngineType=no
13887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13889 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13890 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13891 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13893 cat >>confdefs.h <<_ACEOF
13894 #define HAVE_FT_TRUETYPEENGINETYPE 1
13895 _ACEOF
13900 ac_save_CFLAGS="$CFLAGS"
13901 CFLAGS="$CFLAGS $ac_freetype_libs"
13903 for ac_func in FT_Load_Sfnt_Table
13905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 else
13911 cat >conftest.$ac_ext <<_ACEOF
13912 /* confdefs.h. */
13913 _ACEOF
13914 cat confdefs.h >>conftest.$ac_ext
13915 cat >>conftest.$ac_ext <<_ACEOF
13916 /* end confdefs.h. */
13917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13919 #define $ac_func innocuous_$ac_func
13921 /* System header to define __stub macros and hopefully few prototypes,
13922 which can conflict with char $ac_func (); below.
13923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13924 <limits.h> exists even on freestanding compilers. */
13926 #ifdef __STDC__
13927 # include <limits.h>
13928 #else
13929 # include <assert.h>
13930 #endif
13932 #undef $ac_func
13934 /* Override any GCC internal prototype to avoid an error.
13935 Use char because int might match the return type of a GCC
13936 builtin and then its argument prototype would still apply. */
13937 #ifdef __cplusplus
13938 extern "C"
13939 #endif
13940 char $ac_func ();
13941 /* The GNU C library defines this for functions which it implements
13942 to always fail with ENOSYS. Some functions are actually named
13943 something starting with __ and the normal name is an alias. */
13944 #if defined __stub_$ac_func || defined __stub___$ac_func
13945 choke me
13946 #endif
13949 main ()
13951 return $ac_func ();
13953 return 0;
13955 _ACEOF
13956 rm -f conftest.$ac_objext conftest$ac_exeext
13957 if { (ac_try="$ac_link"
13958 case "(($ac_try" in
13959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13960 *) ac_try_echo=$ac_try;;
13961 esac
13962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13963 (eval "$ac_link") 2>conftest.er1
13964 ac_status=$?
13965 grep -v '^ *+' conftest.er1 >conftest.err
13966 rm -f conftest.er1
13967 cat conftest.err >&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); } && {
13970 test -z "$ac_c_werror_flag" ||
13971 test ! -s conftest.err
13972 } && test -s conftest$ac_exeext &&
13973 $as_test_x conftest$ac_exeext; then
13974 eval "$as_ac_var=yes"
13975 else
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.$ac_ext >&5
13979 eval "$as_ac_var=no"
13982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13983 conftest$ac_exeext conftest.$ac_ext
13985 ac_res=`eval echo '${'$as_ac_var'}'`
13986 { echo "$as_me:$LINENO: result: $ac_res" >&5
13987 echo "${ECHO_T}$ac_res" >&6; }
13988 if test `eval echo '${'$as_ac_var'}'` = yes; then
13989 cat >>confdefs.h <<_ACEOF
13990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13991 _ACEOF
13994 done
13996 CFLAGS="$ac_save_CFLAGS"
13997 CPPFLAGS="$ac_save_CPPFLAGS"
13998 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13999 then
14001 cat >>confdefs.h <<\_ACEOF
14002 #define HAVE_FREETYPE 1
14003 _ACEOF
14005 FREETYPELIBS="$ac_freetype_libs"
14007 FREETYPEINCL="$ac_freetype_incl"
14013 if test "x$FREETYPELIBS" = "x"
14014 then
14015 wine_warnings="$wine_warnings|FreeType development files not found.
14016 Fonts will not be built. Dialog text may be invisible or unaligned."
14017 else
14018 FONTSSUBDIRS="fonts"
14022 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14023 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14024 if test "${ac_cv_c_ppdev+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14026 else
14027 cat >conftest.$ac_ext <<_ACEOF
14028 /* confdefs.h. */
14029 _ACEOF
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033 #include <linux/ppdev.h>
14035 main ()
14037 ioctl (1,PPCLAIM,0)
14039 return 0;
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047 esac
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14050 ac_status=$?
14051 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14059 ac_cv_c_ppdev="yes"
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14064 ac_cv_c_ppdev="no"
14067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14069 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14070 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14071 if test "$ac_cv_c_ppdev" = "yes"
14072 then
14074 cat >>confdefs.h <<\_ACEOF
14075 #define HAVE_PPDEV 1
14076 _ACEOF
14080 { echo "$as_me:$LINENO: checking for va_copy" >&5
14081 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14082 if test "${ac_cv_c_va_copy+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 else
14085 cat >conftest.$ac_ext <<_ACEOF
14086 /* confdefs.h. */
14087 _ACEOF
14088 cat confdefs.h >>conftest.$ac_ext
14089 cat >>conftest.$ac_ext <<_ACEOF
14090 /* end confdefs.h. */
14091 #include <stdarg.h>
14093 main ()
14095 va_list ap1, ap2; va_copy(ap1,ap2);
14097 return 0;
14099 _ACEOF
14100 rm -f conftest.$ac_objext conftest$ac_exeext
14101 if { (ac_try="$ac_link"
14102 case "(($ac_try" in
14103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14104 *) ac_try_echo=$ac_try;;
14105 esac
14106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14107 (eval "$ac_link") 2>conftest.er1
14108 ac_status=$?
14109 grep -v '^ *+' conftest.er1 >conftest.err
14110 rm -f conftest.er1
14111 cat conftest.err >&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); } && {
14114 test -z "$ac_c_werror_flag" ||
14115 test ! -s conftest.err
14116 } && test -s conftest$ac_exeext &&
14117 $as_test_x conftest$ac_exeext; then
14118 ac_cv_c_va_copy="yes"
14119 else
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14123 ac_cv_c_va_copy="no"
14126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14127 conftest$ac_exeext conftest.$ac_ext
14130 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14131 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14132 if test "$ac_cv_c_va_copy" = "yes"
14133 then
14135 cat >>confdefs.h <<\_ACEOF
14136 #define HAVE_VA_COPY 1
14137 _ACEOF
14140 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14141 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14142 if test "${ac_cv_c___va_copy+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 else
14145 cat >conftest.$ac_ext <<_ACEOF
14146 /* confdefs.h. */
14147 _ACEOF
14148 cat confdefs.h >>conftest.$ac_ext
14149 cat >>conftest.$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14151 #include <stdarg.h>
14153 main ()
14155 va_list ap1, ap2; __va_copy(ap1,ap2);
14157 return 0;
14159 _ACEOF
14160 rm -f conftest.$ac_objext conftest$ac_exeext
14161 if { (ac_try="$ac_link"
14162 case "(($ac_try" in
14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14165 esac
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_link") 2>conftest.er1
14168 ac_status=$?
14169 grep -v '^ *+' conftest.er1 >conftest.err
14170 rm -f conftest.er1
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } && {
14174 test -z "$ac_c_werror_flag" ||
14175 test ! -s conftest.err
14176 } && test -s conftest$ac_exeext &&
14177 $as_test_x conftest$ac_exeext; then
14178 ac_cv_c___va_copy="yes"
14179 else
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.$ac_ext >&5
14183 ac_cv_c___va_copy="no"
14186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14187 conftest$ac_exeext conftest.$ac_ext
14190 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14191 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14192 if test "$ac_cv_c___va_copy" = "yes"
14193 then
14195 cat >>confdefs.h <<\_ACEOF
14196 #define HAVE___VA_COPY 1
14197 _ACEOF
14201 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14202 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14203 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14205 else
14206 cat >conftest.$ac_ext <<_ACEOF
14207 /* confdefs.h. */
14208 _ACEOF
14209 cat confdefs.h >>conftest.$ac_ext
14210 cat >>conftest.$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 #include <setjmp.h>
14214 main ()
14216 sigjmp_buf buf;
14217 sigsetjmp( buf, 1 );
14218 siglongjmp( buf, 1 );
14220 return 0;
14222 _ACEOF
14223 rm -f conftest.$ac_objext conftest$ac_exeext
14224 if { (ac_try="$ac_link"
14225 case "(($ac_try" in
14226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14227 *) ac_try_echo=$ac_try;;
14228 esac
14229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14230 (eval "$ac_link") 2>conftest.er1
14231 ac_status=$?
14232 grep -v '^ *+' conftest.er1 >conftest.err
14233 rm -f conftest.er1
14234 cat conftest.err >&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } && {
14237 test -z "$ac_c_werror_flag" ||
14238 test ! -s conftest.err
14239 } && test -s conftest$ac_exeext &&
14240 $as_test_x conftest$ac_exeext; then
14241 ac_cv_c_sigsetjmp="yes"
14242 else
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14246 ac_cv_c_sigsetjmp="no"
14249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14250 conftest$ac_exeext conftest.$ac_ext
14253 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14254 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14255 if test "$ac_cv_c_sigsetjmp" = "yes"
14256 then
14258 cat >>confdefs.h <<\_ACEOF
14259 #define HAVE_SIGSETJMP 1
14260 _ACEOF
14264 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14265 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14266 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 else
14269 cat >conftest.$ac_ext <<_ACEOF
14270 /* confdefs.h. */
14271 _ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275 #define _GNU_SOURCE
14276 #include <pthread.h>
14278 typedef pthread_rwlock_t ac__type_new_;
14280 main ()
14282 if ((ac__type_new_ *) 0)
14283 return 0;
14284 if (sizeof (ac__type_new_))
14285 return 0;
14287 return 0;
14289 _ACEOF
14290 rm -f conftest.$ac_objext
14291 if { (ac_try="$ac_compile"
14292 case "(($ac_try" in
14293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14294 *) ac_try_echo=$ac_try;;
14295 esac
14296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14297 (eval "$ac_compile") 2>conftest.er1
14298 ac_status=$?
14299 grep -v '^ *+' conftest.er1 >conftest.err
14300 rm -f conftest.er1
14301 cat conftest.err >&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); } && {
14304 test -z "$ac_c_werror_flag" ||
14305 test ! -s conftest.err
14306 } && test -s conftest.$ac_objext; then
14307 ac_cv_type_pthread_rwlock_t=yes
14308 else
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.$ac_ext >&5
14312 ac_cv_type_pthread_rwlock_t=no
14315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14317 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14318 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14319 if test $ac_cv_type_pthread_rwlock_t = yes; then
14321 cat >>confdefs.h <<_ACEOF
14322 #define HAVE_PTHREAD_RWLOCK_T 1
14323 _ACEOF
14327 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14328 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14329 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 else
14332 cat >conftest.$ac_ext <<_ACEOF
14333 /* confdefs.h. */
14334 _ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14338 #define _GNU_SOURCE
14339 #include <pthread.h>
14341 typedef pthread_rwlockattr_t ac__type_new_;
14343 main ()
14345 if ((ac__type_new_ *) 0)
14346 return 0;
14347 if (sizeof (ac__type_new_))
14348 return 0;
14350 return 0;
14352 _ACEOF
14353 rm -f conftest.$ac_objext
14354 if { (ac_try="$ac_compile"
14355 case "(($ac_try" in
14356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14358 esac
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_compile") 2>conftest.er1
14361 ac_status=$?
14362 grep -v '^ *+' conftest.er1 >conftest.err
14363 rm -f conftest.er1
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } && {
14367 test -z "$ac_c_werror_flag" ||
14368 test ! -s conftest.err
14369 } && test -s conftest.$ac_objext; then
14370 ac_cv_type_pthread_rwlockattr_t=yes
14371 else
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.$ac_ext >&5
14375 ac_cv_type_pthread_rwlockattr_t=no
14378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14380 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14381 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14382 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14384 cat >>confdefs.h <<_ACEOF
14385 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14386 _ACEOF
14392 ac_wine_check_funcs_save_LIBS="$LIBS"
14393 LIBS="$LIBS $LIBPTHREAD"
14398 for ac_func in \
14399 pthread_attr_get_np \
14400 pthread_getattr_np \
14401 pthread_get_stackaddr_np \
14402 pthread_get_stacksize_np
14404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14407 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14408 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 else
14410 cat >conftest.$ac_ext <<_ACEOF
14411 /* confdefs.h. */
14412 _ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14418 #define $ac_func innocuous_$ac_func
14420 /* System header to define __stub macros and hopefully few prototypes,
14421 which can conflict with char $ac_func (); below.
14422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14423 <limits.h> exists even on freestanding compilers. */
14425 #ifdef __STDC__
14426 # include <limits.h>
14427 #else
14428 # include <assert.h>
14429 #endif
14431 #undef $ac_func
14433 /* Override any GCC internal prototype to avoid an error.
14434 Use char because int might match the return type of a GCC
14435 builtin and then its argument prototype would still apply. */
14436 #ifdef __cplusplus
14437 extern "C"
14438 #endif
14439 char $ac_func ();
14440 /* The GNU C library defines this for functions which it implements
14441 to always fail with ENOSYS. Some functions are actually named
14442 something starting with __ and the normal name is an alias. */
14443 #if defined __stub_$ac_func || defined __stub___$ac_func
14444 choke me
14445 #endif
14448 main ()
14450 return $ac_func ();
14452 return 0;
14454 _ACEOF
14455 rm -f conftest.$ac_objext conftest$ac_exeext
14456 if { (ac_try="$ac_link"
14457 case "(($ac_try" in
14458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14459 *) ac_try_echo=$ac_try;;
14460 esac
14461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14462 (eval "$ac_link") 2>conftest.er1
14463 ac_status=$?
14464 grep -v '^ *+' conftest.er1 >conftest.err
14465 rm -f conftest.er1
14466 cat conftest.err >&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); } && {
14469 test -z "$ac_c_werror_flag" ||
14470 test ! -s conftest.err
14471 } && test -s conftest$ac_exeext &&
14472 $as_test_x conftest$ac_exeext; then
14473 eval "$as_ac_var=yes"
14474 else
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.$ac_ext >&5
14478 eval "$as_ac_var=no"
14481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14482 conftest$ac_exeext conftest.$ac_ext
14484 ac_res=`eval echo '${'$as_ac_var'}'`
14485 { echo "$as_me:$LINENO: result: $ac_res" >&5
14486 echo "${ECHO_T}$ac_res" >&6; }
14487 if test `eval echo '${'$as_ac_var'}'` = yes; then
14488 cat >>confdefs.h <<_ACEOF
14489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14490 _ACEOF
14493 done
14495 LIBS="$ac_wine_check_funcs_save_LIBS"
14497 # Extract the first word of "esd-config", so it can be a program name with args.
14498 set dummy esd-config; ac_word=$2
14499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14501 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 else
14504 case $ESDCONFIG in
14505 [\\/]* | ?:[\\/]*)
14506 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14510 for as_dir in $PATH
14512 IFS=$as_save_IFS
14513 test -z "$as_dir" && as_dir=.
14514 for ac_exec_ext in '' $ac_executable_extensions; do
14515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14516 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14518 break 2
14520 done
14521 done
14522 IFS=$as_save_IFS
14525 esac
14527 ESDCONFIG=$ac_cv_path_ESDCONFIG
14528 if test -n "$ESDCONFIG"; then
14529 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14530 echo "${ECHO_T}$ESDCONFIG" >&6; }
14531 else
14532 { echo "$as_me:$LINENO: result: no" >&5
14533 echo "${ECHO_T}no" >&6; }
14537 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14538 then
14539 ESD_CFLAGS=""
14540 for i in `$ESDCONFIG --cflags`
14542 case "$i" in
14543 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14544 esac
14545 done
14546 ESD_LIBS=`$ESDCONFIG --libs`
14547 save_CFLAGS="$CFLAGS"
14548 CFLAGS="$CFLAGS $ESD_CFLAGS"
14549 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14550 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14551 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 else
14554 ac_check_lib_save_LIBS=$LIBS
14555 LIBS="-lesd $LIBS"
14556 cat >conftest.$ac_ext <<_ACEOF
14557 /* confdefs.h. */
14558 _ACEOF
14559 cat confdefs.h >>conftest.$ac_ext
14560 cat >>conftest.$ac_ext <<_ACEOF
14561 /* end confdefs.h. */
14563 /* Override any GCC internal prototype to avoid an error.
14564 Use char because int might match the return type of a GCC
14565 builtin and then its argument prototype would still apply. */
14566 #ifdef __cplusplus
14567 extern "C"
14568 #endif
14569 char esd_open_sound ();
14571 main ()
14573 return esd_open_sound ();
14575 return 0;
14577 _ACEOF
14578 rm -f conftest.$ac_objext conftest$ac_exeext
14579 if { (ac_try="$ac_link"
14580 case "(($ac_try" in
14581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14582 *) ac_try_echo=$ac_try;;
14583 esac
14584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14585 (eval "$ac_link") 2>conftest.er1
14586 ac_status=$?
14587 grep -v '^ *+' conftest.er1 >conftest.err
14588 rm -f conftest.er1
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } && {
14592 test -z "$ac_c_werror_flag" ||
14593 test ! -s conftest.err
14594 } && test -s conftest$ac_exeext &&
14595 $as_test_x conftest$ac_exeext; then
14596 ac_cv_lib_esd_esd_open_sound=yes
14597 else
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14601 ac_cv_lib_esd_esd_open_sound=no
14604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14605 conftest$ac_exeext conftest.$ac_ext
14606 LIBS=$ac_check_lib_save_LIBS
14608 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14609 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14610 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14611 ESDLIBS=$ESD_LIBS
14613 ESDINCL=$ESD_CFLAGS
14616 cat >>confdefs.h <<\_ACEOF
14617 #define HAVE_ESD 1
14618 _ACEOF
14622 CFLAGS="$save_CFLAGS"
14625 ALSALIBS=""
14627 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14628 then
14629 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14630 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14631 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14632 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 else
14634 ac_check_lib_save_LIBS=$LIBS
14635 LIBS="-lasound $LIBS"
14636 cat >conftest.$ac_ext <<_ACEOF
14637 /* confdefs.h. */
14638 _ACEOF
14639 cat confdefs.h >>conftest.$ac_ext
14640 cat >>conftest.$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14643 /* Override any GCC internal prototype to avoid an error.
14644 Use char because int might match the return type of a GCC
14645 builtin and then its argument prototype would still apply. */
14646 #ifdef __cplusplus
14647 extern "C"
14648 #endif
14649 char snd_pcm_hw_params_get_access ();
14651 main ()
14653 return snd_pcm_hw_params_get_access ();
14655 return 0;
14657 _ACEOF
14658 rm -f conftest.$ac_objext conftest$ac_exeext
14659 if { (ac_try="$ac_link"
14660 case "(($ac_try" in
14661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14662 *) ac_try_echo=$ac_try;;
14663 esac
14664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14665 (eval "$ac_link") 2>conftest.er1
14666 ac_status=$?
14667 grep -v '^ *+' conftest.er1 >conftest.err
14668 rm -f conftest.er1
14669 cat conftest.err >&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && {
14672 test -z "$ac_c_werror_flag" ||
14673 test ! -s conftest.err
14674 } && test -s conftest$ac_exeext &&
14675 $as_test_x conftest$ac_exeext; then
14676 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14677 else
14678 echo "$as_me: failed program was:" >&5
14679 sed 's/^/| /' conftest.$ac_ext >&5
14681 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_lib_save_LIBS
14688 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14689 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14690 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14691 cat >conftest.$ac_ext <<_ACEOF
14692 /* confdefs.h. */
14693 _ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14697 #ifdef HAVE_ALSA_ASOUNDLIB_H
14698 #include <alsa/asoundlib.h>
14699 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14700 #include <sys/asoundlib.h>
14701 #endif
14703 main ()
14705 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14707 return 0;
14709 _ACEOF
14710 rm -f conftest.$ac_objext
14711 if { (ac_try="$ac_compile"
14712 case "(($ac_try" in
14713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14715 esac
14716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14717 (eval "$ac_compile") 2>conftest.er1
14718 ac_status=$?
14719 grep -v '^ *+' conftest.er1 >conftest.err
14720 rm -f conftest.er1
14721 cat conftest.err >&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } && {
14724 test -z "$ac_c_werror_flag" ||
14725 test ! -s conftest.err
14726 } && test -s conftest.$ac_objext; then
14728 cat >>confdefs.h <<\_ACEOF
14729 #define HAVE_ALSA 1
14730 _ACEOF
14732 ALSALIBS="-lasound"
14733 else
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14745 AUDIOIOLIBS=""
14747 if test "$ac_cv_header_libaudioio_h" = "yes"
14748 then
14749 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14750 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14751 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14752 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 else
14754 ac_check_lib_save_LIBS=$LIBS
14755 LIBS="-laudioio $LIBS"
14756 cat >conftest.$ac_ext <<_ACEOF
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14766 #ifdef __cplusplus
14767 extern "C"
14768 #endif
14769 char AudioIOGetVersion ();
14771 main ()
14773 return AudioIOGetVersion ();
14775 return 0;
14777 _ACEOF
14778 rm -f conftest.$ac_objext conftest$ac_exeext
14779 if { (ac_try="$ac_link"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14783 esac
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_link") 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest$ac_exeext &&
14795 $as_test_x conftest$ac_exeext; then
14796 ac_cv_lib_audioio_AudioIOGetVersion=yes
14797 else
14798 echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.$ac_ext >&5
14801 ac_cv_lib_audioio_AudioIOGetVersion=no
14804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14805 conftest$ac_exeext conftest.$ac_ext
14806 LIBS=$ac_check_lib_save_LIBS
14808 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14809 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14810 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14811 AUDIOIOLIBS="-laudioio"
14813 cat >>confdefs.h <<\_ACEOF
14814 #define HAVE_LIBAUDIOIO 1
14815 _ACEOF
14822 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14823 then
14824 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14825 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14826 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 else
14829 ac_check_soname_save_LIBS=$LIBS
14830 LIBS="-lcapi20 $LIBS"
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14838 /* Override any GCC internal prototype to avoid an error.
14839 Use char because int might match the return type of a GCC
14840 builtin and then its argument prototype would still apply. */
14841 #ifdef __cplusplus
14842 extern "C"
14843 #endif
14844 char capi20_register ();
14846 main ()
14848 return capi20_register ();
14850 return 0;
14852 _ACEOF
14853 rm -f conftest.$ac_objext conftest$ac_exeext
14854 if { (ac_try="$ac_link"
14855 case "(($ac_try" in
14856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14857 *) ac_try_echo=$ac_try;;
14858 esac
14859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14860 (eval "$ac_link") 2>conftest.er1
14861 ac_status=$?
14862 grep -v '^ *+' conftest.er1 >conftest.err
14863 rm -f conftest.er1
14864 cat conftest.err >&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } && {
14867 test -z "$ac_c_werror_flag" ||
14868 test ! -s conftest.err
14869 } && test -s conftest$ac_exeext &&
14870 $as_test_x conftest$ac_exeext; then
14871 case "$LIBEXT" in
14872 dll) ;;
14873 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'` ;;
14874 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14875 esac
14876 else
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.$ac_ext >&5
14883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14884 conftest$ac_exeext conftest.$ac_ext
14885 LIBS=$ac_check_soname_save_LIBS
14887 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14888 { echo "$as_me:$LINENO: result: not found" >&5
14889 echo "${ECHO_T}not found" >&6; }
14891 else
14892 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14893 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14895 cat >>confdefs.h <<_ACEOF
14896 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14897 _ACEOF
14903 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14904 case "x$with_capi" in
14905 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14906 xno) ;;
14907 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14908 This is an error since --with-capi was requested." >&5
14909 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14910 This is an error since --with-capi was requested." >&2;}
14911 { (exit 1); exit 1; }; } ;;
14912 esac
14916 if test "$ac_cv_header_cups_cups_h" = "yes"
14917 then
14918 { echo "$as_me:$LINENO: checking for -lcups" >&5
14919 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14920 if test "${ac_cv_lib_soname_cups+set}" = set; then
14921 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 else
14923 ac_check_soname_save_LIBS=$LIBS
14924 LIBS="-lcups $LIBS"
14925 cat >conftest.$ac_ext <<_ACEOF
14926 /* confdefs.h. */
14927 _ACEOF
14928 cat confdefs.h >>conftest.$ac_ext
14929 cat >>conftest.$ac_ext <<_ACEOF
14930 /* end confdefs.h. */
14932 /* Override any GCC internal prototype to avoid an error.
14933 Use char because int might match the return type of a GCC
14934 builtin and then its argument prototype would still apply. */
14935 #ifdef __cplusplus
14936 extern "C"
14937 #endif
14938 char cupsGetDefault ();
14940 main ()
14942 return cupsGetDefault ();
14944 return 0;
14946 _ACEOF
14947 rm -f conftest.$ac_objext conftest$ac_exeext
14948 if { (ac_try="$ac_link"
14949 case "(($ac_try" in
14950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14951 *) ac_try_echo=$ac_try;;
14952 esac
14953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14954 (eval "$ac_link") 2>conftest.er1
14955 ac_status=$?
14956 grep -v '^ *+' conftest.er1 >conftest.err
14957 rm -f conftest.er1
14958 cat conftest.err >&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } && {
14961 test -z "$ac_c_werror_flag" ||
14962 test ! -s conftest.err
14963 } && test -s conftest$ac_exeext &&
14964 $as_test_x conftest$ac_exeext; then
14965 case "$LIBEXT" in
14966 dll) ;;
14967 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'` ;;
14968 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14969 esac
14970 else
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.$ac_ext >&5
14977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14978 conftest$ac_exeext conftest.$ac_ext
14979 LIBS=$ac_check_soname_save_LIBS
14981 if test "x$ac_cv_lib_soname_cups" = "x"; then
14982 { echo "$as_me:$LINENO: result: not found" >&5
14983 echo "${ECHO_T}not found" >&6; }
14985 else
14986 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14987 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14989 cat >>confdefs.h <<_ACEOF
14990 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14991 _ACEOF
14997 if test "x$ac_cv_lib_soname_cups" = "x"; then
14998 case "x$with_cups" in
14999 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15000 xno) ;;
15001 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15002 This is an error since --with-cups was requested." >&5
15003 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15004 This is an error since --with-cups was requested." >&2;}
15005 { (exit 1); exit 1; }; } ;;
15006 esac
15010 if test "$ac_cv_header_jack_jack_h" = "yes"
15011 then
15012 { echo "$as_me:$LINENO: checking for -ljack" >&5
15013 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15014 if test "${ac_cv_lib_soname_jack+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 else
15017 ac_check_soname_save_LIBS=$LIBS
15018 LIBS="-ljack $LIBS"
15019 cat >conftest.$ac_ext <<_ACEOF
15020 /* confdefs.h. */
15021 _ACEOF
15022 cat confdefs.h >>conftest.$ac_ext
15023 cat >>conftest.$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15029 #ifdef __cplusplus
15030 extern "C"
15031 #endif
15032 char jack_client_new ();
15034 main ()
15036 return jack_client_new ();
15038 return 0;
15040 _ACEOF
15041 rm -f conftest.$ac_objext conftest$ac_exeext
15042 if { (ac_try="$ac_link"
15043 case "(($ac_try" in
15044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15045 *) ac_try_echo=$ac_try;;
15046 esac
15047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15048 (eval "$ac_link") 2>conftest.er1
15049 ac_status=$?
15050 grep -v '^ *+' conftest.er1 >conftest.err
15051 rm -f conftest.er1
15052 cat conftest.err >&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } && {
15055 test -z "$ac_c_werror_flag" ||
15056 test ! -s conftest.err
15057 } && test -s conftest$ac_exeext &&
15058 $as_test_x conftest$ac_exeext; then
15059 case "$LIBEXT" in
15060 dll) ;;
15061 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'` ;;
15062 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15063 esac
15064 else
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15072 conftest$ac_exeext conftest.$ac_ext
15073 LIBS=$ac_check_soname_save_LIBS
15075 if test "x$ac_cv_lib_soname_jack" = "x"; then
15076 { echo "$as_me:$LINENO: result: not found" >&5
15077 echo "${ECHO_T}not found" >&6; }
15079 else
15080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15081 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15083 cat >>confdefs.h <<_ACEOF
15084 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15085 _ACEOF
15092 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15093 then
15094 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15095 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15096 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 else
15099 ac_check_soname_save_LIBS=$LIBS
15100 LIBS="-lfontconfig $LIBS"
15101 cat >conftest.$ac_ext <<_ACEOF
15102 /* confdefs.h. */
15103 _ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15108 /* Override any GCC internal prototype to avoid an error.
15109 Use char because int might match the return type of a GCC
15110 builtin and then its argument prototype would still apply. */
15111 #ifdef __cplusplus
15112 extern "C"
15113 #endif
15114 char FcInit ();
15116 main ()
15118 return FcInit ();
15120 return 0;
15122 _ACEOF
15123 rm -f conftest.$ac_objext conftest$ac_exeext
15124 if { (ac_try="$ac_link"
15125 case "(($ac_try" in
15126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15127 *) ac_try_echo=$ac_try;;
15128 esac
15129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15130 (eval "$ac_link") 2>conftest.er1
15131 ac_status=$?
15132 grep -v '^ *+' conftest.er1 >conftest.err
15133 rm -f conftest.er1
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } && {
15137 test -z "$ac_c_werror_flag" ||
15138 test ! -s conftest.err
15139 } && test -s conftest$ac_exeext &&
15140 $as_test_x conftest$ac_exeext; then
15141 case "$LIBEXT" in
15142 dll) ;;
15143 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'` ;;
15144 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15145 esac
15146 else
15147 echo "$as_me: failed program was:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15154 conftest$ac_exeext conftest.$ac_ext
15155 LIBS=$ac_check_soname_save_LIBS
15157 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15158 { echo "$as_me:$LINENO: result: not found" >&5
15159 echo "${ECHO_T}not found" >&6; }
15161 else
15162 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15163 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15165 cat >>confdefs.h <<_ACEOF
15166 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15167 _ACEOF
15172 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15173 then
15174 ac_save_CPPFLAGS="$CPPFLAGS"
15175 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15176 $as_unset ac_cv_header_fontconfig_fontconfig_h
15178 for ac_header in fontconfig/fontconfig.h
15180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 ac_res=`eval echo '${'$as_ac_Header'}'`
15188 { echo "$as_me:$LINENO: result: $ac_res" >&5
15189 echo "${ECHO_T}$ac_res" >&6; }
15190 else
15191 # Is the header compilable?
15192 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15194 cat >conftest.$ac_ext <<_ACEOF
15195 /* confdefs.h. */
15196 _ACEOF
15197 cat confdefs.h >>conftest.$ac_ext
15198 cat >>conftest.$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15200 $ac_includes_default
15201 #include <$ac_header>
15202 _ACEOF
15203 rm -f conftest.$ac_objext
15204 if { (ac_try="$ac_compile"
15205 case "(($ac_try" in
15206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15207 *) ac_try_echo=$ac_try;;
15208 esac
15209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15210 (eval "$ac_compile") 2>conftest.er1
15211 ac_status=$?
15212 grep -v '^ *+' conftest.er1 >conftest.err
15213 rm -f conftest.er1
15214 cat conftest.err >&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); } && {
15217 test -z "$ac_c_werror_flag" ||
15218 test ! -s conftest.err
15219 } && test -s conftest.$ac_objext; then
15220 ac_header_compiler=yes
15221 else
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.$ac_ext >&5
15225 ac_header_compiler=no
15228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15230 echo "${ECHO_T}$ac_header_compiler" >&6; }
15232 # Is the header present?
15233 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15235 cat >conftest.$ac_ext <<_ACEOF
15236 /* confdefs.h. */
15237 _ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241 #include <$ac_header>
15242 _ACEOF
15243 if { (ac_try="$ac_cpp conftest.$ac_ext"
15244 case "(($ac_try" in
15245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15246 *) ac_try_echo=$ac_try;;
15247 esac
15248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15250 ac_status=$?
15251 grep -v '^ *+' conftest.er1 >conftest.err
15252 rm -f conftest.er1
15253 cat conftest.err >&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } >/dev/null && {
15256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15257 test ! -s conftest.err
15258 }; then
15259 ac_header_preproc=yes
15260 else
15261 echo "$as_me: failed program was:" >&5
15262 sed 's/^/| /' conftest.$ac_ext >&5
15264 ac_header_preproc=no
15267 rm -f conftest.err conftest.$ac_ext
15268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15269 echo "${ECHO_T}$ac_header_preproc" >&6; }
15271 # So? What about this header?
15272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15273 yes:no: )
15274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15278 ac_header_preproc=yes
15280 no:yes:* )
15281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15293 ( cat <<\_ASBOX
15294 ## ------------------------------------ ##
15295 ## Report this to wine-devel@winehq.org ##
15296 ## ------------------------------------ ##
15297 _ASBOX
15298 ) | sed "s/^/$as_me: WARNING: /" >&2
15300 esac
15301 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15303 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 else
15306 eval "$as_ac_Header=\$ac_header_preproc"
15308 ac_res=`eval echo '${'$as_ac_Header'}'`
15309 { echo "$as_me:$LINENO: result: $ac_res" >&5
15310 echo "${ECHO_T}$ac_res" >&6; }
15313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15314 cat >>confdefs.h <<_ACEOF
15315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15316 _ACEOF
15320 done
15322 CPPFLAGS="$ac_save_CPPFLAGS"
15323 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15324 then
15325 FONTCONFIGINCL="$X_CFLAGS"
15327 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15328 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15329 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 ac_check_soname_save_LIBS=$LIBS
15333 LIBS="-lfontconfig $X_LIBS $LIBS"
15334 cat >conftest.$ac_ext <<_ACEOF
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15341 /* Override any GCC internal prototype to avoid an error.
15342 Use char because int might match the return type of a GCC
15343 builtin and then its argument prototype would still apply. */
15344 #ifdef __cplusplus
15345 extern "C"
15346 #endif
15347 char FcInit ();
15349 main ()
15351 return FcInit ();
15353 return 0;
15355 _ACEOF
15356 rm -f conftest.$ac_objext conftest$ac_exeext
15357 if { (ac_try="$ac_link"
15358 case "(($ac_try" in
15359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15360 *) ac_try_echo=$ac_try;;
15361 esac
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_link") 2>conftest.er1
15364 ac_status=$?
15365 grep -v '^ *+' conftest.er1 >conftest.err
15366 rm -f conftest.er1
15367 cat conftest.err >&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } && {
15370 test -z "$ac_c_werror_flag" ||
15371 test ! -s conftest.err
15372 } && test -s conftest$ac_exeext &&
15373 $as_test_x conftest$ac_exeext; then
15374 case "$LIBEXT" in
15375 dll) ;;
15376 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'` ;;
15377 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15378 esac
15379 else
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15387 conftest$ac_exeext conftest.$ac_ext
15388 LIBS=$ac_check_soname_save_LIBS
15390 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15391 { echo "$as_me:$LINENO: result: not found" >&5
15392 echo "${ECHO_T}not found" >&6; }
15394 else
15395 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15396 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15398 cat >>confdefs.h <<_ACEOF
15399 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15400 _ACEOF
15407 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15408 case "x$with_fontconfig" in
15409 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15410 xno) ;;
15411 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15412 This is an error since --with-fontconfig was requested." >&5
15413 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15414 This is an error since --with-fontconfig was requested." >&2;}
15415 { (exit 1); exit 1; }; } ;;
15416 esac
15420 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15421 then
15422 { echo "$as_me:$LINENO: checking for -lssl" >&5
15423 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15424 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15425 echo $ECHO_N "(cached) $ECHO_C" >&6
15426 else
15427 ac_check_soname_save_LIBS=$LIBS
15428 LIBS="-lssl $LIBS"
15429 cat >conftest.$ac_ext <<_ACEOF
15430 /* confdefs.h. */
15431 _ACEOF
15432 cat confdefs.h >>conftest.$ac_ext
15433 cat >>conftest.$ac_ext <<_ACEOF
15434 /* end confdefs.h. */
15436 /* Override any GCC internal prototype to avoid an error.
15437 Use char because int might match the return type of a GCC
15438 builtin and then its argument prototype would still apply. */
15439 #ifdef __cplusplus
15440 extern "C"
15441 #endif
15442 char SSL_library_init ();
15444 main ()
15446 return SSL_library_init ();
15448 return 0;
15450 _ACEOF
15451 rm -f conftest.$ac_objext conftest$ac_exeext
15452 if { (ac_try="$ac_link"
15453 case "(($ac_try" in
15454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15456 esac
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_link") 2>conftest.er1
15459 ac_status=$?
15460 grep -v '^ *+' conftest.er1 >conftest.err
15461 rm -f conftest.er1
15462 cat conftest.err >&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } && {
15465 test -z "$ac_c_werror_flag" ||
15466 test ! -s conftest.err
15467 } && test -s conftest$ac_exeext &&
15468 $as_test_x conftest$ac_exeext; then
15469 case "$LIBEXT" in
15470 dll) ;;
15471 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'` ;;
15472 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15473 esac
15474 else
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15482 conftest$ac_exeext conftest.$ac_ext
15483 LIBS=$ac_check_soname_save_LIBS
15485 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15486 { echo "$as_me:$LINENO: result: not found" >&5
15487 echo "${ECHO_T}not found" >&6; }
15489 else
15490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15491 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15493 cat >>confdefs.h <<_ACEOF
15494 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15495 _ACEOF
15500 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15501 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15502 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15504 else
15505 ac_check_soname_save_LIBS=$LIBS
15506 LIBS="-lcrypto $LIBS"
15507 cat >conftest.$ac_ext <<_ACEOF
15508 /* confdefs.h. */
15509 _ACEOF
15510 cat confdefs.h >>conftest.$ac_ext
15511 cat >>conftest.$ac_ext <<_ACEOF
15512 /* end confdefs.h. */
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply. */
15517 #ifdef __cplusplus
15518 extern "C"
15519 #endif
15520 char BIO_new_socket ();
15522 main ()
15524 return BIO_new_socket ();
15526 return 0;
15528 _ACEOF
15529 rm -f conftest.$ac_objext conftest$ac_exeext
15530 if { (ac_try="$ac_link"
15531 case "(($ac_try" in
15532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15533 *) ac_try_echo=$ac_try;;
15534 esac
15535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15536 (eval "$ac_link") 2>conftest.er1
15537 ac_status=$?
15538 grep -v '^ *+' conftest.er1 >conftest.err
15539 rm -f conftest.er1
15540 cat conftest.err >&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } && {
15543 test -z "$ac_c_werror_flag" ||
15544 test ! -s conftest.err
15545 } && test -s conftest$ac_exeext &&
15546 $as_test_x conftest$ac_exeext; then
15547 case "$LIBEXT" in
15548 dll) ;;
15549 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'` ;;
15550 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15551 esac
15552 else
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.$ac_ext >&5
15559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15560 conftest$ac_exeext conftest.$ac_ext
15561 LIBS=$ac_check_soname_save_LIBS
15563 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15564 { echo "$as_me:$LINENO: result: not found" >&5
15565 echo "${ECHO_T}not found" >&6; }
15567 else
15568 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15569 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15571 cat >>confdefs.h <<_ACEOF
15572 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15573 _ACEOF
15579 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15580 case "x$with_openssl" in
15581 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15582 xno) ;;
15583 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15584 This is an error since --with-openssl was requested." >&5
15585 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15586 This is an error since --with-openssl was requested." >&2;}
15587 { (exit 1); exit 1; }; } ;;
15588 esac
15592 if test "$ac_cv_header_jpeglib_h" = "yes"
15593 then
15594 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15595 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15596 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 else
15599 ac_check_soname_save_LIBS=$LIBS
15600 LIBS="-ljpeg $LIBS"
15601 cat >conftest.$ac_ext <<_ACEOF
15602 /* confdefs.h. */
15603 _ACEOF
15604 cat confdefs.h >>conftest.$ac_ext
15605 cat >>conftest.$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15608 /* Override any GCC internal prototype to avoid an error.
15609 Use char because int might match the return type of a GCC
15610 builtin and then its argument prototype would still apply. */
15611 #ifdef __cplusplus
15612 extern "C"
15613 #endif
15614 char jpeg_start_decompress ();
15616 main ()
15618 return jpeg_start_decompress ();
15620 return 0;
15622 _ACEOF
15623 rm -f conftest.$ac_objext conftest$ac_exeext
15624 if { (ac_try="$ac_link"
15625 case "(($ac_try" in
15626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627 *) ac_try_echo=$ac_try;;
15628 esac
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_link") 2>conftest.er1
15631 ac_status=$?
15632 grep -v '^ *+' conftest.er1 >conftest.err
15633 rm -f conftest.er1
15634 cat conftest.err >&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } && {
15637 test -z "$ac_c_werror_flag" ||
15638 test ! -s conftest.err
15639 } && test -s conftest$ac_exeext &&
15640 $as_test_x conftest$ac_exeext; then
15641 case "$LIBEXT" in
15642 dll) ;;
15643 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'` ;;
15644 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15645 esac
15646 else
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.$ac_ext >&5
15653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15654 conftest$ac_exeext conftest.$ac_ext
15655 LIBS=$ac_check_soname_save_LIBS
15657 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15658 { echo "$as_me:$LINENO: result: not found" >&5
15659 echo "${ECHO_T}not found" >&6; }
15661 else
15662 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15663 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15665 cat >>confdefs.h <<_ACEOF
15666 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15667 _ACEOF
15673 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15674 case "x$with_jpeg" in
15675 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15676 xno) ;;
15677 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15678 This is an error since --with-jpeg was requested." >&5
15679 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15680 This is an error since --with-jpeg was requested." >&2;}
15681 { (exit 1); exit 1; }; } ;;
15682 esac
15686 if test "$ac_cv_header_png_h" = "yes"
15687 then
15688 { echo "$as_me:$LINENO: checking for -lpng" >&5
15689 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15690 if test "${ac_cv_lib_soname_png+set}" = set; then
15691 echo $ECHO_N "(cached) $ECHO_C" >&6
15692 else
15693 ac_check_soname_save_LIBS=$LIBS
15694 LIBS="-lpng $LIBS"
15695 cat >conftest.$ac_ext <<_ACEOF
15696 /* confdefs.h. */
15697 _ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 #ifdef __cplusplus
15706 extern "C"
15707 #endif
15708 char png_create_read_struct ();
15710 main ()
15712 return png_create_read_struct ();
15714 return 0;
15716 _ACEOF
15717 rm -f conftest.$ac_objext conftest$ac_exeext
15718 if { (ac_try="$ac_link"
15719 case "(($ac_try" in
15720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15721 *) ac_try_echo=$ac_try;;
15722 esac
15723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15724 (eval "$ac_link") 2>conftest.er1
15725 ac_status=$?
15726 grep -v '^ *+' conftest.er1 >conftest.err
15727 rm -f conftest.er1
15728 cat conftest.err >&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } && {
15731 test -z "$ac_c_werror_flag" ||
15732 test ! -s conftest.err
15733 } && test -s conftest$ac_exeext &&
15734 $as_test_x conftest$ac_exeext; then
15735 case "$LIBEXT" in
15736 dll) ;;
15737 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'` ;;
15738 *) 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'` ;;
15739 esac
15740 else
15741 echo "$as_me: failed program was:" >&5
15742 sed 's/^/| /' conftest.$ac_ext >&5
15747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15748 conftest$ac_exeext conftest.$ac_ext
15749 LIBS=$ac_check_soname_save_LIBS
15751 if test "x$ac_cv_lib_soname_png" = "x"; then
15752 { echo "$as_me:$LINENO: result: not found" >&5
15753 echo "${ECHO_T}not found" >&6; }
15755 else
15756 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15757 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15759 cat >>confdefs.h <<_ACEOF
15760 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15761 _ACEOF
15767 if test "x$ac_cv_lib_soname_png" = "x"; then
15768 case "x$with_png" in
15769 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15770 xno) ;;
15771 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15772 This is an error since --with-png was requested." >&5
15773 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15774 This is an error since --with-png was requested." >&2;}
15775 { (exit 1); exit 1; }; } ;;
15776 esac
15780 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15781 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15782 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15783 echo $ECHO_N "(cached) $ECHO_C" >&6
15784 else
15785 ac_check_soname_save_LIBS=$LIBS
15786 LIBS="-lodbc $LIBS"
15787 cat >conftest.$ac_ext <<_ACEOF
15788 /* confdefs.h. */
15789 _ACEOF
15790 cat confdefs.h >>conftest.$ac_ext
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char SQLConnect ();
15802 main ()
15804 return SQLConnect ();
15806 return 0;
15808 _ACEOF
15809 rm -f conftest.$ac_objext conftest$ac_exeext
15810 if { (ac_try="$ac_link"
15811 case "(($ac_try" in
15812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813 *) ac_try_echo=$ac_try;;
15814 esac
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_link") 2>conftest.er1
15817 ac_status=$?
15818 grep -v '^ *+' conftest.er1 >conftest.err
15819 rm -f conftest.er1
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest$ac_exeext &&
15826 $as_test_x conftest$ac_exeext; then
15827 case "$LIBEXT" in
15828 dll) ;;
15829 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'` ;;
15830 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15831 esac
15832 else
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.$ac_ext >&5
15839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15840 conftest$ac_exeext conftest.$ac_ext
15841 LIBS=$ac_check_soname_save_LIBS
15843 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15844 { echo "$as_me:$LINENO: result: not found" >&5
15845 echo "${ECHO_T}not found" >&6; }
15846 cat >>confdefs.h <<_ACEOF
15847 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15848 _ACEOF
15850 else
15851 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15852 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15854 cat >>confdefs.h <<_ACEOF
15855 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15856 _ACEOF
15862 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15863 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15864 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15865 "$ac_cv_header_soundcard_h" != "yes" -a \
15866 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15867 then
15868 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15872 EXTRACFLAGS=""
15874 if test "x${GCC}" = "xyes"
15875 then
15876 EXTRACFLAGS="-Wall -pipe"
15878 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15879 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15880 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15881 echo $ECHO_N "(cached) $ECHO_C" >&6
15882 else
15883 if test "$cross_compiling" = yes; then
15884 ac_cv_c_gcc_strength_bug="yes"
15885 else
15886 cat >conftest.$ac_ext <<_ACEOF
15887 /* confdefs.h. */
15888 _ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 int L[4] = {0,1,2,3};
15894 main ()
15896 static int Array[3];
15897 unsigned int B = 3;
15898 int i;
15899 for(i=0; i<B; i++) Array[i] = i - 3;
15900 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15901 L[i] = 4;
15902 exit( Array[1] != -2 || L[2] != 3)
15904 return 0;
15906 _ACEOF
15907 rm -f conftest$ac_exeext
15908 if { (ac_try="$ac_link"
15909 case "(($ac_try" in
15910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15911 *) ac_try_echo=$ac_try;;
15912 esac
15913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15914 (eval "$ac_link") 2>&5
15915 ac_status=$?
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15918 { (case "(($ac_try" in
15919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15920 *) ac_try_echo=$ac_try;;
15921 esac
15922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15923 (eval "$ac_try") 2>&5
15924 ac_status=$?
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; }; then
15927 ac_cv_c_gcc_strength_bug="no"
15928 else
15929 echo "$as_me: program exited with status $ac_status" >&5
15930 echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.$ac_ext >&5
15933 ( exit $ac_status )
15934 ac_cv_c_gcc_strength_bug="yes"
15936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15941 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15942 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15943 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15944 then
15945 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15949 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15950 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15951 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15952 echo $ECHO_N "(cached) $ECHO_C" >&6
15953 else
15954 ac_wine_try_cflags_saved=$CFLAGS
15955 CFLAGS="$CFLAGS -fshort-wchar"
15956 cat >conftest.$ac_ext <<_ACEOF
15957 /* confdefs.h. */
15958 _ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15964 main ()
15968 return 0;
15970 _ACEOF
15971 rm -f conftest.$ac_objext conftest$ac_exeext
15972 if { (ac_try="$ac_link"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_link") 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_c_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest$ac_exeext &&
15988 $as_test_x conftest$ac_exeext; then
15989 ac_cv_cflags__fshort_wchar=yes
15990 else
15991 echo "$as_me: failed program was:" >&5
15992 sed 's/^/| /' conftest.$ac_ext >&5
15994 ac_cv_cflags__fshort_wchar=no
15997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15998 conftest$ac_exeext conftest.$ac_ext
15999 CFLAGS=$ac_wine_try_cflags_saved
16001 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16002 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16003 if test $ac_cv_cflags__fshort_wchar = yes; then
16005 cat >>confdefs.h <<\_ACEOF
16006 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16007 _ACEOF
16011 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16012 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16013 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 ac_wine_try_cflags_saved=$CFLAGS
16017 CFLAGS="$CFLAGS -fno-strict-aliasing"
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16026 main ()
16030 return 0;
16032 _ACEOF
16033 rm -f conftest.$ac_objext conftest$ac_exeext
16034 if { (ac_try="$ac_link"
16035 case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16038 esac
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_link") 2>conftest.er1
16041 ac_status=$?
16042 grep -v '^ *+' conftest.er1 >conftest.err
16043 rm -f conftest.er1
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } && {
16047 test -z "$ac_c_werror_flag" ||
16048 test ! -s conftest.err
16049 } && test -s conftest$ac_exeext &&
16050 $as_test_x conftest$ac_exeext; then
16051 ac_cv_cflags__fno_strict_aliasing=yes
16052 else
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16056 ac_cv_cflags__fno_strict_aliasing=no
16059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16060 conftest$ac_exeext conftest.$ac_ext
16061 CFLAGS=$ac_wine_try_cflags_saved
16063 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16064 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16065 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16066 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16069 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16070 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16071 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16072 echo $ECHO_N "(cached) $ECHO_C" >&6
16073 else
16074 ac_wine_try_cflags_saved=$CFLAGS
16075 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16076 cat >conftest.$ac_ext <<_ACEOF
16077 /* confdefs.h. */
16078 _ACEOF
16079 cat confdefs.h >>conftest.$ac_ext
16080 cat >>conftest.$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16084 main ()
16088 return 0;
16090 _ACEOF
16091 rm -f conftest.$ac_objext conftest$ac_exeext
16092 if { (ac_try="$ac_link"
16093 case "(($ac_try" in
16094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16095 *) ac_try_echo=$ac_try;;
16096 esac
16097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16098 (eval "$ac_link") 2>conftest.er1
16099 ac_status=$?
16100 grep -v '^ *+' conftest.er1 >conftest.err
16101 rm -f conftest.er1
16102 cat conftest.err >&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); } && {
16105 test -z "$ac_c_werror_flag" ||
16106 test ! -s conftest.err
16107 } && test -s conftest$ac_exeext &&
16108 $as_test_x conftest$ac_exeext; then
16109 ac_cv_cflags__Wdeclaration_after_statement=yes
16110 else
16111 echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.$ac_ext >&5
16114 ac_cv_cflags__Wdeclaration_after_statement=no
16117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16118 conftest$ac_exeext conftest.$ac_ext
16119 CFLAGS=$ac_wine_try_cflags_saved
16121 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16122 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16123 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16124 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16127 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16128 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16129 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16130 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 else
16132 ac_wine_try_cflags_saved=$CFLAGS
16133 CFLAGS="$CFLAGS -Wwrite-strings"
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16142 main ()
16146 return 0;
16148 _ACEOF
16149 rm -f conftest.$ac_objext conftest$ac_exeext
16150 if { (ac_try="$ac_link"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16154 esac
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_link") 2>conftest.er1
16157 ac_status=$?
16158 grep -v '^ *+' conftest.er1 >conftest.err
16159 rm -f conftest.er1
16160 cat conftest.err >&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } && {
16163 test -z "$ac_c_werror_flag" ||
16164 test ! -s conftest.err
16165 } && test -s conftest$ac_exeext &&
16166 $as_test_x conftest$ac_exeext; then
16167 ac_cv_cflags__Wwrite_strings=yes
16168 else
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16172 ac_cv_cflags__Wwrite_strings=no
16175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16176 conftest$ac_exeext conftest.$ac_ext
16177 CFLAGS=$ac_wine_try_cflags_saved
16179 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16180 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16181 if test $ac_cv_cflags__Wwrite_strings = yes; then
16182 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16185 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16186 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16187 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 ac_wine_try_cflags_saved=$CFLAGS
16191 CFLAGS="$CFLAGS -Wtype-limits"
16192 cat >conftest.$ac_ext <<_ACEOF
16193 /* confdefs.h. */
16194 _ACEOF
16195 cat confdefs.h >>conftest.$ac_ext
16196 cat >>conftest.$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16200 main ()
16204 return 0;
16206 _ACEOF
16207 rm -f conftest.$ac_objext conftest$ac_exeext
16208 if { (ac_try="$ac_link"
16209 case "(($ac_try" in
16210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16211 *) ac_try_echo=$ac_try;;
16212 esac
16213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16214 (eval "$ac_link") 2>conftest.er1
16215 ac_status=$?
16216 grep -v '^ *+' conftest.er1 >conftest.err
16217 rm -f conftest.er1
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } && {
16221 test -z "$ac_c_werror_flag" ||
16222 test ! -s conftest.err
16223 } && test -s conftest$ac_exeext &&
16224 $as_test_x conftest$ac_exeext; then
16225 ac_cv_cflags__Wtype_limits=yes
16226 else
16227 echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.$ac_ext >&5
16230 ac_cv_cflags__Wtype_limits=no
16233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16234 conftest$ac_exeext conftest.$ac_ext
16235 CFLAGS=$ac_wine_try_cflags_saved
16237 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16238 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16239 if test $ac_cv_cflags__Wtype_limits = yes; then
16240 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16244 saved_CFLAGS="$CFLAGS"
16245 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16246 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16247 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16248 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16249 echo $ECHO_N "(cached) $ECHO_C" >&6
16250 else
16251 cat >conftest.$ac_ext <<_ACEOF
16252 /* confdefs.h. */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 #include <string.h>
16259 main ()
16263 return 0;
16265 _ACEOF
16266 rm -f conftest.$ac_objext
16267 if { (ac_try="$ac_compile"
16268 case "(($ac_try" in
16269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16270 *) ac_try_echo=$ac_try;;
16271 esac
16272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16273 (eval "$ac_compile") 2>conftest.er1
16274 ac_status=$?
16275 grep -v '^ *+' conftest.er1 >conftest.err
16276 rm -f conftest.er1
16277 cat conftest.err >&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } && {
16280 test -z "$ac_c_werror_flag" ||
16281 test ! -s conftest.err
16282 } && test -s conftest.$ac_objext; then
16283 ac_cv_c_string_h_warnings=no
16284 else
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.$ac_ext >&5
16288 ac_cv_c_string_h_warnings=yes
16291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16294 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16295 CFLAGS="$saved_CFLAGS"
16296 if test "$ac_cv_c_string_h_warnings" = "no"
16297 then
16298 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16301 BUILTINFLAG=""
16303 saved_CFLAGS="$CFLAGS"
16304 CFLAGS="$CFLAGS -Werror"
16305 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16306 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16307 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16308 echo $ECHO_N "(cached) $ECHO_C" >&6
16309 else
16310 cat >conftest.$ac_ext <<_ACEOF
16311 /* confdefs.h. */
16312 _ACEOF
16313 cat confdefs.h >>conftest.$ac_ext
16314 cat >>conftest.$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16318 main ()
16320 int iswlower(unsigned short);
16322 return 0;
16324 _ACEOF
16325 rm -f conftest.$ac_objext
16326 if { (ac_try="$ac_compile"
16327 case "(($ac_try" in
16328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16329 *) ac_try_echo=$ac_try;;
16330 esac
16331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16332 (eval "$ac_compile") 2>conftest.er1
16333 ac_status=$?
16334 grep -v '^ *+' conftest.er1 >conftest.err
16335 rm -f conftest.er1
16336 cat conftest.err >&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); } && {
16339 test -z "$ac_c_werror_flag" ||
16340 test ! -s conftest.err
16341 } && test -s conftest.$ac_objext; then
16342 ac_cv_c_builtin_wchar_ctype=no
16343 else
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16347 ac_cv_c_builtin_wchar_ctype=yes
16350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16352 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16353 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16354 CFLAGS="$saved_CFLAGS"
16355 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16356 then
16357 BUILTINFLAG="-fno-builtin"
16362 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16363 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16364 if test "${ac_cv_asm_func_def+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 else
16367 cat >conftest.$ac_ext <<_ACEOF
16368 /* confdefs.h. */
16369 _ACEOF
16370 cat confdefs.h >>conftest.$ac_ext
16371 cat >>conftest.$ac_ext <<_ACEOF
16372 /* end confdefs.h. */
16375 main ()
16377 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16379 return 0;
16381 _ACEOF
16382 rm -f conftest.$ac_objext conftest$ac_exeext
16383 if { (ac_try="$ac_link"
16384 case "(($ac_try" in
16385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16386 *) ac_try_echo=$ac_try;;
16387 esac
16388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16389 (eval "$ac_link") 2>conftest.er1
16390 ac_status=$?
16391 grep -v '^ *+' conftest.er1 >conftest.err
16392 rm -f conftest.er1
16393 cat conftest.err >&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } && {
16396 test -z "$ac_c_werror_flag" ||
16397 test ! -s conftest.err
16398 } && test -s conftest$ac_exeext &&
16399 $as_test_x conftest$ac_exeext; then
16400 ac_cv_asm_func_def=".def"
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16413 main ()
16415 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16417 return 0;
16419 _ACEOF
16420 rm -f conftest.$ac_objext conftest$ac_exeext
16421 if { (ac_try="$ac_link"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16425 esac
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_link") 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && {
16434 test -z "$ac_c_werror_flag" ||
16435 test ! -s conftest.err
16436 } && test -s conftest$ac_exeext &&
16437 $as_test_x conftest$ac_exeext; then
16438 ac_cv_asm_func_def=".type @function"
16439 else
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.$ac_ext >&5
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16451 main ()
16453 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16455 return 0;
16457 _ACEOF
16458 rm -f conftest.$ac_objext conftest$ac_exeext
16459 if { (ac_try="$ac_link"
16460 case "(($ac_try" in
16461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16462 *) ac_try_echo=$ac_try;;
16463 esac
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_link") 2>conftest.er1
16466 ac_status=$?
16467 grep -v '^ *+' conftest.er1 >conftest.err
16468 rm -f conftest.er1
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } && {
16472 test -z "$ac_c_werror_flag" ||
16473 test ! -s conftest.err
16474 } && test -s conftest$ac_exeext &&
16475 $as_test_x conftest$ac_exeext; then
16476 ac_cv_asm_func_def=".type 2"
16477 else
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.$ac_ext >&5
16481 ac_cv_asm_func_def="unknown"
16484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16485 conftest$ac_exeext conftest.$ac_ext
16488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16489 conftest$ac_exeext conftest.$ac_ext
16492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16493 conftest$ac_exeext conftest.$ac_ext
16495 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16496 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16500 case "$ac_cv_asm_func_def" in
16501 ".def")
16502 cat >>confdefs.h <<\_ACEOF
16503 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16504 _ACEOF
16506 ".type @function")
16507 cat >>confdefs.h <<\_ACEOF
16508 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16509 _ACEOF
16511 ".type 2")
16512 cat >>confdefs.h <<\_ACEOF
16513 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16514 _ACEOF
16517 cat >>confdefs.h <<\_ACEOF
16518 #define __ASM_FUNC(name) ""
16519 _ACEOF
16521 esac
16524 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16525 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16526 if test "${ac_cv_c_extern_prefix+set}" = set; then
16527 echo $ECHO_N "(cached) $ECHO_C" >&6
16528 else
16529 cat >conftest.$ac_ext <<_ACEOF
16530 /* confdefs.h. */
16531 _ACEOF
16532 cat confdefs.h >>conftest.$ac_ext
16533 cat >>conftest.$ac_ext <<_ACEOF
16534 /* end confdefs.h. */
16535 extern int ac_test;
16537 main ()
16539 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16541 return 0;
16543 _ACEOF
16544 rm -f conftest.$ac_objext conftest$ac_exeext
16545 if { (ac_try="$ac_link"
16546 case "(($ac_try" in
16547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16548 *) ac_try_echo=$ac_try;;
16549 esac
16550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16551 (eval "$ac_link") 2>conftest.er1
16552 ac_status=$?
16553 grep -v '^ *+' conftest.er1 >conftest.err
16554 rm -f conftest.er1
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } && {
16558 test -z "$ac_c_werror_flag" ||
16559 test ! -s conftest.err
16560 } && test -s conftest$ac_exeext &&
16561 $as_test_x conftest$ac_exeext; then
16562 ac_cv_c_extern_prefix="yes"
16563 else
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16567 ac_cv_c_extern_prefix="no"
16570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16571 conftest$ac_exeext conftest.$ac_ext
16573 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16574 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16578 if test "$ac_cv_c_extern_prefix" = "yes"
16579 then
16580 cat >>confdefs.h <<\_ACEOF
16581 #define __ASM_NAME(name) "_" name
16582 _ACEOF
16584 else
16585 cat >>confdefs.h <<\_ACEOF
16586 #define __ASM_NAME(name) name
16587 _ACEOF
16592 LDPATH=""
16594 case $build_os in
16595 cygwin*|mingw32*)
16596 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16598 darwin*|macosx*)
16600 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16601 then
16602 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16606 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16608 esac
16610 case $host_os in
16611 mingw32*)
16612 CRTLIBS="-lmsvcrt"
16614 SOCKETLIBS="-lws2_32"
16617 esac
16619 MAIN_BINARY="wine-pthread"
16620 case $host_cpu in
16621 *i[3456789]86*)
16622 case $host_os in
16623 linux* | k*bsd*-gnu)
16624 MAIN_BINARY="wine-glibc"
16626 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16628 freebsd*)
16629 MAIN_BINARY="wine-freebsd"
16631 EXTRA_BINARIES="wine-pthread"
16633 esac
16635 esac
16707 for ac_func in \
16708 _pclose \
16709 _popen \
16710 _snprintf \
16711 _spawnvp \
16712 _strdup \
16713 _stricmp \
16714 _strnicmp \
16715 _strtoi64 \
16716 _strtoui64 \
16717 _vsnprintf \
16718 asctime_r \
16719 chsize \
16720 clone \
16721 dlopen \
16722 epoll_create \
16723 ffs \
16724 finite \
16725 fork \
16726 fpclass \
16727 fstatfs \
16728 fstatvfs \
16729 ftruncate \
16730 futimes \
16731 futimesat \
16732 getdirentries \
16733 getopt_long \
16734 getpagesize \
16735 getpwuid \
16736 gettid \
16737 gettimeofday \
16738 getuid \
16739 inet_pton \
16740 kqueue \
16741 lstat \
16742 memmove \
16743 mmap \
16744 pclose \
16745 poll \
16746 popen \
16747 prctl \
16748 pread \
16749 pwrite \
16750 readlink \
16751 rfork \
16752 sched_yield \
16753 select \
16754 setproctitle \
16755 setrlimit \
16756 settimeofday \
16757 sigaltstack \
16758 sigprocmask \
16759 snprintf \
16760 spawnvp \
16761 statfs \
16762 statvfs \
16763 strcasecmp \
16764 strdup \
16765 strerror \
16766 strncasecmp \
16767 strtold \
16768 strtoll \
16769 strtoull \
16770 tcgetattr \
16771 thr_kill2 \
16772 timegm \
16773 usleep \
16774 vsnprintf \
16775 wait4 \
16776 waitpid \
16779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16780 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16782 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 else
16785 cat >conftest.$ac_ext <<_ACEOF
16786 /* confdefs.h. */
16787 _ACEOF
16788 cat confdefs.h >>conftest.$ac_ext
16789 cat >>conftest.$ac_ext <<_ACEOF
16790 /* end confdefs.h. */
16791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16793 #define $ac_func innocuous_$ac_func
16795 /* System header to define __stub macros and hopefully few prototypes,
16796 which can conflict with char $ac_func (); below.
16797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16798 <limits.h> exists even on freestanding compilers. */
16800 #ifdef __STDC__
16801 # include <limits.h>
16802 #else
16803 # include <assert.h>
16804 #endif
16806 #undef $ac_func
16808 /* Override any GCC internal prototype to avoid an error.
16809 Use char because int might match the return type of a GCC
16810 builtin and then its argument prototype would still apply. */
16811 #ifdef __cplusplus
16812 extern "C"
16813 #endif
16814 char $ac_func ();
16815 /* The GNU C library defines this for functions which it implements
16816 to always fail with ENOSYS. Some functions are actually named
16817 something starting with __ and the normal name is an alias. */
16818 #if defined __stub_$ac_func || defined __stub___$ac_func
16819 choke me
16820 #endif
16823 main ()
16825 return $ac_func ();
16827 return 0;
16829 _ACEOF
16830 rm -f conftest.$ac_objext conftest$ac_exeext
16831 if { (ac_try="$ac_link"
16832 case "(($ac_try" in
16833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16834 *) ac_try_echo=$ac_try;;
16835 esac
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_link") 2>conftest.er1
16838 ac_status=$?
16839 grep -v '^ *+' conftest.er1 >conftest.err
16840 rm -f conftest.er1
16841 cat conftest.err >&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } && {
16844 test -z "$ac_c_werror_flag" ||
16845 test ! -s conftest.err
16846 } && test -s conftest$ac_exeext &&
16847 $as_test_x conftest$ac_exeext; then
16848 eval "$as_ac_var=yes"
16849 else
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16853 eval "$as_ac_var=no"
16856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16857 conftest$ac_exeext conftest.$ac_ext
16859 ac_res=`eval echo '${'$as_ac_var'}'`
16860 { echo "$as_me:$LINENO: result: $ac_res" >&5
16861 echo "${ECHO_T}$ac_res" >&6; }
16862 if test `eval echo '${'$as_ac_var'}'` = yes; then
16863 cat >>confdefs.h <<_ACEOF
16864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16865 _ACEOF
16868 done
16871 if test "$ac_cv_func_dlopen" = no
16872 then
16873 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16874 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16875 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 else
16878 ac_check_lib_save_LIBS=$LIBS
16879 LIBS="-ldl $LIBS"
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16887 /* Override any GCC internal prototype to avoid an error.
16888 Use char because int might match the return type of a GCC
16889 builtin and then its argument prototype would still apply. */
16890 #ifdef __cplusplus
16891 extern "C"
16892 #endif
16893 char dlopen ();
16895 main ()
16897 return dlopen ();
16899 return 0;
16901 _ACEOF
16902 rm -f conftest.$ac_objext conftest$ac_exeext
16903 if { (ac_try="$ac_link"
16904 case "(($ac_try" in
16905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16906 *) ac_try_echo=$ac_try;;
16907 esac
16908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16909 (eval "$ac_link") 2>conftest.er1
16910 ac_status=$?
16911 grep -v '^ *+' conftest.er1 >conftest.err
16912 rm -f conftest.er1
16913 cat conftest.err >&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } && {
16916 test -z "$ac_c_werror_flag" ||
16917 test ! -s conftest.err
16918 } && test -s conftest$ac_exeext &&
16919 $as_test_x conftest$ac_exeext; then
16920 ac_cv_lib_dl_dlopen=yes
16921 else
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16925 ac_cv_lib_dl_dlopen=no
16928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16929 conftest$ac_exeext conftest.$ac_ext
16930 LIBS=$ac_check_lib_save_LIBS
16932 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16933 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16934 if test $ac_cv_lib_dl_dlopen = yes; then
16935 cat >>confdefs.h <<\_ACEOF
16936 #define HAVE_DLOPEN 1
16937 _ACEOF
16938 LIBDL="-ldl"
16943 ac_wine_check_funcs_save_LIBS="$LIBS"
16944 LIBS="$LIBS $LIBDL"
16946 for ac_func in dladdr
16948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 else
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h. */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16962 #define $ac_func innocuous_$ac_func
16964 /* System header to define __stub macros and hopefully few prototypes,
16965 which can conflict with char $ac_func (); below.
16966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16967 <limits.h> exists even on freestanding compilers. */
16969 #ifdef __STDC__
16970 # include <limits.h>
16971 #else
16972 # include <assert.h>
16973 #endif
16975 #undef $ac_func
16977 /* Override any GCC internal prototype to avoid an error.
16978 Use char because int might match the return type of a GCC
16979 builtin and then its argument prototype would still apply. */
16980 #ifdef __cplusplus
16981 extern "C"
16982 #endif
16983 char $ac_func ();
16984 /* The GNU C library defines this for functions which it implements
16985 to always fail with ENOSYS. Some functions are actually named
16986 something starting with __ and the normal name is an alias. */
16987 #if defined __stub_$ac_func || defined __stub___$ac_func
16988 choke me
16989 #endif
16992 main ()
16994 return $ac_func ();
16996 return 0;
16998 _ACEOF
16999 rm -f conftest.$ac_objext conftest$ac_exeext
17000 if { (ac_try="$ac_link"
17001 case "(($ac_try" in
17002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17003 *) ac_try_echo=$ac_try;;
17004 esac
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_link") 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } && {
17013 test -z "$ac_c_werror_flag" ||
17014 test ! -s conftest.err
17015 } && test -s conftest$ac_exeext &&
17016 $as_test_x conftest$ac_exeext; then
17017 eval "$as_ac_var=yes"
17018 else
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17022 eval "$as_ac_var=no"
17025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17026 conftest$ac_exeext conftest.$ac_ext
17028 ac_res=`eval echo '${'$as_ac_var'}'`
17029 { echo "$as_me:$LINENO: result: $ac_res" >&5
17030 echo "${ECHO_T}$ac_res" >&6; }
17031 if test `eval echo '${'$as_ac_var'}'` = yes; then
17032 cat >>confdefs.h <<_ACEOF
17033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17034 _ACEOF
17037 done
17039 LIBS="$ac_wine_check_funcs_save_LIBS"
17041 if test "$ac_cv_func_poll" = no
17042 then
17043 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17044 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17045 if test "${ac_cv_lib_poll_poll+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 else
17048 ac_check_lib_save_LIBS=$LIBS
17049 LIBS="-lpoll $LIBS"
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h. */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17060 #ifdef __cplusplus
17061 extern "C"
17062 #endif
17063 char poll ();
17065 main ()
17067 return poll ();
17069 return 0;
17071 _ACEOF
17072 rm -f conftest.$ac_objext conftest$ac_exeext
17073 if { (ac_try="$ac_link"
17074 case "(($ac_try" in
17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17076 *) ac_try_echo=$ac_try;;
17077 esac
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17079 (eval "$ac_link") 2>conftest.er1
17080 ac_status=$?
17081 grep -v '^ *+' conftest.er1 >conftest.err
17082 rm -f conftest.er1
17083 cat conftest.err >&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } && {
17086 test -z "$ac_c_werror_flag" ||
17087 test ! -s conftest.err
17088 } && test -s conftest$ac_exeext &&
17089 $as_test_x conftest$ac_exeext; then
17090 ac_cv_lib_poll_poll=yes
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17095 ac_cv_lib_poll_poll=no
17098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17099 conftest$ac_exeext conftest.$ac_ext
17100 LIBS=$ac_check_lib_save_LIBS
17102 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17103 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17104 if test $ac_cv_lib_poll_poll = yes; then
17105 cat >>confdefs.h <<\_ACEOF
17106 #define HAVE_POLL 1
17107 _ACEOF
17108 LIBPOLL="-lpoll"
17114 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17115 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17116 if test "${ac_cv_search_gethostbyname+set}" = set; then
17117 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 else
17119 ac_func_search_save_LIBS=$LIBS
17120 cat >conftest.$ac_ext <<_ACEOF
17121 /* confdefs.h. */
17122 _ACEOF
17123 cat confdefs.h >>conftest.$ac_ext
17124 cat >>conftest.$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17127 /* Override any GCC internal prototype to avoid an error.
17128 Use char because int might match the return type of a GCC
17129 builtin and then its argument prototype would still apply. */
17130 #ifdef __cplusplus
17131 extern "C"
17132 #endif
17133 char gethostbyname ();
17135 main ()
17137 return gethostbyname ();
17139 return 0;
17141 _ACEOF
17142 for ac_lib in '' nsl; do
17143 if test -z "$ac_lib"; then
17144 ac_res="none required"
17145 else
17146 ac_res=-l$ac_lib
17147 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17149 rm -f conftest.$ac_objext conftest$ac_exeext
17150 if { (ac_try="$ac_link"
17151 case "(($ac_try" in
17152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17153 *) ac_try_echo=$ac_try;;
17154 esac
17155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17156 (eval "$ac_link") 2>conftest.er1
17157 ac_status=$?
17158 grep -v '^ *+' conftest.er1 >conftest.err
17159 rm -f conftest.er1
17160 cat conftest.err >&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } && {
17163 test -z "$ac_c_werror_flag" ||
17164 test ! -s conftest.err
17165 } && test -s conftest$ac_exeext &&
17166 $as_test_x conftest$ac_exeext; then
17167 ac_cv_search_gethostbyname=$ac_res
17168 else
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17176 conftest$ac_exeext
17177 if test "${ac_cv_search_gethostbyname+set}" = set; then
17178 break
17180 done
17181 if test "${ac_cv_search_gethostbyname+set}" = set; then
17183 else
17184 ac_cv_search_gethostbyname=no
17186 rm conftest.$ac_ext
17187 LIBS=$ac_func_search_save_LIBS
17189 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17190 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17191 ac_res=$ac_cv_search_gethostbyname
17192 if test "$ac_res" != no; then
17193 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17198 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17199 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17200 if test "${ac_cv_search_connect+set}" = set; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 else
17203 ac_func_search_save_LIBS=$LIBS
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17211 /* Override any GCC internal prototype to avoid an error.
17212 Use char because int might match the return type of a GCC
17213 builtin and then its argument prototype would still apply. */
17214 #ifdef __cplusplus
17215 extern "C"
17216 #endif
17217 char connect ();
17219 main ()
17221 return connect ();
17223 return 0;
17225 _ACEOF
17226 for ac_lib in '' socket; do
17227 if test -z "$ac_lib"; then
17228 ac_res="none required"
17229 else
17230 ac_res=-l$ac_lib
17231 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17233 rm -f conftest.$ac_objext conftest$ac_exeext
17234 if { (ac_try="$ac_link"
17235 case "(($ac_try" in
17236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17237 *) ac_try_echo=$ac_try;;
17238 esac
17239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_link") 2>conftest.er1
17241 ac_status=$?
17242 grep -v '^ *+' conftest.er1 >conftest.err
17243 rm -f conftest.er1
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_c_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest$ac_exeext &&
17250 $as_test_x conftest$ac_exeext; then
17251 ac_cv_search_connect=$ac_res
17252 else
17253 echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.$ac_ext >&5
17259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17260 conftest$ac_exeext
17261 if test "${ac_cv_search_connect+set}" = set; then
17262 break
17264 done
17265 if test "${ac_cv_search_connect+set}" = set; then
17267 else
17268 ac_cv_search_connect=no
17270 rm conftest.$ac_ext
17271 LIBS=$ac_func_search_save_LIBS
17273 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17274 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17275 ac_res=$ac_cv_search_connect
17276 if test "$ac_res" != no; then
17277 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17282 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17283 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17284 if test "${ac_cv_search_inet_aton+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 ac_func_search_save_LIBS=$LIBS
17288 cat >conftest.$ac_ext <<_ACEOF
17289 /* confdefs.h. */
17290 _ACEOF
17291 cat confdefs.h >>conftest.$ac_ext
17292 cat >>conftest.$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17295 /* Override any GCC internal prototype to avoid an error.
17296 Use char because int might match the return type of a GCC
17297 builtin and then its argument prototype would still apply. */
17298 #ifdef __cplusplus
17299 extern "C"
17300 #endif
17301 char inet_aton ();
17303 main ()
17305 return inet_aton ();
17307 return 0;
17309 _ACEOF
17310 for ac_lib in '' resolv; do
17311 if test -z "$ac_lib"; then
17312 ac_res="none required"
17313 else
17314 ac_res=-l$ac_lib
17315 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17317 rm -f conftest.$ac_objext conftest$ac_exeext
17318 if { (ac_try="$ac_link"
17319 case "(($ac_try" in
17320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17321 *) ac_try_echo=$ac_try;;
17322 esac
17323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17324 (eval "$ac_link") 2>conftest.er1
17325 ac_status=$?
17326 grep -v '^ *+' conftest.er1 >conftest.err
17327 rm -f conftest.er1
17328 cat conftest.err >&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } && {
17331 test -z "$ac_c_werror_flag" ||
17332 test ! -s conftest.err
17333 } && test -s conftest$ac_exeext &&
17334 $as_test_x conftest$ac_exeext; then
17335 ac_cv_search_inet_aton=$ac_res
17336 else
17337 echo "$as_me: failed program was:" >&5
17338 sed 's/^/| /' conftest.$ac_ext >&5
17343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17344 conftest$ac_exeext
17345 if test "${ac_cv_search_inet_aton+set}" = set; then
17346 break
17348 done
17349 if test "${ac_cv_search_inet_aton+set}" = set; then
17351 else
17352 ac_cv_search_inet_aton=no
17354 rm conftest.$ac_ext
17355 LIBS=$ac_func_search_save_LIBS
17357 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17358 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17359 ac_res=$ac_cv_search_inet_aton
17360 if test "$ac_res" != no; then
17361 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17374 for ac_func in \
17375 getaddrinfo \
17376 getnameinfo \
17377 getnetbyname \
17378 getprotobyname \
17379 getprotobynumber \
17380 getservbyport \
17381 inet_network \
17382 sendmsg \
17385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 else
17391 cat >conftest.$ac_ext <<_ACEOF
17392 /* confdefs.h. */
17393 _ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17399 #define $ac_func innocuous_$ac_func
17401 /* System header to define __stub macros and hopefully few prototypes,
17402 which can conflict with char $ac_func (); below.
17403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17404 <limits.h> exists even on freestanding compilers. */
17406 #ifdef __STDC__
17407 # include <limits.h>
17408 #else
17409 # include <assert.h>
17410 #endif
17412 #undef $ac_func
17414 /* Override any GCC internal prototype to avoid an error.
17415 Use char because int might match the return type of a GCC
17416 builtin and then its argument prototype would still apply. */
17417 #ifdef __cplusplus
17418 extern "C"
17419 #endif
17420 char $ac_func ();
17421 /* The GNU C library defines this for functions which it implements
17422 to always fail with ENOSYS. Some functions are actually named
17423 something starting with __ and the normal name is an alias. */
17424 #if defined __stub_$ac_func || defined __stub___$ac_func
17425 choke me
17426 #endif
17429 main ()
17431 return $ac_func ();
17433 return 0;
17435 _ACEOF
17436 rm -f conftest.$ac_objext conftest$ac_exeext
17437 if { (ac_try="$ac_link"
17438 case "(($ac_try" in
17439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17440 *) ac_try_echo=$ac_try;;
17441 esac
17442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17443 (eval "$ac_link") 2>conftest.er1
17444 ac_status=$?
17445 grep -v '^ *+' conftest.er1 >conftest.err
17446 rm -f conftest.er1
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } && {
17450 test -z "$ac_c_werror_flag" ||
17451 test ! -s conftest.err
17452 } && test -s conftest$ac_exeext &&
17453 $as_test_x conftest$ac_exeext; then
17454 eval "$as_ac_var=yes"
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17459 eval "$as_ac_var=no"
17462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17463 conftest$ac_exeext conftest.$ac_ext
17465 ac_res=`eval echo '${'$as_ac_var'}'`
17466 { echo "$as_me:$LINENO: result: $ac_res" >&5
17467 echo "${ECHO_T}$ac_res" >&6; }
17468 if test `eval echo '${'$as_ac_var'}'` = yes; then
17469 cat >>confdefs.h <<_ACEOF
17470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17471 _ACEOF
17474 done
17478 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17479 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17480 if test "${ac_cv_c_const+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 else
17483 cat >conftest.$ac_ext <<_ACEOF
17484 /* confdefs.h. */
17485 _ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17491 main ()
17493 /* FIXME: Include the comments suggested by Paul. */
17494 #ifndef __cplusplus
17495 /* Ultrix mips cc rejects this. */
17496 typedef int charset[2];
17497 const charset cs;
17498 /* SunOS 4.1.1 cc rejects this. */
17499 char const *const *pcpcc;
17500 char **ppc;
17501 /* NEC SVR4.0.2 mips cc rejects this. */
17502 struct point {int x, y;};
17503 static struct point const zero = {0,0};
17504 /* AIX XL C 1.02.0.0 rejects this.
17505 It does not let you subtract one const X* pointer from another in
17506 an arm of an if-expression whose if-part is not a constant
17507 expression */
17508 const char *g = "string";
17509 pcpcc = &g + (g ? g-g : 0);
17510 /* HPUX 7.0 cc rejects these. */
17511 ++pcpcc;
17512 ppc = (char**) pcpcc;
17513 pcpcc = (char const *const *) ppc;
17514 { /* SCO 3.2v4 cc rejects this. */
17515 char *t;
17516 char const *s = 0 ? (char *) 0 : (char const *) 0;
17518 *t++ = 0;
17519 if (s) return 0;
17521 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17522 int x[] = {25, 17};
17523 const int *foo = &x[0];
17524 ++foo;
17526 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17527 typedef const int *iptr;
17528 iptr p = 0;
17529 ++p;
17531 { /* AIX XL C 1.02.0.0 rejects this saying
17532 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17533 struct s { int j; const int *ap[3]; };
17534 struct s *b; b->j = 5;
17536 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17537 const int foo = 10;
17538 if (!foo) return 0;
17540 return !cs[0] && !zero.x;
17541 #endif
17544 return 0;
17546 _ACEOF
17547 rm -f conftest.$ac_objext
17548 if { (ac_try="$ac_compile"
17549 case "(($ac_try" in
17550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17552 esac
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_compile") 2>conftest.er1
17555 ac_status=$?
17556 grep -v '^ *+' conftest.er1 >conftest.err
17557 rm -f conftest.er1
17558 cat conftest.err >&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } && {
17561 test -z "$ac_c_werror_flag" ||
17562 test ! -s conftest.err
17563 } && test -s conftest.$ac_objext; then
17564 ac_cv_c_const=yes
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17569 ac_cv_c_const=no
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17575 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17576 if test $ac_cv_c_const = no; then
17578 cat >>confdefs.h <<\_ACEOF
17579 #define const
17580 _ACEOF
17584 { echo "$as_me:$LINENO: checking for inline" >&5
17585 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17586 if test "${ac_cv_c_inline+set}" = set; then
17587 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 else
17589 ac_cv_c_inline=no
17590 for ac_kw in inline __inline__ __inline; do
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #ifndef __cplusplus
17598 typedef int foo_t;
17599 static $ac_kw foo_t static_foo () {return 0; }
17600 $ac_kw foo_t foo () {return 0; }
17601 #endif
17603 _ACEOF
17604 rm -f conftest.$ac_objext
17605 if { (ac_try="$ac_compile"
17606 case "(($ac_try" in
17607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17608 *) ac_try_echo=$ac_try;;
17609 esac
17610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17611 (eval "$ac_compile") 2>conftest.er1
17612 ac_status=$?
17613 grep -v '^ *+' conftest.er1 >conftest.err
17614 rm -f conftest.er1
17615 cat conftest.err >&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); } && {
17618 test -z "$ac_c_werror_flag" ||
17619 test ! -s conftest.err
17620 } && test -s conftest.$ac_objext; then
17621 ac_cv_c_inline=$ac_kw
17622 else
17623 echo "$as_me: failed program was:" >&5
17624 sed 's/^/| /' conftest.$ac_ext >&5
17629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17630 test "$ac_cv_c_inline" != no && break
17631 done
17634 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17635 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17638 case $ac_cv_c_inline in
17639 inline | yes) ;;
17641 case $ac_cv_c_inline in
17642 no) ac_val=;;
17643 *) ac_val=$ac_cv_c_inline;;
17644 esac
17645 cat >>confdefs.h <<_ACEOF
17646 #ifndef __cplusplus
17647 #define inline $ac_val
17648 #endif
17649 _ACEOF
17651 esac
17653 { echo "$as_me:$LINENO: checking for mode_t" >&5
17654 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17655 if test "${ac_cv_type_mode_t+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 else
17658 cat >conftest.$ac_ext <<_ACEOF
17659 /* confdefs.h. */
17660 _ACEOF
17661 cat confdefs.h >>conftest.$ac_ext
17662 cat >>conftest.$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17664 $ac_includes_default
17665 typedef mode_t ac__type_new_;
17667 main ()
17669 if ((ac__type_new_ *) 0)
17670 return 0;
17671 if (sizeof (ac__type_new_))
17672 return 0;
17674 return 0;
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (ac_try="$ac_compile"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17682 esac
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_compile") 2>conftest.er1
17685 ac_status=$?
17686 grep -v '^ *+' conftest.er1 >conftest.err
17687 rm -f conftest.er1
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && {
17691 test -z "$ac_c_werror_flag" ||
17692 test ! -s conftest.err
17693 } && test -s conftest.$ac_objext; then
17694 ac_cv_type_mode_t=yes
17695 else
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17699 ac_cv_type_mode_t=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17704 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17705 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17706 if test $ac_cv_type_mode_t = yes; then
17708 cat >>confdefs.h <<_ACEOF
17709 #define HAVE_MODE_T 1
17710 _ACEOF
17714 { echo "$as_me:$LINENO: checking for off_t" >&5
17715 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17716 if test "${ac_cv_type_off_t+set}" = set; then
17717 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 else
17719 cat >conftest.$ac_ext <<_ACEOF
17720 /* confdefs.h. */
17721 _ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725 $ac_includes_default
17726 typedef off_t ac__type_new_;
17728 main ()
17730 if ((ac__type_new_ *) 0)
17731 return 0;
17732 if (sizeof (ac__type_new_))
17733 return 0;
17735 return 0;
17737 _ACEOF
17738 rm -f conftest.$ac_objext
17739 if { (ac_try="$ac_compile"
17740 case "(($ac_try" in
17741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17742 *) ac_try_echo=$ac_try;;
17743 esac
17744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17745 (eval "$ac_compile") 2>conftest.er1
17746 ac_status=$?
17747 grep -v '^ *+' conftest.er1 >conftest.err
17748 rm -f conftest.er1
17749 cat conftest.err >&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } && {
17752 test -z "$ac_c_werror_flag" ||
17753 test ! -s conftest.err
17754 } && test -s conftest.$ac_objext; then
17755 ac_cv_type_off_t=yes
17756 else
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.$ac_ext >&5
17760 ac_cv_type_off_t=no
17763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17766 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17767 if test $ac_cv_type_off_t = yes; then
17769 cat >>confdefs.h <<_ACEOF
17770 #define HAVE_OFF_T 1
17771 _ACEOF
17775 { echo "$as_me:$LINENO: checking for pid_t" >&5
17776 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17777 if test "${ac_cv_type_pid_t+set}" = set; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17779 else
17780 cat >conftest.$ac_ext <<_ACEOF
17781 /* confdefs.h. */
17782 _ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 $ac_includes_default
17787 typedef pid_t ac__type_new_;
17789 main ()
17791 if ((ac__type_new_ *) 0)
17792 return 0;
17793 if (sizeof (ac__type_new_))
17794 return 0;
17796 return 0;
17798 _ACEOF
17799 rm -f conftest.$ac_objext
17800 if { (ac_try="$ac_compile"
17801 case "(($ac_try" in
17802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17804 esac
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_compile") 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && {
17813 test -z "$ac_c_werror_flag" ||
17814 test ! -s conftest.err
17815 } && test -s conftest.$ac_objext; then
17816 ac_cv_type_pid_t=yes
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17821 ac_cv_type_pid_t=no
17824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17826 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17827 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17828 if test $ac_cv_type_pid_t = yes; then
17830 cat >>confdefs.h <<_ACEOF
17831 #define HAVE_PID_T 1
17832 _ACEOF
17836 { echo "$as_me:$LINENO: checking for size_t" >&5
17837 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17838 if test "${ac_cv_type_size_t+set}" = set; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17840 else
17841 cat >conftest.$ac_ext <<_ACEOF
17842 /* confdefs.h. */
17843 _ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 $ac_includes_default
17848 typedef size_t ac__type_new_;
17850 main ()
17852 if ((ac__type_new_ *) 0)
17853 return 0;
17854 if (sizeof (ac__type_new_))
17855 return 0;
17857 return 0;
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17865 esac
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17868 ac_status=$?
17869 grep -v '^ *+' conftest.er1 >conftest.err
17870 rm -f conftest.er1
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17877 ac_cv_type_size_t=yes
17878 else
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17882 ac_cv_type_size_t=no
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17888 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17889 if test $ac_cv_type_size_t = yes; then
17891 cat >>confdefs.h <<_ACEOF
17892 #define HAVE_SIZE_T 1
17893 _ACEOF
17897 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17898 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17899 if test "${ac_cv_type_ssize_t+set}" = set; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17901 else
17902 cat >conftest.$ac_ext <<_ACEOF
17903 /* confdefs.h. */
17904 _ACEOF
17905 cat confdefs.h >>conftest.$ac_ext
17906 cat >>conftest.$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 $ac_includes_default
17909 typedef ssize_t ac__type_new_;
17911 main ()
17913 if ((ac__type_new_ *) 0)
17914 return 0;
17915 if (sizeof (ac__type_new_))
17916 return 0;
17918 return 0;
17920 _ACEOF
17921 rm -f conftest.$ac_objext
17922 if { (ac_try="$ac_compile"
17923 case "(($ac_try" in
17924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17925 *) ac_try_echo=$ac_try;;
17926 esac
17927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17928 (eval "$ac_compile") 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } && {
17935 test -z "$ac_c_werror_flag" ||
17936 test ! -s conftest.err
17937 } && test -s conftest.$ac_objext; then
17938 ac_cv_type_ssize_t=yes
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17943 ac_cv_type_ssize_t=no
17946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17948 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17949 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17950 if test $ac_cv_type_ssize_t = yes; then
17952 cat >>confdefs.h <<_ACEOF
17953 #define HAVE_SSIZE_T 1
17954 _ACEOF
17958 { echo "$as_me:$LINENO: checking for long long" >&5
17959 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17960 if test "${ac_cv_type_long_long+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970 typedef long long ac__type_new_;
17972 main ()
17974 if ((ac__type_new_ *) 0)
17975 return 0;
17976 if (sizeof (ac__type_new_))
17977 return 0;
17979 return 0;
17981 _ACEOF
17982 rm -f conftest.$ac_objext
17983 if { (ac_try="$ac_compile"
17984 case "(($ac_try" in
17985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17986 *) ac_try_echo=$ac_try;;
17987 esac
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17989 (eval "$ac_compile") 2>conftest.er1
17990 ac_status=$?
17991 grep -v '^ *+' conftest.er1 >conftest.err
17992 rm -f conftest.er1
17993 cat conftest.err >&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } && {
17996 test -z "$ac_c_werror_flag" ||
17997 test ! -s conftest.err
17998 } && test -s conftest.$ac_objext; then
17999 ac_cv_type_long_long=yes
18000 else
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18004 ac_cv_type_long_long=no
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18009 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18010 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18011 if test $ac_cv_type_long_long = yes; then
18013 cat >>confdefs.h <<_ACEOF
18014 #define HAVE_LONG_LONG 1
18015 _ACEOF
18019 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18020 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18021 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18022 echo $ECHO_N "(cached) $ECHO_C" >&6
18023 else
18024 cat >conftest.$ac_ext <<_ACEOF
18025 /* confdefs.h. */
18026 _ACEOF
18027 cat confdefs.h >>conftest.$ac_ext
18028 cat >>conftest.$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18030 $ac_includes_default
18031 typedef fsblkcnt_t ac__type_new_;
18033 main ()
18035 if ((ac__type_new_ *) 0)
18036 return 0;
18037 if (sizeof (ac__type_new_))
18038 return 0;
18040 return 0;
18042 _ACEOF
18043 rm -f conftest.$ac_objext
18044 if { (ac_try="$ac_compile"
18045 case "(($ac_try" in
18046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18047 *) ac_try_echo=$ac_try;;
18048 esac
18049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18050 (eval "$ac_compile") 2>conftest.er1
18051 ac_status=$?
18052 grep -v '^ *+' conftest.er1 >conftest.err
18053 rm -f conftest.er1
18054 cat conftest.err >&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } && {
18057 test -z "$ac_c_werror_flag" ||
18058 test ! -s conftest.err
18059 } && test -s conftest.$ac_objext; then
18060 ac_cv_type_fsblkcnt_t=yes
18061 else
18062 echo "$as_me: failed program was:" >&5
18063 sed 's/^/| /' conftest.$ac_ext >&5
18065 ac_cv_type_fsblkcnt_t=no
18068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18070 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18071 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18072 if test $ac_cv_type_fsblkcnt_t = yes; then
18074 cat >>confdefs.h <<_ACEOF
18075 #define HAVE_FSBLKCNT_T 1
18076 _ACEOF
18080 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18081 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18082 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18092 typedef fsfilcnt_t ac__type_new_;
18094 main ()
18096 if ((ac__type_new_ *) 0)
18097 return 0;
18098 if (sizeof (ac__type_new_))
18099 return 0;
18101 return 0;
18103 _ACEOF
18104 rm -f conftest.$ac_objext
18105 if { (ac_try="$ac_compile"
18106 case "(($ac_try" in
18107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18108 *) ac_try_echo=$ac_try;;
18109 esac
18110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18111 (eval "$ac_compile") 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } && {
18118 test -z "$ac_c_werror_flag" ||
18119 test ! -s conftest.err
18120 } && test -s conftest.$ac_objext; then
18121 ac_cv_type_fsfilcnt_t=yes
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18126 ac_cv_type_fsfilcnt_t=no
18129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18131 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18132 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18133 if test $ac_cv_type_fsfilcnt_t = yes; then
18135 cat >>confdefs.h <<_ACEOF
18136 #define HAVE_FSFILCNT_T 1
18137 _ACEOF
18142 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18143 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18144 if test "${ac_cv_type_sigset_t+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18146 else
18147 cat >conftest.$ac_ext <<_ACEOF
18148 /* confdefs.h. */
18149 _ACEOF
18150 cat confdefs.h >>conftest.$ac_ext
18151 cat >>conftest.$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 #include <signal.h>
18155 typedef sigset_t ac__type_new_;
18157 main ()
18159 if ((ac__type_new_ *) 0)
18160 return 0;
18161 if (sizeof (ac__type_new_))
18162 return 0;
18164 return 0;
18166 _ACEOF
18167 rm -f conftest.$ac_objext
18168 if { (ac_try="$ac_compile"
18169 case "(($ac_try" in
18170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18171 *) ac_try_echo=$ac_try;;
18172 esac
18173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18174 (eval "$ac_compile") 2>conftest.er1
18175 ac_status=$?
18176 grep -v '^ *+' conftest.er1 >conftest.err
18177 rm -f conftest.er1
18178 cat conftest.err >&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); } && {
18181 test -z "$ac_c_werror_flag" ||
18182 test ! -s conftest.err
18183 } && test -s conftest.$ac_objext; then
18184 ac_cv_type_sigset_t=yes
18185 else
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.$ac_ext >&5
18189 ac_cv_type_sigset_t=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18194 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18195 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18196 if test $ac_cv_type_sigset_t = yes; then
18198 cat >>confdefs.h <<_ACEOF
18199 #define HAVE_SIGSET_T 1
18200 _ACEOF
18205 { echo "$as_me:$LINENO: checking for request_sense" >&5
18206 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18207 if test "${ac_cv_type_request_sense+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 else
18210 cat >conftest.$ac_ext <<_ACEOF
18211 /* confdefs.h. */
18212 _ACEOF
18213 cat confdefs.h >>conftest.$ac_ext
18214 cat >>conftest.$ac_ext <<_ACEOF
18215 /* end confdefs.h. */
18216 #include <linux/cdrom.h>
18218 typedef request_sense ac__type_new_;
18220 main ()
18222 if ((ac__type_new_ *) 0)
18223 return 0;
18224 if (sizeof (ac__type_new_))
18225 return 0;
18227 return 0;
18229 _ACEOF
18230 rm -f conftest.$ac_objext
18231 if { (ac_try="$ac_compile"
18232 case "(($ac_try" in
18233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18234 *) ac_try_echo=$ac_try;;
18235 esac
18236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18237 (eval "$ac_compile") 2>conftest.er1
18238 ac_status=$?
18239 grep -v '^ *+' conftest.er1 >conftest.err
18240 rm -f conftest.er1
18241 cat conftest.err >&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } && {
18244 test -z "$ac_c_werror_flag" ||
18245 test ! -s conftest.err
18246 } && test -s conftest.$ac_objext; then
18247 ac_cv_type_request_sense=yes
18248 else
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18252 ac_cv_type_request_sense=no
18255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18257 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18258 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18259 if test $ac_cv_type_request_sense = yes; then
18261 cat >>confdefs.h <<_ACEOF
18262 #define HAVE_REQUEST_SENSE 1
18263 _ACEOF
18269 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18270 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18271 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18272 echo $ECHO_N "(cached) $ECHO_C" >&6
18273 else
18274 cat >conftest.$ac_ext <<_ACEOF
18275 /* confdefs.h. */
18276 _ACEOF
18277 cat confdefs.h >>conftest.$ac_ext
18278 cat >>conftest.$ac_ext <<_ACEOF
18279 /* end confdefs.h. */
18280 #ifdef HAVE_LINUX_INPUT_H
18281 #include <linux/input.h>
18282 #endif
18285 main ()
18287 static struct ff_effect ac_aggr;
18288 if (ac_aggr.direction)
18289 return 0;
18291 return 0;
18293 _ACEOF
18294 rm -f conftest.$ac_objext
18295 if { (ac_try="$ac_compile"
18296 case "(($ac_try" in
18297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18298 *) ac_try_echo=$ac_try;;
18299 esac
18300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18301 (eval "$ac_compile") 2>conftest.er1
18302 ac_status=$?
18303 grep -v '^ *+' conftest.er1 >conftest.err
18304 rm -f conftest.er1
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } && {
18308 test -z "$ac_c_werror_flag" ||
18309 test ! -s conftest.err
18310 } && test -s conftest.$ac_objext; then
18311 ac_cv_member_struct_ff_effect_direction=yes
18312 else
18313 echo "$as_me: failed program was:" >&5
18314 sed 's/^/| /' conftest.$ac_ext >&5
18316 cat >conftest.$ac_ext <<_ACEOF
18317 /* confdefs.h. */
18318 _ACEOF
18319 cat confdefs.h >>conftest.$ac_ext
18320 cat >>conftest.$ac_ext <<_ACEOF
18321 /* end confdefs.h. */
18322 #ifdef HAVE_LINUX_INPUT_H
18323 #include <linux/input.h>
18324 #endif
18327 main ()
18329 static struct ff_effect ac_aggr;
18330 if (sizeof ac_aggr.direction)
18331 return 0;
18333 return 0;
18335 _ACEOF
18336 rm -f conftest.$ac_objext
18337 if { (ac_try="$ac_compile"
18338 case "(($ac_try" in
18339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18341 esac
18342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_compile") 2>conftest.er1
18344 ac_status=$?
18345 grep -v '^ *+' conftest.er1 >conftest.err
18346 rm -f conftest.er1
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest.$ac_objext; then
18353 ac_cv_member_struct_ff_effect_direction=yes
18354 else
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18358 ac_cv_member_struct_ff_effect_direction=no
18361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18366 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18367 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18368 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18370 cat >>confdefs.h <<_ACEOF
18371 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18372 _ACEOF
18378 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18379 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18380 if test "${wine_cv_have_sigaddset+set}" = set; then
18381 echo $ECHO_N "(cached) $ECHO_C" >&6
18382 else
18383 cat >conftest.$ac_ext <<_ACEOF
18384 /* confdefs.h. */
18385 _ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 #include <signal.h>
18391 main ()
18393 sigset_t set; sigaddset(&set,SIGTERM);
18395 return 0;
18397 _ACEOF
18398 rm -f conftest.$ac_objext conftest$ac_exeext
18399 if { (ac_try="$ac_link"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18403 esac
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_link") 2>conftest.er1
18406 ac_status=$?
18407 grep -v '^ *+' conftest.er1 >conftest.err
18408 rm -f conftest.er1
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_c_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest$ac_exeext &&
18415 $as_test_x conftest$ac_exeext; then
18416 wine_cv_have_sigaddset=yes
18417 else
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.$ac_ext >&5
18421 wine_cv_have_sigaddset=no
18424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18425 conftest$ac_exeext conftest.$ac_ext
18427 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18428 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18429 if test "$wine_cv_have_sigaddset" = "yes"
18430 then
18432 cat >>confdefs.h <<\_ACEOF
18433 #define HAVE_SIGADDSET 1
18434 _ACEOF
18439 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18440 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18441 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18442 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 else
18444 cat >conftest.$ac_ext <<_ACEOF
18445 /* confdefs.h. */
18446 _ACEOF
18447 cat confdefs.h >>conftest.$ac_ext
18448 cat >>conftest.$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 #include <netdb.h>
18452 main ()
18455 char *name=0;
18456 struct hostent he;
18457 struct hostent *result;
18458 char *buf=0;
18459 int bufsize=0;
18460 int res,errnr;
18461 char *addr=0;
18462 int addrlen=0;
18463 int addrtype=0;
18464 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18465 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18468 return 0;
18470 _ACEOF
18471 rm -f conftest.$ac_objext conftest$ac_exeext
18472 if { (ac_try="$ac_link"
18473 case "(($ac_try" in
18474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18475 *) ac_try_echo=$ac_try;;
18476 esac
18477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18478 (eval "$ac_link") 2>conftest.er1
18479 ac_status=$?
18480 grep -v '^ *+' conftest.er1 >conftest.err
18481 rm -f conftest.er1
18482 cat conftest.err >&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); } && {
18485 test -z "$ac_c_werror_flag" ||
18486 test ! -s conftest.err
18487 } && test -s conftest$ac_exeext &&
18488 $as_test_x conftest$ac_exeext; then
18489 wine_cv_linux_gethostbyname_r_6=yes
18490 else
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.$ac_ext >&5
18494 wine_cv_linux_gethostbyname_r_6=no
18498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18499 conftest$ac_exeext conftest.$ac_ext
18502 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18503 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18504 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18505 then
18507 cat >>confdefs.h <<\_ACEOF
18508 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18509 _ACEOF
18513 if test "$ac_cv_header_linux_joystick_h" = "yes"
18514 then
18515 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18516 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18517 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18527 #include <sys/ioctl.h>
18528 #include <sys/types.h>
18529 #include <linux/joystick.h>
18531 struct js_event blub;
18532 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18533 #error "no 2.2 header"
18534 #endif
18537 main ()
18539 /*empty*/
18541 return 0;
18543 _ACEOF
18544 rm -f conftest.$ac_objext
18545 if { (ac_try="$ac_compile"
18546 case "(($ac_try" in
18547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18548 *) ac_try_echo=$ac_try;;
18549 esac
18550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18551 (eval "$ac_compile") 2>conftest.er1
18552 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1
18555 cat conftest.err >&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } && {
18558 test -z "$ac_c_werror_flag" ||
18559 test ! -s conftest.err
18560 } && test -s conftest.$ac_objext; then
18561 wine_cv_linux_joystick_22_api=yes
18562 else
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.$ac_ext >&5
18566 wine_cv_linux_joystick_22_api=no
18569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18572 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18573 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18574 if test "$wine_cv_linux_joystick_22_api" = "yes"
18575 then
18577 cat >>confdefs.h <<\_ACEOF
18578 #define HAVE_LINUX_22_JOYSTICK_API 1
18579 _ACEOF
18585 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18586 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18587 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18588 echo $ECHO_N "(cached) $ECHO_C" >&6
18589 else
18590 cat >conftest.$ac_ext <<_ACEOF
18591 /* confdefs.h. */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 #include <sys/types.h>
18597 #ifdef HAVE_SYS_PARAM_H
18598 # include <sys/param.h>
18599 #endif
18600 #ifdef HAVE_SYS_MOUNT_H
18601 # include <sys/mount.h>
18602 #endif
18603 #ifdef HAVE_SYS_VFS_H
18604 # include <sys/vfs.h>
18605 #endif
18606 #ifdef HAVE_SYS_STATFS_H
18607 # include <sys/statfs.h>
18608 #endif
18611 main ()
18613 static struct statfs ac_aggr;
18614 if (ac_aggr.f_bfree)
18615 return 0;
18617 return 0;
18619 _ACEOF
18620 rm -f conftest.$ac_objext
18621 if { (ac_try="$ac_compile"
18622 case "(($ac_try" in
18623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18624 *) ac_try_echo=$ac_try;;
18625 esac
18626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18627 (eval "$ac_compile") 2>conftest.er1
18628 ac_status=$?
18629 grep -v '^ *+' conftest.er1 >conftest.err
18630 rm -f conftest.er1
18631 cat conftest.err >&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } && {
18634 test -z "$ac_c_werror_flag" ||
18635 test ! -s conftest.err
18636 } && test -s conftest.$ac_objext; then
18637 ac_cv_member_struct_statfs_f_bfree=yes
18638 else
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.$ac_ext >&5
18642 cat >conftest.$ac_ext <<_ACEOF
18643 /* confdefs.h. */
18644 _ACEOF
18645 cat confdefs.h >>conftest.$ac_ext
18646 cat >>conftest.$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648 #include <sys/types.h>
18649 #ifdef HAVE_SYS_PARAM_H
18650 # include <sys/param.h>
18651 #endif
18652 #ifdef HAVE_SYS_MOUNT_H
18653 # include <sys/mount.h>
18654 #endif
18655 #ifdef HAVE_SYS_VFS_H
18656 # include <sys/vfs.h>
18657 #endif
18658 #ifdef HAVE_SYS_STATFS_H
18659 # include <sys/statfs.h>
18660 #endif
18663 main ()
18665 static struct statfs ac_aggr;
18666 if (sizeof ac_aggr.f_bfree)
18667 return 0;
18669 return 0;
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18677 esac
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18680 ac_status=$?
18681 grep -v '^ *+' conftest.er1 >conftest.err
18682 rm -f conftest.er1
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_member_struct_statfs_f_bfree=yes
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_member_struct_statfs_f_bfree=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18703 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18704 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_STATFS_F_BFREE 1
18708 _ACEOF
18712 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18713 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18714 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 cat >conftest.$ac_ext <<_ACEOF
18718 /* confdefs.h. */
18719 _ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 #include <sys/types.h>
18724 #ifdef HAVE_SYS_PARAM_H
18725 # include <sys/param.h>
18726 #endif
18727 #ifdef HAVE_SYS_MOUNT_H
18728 # include <sys/mount.h>
18729 #endif
18730 #ifdef HAVE_SYS_VFS_H
18731 # include <sys/vfs.h>
18732 #endif
18733 #ifdef HAVE_SYS_STATFS_H
18734 # include <sys/statfs.h>
18735 #endif
18738 main ()
18740 static struct statfs ac_aggr;
18741 if (ac_aggr.f_bavail)
18742 return 0;
18744 return 0;
18746 _ACEOF
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18752 esac
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_c_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then
18764 ac_cv_member_struct_statfs_f_bavail=yes
18765 else
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 #include <sys/types.h>
18776 #ifdef HAVE_SYS_PARAM_H
18777 # include <sys/param.h>
18778 #endif
18779 #ifdef HAVE_SYS_MOUNT_H
18780 # include <sys/mount.h>
18781 #endif
18782 #ifdef HAVE_SYS_VFS_H
18783 # include <sys/vfs.h>
18784 #endif
18785 #ifdef HAVE_SYS_STATFS_H
18786 # include <sys/statfs.h>
18787 #endif
18790 main ()
18792 static struct statfs ac_aggr;
18793 if (sizeof ac_aggr.f_bavail)
18794 return 0;
18796 return 0;
18798 _ACEOF
18799 rm -f conftest.$ac_objext
18800 if { (ac_try="$ac_compile"
18801 case "(($ac_try" in
18802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18803 *) ac_try_echo=$ac_try;;
18804 esac
18805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18806 (eval "$ac_compile") 2>conftest.er1
18807 ac_status=$?
18808 grep -v '^ *+' conftest.er1 >conftest.err
18809 rm -f conftest.er1
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } && {
18813 test -z "$ac_c_werror_flag" ||
18814 test ! -s conftest.err
18815 } && test -s conftest.$ac_objext; then
18816 ac_cv_member_struct_statfs_f_bavail=yes
18817 else
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18821 ac_cv_member_struct_statfs_f_bavail=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18830 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18831 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18833 cat >>confdefs.h <<_ACEOF
18834 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18835 _ACEOF
18839 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18840 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18841 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 else
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 #include <sys/types.h>
18851 #ifdef HAVE_SYS_PARAM_H
18852 # include <sys/param.h>
18853 #endif
18854 #ifdef HAVE_SYS_MOUNT_H
18855 # include <sys/mount.h>
18856 #endif
18857 #ifdef HAVE_SYS_VFS_H
18858 # include <sys/vfs.h>
18859 #endif
18860 #ifdef HAVE_SYS_STATFS_H
18861 # include <sys/statfs.h>
18862 #endif
18865 main ()
18867 static struct statfs ac_aggr;
18868 if (ac_aggr.f_frsize)
18869 return 0;
18871 return 0;
18873 _ACEOF
18874 rm -f conftest.$ac_objext
18875 if { (ac_try="$ac_compile"
18876 case "(($ac_try" in
18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18878 *) ac_try_echo=$ac_try;;
18879 esac
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18881 (eval "$ac_compile") 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } && {
18888 test -z "$ac_c_werror_flag" ||
18889 test ! -s conftest.err
18890 } && test -s conftest.$ac_objext; then
18891 ac_cv_member_struct_statfs_f_frsize=yes
18892 else
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18896 cat >conftest.$ac_ext <<_ACEOF
18897 /* confdefs.h. */
18898 _ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 #include <sys/types.h>
18903 #ifdef HAVE_SYS_PARAM_H
18904 # include <sys/param.h>
18905 #endif
18906 #ifdef HAVE_SYS_MOUNT_H
18907 # include <sys/mount.h>
18908 #endif
18909 #ifdef HAVE_SYS_VFS_H
18910 # include <sys/vfs.h>
18911 #endif
18912 #ifdef HAVE_SYS_STATFS_H
18913 # include <sys/statfs.h>
18914 #endif
18917 main ()
18919 static struct statfs ac_aggr;
18920 if (sizeof ac_aggr.f_frsize)
18921 return 0;
18923 return 0;
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18931 esac
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18934 ac_status=$?
18935 grep -v '^ *+' conftest.er1 >conftest.err
18936 rm -f conftest.er1
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 ac_cv_member_struct_statfs_f_frsize=yes
18944 else
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18948 ac_cv_member_struct_statfs_f_frsize=no
18951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18956 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18957 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18958 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18962 _ACEOF
18966 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18967 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18968 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18969 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 else
18971 cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h. */
18973 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <sys/types.h>
18978 #ifdef HAVE_SYS_PARAM_H
18979 # include <sys/param.h>
18980 #endif
18981 #ifdef HAVE_SYS_MOUNT_H
18982 # include <sys/mount.h>
18983 #endif
18984 #ifdef HAVE_SYS_VFS_H
18985 # include <sys/vfs.h>
18986 #endif
18987 #ifdef HAVE_SYS_STATFS_H
18988 # include <sys/statfs.h>
18989 #endif
18992 main ()
18994 static struct statfs ac_aggr;
18995 if (ac_aggr.f_ffree)
18996 return 0;
18998 return 0;
19000 _ACEOF
19001 rm -f conftest.$ac_objext
19002 if { (ac_try="$ac_compile"
19003 case "(($ac_try" in
19004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19005 *) ac_try_echo=$ac_try;;
19006 esac
19007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19008 (eval "$ac_compile") 2>conftest.er1
19009 ac_status=$?
19010 grep -v '^ *+' conftest.er1 >conftest.err
19011 rm -f conftest.er1
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } && {
19015 test -z "$ac_c_werror_flag" ||
19016 test ! -s conftest.err
19017 } && test -s conftest.$ac_objext; then
19018 ac_cv_member_struct_statfs_f_ffree=yes
19019 else
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19023 cat >conftest.$ac_ext <<_ACEOF
19024 /* confdefs.h. */
19025 _ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029 #include <sys/types.h>
19030 #ifdef HAVE_SYS_PARAM_H
19031 # include <sys/param.h>
19032 #endif
19033 #ifdef HAVE_SYS_MOUNT_H
19034 # include <sys/mount.h>
19035 #endif
19036 #ifdef HAVE_SYS_VFS_H
19037 # include <sys/vfs.h>
19038 #endif
19039 #ifdef HAVE_SYS_STATFS_H
19040 # include <sys/statfs.h>
19041 #endif
19044 main ()
19046 static struct statfs ac_aggr;
19047 if (sizeof ac_aggr.f_ffree)
19048 return 0;
19050 return 0;
19052 _ACEOF
19053 rm -f conftest.$ac_objext
19054 if { (ac_try="$ac_compile"
19055 case "(($ac_try" in
19056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19057 *) ac_try_echo=$ac_try;;
19058 esac
19059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19060 (eval "$ac_compile") 2>conftest.er1
19061 ac_status=$?
19062 grep -v '^ *+' conftest.er1 >conftest.err
19063 rm -f conftest.er1
19064 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } && {
19067 test -z "$ac_c_werror_flag" ||
19068 test ! -s conftest.err
19069 } && test -s conftest.$ac_objext; then
19070 ac_cv_member_struct_statfs_f_ffree=yes
19071 else
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19075 ac_cv_member_struct_statfs_f_ffree=no
19078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19083 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19084 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19085 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19087 cat >>confdefs.h <<_ACEOF
19088 #define HAVE_STRUCT_STATFS_F_FFREE 1
19089 _ACEOF
19093 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19094 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19095 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19096 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 else
19098 cat >conftest.$ac_ext <<_ACEOF
19099 /* confdefs.h. */
19100 _ACEOF
19101 cat confdefs.h >>conftest.$ac_ext
19102 cat >>conftest.$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <sys/types.h>
19105 #ifdef HAVE_SYS_PARAM_H
19106 # include <sys/param.h>
19107 #endif
19108 #ifdef HAVE_SYS_MOUNT_H
19109 # include <sys/mount.h>
19110 #endif
19111 #ifdef HAVE_SYS_VFS_H
19112 # include <sys/vfs.h>
19113 #endif
19114 #ifdef HAVE_SYS_STATFS_H
19115 # include <sys/statfs.h>
19116 #endif
19119 main ()
19121 static struct statfs ac_aggr;
19122 if (ac_aggr.f_favail)
19123 return 0;
19125 return 0;
19127 _ACEOF
19128 rm -f conftest.$ac_objext
19129 if { (ac_try="$ac_compile"
19130 case "(($ac_try" in
19131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19132 *) ac_try_echo=$ac_try;;
19133 esac
19134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19135 (eval "$ac_compile") 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } && {
19142 test -z "$ac_c_werror_flag" ||
19143 test ! -s conftest.err
19144 } && test -s conftest.$ac_objext; then
19145 ac_cv_member_struct_statfs_f_favail=yes
19146 else
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 cat >conftest.$ac_ext <<_ACEOF
19151 /* confdefs.h. */
19152 _ACEOF
19153 cat confdefs.h >>conftest.$ac_ext
19154 cat >>conftest.$ac_ext <<_ACEOF
19155 /* end confdefs.h. */
19156 #include <sys/types.h>
19157 #ifdef HAVE_SYS_PARAM_H
19158 # include <sys/param.h>
19159 #endif
19160 #ifdef HAVE_SYS_MOUNT_H
19161 # include <sys/mount.h>
19162 #endif
19163 #ifdef HAVE_SYS_VFS_H
19164 # include <sys/vfs.h>
19165 #endif
19166 #ifdef HAVE_SYS_STATFS_H
19167 # include <sys/statfs.h>
19168 #endif
19171 main ()
19173 static struct statfs ac_aggr;
19174 if (sizeof ac_aggr.f_favail)
19175 return 0;
19177 return 0;
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_member_struct_statfs_f_favail=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 ac_cv_member_struct_statfs_f_favail=no
19205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19211 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19212 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19216 _ACEOF
19220 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19221 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19222 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 #include <sys/types.h>
19232 #ifdef HAVE_SYS_PARAM_H
19233 # include <sys/param.h>
19234 #endif
19235 #ifdef HAVE_SYS_MOUNT_H
19236 # include <sys/mount.h>
19237 #endif
19238 #ifdef HAVE_SYS_VFS_H
19239 # include <sys/vfs.h>
19240 #endif
19241 #ifdef HAVE_SYS_STATFS_H
19242 # include <sys/statfs.h>
19243 #endif
19246 main ()
19248 static struct statfs ac_aggr;
19249 if (ac_aggr.f_namelen)
19250 return 0;
19252 return 0;
19254 _ACEOF
19255 rm -f conftest.$ac_objext
19256 if { (ac_try="$ac_compile"
19257 case "(($ac_try" in
19258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19259 *) ac_try_echo=$ac_try;;
19260 esac
19261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19262 (eval "$ac_compile") 2>conftest.er1
19263 ac_status=$?
19264 grep -v '^ *+' conftest.er1 >conftest.err
19265 rm -f conftest.er1
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && {
19269 test -z "$ac_c_werror_flag" ||
19270 test ! -s conftest.err
19271 } && test -s conftest.$ac_objext; then
19272 ac_cv_member_struct_statfs_f_namelen=yes
19273 else
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #include <sys/types.h>
19284 #ifdef HAVE_SYS_PARAM_H
19285 # include <sys/param.h>
19286 #endif
19287 #ifdef HAVE_SYS_MOUNT_H
19288 # include <sys/mount.h>
19289 #endif
19290 #ifdef HAVE_SYS_VFS_H
19291 # include <sys/vfs.h>
19292 #endif
19293 #ifdef HAVE_SYS_STATFS_H
19294 # include <sys/statfs.h>
19295 #endif
19298 main ()
19300 static struct statfs ac_aggr;
19301 if (sizeof ac_aggr.f_namelen)
19302 return 0;
19304 return 0;
19306 _ACEOF
19307 rm -f conftest.$ac_objext
19308 if { (ac_try="$ac_compile"
19309 case "(($ac_try" in
19310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19311 *) ac_try_echo=$ac_try;;
19312 esac
19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19314 (eval "$ac_compile") 2>conftest.er1
19315 ac_status=$?
19316 grep -v '^ *+' conftest.er1 >conftest.err
19317 rm -f conftest.er1
19318 cat conftest.err >&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } && {
19321 test -z "$ac_c_werror_flag" ||
19322 test ! -s conftest.err
19323 } && test -s conftest.$ac_objext; then
19324 ac_cv_member_struct_statfs_f_namelen=yes
19325 else
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19329 ac_cv_member_struct_statfs_f_namelen=no
19332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19337 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19338 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19339 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19341 cat >>confdefs.h <<_ACEOF
19342 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19343 _ACEOF
19349 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19350 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19351 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19352 echo $ECHO_N "(cached) $ECHO_C" >&6
19353 else
19354 cat >conftest.$ac_ext <<_ACEOF
19355 /* confdefs.h. */
19356 _ACEOF
19357 cat confdefs.h >>conftest.$ac_ext
19358 cat >>conftest.$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19360 #ifdef HAVE_SYS_STATVFS_H
19361 #include <sys/statvfs.h>
19362 #endif
19365 main ()
19367 static struct statvfs ac_aggr;
19368 if (ac_aggr.f_blocks)
19369 return 0;
19371 return 0;
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19378 *) ac_try_echo=$ac_try;;
19379 esac
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19382 ac_status=$?
19383 grep -v '^ *+' conftest.er1 >conftest.err
19384 rm -f conftest.er1
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_c_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.$ac_objext; then
19391 ac_cv_member_struct_statvfs_f_blocks=yes
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19396 cat >conftest.$ac_ext <<_ACEOF
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 #ifdef HAVE_SYS_STATVFS_H
19403 #include <sys/statvfs.h>
19404 #endif
19407 main ()
19409 static struct statvfs ac_aggr;
19410 if (sizeof ac_aggr.f_blocks)
19411 return 0;
19413 return 0;
19415 _ACEOF
19416 rm -f conftest.$ac_objext
19417 if { (ac_try="$ac_compile"
19418 case "(($ac_try" in
19419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19420 *) ac_try_echo=$ac_try;;
19421 esac
19422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19423 (eval "$ac_compile") 2>conftest.er1
19424 ac_status=$?
19425 grep -v '^ *+' conftest.er1 >conftest.err
19426 rm -f conftest.er1
19427 cat conftest.err >&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } && {
19430 test -z "$ac_c_werror_flag" ||
19431 test ! -s conftest.err
19432 } && test -s conftest.$ac_objext; then
19433 ac_cv_member_struct_statvfs_f_blocks=yes
19434 else
19435 echo "$as_me: failed program was:" >&5
19436 sed 's/^/| /' conftest.$ac_ext >&5
19438 ac_cv_member_struct_statvfs_f_blocks=no
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19447 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19448 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19450 cat >>confdefs.h <<_ACEOF
19451 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19452 _ACEOF
19458 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19459 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19460 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19461 echo $ECHO_N "(cached) $ECHO_C" >&6
19462 else
19463 cat >conftest.$ac_ext <<_ACEOF
19464 /* confdefs.h. */
19465 _ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 #include <sys/types.h>
19470 #ifdef HAVE_SYS_SOCKET_H
19471 # include <sys/socket.h>
19472 #endif
19473 #ifdef HAVE_SYS_UN_H
19474 # include <sys/un.h>
19475 #endif
19478 main ()
19480 static struct msghdr ac_aggr;
19481 if (ac_aggr.msg_accrights)
19482 return 0;
19484 return 0;
19486 _ACEOF
19487 rm -f conftest.$ac_objext
19488 if { (ac_try="$ac_compile"
19489 case "(($ac_try" in
19490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19491 *) ac_try_echo=$ac_try;;
19492 esac
19493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_compile") 2>conftest.er1
19495 ac_status=$?
19496 grep -v '^ *+' conftest.er1 >conftest.err
19497 rm -f conftest.er1
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest.$ac_objext; then
19504 ac_cv_member_struct_msghdr_msg_accrights=yes
19505 else
19506 echo "$as_me: failed program was:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19509 cat >conftest.$ac_ext <<_ACEOF
19510 /* confdefs.h. */
19511 _ACEOF
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515 #include <sys/types.h>
19516 #ifdef HAVE_SYS_SOCKET_H
19517 # include <sys/socket.h>
19518 #endif
19519 #ifdef HAVE_SYS_UN_H
19520 # include <sys/un.h>
19521 #endif
19524 main ()
19526 static struct msghdr ac_aggr;
19527 if (sizeof ac_aggr.msg_accrights)
19528 return 0;
19530 return 0;
19532 _ACEOF
19533 rm -f conftest.$ac_objext
19534 if { (ac_try="$ac_compile"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_compile") 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_c_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.$ac_objext; then
19550 ac_cv_member_struct_msghdr_msg_accrights=yes
19551 else
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 ac_cv_member_struct_msghdr_msg_accrights=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19564 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19565 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19569 _ACEOF
19573 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19574 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19575 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19576 echo $ECHO_N "(cached) $ECHO_C" >&6
19577 else
19578 cat >conftest.$ac_ext <<_ACEOF
19579 /* confdefs.h. */
19580 _ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #include <sys/types.h>
19585 #ifdef HAVE_SYS_SOCKET_H
19586 # include <sys/socket.h>
19587 #endif
19588 #ifdef HAVE_SYS_UN_H
19589 # include <sys/un.h>
19590 #endif
19593 main ()
19595 static struct sockaddr ac_aggr;
19596 if (ac_aggr.sa_len)
19597 return 0;
19599 return 0;
19601 _ACEOF
19602 rm -f conftest.$ac_objext
19603 if { (ac_try="$ac_compile"
19604 case "(($ac_try" in
19605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19606 *) ac_try_echo=$ac_try;;
19607 esac
19608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19609 (eval "$ac_compile") 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } && {
19616 test -z "$ac_c_werror_flag" ||
19617 test ! -s conftest.err
19618 } && test -s conftest.$ac_objext; then
19619 ac_cv_member_struct_sockaddr_sa_len=yes
19620 else
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.$ac_ext >&5
19624 cat >conftest.$ac_ext <<_ACEOF
19625 /* confdefs.h. */
19626 _ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 #include <sys/types.h>
19631 #ifdef HAVE_SYS_SOCKET_H
19632 # include <sys/socket.h>
19633 #endif
19634 #ifdef HAVE_SYS_UN_H
19635 # include <sys/un.h>
19636 #endif
19639 main ()
19641 static struct sockaddr ac_aggr;
19642 if (sizeof ac_aggr.sa_len)
19643 return 0;
19645 return 0;
19647 _ACEOF
19648 rm -f conftest.$ac_objext
19649 if { (ac_try="$ac_compile"
19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19653 esac
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_compile") 2>conftest.er1
19656 ac_status=$?
19657 grep -v '^ *+' conftest.er1 >conftest.err
19658 rm -f conftest.er1
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest.$ac_objext; then
19665 ac_cv_member_struct_sockaddr_sa_len=yes
19666 else
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19670 ac_cv_member_struct_sockaddr_sa_len=no
19673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19679 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19680 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19682 cat >>confdefs.h <<_ACEOF
19683 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19684 _ACEOF
19688 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19689 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19690 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 else
19693 cat >conftest.$ac_ext <<_ACEOF
19694 /* confdefs.h. */
19695 _ACEOF
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 #include <sys/types.h>
19700 #ifdef HAVE_SYS_SOCKET_H
19701 # include <sys/socket.h>
19702 #endif
19703 #ifdef HAVE_SYS_UN_H
19704 # include <sys/un.h>
19705 #endif
19708 main ()
19710 static struct sockaddr_un ac_aggr;
19711 if (ac_aggr.sun_len)
19712 return 0;
19714 return 0;
19716 _ACEOF
19717 rm -f conftest.$ac_objext
19718 if { (ac_try="$ac_compile"
19719 case "(($ac_try" in
19720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19721 *) ac_try_echo=$ac_try;;
19722 esac
19723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19724 (eval "$ac_compile") 2>conftest.er1
19725 ac_status=$?
19726 grep -v '^ *+' conftest.er1 >conftest.err
19727 rm -f conftest.er1
19728 cat conftest.err >&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); } && {
19731 test -z "$ac_c_werror_flag" ||
19732 test ! -s conftest.err
19733 } && test -s conftest.$ac_objext; then
19734 ac_cv_member_struct_sockaddr_un_sun_len=yes
19735 else
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19739 cat >conftest.$ac_ext <<_ACEOF
19740 /* confdefs.h. */
19741 _ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745 #include <sys/types.h>
19746 #ifdef HAVE_SYS_SOCKET_H
19747 # include <sys/socket.h>
19748 #endif
19749 #ifdef HAVE_SYS_UN_H
19750 # include <sys/un.h>
19751 #endif
19754 main ()
19756 static struct sockaddr_un ac_aggr;
19757 if (sizeof ac_aggr.sun_len)
19758 return 0;
19760 return 0;
19762 _ACEOF
19763 rm -f conftest.$ac_objext
19764 if { (ac_try="$ac_compile"
19765 case "(($ac_try" in
19766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19767 *) ac_try_echo=$ac_try;;
19768 esac
19769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19770 (eval "$ac_compile") 2>conftest.er1
19771 ac_status=$?
19772 grep -v '^ *+' conftest.er1 >conftest.err
19773 rm -f conftest.er1
19774 cat conftest.err >&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } && {
19777 test -z "$ac_c_werror_flag" ||
19778 test ! -s conftest.err
19779 } && test -s conftest.$ac_objext; then
19780 ac_cv_member_struct_sockaddr_un_sun_len=yes
19781 else
19782 echo "$as_me: failed program was:" >&5
19783 sed 's/^/| /' conftest.$ac_ext >&5
19785 ac_cv_member_struct_sockaddr_un_sun_len=no
19788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19793 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19794 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19795 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19797 cat >>confdefs.h <<_ACEOF
19798 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19799 _ACEOF
19805 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19806 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19807 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19808 echo $ECHO_N "(cached) $ECHO_C" >&6
19809 else
19810 cat >conftest.$ac_ext <<_ACEOF
19811 /* confdefs.h. */
19812 _ACEOF
19813 cat confdefs.h >>conftest.$ac_ext
19814 cat >>conftest.$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 #include <sys/types.h>
19817 #ifdef HAVE_SCSI_SG_H
19818 #include <scsi/sg.h>
19819 #endif
19822 main ()
19824 static scsireq_t ac_aggr;
19825 if (ac_aggr.cmd)
19826 return 0;
19828 return 0;
19830 _ACEOF
19831 rm -f conftest.$ac_objext
19832 if { (ac_try="$ac_compile"
19833 case "(($ac_try" in
19834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19835 *) ac_try_echo=$ac_try;;
19836 esac
19837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19838 (eval "$ac_compile") 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } && {
19845 test -z "$ac_c_werror_flag" ||
19846 test ! -s conftest.err
19847 } && test -s conftest.$ac_objext; then
19848 ac_cv_member_scsireq_t_cmd=yes
19849 else
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.$ac_ext >&5
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 #include <sys/types.h>
19860 #ifdef HAVE_SCSI_SG_H
19861 #include <scsi/sg.h>
19862 #endif
19865 main ()
19867 static scsireq_t ac_aggr;
19868 if (sizeof ac_aggr.cmd)
19869 return 0;
19871 return 0;
19873 _ACEOF
19874 rm -f conftest.$ac_objext
19875 if { (ac_try="$ac_compile"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19879 esac
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_compile") 2>conftest.er1
19882 ac_status=$?
19883 grep -v '^ *+' conftest.er1 >conftest.err
19884 rm -f conftest.er1
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && {
19888 test -z "$ac_c_werror_flag" ||
19889 test ! -s conftest.err
19890 } && test -s conftest.$ac_objext; then
19891 ac_cv_member_scsireq_t_cmd=yes
19892 else
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19896 ac_cv_member_scsireq_t_cmd=no
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19904 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19905 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19906 if test $ac_cv_member_scsireq_t_cmd = yes; then
19908 cat >>confdefs.h <<_ACEOF
19909 #define HAVE_SCSIREQ_T_CMD 1
19910 _ACEOF
19914 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19915 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19916 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 else
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 #include <sys/types.h>
19926 #ifdef HAVE_SCSI_SG_H
19927 #include <scsi/sg.h>
19928 #endif
19931 main ()
19933 static sg_io_hdr_t ac_aggr;
19934 if (ac_aggr.interface_id)
19935 return 0;
19937 return 0;
19939 _ACEOF
19940 rm -f conftest.$ac_objext
19941 if { (ac_try="$ac_compile"
19942 case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_compile") 2>conftest.er1
19948 ac_status=$?
19949 grep -v '^ *+' conftest.er1 >conftest.err
19950 rm -f conftest.er1
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest.$ac_objext; then
19957 ac_cv_member_sg_io_hdr_t_interface_id=yes
19958 else
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h. */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 #include <sys/types.h>
19969 #ifdef HAVE_SCSI_SG_H
19970 #include <scsi/sg.h>
19971 #endif
19974 main ()
19976 static sg_io_hdr_t ac_aggr;
19977 if (sizeof ac_aggr.interface_id)
19978 return 0;
19980 return 0;
19982 _ACEOF
19983 rm -f conftest.$ac_objext
19984 if { (ac_try="$ac_compile"
19985 case "(($ac_try" in
19986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19987 *) ac_try_echo=$ac_try;;
19988 esac
19989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19990 (eval "$ac_compile") 2>conftest.er1
19991 ac_status=$?
19992 grep -v '^ *+' conftest.er1 >conftest.err
19993 rm -f conftest.er1
19994 cat conftest.err >&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } && {
19997 test -z "$ac_c_werror_flag" ||
19998 test ! -s conftest.err
19999 } && test -s conftest.$ac_objext; then
20000 ac_cv_member_sg_io_hdr_t_interface_id=yes
20001 else
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20005 ac_cv_member_sg_io_hdr_t_interface_id=no
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20013 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20014 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20015 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20017 cat >>confdefs.h <<_ACEOF
20018 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20019 _ACEOF
20025 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20026 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20027 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else
20030 cat >conftest.$ac_ext <<_ACEOF
20031 /* confdefs.h. */
20032 _ACEOF
20033 cat confdefs.h >>conftest.$ac_ext
20034 cat >>conftest.$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 #include <signal.h>
20039 main ()
20041 static siginfo_t ac_aggr;
20042 if (ac_aggr.si_fd)
20043 return 0;
20045 return 0;
20047 _ACEOF
20048 rm -f conftest.$ac_objext
20049 if { (ac_try="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20056 ac_status=$?
20057 grep -v '^ *+' conftest.er1 >conftest.err
20058 rm -f conftest.er1
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20065 ac_cv_member_siginfo_t_si_fd=yes
20066 else
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20070 cat >conftest.$ac_ext <<_ACEOF
20071 /* confdefs.h. */
20072 _ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 #include <signal.h>
20079 main ()
20081 static siginfo_t ac_aggr;
20082 if (sizeof ac_aggr.si_fd)
20083 return 0;
20085 return 0;
20087 _ACEOF
20088 rm -f conftest.$ac_objext
20089 if { (ac_try="$ac_compile"
20090 case "(($ac_try" in
20091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20092 *) ac_try_echo=$ac_try;;
20093 esac
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_compile") 2>conftest.er1
20096 ac_status=$?
20097 grep -v '^ *+' conftest.er1 >conftest.err
20098 rm -f conftest.er1
20099 cat conftest.err >&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } && {
20102 test -z "$ac_c_werror_flag" ||
20103 test ! -s conftest.err
20104 } && test -s conftest.$ac_objext; then
20105 ac_cv_member_siginfo_t_si_fd=yes
20106 else
20107 echo "$as_me: failed program was:" >&5
20108 sed 's/^/| /' conftest.$ac_ext >&5
20110 ac_cv_member_siginfo_t_si_fd=no
20113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20119 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20120 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20122 cat >>confdefs.h <<_ACEOF
20123 #define HAVE_SIGINFO_T_SI_FD 1
20124 _ACEOF
20130 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20131 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20132 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 else
20135 cat >conftest.$ac_ext <<_ACEOF
20136 /* confdefs.h. */
20137 _ACEOF
20138 cat confdefs.h >>conftest.$ac_ext
20139 cat >>conftest.$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20141 #include <sys/types.h>
20142 #ifdef HAVE_SYS_MTIO_H
20143 #include <sys/mtio.h>
20144 #endif
20147 main ()
20149 static struct mtget ac_aggr;
20150 if (ac_aggr.mt_blksiz)
20151 return 0;
20153 return 0;
20155 _ACEOF
20156 rm -f conftest.$ac_objext
20157 if { (ac_try="$ac_compile"
20158 case "(($ac_try" in
20159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20161 esac
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_compile") 2>conftest.er1
20164 ac_status=$?
20165 grep -v '^ *+' conftest.er1 >conftest.err
20166 rm -f conftest.er1
20167 cat conftest.err >&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } && {
20170 test -z "$ac_c_werror_flag" ||
20171 test ! -s conftest.err
20172 } && test -s conftest.$ac_objext; then
20173 ac_cv_member_struct_mtget_mt_blksiz=yes
20174 else
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.$ac_ext >&5
20178 cat >conftest.$ac_ext <<_ACEOF
20179 /* confdefs.h. */
20180 _ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #include <sys/types.h>
20185 #ifdef HAVE_SYS_MTIO_H
20186 #include <sys/mtio.h>
20187 #endif
20190 main ()
20192 static struct mtget ac_aggr;
20193 if (sizeof ac_aggr.mt_blksiz)
20194 return 0;
20196 return 0;
20198 _ACEOF
20199 rm -f conftest.$ac_objext
20200 if { (ac_try="$ac_compile"
20201 case "(($ac_try" in
20202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20203 *) ac_try_echo=$ac_try;;
20204 esac
20205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20206 (eval "$ac_compile") 2>conftest.er1
20207 ac_status=$?
20208 grep -v '^ *+' conftest.er1 >conftest.err
20209 rm -f conftest.er1
20210 cat conftest.err >&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } && {
20213 test -z "$ac_c_werror_flag" ||
20214 test ! -s conftest.err
20215 } && test -s conftest.$ac_objext; then
20216 ac_cv_member_struct_mtget_mt_blksiz=yes
20217 else
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20221 ac_cv_member_struct_mtget_mt_blksiz=no
20224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20229 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20230 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20231 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20233 cat >>confdefs.h <<_ACEOF
20234 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20235 _ACEOF
20239 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20240 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20241 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 else
20244 cat >conftest.$ac_ext <<_ACEOF
20245 /* confdefs.h. */
20246 _ACEOF
20247 cat confdefs.h >>conftest.$ac_ext
20248 cat >>conftest.$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20250 #include <sys/types.h>
20251 #ifdef HAVE_SYS_MTIO_H
20252 #include <sys/mtio.h>
20253 #endif
20256 main ()
20258 static struct mtget ac_aggr;
20259 if (ac_aggr.mt_gstat)
20260 return 0;
20262 return 0;
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (ac_try="$ac_compile"
20267 case "(($ac_try" in
20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269 *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_compile") 2>conftest.er1
20273 ac_status=$?
20274 grep -v '^ *+' conftest.er1 >conftest.err
20275 rm -f conftest.er1
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } && {
20279 test -z "$ac_c_werror_flag" ||
20280 test ! -s conftest.err
20281 } && test -s conftest.$ac_objext; then
20282 ac_cv_member_struct_mtget_mt_gstat=yes
20283 else
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 #include <sys/types.h>
20294 #ifdef HAVE_SYS_MTIO_H
20295 #include <sys/mtio.h>
20296 #endif
20299 main ()
20301 static struct mtget ac_aggr;
20302 if (sizeof ac_aggr.mt_gstat)
20303 return 0;
20305 return 0;
20307 _ACEOF
20308 rm -f conftest.$ac_objext
20309 if { (ac_try="$ac_compile"
20310 case "(($ac_try" in
20311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20313 esac
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_compile") 2>conftest.er1
20316 ac_status=$?
20317 grep -v '^ *+' conftest.er1 >conftest.err
20318 rm -f conftest.er1
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && {
20322 test -z "$ac_c_werror_flag" ||
20323 test ! -s conftest.err
20324 } && test -s conftest.$ac_objext; then
20325 ac_cv_member_struct_mtget_mt_gstat=yes
20326 else
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20330 ac_cv_member_struct_mtget_mt_gstat=no
20333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20338 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20339 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20340 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20342 cat >>confdefs.h <<_ACEOF
20343 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20344 _ACEOF
20348 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20349 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20350 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 else
20353 cat >conftest.$ac_ext <<_ACEOF
20354 /* confdefs.h. */
20355 _ACEOF
20356 cat confdefs.h >>conftest.$ac_ext
20357 cat >>conftest.$ac_ext <<_ACEOF
20358 /* end confdefs.h. */
20359 #include <sys/types.h>
20360 #ifdef HAVE_SYS_MTIO_H
20361 #include <sys/mtio.h>
20362 #endif
20365 main ()
20367 static struct mtget ac_aggr;
20368 if (ac_aggr.mt_blkno)
20369 return 0;
20371 return 0;
20373 _ACEOF
20374 rm -f conftest.$ac_objext
20375 if { (ac_try="$ac_compile"
20376 case "(($ac_try" in
20377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20378 *) ac_try_echo=$ac_try;;
20379 esac
20380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20381 (eval "$ac_compile") 2>conftest.er1
20382 ac_status=$?
20383 grep -v '^ *+' conftest.er1 >conftest.err
20384 rm -f conftest.er1
20385 cat conftest.err >&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } && {
20388 test -z "$ac_c_werror_flag" ||
20389 test ! -s conftest.err
20390 } && test -s conftest.$ac_objext; then
20391 ac_cv_member_struct_mtget_mt_blkno=yes
20392 else
20393 echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20396 cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 #include <sys/types.h>
20403 #ifdef HAVE_SYS_MTIO_H
20404 #include <sys/mtio.h>
20405 #endif
20408 main ()
20410 static struct mtget ac_aggr;
20411 if (sizeof ac_aggr.mt_blkno)
20412 return 0;
20414 return 0;
20416 _ACEOF
20417 rm -f conftest.$ac_objext
20418 if { (ac_try="$ac_compile"
20419 case "(($ac_try" in
20420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20421 *) ac_try_echo=$ac_try;;
20422 esac
20423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20424 (eval "$ac_compile") 2>conftest.er1
20425 ac_status=$?
20426 grep -v '^ *+' conftest.er1 >conftest.err
20427 rm -f conftest.er1
20428 cat conftest.err >&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } && {
20431 test -z "$ac_c_werror_flag" ||
20432 test ! -s conftest.err
20433 } && test -s conftest.$ac_objext; then
20434 ac_cv_member_struct_mtget_mt_blkno=yes
20435 else
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20439 ac_cv_member_struct_mtget_mt_blkno=no
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20447 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20448 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20449 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20451 cat >>confdefs.h <<_ACEOF
20452 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20453 _ACEOF
20459 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20460 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20461 if test "${ac_cv_member_struct_option_name+set}" = set; then
20462 echo $ECHO_N "(cached) $ECHO_C" >&6
20463 else
20464 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */
20466 _ACEOF
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 #ifdef HAVE_GETOPT_H
20471 #include <getopt.h>
20472 #endif
20475 main ()
20477 static struct option ac_aggr;
20478 if (ac_aggr.name)
20479 return 0;
20481 return 0;
20483 _ACEOF
20484 rm -f conftest.$ac_objext
20485 if { (ac_try="$ac_compile"
20486 case "(($ac_try" in
20487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20488 *) ac_try_echo=$ac_try;;
20489 esac
20490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20491 (eval "$ac_compile") 2>conftest.er1
20492 ac_status=$?
20493 grep -v '^ *+' conftest.er1 >conftest.err
20494 rm -f conftest.er1
20495 cat conftest.err >&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } && {
20498 test -z "$ac_c_werror_flag" ||
20499 test ! -s conftest.err
20500 } && test -s conftest.$ac_objext; then
20501 ac_cv_member_struct_option_name=yes
20502 else
20503 echo "$as_me: failed program was:" >&5
20504 sed 's/^/| /' conftest.$ac_ext >&5
20506 cat >conftest.$ac_ext <<_ACEOF
20507 /* confdefs.h. */
20508 _ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512 #ifdef HAVE_GETOPT_H
20513 #include <getopt.h>
20514 #endif
20517 main ()
20519 static struct option ac_aggr;
20520 if (sizeof ac_aggr.name)
20521 return 0;
20523 return 0;
20525 _ACEOF
20526 rm -f conftest.$ac_objext
20527 if { (ac_try="$ac_compile"
20528 case "(($ac_try" in
20529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20530 *) ac_try_echo=$ac_try;;
20531 esac
20532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20533 (eval "$ac_compile") 2>conftest.er1
20534 ac_status=$?
20535 grep -v '^ *+' conftest.er1 >conftest.err
20536 rm -f conftest.er1
20537 cat conftest.err >&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); } && {
20540 test -z "$ac_c_werror_flag" ||
20541 test ! -s conftest.err
20542 } && test -s conftest.$ac_objext; then
20543 ac_cv_member_struct_option_name=yes
20544 else
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.$ac_ext >&5
20548 ac_cv_member_struct_option_name=no
20551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20556 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20557 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20558 if test $ac_cv_member_struct_option_name = yes; then
20560 cat >>confdefs.h <<_ACEOF
20561 #define HAVE_STRUCT_OPTION_NAME 1
20562 _ACEOF
20568 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20569 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20570 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20571 echo $ECHO_N "(cached) $ECHO_C" >&6
20572 else
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h. */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 $ac_includes_default
20581 main ()
20583 static struct stat ac_aggr;
20584 if (ac_aggr.st_blocks)
20585 return 0;
20587 return 0;
20589 _ACEOF
20590 rm -f conftest.$ac_objext
20591 if { (ac_try="$ac_compile"
20592 case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20595 esac
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_compile") 2>conftest.er1
20598 ac_status=$?
20599 grep -v '^ *+' conftest.er1 >conftest.err
20600 rm -f conftest.er1
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } && {
20604 test -z "$ac_c_werror_flag" ||
20605 test ! -s conftest.err
20606 } && test -s conftest.$ac_objext; then
20607 ac_cv_member_struct_stat_st_blocks=yes
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20612 cat >conftest.$ac_ext <<_ACEOF
20613 /* confdefs.h. */
20614 _ACEOF
20615 cat confdefs.h >>conftest.$ac_ext
20616 cat >>conftest.$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 $ac_includes_default
20620 main ()
20622 static struct stat ac_aggr;
20623 if (sizeof ac_aggr.st_blocks)
20624 return 0;
20626 return 0;
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20634 esac
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_compile") 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && {
20643 test -z "$ac_c_werror_flag" ||
20644 test ! -s conftest.err
20645 } && test -s conftest.$ac_objext; then
20646 ac_cv_member_struct_stat_st_blocks=yes
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 ac_cv_member_struct_stat_st_blocks=no
20654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20659 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20660 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20661 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20663 cat >>confdefs.h <<_ACEOF
20664 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20665 _ACEOF
20671 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20672 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20673 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20674 echo $ECHO_N "(cached) $ECHO_C" >&6
20675 else
20676 cat >conftest.$ac_ext <<_ACEOF
20677 /* confdefs.h. */
20678 _ACEOF
20679 cat confdefs.h >>conftest.$ac_ext
20680 cat >>conftest.$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20682 #ifdef HAVE_SYS_TYPES_H
20683 #include <sys/types.h>
20684 #endif
20685 #ifdef HAVE_NETINET_IN_H
20686 #include <netinet/in.h>
20687 #endif
20690 main ()
20692 static struct sockaddr_in6 ac_aggr;
20693 if (ac_aggr.sin6_scope_id)
20694 return 0;
20696 return 0;
20698 _ACEOF
20699 rm -f conftest.$ac_objext
20700 if { (ac_try="$ac_compile"
20701 case "(($ac_try" in
20702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20703 *) ac_try_echo=$ac_try;;
20704 esac
20705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20706 (eval "$ac_compile") 2>conftest.er1
20707 ac_status=$?
20708 grep -v '^ *+' conftest.er1 >conftest.err
20709 rm -f conftest.er1
20710 cat conftest.err >&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } && {
20713 test -z "$ac_c_werror_flag" ||
20714 test ! -s conftest.err
20715 } && test -s conftest.$ac_objext; then
20716 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h. */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 #ifdef HAVE_SYS_TYPES_H
20728 #include <sys/types.h>
20729 #endif
20730 #ifdef HAVE_NETINET_IN_H
20731 #include <netinet/in.h>
20732 #endif
20735 main ()
20737 static struct sockaddr_in6 ac_aggr;
20738 if (sizeof ac_aggr.sin6_scope_id)
20739 return 0;
20741 return 0;
20743 _ACEOF
20744 rm -f conftest.$ac_objext
20745 if { (ac_try="$ac_compile"
20746 case "(($ac_try" in
20747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20748 *) ac_try_echo=$ac_try;;
20749 esac
20750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20751 (eval "$ac_compile") 2>conftest.er1
20752 ac_status=$?
20753 grep -v '^ *+' conftest.er1 >conftest.err
20754 rm -f conftest.er1
20755 cat conftest.err >&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } && {
20758 test -z "$ac_c_werror_flag" ||
20759 test ! -s conftest.err
20760 } && test -s conftest.$ac_objext; then
20761 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20766 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20775 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20776 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20778 cat >>confdefs.h <<_ACEOF
20779 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20780 _ACEOF
20786 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20787 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20788 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20789 echo $ECHO_N "(cached) $ECHO_C" >&6
20790 else
20791 cat >conftest.$ac_ext <<_ACEOF
20792 /* confdefs.h. */
20793 _ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 #ifdef HAVE_SYS_TYPES_H
20798 #include <sys/types.h>
20799 #endif
20800 #ifdef HAVE_NETINET_IN_H
20801 # include <netinet/in.h>
20802 #endif
20803 #ifdef HAVE_ARPA_NAMESER_H
20804 # include <arpa/nameser.h>
20805 #endif
20808 main ()
20810 static ns_msg ac_aggr;
20811 if (ac_aggr._msg_ptr)
20812 return 0;
20814 return 0;
20816 _ACEOF
20817 rm -f conftest.$ac_objext
20818 if { (ac_try="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20822 esac
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20825 ac_status=$?
20826 grep -v '^ *+' conftest.er1 >conftest.err
20827 rm -f conftest.er1
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20834 ac_cv_member_ns_msg__msg_ptr=yes
20835 else
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.$ac_ext >&5
20839 cat >conftest.$ac_ext <<_ACEOF
20840 /* confdefs.h. */
20841 _ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 #ifdef HAVE_SYS_TYPES_H
20846 #include <sys/types.h>
20847 #endif
20848 #ifdef HAVE_NETINET_IN_H
20849 # include <netinet/in.h>
20850 #endif
20851 #ifdef HAVE_ARPA_NAMESER_H
20852 # include <arpa/nameser.h>
20853 #endif
20856 main ()
20858 static ns_msg ac_aggr;
20859 if (sizeof ac_aggr._msg_ptr)
20860 return 0;
20862 return 0;
20864 _ACEOF
20865 rm -f conftest.$ac_objext
20866 if { (ac_try="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20870 esac
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20873 ac_status=$?
20874 grep -v '^ *+' conftest.er1 >conftest.err
20875 rm -f conftest.er1
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest.$ac_objext; then
20882 ac_cv_member_ns_msg__msg_ptr=yes
20883 else
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20887 ac_cv_member_ns_msg__msg_ptr=no
20890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20895 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20896 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20897 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20899 cat >>confdefs.h <<_ACEOF
20900 #define HAVE_NS_MSG__MSG_PTR 1
20901 _ACEOF
20907 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20908 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20909 if test "${ac_cv_have_timezone+set}" = set; then
20910 echo $ECHO_N "(cached) $ECHO_C" >&6
20911 else
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 #include <time.h>
20920 main ()
20922 timezone = 1
20924 return 0;
20926 _ACEOF
20927 rm -f conftest.$ac_objext conftest$ac_exeext
20928 if { (ac_try="$ac_link"
20929 case "(($ac_try" in
20930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20931 *) ac_try_echo=$ac_try;;
20932 esac
20933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20934 (eval "$ac_link") 2>conftest.er1
20935 ac_status=$?
20936 grep -v '^ *+' conftest.er1 >conftest.err
20937 rm -f conftest.er1
20938 cat conftest.err >&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } && {
20941 test -z "$ac_c_werror_flag" ||
20942 test ! -s conftest.err
20943 } && test -s conftest$ac_exeext &&
20944 $as_test_x conftest$ac_exeext; then
20945 ac_cv_have_timezone="yes"
20946 else
20947 echo "$as_me: failed program was:" >&5
20948 sed 's/^/| /' conftest.$ac_ext >&5
20950 ac_cv_have_timezone="no"
20953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20954 conftest$ac_exeext conftest.$ac_ext
20956 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20957 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20958 if test "$ac_cv_have_timezone" = "yes"
20959 then
20961 cat >>confdefs.h <<\_ACEOF
20962 #define HAVE_TIMEZONE 1
20963 _ACEOF
20966 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20967 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20968 if test "${ac_cv_have_daylight+set}" = set; then
20969 echo $ECHO_N "(cached) $ECHO_C" >&6
20970 else
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h. */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 #include <time.h>
20979 main ()
20981 daylight = 1
20983 return 0;
20985 _ACEOF
20986 rm -f conftest.$ac_objext conftest$ac_exeext
20987 if { (ac_try="$ac_link"
20988 case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20991 esac
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_link") 2>conftest.er1
20994 ac_status=$?
20995 grep -v '^ *+' conftest.er1 >conftest.err
20996 rm -f conftest.er1
20997 cat conftest.err >&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest$ac_exeext &&
21003 $as_test_x conftest$ac_exeext; then
21004 ac_cv_have_daylight="yes"
21005 else
21006 echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.$ac_ext >&5
21009 ac_cv_have_daylight="no"
21012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21013 conftest$ac_exeext conftest.$ac_ext
21015 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21016 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21017 if test "$ac_cv_have_daylight" = "yes"
21018 then
21020 cat >>confdefs.h <<\_ACEOF
21021 #define HAVE_DAYLIGHT 1
21022 _ACEOF
21027 case $host_cpu in
21028 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21029 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21030 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21031 echo $ECHO_N "(cached) $ECHO_C" >&6
21032 else
21033 cat >conftest.$ac_ext <<_ACEOF
21034 /* confdefs.h. */
21035 _ACEOF
21036 cat confdefs.h >>conftest.$ac_ext
21037 cat >>conftest.$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21039 #ifndef __i386__
21041 #endif
21042 _ACEOF
21043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21044 $EGREP "yes" >/dev/null 2>&1; then
21045 ac_cv_cpp_def___i386__=yes
21046 else
21047 ac_cv_cpp_def___i386__=no
21049 rm -f conftest*
21052 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21053 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21054 if test $ac_cv_cpp_def___i386__ = yes; then
21055 CFLAGS="$CFLAGS -D__i386__"
21056 LINTFLAGS="$LINTFLAGS -D__i386__"
21059 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21060 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21061 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21062 echo $ECHO_N "(cached) $ECHO_C" >&6
21063 else
21064 cat >conftest.$ac_ext <<_ACEOF
21065 /* confdefs.h. */
21066 _ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 #ifndef __x86_64__
21072 #endif
21073 _ACEOF
21074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21075 $EGREP "yes" >/dev/null 2>&1; then
21076 ac_cv_cpp_def___x86_64__=yes
21077 else
21078 ac_cv_cpp_def___x86_64__=no
21080 rm -f conftest*
21083 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21084 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21085 if test $ac_cv_cpp_def___x86_64__ = yes; then
21086 CFLAGS="$CFLAGS -D__x86_64__"
21087 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21090 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21091 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21092 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21093 echo $ECHO_N "(cached) $ECHO_C" >&6
21094 else
21095 cat >conftest.$ac_ext <<_ACEOF
21096 /* confdefs.h. */
21097 _ACEOF
21098 cat confdefs.h >>conftest.$ac_ext
21099 cat >>conftest.$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21101 #ifndef __ALPHA__
21103 #endif
21104 _ACEOF
21105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21106 $EGREP "yes" >/dev/null 2>&1; then
21107 ac_cv_cpp_def___ALPHA__=yes
21108 else
21109 ac_cv_cpp_def___ALPHA__=no
21111 rm -f conftest*
21114 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21115 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21116 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21117 CFLAGS="$CFLAGS -D__ALPHA__"
21118 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21121 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21122 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21123 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21124 echo $ECHO_N "(cached) $ECHO_C" >&6
21125 else
21126 cat >conftest.$ac_ext <<_ACEOF
21127 /* confdefs.h. */
21128 _ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21132 #ifndef __sparc__
21134 #endif
21135 _ACEOF
21136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21137 $EGREP "yes" >/dev/null 2>&1; then
21138 ac_cv_cpp_def___sparc__=yes
21139 else
21140 ac_cv_cpp_def___sparc__=no
21142 rm -f conftest*
21145 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21146 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21147 if test $ac_cv_cpp_def___sparc__ = yes; then
21148 CFLAGS="$CFLAGS -D__sparc__"
21149 LINTFLAGS="$LINTFLAGS -D__sparc__"
21152 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21153 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21154 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21155 echo $ECHO_N "(cached) $ECHO_C" >&6
21156 else
21157 cat >conftest.$ac_ext <<_ACEOF
21158 /* confdefs.h. */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 #ifndef __powerpc__
21165 #endif
21166 _ACEOF
21167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21168 $EGREP "yes" >/dev/null 2>&1; then
21169 ac_cv_cpp_def___powerpc__=yes
21170 else
21171 ac_cv_cpp_def___powerpc__=no
21173 rm -f conftest*
21176 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21177 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21178 if test $ac_cv_cpp_def___powerpc__ = yes; then
21179 CFLAGS="$CFLAGS -D__powerpc__"
21180 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21183 esac
21185 case $host_vendor in
21186 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21187 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21188 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21190 else
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 #ifndef __sun__
21199 #endif
21200 _ACEOF
21201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21202 $EGREP "yes" >/dev/null 2>&1; then
21203 ac_cv_cpp_def___sun__=yes
21204 else
21205 ac_cv_cpp_def___sun__=no
21207 rm -f conftest*
21210 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21211 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21212 if test $ac_cv_cpp_def___sun__ = yes; then
21213 CFLAGS="$CFLAGS -D__sun__"
21214 LINTFLAGS="$LINTFLAGS -D__sun__"
21217 esac
21220 DEPENDENCIES="### Dependencies:
21222 .INIT: Makefile
21223 .BEGIN: Makefile
21224 Makefile: dummy
21225 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21227 \$(OBJS): \$(IDL_GEN_HEADERS)
21228 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21229 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21230 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21236 ac_config_commands="$ac_config_commands include/stamp-h"
21239 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21241 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21243 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21245 ac_config_commands="$ac_config_commands dlls/user32/resources"
21247 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21249 ac_config_commands="$ac_config_commands include/wine"
21252 MAKE_RULES=Make.rules
21255 MAKE_DLL_RULES=dlls/Makedll.rules
21258 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21261 MAKE_TEST_RULES=dlls/Maketest.rules
21264 MAKE_PROG_RULES=programs/Makeprog.rules
21267 ac_config_files="$ac_config_files Make.rules"
21269 ac_config_files="$ac_config_files dlls/Makedll.rules"
21271 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21273 ac_config_files="$ac_config_files dlls/Maketest.rules"
21275 ac_config_files="$ac_config_files programs/Makeprog.rules"
21277 ac_config_files="$ac_config_files Makefile"
21279 ac_config_files="$ac_config_files dlls/Makefile"
21281 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21283 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21285 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21287 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21289 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21291 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21293 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21295 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21297 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21299 ac_config_files="$ac_config_files dlls/atl/Makefile"
21301 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21303 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21305 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21307 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21309 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21311 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21313 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21315 ac_config_files="$ac_config_files dlls/cards/Makefile"
21317 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21319 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21321 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21323 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21325 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21327 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21329 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21331 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21333 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21335 ac_config_files="$ac_config_files dlls/credui/Makefile"
21337 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21339 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21341 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21343 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21345 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21347 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21349 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21351 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21353 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21355 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21357 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21359 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21361 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21363 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21365 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21367 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21369 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21371 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21373 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21375 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21377 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21379 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21381 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21383 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21385 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21387 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21389 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21391 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21393 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21395 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21397 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21399 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21401 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21403 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21405 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21407 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21409 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21411 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21413 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21415 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21417 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21419 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21421 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21423 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21425 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21427 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21429 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21431 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21433 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21435 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21437 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21439 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21441 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21443 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21445 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21447 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21449 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21451 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21453 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21455 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21457 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21459 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21461 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21463 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21465 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21467 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21469 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21471 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21473 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21475 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21477 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21479 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21481 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21483 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21485 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21487 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21489 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21491 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21493 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21495 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21497 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21499 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21501 ac_config_files="$ac_config_files dlls/hal/Makefile"
21503 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21505 ac_config_files="$ac_config_files dlls/hid/Makefile"
21507 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21509 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21511 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21513 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21515 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21517 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21519 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21521 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21523 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21525 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21527 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21529 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21531 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21533 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21535 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21537 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21539 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21541 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21543 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21545 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21547 ac_config_files="$ac_config_files dlls/itss/Makefile"
21549 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21551 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21553 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21555 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21557 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21559 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21561 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21563 ac_config_files="$ac_config_files dlls/localui/Makefile"
21565 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21567 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21569 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21571 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21573 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21575 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21577 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21579 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21581 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21583 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21585 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21587 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21589 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21591 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21593 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21595 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21597 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21599 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21601 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21603 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21605 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21607 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21609 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21611 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21613 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21615 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21617 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21619 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21621 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21623 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21625 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21627 ac_config_files="$ac_config_files dlls/msi/Makefile"
21629 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21631 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21633 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21635 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21637 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21639 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21641 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21643 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21645 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21647 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21649 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21651 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21653 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21655 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21657 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21659 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21661 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21663 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21665 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21667 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21671 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21673 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21675 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21677 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21679 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21681 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21683 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21685 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21687 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21689 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21691 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21693 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21695 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21697 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21699 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21701 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21703 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21705 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21707 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21709 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21711 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21713 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21715 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21717 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21719 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21721 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21723 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21725 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21727 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21729 ac_config_files="$ac_config_files dlls/printui/Makefile"
21731 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21733 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21735 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21737 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21739 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21741 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21743 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21745 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21747 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21749 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21751 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21753 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21755 ac_config_files="$ac_config_files dlls/query/Makefile"
21757 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21759 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21761 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21763 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21765 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21767 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21769 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21771 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21773 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21775 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21777 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21779 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21781 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21783 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21785 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21787 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21789 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21791 ac_config_files="$ac_config_files dlls/security/Makefile"
21793 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21795 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21797 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21799 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21801 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21803 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21805 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21807 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21809 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21811 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21813 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21815 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21817 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21819 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21821 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21823 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21825 ac_config_files="$ac_config_files dlls/slc/Makefile"
21827 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21829 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21831 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21833 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21835 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21837 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21839 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21841 ac_config_files="$ac_config_files dlls/sti/Makefile"
21843 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21845 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21847 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21849 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21851 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21853 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21855 ac_config_files="$ac_config_files dlls/url/Makefile"
21857 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21859 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21861 ac_config_files="$ac_config_files dlls/user32/Makefile"
21863 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21865 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21867 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21869 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21871 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21873 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21875 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21877 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21879 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21881 ac_config_files="$ac_config_files dlls/version/Makefile"
21883 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21885 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21887 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21889 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21891 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21893 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21895 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21897 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21899 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21901 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21903 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21905 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21907 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21909 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21911 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21913 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21915 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21917 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21919 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21921 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21923 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21925 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21927 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21929 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21931 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21933 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21935 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21937 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21939 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21941 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21943 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21945 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21947 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21949 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21951 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21953 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21955 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21957 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21959 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21961 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21963 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21965 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21967 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21969 ac_config_files="$ac_config_files documentation/Makefile"
21971 ac_config_files="$ac_config_files fonts/Makefile"
21973 ac_config_files="$ac_config_files include/Makefile"
21975 ac_config_files="$ac_config_files libs/Makefile"
21977 ac_config_files="$ac_config_files libs/port/Makefile"
21979 ac_config_files="$ac_config_files libs/wine/Makefile"
21981 ac_config_files="$ac_config_files libs/wpp/Makefile"
21983 ac_config_files="$ac_config_files loader/Makefile"
21985 ac_config_files="$ac_config_files programs/Makefile"
21987 ac_config_files="$ac_config_files programs/clock/Makefile"
21989 ac_config_files="$ac_config_files programs/cmd/Makefile"
21991 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21993 ac_config_files="$ac_config_files programs/control/Makefile"
21995 ac_config_files="$ac_config_files programs/eject/Makefile"
21997 ac_config_files="$ac_config_files programs/expand/Makefile"
21999 ac_config_files="$ac_config_files programs/explorer/Makefile"
22001 ac_config_files="$ac_config_files programs/hh/Makefile"
22003 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22005 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22007 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22009 ac_config_files="$ac_config_files programs/net/Makefile"
22011 ac_config_files="$ac_config_files programs/notepad/Makefile"
22013 ac_config_files="$ac_config_files programs/oleview/Makefile"
22015 ac_config_files="$ac_config_files programs/progman/Makefile"
22017 ac_config_files="$ac_config_files programs/reg/Makefile"
22019 ac_config_files="$ac_config_files programs/regedit/Makefile"
22021 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22023 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22025 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22027 ac_config_files="$ac_config_files programs/secedit/Makefile"
22029 ac_config_files="$ac_config_files programs/services/Makefile"
22031 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22033 ac_config_files="$ac_config_files programs/start/Makefile"
22035 ac_config_files="$ac_config_files programs/svchost/Makefile"
22037 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22039 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22041 ac_config_files="$ac_config_files programs/view/Makefile"
22043 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22045 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22047 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22049 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22051 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22053 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22055 ac_config_files="$ac_config_files programs/winefile/Makefile"
22057 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22059 ac_config_files="$ac_config_files programs/winemine/Makefile"
22061 ac_config_files="$ac_config_files programs/winepath/Makefile"
22063 ac_config_files="$ac_config_files programs/winetest/Makefile"
22065 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22067 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22069 ac_config_files="$ac_config_files programs/winver/Makefile"
22071 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22073 ac_config_files="$ac_config_files programs/write/Makefile"
22075 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22077 ac_config_files="$ac_config_files server/Makefile"
22079 ac_config_files="$ac_config_files tools/Makefile"
22081 ac_config_files="$ac_config_files tools/widl/Makefile"
22083 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22085 ac_config_files="$ac_config_files tools/winedump/Makefile"
22087 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22089 ac_config_files="$ac_config_files tools/wmc/Makefile"
22091 ac_config_files="$ac_config_files tools/wrc/Makefile"
22094 cat >confcache <<\_ACEOF
22095 # This file is a shell script that caches the results of configure
22096 # tests run on this system so they can be shared between configure
22097 # scripts and configure runs, see configure's option --config-cache.
22098 # It is not useful on other systems. If it contains results you don't
22099 # want to keep, you may remove or edit it.
22101 # config.status only pays attention to the cache file if you give it
22102 # the --recheck option to rerun configure.
22104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22106 # following values.
22108 _ACEOF
22110 # The following way of writing the cache mishandles newlines in values,
22111 # but we know of no workaround that is simple, portable, and efficient.
22112 # So, we kill variables containing newlines.
22113 # Ultrix sh set writes to stderr and can't be redirected directly,
22114 # and sets the high bit in the cache file unless we assign to the vars.
22116 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22117 eval ac_val=\$$ac_var
22118 case $ac_val in #(
22119 *${as_nl}*)
22120 case $ac_var in #(
22121 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22122 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22123 esac
22124 case $ac_var in #(
22125 _ | IFS | as_nl) ;; #(
22126 *) $as_unset $ac_var ;;
22127 esac ;;
22128 esac
22129 done
22131 (set) 2>&1 |
22132 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22133 *${as_nl}ac_space=\ *)
22134 # `set' does not quote correctly, so add quotes (double-quote
22135 # substitution turns \\\\ into \\, and sed turns \\ into \).
22136 sed -n \
22137 "s/'/'\\\\''/g;
22138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22139 ;; #(
22141 # `set' quotes correctly as required by POSIX, so do not add quotes.
22142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22144 esac |
22145 sort
22147 sed '
22148 /^ac_cv_env_/b end
22149 t clear
22150 :clear
22151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22152 t end
22153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22154 :end' >>confcache
22155 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22156 if test -w "$cache_file"; then
22157 test "x$cache_file" != "x/dev/null" &&
22158 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22159 echo "$as_me: updating cache $cache_file" >&6;}
22160 cat confcache >$cache_file
22161 else
22162 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22163 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22166 rm -f confcache
22168 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22169 # Let make expand exec_prefix.
22170 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22172 DEFS=-DHAVE_CONFIG_H
22174 ac_libobjs=
22175 ac_ltlibobjs=
22176 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22177 # 1. Remove the extension, and $U if already installed.
22178 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22179 ac_i=`echo "$ac_i" | sed "$ac_script"`
22180 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22181 # will be set to the directory where LIBOBJS objects are built.
22182 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22183 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22184 done
22185 LIBOBJS=$ac_libobjs
22187 LTLIBOBJS=$ac_ltlibobjs
22191 : ${CONFIG_STATUS=./config.status}
22192 ac_clean_files_save=$ac_clean_files
22193 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22194 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22195 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22196 cat >$CONFIG_STATUS <<_ACEOF
22197 #! $SHELL
22198 # Generated by $as_me.
22199 # Run this file to recreate the current configuration.
22200 # Compiler output produced by configure, useful for debugging
22201 # configure, is in config.log if it exists.
22203 debug=false
22204 ac_cs_recheck=false
22205 ac_cs_silent=false
22206 SHELL=\${CONFIG_SHELL-$SHELL}
22207 _ACEOF
22209 cat >>$CONFIG_STATUS <<\_ACEOF
22210 ## --------------------- ##
22211 ## M4sh Initialization. ##
22212 ## --------------------- ##
22214 # Be more Bourne compatible
22215 DUALCASE=1; export DUALCASE # for MKS sh
22216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22217 emulate sh
22218 NULLCMD=:
22219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22220 # is contrary to our usage. Disable this feature.
22221 alias -g '${1+"$@"}'='"$@"'
22222 setopt NO_GLOB_SUBST
22223 else
22224 case `(set -o) 2>/dev/null` in
22225 *posix*) set -o posix ;;
22226 esac
22233 # PATH needs CR
22234 # Avoid depending upon Character Ranges.
22235 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22236 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22237 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22238 as_cr_digits='0123456789'
22239 as_cr_alnum=$as_cr_Letters$as_cr_digits
22241 # The user is always right.
22242 if test "${PATH_SEPARATOR+set}" != set; then
22243 echo "#! /bin/sh" >conf$$.sh
22244 echo "exit 0" >>conf$$.sh
22245 chmod +x conf$$.sh
22246 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22247 PATH_SEPARATOR=';'
22248 else
22249 PATH_SEPARATOR=:
22251 rm -f conf$$.sh
22254 # Support unset when possible.
22255 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22256 as_unset=unset
22257 else
22258 as_unset=false
22262 # IFS
22263 # We need space, tab and new line, in precisely that order. Quoting is
22264 # there to prevent editors from complaining about space-tab.
22265 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22266 # splitting by setting IFS to empty value.)
22267 as_nl='
22269 IFS=" "" $as_nl"
22271 # Find who we are. Look in the path if we contain no directory separator.
22272 case $0 in
22273 *[\\/]* ) as_myself=$0 ;;
22274 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22275 for as_dir in $PATH
22277 IFS=$as_save_IFS
22278 test -z "$as_dir" && as_dir=.
22279 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22280 done
22281 IFS=$as_save_IFS
22284 esac
22285 # We did not find ourselves, most probably we were run as `sh COMMAND'
22286 # in which case we are not to be found in the path.
22287 if test "x$as_myself" = x; then
22288 as_myself=$0
22290 if test ! -f "$as_myself"; then
22291 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22292 { (exit 1); exit 1; }
22295 # Work around bugs in pre-3.0 UWIN ksh.
22296 for as_var in ENV MAIL MAILPATH
22297 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22298 done
22299 PS1='$ '
22300 PS2='> '
22301 PS4='+ '
22303 # NLS nuisances.
22304 for as_var in \
22305 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22306 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22307 LC_TELEPHONE LC_TIME
22309 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22310 eval $as_var=C; export $as_var
22311 else
22312 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22314 done
22316 # Required to use basename.
22317 if expr a : '\(a\)' >/dev/null 2>&1 &&
22318 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22319 as_expr=expr
22320 else
22321 as_expr=false
22324 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22325 as_basename=basename
22326 else
22327 as_basename=false
22331 # Name of the executable.
22332 as_me=`$as_basename -- "$0" ||
22333 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22334 X"$0" : 'X\(//\)$' \| \
22335 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22336 echo X/"$0" |
22337 sed '/^.*\/\([^/][^/]*\)\/*$/{
22338 s//\1/
22341 /^X\/\(\/\/\)$/{
22342 s//\1/
22345 /^X\/\(\/\).*/{
22346 s//\1/
22349 s/.*/./; q'`
22351 # CDPATH.
22352 $as_unset CDPATH
22356 as_lineno_1=$LINENO
22357 as_lineno_2=$LINENO
22358 test "x$as_lineno_1" != "x$as_lineno_2" &&
22359 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22361 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22362 # uniformly replaced by the line number. The first 'sed' inserts a
22363 # line-number line after each line using $LINENO; the second 'sed'
22364 # does the real work. The second script uses 'N' to pair each
22365 # line-number line with the line containing $LINENO, and appends
22366 # trailing '-' during substitution so that $LINENO is not a special
22367 # case at line end.
22368 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22369 # scripts with optimization help from Paolo Bonzini. Blame Lee
22370 # E. McMahon (1931-1989) for sed's syntax. :-)
22371 sed -n '
22373 /[$]LINENO/=
22374 ' <$as_myself |
22375 sed '
22376 s/[$]LINENO.*/&-/
22377 t lineno
22379 :lineno
22381 :loop
22382 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22383 t loop
22384 s/-\n.*//
22385 ' >$as_me.lineno &&
22386 chmod +x "$as_me.lineno" ||
22387 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22388 { (exit 1); exit 1; }; }
22390 # Don't try to exec as it changes $[0], causing all sort of problems
22391 # (the dirname of $[0] is not the place where we might find the
22392 # original and so on. Autoconf is especially sensitive to this).
22393 . "./$as_me.lineno"
22394 # Exit status is that of the last command.
22395 exit
22399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22400 as_dirname=dirname
22401 else
22402 as_dirname=false
22405 ECHO_C= ECHO_N= ECHO_T=
22406 case `echo -n x` in
22407 -n*)
22408 case `echo 'x\c'` in
22409 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22410 *) ECHO_C='\c';;
22411 esac;;
22413 ECHO_N='-n';;
22414 esac
22416 if expr a : '\(a\)' >/dev/null 2>&1 &&
22417 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22418 as_expr=expr
22419 else
22420 as_expr=false
22423 rm -f conf$$ conf$$.exe conf$$.file
22424 if test -d conf$$.dir; then
22425 rm -f conf$$.dir/conf$$.file
22426 else
22427 rm -f conf$$.dir
22428 mkdir conf$$.dir
22430 echo >conf$$.file
22431 if ln -s conf$$.file conf$$ 2>/dev/null; then
22432 as_ln_s='ln -s'
22433 # ... but there are two gotchas:
22434 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22435 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22436 # In both cases, we have to default to `cp -p'.
22437 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22438 as_ln_s='cp -p'
22439 elif ln conf$$.file conf$$ 2>/dev/null; then
22440 as_ln_s=ln
22441 else
22442 as_ln_s='cp -p'
22444 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22445 rmdir conf$$.dir 2>/dev/null
22447 if mkdir -p . 2>/dev/null; then
22448 as_mkdir_p=:
22449 else
22450 test -d ./-p && rmdir ./-p
22451 as_mkdir_p=false
22454 if test -x / >/dev/null 2>&1; then
22455 as_test_x='test -x'
22456 else
22457 if ls -dL / >/dev/null 2>&1; then
22458 as_ls_L_option=L
22459 else
22460 as_ls_L_option=
22462 as_test_x='
22463 eval sh -c '\''
22464 if test -d "$1"; then
22465 test -d "$1/.";
22466 else
22467 case $1 in
22468 -*)set "./$1";;
22469 esac;
22470 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22471 ???[sx]*):;;*)false;;esac;fi
22472 '\'' sh
22475 as_executable_p=$as_test_x
22477 # Sed expression to map a string onto a valid CPP name.
22478 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22480 # Sed expression to map a string onto a valid variable name.
22481 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22484 exec 6>&1
22486 # Save the log message, to keep $[0] and so on meaningful, and to
22487 # report actual input values of CONFIG_FILES etc. instead of their
22488 # values after options handling.
22489 ac_log="
22490 This file was extended by Wine $as_me 0.9.59, which was
22491 generated by GNU Autoconf 2.61. Invocation command line was
22493 CONFIG_FILES = $CONFIG_FILES
22494 CONFIG_HEADERS = $CONFIG_HEADERS
22495 CONFIG_LINKS = $CONFIG_LINKS
22496 CONFIG_COMMANDS = $CONFIG_COMMANDS
22497 $ $0 $@
22499 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22502 _ACEOF
22504 cat >>$CONFIG_STATUS <<_ACEOF
22505 # Files that config.status was made for.
22506 config_files="$ac_config_files"
22507 config_headers="$ac_config_headers"
22508 config_commands="$ac_config_commands"
22510 _ACEOF
22512 cat >>$CONFIG_STATUS <<\_ACEOF
22513 ac_cs_usage="\
22514 \`$as_me' instantiates files from templates according to the
22515 current configuration.
22517 Usage: $0 [OPTIONS] [FILE]...
22519 -h, --help print this help, then exit
22520 -V, --version print version number and configuration settings, then exit
22521 -q, --quiet do not print progress messages
22522 -d, --debug don't remove temporary files
22523 --recheck update $as_me by reconfiguring in the same conditions
22524 --file=FILE[:TEMPLATE]
22525 instantiate the configuration file FILE
22526 --header=FILE[:TEMPLATE]
22527 instantiate the configuration header FILE
22529 Configuration files:
22530 $config_files
22532 Configuration headers:
22533 $config_headers
22535 Configuration commands:
22536 $config_commands
22538 Report bugs to <bug-autoconf@gnu.org>."
22540 _ACEOF
22541 cat >>$CONFIG_STATUS <<_ACEOF
22542 ac_cs_version="\\
22543 Wine config.status 0.9.59
22544 configured by $0, generated by GNU Autoconf 2.61,
22545 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22547 Copyright (C) 2006 Free Software Foundation, Inc.
22548 This config.status script is free software; the Free Software Foundation
22549 gives unlimited permission to copy, distribute and modify it."
22551 ac_pwd='$ac_pwd'
22552 srcdir='$srcdir'
22553 INSTALL='$INSTALL'
22554 _ACEOF
22556 cat >>$CONFIG_STATUS <<\_ACEOF
22557 # If no file are specified by the user, then we need to provide default
22558 # value. By we need to know if files were specified by the user.
22559 ac_need_defaults=:
22560 while test $# != 0
22562 case $1 in
22563 --*=*)
22564 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22565 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22566 ac_shift=:
22569 ac_option=$1
22570 ac_optarg=$2
22571 ac_shift=shift
22573 esac
22575 case $ac_option in
22576 # Handling of the options.
22577 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22578 ac_cs_recheck=: ;;
22579 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22580 echo "$ac_cs_version"; exit ;;
22581 --debug | --debu | --deb | --de | --d | -d )
22582 debug=: ;;
22583 --file | --fil | --fi | --f )
22584 $ac_shift
22585 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22586 ac_need_defaults=false;;
22587 --header | --heade | --head | --hea )
22588 $ac_shift
22589 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22590 ac_need_defaults=false;;
22591 --he | --h)
22592 # Conflict between --help and --header
22593 { echo "$as_me: error: ambiguous option: $1
22594 Try \`$0 --help' for more information." >&2
22595 { (exit 1); exit 1; }; };;
22596 --help | --hel | -h )
22597 echo "$ac_cs_usage"; exit ;;
22598 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22599 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22600 ac_cs_silent=: ;;
22602 # This is an error.
22603 -*) { echo "$as_me: error: unrecognized option: $1
22604 Try \`$0 --help' for more information." >&2
22605 { (exit 1); exit 1; }; } ;;
22607 *) ac_config_targets="$ac_config_targets $1"
22608 ac_need_defaults=false ;;
22610 esac
22611 shift
22612 done
22614 ac_configure_extra_args=
22616 if $ac_cs_silent; then
22617 exec 6>/dev/null
22618 ac_configure_extra_args="$ac_configure_extra_args --silent"
22621 _ACEOF
22622 cat >>$CONFIG_STATUS <<_ACEOF
22623 if \$ac_cs_recheck; then
22624 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22625 CONFIG_SHELL=$SHELL
22626 export CONFIG_SHELL
22627 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22630 _ACEOF
22631 cat >>$CONFIG_STATUS <<\_ACEOF
22632 exec 5>>config.log
22634 echo
22635 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22636 ## Running $as_me. ##
22637 _ASBOX
22638 echo "$ac_log"
22639 } >&5
22641 _ACEOF
22642 cat >>$CONFIG_STATUS <<_ACEOF
22643 _ACEOF
22645 cat >>$CONFIG_STATUS <<\_ACEOF
22647 # Handling of arguments.
22648 for ac_config_target in $ac_config_targets
22650 case $ac_config_target in
22651 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22652 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22653 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22654 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22655 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22656 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22657 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22658 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22659 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22660 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22661 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22662 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22663 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22664 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22665 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22666 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22667 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22668 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22669 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22670 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22671 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22672 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22673 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22674 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22675 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22676 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22677 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22678 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22679 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22680 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22681 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22682 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22683 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22684 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22685 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22686 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22687 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22688 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22689 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22690 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22691 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22692 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22693 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22694 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22695 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22696 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22697 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22698 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22699 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22700 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22701 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22702 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22703 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22704 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22705 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22706 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22707 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22708 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22709 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22710 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22711 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22712 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22713 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22714 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22715 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22716 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22717 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22718 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22719 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22720 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22721 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22722 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22723 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22724 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22725 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22726 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22727 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22728 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22729 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22730 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22731 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22732 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22733 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22734 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22735 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22736 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22737 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22738 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22739 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22740 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22741 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22742 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22743 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22744 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22745 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22746 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22747 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22748 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22749 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22750 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22751 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22752 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22753 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22754 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22755 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22756 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22757 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22758 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22759 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22760 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22761 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22762 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22763 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22764 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22765 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22766 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22767 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
22768 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
22769 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22770 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22771 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22772 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22773 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22774 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22775 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22776 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22777 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22778 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22779 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22780 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22781 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22782 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22783 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22784 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22785 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22786 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22787 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22788 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22789 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22790 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22791 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22792 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22793 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22794 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22795 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22796 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22797 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22798 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22799 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22800 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22801 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22802 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
22803 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22804 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22805 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22806 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22807 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22808 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22809 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22810 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22811 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22812 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22813 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22814 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22815 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22816 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22817 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22818 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22819 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22820 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22821 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22822 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22823 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22824 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22825 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22826 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22827 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22828 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22829 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22830 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22831 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22832 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22833 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22834 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22835 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22836 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22837 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22838 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22839 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22840 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22841 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22842 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22843 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22844 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22845 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22846 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22847 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22848 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22849 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22850 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22851 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22852 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22853 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22854 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22855 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22856 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22857 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22858 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22859 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22860 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22861 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22862 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22863 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22864 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22865 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22866 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22867 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22868 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22869 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22870 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22871 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22872 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22873 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22874 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22875 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22876 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22877 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22878 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22879 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22880 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22881 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22882 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22883 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22884 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22885 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22886 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22887 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22888 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22889 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22890 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22891 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22892 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22893 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22894 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22895 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22896 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22897 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22898 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22899 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22900 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22901 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22902 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22903 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22904 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22905 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22906 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22907 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22908 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22909 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22910 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22911 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22912 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22913 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22914 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22915 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22916 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22917 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22918 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22919 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22920 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22921 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22922 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22923 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22924 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22925 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22926 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22927 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22928 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22929 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22930 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22931 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22932 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22933 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22934 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22935 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22936 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22937 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22938 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22939 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22940 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22941 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22942 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22943 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22944 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22945 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22946 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22947 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22948 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22949 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22950 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22951 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22952 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22953 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22954 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22955 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22956 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22957 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22958 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22959 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22960 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22961 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22962 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22963 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22964 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22965 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22966 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22967 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22968 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22969 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22970 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22971 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22972 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22973 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22974 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22975 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22976 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22977 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22978 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22979 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22980 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22981 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22982 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22983 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22984 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22985 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22986 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22987 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22988 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22989 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22990 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22991 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22992 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22993 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22994 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22995 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22996 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22997 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22998 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22999 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23000 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23001 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23002 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23003 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23004 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23005 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23006 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23007 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23008 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23009 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23010 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23011 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23012 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23013 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23014 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23015 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23016 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23017 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23018 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23019 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23020 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23021 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23022 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23023 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23024 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23025 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23026 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23027 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23028 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23029 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23030 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23031 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23032 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23033 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23034 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23035 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23036 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23037 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23038 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23039 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23040 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23041 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23042 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23043 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23044 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23045 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23046 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23047 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23048 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23049 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23050 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23051 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23052 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23053 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23054 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23055 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23056 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23057 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23058 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23059 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23060 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23061 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23062 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23063 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23064 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23065 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23066 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23067 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23068 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23069 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23070 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23071 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23073 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23074 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23075 { (exit 1); exit 1; }; };;
23076 esac
23077 done
23080 # If the user did not use the arguments to specify the items to instantiate,
23081 # then the envvar interface is used. Set only those that are not.
23082 # We use the long form for the default assignment because of an extremely
23083 # bizarre bug on SunOS 4.1.3.
23084 if $ac_need_defaults; then
23085 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23086 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23087 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23090 # Have a temporary directory for convenience. Make it in the build tree
23091 # simply because there is no reason against having it here, and in addition,
23092 # creating and moving files from /tmp can sometimes cause problems.
23093 # Hook for its removal unless debugging.
23094 # Note that there is a small window in which the directory will not be cleaned:
23095 # after its creation but before its name has been assigned to `$tmp'.
23096 $debug ||
23098 tmp=
23099 trap 'exit_status=$?
23100 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23102 trap '{ (exit 1); exit 1; }' 1 2 13 15
23104 # Create a (secure) tmp directory for tmp files.
23107 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23108 test -n "$tmp" && test -d "$tmp"
23109 } ||
23111 tmp=./conf$$-$RANDOM
23112 (umask 077 && mkdir "$tmp")
23113 } ||
23115 echo "$me: cannot create a temporary directory in ." >&2
23116 { (exit 1); exit 1; }
23120 # Set up the sed scripts for CONFIG_FILES section.
23123 # No need to generate the scripts if there are no CONFIG_FILES.
23124 # This happens for instance when ./config.status config.h
23125 if test -n "$CONFIG_FILES"; then
23127 _ACEOF
23129 # Create sed commands to just substitute file output variables.
23131 # Remaining file output variables are in a fragment that also has non-file
23132 # output varibles.
23136 ac_delim='%!_!# '
23137 for ac_last_try in false false false false false :; do
23138 cat >conf$$subs.sed <<_ACEOF
23139 SHELL!$SHELL$ac_delim
23140 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23141 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23142 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23143 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23144 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23145 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23146 exec_prefix!$exec_prefix$ac_delim
23147 prefix!$prefix$ac_delim
23148 program_transform_name!$program_transform_name$ac_delim
23149 bindir!$bindir$ac_delim
23150 sbindir!$sbindir$ac_delim
23151 libexecdir!$libexecdir$ac_delim
23152 datarootdir!$datarootdir$ac_delim
23153 datadir!$datadir$ac_delim
23154 sysconfdir!$sysconfdir$ac_delim
23155 sharedstatedir!$sharedstatedir$ac_delim
23156 localstatedir!$localstatedir$ac_delim
23157 includedir!$includedir$ac_delim
23158 oldincludedir!$oldincludedir$ac_delim
23159 docdir!$docdir$ac_delim
23160 infodir!$infodir$ac_delim
23161 htmldir!$htmldir$ac_delim
23162 dvidir!$dvidir$ac_delim
23163 pdfdir!$pdfdir$ac_delim
23164 psdir!$psdir$ac_delim
23165 libdir!$libdir$ac_delim
23166 localedir!$localedir$ac_delim
23167 mandir!$mandir$ac_delim
23168 DEFS!$DEFS$ac_delim
23169 ECHO_C!$ECHO_C$ac_delim
23170 ECHO_N!$ECHO_N$ac_delim
23171 ECHO_T!$ECHO_T$ac_delim
23172 LIBS!$LIBS$ac_delim
23173 build_alias!$build_alias$ac_delim
23174 host_alias!$host_alias$ac_delim
23175 target_alias!$target_alias$ac_delim
23176 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23177 build!$build$ac_delim
23178 build_cpu!$build_cpu$ac_delim
23179 build_vendor!$build_vendor$ac_delim
23180 build_os!$build_os$ac_delim
23181 host!$host$ac_delim
23182 host_cpu!$host_cpu$ac_delim
23183 host_vendor!$host_vendor$ac_delim
23184 host_os!$host_os$ac_delim
23185 WIN16_FILES!$WIN16_FILES$ac_delim
23186 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23187 SET_MAKE!$SET_MAKE$ac_delim
23188 CC!$CC$ac_delim
23189 CFLAGS!$CFLAGS$ac_delim
23190 LDFLAGS!$LDFLAGS$ac_delim
23191 CPPFLAGS!$CPPFLAGS$ac_delim
23192 ac_ct_CC!$ac_ct_CC$ac_delim
23193 EXEEXT!$EXEEXT$ac_delim
23194 OBJEXT!$OBJEXT$ac_delim
23195 CXX!$CXX$ac_delim
23196 CXXFLAGS!$CXXFLAGS$ac_delim
23197 ac_ct_CXX!$ac_ct_CXX$ac_delim
23198 CPPBIN!$CPPBIN$ac_delim
23199 TOOLSDIR!$TOOLSDIR$ac_delim
23200 XMKMF!$XMKMF$ac_delim
23201 CPP!$CPP$ac_delim
23202 X_CFLAGS!$X_CFLAGS$ac_delim
23203 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23204 X_LIBS!$X_LIBS$ac_delim
23205 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23206 FLEX!$FLEX$ac_delim
23207 BISON!$BISON$ac_delim
23208 AS!$AS$ac_delim
23209 ac_ct_AS!$ac_ct_AS$ac_delim
23210 LD!$LD$ac_delim
23211 AR!$AR$ac_delim
23212 ARFLAGS!$ARFLAGS$ac_delim
23213 RANLIB!$RANLIB$ac_delim
23214 STRIP!$STRIP$ac_delim
23215 WINDRES!$WINDRES$ac_delim
23216 LN_S!$LN_S$ac_delim
23217 LN!$LN$ac_delim
23218 GREP!$GREP$ac_delim
23219 EGREP!$EGREP$ac_delim
23220 LDCONFIG!$LDCONFIG$ac_delim
23221 _ACEOF
23223 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23224 break
23225 elif $ac_last_try; then
23226 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23227 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23228 { (exit 1); exit 1; }; }
23229 else
23230 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23232 done
23234 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23235 if test -n "$ac_eof"; then
23236 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23237 ac_eof=`expr $ac_eof + 1`
23240 cat >>$CONFIG_STATUS <<_ACEOF
23241 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23243 /^[ ]*@MAKE_RULES@[ ]*$/{
23244 r $MAKE_RULES
23247 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23248 r $MAKE_DLL_RULES
23251 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23252 r $MAKE_IMPLIB_RULES
23255 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23256 r $MAKE_TEST_RULES
23259 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23260 r $MAKE_PROG_RULES
23263 _ACEOF
23264 sed '
23265 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23266 s/^/s,@/; s/!/@,|#_!!_#|/
23269 s/'"$ac_delim"'$/,g/; t
23270 s/$/\\/; p
23271 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23272 ' >>$CONFIG_STATUS <conf$$subs.sed
23273 rm -f conf$$subs.sed
23274 cat >>$CONFIG_STATUS <<_ACEOF
23275 CEOF$ac_eof
23276 _ACEOF
23279 ac_delim='%!_!# '
23280 for ac_last_try in false false false false false :; do
23281 cat >conf$$subs.sed <<_ACEOF
23282 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23283 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23284 INSTALL_DATA!$INSTALL_DATA$ac_delim
23285 LINT!$LINT$ac_delim
23286 LINTFLAGS!$LINTFLAGS$ac_delim
23287 FONTFORGE!$FONTFORGE$ac_delim
23288 PKG_CONFIG!$PKG_CONFIG$ac_delim
23289 RSVG!$RSVG$ac_delim
23290 ICOTOOL!$ICOTOOL$ac_delim
23291 PRELINK!$PRELINK$ac_delim
23292 LIBPTHREAD!$LIBPTHREAD$ac_delim
23293 XLIB!$XLIB$ac_delim
23294 XFILES!$XFILES$ac_delim
23295 OPENGLFILES!$OPENGLFILES$ac_delim
23296 GLU32FILES!$GLU32FILES$ac_delim
23297 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23298 QUARTZFILES!$QUARTZFILES$ac_delim
23299 DLLEXT!$DLLEXT$ac_delim
23300 DLLFLAGS!$DLLFLAGS$ac_delim
23301 LDSHARED!$LDSHARED$ac_delim
23302 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23303 LIBEXT!$LIBEXT$ac_delim
23304 IMPLIBEXT!$IMPLIBEXT$ac_delim
23305 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23306 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23307 LDD!$LDD$ac_delim
23308 DLLTOOL!$DLLTOOL$ac_delim
23309 DLLWRAP!$DLLWRAP$ac_delim
23310 MINGWAR!$MINGWAR$ac_delim
23311 SECURITYLIB!$SECURITYLIB$ac_delim
23312 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23313 IOKITLIB!$IOKITLIB$ac_delim
23314 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23315 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23316 COREAUDIO!$COREAUDIO$ac_delim
23317 CARBONLIB!$CARBONLIB$ac_delim
23318 CROSSTEST!$CROSSTEST$ac_delim
23319 CROSSCC!$CROSSCC$ac_delim
23320 CROSSWINDRES!$CROSSWINDRES$ac_delim
23321 NASLIBS!$NASLIBS$ac_delim
23322 XML2LIBS!$XML2LIBS$ac_delim
23323 XML2INCL!$XML2INCL$ac_delim
23324 XSLTLIBS!$XSLTLIBS$ac_delim
23325 XSLTINCL!$XSLTINCL$ac_delim
23326 HALINCL!$HALINCL$ac_delim
23327 sane_devel!$sane_devel$ac_delim
23328 SANEINCL!$SANEINCL$ac_delim
23329 gphoto2_devel!$gphoto2_devel$ac_delim
23330 gphoto2port_devel!$gphoto2port_devel$ac_delim
23331 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23332 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23333 RESOLVLIBS!$RESOLVLIBS$ac_delim
23334 LCMSLIBS!$LCMSLIBS$ac_delim
23335 LDAPLIBS!$LDAPLIBS$ac_delim
23336 ft_devel!$ft_devel$ac_delim
23337 FREETYPELIBS!$FREETYPELIBS$ac_delim
23338 FREETYPEINCL!$FREETYPEINCL$ac_delim
23339 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23340 ESDCONFIG!$ESDCONFIG$ac_delim
23341 ESDLIBS!$ESDLIBS$ac_delim
23342 ESDINCL!$ESDINCL$ac_delim
23343 ALSALIBS!$ALSALIBS$ac_delim
23344 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23345 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23346 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23347 BUILTINFLAG!$BUILTINFLAG$ac_delim
23348 LDPATH!$LDPATH$ac_delim
23349 CRTLIBS!$CRTLIBS$ac_delim
23350 SOCKETLIBS!$SOCKETLIBS$ac_delim
23351 MAIN_BINARY!$MAIN_BINARY$ac_delim
23352 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23353 LIBDL!$LIBDL$ac_delim
23354 LIBPOLL!$LIBPOLL$ac_delim
23355 DEPENDENCIES!$DEPENDENCIES$ac_delim
23356 LIBOBJS!$LIBOBJS$ac_delim
23357 LTLIBOBJS!$LTLIBOBJS$ac_delim
23358 _ACEOF
23360 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23361 break
23362 elif $ac_last_try; then
23363 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23364 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23365 { (exit 1); exit 1; }; }
23366 else
23367 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23369 done
23371 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23372 if test -n "$ac_eof"; then
23373 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23374 ac_eof=`expr $ac_eof + 1`
23377 cat >>$CONFIG_STATUS <<_ACEOF
23378 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23379 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23380 _ACEOF
23381 sed '
23382 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23383 s/^/s,@/; s/!/@,|#_!!_#|/
23386 s/'"$ac_delim"'$/,g/; t
23387 s/$/\\/; p
23388 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23389 ' >>$CONFIG_STATUS <conf$$subs.sed
23390 rm -f conf$$subs.sed
23391 cat >>$CONFIG_STATUS <<_ACEOF
23392 :end
23393 s/|#_!!_#|//g
23394 CEOF$ac_eof
23395 _ACEOF
23398 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23399 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23400 # trailing colons and then remove the whole line if VPATH becomes empty
23401 # (actually we leave an empty line to preserve line numbers).
23402 if test "x$srcdir" = x.; then
23403 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23404 s/:*\$(srcdir):*/:/
23405 s/:*\${srcdir}:*/:/
23406 s/:*@srcdir@:*/:/
23407 s/^\([^=]*=[ ]*\):*/\1/
23408 s/:*$//
23409 s/^[^=]*=[ ]*$//
23413 cat >>$CONFIG_STATUS <<\_ACEOF
23414 fi # test -n "$CONFIG_FILES"
23417 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23419 case $ac_tag in
23420 :[FHLC]) ac_mode=$ac_tag; continue;;
23421 esac
23422 case $ac_mode$ac_tag in
23423 :[FHL]*:*);;
23424 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23425 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23426 { (exit 1); exit 1; }; };;
23427 :[FH]-) ac_tag=-:-;;
23428 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23429 esac
23430 ac_save_IFS=$IFS
23431 IFS=:
23432 set x $ac_tag
23433 IFS=$ac_save_IFS
23434 shift
23435 ac_file=$1
23436 shift
23438 case $ac_mode in
23439 :L) ac_source=$1;;
23440 :[FH])
23441 ac_file_inputs=
23442 for ac_f
23444 case $ac_f in
23445 -) ac_f="$tmp/stdin";;
23446 *) # Look for the file first in the build tree, then in the source tree
23447 # (if the path is not absolute). The absolute path cannot be DOS-style,
23448 # because $ac_f cannot contain `:'.
23449 test -f "$ac_f" ||
23450 case $ac_f in
23451 [\\/$]*) false;;
23452 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23453 esac ||
23454 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23455 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23456 { (exit 1); exit 1; }; };;
23457 esac
23458 ac_file_inputs="$ac_file_inputs $ac_f"
23459 done
23461 # Let's still pretend it is `configure' which instantiates (i.e., don't
23462 # use $as_me), people would be surprised to read:
23463 # /* config.h. Generated by config.status. */
23464 configure_input="Generated from "`IFS=:
23465 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23466 if test x"$ac_file" != x-; then
23467 configure_input="$ac_file. $configure_input"
23468 { echo "$as_me:$LINENO: creating $ac_file" >&5
23469 echo "$as_me: creating $ac_file" >&6;}
23472 case $ac_tag in
23473 *:-:* | *:-) cat >"$tmp/stdin";;
23474 esac
23476 esac
23478 ac_dir=`$as_dirname -- "$ac_file" ||
23479 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23480 X"$ac_file" : 'X\(//\)[^/]' \| \
23481 X"$ac_file" : 'X\(//\)$' \| \
23482 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23483 echo X"$ac_file" |
23484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23485 s//\1/
23488 /^X\(\/\/\)[^/].*/{
23489 s//\1/
23492 /^X\(\/\/\)$/{
23493 s//\1/
23496 /^X\(\/\).*/{
23497 s//\1/
23500 s/.*/./; q'`
23501 { as_dir="$ac_dir"
23502 case $as_dir in #(
23503 -*) as_dir=./$as_dir;;
23504 esac
23505 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23506 as_dirs=
23507 while :; do
23508 case $as_dir in #(
23509 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23510 *) as_qdir=$as_dir;;
23511 esac
23512 as_dirs="'$as_qdir' $as_dirs"
23513 as_dir=`$as_dirname -- "$as_dir" ||
23514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23515 X"$as_dir" : 'X\(//\)[^/]' \| \
23516 X"$as_dir" : 'X\(//\)$' \| \
23517 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23518 echo X"$as_dir" |
23519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23520 s//\1/
23523 /^X\(\/\/\)[^/].*/{
23524 s//\1/
23527 /^X\(\/\/\)$/{
23528 s//\1/
23531 /^X\(\/\).*/{
23532 s//\1/
23535 s/.*/./; q'`
23536 test -d "$as_dir" && break
23537 done
23538 test -z "$as_dirs" || eval "mkdir $as_dirs"
23539 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23540 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23541 { (exit 1); exit 1; }; }; }
23542 ac_builddir=.
23544 case "$ac_dir" in
23545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23547 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23548 # A ".." for each directory in $ac_dir_suffix.
23549 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23550 case $ac_top_builddir_sub in
23551 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23552 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23553 esac ;;
23554 esac
23555 ac_abs_top_builddir=$ac_pwd
23556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23557 # for backward compatibility:
23558 ac_top_builddir=$ac_top_build_prefix
23560 case $srcdir in
23561 .) # We are building in place.
23562 ac_srcdir=.
23563 ac_top_srcdir=$ac_top_builddir_sub
23564 ac_abs_top_srcdir=$ac_pwd ;;
23565 [\\/]* | ?:[\\/]* ) # Absolute name.
23566 ac_srcdir=$srcdir$ac_dir_suffix;
23567 ac_top_srcdir=$srcdir
23568 ac_abs_top_srcdir=$srcdir ;;
23569 *) # Relative name.
23570 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23571 ac_top_srcdir=$ac_top_build_prefix$srcdir
23572 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23573 esac
23574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23577 case $ac_mode in
23580 # CONFIG_FILE
23583 case $INSTALL in
23584 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23585 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23586 esac
23587 _ACEOF
23589 cat >>$CONFIG_STATUS <<\_ACEOF
23590 # If the template does not know about datarootdir, expand it.
23591 # FIXME: This hack should be removed a few years after 2.60.
23592 ac_datarootdir_hack=; ac_datarootdir_seen=
23594 case `sed -n '/datarootdir/ {
23598 /@datadir@/p
23599 /@docdir@/p
23600 /@infodir@/p
23601 /@localedir@/p
23602 /@mandir@/p
23603 ' $ac_file_inputs` in
23604 *datarootdir*) ac_datarootdir_seen=yes;;
23605 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23606 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23607 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23608 _ACEOF
23609 cat >>$CONFIG_STATUS <<_ACEOF
23610 ac_datarootdir_hack='
23611 s&@datadir@&$datadir&g
23612 s&@docdir@&$docdir&g
23613 s&@infodir@&$infodir&g
23614 s&@localedir@&$localedir&g
23615 s&@mandir@&$mandir&g
23616 s&\\\${datarootdir}&$datarootdir&g' ;;
23617 esac
23618 _ACEOF
23620 # Neutralize VPATH when `$srcdir' = `.'.
23621 # Shell code in configure.ac might set extrasub.
23622 # FIXME: do we really want to maintain this feature?
23623 cat >>$CONFIG_STATUS <<_ACEOF
23624 sed "$ac_vpsub
23625 $extrasub
23626 _ACEOF
23627 cat >>$CONFIG_STATUS <<\_ACEOF
23629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23630 s&@configure_input@&$configure_input&;t t
23631 s&@top_builddir@&$ac_top_builddir_sub&;t t
23632 s&@srcdir@&$ac_srcdir&;t t
23633 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23634 s&@top_srcdir@&$ac_top_srcdir&;t t
23635 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23636 s&@builddir@&$ac_builddir&;t t
23637 s&@abs_builddir@&$ac_abs_builddir&;t t
23638 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23639 s&@INSTALL@&$ac_INSTALL&;t t
23640 $ac_datarootdir_hack
23641 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23643 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23644 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23645 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23646 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23647 which seems to be undefined. Please make sure it is defined." >&5
23648 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23649 which seems to be undefined. Please make sure it is defined." >&2;}
23651 rm -f "$tmp/stdin"
23652 case $ac_file in
23653 -) cat "$tmp/out"; rm -f "$tmp/out";;
23654 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23655 esac
23659 # CONFIG_HEADER
23661 _ACEOF
23663 # Transform confdefs.h into a sed script `conftest.defines', that
23664 # substitutes the proper values into config.h.in to produce config.h.
23665 rm -f conftest.defines conftest.tail
23666 # First, append a space to every undef/define line, to ease matching.
23667 echo 's/$/ /' >conftest.defines
23668 # Then, protect against being on the right side of a sed subst, or in
23669 # an unquoted here document, in config.status. If some macros were
23670 # called several times there might be several #defines for the same
23671 # symbol, which is useless. But do not sort them, since the last
23672 # AC_DEFINE must be honored.
23673 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23674 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23675 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23676 # PARAMS is the parameter list in the macro definition--in most cases, it's
23677 # just an empty string.
23678 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23679 ac_dB='\\)[ (].*,\\1define\\2'
23680 ac_dC=' '
23681 ac_dD=' ,'
23683 uniq confdefs.h |
23684 sed -n '
23685 t rset
23686 :rset
23687 s/^[ ]*#[ ]*define[ ][ ]*//
23688 t ok
23691 s/[\\&,]/\\&/g
23692 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23693 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23694 ' >>conftest.defines
23696 # Remove the space that was appended to ease matching.
23697 # Then replace #undef with comments. This is necessary, for
23698 # example, in the case of _POSIX_SOURCE, which is predefined and required
23699 # on some systems where configure will not decide to define it.
23700 # (The regexp can be short, since the line contains either #define or #undef.)
23701 echo 's/ $//
23702 s,^[ #]*u.*,/* & */,' >>conftest.defines
23704 # Break up conftest.defines:
23705 ac_max_sed_lines=50
23707 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23708 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23709 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23710 # et cetera.
23711 ac_in='$ac_file_inputs'
23712 ac_out='"$tmp/out1"'
23713 ac_nxt='"$tmp/out2"'
23715 while :
23717 # Write a here document:
23718 cat >>$CONFIG_STATUS <<_ACEOF
23719 # First, check the format of the line:
23720 cat >"\$tmp/defines.sed" <<\\CEOF
23721 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23722 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23724 :def
23725 _ACEOF
23726 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23727 echo 'CEOF
23728 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23729 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23730 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23731 grep . conftest.tail >/dev/null || break
23732 rm -f conftest.defines
23733 mv conftest.tail conftest.defines
23734 done
23735 rm -f conftest.defines conftest.tail
23737 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23738 cat >>$CONFIG_STATUS <<\_ACEOF
23739 if test x"$ac_file" != x-; then
23740 echo "/* $configure_input */" >"$tmp/config.h"
23741 cat "$ac_result" >>"$tmp/config.h"
23742 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23743 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23744 echo "$as_me: $ac_file is unchanged" >&6;}
23745 else
23746 rm -f $ac_file
23747 mv "$tmp/config.h" $ac_file
23749 else
23750 echo "/* $configure_input */"
23751 cat "$ac_result"
23753 rm -f "$tmp/out12"
23756 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23757 echo "$as_me: executing $ac_file commands" >&6;}
23759 esac
23762 case $ac_file$ac_mode in
23763 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23764 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23765 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23766 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23767 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23768 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23769 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23770 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23771 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23772 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23773 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23774 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23775 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23777 esac
23778 done # for ac_tag
23781 { (exit 0); exit 0; }
23782 _ACEOF
23783 chmod +x $CONFIG_STATUS
23784 ac_clean_files=$ac_clean_files_save
23787 # configure is writing to config.log, and then calls config.status.
23788 # config.status does its own redirection, appending to config.log.
23789 # Unfortunately, on DOS this fails, as config.log is still kept open
23790 # by configure, so config.status won't be able to write to it; its
23791 # output is simply discarded. So we exec the FD to /dev/null,
23792 # effectively closing config.log, so it can be properly (re)opened and
23793 # appended to by config.status. When coming back to configure, we
23794 # need to make the FD available again.
23795 if test "$no_create" != yes; then
23796 ac_cs_success=:
23797 ac_config_status_args=
23798 test "$silent" = yes &&
23799 ac_config_status_args="$ac_config_status_args --quiet"
23800 exec 5>/dev/null
23801 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23802 exec 5>>config.log
23803 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23804 # would make configure fail if this is the last instruction.
23805 $ac_cs_success || { (exit 1); exit 1; }
23809 if test "$no_create" = "yes"
23810 then
23811 exit 0
23814 ac_save_IFS="$IFS"
23815 IFS="|"
23816 if test "x$wine_notices != "x; then
23817 echo >&6
23818 for msg in $wine_notices; do
23819 if test -n "$msg"; then
23820 { echo "$as_me:$LINENO: $msg" >&5
23821 echo "$as_me: $msg" >&6;}
23823 done
23825 for msg in $wine_warnings; do
23826 if test -n "$msg"; then
23827 echo >&2
23828 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23829 echo "$as_me: WARNING: $msg" >&2;}
23831 done
23832 IFS="$ac_save_IFS"
23834 echo "
23835 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23836 " >&6