push 3db4586efe3cd427f1c34d11791f637eb13e9e6d
[wine/hacks.git] / configure
blob3978d0f30519bc958503383fd52c336988d3f098
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
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.57'
578 PACKAGE_STRING='Wine 0.9.57'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 TESTSUBDIRS
667 WINETEST
668 SET_MAKE
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
677 CXXFLAGS
678 ac_ct_CXX
679 CPPBIN
680 TOOLSDIR
681 XMKMF
683 X_CFLAGS
684 X_PRE_LIBS
685 X_LIBS
686 X_EXTRA_LIBS
687 FLEX
688 BISON
690 ac_ct_AS
693 ARFLAGS
694 RANLIB
695 STRIP
696 WINDRES
697 LN_S
699 GREP
700 EGREP
701 LDCONFIG
702 INSTALL_PROGRAM
703 INSTALL_SCRIPT
704 INSTALL_DATA
705 LINT
706 LINTFLAGS
707 FONTFORGE
708 PKG_CONFIG
709 RSVG
710 ICOTOOL
711 PRELINK
712 LIBPTHREAD
713 XLIB
714 XFILES
715 OPENGLFILES
716 GLU32FILES
717 OPENGL_LIBS
718 QUARTZFILES
719 DLLEXT
720 DLLFLAGS
721 LDSHARED
722 LDDLLFLAGS
723 LIBEXT
724 IMPLIBEXT
725 LDRPATH_INSTALL
726 LDRPATH_LOCAL
728 DLLTOOL
729 DLLWRAP
730 MINGWAR
731 SECURITYLIB
732 COREFOUNDATIONLIB
733 IOKITLIB
734 LDEXECFLAGS
735 DISKARBITRATIONLIB
736 COREAUDIO
737 CARBONLIB
738 CROSSTEST
739 CROSSCC
740 CROSSWINDRES
741 NASLIBS
742 XML2LIBS
743 XML2INCL
744 XSLTLIBS
745 XSLTINCL
746 HALINCL
747 sane_devel
748 SANEINCL
749 gphoto2_devel
750 gphoto2port_devel
751 GPHOTO2LIBS
752 GPHOTO2INCL
753 RESOLVLIBS
754 LCMSLIBS
755 LDAPLIBS
756 ft_devel
757 FREETYPELIBS
758 FREETYPEINCL
759 FONTSSUBDIRS
760 ESDCONFIG
761 ESDLIBS
762 ESDINCL
763 ALSALIBS
764 AUDIOIOLIBS
765 FONTCONFIGINCL
766 EXTRACFLAGS
767 BUILTINFLAG
768 LDPATH
769 CRTLIBS
770 SOCKETLIBS
771 MAIN_BINARY
772 EXTRA_BINARIES
773 LIBDL
774 LIBPOLL
775 DEPENDENCIES
776 LIBOBJS
777 LTLIBOBJS'
778 ac_subst_files='MAKE_RULES
779 MAKE_DLL_RULES
780 MAKE_IMPLIB_RULES
781 MAKE_TEST_RULES
782 MAKE_PROG_RULES'
783 ac_precious_vars='build_alias
784 host_alias
785 target_alias
787 CFLAGS
788 LDFLAGS
789 LIBS
790 CPPFLAGS
792 CXXFLAGS
794 XMKMF
795 CPP'
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
836 htmldir='${docdir}'
837 dvidir='${docdir}'
838 pdfdir='${docdir}'
839 psdir='${docdir}'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
844 ac_prev=
845 ac_dashdash=
846 for ac_option
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
851 ac_prev=
852 continue
855 case $ac_option in
856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 *) ac_optarg=yes ;;
858 esac
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
864 ac_dashdash=yes ;;
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
867 ac_prev=bindir ;;
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 bindir=$ac_optarg ;;
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
883 --config-cache | -C)
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
887 ac_prev=datadir ;;
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_$ac_feature=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_$ac_feature=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1114 -with-* | --with-*)
1115 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_$ac_package=\$ac_optarg ;;
1123 -without-* | --without-*)
1124 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_$ac_package=no ;;
1132 --x)
1133 # Obsolete; use --with-x.
1134 with_x=yes ;;
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1155 *=*)
1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 esac
1173 done
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1188 case $ac_val in
1189 [\\/$]* | ?:[\\/]* ) continue;;
1190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191 esac
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1194 done
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1199 build=$build_alias
1200 host=$host_alias
1201 target=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x; then
1205 if test "x$build_alias" = x; then
1206 cross_compiling=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1210 cross_compiling=yes
1214 ac_tool_prefix=
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217 test "$silent" = yes && exec 6>/dev/null
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1239 echo X"$0" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 s//\1/
1244 /^X\(\/\/\)[^/].*/{
1245 s//\1/
1248 /^X\(\/\/\)$/{
1249 s//\1/
1252 /^X\(\/\).*/{
1253 s//\1/
1256 s/.*/./; q'`
1257 srcdir=$ac_confdir
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 srcdir=..
1261 else
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 ac_abs_confdir=`(
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1273 pwd)`
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 srcdir=.
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1281 case $srcdir in
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 esac
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 done
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1297 cat <<_ACEOF
1298 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1307 Configuration:
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 [PREFIX]
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1351 _ACEOF
1353 cat <<\_ACEOF
1355 X features:
1356 --x-includes=DIR X include files are in DIR
1357 --x-libraries=DIR X library files are in DIR
1359 System types:
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1362 _ACEOF
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1368 esac
1369 cat <<\_ACEOF
1371 Optional Features:
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1376 binaries)
1377 --enable-maintainer-mode
1378 enable maintainer-specific build rules
1379 --disable-tests do not build the testsuites
1381 Optional Packages:
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --without-alsa do not use the Alsa sound support
1385 --without-audioio do not use the AudioIO sound support
1386 --without-capi do not use CAPI (ISDN support)
1387 --without-cms do not use CMS (color management support)
1388 --without-coreaudio do not use the CoreAudio sound support
1389 --without-cups do not use CUPS
1390 --without-curses do not use (n)curses
1391 --without-esd do not use the EsounD sound support
1392 --without-fontconfig do not use fontconfig
1393 --without-gphoto do not use gphoto (Digital Camera support)
1394 --without-hal do not use HAL (dynamic device support)
1395 --without-jack do not use the Jack sound support
1396 --without-jpeg do not use JPEG
1397 --without-ldap do not use LDAP
1398 --without-nas do not use the NAS sound support
1399 --without-opengl do not use OpenGL
1400 --without-openssl do not use OpenSSL
1401 --without-oss do not use the OSS sound support
1402 --without-png do not use PNG
1403 --without-sane do not use SANE (scanner support)
1404 --without-xcomposite do not use the Xcomposite extension
1405 --without-xcursor do not use the Xcursor extension
1406 --without-xinerama do not use Xinerama (multi-monitor support)
1407 --without-xinput do not use the Xinput extension
1408 --without-xml do not use XML
1409 --without-xrandr do not use Xrandr (resolution changes)
1410 --without-xrender do not use the Xrender extension
1411 --without-xshape do not use the Xshape extension
1412 --without-xshm do not use XShm (shared memory extension)
1413 --without-xslt do not use XSLT
1414 --without-xvidmode do not use XFree video mode extension
1415 --with-wine-tools=DIR use Wine tools from directory DIR
1416 --with-x use the X Window System
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1426 CXX C++ compiler command
1427 CXXFLAGS C++ compiler flags
1428 XMKMF Path to xmkmf, Makefile generator for X Window System
1429 CPP C preprocessor
1431 Use these variables to override the choices made by `configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1434 Report bugs to <wine-devel@winehq.org>.
1435 _ACEOF
1436 ac_status=$?
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442 test -d "$ac_dir" || continue
1443 ac_builddir=.
1445 case "$ac_dir" in
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454 esac ;;
1455 esac
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1461 case $srcdir in
1462 .) # We are building in place.
1463 ac_srcdir=.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1470 *) # Relative name.
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474 esac
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1483 echo &&
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1485 else
1486 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 fi || ac_status=$?
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1489 done
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1494 cat <<\_ACEOF
1495 Wine configure 0.9.57
1496 generated by GNU Autoconf 2.61
1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1499 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1502 _ACEOF
1503 exit
1505 cat >config.log <<_ACEOF
1506 This file contains any messages produced by compilers while
1507 running configure, to aid debugging if configure makes a mistake.
1509 It was created by Wine $as_me 0.9.57, which was
1510 generated by GNU Autoconf 2.61. Invocation command line was
1512 $ $0 $@
1514 _ACEOF
1515 exec 5>>config.log
1517 cat <<_ASUNAME
1518 ## --------- ##
1519 ## Platform. ##
1520 ## --------- ##
1522 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1523 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1524 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1525 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1526 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1529 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1531 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1532 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1533 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1534 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1535 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1536 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1537 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1539 _ASUNAME
1541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 for as_dir in $PATH
1544 IFS=$as_save_IFS
1545 test -z "$as_dir" && as_dir=.
1546 echo "PATH: $as_dir"
1547 done
1548 IFS=$as_save_IFS
1550 } >&5
1552 cat >&5 <<_ACEOF
1555 ## ----------- ##
1556 ## Core tests. ##
1557 ## ----------- ##
1559 _ACEOF
1562 # Keep a trace of the command line.
1563 # Strip out --no-create and --no-recursion so they do not pile up.
1564 # Strip out --silent because we don't want to record it for future runs.
1565 # Also quote any args containing shell meta-characters.
1566 # Make two passes to allow for proper duplicate-argument suppression.
1567 ac_configure_args=
1568 ac_configure_args0=
1569 ac_configure_args1=
1570 ac_must_keep_next=false
1571 for ac_pass in 1 2
1573 for ac_arg
1575 case $ac_arg in
1576 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1578 | -silent | --silent | --silen | --sile | --sil)
1579 continue ;;
1580 *\'*)
1581 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 esac
1583 case $ac_pass in
1584 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1586 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1587 if test $ac_must_keep_next = true; then
1588 ac_must_keep_next=false # Got value, back to normal.
1589 else
1590 case $ac_arg in
1591 *=* | --config-cache | -C | -disable-* | --disable-* \
1592 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1593 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1594 | -with-* | --with-* | -without-* | --without-* | --x)
1595 case "$ac_configure_args0 " in
1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1597 esac
1599 -* ) ac_must_keep_next=true ;;
1600 esac
1602 ac_configure_args="$ac_configure_args '$ac_arg'"
1604 esac
1605 done
1606 done
1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1610 # When interrupted or exit'd, cleanup temporary files, and complete
1611 # config.log. We remove comments because anyway the quotes in there
1612 # would cause problems or look ugly.
1613 # WARNING: Use '\'' to represent an apostrophe within the trap.
1614 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1615 trap 'exit_status=$?
1616 # Save into config.log some information that might help in debugging.
1618 echo
1620 cat <<\_ASBOX
1621 ## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##
1624 _ASBOX
1625 echo
1626 # The following way of writing the cache mishandles newlines in values,
1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1629 eval ac_val=\$$ac_var
1630 case $ac_val in #(
1631 *${as_nl}*)
1632 case $ac_var in #(
1633 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1634 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1635 esac
1636 case $ac_var in #(
1637 _ | IFS | as_nl) ;; #(
1638 *) $as_unset $ac_var ;;
1639 esac ;;
1640 esac
1641 done
1642 (set) 2>&1 |
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1645 sed -n \
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1648 ;; #(
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1652 esac |
1653 sort
1655 echo
1657 cat <<\_ASBOX
1658 ## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##
1661 _ASBOX
1662 echo
1663 for ac_var in $ac_subst_vars
1665 eval ac_val=\$$ac_var
1666 case $ac_val in
1667 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 esac
1669 echo "$ac_var='\''$ac_val'\''"
1670 done | sort
1671 echo
1673 if test -n "$ac_subst_files"; then
1674 cat <<\_ASBOX
1675 ## ------------------- ##
1676 ## File substitutions. ##
1677 ## ------------------- ##
1678 _ASBOX
1679 echo
1680 for ac_var in $ac_subst_files
1682 eval ac_val=\$$ac_var
1683 case $ac_val in
1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 esac
1686 echo "$ac_var='\''$ac_val'\''"
1687 done | sort
1688 echo
1691 if test -s confdefs.h; then
1692 cat <<\_ASBOX
1693 ## ----------- ##
1694 ## confdefs.h. ##
1695 ## ----------- ##
1696 _ASBOX
1697 echo
1698 cat confdefs.h
1699 echo
1701 test "$ac_signal" != 0 &&
1702 echo "$as_me: caught signal $ac_signal"
1703 echo "$as_me: exit $exit_status"
1704 } >&5
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 exit $exit_status
1709 for ac_signal in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1711 done
1712 ac_signal=0
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest* confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1721 _ACEOF
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1726 _ACEOF
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 _ACEOF
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 _ACEOF
1739 cat >>confdefs.h <<_ACEOF
1740 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1741 _ACEOF
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer explicitly selected file to automatically selected ones.
1746 if test -n "$CONFIG_SITE"; then
1747 set x "$CONFIG_SITE"
1748 elif test "x$prefix" != xNONE; then
1749 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1750 else
1751 set x "$ac_default_prefix/share/config.site" \
1752 "$ac_default_prefix/etc/config.site"
1754 shift
1755 for ac_site_file
1757 if test -r "$ac_site_file"; then
1758 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 echo "$as_me: loading site script $ac_site_file" >&6;}
1760 sed 's/^/| /' "$ac_site_file" >&5
1761 . "$ac_site_file"
1763 done
1765 if test -r "$cache_file"; then
1766 # Some versions of bash will fail to source /dev/null (special
1767 # files actually), so we avoid doing that.
1768 if test -f "$cache_file"; then
1769 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 echo "$as_me: loading cache $cache_file" >&6;}
1771 case $cache_file in
1772 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1773 *) . "./$cache_file";;
1774 esac
1776 else
1777 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 echo "$as_me: creating cache $cache_file" >&6;}
1779 >$cache_file
1782 # Check that the precious variables saved in the cache have kept the same
1783 # value.
1784 ac_cache_corrupted=false
1785 for ac_var in $ac_precious_vars; do
1786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1787 eval ac_new_set=\$ac_env_${ac_var}_set
1788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1789 eval ac_new_val=\$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1791 set,)
1792 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted=: ;;
1795 ,set)
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1799 ,);;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1803 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1804 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1805 echo "$as_me: former value: $ac_old_val" >&2;}
1806 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1807 echo "$as_me: current value: $ac_new_val" >&2;}
1808 ac_cache_corrupted=:
1809 fi;;
1810 esac
1811 # Pass precious variables to config.status.
1812 if test "$ac_new_set" = set; then
1813 case $ac_new_val in
1814 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 *) ac_arg=$ac_var=$ac_new_val ;;
1816 esac
1817 case " $ac_configure_args " in
1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1819 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1820 esac
1822 done
1823 if $ac_cache_corrupted; then
1824 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1825 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1826 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1827 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1828 { (exit 1); exit 1; }; }
1855 ac_ext=c
1856 ac_cpp='$CPP $CPPFLAGS'
1857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1863 ac_config_headers="$ac_config_headers include/config.h"
1865 ac_aux_dir=
1866 for ac_dir in tools "$srcdir"/tools; do
1867 if test -f "$ac_dir/install-sh"; then
1868 ac_aux_dir=$ac_dir
1869 ac_install_sh="$ac_aux_dir/install-sh -c"
1870 break
1871 elif test -f "$ac_dir/install.sh"; then
1872 ac_aux_dir=$ac_dir
1873 ac_install_sh="$ac_aux_dir/install.sh -c"
1874 break
1875 elif test -f "$ac_dir/shtool"; then
1876 ac_aux_dir=$ac_dir
1877 ac_install_sh="$ac_aux_dir/shtool install -c"
1878 break
1880 done
1881 if test -z "$ac_aux_dir"; then
1882 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1883 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1884 { (exit 1); exit 1; }; }
1887 # These three variables are undocumented and unsupported,
1888 # and are intended to be withdrawn in a future Autoconf release.
1889 # They can cause serious problems if a builder's source tree is in a directory
1890 # whose full name contains unusual characters.
1891 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1892 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1893 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1898 # Check whether --enable-win16 was given.
1899 if test "${enable_win16+set}" = set; then
1900 enableval=$enable_win16;
1903 # Check whether --enable-win64 was given.
1904 if test "${enable_win64+set}" = set; then
1905 enableval=$enable_win64;
1908 # Check whether --enable-maintainer-mode was given.
1909 if test "${enable_maintainer_mode+set}" = set; then
1910 enableval=$enable_maintainer_mode;
1911 else
1912 MAINTAINER_MODE=\#
1918 # Check whether --with-alsa was given.
1919 if test "${with_alsa+set}" = set; then
1920 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1924 # Check whether --with-audioio was given.
1925 if test "${with_audioio+set}" = set; then
1926 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1930 # Check whether --with-capi was given.
1931 if test "${with_capi+set}" = set; then
1932 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1936 # Check whether --with-cms was given.
1937 if test "${with_cms+set}" = set; then
1938 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1942 # Check whether --with-coreaudio was given.
1943 if test "${with_coreaudio+set}" = set; then
1944 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1948 # Check whether --with-cups was given.
1949 if test "${with_cups+set}" = set; then
1950 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1954 # Check whether --with-curses was given.
1955 if test "${with_curses+set}" = set; then
1956 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1960 # Check whether --with-esd was given.
1961 if test "${with_esd+set}" = set; then
1962 withval=$with_esd;
1966 # Check whether --with-fontconfig was given.
1967 if test "${with_fontconfig+set}" = set; then
1968 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1972 # Check whether --with-gphoto was given.
1973 if test "${with_gphoto+set}" = set; then
1974 withval=$with_gphoto;
1978 # Check whether --with-hal was given.
1979 if test "${with_hal+set}" = set; then
1980 withval=$with_hal;
1984 # Check whether --with-jack was given.
1985 if test "${with_jack+set}" = set; then
1986 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1990 # Check whether --with-jpeg was given.
1991 if test "${with_jpeg+set}" = set; then
1992 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1996 # Check whether --with-ldap was given.
1997 if test "${with_ldap+set}" = set; then
1998 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2002 # Check whether --with-nas was given.
2003 if test "${with_nas+set}" = set; then
2004 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2008 # Check whether --with-opengl was given.
2009 if test "${with_opengl+set}" = set; then
2010 withval=$with_opengl;
2014 # Check whether --with-openssl was given.
2015 if test "${with_openssl+set}" = set; then
2016 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2020 # Check whether --with-oss was given.
2021 if test "${with_oss+set}" = set; then
2022 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2026 # Check whether --with-png was given.
2027 if test "${with_png+set}" = set; then
2028 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2032 # Check whether --with-sane was given.
2033 if test "${with_sane+set}" = set; then
2034 withval=$with_sane;
2038 # Check whether --with-xcomposite was given.
2039 if test "${with_xcomposite+set}" = set; then
2040 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2044 # Check whether --with-xcursor was given.
2045 if test "${with_xcursor+set}" = set; then
2046 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2050 # Check whether --with-xinerama was given.
2051 if test "${with_xinerama+set}" = set; then
2052 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2056 # Check whether --with-xinput was given.
2057 if test "${with_xinput+set}" = set; then
2058 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2062 # Check whether --with-xml was given.
2063 if test "${with_xml+set}" = set; then
2064 withval=$with_xml;
2068 # Check whether --with-xrandr was given.
2069 if test "${with_xrandr+set}" = set; then
2070 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2074 # Check whether --with-xrender was given.
2075 if test "${with_xrender+set}" = set; then
2076 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2080 # Check whether --with-xshape was given.
2081 if test "${with_xshape+set}" = set; then
2082 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2086 # Check whether --with-xshm was given.
2087 if test "${with_xshm+set}" = set; then
2088 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2092 # Check whether --with-xslt was given.
2093 if test "${with_xslt+set}" = set; then
2094 withval=$with_xslt;
2098 # Check whether --with-xvidmode was given.
2099 if test "${with_xvidmode+set}" = set; then
2100 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2105 # Check whether --with-wine-tools was given.
2106 if test "${with_wine_tools+set}" = set; then
2107 withval=$with_wine_tools;
2110 # Check whether --enable-tests was given.
2111 if test "${enable_tests+set}" = set; then
2112 enableval=$enable_tests;
2116 # Make sure we can run config.sub.
2117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2118 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2119 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2120 { (exit 1); exit 1; }; }
2122 { echo "$as_me:$LINENO: checking build system type" >&5
2123 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2124 if test "${ac_cv_build+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 else
2127 ac_build_alias=$build_alias
2128 test "x$ac_build_alias" = x &&
2129 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2130 test "x$ac_build_alias" = x &&
2131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2133 { (exit 1); exit 1; }; }
2134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2135 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2136 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2137 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2141 echo "${ECHO_T}$ac_cv_build" >&6; }
2142 case $ac_cv_build in
2143 *-*-*) ;;
2144 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2145 echo "$as_me: error: invalid value of canonical build" >&2;}
2146 { (exit 1); exit 1; }; };;
2147 esac
2148 build=$ac_cv_build
2149 ac_save_IFS=$IFS; IFS='-'
2150 set x $ac_cv_build
2151 shift
2152 build_cpu=$1
2153 build_vendor=$2
2154 shift; shift
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2157 build_os=$*
2158 IFS=$ac_save_IFS
2159 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2162 { echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167 if test "x$host_alias" = x; then
2168 ac_cv_host=$ac_cv_build
2169 else
2170 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2172 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2178 echo "${ECHO_T}$ac_cv_host" >&6; }
2179 case $ac_cv_host in
2180 *-*-*) ;;
2181 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2182 echo "$as_me: error: invalid value of canonical host" >&2;}
2183 { (exit 1); exit 1; }; };;
2184 esac
2185 host=$ac_cv_host
2186 ac_save_IFS=$IFS; IFS='-'
2187 set x $ac_cv_host
2188 shift
2189 host_cpu=$1
2190 host_vendor=$2
2191 shift; shift
2192 # Remember, the first character of IFS is used to create $*,
2193 # except with old shells:
2194 host_os=$*
2195 IFS=$ac_save_IFS
2196 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2199 case $host in
2200 x86_64*linux*)
2201 if test "x$enable_win64" != "xyes"
2202 then
2203 test -n "$CC" || CC="gcc -m32"
2204 test -n "$CXX"|| CXX="g++ -m32"
2205 test -n "$LD" || LD="ld -m elf_i386"
2206 test -n "$AS" || AS="as --32"
2207 host_cpu="i386"
2210 esac
2212 case $host_cpu in
2213 *i[3456789]86*)
2214 if test "x$enable_win16" != "xno"
2215 then
2216 enable_win16="yes"
2219 esac
2221 WIN16_FILES="\$(WIN16_FILES)"
2223 WIN16_INSTALL="\$(WIN16_INSTALL)"
2225 if test "x$enable_win16" != "xyes"
2226 then
2227 WIN16_FILES=""
2228 WIN16_INSTALL=""
2231 if test "x$enable_tests" == "xno"
2232 then
2233 TESTSUBDIRS=""
2235 WINETEST=""
2237 else
2238 TESTSUBDIRS="\$(TESTSUBDIRS)"
2240 WINETEST="winetest"
2244 case "$srcdir" in
2245 .) ;;
2246 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2247 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&5
2249 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2250 You need to run 'make distclean' in the source tree first." >&2;}
2251 { (exit 1); exit 1; }; }
2252 fi ;;
2253 esac
2256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2258 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2259 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 cat >conftest.make <<\_ACEOF
2263 SHELL = /bin/sh
2264 all:
2265 @echo '@@@%%%=$(MAKE)=@@@%%%'
2266 _ACEOF
2267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2269 *@@@%%%=?*=@@@%%%*)
2270 eval ac_cv_prog_make_${ac_make}_set=yes;;
2272 eval ac_cv_prog_make_${ac_make}_set=no;;
2273 esac
2274 rm -f conftest.make
2276 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2277 { echo "$as_me:$LINENO: result: yes" >&5
2278 echo "${ECHO_T}yes" >&6; }
2279 SET_MAKE=
2280 else
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2283 SET_MAKE="MAKE=${MAKE-make}"
2286 ac_ext=c
2287 ac_cpp='$CPP $CPPFLAGS'
2288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2291 if test -n "$ac_tool_prefix"; then
2292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2293 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296 if test "${ac_cv_prog_CC+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else
2299 if test -n "$CC"; then
2300 ac_cv_prog_CC="$CC" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2305 IFS=$as_save_IFS
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2313 done
2314 done
2315 IFS=$as_save_IFS
2319 CC=$ac_cv_prog_CC
2320 if test -n "$CC"; then
2321 { echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6; }
2323 else
2324 { echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6; }
2330 if test -z "$ac_cv_prog_CC"; then
2331 ac_ct_CC=$CC
2332 # Extract the first word of "gcc", so it can be a program name with args.
2333 set dummy gcc; ac_word=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 else
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2341 else
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2345 IFS=$as_save_IFS
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC="gcc"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 break 2
2353 done
2354 done
2355 IFS=$as_save_IFS
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6; }
2363 else
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2368 if test "x$ac_ct_CC" = x; then
2369 CC=""
2370 else
2371 case $cross_compiling:$ac_tool_warned in
2372 yes:)
2373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 whose name does not start with the host triplet. If you think this
2378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 ac_tool_warned=yes ;;
2380 esac
2381 CC=$ac_ct_CC
2383 else
2384 CC="$ac_cv_prog_CC"
2387 if test -z "$CC"; then
2388 if test -n "$ac_tool_prefix"; then
2389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2390 set dummy ${ac_tool_prefix}cc; ac_word=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 else
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC="$CC" # Let the user override the test.
2398 else
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 for as_dir in $PATH
2402 IFS=$as_save_IFS
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_CC="${ac_tool_prefix}cc"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 break 2
2410 done
2411 done
2412 IFS=$as_save_IFS
2416 CC=$ac_cv_prog_CC
2417 if test -n "$CC"; then
2418 { echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6; }
2420 else
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc; ac_word=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 else
2439 ac_prog_rejected=no
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected=yes
2449 continue
2451 ac_cv_prog_CC="cc"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 break 2
2455 done
2456 done
2457 IFS=$as_save_IFS
2459 if test $ac_prog_rejected = yes; then
2460 # We found a bogon in the path, so make sure we never use it.
2461 set dummy $ac_cv_prog_CC
2462 shift
2463 if test $# != 0; then
2464 # We chose a different compiler from the bogus one.
2465 # However, it has the same basename, so the bogon will be chosen
2466 # first if we set CC to just the basename; use the full file name.
2467 shift
2468 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2473 CC=$ac_cv_prog_CC
2474 if test -n "$CC"; then
2475 { echo "$as_me:$LINENO: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6; }
2477 else
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2484 if test -z "$CC"; then
2485 if test -n "$ac_tool_prefix"; then
2486 for ac_prog in cl.exe
2488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2511 IFS=$as_save_IFS
2515 CC=$ac_cv_prog_CC
2516 if test -n "$CC"; then
2517 { echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6; }
2519 else
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2525 test -n "$CC" && break
2526 done
2528 if test -z "$CC"; then
2529 ac_ct_CC=$CC
2530 for ac_prog in cl.exe
2532 # Extract the first word of "$ac_prog", so it can be a program name with args.
2533 set dummy $ac_prog; ac_word=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 else
2539 if test -n "$ac_ct_CC"; then
2540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2541 else
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 for as_dir in $PATH
2545 IFS=$as_save_IFS
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_ac_ct_CC="$ac_prog"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 break 2
2553 done
2554 done
2555 IFS=$as_save_IFS
2559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2560 if test -n "$ac_ct_CC"; then
2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 echo "${ECHO_T}$ac_ct_CC" >&6; }
2563 else
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2569 test -n "$ac_ct_CC" && break
2570 done
2572 if test "x$ac_ct_CC" = x; then
2573 CC=""
2574 else
2575 case $cross_compiling:$ac_tool_warned in
2576 yes:)
2577 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&5
2580 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2581 whose name does not start with the host triplet. If you think this
2582 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2583 ac_tool_warned=yes ;;
2584 esac
2585 CC=$ac_ct_CC
2592 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: no acceptable C compiler found in \$PATH
2595 See \`config.log' for more details." >&2;}
2596 { (exit 1); exit 1; }; }
2598 # Provide some information about the compiler.
2599 echo "$as_me:$LINENO: checking for C compiler version" >&5
2600 ac_compiler=`set X $ac_compile; echo $2`
2601 { (ac_try="$ac_compiler --version >&5"
2602 case "(($ac_try" in
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2605 esac
2606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2607 (eval "$ac_compiler --version >&5") 2>&5
2608 ac_status=$?
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (ac_try="$ac_compiler -v >&5"
2612 case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615 esac
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compiler -v >&5") 2>&5
2618 ac_status=$?
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621 { (ac_try="$ac_compiler -V >&5"
2622 case "(($ac_try" in
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2625 esac
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler -V >&5") 2>&5
2628 ac_status=$?
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2644 return 0;
2646 _ACEOF
2647 ac_clean_files_save=$ac_clean_files
2648 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2649 # Try to create an executable without -o first, disregard a.out.
2650 # It will help us diagnose broken compilers, and finding out an intuition
2651 # of exeext.
2652 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2653 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2654 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 # List of possible output files, starting from the most likely.
2657 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2658 # only as a last resort. b.out is created by i960 compilers.
2659 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2661 # The IRIX 6 linker writes into existing files which may not be
2662 # executable, retaining their permissions. Remove them first so a
2663 # subsequent execution test works.
2664 ac_rmfiles=
2665 for ac_file in $ac_files
2667 case $ac_file in
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2669 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2670 esac
2671 done
2672 rm -f $ac_rmfiles
2674 if { (ac_try="$ac_link_default"
2675 case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_link_default") 2>&5
2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2685 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2686 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2687 # so that the user can short-circuit this test for compilers unknown to
2688 # Autoconf.
2689 for ac_file in $ac_files ''
2691 test -f "$ac_file" || continue
2692 case $ac_file in
2693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2695 [ab].out )
2696 # We found the default executable, but exeext='' is most
2697 # certainly right.
2698 break;;
2699 *.* )
2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2701 then :; else
2702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 # We set ac_cv_exeext here because the later test for it is not
2705 # safe: cross compilers may not add the suffix if given an `-o'
2706 # argument, so we may need to know it at that point already.
2707 # Even if this section looks crufty: it has the advantage of
2708 # actually working.
2709 break;;
2711 break;;
2712 esac
2713 done
2714 test "$ac_cv_exeext" = no && ac_cv_exeext=
2716 else
2717 ac_file=''
2720 { echo "$as_me:$LINENO: result: $ac_file" >&5
2721 echo "${ECHO_T}$ac_file" >&6; }
2722 if test -z "$ac_file"; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.$ac_ext >&5
2726 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&5
2728 echo "$as_me: error: C compiler cannot create executables
2729 See \`config.log' for more details." >&2;}
2730 { (exit 77); exit 77; }; }
2733 ac_exeext=$ac_cv_exeext
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2738 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2739 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2740 # If not cross compiling, check that we can run a simple program.
2741 if test "$cross_compiling" != yes; then
2742 if { ac_try='./$ac_file'
2743 { (case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_try") 2>&5
2749 ac_status=$?
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2752 cross_compiling=no
2753 else
2754 if test "$cross_compiling" = maybe; then
2755 cross_compiling=yes
2756 else
2757 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details." >&5
2760 echo "$as_me: error: cannot run C compiled programs.
2761 If you meant to cross compile, use \`--host'.
2762 See \`config.log' for more details." >&2;}
2763 { (exit 1); exit 1; }; }
2767 { echo "$as_me:$LINENO: result: yes" >&5
2768 echo "${ECHO_T}yes" >&6; }
2770 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2771 ac_clean_files=$ac_clean_files_save
2772 # Check that the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2775 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2776 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2777 echo "${ECHO_T}$cross_compiling" >&6; }
2779 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2780 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2781 if { (ac_try="$ac_link"
2782 case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_link") 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; then
2791 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2792 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2793 # work properly (i.e., refer to `conftest.exe'), while it won't with
2794 # `rm'.
2795 for ac_file in conftest.exe conftest conftest.*; do
2796 test -f "$ac_file" || continue
2797 case $ac_file in
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2799 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2800 break;;
2801 * ) break;;
2802 esac
2803 done
2804 else
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2812 rm -f conftest$ac_cv_exeext
2813 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2814 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2816 rm -f conftest.$ac_ext
2817 EXEEXT=$ac_cv_exeext
2818 ac_exeext=$EXEEXT
2819 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2820 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2821 if test "${ac_cv_objext+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 else
2824 cat >conftest.$ac_ext <<_ACEOF
2825 /* confdefs.h. */
2826 _ACEOF
2827 cat confdefs.h >>conftest.$ac_ext
2828 cat >>conftest.$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2832 main ()
2836 return 0;
2838 _ACEOF
2839 rm -f conftest.o conftest.obj
2840 if { (ac_try="$ac_compile"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compile") 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 for ac_file in conftest.o conftest.obj conftest.*; do
2851 test -f "$ac_file" || continue;
2852 case $ac_file in
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2855 break;;
2856 esac
2857 done
2858 else
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details." >&5
2864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details." >&2;}
2866 { (exit 1); exit 1; }; }
2869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2871 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2872 echo "${ECHO_T}$ac_cv_objext" >&6; }
2873 OBJEXT=$ac_cv_objext
2874 ac_objext=$OBJEXT
2875 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2876 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 else
2880 cat >conftest.$ac_ext <<_ACEOF
2881 /* confdefs.h. */
2882 _ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2888 main ()
2890 #ifndef __GNUC__
2891 choke me
2892 #endif
2895 return 0;
2897 _ACEOF
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2906 ac_status=$?
2907 grep -v '^ *+' conftest.er1 >conftest.err
2908 rm -f conftest.er1
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_compiler_gnu=yes
2916 else
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920 ac_compiler_gnu=no
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2927 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2928 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2929 GCC=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_CFLAGS=${CFLAGS+set}
2931 ac_save_CFLAGS=$CFLAGS
2932 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2933 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2934 if test "${ac_cv_prog_cc_g+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 else
2937 ac_save_c_werror_flag=$ac_c_werror_flag
2938 ac_c_werror_flag=yes
2939 ac_cv_prog_cc_g=no
2940 CFLAGS="-g"
2941 cat >conftest.$ac_ext <<_ACEOF
2942 /* confdefs.h. */
2943 _ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2949 main ()
2953 return 0;
2955 _ACEOF
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2964 ac_status=$?
2965 grep -v '^ *+' conftest.er1 >conftest.err
2966 rm -f conftest.er1
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } && {
2970 test -z "$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 } && test -s conftest.$ac_objext; then
2973 ac_cv_prog_cc_g=yes
2974 else
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 CFLAGS=""
2979 cat >conftest.$ac_ext <<_ACEOF
2980 /* confdefs.h. */
2981 _ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2987 main ()
2991 return 0;
2993 _ACEOF
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2996 case "(($ac_try" in
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
2999 esac
3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>conftest.er1
3002 ac_status=$?
3003 grep -v '^ *+' conftest.er1 >conftest.err
3004 rm -f conftest.er1
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } && {
3008 test -z "$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3010 } && test -s conftest.$ac_objext; then
3012 else
3013 echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_c_werror_flag=$ac_save_c_werror_flag
3017 CFLAGS="-g"
3018 cat >conftest.$ac_ext <<_ACEOF
3019 /* confdefs.h. */
3020 _ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3026 main ()
3030 return 0;
3032 _ACEOF
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3035 case "(($ac_try" in
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3038 esac
3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3041 ac_status=$?
3042 grep -v '^ *+' conftest.er1 >conftest.err
3043 rm -f conftest.er1
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3050 ac_cv_prog_cc_g=yes
3051 else
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_c_werror_flag=$ac_save_c_werror_flag
3067 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3069 if test "$ac_test_CFLAGS" = set; then
3070 CFLAGS=$ac_save_CFLAGS
3071 elif test $ac_cv_prog_cc_g = yes; then
3072 if test "$GCC" = yes; then
3073 CFLAGS="-g -O2"
3074 else
3075 CFLAGS="-g"
3077 else
3078 if test "$GCC" = yes; then
3079 CFLAGS="-O2"
3080 else
3081 CFLAGS=
3084 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3085 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3086 if test "${ac_cv_prog_cc_c89+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 else
3089 ac_cv_prog_cc_c89=no
3090 ac_save_CC=$CC
3091 cat >conftest.$ac_ext <<_ACEOF
3092 /* confdefs.h. */
3093 _ACEOF
3094 cat confdefs.h >>conftest.$ac_ext
3095 cat >>conftest.$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3097 #include <stdarg.h>
3098 #include <stdio.h>
3099 #include <sys/types.h>
3100 #include <sys/stat.h>
3101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3102 struct buf { int x; };
3103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3104 static char *e (p, i)
3105 char **p;
3106 int i;
3108 return p[i];
3110 static char *f (char * (*g) (char **, int), char **p, ...)
3112 char *s;
3113 va_list v;
3114 va_start (v,p);
3115 s = g (p, va_arg (v,int));
3116 va_end (v);
3117 return s;
3120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3121 function prototypes and stuff, but not '\xHH' hex character constants.
3122 These don't provoke an error unfortunately, instead are silently treated
3123 as 'x'. The following induces an error, until -std is added to get
3124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3125 array size at least. It's necessary to write '\x00'==0 to get something
3126 that's true only with -std. */
3127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3130 inside strings and character constants. */
3131 #define FOO(x) 'x'
3132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3134 int test (int i, double x);
3135 struct s1 {int (*f) (int a);};
3136 struct s2 {int (*f) (double a);};
3137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3138 int argc;
3139 char **argv;
3141 main ()
3143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3145 return 0;
3147 _ACEOF
3148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3151 CC="$ac_save_CC $ac_arg"
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3154 case "(($ac_try" in
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3157 esac
3158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_c_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3169 ac_cv_prog_cc_c89=$ac_arg
3170 else
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext
3178 test "x$ac_cv_prog_cc_c89" != "xno" && break
3179 done
3180 rm -f conftest.$ac_ext
3181 CC=$ac_save_CC
3184 # AC_CACHE_VAL
3185 case "x$ac_cv_prog_cc_c89" in
3187 { echo "$as_me:$LINENO: result: none needed" >&5
3188 echo "${ECHO_T}none needed" >&6; } ;;
3189 xno)
3190 { echo "$as_me:$LINENO: result: unsupported" >&5
3191 echo "${ECHO_T}unsupported" >&6; } ;;
3193 CC="$CC $ac_cv_prog_cc_c89"
3194 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3195 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3196 esac
3199 ac_ext=c
3200 ac_cpp='$CPP $CPPFLAGS'
3201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3205 ac_ext=cpp
3206 ac_cpp='$CXXCPP $CPPFLAGS'
3207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3210 if test -z "$CXX"; then
3211 if test -n "$CCC"; then
3212 CXX=$CCC
3213 else
3214 if test -n "$ac_tool_prefix"; then
3215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3221 if test "${ac_cv_prog_CXX+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 else
3224 if test -n "$CXX"; then
3225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3226 else
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 for as_dir in $PATH
3230 IFS=$as_save_IFS
3231 test -z "$as_dir" && as_dir=.
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 break 2
3238 done
3239 done
3240 IFS=$as_save_IFS
3244 CXX=$ac_cv_prog_CXX
3245 if test -n "$CXX"; then
3246 { echo "$as_me:$LINENO: result: $CXX" >&5
3247 echo "${ECHO_T}$CXX" >&6; }
3248 else
3249 { echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6; }
3254 test -n "$CXX" && break
3255 done
3257 if test -z "$CXX"; then
3258 ac_ct_CXX=$CXX
3259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy $ac_prog; ac_word=$2
3263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 else
3268 if test -n "$ac_ct_CXX"; then
3269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3274 IFS=$as_save_IFS
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_ac_ct_CXX="$ac_prog"
3279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 break 2
3282 done
3283 done
3284 IFS=$as_save_IFS
3288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3289 if test -n "$ac_ct_CXX"; then
3290 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3291 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3292 else
3293 { echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6; }
3298 test -n "$ac_ct_CXX" && break
3299 done
3301 if test "x$ac_ct_CXX" = x; then
3302 CXX="g++"
3303 else
3304 case $cross_compiling:$ac_tool_warned in
3305 yes:)
3306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3307 whose name does not start with the host triplet. If you think this
3308 configuration is useful to you, please write to autoconf@gnu.org." >&5
3309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3310 whose name does not start with the host triplet. If you think this
3311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3312 ac_tool_warned=yes ;;
3313 esac
3314 CXX=$ac_ct_CXX
3320 # Provide some information about the compiler.
3321 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3322 ac_compiler=`set X $ac_compile; echo $2`
3323 { (ac_try="$ac_compiler --version >&5"
3324 case "(($ac_try" in
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3327 esac
3328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compiler --version >&5") 2>&5
3330 ac_status=$?
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }
3333 { (ac_try="$ac_compiler -v >&5"
3334 case "(($ac_try" in
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3337 esac
3338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compiler -v >&5") 2>&5
3340 ac_status=$?
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }
3343 { (ac_try="$ac_compiler -V >&5"
3344 case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compiler -V >&5") 2>&5
3350 ac_status=$?
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }
3354 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3355 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3356 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 else
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3367 main ()
3369 #ifndef __GNUC__
3370 choke me
3371 #endif
3374 return 0;
3376 _ACEOF
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3379 case "(($ac_try" in
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3382 esac
3383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3385 ac_status=$?
3386 grep -v '^ *+' conftest.er1 >conftest.err
3387 rm -f conftest.er1
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_cxx_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3394 ac_compiler_gnu=yes
3395 else
3396 echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3399 ac_compiler_gnu=no
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3406 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3407 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3408 GXX=`test $ac_compiler_gnu = yes && echo yes`
3409 ac_test_CXXFLAGS=${CXXFLAGS+set}
3410 ac_save_CXXFLAGS=$CXXFLAGS
3411 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3412 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3413 if test "${ac_cv_prog_cxx_g+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 else
3416 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3417 ac_cxx_werror_flag=yes
3418 ac_cv_prog_cxx_g=no
3419 CXXFLAGS="-g"
3420 cat >conftest.$ac_ext <<_ACEOF
3421 /* confdefs.h. */
3422 _ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3428 main ()
3432 return 0;
3434 _ACEOF
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3437 case "(($ac_try" in
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3440 esac
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3443 ac_status=$?
3444 grep -v '^ *+' conftest.er1 >conftest.err
3445 rm -f conftest.er1
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_cxx_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3452 ac_cv_prog_cxx_g=yes
3453 else
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 CXXFLAGS=""
3458 cat >conftest.$ac_ext <<_ACEOF
3459 /* confdefs.h. */
3460 _ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3466 main ()
3470 return 0;
3472 _ACEOF
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3475 case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3478 esac
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3481 ac_status=$?
3482 grep -v '^ *+' conftest.er1 >conftest.err
3483 rm -f conftest.er1
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_cxx_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3491 else
3492 echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3496 CXXFLAGS="-g"
3497 cat >conftest.$ac_ext <<_ACEOF
3498 /* confdefs.h. */
3499 _ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3505 main ()
3509 return 0;
3511 _ACEOF
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3514 case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3517 esac
3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3520 ac_status=$?
3521 grep -v '^ *+' conftest.er1 >conftest.err
3522 rm -f conftest.er1
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_cxx_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_prog_cxx_g=yes
3530 else
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3546 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3547 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3548 if test "$ac_test_CXXFLAGS" = set; then
3549 CXXFLAGS=$ac_save_CXXFLAGS
3550 elif test $ac_cv_prog_cxx_g = yes; then
3551 if test "$GXX" = yes; then
3552 CXXFLAGS="-g -O2"
3553 else
3554 CXXFLAGS="-g"
3556 else
3557 if test "$GXX" = yes; then
3558 CXXFLAGS="-O2"
3559 else
3560 CXXFLAGS=
3563 ac_ext=c
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3574 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 else
3577 if test -n "$CPPBIN"; then
3578 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3591 done
3592 done
3593 IFS=$as_save_IFS
3597 CPPBIN=$ac_cv_prog_CPPBIN
3598 if test -n "$CPPBIN"; then
3599 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3600 echo "${ECHO_T}$CPPBIN" >&6; }
3601 else
3602 { echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6; }
3608 if test -z "$ac_cv_prog_CPPBIN"; then
3609 ac_ct_CPPBIN=$CPPBIN
3610 # Extract the first word of "cpp", so it can be a program name with args.
3611 set dummy cpp; ac_word=$2
3612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3614 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 else
3617 if test -n "$ac_ct_CPPBIN"; then
3618 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CPPBIN="cpp"
3628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3633 IFS=$as_save_IFS
3637 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3638 if test -n "$ac_ct_CPPBIN"; then
3639 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3640 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3641 else
3642 { echo "$as_me:$LINENO: result: no" >&5
3643 echo "${ECHO_T}no" >&6; }
3646 if test "x$ac_ct_CPPBIN" = x; then
3647 CPPBIN="cpp"
3648 else
3649 case $cross_compiling:$ac_tool_warned in
3650 yes:)
3651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3652 whose name does not start with the host triplet. If you think this
3653 configuration is useful to you, please write to autoconf@gnu.org." >&5
3654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3655 whose name does not start with the host triplet. If you think this
3656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3657 ac_tool_warned=yes ;;
3658 esac
3659 CPPBIN=$ac_ct_CPPBIN
3661 else
3662 CPPBIN="$ac_cv_prog_CPPBIN"
3666 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3667 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3668 if test "${wine_cv_toolsdir+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 else
3671 if test -z "$with_wine_tools"; then
3672 if test "$cross_compiling" = "yes"; then
3673 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3674 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3675 { (exit 1); exit 1; }; }
3676 else
3677 wine_cv_toolsdir="\$(TOPOBJDIR)"
3679 elif test -d "$with_wine_tools/tools/winebuild"; then
3680 case $with_wine_tools in
3681 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3682 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3683 esac
3684 else
3685 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3686 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3687 { (exit 1); exit 1; }; }
3690 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3691 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3692 TOOLSDIR=$wine_cv_toolsdir
3696 ac_ext=c
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3702 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3703 # On Suns, sometimes $CPP names a directory.
3704 if test -n "$CPP" && test -d "$CPP"; then
3705 CPP=
3707 if test -z "$CPP"; then
3708 if test "${ac_cv_prog_CPP+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else
3711 # Double quotes because CPP needs to be expanded
3712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3714 ac_preproc_ok=false
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3724 /* confdefs.h. */
3725 _ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3729 #ifdef __STDC__
3730 # include <limits.h>
3731 #else
3732 # include <assert.h>
3733 #endif
3734 Syntax error
3735 _ACEOF
3736 if { (ac_try="$ac_cpp conftest.$ac_ext"
3737 case "(($ac_try" in
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3740 esac
3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3743 ac_status=$?
3744 grep -v '^ *+' conftest.er1 >conftest.err
3745 rm -f conftest.er1
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } >/dev/null && {
3749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3750 test ! -s conftest.err
3751 }; then
3753 else
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3757 # Broken: fails on valid input.
3758 continue
3761 rm -f conftest.err conftest.$ac_ext
3763 # OK, works on sane cases. Now check whether nonexistent headers
3764 # can be detected and how.
3765 cat >conftest.$ac_ext <<_ACEOF
3766 /* confdefs.h. */
3767 _ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 #include <ac_nonexistent.h>
3772 _ACEOF
3773 if { (ac_try="$ac_cpp conftest.$ac_ext"
3774 case "(($ac_try" in
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3777 esac
3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3780 ac_status=$?
3781 grep -v '^ *+' conftest.er1 >conftest.err
3782 rm -f conftest.er1
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } >/dev/null && {
3786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3787 test ! -s conftest.err
3788 }; then
3789 # Broken: success on invalid input.
3790 continue
3791 else
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 # Passes both tests.
3796 ac_preproc_ok=:
3797 break
3800 rm -f conftest.err conftest.$ac_ext
3802 done
3803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3804 rm -f conftest.err conftest.$ac_ext
3805 if $ac_preproc_ok; then
3806 break
3809 done
3810 ac_cv_prog_CPP=$CPP
3813 CPP=$ac_cv_prog_CPP
3814 else
3815 ac_cv_prog_CPP=$CPP
3817 { echo "$as_me:$LINENO: result: $CPP" >&5
3818 echo "${ECHO_T}$CPP" >&6; }
3819 ac_preproc_ok=false
3820 for ac_c_preproc_warn_flag in '' yes
3822 # Use a header file that comes with gcc, so configuring glibc
3823 # with a fresh cross-compiler works.
3824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3825 # <limits.h> exists even on freestanding compilers.
3826 # On the NeXT, cc -E runs the code through the compiler's parser,
3827 # not just through cpp. "Syntax error" is here to catch this case.
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #ifdef __STDC__
3835 # include <limits.h>
3836 #else
3837 # include <assert.h>
3838 #endif
3839 Syntax error
3840 _ACEOF
3841 if { (ac_try="$ac_cpp conftest.$ac_ext"
3842 case "(($ac_try" in
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3845 esac
3846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3848 ac_status=$?
3849 grep -v '^ *+' conftest.er1 >conftest.err
3850 rm -f conftest.er1
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } >/dev/null && {
3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3856 }; then
3858 else
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Broken: fails on valid input.
3863 continue
3866 rm -f conftest.err conftest.$ac_ext
3868 # OK, works on sane cases. Now check whether nonexistent headers
3869 # can be detected and how.
3870 cat >conftest.$ac_ext <<_ACEOF
3871 /* confdefs.h. */
3872 _ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3877 _ACEOF
3878 if { (ac_try="$ac_cpp conftest.$ac_ext"
3879 case "(($ac_try" in
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3882 esac
3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3885 ac_status=$?
3886 grep -v '^ *+' conftest.er1 >conftest.err
3887 rm -f conftest.er1
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } >/dev/null && {
3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3893 }; then
3894 # Broken: success on invalid input.
3895 continue
3896 else
3897 echo "$as_me: failed program was:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3900 # Passes both tests.
3901 ac_preproc_ok=:
3902 break
3905 rm -f conftest.err conftest.$ac_ext
3907 done
3908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3909 rm -f conftest.err conftest.$ac_ext
3910 if $ac_preproc_ok; then
3912 else
3913 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log' for more details." >&5
3915 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3916 See \`config.log' for more details." >&2;}
3917 { (exit 1); exit 1; }; }
3920 ac_ext=c
3921 ac_cpp='$CPP $CPPFLAGS'
3922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 { echo "$as_me:$LINENO: checking for X" >&5
3928 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3931 # Check whether --with-x was given.
3932 if test "${with_x+set}" = set; then
3933 withval=$with_x;
3936 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3937 if test "x$with_x" = xno; then
3938 # The user explicitly disabled X.
3939 have_x=disabled
3940 else
3941 case $x_includes,$x_libraries in #(
3942 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3943 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3944 { (exit 1); exit 1; }; };; #(
3945 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else
3948 # One or both of the vars are not set, and there is no cached value.
3949 ac_x_includes=no ac_x_libraries=no
3950 rm -f -r conftest.dir
3951 if mkdir conftest.dir; then
3952 cd conftest.dir
3953 cat >Imakefile <<'_ACEOF'
3954 incroot:
3955 @echo incroot='${INCROOT}'
3956 usrlibdir:
3957 @echo usrlibdir='${USRLIBDIR}'
3958 libdir:
3959 @echo libdir='${LIBDIR}'
3960 _ACEOF
3961 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 for ac_var in incroot usrlibdir libdir; do
3964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3965 done
3966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3967 for ac_extension in a so sl; do
3968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3970 ac_im_usrlibdir=$ac_im_libdir; break
3972 done
3973 # Screen out bogus values from the imake configuration. They are
3974 # bogus both because they are the default anyway, and because
3975 # using them would break gcc on systems where it needs fixed includes.
3976 case $ac_im_incroot in
3977 /usr/include) ac_x_includes= ;;
3978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3979 esac
3980 case $ac_im_usrlibdir in
3981 /usr/lib | /lib) ;;
3982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3983 esac
3985 cd ..
3986 rm -f -r conftest.dir
3989 # Standard set of common directories for X headers.
3990 # Check X11 before X11Rn because it is often a symlink to the current release.
3991 ac_x_header_dirs='
3992 /usr/X11/include
3993 /usr/X11R6/include
3994 /usr/X11R5/include
3995 /usr/X11R4/include
3997 /usr/include/X11
3998 /usr/include/X11R6
3999 /usr/include/X11R5
4000 /usr/include/X11R4
4002 /usr/local/X11/include
4003 /usr/local/X11R6/include
4004 /usr/local/X11R5/include
4005 /usr/local/X11R4/include
4007 /usr/local/include/X11
4008 /usr/local/include/X11R6
4009 /usr/local/include/X11R5
4010 /usr/local/include/X11R4
4012 /usr/X386/include
4013 /usr/x386/include
4014 /usr/XFree86/include/X11
4016 /usr/include
4017 /usr/local/include
4018 /usr/unsupported/include
4019 /usr/athena/include
4020 /usr/local/x11r5/include
4021 /usr/lpp/Xamples/include
4023 /usr/openwin/include
4024 /usr/openwin/share/include'
4026 if test "$ac_x_includes" = no; then
4027 # Guess where to find include files, by looking for Xlib.h.
4028 # First, try using that file with no special directory specified.
4029 cat >conftest.$ac_ext <<_ACEOF
4030 /* confdefs.h. */
4031 _ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 #include <X11/Xlib.h>
4036 _ACEOF
4037 if { (ac_try="$ac_cpp conftest.$ac_ext"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4044 ac_status=$?
4045 grep -v '^ *+' conftest.er1 >conftest.err
4046 rm -f conftest.er1
4047 cat conftest.err >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } >/dev/null && {
4050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4051 test ! -s conftest.err
4052 }; then
4053 # We can compile using X headers with no special include directory.
4054 ac_x_includes=
4055 else
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 for ac_dir in $ac_x_header_dirs; do
4060 if test -r "$ac_dir/X11/Xlib.h"; then
4061 ac_x_includes=$ac_dir
4062 break
4064 done
4067 rm -f conftest.err conftest.$ac_ext
4068 fi # $ac_x_includes = no
4070 if test "$ac_x_libraries" = no; then
4071 # Check for the libraries.
4072 # See if we find them without any special options.
4073 # Don't add to $LIBS permanently.
4074 ac_save_LIBS=$LIBS
4075 LIBS="-lX11 $LIBS"
4076 cat >conftest.$ac_ext <<_ACEOF
4077 /* confdefs.h. */
4078 _ACEOF
4079 cat confdefs.h >>conftest.$ac_ext
4080 cat >>conftest.$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 #include <X11/Xlib.h>
4084 main ()
4086 XrmInitialize ()
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4099 ac_status=$?
4100 grep -v '^ *+' conftest.er1 >conftest.err
4101 rm -f conftest.er1
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4109 LIBS=$ac_save_LIBS
4110 # We can link X programs with no special library path.
4111 ac_x_libraries=
4112 else
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 LIBS=$ac_save_LIBS
4117 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4119 # Don't even attempt the hair of trying to link an X program!
4120 for ac_extension in a so sl; do
4121 if test -r "$ac_dir/libX11.$ac_extension"; then
4122 ac_x_libraries=$ac_dir
4123 break 2
4125 done
4126 done
4129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4130 conftest$ac_exeext conftest.$ac_ext
4131 fi # $ac_x_libraries = no
4133 case $ac_x_includes,$ac_x_libraries in #(
4134 no,* | *,no | *\'*)
4135 # Didn't find X, or a directory has "'" in its name.
4136 ac_cv_have_x="have_x=no";; #(
4138 # Record where we found X for the cache.
4139 ac_cv_have_x="have_x=yes\
4140 ac_x_includes='$ac_x_includes'\
4141 ac_x_libraries='$ac_x_libraries'"
4142 esac
4144 ;; #(
4145 *) have_x=yes;;
4146 esac
4147 eval "$ac_cv_have_x"
4148 fi # $with_x != no
4150 if test "$have_x" != yes; then
4151 { echo "$as_me:$LINENO: result: $have_x" >&5
4152 echo "${ECHO_T}$have_x" >&6; }
4153 no_x=yes
4154 else
4155 # If each of the values was on the command line, it overrides each guess.
4156 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4157 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4158 # Update the cache value to reflect the command line values.
4159 ac_cv_have_x="have_x=yes\
4160 ac_x_includes='$x_includes'\
4161 ac_x_libraries='$x_libraries'"
4162 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4163 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4166 if test "$no_x" = yes; then
4167 # Not all programs may use this symbol, but it does not hurt to define it.
4169 cat >>confdefs.h <<\_ACEOF
4170 #define X_DISPLAY_MISSING 1
4171 _ACEOF
4173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4174 else
4175 if test -n "$x_includes"; then
4176 X_CFLAGS="$X_CFLAGS -I$x_includes"
4179 # It would also be nice to do this for all -L options, not just this one.
4180 if test -n "$x_libraries"; then
4181 X_LIBS="$X_LIBS -L$x_libraries"
4182 # For Solaris; some versions of Sun CC require a space after -R and
4183 # others require no space. Words are not sufficient . . . .
4184 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4185 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4187 ac_xsave_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest$ac_exeext &&
4221 $as_test_x conftest$ac_exeext; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 X_LIBS="$X_LIBS -R$x_libraries"
4225 else
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.$ac_ext >&5
4229 LIBS="$ac_xsave_LIBS -R $x_libraries"
4230 cat >conftest.$ac_ext <<_ACEOF
4231 /* confdefs.h. */
4232 _ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 rm -f conftest.$ac_objext conftest$ac_exeext
4246 if { (ac_try="$ac_link"
4247 case "(($ac_try" in
4248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4250 esac
4251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_link") 2>conftest.er1
4253 ac_status=$?
4254 grep -v '^ *+' conftest.er1 >conftest.err
4255 rm -f conftest.er1
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest$ac_exeext &&
4262 $as_test_x conftest$ac_exeext; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 X_LIBS="$X_LIBS -R $x_libraries"
4266 else
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { echo "$as_me:$LINENO: result: neither works" >&5
4271 echo "${ECHO_T}neither works" >&6; }
4274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4275 conftest$ac_exeext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4279 conftest$ac_exeext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_xsave_c_werror_flag
4281 LIBS=$ac_xsave_LIBS
4284 # Check for system-dependent libraries X programs must link with.
4285 # Do this before checking for the system-independent R6 libraries
4286 # (-lICE), since we may need -lsocket or whatever for X linking.
4288 if test "$ISC" = yes; then
4289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4290 else
4291 # Martyn Johnson says this is needed for Ultrix, if the X
4292 # libraries were built with DECnet support. And Karl Berry says
4293 # the Alpha needs dnet_stub (dnet does not exist).
4294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4295 cat >conftest.$ac_ext <<_ACEOF
4296 /* confdefs.h. */
4297 _ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4302 /* Override any GCC internal prototype to avoid an error.
4303 Use char because int might match the return type of a GCC
4304 builtin and then its argument prototype would still apply. */
4305 #ifdef __cplusplus
4306 extern "C"
4307 #endif
4308 char XOpenDisplay ();
4310 main ()
4312 return XOpenDisplay ();
4314 return 0;
4316 _ACEOF
4317 rm -f conftest.$ac_objext conftest$ac_exeext
4318 if { (ac_try="$ac_link"
4319 case "(($ac_try" in
4320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321 *) ac_try_echo=$ac_try;;
4322 esac
4323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324 (eval "$ac_link") 2>conftest.er1
4325 ac_status=$?
4326 grep -v '^ *+' conftest.er1 >conftest.err
4327 rm -f conftest.er1
4328 cat conftest.err >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } && {
4331 test -z "$ac_c_werror_flag" ||
4332 test ! -s conftest.err
4333 } && test -s conftest$ac_exeext &&
4334 $as_test_x conftest$ac_exeext; then
4336 else
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.$ac_ext >&5
4340 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4341 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4342 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 else
4345 ac_check_lib_save_LIBS=$LIBS
4346 LIBS="-ldnet $LIBS"
4347 cat >conftest.$ac_ext <<_ACEOF
4348 /* confdefs.h. */
4349 _ACEOF
4350 cat confdefs.h >>conftest.$ac_ext
4351 cat >>conftest.$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4354 /* Override any GCC internal prototype to avoid an error.
4355 Use char because int might match the return type of a GCC
4356 builtin and then its argument prototype would still apply. */
4357 #ifdef __cplusplus
4358 extern "C"
4359 #endif
4360 char dnet_ntoa ();
4362 main ()
4364 return dnet_ntoa ();
4366 return 0;
4368 _ACEOF
4369 rm -f conftest.$ac_objext conftest$ac_exeext
4370 if { (ac_try="$ac_link"
4371 case "(($ac_try" in
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4374 esac
4375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376 (eval "$ac_link") 2>conftest.er1
4377 ac_status=$?
4378 grep -v '^ *+' conftest.er1 >conftest.err
4379 rm -f conftest.er1
4380 cat conftest.err >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } && {
4383 test -z "$ac_c_werror_flag" ||
4384 test ! -s conftest.err
4385 } && test -s conftest$ac_exeext &&
4386 $as_test_x conftest$ac_exeext; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4388 else
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4414 /* confdefs.h. */
4415 _ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4423 #ifdef __cplusplus
4424 extern "C"
4425 #endif
4426 char dnet_ntoa ();
4428 main ()
4430 return dnet_ntoa ();
4432 return 0;
4434 _ACEOF
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4443 ac_status=$?
4444 grep -v '^ *+' conftest.er1 >conftest.err
4445 rm -f conftest.er1
4446 cat conftest.err >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && {
4449 test -z "$ac_c_werror_flag" ||
4450 test ! -s conftest.err
4451 } && test -s conftest$ac_exeext &&
4452 $as_test_x conftest$ac_exeext; then
4453 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4454 else
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4458 ac_cv_lib_dnet_stub_dnet_ntoa=no
4461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4462 conftest$ac_exeext conftest.$ac_ext
4463 LIBS=$ac_check_lib_save_LIBS
4465 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4466 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4467 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4468 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4475 conftest$ac_exeext conftest.$ac_ext
4476 LIBS="$ac_xsave_LIBS"
4478 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4479 # to get the SysV transport functions.
4480 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4481 # needs -lnsl.
4482 # The nsl library prevents programs from opening the X display
4483 # on Irix 5.2, according to T.E. Dickey.
4484 # The functions gethostbyname, getservbyname, and inet_addr are
4485 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4486 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4488 if test "${ac_cv_func_gethostbyname+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 else
4491 cat >conftest.$ac_ext <<_ACEOF
4492 /* confdefs.h. */
4493 _ACEOF
4494 cat confdefs.h >>conftest.$ac_ext
4495 cat >>conftest.$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4497 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4499 #define gethostbyname innocuous_gethostbyname
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char gethostbyname (); below.
4503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 <limits.h> exists even on freestanding compilers. */
4506 #ifdef __STDC__
4507 # include <limits.h>
4508 #else
4509 # include <assert.h>
4510 #endif
4512 #undef gethostbyname
4514 /* Override any GCC internal prototype to avoid an error.
4515 Use char because int might match the return type of a GCC
4516 builtin and then its argument prototype would still apply. */
4517 #ifdef __cplusplus
4518 extern "C"
4519 #endif
4520 char gethostbyname ();
4521 /* The GNU C library defines this for functions which it implements
4522 to always fail with ENOSYS. Some functions are actually named
4523 something starting with __ and the normal name is an alias. */
4524 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4525 choke me
4526 #endif
4529 main ()
4531 return gethostbyname ();
4533 return 0;
4535 _ACEOF
4536 rm -f conftest.$ac_objext conftest$ac_exeext
4537 if { (ac_try="$ac_link"
4538 case "(($ac_try" in
4539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4541 esac
4542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543 (eval "$ac_link") 2>conftest.er1
4544 ac_status=$?
4545 grep -v '^ *+' conftest.er1 >conftest.err
4546 rm -f conftest.er1
4547 cat conftest.err >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && {
4550 test -z "$ac_c_werror_flag" ||
4551 test ! -s conftest.err
4552 } && test -s conftest$ac_exeext &&
4553 $as_test_x conftest$ac_exeext; then
4554 ac_cv_func_gethostbyname=yes
4555 else
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 ac_cv_func_gethostbyname=no
4562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4563 conftest$ac_exeext conftest.$ac_ext
4565 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4568 if test $ac_cv_func_gethostbyname = no; then
4569 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4570 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4571 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 else
4574 ac_check_lib_save_LIBS=$LIBS
4575 LIBS="-lnsl $LIBS"
4576 cat >conftest.$ac_ext <<_ACEOF
4577 /* confdefs.h. */
4578 _ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4583 /* Override any GCC internal prototype to avoid an error.
4584 Use char because int might match the return type of a GCC
4585 builtin and then its argument prototype would still apply. */
4586 #ifdef __cplusplus
4587 extern "C"
4588 #endif
4589 char gethostbyname ();
4591 main ()
4593 return gethostbyname ();
4595 return 0;
4597 _ACEOF
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (ac_try="$ac_link"
4600 case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_link") 2>conftest.er1
4606 ac_status=$?
4607 grep -v '^ *+' conftest.er1 >conftest.err
4608 rm -f conftest.er1
4609 cat conftest.err >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && {
4612 test -z "$ac_c_werror_flag" ||
4613 test ! -s conftest.err
4614 } && test -s conftest$ac_exeext &&
4615 $as_test_x conftest$ac_exeext; then
4616 ac_cv_lib_nsl_gethostbyname=yes
4617 else
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.$ac_ext >&5
4621 ac_cv_lib_nsl_gethostbyname=no
4624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4625 conftest$ac_exeext conftest.$ac_ext
4626 LIBS=$ac_check_lib_save_LIBS
4628 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4629 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4630 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4631 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4634 if test $ac_cv_lib_nsl_gethostbyname = no; then
4635 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4636 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4637 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 else
4640 ac_check_lib_save_LIBS=$LIBS
4641 LIBS="-lbsd $LIBS"
4642 cat >conftest.$ac_ext <<_ACEOF
4643 /* confdefs.h. */
4644 _ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 /* Override any GCC internal prototype to avoid an error.
4650 Use char because int might match the return type of a GCC
4651 builtin and then its argument prototype would still apply. */
4652 #ifdef __cplusplus
4653 extern "C"
4654 #endif
4655 char gethostbyname ();
4657 main ()
4659 return gethostbyname ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_lib_bsd_gethostbyname=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_lib_bsd_gethostbyname=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4695 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4696 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4703 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4704 # socket/setsockopt and other routines are undefined under SCO ODT
4705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4706 # on later versions), says Simon Leinen: it contains gethostby*
4707 # variants that don't use the name server (or something). -lsocket
4708 # must be given before -lnsl if both are needed. We assume that
4709 # if connect needs -lnsl, so does gethostbyname.
4710 { echo "$as_me:$LINENO: checking for connect" >&5
4711 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4712 if test "${ac_cv_func_connect+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 else
4715 cat >conftest.$ac_ext <<_ACEOF
4716 /* confdefs.h. */
4717 _ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4723 #define connect innocuous_connect
4725 /* System header to define __stub macros and hopefully few prototypes,
4726 which can conflict with char connect (); below.
4727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 <limits.h> exists even on freestanding compilers. */
4730 #ifdef __STDC__
4731 # include <limits.h>
4732 #else
4733 # include <assert.h>
4734 #endif
4736 #undef connect
4738 /* Override any GCC internal prototype to avoid an error.
4739 Use char because int might match the return type of a GCC
4740 builtin and then its argument prototype would still apply. */
4741 #ifdef __cplusplus
4742 extern "C"
4743 #endif
4744 char connect ();
4745 /* The GNU C library defines this for functions which it implements
4746 to always fail with ENOSYS. Some functions are actually named
4747 something starting with __ and the normal name is an alias. */
4748 #if defined __stub_connect || defined __stub___connect
4749 choke me
4750 #endif
4753 main ()
4755 return connect ();
4757 return 0;
4759 _ACEOF
4760 rm -f conftest.$ac_objext conftest$ac_exeext
4761 if { (ac_try="$ac_link"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_link") 2>conftest.er1
4768 ac_status=$?
4769 grep -v '^ *+' conftest.er1 >conftest.err
4770 rm -f conftest.er1
4771 cat conftest.err >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest$ac_exeext &&
4777 $as_test_x conftest$ac_exeext; then
4778 ac_cv_func_connect=yes
4779 else
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.$ac_ext >&5
4783 ac_cv_func_connect=no
4786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4787 conftest$ac_exeext conftest.$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4790 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4792 if test $ac_cv_func_connect = no; then
4793 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4794 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4795 if test "${ac_cv_lib_socket_connect+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 else
4798 ac_check_lib_save_LIBS=$LIBS
4799 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4800 cat >conftest.$ac_ext <<_ACEOF
4801 /* confdefs.h. */
4802 _ACEOF
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4810 #ifdef __cplusplus
4811 extern "C"
4812 #endif
4813 char connect ();
4815 main ()
4817 return connect ();
4819 return 0;
4821 _ACEOF
4822 rm -f conftest.$ac_objext conftest$ac_exeext
4823 if { (ac_try="$ac_link"
4824 case "(($ac_try" in
4825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4827 esac
4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4829 (eval "$ac_link") 2>conftest.er1
4830 ac_status=$?
4831 grep -v '^ *+' conftest.er1 >conftest.err
4832 rm -f conftest.er1
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } && {
4836 test -z "$ac_c_werror_flag" ||
4837 test ! -s conftest.err
4838 } && test -s conftest$ac_exeext &&
4839 $as_test_x conftest$ac_exeext; then
4840 ac_cv_lib_socket_connect=yes
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_cv_lib_socket_connect=no
4848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4849 conftest$ac_exeext conftest.$ac_ext
4850 LIBS=$ac_check_lib_save_LIBS
4852 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4853 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4854 if test $ac_cv_lib_socket_connect = yes; then
4855 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4860 # Guillermo Gomez says -lposix is necessary on A/UX.
4861 { echo "$as_me:$LINENO: checking for remove" >&5
4862 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4863 if test "${ac_cv_func_remove+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 else
4866 cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h. */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4874 #define remove innocuous_remove
4876 /* System header to define __stub macros and hopefully few prototypes,
4877 which can conflict with char remove (); below.
4878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4879 <limits.h> exists even on freestanding compilers. */
4881 #ifdef __STDC__
4882 # include <limits.h>
4883 #else
4884 # include <assert.h>
4885 #endif
4887 #undef remove
4889 /* Override any GCC internal prototype to avoid an error.
4890 Use char because int might match the return type of a GCC
4891 builtin and then its argument prototype would still apply. */
4892 #ifdef __cplusplus
4893 extern "C"
4894 #endif
4895 char remove ();
4896 /* The GNU C library defines this for functions which it implements
4897 to always fail with ENOSYS. Some functions are actually named
4898 something starting with __ and the normal name is an alias. */
4899 #if defined __stub_remove || defined __stub___remove
4900 choke me
4901 #endif
4904 main ()
4906 return remove ();
4908 return 0;
4910 _ACEOF
4911 rm -f conftest.$ac_objext conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4913 case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>conftest.er1
4919 ac_status=$?
4920 grep -v '^ *+' conftest.er1 >conftest.err
4921 rm -f conftest.er1
4922 cat conftest.err >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest$ac_exeext &&
4928 $as_test_x conftest$ac_exeext; then
4929 ac_cv_func_remove=yes
4930 else
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.$ac_ext >&5
4934 ac_cv_func_remove=no
4937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4938 conftest$ac_exeext conftest.$ac_ext
4940 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4941 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4943 if test $ac_cv_func_remove = no; then
4944 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4945 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4946 if test "${ac_cv_lib_posix_remove+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 else
4949 ac_check_lib_save_LIBS=$LIBS
4950 LIBS="-lposix $LIBS"
4951 cat >conftest.$ac_ext <<_ACEOF
4952 /* confdefs.h. */
4953 _ACEOF
4954 cat confdefs.h >>conftest.$ac_ext
4955 cat >>conftest.$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 /* Override any GCC internal prototype to avoid an error.
4959 Use char because int might match the return type of a GCC
4960 builtin and then its argument prototype would still apply. */
4961 #ifdef __cplusplus
4962 extern "C"
4963 #endif
4964 char remove ();
4966 main ()
4968 return remove ();
4970 return 0;
4972 _ACEOF
4973 rm -f conftest.$ac_objext conftest$ac_exeext
4974 if { (ac_try="$ac_link"
4975 case "(($ac_try" in
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4978 esac
4979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980 (eval "$ac_link") 2>conftest.er1
4981 ac_status=$?
4982 grep -v '^ *+' conftest.er1 >conftest.err
4983 rm -f conftest.er1
4984 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && {
4987 test -z "$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 } && test -s conftest$ac_exeext &&
4990 $as_test_x conftest$ac_exeext; then
4991 ac_cv_lib_posix_remove=yes
4992 else
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_lib_posix_remove=no
4999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5000 conftest$ac_exeext conftest.$ac_ext
5001 LIBS=$ac_check_lib_save_LIBS
5003 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5004 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5005 if test $ac_cv_lib_posix_remove = yes; then
5006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5011 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5012 { echo "$as_me:$LINENO: checking for shmat" >&5
5013 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5014 if test "${ac_cv_func_shmat+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 else
5017 cat >conftest.$ac_ext <<_ACEOF
5018 /* confdefs.h. */
5019 _ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5025 #define shmat innocuous_shmat
5027 /* System header to define __stub macros and hopefully few prototypes,
5028 which can conflict with char shmat (); below.
5029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 <limits.h> exists even on freestanding compilers. */
5032 #ifdef __STDC__
5033 # include <limits.h>
5034 #else
5035 # include <assert.h>
5036 #endif
5038 #undef shmat
5040 /* Override any GCC internal prototype to avoid an error.
5041 Use char because int might match the return type of a GCC
5042 builtin and then its argument prototype would still apply. */
5043 #ifdef __cplusplus
5044 extern "C"
5045 #endif
5046 char shmat ();
5047 /* The GNU C library defines this for functions which it implements
5048 to always fail with ENOSYS. Some functions are actually named
5049 something starting with __ and the normal name is an alias. */
5050 #if defined __stub_shmat || defined __stub___shmat
5051 choke me
5052 #endif
5055 main ()
5057 return shmat ();
5059 return 0;
5061 _ACEOF
5062 rm -f conftest.$ac_objext conftest$ac_exeext
5063 if { (ac_try="$ac_link"
5064 case "(($ac_try" in
5065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066 *) ac_try_echo=$ac_try;;
5067 esac
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$ac_link") 2>conftest.er1
5070 ac_status=$?
5071 grep -v '^ *+' conftest.er1 >conftest.err
5072 rm -f conftest.er1
5073 cat conftest.err >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest$ac_exeext &&
5079 $as_test_x conftest$ac_exeext; then
5080 ac_cv_func_shmat=yes
5081 else
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5085 ac_cv_func_shmat=no
5088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5089 conftest$ac_exeext conftest.$ac_ext
5091 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5092 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5094 if test $ac_cv_func_shmat = no; then
5095 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5096 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5097 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 else
5100 ac_check_lib_save_LIBS=$LIBS
5101 LIBS="-lipc $LIBS"
5102 cat >conftest.$ac_ext <<_ACEOF
5103 /* confdefs.h. */
5104 _ACEOF
5105 cat confdefs.h >>conftest.$ac_ext
5106 cat >>conftest.$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 /* Override any GCC internal prototype to avoid an error.
5110 Use char because int might match the return type of a GCC
5111 builtin and then its argument prototype would still apply. */
5112 #ifdef __cplusplus
5113 extern "C"
5114 #endif
5115 char shmat ();
5117 main ()
5119 return shmat ();
5121 return 0;
5123 _ACEOF
5124 rm -f conftest.$ac_objext conftest$ac_exeext
5125 if { (ac_try="$ac_link"
5126 case "(($ac_try" in
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5129 esac
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_link") 2>conftest.er1
5132 ac_status=$?
5133 grep -v '^ *+' conftest.er1 >conftest.err
5134 rm -f conftest.er1
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest$ac_exeext &&
5141 $as_test_x conftest$ac_exeext; then
5142 ac_cv_lib_ipc_shmat=yes
5143 else
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_lib_ipc_shmat=no
5150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5151 conftest$ac_exeext conftest.$ac_ext
5152 LIBS=$ac_check_lib_save_LIBS
5154 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5155 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5156 if test $ac_cv_lib_ipc_shmat = yes; then
5157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5163 # Check for libraries that X11R6 Xt/Xaw programs need.
5164 ac_save_LDFLAGS=$LDFLAGS
5165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5167 # check for ICE first), but we must link in the order -lSM -lICE or
5168 # we get undefined symbols. So assume we have SM if we have ICE.
5169 # These have to be linked with before -lX11, unlike the other
5170 # libraries we check for below, so use a different variable.
5171 # John Interrante, Karl Berry
5172 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5173 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5174 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 else
5177 ac_check_lib_save_LIBS=$LIBS
5178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5179 cat >conftest.$ac_ext <<_ACEOF
5180 /* confdefs.h. */
5181 _ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 /* Override any GCC internal prototype to avoid an error.
5187 Use char because int might match the return type of a GCC
5188 builtin and then its argument prototype would still apply. */
5189 #ifdef __cplusplus
5190 extern "C"
5191 #endif
5192 char IceConnectionNumber ();
5194 main ()
5196 return IceConnectionNumber ();
5198 return 0;
5200 _ACEOF
5201 rm -f conftest.$ac_objext conftest$ac_exeext
5202 if { (ac_try="$ac_link"
5203 case "(($ac_try" in
5204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5205 *) ac_try_echo=$ac_try;;
5206 esac
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_link") 2>conftest.er1
5209 ac_status=$?
5210 grep -v '^ *+' conftest.er1 >conftest.err
5211 rm -f conftest.er1
5212 cat conftest.err >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } && {
5215 test -z "$ac_c_werror_flag" ||
5216 test ! -s conftest.err
5217 } && test -s conftest$ac_exeext &&
5218 $as_test_x conftest$ac_exeext; then
5219 ac_cv_lib_ICE_IceConnectionNumber=yes
5220 else
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5224 ac_cv_lib_ICE_IceConnectionNumber=no
5227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5228 conftest$ac_exeext conftest.$ac_ext
5229 LIBS=$ac_check_lib_save_LIBS
5231 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5232 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5233 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5234 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5237 LDFLAGS=$ac_save_LDFLAGS
5242 for ac_prog in flex
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy $ac_prog; ac_word=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_FLEX+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 if test -n "$FLEX"; then
5252 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5253 else
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH
5257 IFS=$as_save_IFS
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_FLEX="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 break 2
5265 done
5266 done
5267 IFS=$as_save_IFS
5271 FLEX=$ac_cv_prog_FLEX
5272 if test -n "$FLEX"; then
5273 { echo "$as_me:$LINENO: result: $FLEX" >&5
5274 echo "${ECHO_T}$FLEX" >&6; }
5275 else
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$FLEX" && break
5282 done
5283 test -n "$FLEX" || FLEX="none"
5285 if test "$FLEX" = "none"
5286 then
5287 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5288 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 for ac_prog in bison
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5298 if test "${ac_cv_prog_BISON+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 else
5301 if test -n "$BISON"; then
5302 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5303 else
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5307 IFS=$as_save_IFS
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_prog_BISON="$ac_prog"
5312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 break 2
5315 done
5316 done
5317 IFS=$as_save_IFS
5321 BISON=$ac_cv_prog_BISON
5322 if test -n "$BISON"; then
5323 { echo "$as_me:$LINENO: result: $BISON" >&5
5324 echo "${ECHO_T}$BISON" >&6; }
5325 else
5326 { echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6; }
5331 test -n "$BISON" && break
5332 done
5333 test -n "$BISON" || BISON="none"
5335 if test "$BISON" = "none"
5336 then
5337 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5338 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5339 { (exit 1); exit 1; }; }
5342 if test -n "$ac_tool_prefix"; then
5343 for ac_prog in gas as
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5349 if test "${ac_cv_prog_AS+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352 if test -n "$AS"; then
5353 ac_cv_prog_AS="$AS" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5368 IFS=$as_save_IFS
5372 AS=$ac_cv_prog_AS
5373 if test -n "$AS"; then
5374 { echo "$as_me:$LINENO: result: $AS" >&5
5375 echo "${ECHO_T}$AS" >&6; }
5376 else
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5382 test -n "$AS" && break
5383 done
5385 if test -z "$AS"; then
5386 ac_ct_AS=$AS
5387 for ac_prog in gas as
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy $ac_prog; ac_word=$2
5391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5393 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 else
5396 if test -n "$ac_ct_AS"; then
5397 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AS="$ac_prog"
5407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5417 if test -n "$ac_ct_AS"; then
5418 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5419 echo "${ECHO_T}$ac_ct_AS" >&6; }
5420 else
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5426 test -n "$ac_ct_AS" && break
5427 done
5429 if test "x$ac_ct_AS" = x; then
5430 AS="as"
5431 else
5432 case $cross_compiling:$ac_tool_warned in
5433 yes:)
5434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&5
5437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5438 whose name does not start with the host triplet. If you think this
5439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5440 ac_tool_warned=yes ;;
5441 esac
5442 AS=$ac_ct_AS
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ld; ac_word=$2
5449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_LD+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 else
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD="$LD" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_LD="${ac_tool_prefix}ld"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5468 done
5469 done
5470 IFS=$as_save_IFS
5474 LD=$ac_cv_prog_LD
5475 if test -n "$LD"; then
5476 { echo "$as_me:$LINENO: result: $LD" >&5
5477 echo "${ECHO_T}$LD" >&6; }
5478 else
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 if test -z "$ac_cv_prog_LD"; then
5486 ac_ct_LD=$LD
5487 # Extract the first word of "ld", so it can be a program name with args.
5488 set dummy ld; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$ac_ct_LD"; then
5495 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_LD="ld"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5515 if test -n "$ac_ct_LD"; then
5516 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5517 echo "${ECHO_T}$ac_ct_LD" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5523 if test "x$ac_ct_LD" = x; then
5524 LD="ld"
5525 else
5526 case $cross_compiling:$ac_tool_warned in
5527 yes:)
5528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5529 whose name does not start with the host triplet. If you think this
5530 configuration is useful to you, please write to autoconf@gnu.org." >&5
5531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5532 whose name does not start with the host triplet. If you think this
5533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536 LD=$ac_ct_LD
5538 else
5539 LD="$ac_cv_prog_LD"
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}ar; ac_word=$2
5545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5547 if test "${ac_cv_prog_AR+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 else
5550 if test -n "$AR"; then
5551 ac_cv_prog_AR="$AR" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_AR="${ac_tool_prefix}ar"
5561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 AR=$ac_cv_prog_AR
5571 if test -n "$AR"; then
5572 { echo "$as_me:$LINENO: result: $AR" >&5
5573 echo "${ECHO_T}$AR" >&6; }
5574 else
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 if test -z "$ac_cv_prog_AR"; then
5582 ac_ct_AR=$AR
5583 # Extract the first word of "ar", so it can be a program name with args.
5584 set dummy ar; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$ac_ct_AR"; then
5591 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_AR="ar"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5611 if test -n "$ac_ct_AR"; then
5612 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5613 echo "${ECHO_T}$ac_ct_AR" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5619 if test "x$ac_ct_AR" = x; then
5620 AR="ar"
5621 else
5622 case $cross_compiling:$ac_tool_warned in
5623 yes:)
5624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5625 whose name does not start with the host triplet. If you think this
5626 configuration is useful to you, please write to autoconf@gnu.org." >&5
5627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5628 whose name does not start with the host triplet. If you think this
5629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5630 ac_tool_warned=yes ;;
5631 esac
5632 AR=$ac_ct_AR
5634 else
5635 AR="$ac_cv_prog_AR"
5638 ARFLAGS=rc
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 else
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 RANLIB=$ac_cv_prog_RANLIB
5669 if test -n "$RANLIB"; then
5670 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5671 echo "${ECHO_T}$RANLIB" >&6; }
5672 else
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib; ac_word=$2
5683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 else
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_ac_ct_RANLIB="ranlib"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5711 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5712 else
5713 { echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6; }
5717 if test "x$ac_ct_RANLIB" = x; then
5718 RANLIB=":"
5719 else
5720 case $cross_compiling:$ac_tool_warned in
5721 yes:)
5722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5723 whose name does not start with the host triplet. If you think this
5724 configuration is useful to you, please write to autoconf@gnu.org." >&5
5725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5726 whose name does not start with the host triplet. If you think this
5727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5728 ac_tool_warned=yes ;;
5729 esac
5730 RANLIB=$ac_ct_RANLIB
5732 else
5733 RANLIB="$ac_cv_prog_RANLIB"
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5738 set dummy ${ac_tool_prefix}strip; ac_word=$2
5739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5741 if test "${ac_cv_prog_STRIP+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 else
5744 if test -n "$STRIP"; then
5745 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5746 else
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 for as_dir in $PATH
5750 IFS=$as_save_IFS
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 STRIP=$ac_cv_prog_STRIP
5765 if test -n "$STRIP"; then
5766 { echo "$as_me:$LINENO: result: $STRIP" >&5
5767 echo "${ECHO_T}$STRIP" >&6; }
5768 else
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5775 if test -z "$ac_cv_prog_STRIP"; then
5776 ac_ct_STRIP=$STRIP
5777 # Extract the first word of "strip", so it can be a program name with args.
5778 set dummy strip; ac_word=$2
5779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 else
5784 if test -n "$ac_ct_STRIP"; then
5785 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794 ac_cv_prog_ac_ct_STRIP="strip"
5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5805 if test -n "$ac_ct_STRIP"; then
5806 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5807 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5808 else
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5813 if test "x$ac_ct_STRIP" = x; then
5814 STRIP="strip"
5815 else
5816 case $cross_compiling:$ac_tool_warned in
5817 yes:)
5818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5819 whose name does not start with the host triplet. If you think this
5820 configuration is useful to you, please write to autoconf@gnu.org." >&5
5821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5822 whose name does not start with the host triplet. If you think this
5823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5824 ac_tool_warned=yes ;;
5825 esac
5826 STRIP=$ac_ct_STRIP
5828 else
5829 STRIP="$ac_cv_prog_STRIP"
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}windres; ac_word=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_WINDRES+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 else
5840 if test -n "$WINDRES"; then
5841 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 WINDRES=$ac_cv_prog_WINDRES
5861 if test -n "$WINDRES"; then
5862 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5863 echo "${ECHO_T}$WINDRES" >&6; }
5864 else
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5871 if test -z "$ac_cv_prog_WINDRES"; then
5872 ac_ct_WINDRES=$WINDRES
5873 # Extract the first word of "windres", so it can be a program name with args.
5874 set dummy windres; ac_word=$2
5875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5877 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 else
5880 if test -n "$ac_ct_WINDRES"; then
5881 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5882 else
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in $PATH
5886 IFS=$as_save_IFS
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_WINDRES="windres"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 break 2
5894 done
5895 done
5896 IFS=$as_save_IFS
5900 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5901 if test -n "$ac_ct_WINDRES"; then
5902 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5903 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5904 else
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5909 if test "x$ac_ct_WINDRES" = x; then
5910 WINDRES="false"
5911 else
5912 case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5915 whose name does not start with the host triplet. If you think this
5916 configuration is useful to you, please write to autoconf@gnu.org." >&5
5917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5918 whose name does not start with the host triplet. If you think this
5919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5920 ac_tool_warned=yes ;;
5921 esac
5922 WINDRES=$ac_ct_WINDRES
5924 else
5925 WINDRES="$ac_cv_prog_WINDRES"
5928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5930 LN_S=$as_ln_s
5931 if test "$LN_S" = "ln -s"; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5934 else
5935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5936 echo "${ECHO_T}no, using $LN_S" >&6; }
5939 { echo "$as_me:$LINENO: checking whether ln works" >&5
5940 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5941 rm -f conf$$ conf$$.file
5942 echo >conf$$.file
5943 if ln conf$$.file conf$$ 2>/dev/null; then
5944 LN=ln
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5948 else
5949 LN="cp -p"
5951 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5952 echo "${ECHO_T}no, using $LN" >&6; }
5954 rm -f conf$$ conf$$.file
5955 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5956 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5957 if test "${ac_cv_path_GREP+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 else
5960 # Extract the first word of "grep ggrep" to use in msg output
5961 if test -z "$GREP"; then
5962 set dummy grep ggrep; ac_prog_name=$2
5963 if test "${ac_cv_path_GREP+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 else
5966 ac_path_GREP_found=false
5967 # Loop through the user's path and test for each of PROGNAME-LIST
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_prog in grep ggrep; do
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5976 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5977 # Check for GNU ac_path_GREP and select it if it is found.
5978 # Check for GNU $ac_path_GREP
5979 case `"$ac_path_GREP" --version 2>&1` in
5980 *GNU*)
5981 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5983 ac_count=0
5984 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5985 while :
5987 cat "conftest.in" "conftest.in" >"conftest.tmp"
5988 mv "conftest.tmp" "conftest.in"
5989 cp "conftest.in" "conftest.nl"
5990 echo 'GREP' >> "conftest.nl"
5991 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5992 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5993 ac_count=`expr $ac_count + 1`
5994 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5995 # Best one so far, save it but keep looking for a better one
5996 ac_cv_path_GREP="$ac_path_GREP"
5997 ac_path_GREP_max=$ac_count
5999 # 10*(2^10) chars as input seems more than enough
6000 test $ac_count -gt 10 && break
6001 done
6002 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6003 esac
6006 $ac_path_GREP_found && break 3
6007 done
6008 done
6010 done
6011 IFS=$as_save_IFS
6016 GREP="$ac_cv_path_GREP"
6017 if test -z "$GREP"; then
6018 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6019 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6020 { (exit 1); exit 1; }; }
6023 else
6024 ac_cv_path_GREP=$GREP
6029 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6030 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6031 GREP="$ac_cv_path_GREP"
6034 { echo "$as_me:$LINENO: checking for egrep" >&5
6035 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6036 if test "${ac_cv_path_EGREP+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 else
6039 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6040 then ac_cv_path_EGREP="$GREP -E"
6041 else
6042 # Extract the first word of "egrep" to use in msg output
6043 if test -z "$EGREP"; then
6044 set dummy egrep; ac_prog_name=$2
6045 if test "${ac_cv_path_EGREP+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 else
6048 ac_path_EGREP_found=false
6049 # Loop through the user's path and test for each of PROGNAME-LIST
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6053 IFS=$as_save_IFS
6054 test -z "$as_dir" && as_dir=.
6055 for ac_prog in egrep; do
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6059 # Check for GNU ac_path_EGREP and select it if it is found.
6060 # Check for GNU $ac_path_EGREP
6061 case `"$ac_path_EGREP" --version 2>&1` in
6062 *GNU*)
6063 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6065 ac_count=0
6066 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6067 while :
6069 cat "conftest.in" "conftest.in" >"conftest.tmp"
6070 mv "conftest.tmp" "conftest.in"
6071 cp "conftest.in" "conftest.nl"
6072 echo 'EGREP' >> "conftest.nl"
6073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6075 ac_count=`expr $ac_count + 1`
6076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6077 # Best one so far, save it but keep looking for a better one
6078 ac_cv_path_EGREP="$ac_path_EGREP"
6079 ac_path_EGREP_max=$ac_count
6081 # 10*(2^10) chars as input seems more than enough
6082 test $ac_count -gt 10 && break
6083 done
6084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6085 esac
6088 $ac_path_EGREP_found && break 3
6089 done
6090 done
6092 done
6093 IFS=$as_save_IFS
6098 EGREP="$ac_cv_path_EGREP"
6099 if test -z "$EGREP"; then
6100 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6101 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6102 { (exit 1); exit 1; }; }
6105 else
6106 ac_cv_path_EGREP=$EGREP
6112 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6113 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6114 EGREP="$ac_cv_path_EGREP"
6117 # Extract the first word of "ldconfig", so it can be a program name with args.
6118 set dummy ldconfig; ac_word=$2
6119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6121 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 else
6124 case $LDCONFIG in
6125 [\\/]* | ?:[\\/]*)
6126 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in /sbin /usr/sbin $PATH
6132 IFS=$as_save_IFS
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 break 2
6140 done
6141 done
6142 IFS=$as_save_IFS
6144 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6146 esac
6148 LDCONFIG=$ac_cv_path_LDCONFIG
6149 if test -n "$LDCONFIG"; then
6150 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6151 echo "${ECHO_T}$LDCONFIG" >&6; }
6152 else
6153 { echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6; }
6158 # Find a good install program. We prefer a C program (faster),
6159 # so one script is as good as another. But avoid the broken or
6160 # incompatible versions:
6161 # SysV /etc/install, /usr/sbin/install
6162 # SunOS /usr/etc/install
6163 # IRIX /sbin/install
6164 # AIX /bin/install
6165 # AmigaOS /C/install, which installs bootblocks on floppy discs
6166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6169 # OS/2's system install, which has a completely different semantic
6170 # ./install, which can be erroneously created by make from ./install.sh.
6171 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6173 if test -z "$INSTALL"; then
6174 if test "${ac_cv_path_install+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 for as_dir in $PATH
6180 IFS=$as_save_IFS
6181 test -z "$as_dir" && as_dir=.
6182 # Account for people who put trailing slashes in PATH elements.
6183 case $as_dir/ in
6184 ./ | .// | /cC/* | \
6185 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6186 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6187 /usr/ucb/* ) ;;
6189 # OSF1 and SCO ODT 3.0 have their own names for install.
6190 # Don't use installbsd from OSF since it installs stuff as root
6191 # by default.
6192 for ac_prog in ginstall scoinst install; do
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6195 if test $ac_prog = install &&
6196 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6197 # AIX install. It has an incompatible calling convention.
6199 elif test $ac_prog = install &&
6200 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6201 # program-specific install script used by HP pwplus--don't use.
6203 else
6204 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6205 break 3
6208 done
6209 done
6211 esac
6212 done
6213 IFS=$as_save_IFS
6217 if test "${ac_cv_path_install+set}" = set; then
6218 INSTALL=$ac_cv_path_install
6219 else
6220 # As a last resort, use the slow shell script. Don't cache a
6221 # value for INSTALL within a source directory, because that will
6222 # break other packages using the cache if that directory is
6223 # removed, or if the value is a relative name.
6224 INSTALL=$ac_install_sh
6227 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6228 echo "${ECHO_T}$INSTALL" >&6; }
6230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6231 # It thinks the first close brace ends the variable substitution.
6232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6234 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6236 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6238 case "$INSTALL" in
6239 [\\/$]* | ?:[\\/]* ) ;;
6240 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6241 esac
6243 for ac_prog in lclint lint
6245 # Extract the first word of "$ac_prog", so it can be a program name with args.
6246 set dummy $ac_prog; ac_word=$2
6247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6249 if test "${ac_cv_prog_LINT+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 else
6252 if test -n "$LINT"; then
6253 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6254 else
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 for as_dir in $PATH
6258 IFS=$as_save_IFS
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_LINT="$ac_prog"
6263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 break 2
6266 done
6267 done
6268 IFS=$as_save_IFS
6272 LINT=$ac_cv_prog_LINT
6273 if test -n "$LINT"; then
6274 { echo "$as_me:$LINENO: result: $LINT" >&5
6275 echo "${ECHO_T}$LINT" >&6; }
6276 else
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6282 test -n "$LINT" && break
6283 done
6285 if test "$LINT" = "lint"
6286 then
6287 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6292 for ac_prog in fontforge
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6298 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 else
6301 if test -n "$FONTFORGE"; then
6302 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6303 else
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH
6307 IFS=$as_save_IFS
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_FONTFORGE="$ac_prog"
6312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 break 2
6315 done
6316 done
6317 IFS=$as_save_IFS
6321 FONTFORGE=$ac_cv_prog_FONTFORGE
6322 if test -n "$FONTFORGE"; then
6323 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6324 echo "${ECHO_T}$FONTFORGE" >&6; }
6325 else
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6331 test -n "$FONTFORGE" && break
6332 done
6333 test -n "$FONTFORGE" || FONTFORGE="false"
6335 for ac_prog in pkg-config
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy $ac_prog; ac_word=$2
6339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6341 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 else
6344 if test -n "$PKG_CONFIG"; then
6345 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6346 else
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_PKG_CONFIG="$ac_prog"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 break 2
6358 done
6359 done
6360 IFS=$as_save_IFS
6364 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6365 if test -n "$PKG_CONFIG"; then
6366 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6367 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6368 else
6369 { echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6; }
6374 test -n "$PKG_CONFIG" && break
6375 done
6376 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6378 for ac_prog in rsvg
6380 # Extract the first word of "$ac_prog", so it can be a program name with args.
6381 set dummy $ac_prog; ac_word=$2
6382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6384 if test "${ac_cv_prog_RSVG+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 else
6387 if test -n "$RSVG"; then
6388 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_RSVG="$ac_prog"
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 RSVG=$ac_cv_prog_RSVG
6408 if test -n "$RSVG"; then
6409 { echo "$as_me:$LINENO: result: $RSVG" >&5
6410 echo "${ECHO_T}$RSVG" >&6; }
6411 else
6412 { echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6; }
6417 test -n "$RSVG" && break
6418 done
6419 test -n "$RSVG" || RSVG="false"
6421 for ac_prog in icotool
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6427 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 else
6430 if test -n "$ICOTOOL"; then
6431 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ICOTOOL="$ac_prog"
6441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 break 2
6444 done
6445 done
6446 IFS=$as_save_IFS
6450 ICOTOOL=$ac_cv_prog_ICOTOOL
6451 if test -n "$ICOTOOL"; then
6452 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6453 echo "${ECHO_T}$ICOTOOL" >&6; }
6454 else
6455 { echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6; }
6460 test -n "$ICOTOOL" && break
6461 done
6462 test -n "$ICOTOOL" || ICOTOOL="false"
6465 if test "${enable_maintainer_mode+set}" = set
6466 then
6467 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6468 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6471 case $host_cpu in
6472 *i[3456789]86*)
6473 # Extract the first word of "prelink", so it can be a program name with args.
6474 set dummy prelink; ac_word=$2
6475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6477 if test "${ac_cv_path_PRELINK+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 else
6480 case $PRELINK in
6481 [\\/]* | ?:[\\/]*)
6482 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in /sbin /usr/sbin $PATH
6488 IFS=$as_save_IFS
6489 test -z "$as_dir" && as_dir=.
6490 for ac_exec_ext in '' $ac_executable_extensions; do
6491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6494 break 2
6496 done
6497 done
6498 IFS=$as_save_IFS
6500 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6502 esac
6504 PRELINK=$ac_cv_path_PRELINK
6505 if test -n "$PRELINK"; then
6506 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6507 echo "${ECHO_T}$PRELINK" >&6; }
6508 else
6509 { echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6; }
6515 esac
6519 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6520 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6521 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6522 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 else
6524 ac_check_lib_save_LIBS=$LIBS
6525 LIBS="-li386 $LIBS"
6526 cat >conftest.$ac_ext <<_ACEOF
6527 /* confdefs.h. */
6528 _ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6533 /* Override any GCC internal prototype to avoid an error.
6534 Use char because int might match the return type of a GCC
6535 builtin and then its argument prototype would still apply. */
6536 #ifdef __cplusplus
6537 extern "C"
6538 #endif
6539 char i386_set_ldt ();
6541 main ()
6543 return i386_set_ldt ();
6545 return 0;
6547 _ACEOF
6548 rm -f conftest.$ac_objext conftest$ac_exeext
6549 if { (ac_try="$ac_link"
6550 case "(($ac_try" in
6551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6553 esac
6554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_link") 2>conftest.er1
6556 ac_status=$?
6557 grep -v '^ *+' conftest.er1 >conftest.err
6558 rm -f conftest.er1
6559 cat conftest.err >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && {
6562 test -z "$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 } && test -s conftest$ac_exeext &&
6565 $as_test_x conftest$ac_exeext; then
6566 ac_cv_lib_i386_i386_set_ldt=yes
6567 else
6568 echo "$as_me: failed program was:" >&5
6569 sed 's/^/| /' conftest.$ac_ext >&5
6571 ac_cv_lib_i386_i386_set_ldt=no
6574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6575 conftest$ac_exeext conftest.$ac_ext
6576 LIBS=$ac_check_lib_save_LIBS
6578 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6579 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6580 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6581 cat >>confdefs.h <<_ACEOF
6582 #define HAVE_LIBI386 1
6583 _ACEOF
6585 LIBS="-li386 $LIBS"
6590 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6591 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6592 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6593 echo $ECHO_N "(cached) $ECHO_C" >&6
6594 else
6595 ac_check_lib_save_LIBS=$LIBS
6596 LIBS="-lossaudio $LIBS"
6597 cat >conftest.$ac_ext <<_ACEOF
6598 /* confdefs.h. */
6599 _ACEOF
6600 cat confdefs.h >>conftest.$ac_ext
6601 cat >>conftest.$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6604 /* Override any GCC internal prototype to avoid an error.
6605 Use char because int might match the return type of a GCC
6606 builtin and then its argument prototype would still apply. */
6607 #ifdef __cplusplus
6608 extern "C"
6609 #endif
6610 char _oss_ioctl ();
6612 main ()
6614 return _oss_ioctl ();
6616 return 0;
6618 _ACEOF
6619 rm -f conftest.$ac_objext conftest$ac_exeext
6620 if { (ac_try="$ac_link"
6621 case "(($ac_try" in
6622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6623 *) ac_try_echo=$ac_try;;
6624 esac
6625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6626 (eval "$ac_link") 2>conftest.er1
6627 ac_status=$?
6628 grep -v '^ *+' conftest.er1 >conftest.err
6629 rm -f conftest.er1
6630 cat conftest.err >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } && {
6633 test -z "$ac_c_werror_flag" ||
6634 test ! -s conftest.err
6635 } && test -s conftest$ac_exeext &&
6636 $as_test_x conftest$ac_exeext; then
6637 ac_cv_lib_ossaudio__oss_ioctl=yes
6638 else
6639 echo "$as_me: failed program was:" >&5
6640 sed 's/^/| /' conftest.$ac_ext >&5
6642 ac_cv_lib_ossaudio__oss_ioctl=no
6645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6646 conftest$ac_exeext conftest.$ac_ext
6647 LIBS=$ac_check_lib_save_LIBS
6649 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6650 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6651 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6652 cat >>confdefs.h <<_ACEOF
6653 #define HAVE_LIBOSSAUDIO 1
6654 _ACEOF
6656 LIBS="-lossaudio $LIBS"
6660 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6661 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6662 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 else
6665 ac_check_lib_save_LIBS=$LIBS
6666 LIBS="-lpthread $LIBS"
6667 cat >conftest.$ac_ext <<_ACEOF
6668 /* confdefs.h. */
6669 _ACEOF
6670 cat confdefs.h >>conftest.$ac_ext
6671 cat >>conftest.$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6674 /* Override any GCC internal prototype to avoid an error.
6675 Use char because int might match the return type of a GCC
6676 builtin and then its argument prototype would still apply. */
6677 #ifdef __cplusplus
6678 extern "C"
6679 #endif
6680 char pthread_create ();
6682 main ()
6684 return pthread_create ();
6686 return 0;
6688 _ACEOF
6689 rm -f conftest.$ac_objext conftest$ac_exeext
6690 if { (ac_try="$ac_link"
6691 case "(($ac_try" in
6692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6693 *) ac_try_echo=$ac_try;;
6694 esac
6695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6696 (eval "$ac_link") 2>conftest.er1
6697 ac_status=$?
6698 grep -v '^ *+' conftest.er1 >conftest.err
6699 rm -f conftest.er1
6700 cat conftest.err >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } && {
6703 test -z "$ac_c_werror_flag" ||
6704 test ! -s conftest.err
6705 } && test -s conftest$ac_exeext &&
6706 $as_test_x conftest$ac_exeext; then
6707 ac_cv_lib_pthread_pthread_create=yes
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6712 ac_cv_lib_pthread_pthread_create=no
6715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6716 conftest$ac_exeext conftest.$ac_ext
6717 LIBS=$ac_check_lib_save_LIBS
6719 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6720 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6721 if test $ac_cv_lib_pthread_pthread_create = yes; then
6722 LIBPTHREAD="-lpthread"
6727 XLIB=""
6729 XFILES=""
6731 OPENGLFILES=""
6733 GLU32FILES=""
6735 OPENGL_LIBS=""
6737 QUARTZFILES=""
6741 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6742 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6743 if test "${ac_cv_header_stdc+set}" = set; then
6744 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 else
6746 cat >conftest.$ac_ext <<_ACEOF
6747 /* confdefs.h. */
6748 _ACEOF
6749 cat confdefs.h >>conftest.$ac_ext
6750 cat >>conftest.$ac_ext <<_ACEOF
6751 /* end confdefs.h. */
6752 #include <stdlib.h>
6753 #include <stdarg.h>
6754 #include <string.h>
6755 #include <float.h>
6758 main ()
6762 return 0;
6764 _ACEOF
6765 rm -f conftest.$ac_objext
6766 if { (ac_try="$ac_compile"
6767 case "(($ac_try" in
6768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6769 *) ac_try_echo=$ac_try;;
6770 esac
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_compile") 2>conftest.er1
6773 ac_status=$?
6774 grep -v '^ *+' conftest.er1 >conftest.err
6775 rm -f conftest.er1
6776 cat conftest.err >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && {
6779 test -z "$ac_c_werror_flag" ||
6780 test ! -s conftest.err
6781 } && test -s conftest.$ac_objext; then
6782 ac_cv_header_stdc=yes
6783 else
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.$ac_ext >&5
6787 ac_cv_header_stdc=no
6790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6792 if test $ac_cv_header_stdc = yes; then
6793 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6794 cat >conftest.$ac_ext <<_ACEOF
6795 /* confdefs.h. */
6796 _ACEOF
6797 cat confdefs.h >>conftest.$ac_ext
6798 cat >>conftest.$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6800 #include <string.h>
6802 _ACEOF
6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6804 $EGREP "memchr" >/dev/null 2>&1; then
6806 else
6807 ac_cv_header_stdc=no
6809 rm -f conftest*
6813 if test $ac_cv_header_stdc = yes; then
6814 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6815 cat >conftest.$ac_ext <<_ACEOF
6816 /* confdefs.h. */
6817 _ACEOF
6818 cat confdefs.h >>conftest.$ac_ext
6819 cat >>conftest.$ac_ext <<_ACEOF
6820 /* end confdefs.h. */
6821 #include <stdlib.h>
6823 _ACEOF
6824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6825 $EGREP "free" >/dev/null 2>&1; then
6827 else
6828 ac_cv_header_stdc=no
6830 rm -f conftest*
6834 if test $ac_cv_header_stdc = yes; then
6835 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6836 if test "$cross_compiling" = yes; then
6838 else
6839 cat >conftest.$ac_ext <<_ACEOF
6840 /* confdefs.h. */
6841 _ACEOF
6842 cat confdefs.h >>conftest.$ac_ext
6843 cat >>conftest.$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6845 #include <ctype.h>
6846 #include <stdlib.h>
6847 #if ((' ' & 0x0FF) == 0x020)
6848 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6849 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6850 #else
6851 # define ISLOWER(c) \
6852 (('a' <= (c) && (c) <= 'i') \
6853 || ('j' <= (c) && (c) <= 'r') \
6854 || ('s' <= (c) && (c) <= 'z'))
6855 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6856 #endif
6858 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6860 main ()
6862 int i;
6863 for (i = 0; i < 256; i++)
6864 if (XOR (islower (i), ISLOWER (i))
6865 || toupper (i) != TOUPPER (i))
6866 return 2;
6867 return 0;
6869 _ACEOF
6870 rm -f conftest$ac_exeext
6871 if { (ac_try="$ac_link"
6872 case "(($ac_try" in
6873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874 *) ac_try_echo=$ac_try;;
6875 esac
6876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 (eval "$ac_link") 2>&5
6878 ac_status=$?
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6881 { (case "(($ac_try" in
6882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6883 *) ac_try_echo=$ac_try;;
6884 esac
6885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6886 (eval "$ac_try") 2>&5
6887 ac_status=$?
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6891 else
6892 echo "$as_me: program exited with status $ac_status" >&5
6893 echo "$as_me: failed program was:" >&5
6894 sed 's/^/| /' conftest.$ac_ext >&5
6896 ( exit $ac_status )
6897 ac_cv_header_stdc=no
6899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6905 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6906 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6907 if test $ac_cv_header_stdc = yes; then
6909 cat >>confdefs.h <<\_ACEOF
6910 #define STDC_HEADERS 1
6911 _ACEOF
6915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6925 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6926 inttypes.h stdint.h unistd.h
6928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 else
6934 cat >conftest.$ac_ext <<_ACEOF
6935 /* confdefs.h. */
6936 _ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 $ac_includes_default
6942 #include <$ac_header>
6943 _ACEOF
6944 rm -f conftest.$ac_objext
6945 if { (ac_try="$ac_compile"
6946 case "(($ac_try" in
6947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6948 *) ac_try_echo=$ac_try;;
6949 esac
6950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6951 (eval "$ac_compile") 2>conftest.er1
6952 ac_status=$?
6953 grep -v '^ *+' conftest.er1 >conftest.err
6954 rm -f conftest.er1
6955 cat conftest.err >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } && {
6958 test -z "$ac_c_werror_flag" ||
6959 test ! -s conftest.err
6960 } && test -s conftest.$ac_objext; then
6961 eval "$as_ac_Header=yes"
6962 else
6963 echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6966 eval "$as_ac_Header=no"
6969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971 ac_res=`eval echo '${'$as_ac_Header'}'`
6972 { echo "$as_me:$LINENO: result: $ac_res" >&5
6973 echo "${ECHO_T}$ac_res" >&6; }
6974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6975 cat >>confdefs.h <<_ACEOF
6976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6977 _ACEOF
6981 done
7094 for ac_header in \
7095 AudioUnit/AudioUnit.h \
7096 Carbon/Carbon.h \
7097 CoreAudio/CoreAudio.h \
7098 DiskArbitration/DiskArbitration.h \
7099 IOKit/IOKitLib.h \
7100 alsa/asoundlib.h \
7101 arpa/inet.h \
7102 arpa/nameser.h \
7103 asm/types.h \
7104 capi20.h \
7105 cups/cups.h \
7106 curses.h \
7107 direct.h \
7108 dlfcn.h \
7109 elf.h \
7110 float.h \
7111 fontconfig/fontconfig.h \
7112 getopt.h \
7113 ieeefp.h \
7114 io.h \
7115 jack/jack.h \
7116 jpeglib.h \
7117 lber.h \
7118 lcms.h \
7119 lcms/lcms.h \
7120 ldap.h \
7121 libaudioio.h \
7122 link.h \
7123 linux/cdrom.h \
7124 linux/compiler.h \
7125 linux/hdreg.h \
7126 linux/input.h \
7127 linux/ioctl.h \
7128 linux/joystick.h \
7129 linux/major.h \
7130 linux/param.h \
7131 linux/serial.h \
7132 linux/ucdrom.h \
7133 mach/mach.h \
7134 mach/machine.h \
7135 machine/cpu.h \
7136 machine/limits.h \
7137 machine/soundcard.h \
7138 mntent.h \
7139 ncurses.h \
7140 netdb.h \
7141 netinet/in.h \
7142 netinet/in_systm.h \
7143 netinet/tcp.h \
7144 netinet/tcp_fsm.h \
7145 openssl/err.h \
7146 openssl/ssl.h \
7147 png.h \
7148 poll.h \
7149 process.h \
7150 pthread.h \
7151 pwd.h \
7152 regex.h \
7153 sched.h \
7154 scsi/scsi.h \
7155 scsi/scsi_ioctl.h \
7156 scsi/sg.h \
7157 soundcard.h \
7158 stdint.h \
7159 strings.h \
7160 sys/asoundlib.h \
7161 sys/cdio.h \
7162 sys/elf32.h \
7163 sys/epoll.h \
7164 sys/errno.h \
7165 sys/event.h \
7166 sys/exec_elf.h \
7167 sys/filio.h \
7168 sys/ioctl.h \
7169 sys/ipc.h \
7170 sys/limits.h \
7171 sys/link.h \
7172 sys/lwp.h \
7173 sys/mman.h \
7174 sys/modem.h \
7175 sys/msg.h \
7176 sys/mtio.h \
7177 sys/param.h \
7178 sys/poll.h \
7179 sys/prctl.h \
7180 sys/ptrace.h \
7181 sys/reg.h \
7182 sys/resource.h \
7183 sys/scsiio.h \
7184 sys/shm.h \
7185 sys/signal.h \
7186 sys/socket.h \
7187 sys/socketvar.h \
7188 sys/sockio.h \
7189 sys/soundcard.h \
7190 sys/statvfs.h \
7191 sys/strtio.h \
7192 sys/syscall.h \
7193 sys/sysctl.h \
7194 sys/time.h \
7195 sys/times.h \
7196 sys/uio.h \
7197 sys/un.h \
7198 sys/vm86.h \
7199 sys/wait.h \
7200 syscall.h \
7201 termios.h \
7202 unistd.h \
7203 utime.h \
7204 valgrind/memcheck.h
7207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7214 ac_res=`eval echo '${'$as_ac_Header'}'`
7215 { echo "$as_me:$LINENO: result: $ac_res" >&5
7216 echo "${ECHO_T}$ac_res" >&6; }
7217 else
7218 # Is the header compilable?
7219 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7221 cat >conftest.$ac_ext <<_ACEOF
7222 /* confdefs.h. */
7223 _ACEOF
7224 cat confdefs.h >>conftest.$ac_ext
7225 cat >>conftest.$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7227 $ac_includes_default
7228 #include <$ac_header>
7229 _ACEOF
7230 rm -f conftest.$ac_objext
7231 if { (ac_try="$ac_compile"
7232 case "(($ac_try" in
7233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7234 *) ac_try_echo=$ac_try;;
7235 esac
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237 (eval "$ac_compile") 2>conftest.er1
7238 ac_status=$?
7239 grep -v '^ *+' conftest.er1 >conftest.err
7240 rm -f conftest.er1
7241 cat conftest.err >&5
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); } && {
7244 test -z "$ac_c_werror_flag" ||
7245 test ! -s conftest.err
7246 } && test -s conftest.$ac_objext; then
7247 ac_header_compiler=yes
7248 else
7249 echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.$ac_ext >&5
7252 ac_header_compiler=no
7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7256 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7257 echo "${ECHO_T}$ac_header_compiler" >&6; }
7259 # Is the header present?
7260 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7262 cat >conftest.$ac_ext <<_ACEOF
7263 /* confdefs.h. */
7264 _ACEOF
7265 cat confdefs.h >>conftest.$ac_ext
7266 cat >>conftest.$ac_ext <<_ACEOF
7267 /* end confdefs.h. */
7268 #include <$ac_header>
7269 _ACEOF
7270 if { (ac_try="$ac_cpp conftest.$ac_ext"
7271 case "(($ac_try" in
7272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7273 *) ac_try_echo=$ac_try;;
7274 esac
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7277 ac_status=$?
7278 grep -v '^ *+' conftest.er1 >conftest.err
7279 rm -f conftest.er1
7280 cat conftest.err >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); } >/dev/null && {
7283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7284 test ! -s conftest.err
7285 }; then
7286 ac_header_preproc=yes
7287 else
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 ac_header_preproc=no
7294 rm -f conftest.err conftest.$ac_ext
7295 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7296 echo "${ECHO_T}$ac_header_preproc" >&6; }
7298 # So? What about this header?
7299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7300 yes:no: )
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7305 ac_header_preproc=yes
7307 no:yes:* )
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7311 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7312 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7314 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7315 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7320 ( cat <<\_ASBOX
7321 ## ------------------------------------ ##
7322 ## Report this to wine-devel@winehq.org ##
7323 ## ------------------------------------ ##
7324 _ASBOX
7325 ) | sed "s/^/$as_me: WARNING: /" >&2
7327 esac
7328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7332 else
7333 eval "$as_ac_Header=\$ac_header_preproc"
7335 ac_res=`eval echo '${'$as_ac_Header'}'`
7336 { echo "$as_me:$LINENO: result: $ac_res" >&5
7337 echo "${ECHO_T}$ac_res" >&6; }
7340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7341 cat >>confdefs.h <<_ACEOF
7342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7343 _ACEOF
7347 done
7349 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7350 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7351 if test "${ac_cv_header_stat_broken+set}" = set; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 else
7354 cat >conftest.$ac_ext <<_ACEOF
7355 /* confdefs.h. */
7356 _ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <sys/types.h>
7361 #include <sys/stat.h>
7363 #if defined S_ISBLK && defined S_IFDIR
7364 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7365 #endif
7367 #if defined S_ISBLK && defined S_IFCHR
7368 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7369 #endif
7371 #if defined S_ISLNK && defined S_IFREG
7372 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7373 #endif
7375 #if defined S_ISSOCK && defined S_IFREG
7376 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7377 #endif
7379 _ACEOF
7380 rm -f conftest.$ac_objext
7381 if { (ac_try="$ac_compile"
7382 case "(($ac_try" in
7383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7384 *) ac_try_echo=$ac_try;;
7385 esac
7386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7387 (eval "$ac_compile") 2>conftest.er1
7388 ac_status=$?
7389 grep -v '^ *+' conftest.er1 >conftest.err
7390 rm -f conftest.er1
7391 cat conftest.err >&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); } && {
7394 test -z "$ac_c_werror_flag" ||
7395 test ! -s conftest.err
7396 } && test -s conftest.$ac_objext; then
7397 ac_cv_header_stat_broken=no
7398 else
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.$ac_ext >&5
7402 ac_cv_header_stat_broken=yes
7405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7407 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7408 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7409 if test $ac_cv_header_stat_broken = yes; then
7411 cat >>confdefs.h <<\_ACEOF
7412 #define STAT_MACROS_BROKEN 1
7413 _ACEOF
7423 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7430 else
7431 cat >conftest.$ac_ext <<_ACEOF
7432 /* confdefs.h. */
7433 _ACEOF
7434 cat confdefs.h >>conftest.$ac_ext
7435 cat >>conftest.$ac_ext <<_ACEOF
7436 /* end confdefs.h. */
7437 #include <sys/types.h>
7438 #ifdef HAVE_SYS_PARAM_H
7439 # include <sys/param.h>
7440 #endif
7442 #include <$ac_header>
7443 _ACEOF
7444 rm -f conftest.$ac_objext
7445 if { (ac_try="$ac_compile"
7446 case "(($ac_try" in
7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7449 esac
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_compile") 2>conftest.er1
7452 ac_status=$?
7453 grep -v '^ *+' conftest.er1 >conftest.err
7454 rm -f conftest.er1
7455 cat conftest.err >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } && {
7458 test -z "$ac_c_werror_flag" ||
7459 test ! -s conftest.err
7460 } && test -s conftest.$ac_objext; then
7461 eval "$as_ac_Header=yes"
7462 else
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.$ac_ext >&5
7466 eval "$as_ac_Header=no"
7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7471 ac_res=`eval echo '${'$as_ac_Header'}'`
7472 { echo "$as_me:$LINENO: result: $ac_res" >&5
7473 echo "${ECHO_T}$ac_res" >&6; }
7474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7475 cat >>confdefs.h <<_ACEOF
7476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7477 _ACEOF
7481 done
7492 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
7494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7499 else
7500 cat >conftest.$ac_ext <<_ACEOF
7501 /* confdefs.h. */
7502 _ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #ifdef HAVE_SYS_SOCKET_H
7508 # include <sys/socket.h>
7509 #endif
7510 #ifdef HAVE_SYS_SOCKETVAR_H
7511 # include <sys/socketvar.h>
7512 #endif
7513 #ifdef HAVE_NETINET_IN_H
7514 # include <netinet/in.h>
7515 #endif
7517 #include <$ac_header>
7518 _ACEOF
7519 rm -f conftest.$ac_objext
7520 if { (ac_try="$ac_compile"
7521 case "(($ac_try" in
7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7523 *) ac_try_echo=$ac_try;;
7524 esac
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7526 (eval "$ac_compile") 2>conftest.er1
7527 ac_status=$?
7528 grep -v '^ *+' conftest.er1 >conftest.err
7529 rm -f conftest.er1
7530 cat conftest.err >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); } && {
7533 test -z "$ac_c_werror_flag" ||
7534 test ! -s conftest.err
7535 } && test -s conftest.$ac_objext; then
7536 eval "$as_ac_Header=yes"
7537 else
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.$ac_ext >&5
7541 eval "$as_ac_Header=no"
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7546 ac_res=`eval echo '${'$as_ac_Header'}'`
7547 { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h <<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7560 for ac_header in netinet/tcp_var.h
7562 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 else
7568 cat >conftest.$ac_ext <<_ACEOF
7569 /* confdefs.h. */
7570 _ACEOF
7571 cat confdefs.h >>conftest.$ac_ext
7572 cat >>conftest.$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <sys/types.h>
7575 #ifdef HAVE_SYS_SOCKET_H
7576 # include <sys/socket.h>
7577 #endif
7578 #ifdef HAVE_SYS_SOCKETVAR_H
7579 # include <sys/socketvar.h>
7580 #endif
7581 #ifdef HAVE_NETINET_IN_H
7582 # include <netinet/in.h>
7583 #endif
7584 #ifdef HAVE_NETINET_TCP_H
7585 # include <netinet/tcp.h>
7586 #endif
7588 #include <$ac_header>
7589 _ACEOF
7590 rm -f conftest.$ac_objext
7591 if { (ac_try="$ac_compile"
7592 case "(($ac_try" in
7593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7594 *) ac_try_echo=$ac_try;;
7595 esac
7596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7597 (eval "$ac_compile") 2>conftest.er1
7598 ac_status=$?
7599 grep -v '^ *+' conftest.er1 >conftest.err
7600 rm -f conftest.er1
7601 cat conftest.err >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } && {
7604 test -z "$ac_c_werror_flag" ||
7605 test ! -s conftest.err
7606 } && test -s conftest.$ac_objext; then
7607 eval "$as_ac_Header=yes"
7608 else
7609 echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.$ac_ext >&5
7612 eval "$as_ac_Header=no"
7615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7617 ac_res=`eval echo '${'$as_ac_Header'}'`
7618 { echo "$as_me:$LINENO: result: $ac_res" >&5
7619 echo "${ECHO_T}$ac_res" >&6; }
7620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7621 cat >>confdefs.h <<_ACEOF
7622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7623 _ACEOF
7627 done
7631 for ac_header in linux/ipx.h
7633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 else
7639 cat >conftest.$ac_ext <<_ACEOF
7640 /* confdefs.h. */
7641 _ACEOF
7642 cat confdefs.h >>conftest.$ac_ext
7643 cat >>conftest.$ac_ext <<_ACEOF
7644 /* end confdefs.h. */
7645 #include <sys/types.h>
7646 #ifdef HAVE_ASM_TYPES_H
7647 # include <asm/types.h>
7648 #endif
7649 #ifdef HAVE_SYS_SOCKET_H
7650 # include <sys/socket.h>
7651 #endif
7653 #include <$ac_header>
7654 _ACEOF
7655 rm -f conftest.$ac_objext
7656 if { (ac_try="$ac_compile"
7657 case "(($ac_try" in
7658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7659 *) ac_try_echo=$ac_try;;
7660 esac
7661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7662 (eval "$ac_compile") 2>conftest.er1
7663 ac_status=$?
7664 grep -v '^ *+' conftest.er1 >conftest.err
7665 rm -f conftest.er1
7666 cat conftest.err >&5
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); } && {
7669 test -z "$ac_c_werror_flag" ||
7670 test ! -s conftest.err
7671 } && test -s conftest.$ac_objext; then
7672 eval "$as_ac_Header=yes"
7673 else
7674 echo "$as_me: failed program was:" >&5
7675 sed 's/^/| /' conftest.$ac_ext >&5
7677 eval "$as_ac_Header=no"
7680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7682 ac_res=`eval echo '${'$as_ac_Header'}'`
7683 { echo "$as_me:$LINENO: result: $ac_res" >&5
7684 echo "${ECHO_T}$ac_res" >&6; }
7685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7686 cat >>confdefs.h <<_ACEOF
7687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7688 _ACEOF
7692 done
7696 for ac_header in resolv.h
7698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7702 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 else
7704 cat >conftest.$ac_ext <<_ACEOF
7705 /* confdefs.h. */
7706 _ACEOF
7707 cat confdefs.h >>conftest.$ac_ext
7708 cat >>conftest.$ac_ext <<_ACEOF
7709 /* end confdefs.h. */
7710 #include <sys/types.h>
7711 #ifdef HAVE_SYS_SOCKET_H
7712 # include <sys/socket.h>
7713 #endif
7714 #ifdef HAVE_NETINET_IN_H
7715 # include <netinet/in.h>
7716 #endif
7717 #ifdef HAVE_ARPA_NAMESER_H
7718 # include <arpa/nameser.h>
7719 #endif
7721 #include <$ac_header>
7722 _ACEOF
7723 rm -f conftest.$ac_objext
7724 if { (ac_try="$ac_compile"
7725 case "(($ac_try" in
7726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7727 *) ac_try_echo=$ac_try;;
7728 esac
7729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 (eval "$ac_compile") 2>conftest.er1
7731 ac_status=$?
7732 grep -v '^ *+' conftest.er1 >conftest.err
7733 rm -f conftest.er1
7734 cat conftest.err >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); } && {
7737 test -z "$ac_c_werror_flag" ||
7738 test ! -s conftest.err
7739 } && test -s conftest.$ac_objext; then
7740 eval "$as_ac_Header=yes"
7741 else
7742 echo "$as_me: failed program was:" >&5
7743 sed 's/^/| /' conftest.$ac_ext >&5
7745 eval "$as_ac_Header=no"
7748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7750 ac_res=`eval echo '${'$as_ac_Header'}'`
7751 { echo "$as_me:$LINENO: result: $ac_res" >&5
7752 echo "${ECHO_T}$ac_res" >&6; }
7753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7754 cat >>confdefs.h <<_ACEOF
7755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7756 _ACEOF
7760 done
7764 for ac_header in ucontext.h
7766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7767 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7769 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7770 echo $ECHO_N "(cached) $ECHO_C" >&6
7771 else
7772 cat >conftest.$ac_ext <<_ACEOF
7773 /* confdefs.h. */
7774 _ACEOF
7775 cat confdefs.h >>conftest.$ac_ext
7776 cat >>conftest.$ac_ext <<_ACEOF
7777 /* end confdefs.h. */
7778 #include <signal.h>
7780 #include <$ac_header>
7781 _ACEOF
7782 rm -f conftest.$ac_objext
7783 if { (ac_try="$ac_compile"
7784 case "(($ac_try" in
7785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7786 *) ac_try_echo=$ac_try;;
7787 esac
7788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7789 (eval "$ac_compile") 2>conftest.er1
7790 ac_status=$?
7791 grep -v '^ *+' conftest.er1 >conftest.err
7792 rm -f conftest.er1
7793 cat conftest.err >&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); } && {
7796 test -z "$ac_c_werror_flag" ||
7797 test ! -s conftest.err
7798 } && test -s conftest.$ac_objext; then
7799 eval "$as_ac_Header=yes"
7800 else
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.$ac_ext >&5
7804 eval "$as_ac_Header=no"
7807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7809 ac_res=`eval echo '${'$as_ac_Header'}'`
7810 { echo "$as_me:$LINENO: result: $ac_res" >&5
7811 echo "${ECHO_T}$ac_res" >&6; }
7812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7813 cat >>confdefs.h <<_ACEOF
7814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7815 _ACEOF
7819 done
7823 for ac_header in sys/thr.h
7825 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7826 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7828 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 else
7831 cat >conftest.$ac_ext <<_ACEOF
7832 /* confdefs.h. */
7833 _ACEOF
7834 cat confdefs.h >>conftest.$ac_ext
7835 cat >>conftest.$ac_ext <<_ACEOF
7836 /* end confdefs.h. */
7837 #include <sys/types.h>
7838 #ifdef HAVE_UCONTEXT_H
7839 #include <ucontext.h>
7840 #endif
7842 #include <$ac_header>
7843 _ACEOF
7844 rm -f conftest.$ac_objext
7845 if { (ac_try="$ac_compile"
7846 case "(($ac_try" in
7847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7849 esac
7850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7851 (eval "$ac_compile") 2>conftest.er1
7852 ac_status=$?
7853 grep -v '^ *+' conftest.er1 >conftest.err
7854 rm -f conftest.er1
7855 cat conftest.err >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); } && {
7858 test -z "$ac_c_werror_flag" ||
7859 test ! -s conftest.err
7860 } && test -s conftest.$ac_objext; then
7861 eval "$as_ac_Header=yes"
7862 else
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7866 eval "$as_ac_Header=no"
7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871 ac_res=`eval echo '${'$as_ac_Header'}'`
7872 { echo "$as_me:$LINENO: result: $ac_res" >&5
7873 echo "${ECHO_T}$ac_res" >&6; }
7874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7875 cat >>confdefs.h <<_ACEOF
7876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7877 _ACEOF
7881 done
7885 for ac_header in pthread_np.h
7887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7892 else
7893 cat >conftest.$ac_ext <<_ACEOF
7894 /* confdefs.h. */
7895 _ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7899 #ifdef HAVE_PTHREAD_H
7900 #include <pthread.h>
7901 #endif
7903 #include <$ac_header>
7904 _ACEOF
7905 rm -f conftest.$ac_objext
7906 if { (ac_try="$ac_compile"
7907 case "(($ac_try" in
7908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7910 esac
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_compile") 2>conftest.er1
7913 ac_status=$?
7914 grep -v '^ *+' conftest.er1 >conftest.err
7915 rm -f conftest.er1
7916 cat conftest.err >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); } && {
7919 test -z "$ac_c_werror_flag" ||
7920 test ! -s conftest.err
7921 } && test -s conftest.$ac_objext; then
7922 eval "$as_ac_Header=yes"
7923 else
7924 echo "$as_me: failed program was:" >&5
7925 sed 's/^/| /' conftest.$ac_ext >&5
7927 eval "$as_ac_Header=no"
7930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7932 ac_res=`eval echo '${'$as_ac_Header'}'`
7933 { echo "$as_me:$LINENO: result: $ac_res" >&5
7934 echo "${ECHO_T}$ac_res" >&6; }
7935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7936 cat >>confdefs.h <<_ACEOF
7937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7938 _ACEOF
7942 done
7946 for ac_header in linux/videodev.h
7948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7949 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7951 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 else
7954 cat >conftest.$ac_ext <<_ACEOF
7955 /* confdefs.h. */
7956 _ACEOF
7957 cat confdefs.h >>conftest.$ac_ext
7958 cat >>conftest.$ac_ext <<_ACEOF
7959 /* end confdefs.h. */
7960 #ifdef HAVE_SYS_TIME_H
7961 #include <sys/time.h>
7962 #endif
7963 #include <sys/types.h>
7964 #ifdef HAVE_ASM_TYPES_H
7965 #include <asm/types.h>
7966 #endif
7968 #include <$ac_header>
7969 _ACEOF
7970 rm -f conftest.$ac_objext
7971 if { (ac_try="$ac_compile"
7972 case "(($ac_try" in
7973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7974 *) ac_try_echo=$ac_try;;
7975 esac
7976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7977 (eval "$ac_compile") 2>conftest.er1
7978 ac_status=$?
7979 grep -v '^ *+' conftest.er1 >conftest.err
7980 rm -f conftest.er1
7981 cat conftest.err >&5
7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983 (exit $ac_status); } && {
7984 test -z "$ac_c_werror_flag" ||
7985 test ! -s conftest.err
7986 } && test -s conftest.$ac_objext; then
7987 eval "$as_ac_Header=yes"
7988 else
7989 echo "$as_me: failed program was:" >&5
7990 sed 's/^/| /' conftest.$ac_ext >&5
7992 eval "$as_ac_Header=no"
7995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7997 ac_res=`eval echo '${'$as_ac_Header'}'`
7998 { echo "$as_me:$LINENO: result: $ac_res" >&5
7999 echo "${ECHO_T}$ac_res" >&6; }
8000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8001 cat >>confdefs.h <<_ACEOF
8002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8003 _ACEOF
8007 done
8011 for ac_header in linux/capi.h
8013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 else
8019 cat >conftest.$ac_ext <<_ACEOF
8020 /* confdefs.h. */
8021 _ACEOF
8022 cat confdefs.h >>conftest.$ac_ext
8023 cat >>conftest.$ac_ext <<_ACEOF
8024 /* end confdefs.h. */
8025 #define __user
8027 #include <$ac_header>
8028 _ACEOF
8029 rm -f conftest.$ac_objext
8030 if { (ac_try="$ac_compile"
8031 case "(($ac_try" in
8032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8033 *) ac_try_echo=$ac_try;;
8034 esac
8035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8036 (eval "$ac_compile") 2>conftest.er1
8037 ac_status=$?
8038 grep -v '^ *+' conftest.er1 >conftest.err
8039 rm -f conftest.er1
8040 cat conftest.err >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); } && {
8043 test -z "$ac_c_werror_flag" ||
8044 test ! -s conftest.err
8045 } && test -s conftest.$ac_objext; then
8046 eval "$as_ac_Header=yes"
8047 else
8048 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.$ac_ext >&5
8051 eval "$as_ac_Header=no"
8054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8056 ac_res=`eval echo '${'$as_ac_Header'}'`
8057 { echo "$as_me:$LINENO: result: $ac_res" >&5
8058 echo "${ECHO_T}$ac_res" >&6; }
8059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8060 cat >>confdefs.h <<_ACEOF
8061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8062 _ACEOF
8066 done
8070 DLLEXT=""
8072 DLLFLAGS="-D_REENTRANT"
8074 LDSHARED=""
8076 LDDLLFLAGS=""
8078 LIBEXT="so"
8080 IMPLIBEXT="def"
8082 LDRPATH_INSTALL=""
8084 LDRPATH_LOCAL=""
8086 # Extract the first word of "ldd", so it can be a program name with args.
8087 set dummy ldd; ac_word=$2
8088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8090 if test "${ac_cv_path_LDD+set}" = set; then
8091 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 else
8093 case $LDD in
8094 [\\/]* | ?:[\\/]*)
8095 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 as_dummy="/sbin:/usr/sbin:$PATH"
8100 for as_dir in $as_dummy
8102 IFS=$as_save_IFS
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8106 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 break 2
8110 done
8111 done
8112 IFS=$as_save_IFS
8114 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8116 esac
8118 LDD=$ac_cv_path_LDD
8119 if test -n "$LDD"; then
8120 { echo "$as_me:$LINENO: result: $LDD" >&5
8121 echo "${ECHO_T}$LDD" >&6; }
8122 else
8123 { echo "$as_me:$LINENO: result: no" >&5
8124 echo "${ECHO_T}no" >&6; }
8129 case $host_os in
8130 cygwin*|mingw32*)
8131 if test -n "$ac_tool_prefix"; then
8132 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8133 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8136 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8137 echo $ECHO_N "(cached) $ECHO_C" >&6
8138 else
8139 if test -n "$DLLTOOL"; then
8140 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8141 else
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 for as_dir in $PATH
8145 IFS=$as_save_IFS
8146 test -z "$as_dir" && as_dir=.
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8149 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8151 break 2
8153 done
8154 done
8155 IFS=$as_save_IFS
8159 DLLTOOL=$ac_cv_prog_DLLTOOL
8160 if test -n "$DLLTOOL"; then
8161 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8162 echo "${ECHO_T}$DLLTOOL" >&6; }
8163 else
8164 { echo "$as_me:$LINENO: result: no" >&5
8165 echo "${ECHO_T}no" >&6; }
8170 if test -z "$ac_cv_prog_DLLTOOL"; then
8171 ac_ct_DLLTOOL=$DLLTOOL
8172 # Extract the first word of "dlltool", so it can be a program name with args.
8173 set dummy dlltool; ac_word=$2
8174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8176 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8177 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 else
8179 if test -n "$ac_ct_DLLTOOL"; then
8180 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8181 else
8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183 for as_dir in $PATH
8185 IFS=$as_save_IFS
8186 test -z "$as_dir" && as_dir=.
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8189 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8191 break 2
8193 done
8194 done
8195 IFS=$as_save_IFS
8199 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8200 if test -n "$ac_ct_DLLTOOL"; then
8201 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8202 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8203 else
8204 { echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6; }
8208 if test "x$ac_ct_DLLTOOL" = x; then
8209 DLLTOOL="false"
8210 else
8211 case $cross_compiling:$ac_tool_warned in
8212 yes:)
8213 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8214 whose name does not start with the host triplet. If you think this
8215 configuration is useful to you, please write to autoconf@gnu.org." >&5
8216 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8217 whose name does not start with the host triplet. If you think this
8218 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8219 ac_tool_warned=yes ;;
8220 esac
8221 DLLTOOL=$ac_ct_DLLTOOL
8223 else
8224 DLLTOOL="$ac_cv_prog_DLLTOOL"
8227 if test -n "$ac_tool_prefix"; then
8228 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8229 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8232 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 else
8235 if test -n "$DLLWRAP"; then
8236 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8241 IFS=$as_save_IFS
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 break 2
8249 done
8250 done
8251 IFS=$as_save_IFS
8255 DLLWRAP=$ac_cv_prog_DLLWRAP
8256 if test -n "$DLLWRAP"; then
8257 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8258 echo "${ECHO_T}$DLLWRAP" >&6; }
8259 else
8260 { echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6; }
8266 if test -z "$ac_cv_prog_DLLWRAP"; then
8267 ac_ct_DLLWRAP=$DLLWRAP
8268 # Extract the first word of "dllwrap", so it can be a program name with args.
8269 set dummy dllwrap; ac_word=$2
8270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8272 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 else
8275 if test -n "$ac_ct_DLLWRAP"; then
8276 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8277 else
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 for as_dir in $PATH
8281 IFS=$as_save_IFS
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 break 2
8289 done
8290 done
8291 IFS=$as_save_IFS
8295 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8296 if test -n "$ac_ct_DLLWRAP"; then
8297 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8298 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8299 else
8300 { echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6; }
8304 if test "x$ac_ct_DLLWRAP" = x; then
8305 DLLWRAP="false"
8306 else
8307 case $cross_compiling:$ac_tool_warned in
8308 yes:)
8309 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8310 whose name does not start with the host triplet. If you think this
8311 configuration is useful to you, please write to autoconf@gnu.org." >&5
8312 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8313 whose name does not start with the host triplet. If you think this
8314 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8315 ac_tool_warned=yes ;;
8316 esac
8317 DLLWRAP=$ac_ct_DLLWRAP
8319 else
8320 DLLWRAP="$ac_cv_prog_DLLWRAP"
8323 if test -n "$ac_tool_prefix"; then
8324 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8325 set dummy ${ac_tool_prefix}ar; ac_word=$2
8326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8328 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8329 echo $ECHO_N "(cached) $ECHO_C" >&6
8330 else
8331 if test -n "$MINGWAR"; then
8332 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8333 else
8334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8335 for as_dir in $PATH
8337 IFS=$as_save_IFS
8338 test -z "$as_dir" && as_dir=.
8339 for ac_exec_ext in '' $ac_executable_extensions; do
8340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8341 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8343 break 2
8345 done
8346 done
8347 IFS=$as_save_IFS
8351 MINGWAR=$ac_cv_prog_MINGWAR
8352 if test -n "$MINGWAR"; then
8353 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8354 echo "${ECHO_T}$MINGWAR" >&6; }
8355 else
8356 { echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6; }
8362 if test -z "$ac_cv_prog_MINGWAR"; then
8363 ac_ct_MINGWAR=$MINGWAR
8364 # Extract the first word of "ar", so it can be a program name with args.
8365 set dummy ar; ac_word=$2
8366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8368 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 else
8371 if test -n "$ac_ct_MINGWAR"; then
8372 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8373 else
8374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 for as_dir in $PATH
8377 IFS=$as_save_IFS
8378 test -z "$as_dir" && as_dir=.
8379 for ac_exec_ext in '' $ac_executable_extensions; do
8380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8381 ac_cv_prog_ac_ct_MINGWAR="ar"
8382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8383 break 2
8385 done
8386 done
8387 IFS=$as_save_IFS
8391 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8392 if test -n "$ac_ct_MINGWAR"; then
8393 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8394 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8395 else
8396 { echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6; }
8400 if test "x$ac_ct_MINGWAR" = x; then
8401 MINGWAR="false"
8402 else
8403 case $cross_compiling:$ac_tool_warned in
8404 yes:)
8405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8406 whose name does not start with the host triplet. If you think this
8407 configuration is useful to you, please write to autoconf@gnu.org." >&5
8408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8409 whose name does not start with the host triplet. If you think this
8410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8411 ac_tool_warned=yes ;;
8412 esac
8413 MINGWAR=$ac_ct_MINGWAR
8415 else
8416 MINGWAR="$ac_cv_prog_MINGWAR"
8419 if test "$DLLWRAP" = "false"; then
8420 LIBEXT="a"
8421 else
8422 LIBEXT="dll"
8424 IMPLIBEXT="a"
8425 WIN16_FILES=""
8426 WIN16_INSTALL=""
8428 darwin*|macosx*)
8429 DLLEXT=".so"
8430 LIBEXT="dylib"
8431 DLLFLAGS="$DLLFLAGS -fPIC"
8432 LDDLLFLAGS="-bundle -multiply_defined suppress"
8433 LIBWINE_LDFLAGS="-multiply_defined suppress"
8434 LDSHARED="\$(CC) -dynamiclib"
8435 STRIP="$STRIP -x"
8436 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8437 SECURITYLIB="-framework Security -framework CoreFoundation"
8439 COREFOUNDATIONLIB="-framework CoreFoundation"
8441 IOKITLIB="-framework IOKit -framework CoreFoundation"
8443 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8445 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8446 then
8447 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8450 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8451 then
8452 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8455 case $host_cpu in
8456 *powerpc*)
8457 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8458 esac
8459 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8460 then
8461 CARBONLIB="-framework Carbon"
8463 QUARTZFILES='$(QUARTZFILES)'
8467 DLLFLAGS="$DLLFLAGS -fPIC"
8468 DLLEXT=".so"
8469 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8470 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8471 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8472 echo $ECHO_N "(cached) $ECHO_C" >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8476 cat >conftest.$ac_ext <<_ACEOF
8477 void myfunc() {}
8478 _ACEOF
8479 rm -f conftest.$ac_objext conftest$ac_exeext
8480 if { (ac_try="$ac_link"
8481 case "(($ac_try" in
8482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8483 *) ac_try_echo=$ac_try;;
8484 esac
8485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8486 (eval "$ac_link") 2>conftest.er1
8487 ac_status=$?
8488 grep -v '^ *+' conftest.er1 >conftest.err
8489 rm -f conftest.er1
8490 cat conftest.err >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } && {
8493 test -z "$ac_c_werror_flag" ||
8494 test ! -s conftest.err
8495 } && test -s conftest$ac_exeext &&
8496 $as_test_x conftest$ac_exeext; then
8497 ac_cv_c_dll_gnuelf="yes"
8498 else
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_cv_c_dll_gnuelf="no"
8505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8510 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8511 if test "$ac_cv_c_dll_gnuelf" = "yes"
8512 then
8513 LDSHARED="\$(CC) -shared"
8514 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8515 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8516 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8517 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8519 else
8520 ac_wine_try_cflags_saved=$CFLAGS
8521 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8522 cat >conftest.$ac_ext <<_ACEOF
8523 /* confdefs.h. */
8524 _ACEOF
8525 cat confdefs.h >>conftest.$ac_ext
8526 cat >>conftest.$ac_ext <<_ACEOF
8527 /* end confdefs.h. */
8530 main ()
8534 return 0;
8536 _ACEOF
8537 rm -f conftest.$ac_objext conftest$ac_exeext
8538 if { (ac_try="$ac_link"
8539 case "(($ac_try" in
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8541 *) ac_try_echo=$ac_try;;
8542 esac
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8544 (eval "$ac_link") 2>conftest.er1
8545 ac_status=$?
8546 grep -v '^ *+' conftest.er1 >conftest.err
8547 rm -f conftest.er1
8548 cat conftest.err >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } && {
8551 test -z "$ac_c_werror_flag" ||
8552 test ! -s conftest.err
8553 } && test -s conftest$ac_exeext &&
8554 $as_test_x conftest$ac_exeext; then
8555 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8556 else
8557 echo "$as_me: failed program was:" >&5
8558 sed 's/^/| /' conftest.$ac_ext >&5
8560 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8564 conftest$ac_exeext conftest.$ac_ext
8565 CFLAGS=$ac_wine_try_cflags_saved
8567 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8568 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8569 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8570 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8571 else
8572 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8573 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8574 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8575 echo $ECHO_N "(cached) $ECHO_C" >&6
8576 else
8577 ac_wine_try_cflags_saved=$CFLAGS
8578 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8579 cat >conftest.$ac_ext <<_ACEOF
8580 /* confdefs.h. */
8581 _ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8587 main ()
8591 return 0;
8593 _ACEOF
8594 rm -f conftest.$ac_objext conftest$ac_exeext
8595 if { (ac_try="$ac_link"
8596 case "(($ac_try" in
8597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8598 *) ac_try_echo=$ac_try;;
8599 esac
8600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8601 (eval "$ac_link") 2>conftest.er1
8602 ac_status=$?
8603 grep -v '^ *+' conftest.er1 >conftest.err
8604 rm -f conftest.er1
8605 cat conftest.err >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } && {
8608 test -z "$ac_c_werror_flag" ||
8609 test ! -s conftest.err
8610 } && test -s conftest$ac_exeext &&
8611 $as_test_x conftest$ac_exeext; then
8612 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8613 else
8614 echo "$as_me: failed program was:" >&5
8615 sed 's/^/| /' conftest.$ac_ext >&5
8617 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8625 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8626 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8627 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8633 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8634 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8635 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8636 echo $ECHO_N "(cached) $ECHO_C" >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8640 cat >conftest.$ac_ext <<_ACEOF
8641 /* confdefs.h. */
8642 _ACEOF
8643 cat confdefs.h >>conftest.$ac_ext
8644 cat >>conftest.$ac_ext <<_ACEOF
8645 /* end confdefs.h. */
8648 main ()
8652 return 0;
8654 _ACEOF
8655 rm -f conftest.$ac_objext conftest$ac_exeext
8656 if { (ac_try="$ac_link"
8657 case "(($ac_try" in
8658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8659 *) ac_try_echo=$ac_try;;
8660 esac
8661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8662 (eval "$ac_link") 2>conftest.er1
8663 ac_status=$?
8664 grep -v '^ *+' conftest.er1 >conftest.err
8665 rm -f conftest.er1
8666 cat conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && {
8669 test -z "$ac_c_werror_flag" ||
8670 test ! -s conftest.err
8671 } && test -s conftest$ac_exeext &&
8672 $as_test_x conftest$ac_exeext; then
8673 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8674 else
8675 echo "$as_me: failed program was:" >&5
8676 sed 's/^/| /' conftest.$ac_ext >&5
8678 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8686 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8687 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8688 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8692 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8693 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8694 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8696 else
8697 ac_wine_try_cflags_saved=$CFLAGS
8698 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8699 cat >conftest.$ac_ext <<_ACEOF
8700 /* confdefs.h. */
8701 _ACEOF
8702 cat confdefs.h >>conftest.$ac_ext
8703 cat >>conftest.$ac_ext <<_ACEOF
8704 /* end confdefs.h. */
8707 main ()
8711 return 0;
8713 _ACEOF
8714 rm -f conftest.$ac_objext conftest$ac_exeext
8715 if { (ac_try="$ac_link"
8716 case "(($ac_try" in
8717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8718 *) ac_try_echo=$ac_try;;
8719 esac
8720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8721 (eval "$ac_link") 2>conftest.er1
8722 ac_status=$?
8723 grep -v '^ *+' conftest.er1 >conftest.err
8724 rm -f conftest.er1
8725 cat conftest.err >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); } && {
8728 test -z "$ac_c_werror_flag" ||
8729 test ! -s conftest.err
8730 } && test -s conftest$ac_exeext &&
8731 $as_test_x conftest$ac_exeext; then
8732 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8733 else
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.$ac_ext >&5
8737 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8745 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8746 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8747 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8751 echo '{ global: *; };' >conftest.map
8752 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8753 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8754 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8759 cat >conftest.$ac_ext <<_ACEOF
8760 /* confdefs.h. */
8761 _ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8767 main ()
8771 return 0;
8773 _ACEOF
8774 rm -f conftest.$ac_objext conftest$ac_exeext
8775 if { (ac_try="$ac_link"
8776 case "(($ac_try" in
8777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8778 *) ac_try_echo=$ac_try;;
8779 esac
8780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8781 (eval "$ac_link") 2>conftest.er1
8782 ac_status=$?
8783 grep -v '^ *+' conftest.er1 >conftest.err
8784 rm -f conftest.er1
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } && {
8788 test -z "$ac_c_werror_flag" ||
8789 test ! -s conftest.err
8790 } && test -s conftest$ac_exeext &&
8791 $as_test_x conftest$ac_exeext; then
8792 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8793 else
8794 echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.$ac_ext >&5
8797 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8805 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8806 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8807 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8810 rm -f conftest.map
8812 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8813 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8814 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8819 cat >conftest.$ac_ext <<_ACEOF
8820 /* confdefs.h. */
8821 _ACEOF
8822 cat confdefs.h >>conftest.$ac_ext
8823 cat >>conftest.$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8827 main ()
8831 return 0;
8833 _ACEOF
8834 rm -f conftest.$ac_objext conftest$ac_exeext
8835 if { (ac_try="$ac_link"
8836 case "(($ac_try" in
8837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8839 esac
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_link") 2>conftest.er1
8842 ac_status=$?
8843 grep -v '^ *+' conftest.er1 >conftest.err
8844 rm -f conftest.er1
8845 cat conftest.err >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } && {
8848 test -z "$ac_c_werror_flag" ||
8849 test ! -s conftest.err
8850 } && test -s conftest$ac_exeext &&
8851 $as_test_x conftest$ac_exeext; then
8852 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8853 else
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8857 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8861 conftest$ac_exeext conftest.$ac_ext
8862 CFLAGS=$ac_wine_try_cflags_saved
8864 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8865 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8866 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8867 LDEXECFLAGS="-Wl,--export-dynamic"
8872 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8873 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8874 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8875 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8876 echo $ECHO_N "(cached) $ECHO_C" >&6
8877 else
8878 ac_wine_try_cflags_saved=$CFLAGS
8879 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8880 cat >conftest.$ac_ext <<_ACEOF
8881 /* confdefs.h. */
8882 _ACEOF
8883 cat confdefs.h >>conftest.$ac_ext
8884 cat >>conftest.$ac_ext <<_ACEOF
8885 /* end confdefs.h. */
8888 main ()
8892 return 0;
8894 _ACEOF
8895 rm -f conftest.$ac_objext conftest$ac_exeext
8896 if { (ac_try="$ac_link"
8897 case "(($ac_try" in
8898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8899 *) ac_try_echo=$ac_try;;
8900 esac
8901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8902 (eval "$ac_link") 2>conftest.er1
8903 ac_status=$?
8904 grep -v '^ *+' conftest.er1 >conftest.err
8905 rm -f conftest.er1
8906 cat conftest.err >&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); } && {
8909 test -z "$ac_c_werror_flag" ||
8910 test ! -s conftest.err
8911 } && test -s conftest$ac_exeext &&
8912 $as_test_x conftest$ac_exeext; then
8913 eval "$as_ac_var=yes"
8914 else
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.$ac_ext >&5
8918 eval "$as_ac_var=no"
8921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8922 conftest$ac_exeext conftest.$ac_ext
8923 CFLAGS=$ac_wine_try_cflags_saved
8925 ac_res=`eval echo '${'$as_ac_var'}'`
8926 { echo "$as_me:$LINENO: result: $ac_res" >&5
8927 echo "${ECHO_T}$ac_res" >&6; }
8928 if test `eval echo '${'$as_ac_var'}'` = yes; then
8929 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8930 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8931 else
8932 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8933 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8934 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8936 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 else
8938 ac_wine_try_cflags_saved=$CFLAGS
8939 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8940 cat >conftest.$ac_ext <<_ACEOF
8941 /* confdefs.h. */
8942 _ACEOF
8943 cat confdefs.h >>conftest.$ac_ext
8944 cat >>conftest.$ac_ext <<_ACEOF
8945 /* end confdefs.h. */
8948 main ()
8952 return 0;
8954 _ACEOF
8955 rm -f conftest.$ac_objext conftest$ac_exeext
8956 if { (ac_try="$ac_link"
8957 case "(($ac_try" in
8958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8959 *) ac_try_echo=$ac_try;;
8960 esac
8961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8962 (eval "$ac_link") 2>conftest.er1
8963 ac_status=$?
8964 grep -v '^ *+' conftest.er1 >conftest.err
8965 rm -f conftest.er1
8966 cat conftest.err >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } && {
8969 test -z "$ac_c_werror_flag" ||
8970 test ! -s conftest.err
8971 } && test -s conftest$ac_exeext &&
8972 $as_test_x conftest$ac_exeext; then
8973 eval "$as_ac_var=yes"
8974 else
8975 echo "$as_me: failed program was:" >&5
8976 sed 's/^/| /' conftest.$ac_ext >&5
8978 eval "$as_ac_var=no"
8981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8982 conftest$ac_exeext conftest.$ac_ext
8983 CFLAGS=$ac_wine_try_cflags_saved
8985 ac_res=`eval echo '${'$as_ac_var'}'`
8986 { echo "$as_me:$LINENO: result: $ac_res" >&5
8987 echo "${ECHO_T}$ac_res" >&6; }
8988 if test `eval echo '${'$as_ac_var'}'` = yes; then
8989 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8990 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8996 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8997 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8998 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9000 else
9001 ac_wine_try_cflags_saved=$CFLAGS
9002 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9003 cat >conftest.$ac_ext <<_ACEOF
9004 /* confdefs.h. */
9005 _ACEOF
9006 cat confdefs.h >>conftest.$ac_ext
9007 cat >>conftest.$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9011 main ()
9015 return 0;
9017 _ACEOF
9018 rm -f conftest.$ac_objext conftest$ac_exeext
9019 if { (ac_try="$ac_link"
9020 case "(($ac_try" in
9021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9022 *) ac_try_echo=$ac_try;;
9023 esac
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_link") 2>conftest.er1
9026 ac_status=$?
9027 grep -v '^ *+' conftest.er1 >conftest.err
9028 rm -f conftest.er1
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest$ac_exeext &&
9035 $as_test_x conftest$ac_exeext; then
9036 ac_cv_cflags__Wl___enable_new_dtags=yes
9037 else
9038 echo "$as_me: failed program was:" >&5
9039 sed 's/^/| /' conftest.$ac_ext >&5
9041 ac_cv_cflags__Wl___enable_new_dtags=no
9044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9045 conftest$ac_exeext conftest.$ac_ext
9046 CFLAGS=$ac_wine_try_cflags_saved
9048 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9049 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9050 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9051 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9055 case $host_cpu in
9056 *i[3456789]86* | x86_64)
9057 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9058 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9059 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 else
9062 ac_wine_try_cflags_saved=$CFLAGS
9063 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9064 cat >conftest.$ac_ext <<_ACEOF
9065 /* confdefs.h. */
9066 _ACEOF
9067 cat confdefs.h >>conftest.$ac_ext
9068 cat >>conftest.$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9072 main ()
9076 return 0;
9078 _ACEOF
9079 rm -f conftest.$ac_objext conftest$ac_exeext
9080 if { (ac_try="$ac_link"
9081 case "(($ac_try" in
9082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9083 *) ac_try_echo=$ac_try;;
9084 esac
9085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9086 (eval "$ac_link") 2>conftest.er1
9087 ac_status=$?
9088 grep -v '^ *+' conftest.er1 >conftest.err
9089 rm -f conftest.er1
9090 cat conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } && {
9093 test -z "$ac_c_werror_flag" ||
9094 test ! -s conftest.err
9095 } && test -s conftest$ac_exeext &&
9096 $as_test_x conftest$ac_exeext; then
9097 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9098 else
9099 echo "$as_me: failed program was:" >&5
9100 sed 's/^/| /' conftest.$ac_ext >&5
9102 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9106 conftest$ac_exeext conftest.$ac_ext
9107 CFLAGS=$ac_wine_try_cflags_saved
9109 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9110 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9111 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9112 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9116 esac
9118 else
9119 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9120 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9121 if test "${ac_cv_c_dll_unixware+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9123 else
9124 ac_wine_try_cflags_saved=$CFLAGS
9125 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9126 cat >conftest.$ac_ext <<_ACEOF
9127 void myfunc() {}
9128 _ACEOF
9129 rm -f conftest.$ac_objext conftest$ac_exeext
9130 if { (ac_try="$ac_link"
9131 case "(($ac_try" in
9132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9133 *) ac_try_echo=$ac_try;;
9134 esac
9135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9136 (eval "$ac_link") 2>conftest.er1
9137 ac_status=$?
9138 grep -v '^ *+' conftest.er1 >conftest.err
9139 rm -f conftest.er1
9140 cat conftest.err >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } && {
9143 test -z "$ac_c_werror_flag" ||
9144 test ! -s conftest.err
9145 } && test -s conftest$ac_exeext &&
9146 $as_test_x conftest$ac_exeext; then
9147 ac_cv_c_dll_unixware="yes"
9148 else
9149 echo "$as_me: failed program was:" >&5
9150 sed 's/^/| /' conftest.$ac_ext >&5
9152 ac_cv_c_dll_unixware="no"
9155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9156 conftest$ac_exeext conftest.$ac_ext
9157 CFLAGS=$ac_wine_try_cflags_saved
9159 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9160 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9161 if test "$ac_cv_c_dll_unixware" = "yes"
9162 then
9163 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9164 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9166 else
9167 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9168 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9169 if test "${ac_cv_c_dll_hpux+set}" = set; then
9170 echo $ECHO_N "(cached) $ECHO_C" >&6
9171 else
9172 ac_wine_try_cflags_saved=$CFLAGS
9173 CFLAGS="$CFLAGS -shared"
9174 cat >conftest.$ac_ext <<_ACEOF
9175 void myfunc() {}
9176 _ACEOF
9177 rm -f conftest.$ac_objext conftest$ac_exeext
9178 if { (ac_try="$ac_link"
9179 case "(($ac_try" in
9180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9181 *) ac_try_echo=$ac_try;;
9182 esac
9183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9184 (eval "$ac_link") 2>conftest.er1
9185 ac_status=$?
9186 grep -v '^ *+' conftest.er1 >conftest.err
9187 rm -f conftest.er1
9188 cat conftest.err >&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } && {
9191 test -z "$ac_c_werror_flag" ||
9192 test ! -s conftest.err
9193 } && test -s conftest$ac_exeext &&
9194 $as_test_x conftest$ac_exeext; then
9195 ac_cv_c_dll_hpux="yes"
9196 else
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9200 ac_cv_c_dll_hpux="no"
9203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9204 conftest$ac_exeext conftest.$ac_ext
9205 CFLAGS=$ac_wine_try_cflags_saved
9207 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9208 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9209 if test "$ac_cv_c_dll_hpux" = "yes"
9210 then
9211 LIBEXT="sl"
9212 DLLEXT=".sl"
9213 LDDLLFLAGS="-shared -fPIC"
9214 LDSHARED="\$(CC) -shared"
9219 CROSSTEST=""
9221 if test "$cross_compiling" = "no"
9222 then
9223 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9225 # Extract the first word of "$ac_prog", so it can be a program name with args.
9226 set dummy $ac_prog; ac_word=$2
9227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9229 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9231 else
9232 if test -n "$CROSSCC"; then
9233 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9234 else
9235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 for as_dir in $PATH
9238 IFS=$as_save_IFS
9239 test -z "$as_dir" && as_dir=.
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9242 ac_cv_prog_CROSSCC="$ac_prog"
9243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9244 break 2
9246 done
9247 done
9248 IFS=$as_save_IFS
9252 CROSSCC=$ac_cv_prog_CROSSCC
9253 if test -n "$CROSSCC"; then
9254 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9255 echo "${ECHO_T}$CROSSCC" >&6; }
9256 else
9257 { echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6; }
9262 test -n "$CROSSCC" && break
9263 done
9264 test -n "$CROSSCC" || CROSSCC="false"
9266 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9268 # Extract the first word of "$ac_prog", so it can be a program name with args.
9269 set dummy $ac_prog; ac_word=$2
9270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9272 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9274 else
9275 if test -n "$DLLTOOL"; then
9276 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9277 else
9278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 for as_dir in $PATH
9281 IFS=$as_save_IFS
9282 test -z "$as_dir" && as_dir=.
9283 for ac_exec_ext in '' $ac_executable_extensions; do
9284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9285 ac_cv_prog_DLLTOOL="$ac_prog"
9286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9287 break 2
9289 done
9290 done
9291 IFS=$as_save_IFS
9295 DLLTOOL=$ac_cv_prog_DLLTOOL
9296 if test -n "$DLLTOOL"; then
9297 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9298 echo "${ECHO_T}$DLLTOOL" >&6; }
9299 else
9300 { echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6; }
9305 test -n "$DLLTOOL" && break
9306 done
9307 test -n "$DLLTOOL" || DLLTOOL="false"
9309 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9311 # Extract the first word of "$ac_prog", so it can be a program name with args.
9312 set dummy $ac_prog; ac_word=$2
9313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9315 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9317 else
9318 if test -n "$CROSSWINDRES"; then
9319 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9320 else
9321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9322 for as_dir in $PATH
9324 IFS=$as_save_IFS
9325 test -z "$as_dir" && as_dir=.
9326 for ac_exec_ext in '' $ac_executable_extensions; do
9327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9328 ac_cv_prog_CROSSWINDRES="$ac_prog"
9329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9330 break 2
9332 done
9333 done
9334 IFS=$as_save_IFS
9338 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9339 if test -n "$CROSSWINDRES"; then
9340 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9341 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9342 else
9343 { echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6; }
9348 test -n "$CROSSWINDRES" && break
9349 done
9350 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9352 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9354 # Extract the first word of "$ac_prog", so it can be a program name with args.
9355 set dummy $ac_prog; ac_word=$2
9356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9358 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9359 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 else
9361 if test -n "$MINGWAR"; then
9362 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9363 else
9364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9365 for as_dir in $PATH
9367 IFS=$as_save_IFS
9368 test -z "$as_dir" && as_dir=.
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9371 ac_cv_prog_MINGWAR="$ac_prog"
9372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9373 break 2
9375 done
9376 done
9377 IFS=$as_save_IFS
9381 MINGWAR=$ac_cv_prog_MINGWAR
9382 if test -n "$MINGWAR"; then
9383 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9384 echo "${ECHO_T}$MINGWAR" >&6; }
9385 else
9386 { echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6; }
9391 test -n "$MINGWAR" && break
9392 done
9393 test -n "$MINGWAR" || MINGWAR="false"
9395 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9398 esac
9400 if test "$LIBEXT" = "a"; then
9401 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9402 It is currently not possible to build Wine without shared library
9403 (.so) support to allow transparent switch between .so and .dll files.
9404 If you are using Linux, you will need a newer binutils.
9405 " >&5
9406 echo "$as_me: error: could not find a way to build shared libraries.
9407 It is currently not possible to build Wine without shared library
9408 (.so) support to allow transparent switch between .so and .dll files.
9409 If you are using Linux, you will need a newer binutils.
9410 " >&2;}
9411 { (exit 1); exit 1; }; }
9415 if test "$have_x" = "yes"
9416 then
9417 XLIB="-lXext -lX11"
9418 ac_save_CPPFLAGS="$CPPFLAGS"
9419 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9421 { echo "$as_me:$LINENO: checking for -lX11" >&5
9422 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9423 if test "${ac_cv_lib_soname_X11+set}" = set; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9425 else
9426 ac_check_soname_save_LIBS=$LIBS
9427 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9428 cat >conftest.$ac_ext <<_ACEOF
9429 /* confdefs.h. */
9430 _ACEOF
9431 cat confdefs.h >>conftest.$ac_ext
9432 cat >>conftest.$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9435 /* Override any GCC internal prototype to avoid an error.
9436 Use char because int might match the return type of a GCC
9437 builtin and then its argument prototype would still apply. */
9438 #ifdef __cplusplus
9439 extern "C"
9440 #endif
9441 char XCreateWindow ();
9443 main ()
9445 return XCreateWindow ();
9447 return 0;
9449 _ACEOF
9450 rm -f conftest.$ac_objext conftest$ac_exeext
9451 if { (ac_try="$ac_link"
9452 case "(($ac_try" in
9453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9454 *) ac_try_echo=$ac_try;;
9455 esac
9456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9457 (eval "$ac_link") 2>conftest.er1
9458 ac_status=$?
9459 grep -v '^ *+' conftest.er1 >conftest.err
9460 rm -f conftest.er1
9461 cat conftest.err >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); } && {
9464 test -z "$ac_c_werror_flag" ||
9465 test ! -s conftest.err
9466 } && test -s conftest$ac_exeext &&
9467 $as_test_x conftest$ac_exeext; then
9468 case "$LIBEXT" in
9469 dll) ;;
9470 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'` ;;
9471 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9472 esac
9473 else
9474 echo "$as_me: failed program was:" >&5
9475 sed 's/^/| /' conftest.$ac_ext >&5
9480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9481 conftest$ac_exeext conftest.$ac_ext
9482 LIBS=$ac_check_soname_save_LIBS
9484 if test "x$ac_cv_lib_soname_X11" = "x"; then
9485 { echo "$as_me:$LINENO: result: not found" >&5
9486 echo "${ECHO_T}not found" >&6; }
9488 else
9489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9490 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9492 cat >>confdefs.h <<_ACEOF
9493 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9494 _ACEOF
9499 { echo "$as_me:$LINENO: checking for -lXext" >&5
9500 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9501 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 else
9504 ac_check_soname_save_LIBS=$LIBS
9505 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9506 cat >conftest.$ac_ext <<_ACEOF
9507 /* confdefs.h. */
9508 _ACEOF
9509 cat confdefs.h >>conftest.$ac_ext
9510 cat >>conftest.$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9516 #ifdef __cplusplus
9517 extern "C"
9518 #endif
9519 char XextCreateExtension ();
9521 main ()
9523 return XextCreateExtension ();
9525 return 0;
9527 _ACEOF
9528 rm -f conftest.$ac_objext conftest$ac_exeext
9529 if { (ac_try="$ac_link"
9530 case "(($ac_try" in
9531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9533 esac
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
9536 ac_status=$?
9537 grep -v '^ *+' conftest.er1 >conftest.err
9538 rm -f conftest.er1
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest$ac_exeext &&
9545 $as_test_x conftest$ac_exeext; then
9546 case "$LIBEXT" in
9547 dll) ;;
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9550 esac
9551 else
9552 echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9563 { echo "$as_me:$LINENO: result: not found" >&5
9564 echo "${ECHO_T}not found" >&6; }
9566 else
9567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9568 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9572 _ACEOF
9590 for ac_header in X11/Xlib.h \
9591 X11/XKBlib.h \
9592 X11/Xutil.h \
9593 X11/Xcursor/Xcursor.h \
9594 X11/extensions/shape.h \
9595 X11/extensions/XInput.h \
9596 X11/extensions/XShm.h \
9597 X11/extensions/Xcomposite.h \
9598 X11/extensions/Xinerama.h \
9599 X11/extensions/Xrandr.h \
9600 X11/extensions/Xrender.h \
9601 X11/extensions/xf86vmode.h
9603 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9604 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9608 else
9609 cat >conftest.$ac_ext <<_ACEOF
9610 /* confdefs.h. */
9611 _ACEOF
9612 cat confdefs.h >>conftest.$ac_ext
9613 cat >>conftest.$ac_ext <<_ACEOF
9614 /* end confdefs.h. */
9615 #ifdef HAVE_X11_XLIB_H
9616 # include <X11/Xlib.h>
9617 #endif
9618 #ifdef HAVE_X11_XUTIL_H
9619 # include <X11/Xutil.h>
9620 #endif
9622 #include <$ac_header>
9623 _ACEOF
9624 rm -f conftest.$ac_objext
9625 if { (ac_try="$ac_compile"
9626 case "(($ac_try" in
9627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9628 *) ac_try_echo=$ac_try;;
9629 esac
9630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9631 (eval "$ac_compile") 2>conftest.er1
9632 ac_status=$?
9633 grep -v '^ *+' conftest.er1 >conftest.err
9634 rm -f conftest.er1
9635 cat conftest.err >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); } && {
9638 test -z "$ac_c_werror_flag" ||
9639 test ! -s conftest.err
9640 } && test -s conftest.$ac_objext; then
9641 eval "$as_ac_Header=yes"
9642 else
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.$ac_ext >&5
9646 eval "$as_ac_Header=no"
9649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9651 ac_res=`eval echo '${'$as_ac_Header'}'`
9652 { echo "$as_me:$LINENO: result: $ac_res" >&5
9653 echo "${ECHO_T}$ac_res" >&6; }
9654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9655 cat >>confdefs.h <<_ACEOF
9656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9657 _ACEOF
9661 done
9664 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9665 then
9666 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9667 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9668 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 else
9671 ac_check_lib_save_LIBS=$LIBS
9672 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9673 cat >conftest.$ac_ext <<_ACEOF
9674 /* confdefs.h. */
9675 _ACEOF
9676 cat confdefs.h >>conftest.$ac_ext
9677 cat >>conftest.$ac_ext <<_ACEOF
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9683 #ifdef __cplusplus
9684 extern "C"
9685 #endif
9686 char XkbQueryExtension ();
9688 main ()
9690 return XkbQueryExtension ();
9692 return 0;
9694 _ACEOF
9695 rm -f conftest.$ac_objext conftest$ac_exeext
9696 if { (ac_try="$ac_link"
9697 case "(($ac_try" in
9698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9699 *) ac_try_echo=$ac_try;;
9700 esac
9701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9702 (eval "$ac_link") 2>conftest.er1
9703 ac_status=$?
9704 grep -v '^ *+' conftest.er1 >conftest.err
9705 rm -f conftest.er1
9706 cat conftest.err >&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); } && {
9709 test -z "$ac_c_werror_flag" ||
9710 test ! -s conftest.err
9711 } && test -s conftest$ac_exeext &&
9712 $as_test_x conftest$ac_exeext; then
9713 ac_cv_lib_X11_XkbQueryExtension=yes
9714 else
9715 echo "$as_me: failed program was:" >&5
9716 sed 's/^/| /' conftest.$ac_ext >&5
9718 ac_cv_lib_X11_XkbQueryExtension=no
9721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9722 conftest$ac_exeext conftest.$ac_ext
9723 LIBS=$ac_check_lib_save_LIBS
9725 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9726 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9727 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9729 cat >>confdefs.h <<\_ACEOF
9730 #define HAVE_XKB 1
9731 _ACEOF
9737 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9738 then
9739 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9740 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9741 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 else
9744 ac_check_soname_save_LIBS=$LIBS
9745 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9746 cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h. */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9756 #ifdef __cplusplus
9757 extern "C"
9758 #endif
9759 char XcursorImageLoadCursor ();
9761 main ()
9763 return XcursorImageLoadCursor ();
9765 return 0;
9767 _ACEOF
9768 rm -f conftest.$ac_objext conftest$ac_exeext
9769 if { (ac_try="$ac_link"
9770 case "(($ac_try" in
9771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9773 esac
9774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_link") 2>conftest.er1
9776 ac_status=$?
9777 grep -v '^ *+' conftest.er1 >conftest.err
9778 rm -f conftest.er1
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest$ac_exeext &&
9785 $as_test_x conftest$ac_exeext; then
9786 case "$LIBEXT" in
9787 dll) ;;
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9790 esac
9791 else
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_soname_save_LIBS
9802 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9803 { echo "$as_me:$LINENO: result: not found" >&5
9804 echo "${ECHO_T}not found" >&6; }
9806 else
9807 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9808 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9810 cat >>confdefs.h <<_ACEOF
9811 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9812 _ACEOF
9818 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9819 case "x$with_xcursor" in
9820 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9821 xno) ;;
9822 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9823 This is an error since --with-xcursor was requested." >&5
9824 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9825 This is an error since --with-xcursor was requested." >&2;}
9826 { (exit 1); exit 1; }; } ;;
9827 esac
9831 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9832 then
9833 { echo "$as_me:$LINENO: checking for -lXi" >&5
9834 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9835 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 else
9838 ac_check_soname_save_LIBS=$LIBS
9839 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9840 cat >conftest.$ac_ext <<_ACEOF
9841 /* confdefs.h. */
9842 _ACEOF
9843 cat confdefs.h >>conftest.$ac_ext
9844 cat >>conftest.$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char XOpenDevice ();
9855 main ()
9857 return XOpenDevice ();
9859 return 0;
9861 _ACEOF
9862 rm -f conftest.$ac_objext conftest$ac_exeext
9863 if { (ac_try="$ac_link"
9864 case "(($ac_try" in
9865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9866 *) ac_try_echo=$ac_try;;
9867 esac
9868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9869 (eval "$ac_link") 2>conftest.er1
9870 ac_status=$?
9871 grep -v '^ *+' conftest.er1 >conftest.err
9872 rm -f conftest.er1
9873 cat conftest.err >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); } && {
9876 test -z "$ac_c_werror_flag" ||
9877 test ! -s conftest.err
9878 } && test -s conftest$ac_exeext &&
9879 $as_test_x conftest$ac_exeext; then
9880 case "$LIBEXT" in
9881 dll) ;;
9882 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'` ;;
9883 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9884 esac
9885 else
9886 echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_soname_save_LIBS
9896 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9897 { echo "$as_me:$LINENO: result: not found" >&5
9898 echo "${ECHO_T}not found" >&6; }
9900 else
9901 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9902 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9904 cat >>confdefs.h <<_ACEOF
9905 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9906 _ACEOF
9912 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9913 case "x$with_xinput" in
9914 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9915 xno) ;;
9916 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9917 This is an error since --with-xinput was requested." >&5
9918 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9919 This is an error since --with-xinput was requested." >&2;}
9920 { (exit 1); exit 1; }; } ;;
9921 esac
9925 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9926 then
9927 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9928 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9929 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 else
9932 ac_check_lib_save_LIBS=$LIBS
9933 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9934 cat >conftest.$ac_ext <<_ACEOF
9935 /* confdefs.h. */
9936 _ACEOF
9937 cat confdefs.h >>conftest.$ac_ext
9938 cat >>conftest.$ac_ext <<_ACEOF
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 char XShmQueryExtension ();
9949 main ()
9951 return XShmQueryExtension ();
9953 return 0;
9955 _ACEOF
9956 rm -f conftest.$ac_objext conftest$ac_exeext
9957 if { (ac_try="$ac_link"
9958 case "(($ac_try" in
9959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9960 *) ac_try_echo=$ac_try;;
9961 esac
9962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9963 (eval "$ac_link") 2>conftest.er1
9964 ac_status=$?
9965 grep -v '^ *+' conftest.er1 >conftest.err
9966 rm -f conftest.er1
9967 cat conftest.err >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } && {
9970 test -z "$ac_c_werror_flag" ||
9971 test ! -s conftest.err
9972 } && test -s conftest$ac_exeext &&
9973 $as_test_x conftest$ac_exeext; then
9974 ac_cv_lib_Xext_XShmQueryExtension=yes
9975 else
9976 echo "$as_me: failed program was:" >&5
9977 sed 's/^/| /' conftest.$ac_ext >&5
9979 ac_cv_lib_Xext_XShmQueryExtension=no
9982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9983 conftest$ac_exeext conftest.$ac_ext
9984 LIBS=$ac_check_lib_save_LIBS
9986 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9987 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9988 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9990 cat >>confdefs.h <<\_ACEOF
9991 #define HAVE_LIBXXSHM 1
9992 _ACEOF
9997 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9998 case "x$with_xshm" in
9999 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10000 xno) ;;
10001 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10002 This is an error since --with-xshm was requested." >&5
10003 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10004 This is an error since --with-xshm was requested." >&2;}
10005 { (exit 1); exit 1; }; } ;;
10006 esac
10010 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10011 then
10012 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10013 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10014 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 else
10017 ac_check_lib_save_LIBS=$LIBS
10018 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10019 cat >conftest.$ac_ext <<_ACEOF
10020 /* confdefs.h. */
10021 _ACEOF
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10029 #ifdef __cplusplus
10030 extern "C"
10031 #endif
10032 char XShapeQueryExtension ();
10034 main ()
10036 return XShapeQueryExtension ();
10038 return 0;
10040 _ACEOF
10041 rm -f conftest.$ac_objext conftest$ac_exeext
10042 if { (ac_try="$ac_link"
10043 case "(($ac_try" in
10044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10045 *) ac_try_echo=$ac_try;;
10046 esac
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10049 ac_status=$?
10050 grep -v '^ *+' conftest.er1 >conftest.err
10051 rm -f conftest.er1
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest$ac_exeext &&
10058 $as_test_x conftest$ac_exeext; then
10059 ac_cv_lib_Xext_XShapeQueryExtension=yes
10060 else
10061 echo "$as_me: failed program was:" >&5
10062 sed 's/^/| /' conftest.$ac_ext >&5
10064 ac_cv_lib_Xext_XShapeQueryExtension=no
10067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_lib_save_LIBS
10071 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10072 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10073 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10075 cat >>confdefs.h <<\_ACEOF
10076 #define HAVE_LIBXSHAPE 1
10077 _ACEOF
10082 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10083 case "x$with_xshape" in
10084 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10085 xno) ;;
10086 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10087 This is an error since --with-xshape was requested." >&5
10088 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10089 This is an error since --with-xshape was requested." >&2;}
10090 { (exit 1); exit 1; }; } ;;
10091 esac
10095 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10096 then
10097 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10098 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10099 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10101 else
10102 ac_check_lib_save_LIBS=$LIBS
10103 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10104 cat >conftest.$ac_ext <<_ACEOF
10105 /* confdefs.h. */
10106 _ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10114 #ifdef __cplusplus
10115 extern "C"
10116 #endif
10117 char XF86VidModeQueryExtension ();
10119 main ()
10121 return XF86VidModeQueryExtension ();
10123 return 0;
10125 _ACEOF
10126 rm -f conftest.$ac_objext conftest$ac_exeext
10127 if { (ac_try="$ac_link"
10128 case "(($ac_try" in
10129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10130 *) ac_try_echo=$ac_try;;
10131 esac
10132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10133 (eval "$ac_link") 2>conftest.er1
10134 ac_status=$?
10135 grep -v '^ *+' conftest.er1 >conftest.err
10136 rm -f conftest.er1
10137 cat conftest.err >&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); } && {
10140 test -z "$ac_c_werror_flag" ||
10141 test ! -s conftest.err
10142 } && test -s conftest$ac_exeext &&
10143 $as_test_x conftest$ac_exeext; then
10144 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10145 else
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10149 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10153 conftest$ac_exeext conftest.$ac_ext
10154 LIBS=$ac_check_lib_save_LIBS
10156 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10157 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10158 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10160 cat >>confdefs.h <<\_ACEOF
10161 #define HAVE_LIBXXF86VM 1
10162 _ACEOF
10164 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10169 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10170 case "x$with_xvidmode" in
10171 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10172 xno) ;;
10173 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10174 This is an error since --with-xvidmode was requested." >&5
10175 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10176 This is an error since --with-xvidmode was requested." >&2;}
10177 { (exit 1); exit 1; }; } ;;
10178 esac
10182 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"
10183 then
10184 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10185 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10186 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 else
10189 ac_check_soname_save_LIBS=$LIBS
10190 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10191 cat >conftest.$ac_ext <<_ACEOF
10192 /* confdefs.h. */
10193 _ACEOF
10194 cat confdefs.h >>conftest.$ac_ext
10195 cat >>conftest.$ac_ext <<_ACEOF
10196 /* end confdefs.h. */
10198 /* Override any GCC internal prototype to avoid an error.
10199 Use char because int might match the return type of a GCC
10200 builtin and then its argument prototype would still apply. */
10201 #ifdef __cplusplus
10202 extern "C"
10203 #endif
10204 char XRenderQueryExtension ();
10206 main ()
10208 return XRenderQueryExtension ();
10210 return 0;
10212 _ACEOF
10213 rm -f conftest.$ac_objext conftest$ac_exeext
10214 if { (ac_try="$ac_link"
10215 case "(($ac_try" in
10216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10217 *) ac_try_echo=$ac_try;;
10218 esac
10219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10220 (eval "$ac_link") 2>conftest.er1
10221 ac_status=$?
10222 grep -v '^ *+' conftest.er1 >conftest.err
10223 rm -f conftest.er1
10224 cat conftest.err >&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } && {
10227 test -z "$ac_c_werror_flag" ||
10228 test ! -s conftest.err
10229 } && test -s conftest$ac_exeext &&
10230 $as_test_x conftest$ac_exeext; then
10231 case "$LIBEXT" in
10232 dll) ;;
10233 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'` ;;
10234 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10235 esac
10236 else
10237 echo "$as_me: failed program was:" >&5
10238 sed 's/^/| /' conftest.$ac_ext >&5
10243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LIBS=$ac_check_soname_save_LIBS
10247 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10248 { echo "$as_me:$LINENO: result: not found" >&5
10249 echo "${ECHO_T}not found" >&6; }
10251 else
10252 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10253 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10255 cat >>confdefs.h <<_ACEOF
10256 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10257 _ACEOF
10259 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10260 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10261 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 else
10264 ac_check_lib_save_LIBS=$LIBS
10265 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10266 cat >conftest.$ac_ext <<_ACEOF
10267 /* confdefs.h. */
10268 _ACEOF
10269 cat confdefs.h >>conftest.$ac_ext
10270 cat >>conftest.$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10273 /* Override any GCC internal prototype to avoid an error.
10274 Use char because int might match the return type of a GCC
10275 builtin and then its argument prototype would still apply. */
10276 #ifdef __cplusplus
10277 extern "C"
10278 #endif
10279 char XRenderSetPictureTransform ();
10281 main ()
10283 return XRenderSetPictureTransform ();
10285 return 0;
10287 _ACEOF
10288 rm -f conftest.$ac_objext conftest$ac_exeext
10289 if { (ac_try="$ac_link"
10290 case "(($ac_try" in
10291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10292 *) ac_try_echo=$ac_try;;
10293 esac
10294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10295 (eval "$ac_link") 2>conftest.er1
10296 ac_status=$?
10297 grep -v '^ *+' conftest.er1 >conftest.err
10298 rm -f conftest.er1
10299 cat conftest.err >&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } && {
10302 test -z "$ac_c_werror_flag" ||
10303 test ! -s conftest.err
10304 } && test -s conftest$ac_exeext &&
10305 $as_test_x conftest$ac_exeext; then
10306 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10307 else
10308 echo "$as_me: failed program was:" >&5
10309 sed 's/^/| /' conftest.$ac_ext >&5
10311 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10315 conftest$ac_exeext conftest.$ac_ext
10316 LIBS=$ac_check_lib_save_LIBS
10318 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10319 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10320 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10322 cat >>confdefs.h <<\_ACEOF
10323 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10324 _ACEOF
10332 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10333 case "x$with_xrender" in
10334 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10335 xno) ;;
10336 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10337 This is an error since --with-xrender was requested." >&5
10338 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10339 This is an error since --with-xrender was requested." >&2;}
10340 { (exit 1); exit 1; }; } ;;
10341 esac
10345 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10346 then
10347 cat >conftest.$ac_ext <<_ACEOF
10348 /* confdefs.h. */
10349 _ACEOF
10350 cat confdefs.h >>conftest.$ac_ext
10351 cat >>conftest.$ac_ext <<_ACEOF
10352 /* end confdefs.h. */
10353 #include <X11/Xlib.h>
10354 #include <X11/extensions/Xrandr.h>
10356 main ()
10358 static typeof(XRRSetScreenConfigAndRate) * func;
10360 return 0;
10362 _ACEOF
10363 rm -f conftest.$ac_objext
10364 if { (ac_try="$ac_compile"
10365 case "(($ac_try" in
10366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10368 esac
10369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10370 (eval "$ac_compile") 2>conftest.er1
10371 ac_status=$?
10372 grep -v '^ *+' conftest.er1 >conftest.err
10373 rm -f conftest.er1
10374 cat conftest.err >&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); } && {
10377 test -z "$ac_c_werror_flag" ||
10378 test ! -s conftest.err
10379 } && test -s conftest.$ac_objext; then
10380 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10381 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10382 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10384 else
10385 ac_check_soname_save_LIBS=$LIBS
10386 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10387 cat >conftest.$ac_ext <<_ACEOF
10388 /* confdefs.h. */
10389 _ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10394 /* Override any GCC internal prototype to avoid an error.
10395 Use char because int might match the return type of a GCC
10396 builtin and then its argument prototype would still apply. */
10397 #ifdef __cplusplus
10398 extern "C"
10399 #endif
10400 char XRRQueryExtension ();
10402 main ()
10404 return XRRQueryExtension ();
10406 return 0;
10408 _ACEOF
10409 rm -f conftest.$ac_objext conftest$ac_exeext
10410 if { (ac_try="$ac_link"
10411 case "(($ac_try" in
10412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10413 *) ac_try_echo=$ac_try;;
10414 esac
10415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10416 (eval "$ac_link") 2>conftest.er1
10417 ac_status=$?
10418 grep -v '^ *+' conftest.er1 >conftest.err
10419 rm -f conftest.er1
10420 cat conftest.err >&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } && {
10423 test -z "$ac_c_werror_flag" ||
10424 test ! -s conftest.err
10425 } && test -s conftest$ac_exeext &&
10426 $as_test_x conftest$ac_exeext; then
10427 case "$LIBEXT" in
10428 dll) ;;
10429 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'` ;;
10430 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10431 esac
10432 else
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_soname_save_LIBS
10443 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10444 { echo "$as_me:$LINENO: result: not found" >&5
10445 echo "${ECHO_T}not found" >&6; }
10447 else
10448 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10449 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10451 cat >>confdefs.h <<_ACEOF
10452 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10453 _ACEOF
10458 else
10459 echo "$as_me: failed program was:" >&5
10460 sed 's/^/| /' conftest.$ac_ext >&5
10465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10467 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10468 case "x$with_xrandr" in
10469 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10470 xno) ;;
10471 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10472 This is an error since --with-xrandr was requested." >&5
10473 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10474 This is an error since --with-xrandr was requested." >&2;}
10475 { (exit 1); exit 1; }; } ;;
10476 esac
10480 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10481 then
10482 cat >conftest.$ac_ext <<_ACEOF
10483 /* confdefs.h. */
10484 _ACEOF
10485 cat confdefs.h >>conftest.$ac_ext
10486 cat >>conftest.$ac_ext <<_ACEOF
10487 /* end confdefs.h. */
10488 #include <X11/Xlib.h>
10489 #include <X11/extensions/Xinerama.h>
10491 main ()
10493 static typeof(XineramaQueryScreens) * func;
10495 return 0;
10497 _ACEOF
10498 rm -f conftest.$ac_objext
10499 if { (ac_try="$ac_compile"
10500 case "(($ac_try" in
10501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10502 *) ac_try_echo=$ac_try;;
10503 esac
10504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10505 (eval "$ac_compile") 2>conftest.er1
10506 ac_status=$?
10507 grep -v '^ *+' conftest.er1 >conftest.err
10508 rm -f conftest.er1
10509 cat conftest.err >&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } && {
10512 test -z "$ac_c_werror_flag" ||
10513 test ! -s conftest.err
10514 } && test -s conftest.$ac_objext; then
10515 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10516 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10517 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 else
10520 ac_check_soname_save_LIBS=$LIBS
10521 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10522 cat >conftest.$ac_ext <<_ACEOF
10523 /* confdefs.h. */
10524 _ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10529 /* Override any GCC internal prototype to avoid an error.
10530 Use char because int might match the return type of a GCC
10531 builtin and then its argument prototype would still apply. */
10532 #ifdef __cplusplus
10533 extern "C"
10534 #endif
10535 char XineramaQueryScreens ();
10537 main ()
10539 return XineramaQueryScreens ();
10541 return 0;
10543 _ACEOF
10544 rm -f conftest.$ac_objext conftest$ac_exeext
10545 if { (ac_try="$ac_link"
10546 case "(($ac_try" in
10547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10548 *) ac_try_echo=$ac_try;;
10549 esac
10550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10551 (eval "$ac_link") 2>conftest.er1
10552 ac_status=$?
10553 grep -v '^ *+' conftest.er1 >conftest.err
10554 rm -f conftest.er1
10555 cat conftest.err >&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); } && {
10558 test -z "$ac_c_werror_flag" ||
10559 test ! -s conftest.err
10560 } && test -s conftest$ac_exeext &&
10561 $as_test_x conftest$ac_exeext; then
10562 case "$LIBEXT" in
10563 dll) ;;
10564 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'` ;;
10565 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10566 esac
10567 else
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10575 conftest$ac_exeext conftest.$ac_ext
10576 LIBS=$ac_check_soname_save_LIBS
10578 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10579 { echo "$as_me:$LINENO: result: not found" >&5
10580 echo "${ECHO_T}not found" >&6; }
10582 else
10583 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10584 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10586 cat >>confdefs.h <<_ACEOF
10587 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10588 _ACEOF
10593 else
10594 echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.$ac_ext >&5
10600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10602 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10603 case "x$with_xinerama" in
10604 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10605 xno) ;;
10606 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10607 This is an error since --with-xinerama was requested." >&5
10608 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10609 This is an error since --with-xinerama was requested." >&2;}
10610 { (exit 1); exit 1; }; } ;;
10611 esac
10615 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10616 then
10617 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10618 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10619 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10622 ac_check_soname_save_LIBS=$LIBS
10623 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10624 cat >conftest.$ac_ext <<_ACEOF
10625 /* confdefs.h. */
10626 _ACEOF
10627 cat confdefs.h >>conftest.$ac_ext
10628 cat >>conftest.$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10631 /* Override any GCC internal prototype to avoid an error.
10632 Use char because int might match the return type of a GCC
10633 builtin and then its argument prototype would still apply. */
10634 #ifdef __cplusplus
10635 extern "C"
10636 #endif
10637 char XCompositeRedirectWindow ();
10639 main ()
10641 return XCompositeRedirectWindow ();
10643 return 0;
10645 _ACEOF
10646 rm -f conftest.$ac_objext conftest$ac_exeext
10647 if { (ac_try="$ac_link"
10648 case "(($ac_try" in
10649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10650 *) ac_try_echo=$ac_try;;
10651 esac
10652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10653 (eval "$ac_link") 2>conftest.er1
10654 ac_status=$?
10655 grep -v '^ *+' conftest.er1 >conftest.err
10656 rm -f conftest.er1
10657 cat conftest.err >&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && {
10660 test -z "$ac_c_werror_flag" ||
10661 test ! -s conftest.err
10662 } && test -s conftest$ac_exeext &&
10663 $as_test_x conftest$ac_exeext; then
10664 case "$LIBEXT" in
10665 dll) ;;
10666 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'` ;;
10667 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10668 esac
10669 else
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.$ac_ext >&5
10676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10677 conftest$ac_exeext conftest.$ac_ext
10678 LIBS=$ac_check_soname_save_LIBS
10680 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10681 { echo "$as_me:$LINENO: result: not found" >&5
10682 echo "${ECHO_T}not found" >&6; }
10684 else
10685 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10686 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10688 cat >>confdefs.h <<_ACEOF
10689 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10690 _ACEOF
10696 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10697 case "x$with_xcomposite" in
10698 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10699 xno) ;;
10700 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10701 This is an error since --with-xcomposite was requested." >&5
10702 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10703 This is an error since --with-xcomposite was requested." >&2;}
10704 { (exit 1); exit 1; }; } ;;
10705 esac
10710 opengl_msg=""
10711 if test "x$with_opengl" != "xno"
10712 then
10717 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10719 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10720 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10722 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10723 echo $ECHO_N "(cached) $ECHO_C" >&6
10724 else
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h. */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10731 #ifdef HAVE_GL_GLX_H
10732 # include <GL/glx.h>
10733 #endif
10735 #include <$ac_header>
10736 _ACEOF
10737 rm -f conftest.$ac_objext
10738 if { (ac_try="$ac_compile"
10739 case "(($ac_try" in
10740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10741 *) ac_try_echo=$ac_try;;
10742 esac
10743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10744 (eval "$ac_compile") 2>conftest.er1
10745 ac_status=$?
10746 grep -v '^ *+' conftest.er1 >conftest.err
10747 rm -f conftest.er1
10748 cat conftest.err >&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } && {
10751 test -z "$ac_c_werror_flag" ||
10752 test ! -s conftest.err
10753 } && test -s conftest.$ac_objext; then
10754 eval "$as_ac_Header=yes"
10755 else
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.$ac_ext >&5
10759 eval "$as_ac_Header=no"
10762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10764 ac_res=`eval echo '${'$as_ac_Header'}'`
10765 { echo "$as_me:$LINENO: result: $ac_res" >&5
10766 echo "${ECHO_T}$ac_res" >&6; }
10767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10768 cat >>confdefs.h <<_ACEOF
10769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10770 _ACEOF
10774 done
10776 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10777 then
10778 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10779 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10780 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10781 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 else
10783 cat >conftest.$ac_ext <<_ACEOF
10784 /* confdefs.h. */
10785 _ACEOF
10786 cat confdefs.h >>conftest.$ac_ext
10787 cat >>conftest.$ac_ext <<_ACEOF
10788 /* end confdefs.h. */
10789 #include <GL/gl.h>
10791 main ()
10793 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10795 return 0;
10797 _ACEOF
10798 rm -f conftest.$ac_objext
10799 if { (ac_try="$ac_compile"
10800 case "(($ac_try" in
10801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10802 *) ac_try_echo=$ac_try;;
10803 esac
10804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10805 (eval "$ac_compile") 2>conftest.er1
10806 ac_status=$?
10807 grep -v '^ *+' conftest.er1 >conftest.err
10808 rm -f conftest.er1
10809 cat conftest.err >&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } && {
10812 test -z "$ac_c_werror_flag" ||
10813 test ! -s conftest.err
10814 } && test -s conftest.$ac_objext; then
10815 wine_cv_opengl_header_version_OK="yes"
10816 else
10817 echo "$as_me: failed program was:" >&5
10818 sed 's/^/| /' conftest.$ac_ext >&5
10820 wine_cv_opengl_header_version_OK="no"
10823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10825 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10826 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10828 if test "$wine_cv_opengl_header_version_OK" = "yes"
10829 then
10830 { echo "$as_me:$LINENO: checking for -lGL" >&5
10831 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10832 if test "${ac_cv_lib_soname_GL+set}" = set; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10834 else
10835 ac_check_soname_save_LIBS=$LIBS
10836 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10837 cat >conftest.$ac_ext <<_ACEOF
10838 /* confdefs.h. */
10839 _ACEOF
10840 cat confdefs.h >>conftest.$ac_ext
10841 cat >>conftest.$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10847 #ifdef __cplusplus
10848 extern "C"
10849 #endif
10850 char glXCreateContext ();
10852 main ()
10854 return glXCreateContext ();
10856 return 0;
10858 _ACEOF
10859 rm -f conftest.$ac_objext conftest$ac_exeext
10860 if { (ac_try="$ac_link"
10861 case "(($ac_try" in
10862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10863 *) ac_try_echo=$ac_try;;
10864 esac
10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866 (eval "$ac_link") 2>conftest.er1
10867 ac_status=$?
10868 grep -v '^ *+' conftest.er1 >conftest.err
10869 rm -f conftest.er1
10870 cat conftest.err >&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); } && {
10873 test -z "$ac_c_werror_flag" ||
10874 test ! -s conftest.err
10875 } && test -s conftest$ac_exeext &&
10876 $as_test_x conftest$ac_exeext; then
10877 case "$LIBEXT" in
10878 dll) ;;
10879 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'` ;;
10880 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10881 esac
10882 else
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.$ac_ext >&5
10889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_soname_save_LIBS
10893 if test "x$ac_cv_lib_soname_GL" = "x"; then
10894 { echo "$as_me:$LINENO: result: not found" >&5
10895 echo "${ECHO_T}not found" >&6; }
10896 { echo "$as_me:$LINENO: checking for -lGL" >&5
10897 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10898 if test "${ac_cv_lib_soname_GL+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 else
10901 ac_check_soname_save_LIBS=$LIBS
10902 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"
10903 cat >conftest.$ac_ext <<_ACEOF
10904 /* confdefs.h. */
10905 _ACEOF
10906 cat confdefs.h >>conftest.$ac_ext
10907 cat >>conftest.$ac_ext <<_ACEOF
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10913 #ifdef __cplusplus
10914 extern "C"
10915 #endif
10916 char glXCreateContext ();
10918 main ()
10920 return glXCreateContext ();
10922 return 0;
10924 _ACEOF
10925 rm -f conftest.$ac_objext conftest$ac_exeext
10926 if { (ac_try="$ac_link"
10927 case "(($ac_try" in
10928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10929 *) ac_try_echo=$ac_try;;
10930 esac
10931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10932 (eval "$ac_link") 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } && {
10939 test -z "$ac_c_werror_flag" ||
10940 test ! -s conftest.err
10941 } && test -s conftest$ac_exeext &&
10942 $as_test_x conftest$ac_exeext; then
10943 case "$LIBEXT" in
10944 dll) ;;
10945 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'` ;;
10946 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10947 esac
10948 else
10949 echo "$as_me: failed program was:" >&5
10950 sed 's/^/| /' conftest.$ac_ext >&5
10955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_soname_save_LIBS
10959 if test "x$ac_cv_lib_soname_GL" = "x"; then
10960 { echo "$as_me:$LINENO: result: not found" >&5
10961 echo "${ECHO_T}not found" >&6; }
10962 if test -f /usr/X11R6/lib/libGL.a
10963 then
10964 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10965 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10966 else
10967 opengl_msg="No OpenGL library found on this system."
10969 else
10970 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10971 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10973 cat >>confdefs.h <<_ACEOF
10974 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10975 _ACEOF
10977 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"
10978 OPENGLFILES='$(OPENGLFILES)'
10980 cat >>confdefs.h <<\_ACEOF
10981 #define HAVE_OPENGL 1
10982 _ACEOF
10986 else
10987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10988 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10990 cat >>confdefs.h <<_ACEOF
10991 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10992 _ACEOF
10994 OPENGL_LIBS="-lGL"
10995 OPENGLFILES='$(OPENGLFILES)'
10997 cat >>confdefs.h <<\_ACEOF
10998 #define HAVE_OPENGL 1
10999 _ACEOF
11004 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11005 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11006 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 else
11009 ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11011 cat >conftest.$ac_ext <<_ACEOF
11012 /* confdefs.h. */
11013 _ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char gluLookAt ();
11026 main ()
11028 return gluLookAt ();
11030 return 0;
11032 _ACEOF
11033 rm -f conftest.$ac_objext conftest$ac_exeext
11034 if { (ac_try="$ac_link"
11035 case "(($ac_try" in
11036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11037 *) ac_try_echo=$ac_try;;
11038 esac
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_link") 2>conftest.er1
11041 ac_status=$?
11042 grep -v '^ *+' conftest.er1 >conftest.err
11043 rm -f conftest.er1
11044 cat conftest.err >&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } && {
11047 test -z "$ac_c_werror_flag" ||
11048 test ! -s conftest.err
11049 } && test -s conftest$ac_exeext &&
11050 $as_test_x conftest$ac_exeext; then
11051 ac_cv_lib_GLU_gluLookAt=yes
11052 else
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11056 ac_cv_lib_GLU_gluLookAt=no
11059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11060 conftest$ac_exeext conftest.$ac_ext
11061 LIBS=$ac_check_lib_save_LIBS
11063 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11064 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11065 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11066 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11067 GLU32FILES='$(GLU32FILES)'
11071 else
11072 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11074 else
11075 opengl_msg="OpenGL development headers not found."
11078 if test -n "$opengl_msg"; then
11079 case "x$with_opengl" in
11080 x) wine_warnings="$wine_warnings|$opengl_msg
11081 OpenGL and Direct3D won't be supported." ;;
11082 xno) ;;
11083 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11084 OpenGL and Direct3D won't be supported.
11085 This is an error since --with-opengl was requested." >&5
11086 echo "$as_me: error: $opengl_msg
11087 OpenGL and Direct3D won't be supported.
11088 This is an error since --with-opengl was requested." >&2;}
11089 { (exit 1); exit 1; }; } ;;
11090 esac
11094 NASLIBS=""
11097 for ac_header in audio/audiolib.h
11099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 ac_res=`eval echo '${'$as_ac_Header'}'`
11107 { echo "$as_me:$LINENO: result: $ac_res" >&5
11108 echo "${ECHO_T}$ac_res" >&6; }
11109 else
11110 # Is the header compilable?
11111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11113 cat >conftest.$ac_ext <<_ACEOF
11114 /* confdefs.h. */
11115 _ACEOF
11116 cat confdefs.h >>conftest.$ac_ext
11117 cat >>conftest.$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11119 $ac_includes_default
11120 #include <$ac_header>
11121 _ACEOF
11122 rm -f conftest.$ac_objext
11123 if { (ac_try="$ac_compile"
11124 case "(($ac_try" in
11125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11126 *) ac_try_echo=$ac_try;;
11127 esac
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129 (eval "$ac_compile") 2>conftest.er1
11130 ac_status=$?
11131 grep -v '^ *+' conftest.er1 >conftest.err
11132 rm -f conftest.er1
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } && {
11136 test -z "$ac_c_werror_flag" ||
11137 test ! -s conftest.err
11138 } && test -s conftest.$ac_objext; then
11139 ac_header_compiler=yes
11140 else
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11144 ac_header_compiler=no
11147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11149 echo "${ECHO_T}$ac_header_compiler" >&6; }
11151 # Is the header present?
11152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11154 cat >conftest.$ac_ext <<_ACEOF
11155 /* confdefs.h. */
11156 _ACEOF
11157 cat confdefs.h >>conftest.$ac_ext
11158 cat >>conftest.$ac_ext <<_ACEOF
11159 /* end confdefs.h. */
11160 #include <$ac_header>
11161 _ACEOF
11162 if { (ac_try="$ac_cpp conftest.$ac_ext"
11163 case "(($ac_try" in
11164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11165 *) ac_try_echo=$ac_try;;
11166 esac
11167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11169 ac_status=$?
11170 grep -v '^ *+' conftest.er1 >conftest.err
11171 rm -f conftest.er1
11172 cat conftest.err >&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } >/dev/null && {
11175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11176 test ! -s conftest.err
11177 }; then
11178 ac_header_preproc=yes
11179 else
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.$ac_ext >&5
11183 ac_header_preproc=no
11186 rm -f conftest.err conftest.$ac_ext
11187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11188 echo "${ECHO_T}$ac_header_preproc" >&6; }
11190 # So? What about this header?
11191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11192 yes:no: )
11193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11197 ac_header_preproc=yes
11199 no:yes:* )
11200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11212 ( cat <<\_ASBOX
11213 ## ------------------------------------ ##
11214 ## Report this to wine-devel@winehq.org ##
11215 ## ------------------------------------ ##
11216 _ASBOX
11217 ) | sed "s/^/$as_me: WARNING: /" >&2
11219 esac
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 eval "$as_ac_Header=\$ac_header_preproc"
11227 ac_res=`eval echo '${'$as_ac_Header'}'`
11228 { echo "$as_me:$LINENO: result: $ac_res" >&5
11229 echo "${ECHO_T}$ac_res" >&6; }
11232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11233 cat >>confdefs.h <<_ACEOF
11234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11235 _ACEOF
11237 for ac_header in audio/soundlib.h
11239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 else
11245 cat >conftest.$ac_ext <<_ACEOF
11246 /* confdefs.h. */
11247 _ACEOF
11248 cat confdefs.h >>conftest.$ac_ext
11249 cat >>conftest.$ac_ext <<_ACEOF
11250 /* end confdefs.h. */
11251 #include <audio/audiolib.h>
11253 #include <$ac_header>
11254 _ACEOF
11255 rm -f conftest.$ac_objext
11256 if { (ac_try="$ac_compile"
11257 case "(($ac_try" in
11258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11259 *) ac_try_echo=$ac_try;;
11260 esac
11261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11262 (eval "$ac_compile") 2>conftest.er1
11263 ac_status=$?
11264 grep -v '^ *+' conftest.er1 >conftest.err
11265 rm -f conftest.er1
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } && {
11269 test -z "$ac_c_werror_flag" ||
11270 test ! -s conftest.err
11271 } && test -s conftest.$ac_objext; then
11272 eval "$as_ac_Header=yes"
11273 else
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11277 eval "$as_ac_Header=no"
11280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11282 ac_res=`eval echo '${'$as_ac_Header'}'`
11283 { echo "$as_me:$LINENO: result: $ac_res" >&5
11284 echo "${ECHO_T}$ac_res" >&6; }
11285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11286 cat >>confdefs.h <<_ACEOF
11287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11288 _ACEOF
11292 done
11294 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11295 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11296 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 else
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11301 cat >conftest.$ac_ext <<_ACEOF
11302 /* confdefs.h. */
11303 _ACEOF
11304 cat confdefs.h >>conftest.$ac_ext
11305 cat >>conftest.$ac_ext <<_ACEOF
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11311 #ifdef __cplusplus
11312 extern "C"
11313 #endif
11314 char AuCreateFlow ();
11316 main ()
11318 return AuCreateFlow ();
11320 return 0;
11322 _ACEOF
11323 rm -f conftest.$ac_objext conftest$ac_exeext
11324 if { (ac_try="$ac_link"
11325 case "(($ac_try" in
11326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11327 *) ac_try_echo=$ac_try;;
11328 esac
11329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11330 (eval "$ac_link") 2>conftest.er1
11331 ac_status=$?
11332 grep -v '^ *+' conftest.er1 >conftest.err
11333 rm -f conftest.er1
11334 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } && {
11337 test -z "$ac_c_werror_flag" ||
11338 test ! -s conftest.err
11339 } && test -s conftest$ac_exeext &&
11340 $as_test_x conftest$ac_exeext; then
11341 ac_cv_lib_audio_AuCreateFlow=yes
11342 else
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11346 ac_cv_lib_audio_AuCreateFlow=no
11349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_lib_save_LIBS
11353 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11354 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11355 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11357 cat >>confdefs.h <<\_ACEOF
11358 #define HAVE_NAS 1
11359 _ACEOF
11361 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11362 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11363 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-lXau $X_LIBS $LIBS"
11368 cat >conftest.$ac_ext <<_ACEOF
11369 /* confdefs.h. */
11370 _ACEOF
11371 cat confdefs.h >>conftest.$ac_ext
11372 cat >>conftest.$ac_ext <<_ACEOF
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11378 #ifdef __cplusplus
11379 extern "C"
11380 #endif
11381 char XauGetBestAuthByAddr ();
11383 main ()
11385 return XauGetBestAuthByAddr ();
11387 return 0;
11389 _ACEOF
11390 rm -f conftest.$ac_objext conftest$ac_exeext
11391 if { (ac_try="$ac_link"
11392 case "(($ac_try" in
11393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11395 esac
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_link") 2>conftest.er1
11398 ac_status=$?
11399 grep -v '^ *+' conftest.er1 >conftest.err
11400 rm -f conftest.er1
11401 cat conftest.err >&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); } && {
11404 test -z "$ac_c_werror_flag" ||
11405 test ! -s conftest.err
11406 } && test -s conftest$ac_exeext &&
11407 $as_test_x conftest$ac_exeext; then
11408 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11409 else
11410 echo "$as_me: failed program was:" >&5
11411 sed 's/^/| /' conftest.$ac_ext >&5
11413 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11421 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11422 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11423 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11424 else
11425 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11433 done
11436 CPPFLAGS="$ac_save_CPPFLAGS"
11437 XFILES='$(XFILES)'
11438 else
11439 XLIB=""
11440 X_CFLAGS=""
11441 X_LIBS=""
11443 if test "x$XLIB" = "x"; then
11444 case "x$with_x" in
11445 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11446 without X support, which probably isn't what you want. You will need to install
11447 development packages of Xlib/Xfree86 at the very least." ;;
11448 xno) ;;
11449 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11450 without X support, which probably isn't what you want. You will need to install
11451 development packages of Xlib/Xfree86 at the very least.
11452 This is an error since --with-x was requested." >&5
11453 echo "$as_me: error: X development files not found. Wine will be built
11454 without X support, which probably isn't what you want. You will need to install
11455 development packages of Xlib/Xfree86 at the very least.
11456 This is an error since --with-x was requested." >&2;}
11457 { (exit 1); exit 1; }; } ;;
11458 esac
11463 XML2LIBS=""
11465 XML2INCL=""
11467 XSLTLIBS=""
11469 XSLTINCL=""
11471 if test "x$with_xml" != "xno"
11472 then
11473 ac_save_CPPFLAGS="$CPPFLAGS"
11474 if test "$PKG_CONFIG" != "false"
11475 then
11476 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11477 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11478 else
11479 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11480 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11482 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11484 for ac_header in libxml/parser.h
11486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11491 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 ac_res=`eval echo '${'$as_ac_Header'}'`
11494 { echo "$as_me:$LINENO: result: $ac_res" >&5
11495 echo "${ECHO_T}$ac_res" >&6; }
11496 else
11497 # Is the header compilable?
11498 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11500 cat >conftest.$ac_ext <<_ACEOF
11501 /* confdefs.h. */
11502 _ACEOF
11503 cat confdefs.h >>conftest.$ac_ext
11504 cat >>conftest.$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11506 $ac_includes_default
11507 #include <$ac_header>
11508 _ACEOF
11509 rm -f conftest.$ac_objext
11510 if { (ac_try="$ac_compile"
11511 case "(($ac_try" in
11512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11513 *) ac_try_echo=$ac_try;;
11514 esac
11515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11516 (eval "$ac_compile") 2>conftest.er1
11517 ac_status=$?
11518 grep -v '^ *+' conftest.er1 >conftest.err
11519 rm -f conftest.er1
11520 cat conftest.err >&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } && {
11523 test -z "$ac_c_werror_flag" ||
11524 test ! -s conftest.err
11525 } && test -s conftest.$ac_objext; then
11526 ac_header_compiler=yes
11527 else
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.$ac_ext >&5
11531 ac_header_compiler=no
11534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11536 echo "${ECHO_T}$ac_header_compiler" >&6; }
11538 # Is the header present?
11539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11541 cat >conftest.$ac_ext <<_ACEOF
11542 /* confdefs.h. */
11543 _ACEOF
11544 cat confdefs.h >>conftest.$ac_ext
11545 cat >>conftest.$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11547 #include <$ac_header>
11548 _ACEOF
11549 if { (ac_try="$ac_cpp conftest.$ac_ext"
11550 case "(($ac_try" in
11551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11552 *) ac_try_echo=$ac_try;;
11553 esac
11554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11556 ac_status=$?
11557 grep -v '^ *+' conftest.er1 >conftest.err
11558 rm -f conftest.er1
11559 cat conftest.err >&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } >/dev/null && {
11562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11563 test ! -s conftest.err
11564 }; then
11565 ac_header_preproc=yes
11566 else
11567 echo "$as_me: failed program was:" >&5
11568 sed 's/^/| /' conftest.$ac_ext >&5
11570 ac_header_preproc=no
11573 rm -f conftest.err conftest.$ac_ext
11574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11575 echo "${ECHO_T}$ac_header_preproc" >&6; }
11577 # So? What about this header?
11578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11579 yes:no: )
11580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11584 ac_header_preproc=yes
11586 no:yes:* )
11587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11599 ( cat <<\_ASBOX
11600 ## ------------------------------------ ##
11601 ## Report this to wine-devel@winehq.org ##
11602 ## ------------------------------------ ##
11603 _ASBOX
11604 ) | sed "s/^/$as_me: WARNING: /" >&2
11606 esac
11607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11611 else
11612 eval "$as_ac_Header=\$ac_header_preproc"
11614 ac_res=`eval echo '${'$as_ac_Header'}'`
11615 { echo "$as_me:$LINENO: result: $ac_res" >&5
11616 echo "${ECHO_T}$ac_res" >&6; }
11619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11620 cat >>confdefs.h <<_ACEOF
11621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11622 _ACEOF
11623 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11624 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11625 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11626 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 else
11628 ac_check_lib_save_LIBS=$LIBS
11629 LIBS="-lxml2 $ac_xml_libs $LIBS"
11630 cat >conftest.$ac_ext <<_ACEOF
11631 /* confdefs.h. */
11632 _ACEOF
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11640 #ifdef __cplusplus
11641 extern "C"
11642 #endif
11643 char xmlParseMemory ();
11645 main ()
11647 return xmlParseMemory ();
11649 return 0;
11651 _ACEOF
11652 rm -f conftest.$ac_objext conftest$ac_exeext
11653 if { (ac_try="$ac_link"
11654 case "(($ac_try" in
11655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11656 *) ac_try_echo=$ac_try;;
11657 esac
11658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11659 (eval "$ac_link") 2>conftest.er1
11660 ac_status=$?
11661 grep -v '^ *+' conftest.er1 >conftest.err
11662 rm -f conftest.er1
11663 cat conftest.err >&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } && {
11666 test -z "$ac_c_werror_flag" ||
11667 test ! -s conftest.err
11668 } && test -s conftest$ac_exeext &&
11669 $as_test_x conftest$ac_exeext; then
11670 ac_cv_lib_xml2_xmlParseMemory=yes
11671 else
11672 echo "$as_me: failed program was:" >&5
11673 sed 's/^/| /' conftest.$ac_ext >&5
11675 ac_cv_lib_xml2_xmlParseMemory=no
11678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11679 conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_lib_save_LIBS
11682 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11683 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11684 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11686 cat >>confdefs.h <<\_ACEOF
11687 #define HAVE_LIBXML2 1
11688 _ACEOF
11690 XML2LIBS="$ac_xml_libs"
11691 XML2INCL="$ac_xml_cflags"
11694 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11695 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11696 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 else
11699 ac_check_lib_save_LIBS=$LIBS
11700 LIBS="-lxml2 $ac_xml_libs $LIBS"
11701 cat >conftest.$ac_ext <<_ACEOF
11702 /* confdefs.h. */
11703 _ACEOF
11704 cat confdefs.h >>conftest.$ac_ext
11705 cat >>conftest.$ac_ext <<_ACEOF
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11711 #ifdef __cplusplus
11712 extern "C"
11713 #endif
11714 char xmlReadMemory ();
11716 main ()
11718 return xmlReadMemory ();
11720 return 0;
11722 _ACEOF
11723 rm -f conftest.$ac_objext conftest$ac_exeext
11724 if { (ac_try="$ac_link"
11725 case "(($ac_try" in
11726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11727 *) ac_try_echo=$ac_try;;
11728 esac
11729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11730 (eval "$ac_link") 2>conftest.er1
11731 ac_status=$?
11732 grep -v '^ *+' conftest.er1 >conftest.err
11733 rm -f conftest.er1
11734 cat conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } && {
11737 test -z "$ac_c_werror_flag" ||
11738 test ! -s conftest.err
11739 } && test -s conftest$ac_exeext &&
11740 $as_test_x conftest$ac_exeext; then
11741 ac_cv_lib_xml2_xmlReadMemory=yes
11742 else
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.$ac_ext >&5
11746 ac_cv_lib_xml2_xmlReadMemory=no
11749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11750 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_check_lib_save_LIBS
11753 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11754 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11755 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11757 cat >>confdefs.h <<\_ACEOF
11758 #define HAVE_XMLREADMEMORY 1
11759 _ACEOF
11763 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11764 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11765 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 else
11768 ac_check_lib_save_LIBS=$LIBS
11769 LIBS="-lxml2 $ac_xml_libs $LIBS"
11770 cat >conftest.$ac_ext <<_ACEOF
11771 /* confdefs.h. */
11772 _ACEOF
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11780 #ifdef __cplusplus
11781 extern "C"
11782 #endif
11783 char xmlNewDocPI ();
11785 main ()
11787 return xmlNewDocPI ();
11789 return 0;
11791 _ACEOF
11792 rm -f conftest.$ac_objext conftest$ac_exeext
11793 if { (ac_try="$ac_link"
11794 case "(($ac_try" in
11795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11796 *) ac_try_echo=$ac_try;;
11797 esac
11798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11799 (eval "$ac_link") 2>conftest.er1
11800 ac_status=$?
11801 grep -v '^ *+' conftest.er1 >conftest.err
11802 rm -f conftest.er1
11803 cat conftest.err >&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } && {
11806 test -z "$ac_c_werror_flag" ||
11807 test ! -s conftest.err
11808 } && test -s conftest$ac_exeext &&
11809 $as_test_x conftest$ac_exeext; then
11810 ac_cv_lib_xml2_xmlNewDocPI=yes
11811 else
11812 echo "$as_me: failed program was:" >&5
11813 sed 's/^/| /' conftest.$ac_ext >&5
11815 ac_cv_lib_xml2_xmlNewDocPI=no
11818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_lib_save_LIBS
11822 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11823 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11824 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11826 cat >>confdefs.h <<\_ACEOF
11827 #define HAVE_XMLNEWDOCPI 1
11828 _ACEOF
11835 done
11837 CPPFLAGS="$ac_save_CPPFLAGS"
11839 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11840 case "x$with_xml" in
11841 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11842 xno) ;;
11843 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11844 This is an error since --with-xml was requested." >&5
11845 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11846 This is an error since --with-xml was requested." >&2;}
11847 { (exit 1); exit 1; }; } ;;
11848 esac
11852 if test "x$with_xslt" != "xno"
11853 then
11854 if test "$PKG_CONFIG" != "false"
11855 then
11856 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11857 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11858 else
11859 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11860 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11862 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11865 for ac_header in libxslt/pattern.h libxslt/transform.h
11867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 else
11873 cat >conftest.$ac_ext <<_ACEOF
11874 /* confdefs.h. */
11875 _ACEOF
11876 cat confdefs.h >>conftest.$ac_ext
11877 cat >>conftest.$ac_ext <<_ACEOF
11878 /* end confdefs.h. */
11879 #ifdef HAVE_LIBXSLT_PATTERN_H
11880 # include <libxslt/pattern.h>
11881 #endif
11883 #include <$ac_header>
11884 _ACEOF
11885 rm -f conftest.$ac_objext
11886 if { (ac_try="$ac_compile"
11887 case "(($ac_try" in
11888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11890 esac
11891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_compile") 2>conftest.er1
11893 ac_status=$?
11894 grep -v '^ *+' conftest.er1 >conftest.err
11895 rm -f conftest.er1
11896 cat conftest.err >&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } && {
11899 test -z "$ac_c_werror_flag" ||
11900 test ! -s conftest.err
11901 } && test -s conftest.$ac_objext; then
11902 eval "$as_ac_Header=yes"
11903 else
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.$ac_ext >&5
11907 eval "$as_ac_Header=no"
11910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11912 ac_res=`eval echo '${'$as_ac_Header'}'`
11913 { echo "$as_me:$LINENO: result: $ac_res" >&5
11914 echo "${ECHO_T}$ac_res" >&6; }
11915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11916 cat >>confdefs.h <<_ACEOF
11917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11918 _ACEOF
11919 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11920 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11921 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-lxslt $ac_xslt_libs $LIBS"
11926 cat >conftest.$ac_ext <<_ACEOF
11927 /* confdefs.h. */
11928 _ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char xsltCompilePattern ();
11941 main ()
11943 return xsltCompilePattern ();
11945 return 0;
11947 _ACEOF
11948 rm -f conftest.$ac_objext conftest$ac_exeext
11949 if { (ac_try="$ac_link"
11950 case "(($ac_try" in
11951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11952 *) ac_try_echo=$ac_try;;
11953 esac
11954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11955 (eval "$ac_link") 2>conftest.er1
11956 ac_status=$?
11957 grep -v '^ *+' conftest.er1 >conftest.err
11958 rm -f conftest.er1
11959 cat conftest.err >&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } && {
11962 test -z "$ac_c_werror_flag" ||
11963 test ! -s conftest.err
11964 } && test -s conftest$ac_exeext &&
11965 $as_test_x conftest$ac_exeext; then
11966 ac_cv_lib_xslt_xsltCompilePattern=yes
11967 else
11968 echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.$ac_ext >&5
11971 ac_cv_lib_xslt_xsltCompilePattern=no
11974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11975 conftest$ac_exeext conftest.$ac_ext
11976 LIBS=$ac_check_lib_save_LIBS
11978 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11979 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11980 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11982 cat >>confdefs.h <<\_ACEOF
11983 #define HAVE_LIBXSLT 1
11984 _ACEOF
11986 XSLTLIBS="$ac_xslt_libs"
11987 XSLTINCL="$ac_xslt_cflags"
11993 done
11995 CPPFLAGS="$ac_save_CPPFLAGS"
11997 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11998 case "x$with_xslt" in
11999 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12000 xno) ;;
12001 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12002 This is an error since --with-xslt was requested." >&5
12003 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12004 This is an error since --with-xslt was requested." >&2;}
12005 { (exit 1); exit 1; }; } ;;
12006 esac
12010 HALINCL=""
12012 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12013 then
12014 ac_save_CPPFLAGS="$CPPFLAGS"
12015 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12016 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12017 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12020 for ac_header in dbus/dbus.h hal/libhal.h
12022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12024 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 ac_res=`eval echo '${'$as_ac_Header'}'`
12030 { echo "$as_me:$LINENO: result: $ac_res" >&5
12031 echo "${ECHO_T}$ac_res" >&6; }
12032 else
12033 # Is the header compilable?
12034 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12036 cat >conftest.$ac_ext <<_ACEOF
12037 /* confdefs.h. */
12038 _ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 $ac_includes_default
12043 #include <$ac_header>
12044 _ACEOF
12045 rm -f conftest.$ac_objext
12046 if { (ac_try="$ac_compile"
12047 case "(($ac_try" in
12048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12049 *) ac_try_echo=$ac_try;;
12050 esac
12051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12052 (eval "$ac_compile") 2>conftest.er1
12053 ac_status=$?
12054 grep -v '^ *+' conftest.er1 >conftest.err
12055 rm -f conftest.er1
12056 cat conftest.err >&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } && {
12059 test -z "$ac_c_werror_flag" ||
12060 test ! -s conftest.err
12061 } && test -s conftest.$ac_objext; then
12062 ac_header_compiler=yes
12063 else
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.$ac_ext >&5
12067 ac_header_compiler=no
12070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12071 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12072 echo "${ECHO_T}$ac_header_compiler" >&6; }
12074 # Is the header present?
12075 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12077 cat >conftest.$ac_ext <<_ACEOF
12078 /* confdefs.h. */
12079 _ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12083 #include <$ac_header>
12084 _ACEOF
12085 if { (ac_try="$ac_cpp conftest.$ac_ext"
12086 case "(($ac_try" in
12087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12088 *) ac_try_echo=$ac_try;;
12089 esac
12090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12092 ac_status=$?
12093 grep -v '^ *+' conftest.er1 >conftest.err
12094 rm -f conftest.er1
12095 cat conftest.err >&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } >/dev/null && {
12098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12099 test ! -s conftest.err
12100 }; then
12101 ac_header_preproc=yes
12102 else
12103 echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.$ac_ext >&5
12106 ac_header_preproc=no
12109 rm -f conftest.err conftest.$ac_ext
12110 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12111 echo "${ECHO_T}$ac_header_preproc" >&6; }
12113 # So? What about this header?
12114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12115 yes:no: )
12116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12120 ac_header_preproc=yes
12122 no:yes:* )
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12135 ( cat <<\_ASBOX
12136 ## ------------------------------------ ##
12137 ## Report this to wine-devel@winehq.org ##
12138 ## ------------------------------------ ##
12139 _ASBOX
12140 ) | sed "s/^/$as_me: WARNING: /" >&2
12142 esac
12143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 else
12148 eval "$as_ac_Header=\$ac_header_preproc"
12150 ac_res=`eval echo '${'$as_ac_Header'}'`
12151 { echo "$as_me:$LINENO: result: $ac_res" >&5
12152 echo "${ECHO_T}$ac_res" >&6; }
12155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12156 cat >>confdefs.h <<_ACEOF
12157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12158 _ACEOF
12162 done
12164 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12165 then
12166 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12167 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12168 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 else
12171 ac_check_lib_save_LIBS=$LIBS
12172 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12173 cat >conftest.$ac_ext <<_ACEOF
12174 /* confdefs.h. */
12175 _ACEOF
12176 cat confdefs.h >>conftest.$ac_ext
12177 cat >>conftest.$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12183 #ifdef __cplusplus
12184 extern "C"
12185 #endif
12186 char dbus_connection_close ();
12188 main ()
12190 return dbus_connection_close ();
12192 return 0;
12194 _ACEOF
12195 rm -f conftest.$ac_objext conftest$ac_exeext
12196 if { (ac_try="$ac_link"
12197 case "(($ac_try" in
12198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12199 *) ac_try_echo=$ac_try;;
12200 esac
12201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12202 (eval "$ac_link") 2>conftest.er1
12203 ac_status=$?
12204 grep -v '^ *+' conftest.er1 >conftest.err
12205 rm -f conftest.er1
12206 cat conftest.err >&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); } && {
12209 test -z "$ac_c_werror_flag" ||
12210 test ! -s conftest.err
12211 } && test -s conftest$ac_exeext &&
12212 $as_test_x conftest$ac_exeext; then
12213 ac_cv_lib_dbus_1_dbus_connection_close=yes
12214 else
12215 echo "$as_me: failed program was:" >&5
12216 sed 's/^/| /' conftest.$ac_ext >&5
12218 ac_cv_lib_dbus_1_dbus_connection_close=no
12221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12222 conftest$ac_exeext conftest.$ac_ext
12223 LIBS=$ac_check_lib_save_LIBS
12225 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12226 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12227 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12228 { echo "$as_me:$LINENO: checking for -lhal" >&5
12229 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12230 if test "${ac_cv_lib_soname_hal+set}" = set; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12232 else
12233 ac_check_soname_save_LIBS=$LIBS
12234 LIBS="-lhal $ac_hal_libs $LIBS"
12235 cat >conftest.$ac_ext <<_ACEOF
12236 /* confdefs.h. */
12237 _ACEOF
12238 cat confdefs.h >>conftest.$ac_ext
12239 cat >>conftest.$ac_ext <<_ACEOF
12240 /* end confdefs.h. */
12242 /* Override any GCC internal prototype to avoid an error.
12243 Use char because int might match the return type of a GCC
12244 builtin and then its argument prototype would still apply. */
12245 #ifdef __cplusplus
12246 extern "C"
12247 #endif
12248 char libhal_ctx_new ();
12250 main ()
12252 return libhal_ctx_new ();
12254 return 0;
12256 _ACEOF
12257 rm -f conftest.$ac_objext conftest$ac_exeext
12258 if { (ac_try="$ac_link"
12259 case "(($ac_try" in
12260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12261 *) ac_try_echo=$ac_try;;
12262 esac
12263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12264 (eval "$ac_link") 2>conftest.er1
12265 ac_status=$?
12266 grep -v '^ *+' conftest.er1 >conftest.err
12267 rm -f conftest.er1
12268 cat conftest.err >&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } && {
12271 test -z "$ac_c_werror_flag" ||
12272 test ! -s conftest.err
12273 } && test -s conftest$ac_exeext &&
12274 $as_test_x conftest$ac_exeext; then
12275 case "$LIBEXT" in
12276 dll) ;;
12277 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'` ;;
12278 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12279 esac
12280 else
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.$ac_ext >&5
12287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12288 conftest$ac_exeext conftest.$ac_ext
12289 LIBS=$ac_check_soname_save_LIBS
12291 if test "x$ac_cv_lib_soname_hal" = "x"; then
12292 { echo "$as_me:$LINENO: result: not found" >&5
12293 echo "${ECHO_T}not found" >&6; }
12295 else
12296 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12297 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12299 cat >>confdefs.h <<_ACEOF
12300 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12301 _ACEOF
12303 HALINCL="$ac_hal_cflags"
12309 CPPFLAGS="$ac_save_CPPFLAGS"
12311 if test "x$ac_cv_lib_soname_hal" = "x"; then
12312 case "x$with_hal" in
12313 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12314 xno) ;;
12315 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12316 This is an error since --with-hal was requested." >&5
12317 echo "$as_me: error: libhal development files not found, no dynamic device support.
12318 This is an error since --with-hal was requested." >&2;}
12319 { (exit 1); exit 1; }; } ;;
12320 esac
12324 CURSESLIBS=""
12325 if test "$ac_cv_header_ncurses_h" = "yes"
12326 then
12327 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12328 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12329 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 else
12332 ac_check_soname_save_LIBS=$LIBS
12333 LIBS="-lncurses $LIBS"
12334 cat >conftest.$ac_ext <<_ACEOF
12335 /* confdefs.h. */
12336 _ACEOF
12337 cat confdefs.h >>conftest.$ac_ext
12338 cat >>conftest.$ac_ext <<_ACEOF
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 #ifdef __cplusplus
12345 extern "C"
12346 #endif
12347 char waddch ();
12349 main ()
12351 return waddch ();
12353 return 0;
12355 _ACEOF
12356 rm -f conftest.$ac_objext conftest$ac_exeext
12357 if { (ac_try="$ac_link"
12358 case "(($ac_try" in
12359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12360 *) ac_try_echo=$ac_try;;
12361 esac
12362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12363 (eval "$ac_link") 2>conftest.er1
12364 ac_status=$?
12365 grep -v '^ *+' conftest.er1 >conftest.err
12366 rm -f conftest.er1
12367 cat conftest.err >&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } && {
12370 test -z "$ac_c_werror_flag" ||
12371 test ! -s conftest.err
12372 } && test -s conftest$ac_exeext &&
12373 $as_test_x conftest$ac_exeext; then
12374 case "$LIBEXT" in
12375 dll) ;;
12376 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'` ;;
12377 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12378 esac
12379 else
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12387 conftest$ac_exeext conftest.$ac_ext
12388 LIBS=$ac_check_soname_save_LIBS
12390 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12391 { echo "$as_me:$LINENO: result: not found" >&5
12392 echo "${ECHO_T}not found" >&6; }
12394 else
12395 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12396 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12398 cat >>confdefs.h <<_ACEOF
12399 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12400 _ACEOF
12402 CURSESLIBS="-lncurses"
12405 elif test "$ac_cv_header_curses_h" = "yes"
12406 then
12407 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12408 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12409 if test "${ac_cv_lib_soname_curses+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 else
12412 ac_check_soname_save_LIBS=$LIBS
12413 LIBS="-lcurses $LIBS"
12414 cat >conftest.$ac_ext <<_ACEOF
12415 /* confdefs.h. */
12416 _ACEOF
12417 cat confdefs.h >>conftest.$ac_ext
12418 cat >>conftest.$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char waddch ();
12429 main ()
12431 return waddch ();
12433 return 0;
12435 _ACEOF
12436 rm -f conftest.$ac_objext conftest$ac_exeext
12437 if { (ac_try="$ac_link"
12438 case "(($ac_try" in
12439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12440 *) ac_try_echo=$ac_try;;
12441 esac
12442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12443 (eval "$ac_link") 2>conftest.er1
12444 ac_status=$?
12445 grep -v '^ *+' conftest.er1 >conftest.err
12446 rm -f conftest.er1
12447 cat conftest.err >&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } && {
12450 test -z "$ac_c_werror_flag" ||
12451 test ! -s conftest.err
12452 } && test -s conftest$ac_exeext &&
12453 $as_test_x conftest$ac_exeext; then
12454 case "$LIBEXT" in
12455 dll) ;;
12456 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'` ;;
12457 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12458 esac
12459 else
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.$ac_ext >&5
12466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12467 conftest$ac_exeext conftest.$ac_ext
12468 LIBS=$ac_check_soname_save_LIBS
12470 if test "x$ac_cv_lib_soname_curses" = "x"; then
12471 { echo "$as_me:$LINENO: result: not found" >&5
12472 echo "${ECHO_T}not found" >&6; }
12474 else
12475 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12476 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12478 cat >>confdefs.h <<_ACEOF
12479 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12480 _ACEOF
12482 CURSESLIBS="-lcurses"
12486 ac_save_LIBS="$LIBS"
12487 LIBS="$LIBS $CURSESLIBS"
12489 for ac_func in mousemask
12491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 else
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h. */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12505 #define $ac_func innocuous_$ac_func
12507 /* System header to define __stub macros and hopefully few prototypes,
12508 which can conflict with char $ac_func (); below.
12509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12510 <limits.h> exists even on freestanding compilers. */
12512 #ifdef __STDC__
12513 # include <limits.h>
12514 #else
12515 # include <assert.h>
12516 #endif
12518 #undef $ac_func
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12523 #ifdef __cplusplus
12524 extern "C"
12525 #endif
12526 char $ac_func ();
12527 /* The GNU C library defines this for functions which it implements
12528 to always fail with ENOSYS. Some functions are actually named
12529 something starting with __ and the normal name is an alias. */
12530 #if defined __stub_$ac_func || defined __stub___$ac_func
12531 choke me
12532 #endif
12535 main ()
12537 return $ac_func ();
12539 return 0;
12541 _ACEOF
12542 rm -f conftest.$ac_objext conftest$ac_exeext
12543 if { (ac_try="$ac_link"
12544 case "(($ac_try" in
12545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12546 *) ac_try_echo=$ac_try;;
12547 esac
12548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12549 (eval "$ac_link") 2>conftest.er1
12550 ac_status=$?
12551 grep -v '^ *+' conftest.er1 >conftest.err
12552 rm -f conftest.er1
12553 cat conftest.err >&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } && {
12556 test -z "$ac_c_werror_flag" ||
12557 test ! -s conftest.err
12558 } && test -s conftest$ac_exeext &&
12559 $as_test_x conftest$ac_exeext; then
12560 eval "$as_ac_var=yes"
12561 else
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12565 eval "$as_ac_var=no"
12568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12569 conftest$ac_exeext conftest.$ac_ext
12571 ac_res=`eval echo '${'$as_ac_var'}'`
12572 { echo "$as_me:$LINENO: result: $ac_res" >&5
12573 echo "${ECHO_T}$ac_res" >&6; }
12574 if test `eval echo '${'$as_ac_var'}'` = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12577 _ACEOF
12580 done
12582 LIBS="$ac_save_LIBS"
12583 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12584 case "x$with_curses" in
12585 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12586 xno) ;;
12587 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12588 This is an error since --with-curses was requested." >&5
12589 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12590 This is an error since --with-curses was requested." >&2;}
12591 { (exit 1); exit 1; }; } ;;
12592 esac
12596 # Extract the first word of "sane-config", so it can be a program name with args.
12597 set dummy sane-config; ac_word=$2
12598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12600 if test "${ac_cv_prog_sane_devel+set}" = set; then
12601 echo $ECHO_N "(cached) $ECHO_C" >&6
12602 else
12603 if test -n "$sane_devel"; then
12604 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12605 else
12606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12607 for as_dir in $PATH
12609 IFS=$as_save_IFS
12610 test -z "$as_dir" && as_dir=.
12611 for ac_exec_ext in '' $ac_executable_extensions; do
12612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12613 ac_cv_prog_sane_devel="sane-config"
12614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12615 break 2
12617 done
12618 done
12619 IFS=$as_save_IFS
12621 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12624 sane_devel=$ac_cv_prog_sane_devel
12625 if test -n "$sane_devel"; then
12626 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12627 echo "${ECHO_T}$sane_devel" >&6; }
12628 else
12629 { echo "$as_me:$LINENO: result: no" >&5
12630 echo "${ECHO_T}no" >&6; }
12634 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12635 then
12636 ac_sane_incl="`$sane_devel --cflags`"
12637 ac_save_CPPFLAGS="$CPPFLAGS"
12638 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12639 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12640 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12641 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12642 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12646 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12647 else
12648 # Is the header compilable?
12649 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12650 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12657 $ac_includes_default
12658 #include <sane/sane.h>
12659 _ACEOF
12660 rm -f conftest.$ac_objext
12661 if { (ac_try="$ac_compile"
12662 case "(($ac_try" in
12663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12664 *) ac_try_echo=$ac_try;;
12665 esac
12666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12667 (eval "$ac_compile") 2>conftest.er1
12668 ac_status=$?
12669 grep -v '^ *+' conftest.er1 >conftest.err
12670 rm -f conftest.er1
12671 cat conftest.err >&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } && {
12674 test -z "$ac_c_werror_flag" ||
12675 test ! -s conftest.err
12676 } && test -s conftest.$ac_objext; then
12677 ac_header_compiler=yes
12678 else
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.$ac_ext >&5
12682 ac_header_compiler=no
12685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12686 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12687 echo "${ECHO_T}$ac_header_compiler" >&6; }
12689 # Is the header present?
12690 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12691 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12692 cat >conftest.$ac_ext <<_ACEOF
12693 /* confdefs.h. */
12694 _ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 #include <sane/sane.h>
12699 _ACEOF
12700 if { (ac_try="$ac_cpp conftest.$ac_ext"
12701 case "(($ac_try" in
12702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703 *) ac_try_echo=$ac_try;;
12704 esac
12705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12707 ac_status=$?
12708 grep -v '^ *+' conftest.er1 >conftest.err
12709 rm -f conftest.er1
12710 cat conftest.err >&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); } >/dev/null && {
12713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12714 test ! -s conftest.err
12715 }; then
12716 ac_header_preproc=yes
12717 else
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12721 ac_header_preproc=no
12724 rm -f conftest.err conftest.$ac_ext
12725 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12726 echo "${ECHO_T}$ac_header_preproc" >&6; }
12728 # So? What about this header?
12729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12730 yes:no: )
12731 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12732 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12733 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12734 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12735 ac_header_preproc=yes
12737 no:yes:* )
12738 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12739 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12740 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12741 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12742 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12743 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12744 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12745 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12747 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12748 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12749 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12750 ( cat <<\_ASBOX
12751 ## ------------------------------------ ##
12752 ## Report this to wine-devel@winehq.org ##
12753 ## ------------------------------------ ##
12754 _ASBOX
12755 ) | sed "s/^/$as_me: WARNING: /" >&2
12757 esac
12758 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12759 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12760 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12762 else
12763 ac_cv_header_sane_sane_h=$ac_header_preproc
12765 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12766 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12769 if test $ac_cv_header_sane_sane_h = yes; then
12770 { echo "$as_me:$LINENO: checking for -lsane" >&5
12771 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12772 if test "${ac_cv_lib_soname_sane+set}" = set; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 else
12775 ac_check_soname_save_LIBS=$LIBS
12776 LIBS="-lsane $LIBS"
12777 cat >conftest.$ac_ext <<_ACEOF
12778 /* confdefs.h. */
12779 _ACEOF
12780 cat confdefs.h >>conftest.$ac_ext
12781 cat >>conftest.$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12787 #ifdef __cplusplus
12788 extern "C"
12789 #endif
12790 char sane_init ();
12792 main ()
12794 return sane_init ();
12796 return 0;
12798 _ACEOF
12799 rm -f conftest.$ac_objext conftest$ac_exeext
12800 if { (ac_try="$ac_link"
12801 case "(($ac_try" in
12802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12803 *) ac_try_echo=$ac_try;;
12804 esac
12805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12806 (eval "$ac_link") 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } && {
12813 test -z "$ac_c_werror_flag" ||
12814 test ! -s conftest.err
12815 } && test -s conftest$ac_exeext &&
12816 $as_test_x conftest$ac_exeext; then
12817 case "$LIBEXT" in
12818 dll) ;;
12819 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'` ;;
12820 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12821 esac
12822 else
12823 echo "$as_me: failed program was:" >&5
12824 sed 's/^/| /' conftest.$ac_ext >&5
12829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12830 conftest$ac_exeext conftest.$ac_ext
12831 LIBS=$ac_check_soname_save_LIBS
12833 if test "x$ac_cv_lib_soname_sane" = "x"; then
12834 { echo "$as_me:$LINENO: result: not found" >&5
12835 echo "${ECHO_T}not found" >&6; }
12837 else
12838 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12839 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12841 cat >>confdefs.h <<_ACEOF
12842 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12843 _ACEOF
12845 SANEINCL="$ac_sane_incl"
12852 CPPFLAGS="$ac_save_CPPFLAGS"
12854 if test "x$ac_cv_lib_soname_sane" = "x"; then
12855 case "x$with_sane" in
12856 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12857 xno) ;;
12858 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12859 This is an error since --with-sane was requested." >&5
12860 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12861 This is an error since --with-sane was requested." >&2;}
12862 { (exit 1); exit 1; }; } ;;
12863 esac
12867 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12868 set dummy gphoto2-config; ac_word=$2
12869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12871 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12872 echo $ECHO_N "(cached) $ECHO_C" >&6
12873 else
12874 if test -n "$gphoto2_devel"; then
12875 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12876 else
12877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12878 for as_dir in $PATH
12880 IFS=$as_save_IFS
12881 test -z "$as_dir" && as_dir=.
12882 for ac_exec_ext in '' $ac_executable_extensions; do
12883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12884 ac_cv_prog_gphoto2_devel="gphoto2-config"
12885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12886 break 2
12888 done
12889 done
12890 IFS=$as_save_IFS
12892 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12895 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12896 if test -n "$gphoto2_devel"; then
12897 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12898 echo "${ECHO_T}$gphoto2_devel" >&6; }
12899 else
12900 { echo "$as_me:$LINENO: result: no" >&5
12901 echo "${ECHO_T}no" >&6; }
12905 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12906 set dummy gphoto2-port-config; ac_word=$2
12907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12909 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12910 echo $ECHO_N "(cached) $ECHO_C" >&6
12911 else
12912 if test -n "$gphoto2port_devel"; then
12913 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12914 else
12915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12916 for as_dir in $PATH
12918 IFS=$as_save_IFS
12919 test -z "$as_dir" && as_dir=.
12920 for ac_exec_ext in '' $ac_executable_extensions; do
12921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12922 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12924 break 2
12926 done
12927 done
12928 IFS=$as_save_IFS
12930 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12933 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12934 if test -n "$gphoto2port_devel"; then
12935 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12936 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12937 else
12938 { echo "$as_me:$LINENO: result: no" >&5
12939 echo "${ECHO_T}no" >&6; }
12943 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12944 then
12945 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12946 ac_gphoto2_libs=""
12947 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12949 case "$i" in
12950 -L/usr/lib|-L/usr/lib64) ;;
12951 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12952 esac
12953 done
12954 ac_save_CPPFLAGS="$CPPFLAGS"
12955 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12956 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12957 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12958 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12959 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12963 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12964 else
12965 # Is the header compilable?
12966 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12967 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12968 cat >conftest.$ac_ext <<_ACEOF
12969 /* confdefs.h. */
12970 _ACEOF
12971 cat confdefs.h >>conftest.$ac_ext
12972 cat >>conftest.$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12974 $ac_includes_default
12975 #include <gphoto2-camera.h>
12976 _ACEOF
12977 rm -f conftest.$ac_objext
12978 if { (ac_try="$ac_compile"
12979 case "(($ac_try" in
12980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12981 *) ac_try_echo=$ac_try;;
12982 esac
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_compile") 2>conftest.er1
12985 ac_status=$?
12986 grep -v '^ *+' conftest.er1 >conftest.err
12987 rm -f conftest.er1
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } && {
12991 test -z "$ac_c_werror_flag" ||
12992 test ! -s conftest.err
12993 } && test -s conftest.$ac_objext; then
12994 ac_header_compiler=yes
12995 else
12996 echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12999 ac_header_compiler=no
13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13004 echo "${ECHO_T}$ac_header_compiler" >&6; }
13006 # Is the header present?
13007 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13008 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13009 cat >conftest.$ac_ext <<_ACEOF
13010 /* confdefs.h. */
13011 _ACEOF
13012 cat confdefs.h >>conftest.$ac_ext
13013 cat >>conftest.$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 #include <gphoto2-camera.h>
13016 _ACEOF
13017 if { (ac_try="$ac_cpp conftest.$ac_ext"
13018 case "(($ac_try" in
13019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13020 *) ac_try_echo=$ac_try;;
13021 esac
13022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13024 ac_status=$?
13025 grep -v '^ *+' conftest.er1 >conftest.err
13026 rm -f conftest.er1
13027 cat conftest.err >&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } >/dev/null && {
13030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13031 test ! -s conftest.err
13032 }; then
13033 ac_header_preproc=yes
13034 else
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13038 ac_header_preproc=no
13041 rm -f conftest.err conftest.$ac_ext
13042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13043 echo "${ECHO_T}$ac_header_preproc" >&6; }
13045 # So? What about this header?
13046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13047 yes:no: )
13048 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13049 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13050 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13051 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13052 ac_header_preproc=yes
13054 no:yes:* )
13055 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13056 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13057 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13058 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13059 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13060 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13061 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13062 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13064 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13066 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13067 ( cat <<\_ASBOX
13068 ## ------------------------------------ ##
13069 ## Report this to wine-devel@winehq.org ##
13070 ## ------------------------------------ ##
13071 _ASBOX
13072 ) | sed "s/^/$as_me: WARNING: /" >&2
13074 esac
13075 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13076 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13077 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13078 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 else
13080 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13082 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13083 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13086 if test $ac_cv_header_gphoto2_camera_h = yes; then
13087 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13088 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13089 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13090 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 else
13092 ac_check_lib_save_LIBS=$LIBS
13093 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13094 cat >conftest.$ac_ext <<_ACEOF
13095 /* confdefs.h. */
13096 _ACEOF
13097 cat confdefs.h >>conftest.$ac_ext
13098 cat >>conftest.$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13101 /* Override any GCC internal prototype to avoid an error.
13102 Use char because int might match the return type of a GCC
13103 builtin and then its argument prototype would still apply. */
13104 #ifdef __cplusplus
13105 extern "C"
13106 #endif
13107 char gp_camera_new ();
13109 main ()
13111 return gp_camera_new ();
13113 return 0;
13115 _ACEOF
13116 rm -f conftest.$ac_objext conftest$ac_exeext
13117 if { (ac_try="$ac_link"
13118 case "(($ac_try" in
13119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13120 *) ac_try_echo=$ac_try;;
13121 esac
13122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13123 (eval "$ac_link") 2>conftest.er1
13124 ac_status=$?
13125 grep -v '^ *+' conftest.er1 >conftest.err
13126 rm -f conftest.er1
13127 cat conftest.err >&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } && {
13130 test -z "$ac_c_werror_flag" ||
13131 test ! -s conftest.err
13132 } && test -s conftest$ac_exeext &&
13133 $as_test_x conftest$ac_exeext; then
13134 ac_cv_lib_gphoto2_gp_camera_new=yes
13135 else
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.$ac_ext >&5
13139 ac_cv_lib_gphoto2_gp_camera_new=no
13142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13143 conftest$ac_exeext conftest.$ac_ext
13144 LIBS=$ac_check_lib_save_LIBS
13146 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13147 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13148 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13150 cat >>confdefs.h <<\_ACEOF
13151 #define HAVE_GPHOTO2 1
13152 _ACEOF
13154 GPHOTO2LIBS="$ac_gphoto2_libs"
13156 GPHOTO2INCL="$ac_gphoto2_incl"
13163 CPPFLAGS="$ac_save_CPPFLAGS"
13165 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13166 case "x$with_gphoto" in
13167 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13168 xno) ;;
13169 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13170 This is an error since --with-gphoto was requested." >&5
13171 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13172 This is an error since --with-gphoto was requested." >&2;}
13173 { (exit 1); exit 1; }; } ;;
13174 esac
13179 RESOLVLIBS=""
13181 if test "$ac_cv_header_resolv_h" = "yes"
13182 then
13183 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13184 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13185 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 else
13188 ac_check_lib_save_LIBS=$LIBS
13189 LIBS="-lresolv $LIBS"
13190 cat >conftest.$ac_ext <<_ACEOF
13191 /* confdefs.h. */
13192 _ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13197 /* Override any GCC internal prototype to avoid an error.
13198 Use char because int might match the return type of a GCC
13199 builtin and then its argument prototype would still apply. */
13200 #ifdef __cplusplus
13201 extern "C"
13202 #endif
13203 char res_query ();
13205 main ()
13207 return res_query ();
13209 return 0;
13211 _ACEOF
13212 rm -f conftest.$ac_objext conftest$ac_exeext
13213 if { (ac_try="$ac_link"
13214 case "(($ac_try" in
13215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13216 *) ac_try_echo=$ac_try;;
13217 esac
13218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13219 (eval "$ac_link") 2>conftest.er1
13220 ac_status=$?
13221 grep -v '^ *+' conftest.er1 >conftest.err
13222 rm -f conftest.er1
13223 cat conftest.err >&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); } && {
13226 test -z "$ac_c_werror_flag" ||
13227 test ! -s conftest.err
13228 } && test -s conftest$ac_exeext &&
13229 $as_test_x conftest$ac_exeext; then
13230 ac_cv_lib_resolv_res_query=yes
13231 else
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.$ac_ext >&5
13235 ac_cv_lib_resolv_res_query=no
13238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13239 conftest$ac_exeext conftest.$ac_ext
13240 LIBS=$ac_check_lib_save_LIBS
13242 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13243 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13244 if test $ac_cv_lib_resolv_res_query = yes; then
13246 cat >>confdefs.h <<\_ACEOF
13247 #define HAVE_RESOLV 1
13248 _ACEOF
13250 RESOLVLIBS="-lresolv"
13255 LCMSLIBS=""
13257 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13258 then
13259 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13260 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13261 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13262 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 else
13264 ac_check_lib_save_LIBS=$LIBS
13265 LIBS="-llcms $LIBS"
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13273 /* Override any GCC internal prototype to avoid an error.
13274 Use char because int might match the return type of a GCC
13275 builtin and then its argument prototype would still apply. */
13276 #ifdef __cplusplus
13277 extern "C"
13278 #endif
13279 char cmsOpenProfileFromFile ();
13281 main ()
13283 return cmsOpenProfileFromFile ();
13285 return 0;
13287 _ACEOF
13288 rm -f conftest.$ac_objext conftest$ac_exeext
13289 if { (ac_try="$ac_link"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13293 esac
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_link") 2>conftest.er1
13296 ac_status=$?
13297 grep -v '^ *+' conftest.er1 >conftest.err
13298 rm -f conftest.er1
13299 cat conftest.err >&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); } && {
13302 test -z "$ac_c_werror_flag" ||
13303 test ! -s conftest.err
13304 } && test -s conftest$ac_exeext &&
13305 $as_test_x conftest$ac_exeext; then
13306 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13307 else
13308 echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.$ac_ext >&5
13311 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13315 conftest$ac_exeext conftest.$ac_ext
13316 LIBS=$ac_check_lib_save_LIBS
13318 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13319 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13320 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13322 cat >>confdefs.h <<\_ACEOF
13323 #define HAVE_LCMS 1
13324 _ACEOF
13326 LCMSLIBS="-llcms"
13330 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13331 case "x$with_cms" in
13332 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13333 xno) ;;
13334 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13335 This is an error since --with-cms was requested." >&5
13336 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13337 This is an error since --with-cms was requested." >&2;}
13338 { (exit 1); exit 1; }; } ;;
13339 esac
13343 LDAPLIBS=""
13345 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13346 then
13347 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13348 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13349 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 else
13352 ac_check_lib_save_LIBS=$LIBS
13353 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13354 cat >conftest.$ac_ext <<_ACEOF
13355 /* confdefs.h. */
13356 _ACEOF
13357 cat confdefs.h >>conftest.$ac_ext
13358 cat >>conftest.$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char ldap_initialize ();
13369 main ()
13371 return ldap_initialize ();
13373 return 0;
13375 _ACEOF
13376 rm -f conftest.$ac_objext conftest$ac_exeext
13377 if { (ac_try="$ac_link"
13378 case "(($ac_try" in
13379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13380 *) ac_try_echo=$ac_try;;
13381 esac
13382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13383 (eval "$ac_link") 2>conftest.er1
13384 ac_status=$?
13385 grep -v '^ *+' conftest.er1 >conftest.err
13386 rm -f conftest.er1
13387 cat conftest.err >&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && {
13390 test -z "$ac_c_werror_flag" ||
13391 test ! -s conftest.err
13392 } && test -s conftest$ac_exeext &&
13393 $as_test_x conftest$ac_exeext; then
13394 ac_cv_lib_ldap_r_ldap_initialize=yes
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13399 ac_cv_lib_ldap_r_ldap_initialize=no
13402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13403 conftest$ac_exeext conftest.$ac_ext
13404 LIBS=$ac_check_lib_save_LIBS
13406 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13407 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13408 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13409 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13410 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13411 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-llber $LIBPTHREAD $LIBS"
13416 cat >conftest.$ac_ext <<_ACEOF
13417 /* confdefs.h. */
13418 _ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 #ifdef __cplusplus
13427 extern "C"
13428 #endif
13429 char ber_init ();
13431 main ()
13433 return ber_init ();
13435 return 0;
13437 _ACEOF
13438 rm -f conftest.$ac_objext conftest$ac_exeext
13439 if { (ac_try="$ac_link"
13440 case "(($ac_try" in
13441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13443 esac
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_link") 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest$ac_exeext &&
13455 $as_test_x conftest$ac_exeext; then
13456 ac_cv_lib_lber_ber_init=yes
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_lib_lber_ber_init=no
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_lib_save_LIBS
13468 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13469 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13470 if test $ac_cv_lib_lber_ber_init = yes; then
13472 cat >>confdefs.h <<\_ACEOF
13473 #define HAVE_LDAP 1
13474 _ACEOF
13476 LDAPLIBS="-lldap_r -llber"
13481 ac_wine_check_funcs_save_LIBS="$LIBS"
13482 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13491 for ac_func in \
13492 ldap_count_references \
13493 ldap_first_reference \
13494 ldap_next_reference \
13495 ldap_parse_reference \
13496 ldap_parse_sort_control \
13497 ldap_parse_sortresponse_control \
13498 ldap_parse_vlv_control \
13499 ldap_parse_vlvresponse_control
13501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 else
13507 cat >conftest.$ac_ext <<_ACEOF
13508 /* confdefs.h. */
13509 _ACEOF
13510 cat confdefs.h >>conftest.$ac_ext
13511 cat >>conftest.$ac_ext <<_ACEOF
13512 /* end confdefs.h. */
13513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13515 #define $ac_func innocuous_$ac_func
13517 /* System header to define __stub macros and hopefully few prototypes,
13518 which can conflict with char $ac_func (); below.
13519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13520 <limits.h> exists even on freestanding compilers. */
13522 #ifdef __STDC__
13523 # include <limits.h>
13524 #else
13525 # include <assert.h>
13526 #endif
13528 #undef $ac_func
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 #ifdef __cplusplus
13534 extern "C"
13535 #endif
13536 char $ac_func ();
13537 /* The GNU C library defines this for functions which it implements
13538 to always fail with ENOSYS. Some functions are actually named
13539 something starting with __ and the normal name is an alias. */
13540 #if defined __stub_$ac_func || defined __stub___$ac_func
13541 choke me
13542 #endif
13545 main ()
13547 return $ac_func ();
13549 return 0;
13551 _ACEOF
13552 rm -f conftest.$ac_objext conftest$ac_exeext
13553 if { (ac_try="$ac_link"
13554 case "(($ac_try" in
13555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13556 *) ac_try_echo=$ac_try;;
13557 esac
13558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13559 (eval "$ac_link") 2>conftest.er1
13560 ac_status=$?
13561 grep -v '^ *+' conftest.er1 >conftest.err
13562 rm -f conftest.er1
13563 cat conftest.err >&5
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); } && {
13566 test -z "$ac_c_werror_flag" ||
13567 test ! -s conftest.err
13568 } && test -s conftest$ac_exeext &&
13569 $as_test_x conftest$ac_exeext; then
13570 eval "$as_ac_var=yes"
13571 else
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.$ac_ext >&5
13575 eval "$as_ac_var=no"
13578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13579 conftest$ac_exeext conftest.$ac_ext
13581 ac_res=`eval echo '${'$as_ac_var'}'`
13582 { echo "$as_me:$LINENO: result: $ac_res" >&5
13583 echo "${ECHO_T}$ac_res" >&6; }
13584 if test `eval echo '${'$as_ac_var'}'` = yes; then
13585 cat >>confdefs.h <<_ACEOF
13586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13587 _ACEOF
13590 done
13592 LIBS="$ac_wine_check_funcs_save_LIBS"
13594 if test "x$LDAPLIBS" = "x"; then
13595 case "x$with_ldap" in
13596 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13597 xno) ;;
13598 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13599 This is an error since --with-ldap was requested." >&5
13600 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13601 This is an error since --with-ldap was requested." >&2;}
13602 { (exit 1); exit 1; }; } ;;
13603 esac
13607 for ac_prog in freetype-config freetype2-config
13609 # Extract the first word of "$ac_prog", so it can be a program name with args.
13610 set dummy $ac_prog; ac_word=$2
13611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13613 if test "${ac_cv_prog_ft_devel+set}" = set; then
13614 echo $ECHO_N "(cached) $ECHO_C" >&6
13615 else
13616 if test -n "$ft_devel"; then
13617 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13618 else
13619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13620 for as_dir in $PATH
13622 IFS=$as_save_IFS
13623 test -z "$as_dir" && as_dir=.
13624 for ac_exec_ext in '' $ac_executable_extensions; do
13625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13626 ac_cv_prog_ft_devel="$ac_prog"
13627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13628 break 2
13630 done
13631 done
13632 IFS=$as_save_IFS
13636 ft_devel=$ac_cv_prog_ft_devel
13637 if test -n "$ft_devel"; then
13638 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13639 echo "${ECHO_T}$ft_devel" >&6; }
13640 else
13641 { echo "$as_me:$LINENO: result: no" >&5
13642 echo "${ECHO_T}no" >&6; }
13646 test -n "$ft_devel" && break
13647 done
13648 test -n "$ft_devel" || ft_devel="false"
13650 if test "$ft_devel" != "false"
13651 then
13652 ac_freetype_libs=`$ft_devel --libs`
13653 ac_freetype_incl=`$ft_devel --cflags`
13654 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13655 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13656 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 else
13659 ac_check_soname_save_LIBS=$LIBS
13660 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13661 cat >conftest.$ac_ext <<_ACEOF
13662 /* confdefs.h. */
13663 _ACEOF
13664 cat confdefs.h >>conftest.$ac_ext
13665 cat >>conftest.$ac_ext <<_ACEOF
13666 /* end confdefs.h. */
13668 /* Override any GCC internal prototype to avoid an error.
13669 Use char because int might match the return type of a GCC
13670 builtin and then its argument prototype would still apply. */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 char FT_Init_FreeType ();
13676 main ()
13678 return FT_Init_FreeType ();
13680 return 0;
13682 _ACEOF
13683 rm -f conftest.$ac_objext conftest$ac_exeext
13684 if { (ac_try="$ac_link"
13685 case "(($ac_try" in
13686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13687 *) ac_try_echo=$ac_try;;
13688 esac
13689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13690 (eval "$ac_link") 2>conftest.er1
13691 ac_status=$?
13692 grep -v '^ *+' conftest.er1 >conftest.err
13693 rm -f conftest.er1
13694 cat conftest.err >&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } && {
13697 test -z "$ac_c_werror_flag" ||
13698 test ! -s conftest.err
13699 } && test -s conftest$ac_exeext &&
13700 $as_test_x conftest$ac_exeext; then
13701 case "$LIBEXT" in
13702 dll) ;;
13703 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'` ;;
13704 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13705 esac
13706 else
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_soname_save_LIBS
13717 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13718 { echo "$as_me:$LINENO: result: not found" >&5
13719 echo "${ECHO_T}not found" >&6; }
13720 ft_lib=no
13721 else
13722 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13723 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13725 cat >>confdefs.h <<_ACEOF
13726 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13727 _ACEOF
13729 ft_lib=yes
13732 if test "$ft_lib" = "yes"
13733 then
13734 ac_save_CPPFLAGS="$CPPFLAGS"
13735 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13748 for ac_header in ft2build.h \
13749 freetype/freetype.h \
13750 freetype/ftglyph.h \
13751 freetype/fttypes.h \
13752 freetype/tttables.h \
13753 freetype/ftnames.h \
13754 freetype/ftsnames.h \
13755 freetype/ttnameid.h \
13756 freetype/ftoutln.h \
13757 freetype/ftwinfnt.h \
13758 freetype/ftmodapi.h \
13759 freetype/internal/sfnt.h
13761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 else
13767 cat >conftest.$ac_ext <<_ACEOF
13768 /* confdefs.h. */
13769 _ACEOF
13770 cat confdefs.h >>conftest.$ac_ext
13771 cat >>conftest.$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 #ifdef HAVE_FT2BUILD_H
13774 # include <ft2build.h>
13775 #endif
13777 #include <$ac_header>
13778 _ACEOF
13779 rm -f conftest.$ac_objext
13780 if { (ac_try="$ac_compile"
13781 case "(($ac_try" in
13782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13783 *) ac_try_echo=$ac_try;;
13784 esac
13785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13786 (eval "$ac_compile") 2>conftest.er1
13787 ac_status=$?
13788 grep -v '^ *+' conftest.er1 >conftest.err
13789 rm -f conftest.er1
13790 cat conftest.err >&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } && {
13793 test -z "$ac_c_werror_flag" ||
13794 test ! -s conftest.err
13795 } && test -s conftest.$ac_objext; then
13796 eval "$as_ac_Header=yes"
13797 else
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13801 eval "$as_ac_Header=no"
13804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13806 ac_res=`eval echo '${'$as_ac_Header'}'`
13807 { echo "$as_me:$LINENO: result: $ac_res" >&5
13808 echo "${ECHO_T}$ac_res" >&6; }
13809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13810 cat >>confdefs.h <<_ACEOF
13811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13812 _ACEOF
13816 done
13818 cat >conftest.$ac_ext <<_ACEOF
13819 /* confdefs.h. */
13820 _ACEOF
13821 cat confdefs.h >>conftest.$ac_ext
13822 cat >>conftest.$ac_ext <<_ACEOF
13823 /* end confdefs.h. */
13824 #include <ft2build.h>
13825 #include <freetype/fttrigon.h>
13826 _ACEOF
13827 if { (ac_try="$ac_cpp conftest.$ac_ext"
13828 case "(($ac_try" in
13829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13830 *) ac_try_echo=$ac_try;;
13831 esac
13832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13834 ac_status=$?
13835 grep -v '^ *+' conftest.er1 >conftest.err
13836 rm -f conftest.er1
13837 cat conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } >/dev/null && {
13840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13841 test ! -s conftest.err
13842 }; then
13844 cat >>confdefs.h <<\_ACEOF
13845 #define HAVE_FREETYPE_FTTRIGON_H 1
13846 _ACEOF
13848 wine_cv_fttrigon=yes
13849 else
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.$ac_ext >&5
13853 wine_cv_fttrigon=no
13856 rm -f conftest.err conftest.$ac_ext
13857 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13858 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13859 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13860 echo $ECHO_N "(cached) $ECHO_C" >&6
13861 else
13862 cat >conftest.$ac_ext <<_ACEOF
13863 /* confdefs.h. */
13864 _ACEOF
13865 cat confdefs.h >>conftest.$ac_ext
13866 cat >>conftest.$ac_ext <<_ACEOF
13867 /* end confdefs.h. */
13868 #include <freetype/ftmodapi.h>
13870 typedef FT_TrueTypeEngineType ac__type_new_;
13872 main ()
13874 if ((ac__type_new_ *) 0)
13875 return 0;
13876 if (sizeof (ac__type_new_))
13877 return 0;
13879 return 0;
13881 _ACEOF
13882 rm -f conftest.$ac_objext
13883 if { (ac_try="$ac_compile"
13884 case "(($ac_try" in
13885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13886 *) ac_try_echo=$ac_try;;
13887 esac
13888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13889 (eval "$ac_compile") 2>conftest.er1
13890 ac_status=$?
13891 grep -v '^ *+' conftest.er1 >conftest.err
13892 rm -f conftest.er1
13893 cat conftest.err >&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } && {
13896 test -z "$ac_c_werror_flag" ||
13897 test ! -s conftest.err
13898 } && test -s conftest.$ac_objext; then
13899 ac_cv_type_FT_TrueTypeEngineType=yes
13900 else
13901 echo "$as_me: failed program was:" >&5
13902 sed 's/^/| /' conftest.$ac_ext >&5
13904 ac_cv_type_FT_TrueTypeEngineType=no
13907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13909 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13910 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13911 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13913 cat >>confdefs.h <<_ACEOF
13914 #define HAVE_FT_TRUETYPEENGINETYPE 1
13915 _ACEOF
13920 ac_save_CFLAGS="$CFLAGS"
13921 CFLAGS="$CFLAGS $ac_freetype_libs"
13923 for ac_func in FT_Load_Sfnt_Table
13925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13926 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13928 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 else
13931 cat >conftest.$ac_ext <<_ACEOF
13932 /* confdefs.h. */
13933 _ACEOF
13934 cat confdefs.h >>conftest.$ac_ext
13935 cat >>conftest.$ac_ext <<_ACEOF
13936 /* end confdefs.h. */
13937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13939 #define $ac_func innocuous_$ac_func
13941 /* System header to define __stub macros and hopefully few prototypes,
13942 which can conflict with char $ac_func (); below.
13943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13944 <limits.h> exists even on freestanding compilers. */
13946 #ifdef __STDC__
13947 # include <limits.h>
13948 #else
13949 # include <assert.h>
13950 #endif
13952 #undef $ac_func
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 #ifdef __cplusplus
13958 extern "C"
13959 #endif
13960 char $ac_func ();
13961 /* The GNU C library defines this for functions which it implements
13962 to always fail with ENOSYS. Some functions are actually named
13963 something starting with __ and the normal name is an alias. */
13964 #if defined __stub_$ac_func || defined __stub___$ac_func
13965 choke me
13966 #endif
13969 main ()
13971 return $ac_func ();
13973 return 0;
13975 _ACEOF
13976 rm -f conftest.$ac_objext conftest$ac_exeext
13977 if { (ac_try="$ac_link"
13978 case "(($ac_try" in
13979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13980 *) ac_try_echo=$ac_try;;
13981 esac
13982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13983 (eval "$ac_link") 2>conftest.er1
13984 ac_status=$?
13985 grep -v '^ *+' conftest.er1 >conftest.err
13986 rm -f conftest.er1
13987 cat conftest.err >&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } && {
13990 test -z "$ac_c_werror_flag" ||
13991 test ! -s conftest.err
13992 } && test -s conftest$ac_exeext &&
13993 $as_test_x conftest$ac_exeext; then
13994 eval "$as_ac_var=yes"
13995 else
13996 echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.$ac_ext >&5
13999 eval "$as_ac_var=no"
14002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14003 conftest$ac_exeext conftest.$ac_ext
14005 ac_res=`eval echo '${'$as_ac_var'}'`
14006 { echo "$as_me:$LINENO: result: $ac_res" >&5
14007 echo "${ECHO_T}$ac_res" >&6; }
14008 if test `eval echo '${'$as_ac_var'}'` = yes; then
14009 cat >>confdefs.h <<_ACEOF
14010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14011 _ACEOF
14014 done
14016 CFLAGS="$ac_save_CFLAGS"
14017 CPPFLAGS="$ac_save_CPPFLAGS"
14018 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14019 then
14021 cat >>confdefs.h <<\_ACEOF
14022 #define HAVE_FREETYPE 1
14023 _ACEOF
14025 FREETYPELIBS="$ac_freetype_libs"
14027 FREETYPEINCL="$ac_freetype_incl"
14033 if test "$FONTFORGE" = "false"
14034 then
14035 wine_warnings="$wine_warnings|FontForge is missing.
14036 Fonts will not be built. Dialog text may be invisible or unaligned."
14037 elif test "x$FREETYPELIBS" = "x"
14038 then
14039 wine_warnings="$wine_warnings|FreeType development files not found.
14040 Fonts will not be built. Dialog text may be invisible or unaligned."
14041 else
14042 FONTSSUBDIRS="fonts"
14046 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14047 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14048 if test "${ac_cv_c_ppdev+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 else
14051 cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h. */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057 #include <linux/ppdev.h>
14059 main ()
14061 ioctl (1,PPCLAIM,0)
14063 return 0;
14065 _ACEOF
14066 rm -f conftest.$ac_objext
14067 if { (ac_try="$ac_compile"
14068 case "(($ac_try" in
14069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14070 *) ac_try_echo=$ac_try;;
14071 esac
14072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14073 (eval "$ac_compile") 2>conftest.er1
14074 ac_status=$?
14075 grep -v '^ *+' conftest.er1 >conftest.err
14076 rm -f conftest.er1
14077 cat conftest.err >&5
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); } && {
14080 test -z "$ac_c_werror_flag" ||
14081 test ! -s conftest.err
14082 } && test -s conftest.$ac_objext; then
14083 ac_cv_c_ppdev="yes"
14084 else
14085 echo "$as_me: failed program was:" >&5
14086 sed 's/^/| /' conftest.$ac_ext >&5
14088 ac_cv_c_ppdev="no"
14091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14093 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14094 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14095 if test "$ac_cv_c_ppdev" = "yes"
14096 then
14098 cat >>confdefs.h <<\_ACEOF
14099 #define HAVE_PPDEV 1
14100 _ACEOF
14104 { echo "$as_me:$LINENO: checking for va_copy" >&5
14105 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14106 if test "${ac_cv_c_va_copy+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 else
14109 cat >conftest.$ac_ext <<_ACEOF
14110 /* confdefs.h. */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14115 #include <stdarg.h>
14117 main ()
14119 va_list ap1, ap2; va_copy(ap1,ap2);
14121 return 0;
14123 _ACEOF
14124 rm -f conftest.$ac_objext conftest$ac_exeext
14125 if { (ac_try="$ac_link"
14126 case "(($ac_try" in
14127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14128 *) ac_try_echo=$ac_try;;
14129 esac
14130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14131 (eval "$ac_link") 2>conftest.er1
14132 ac_status=$?
14133 grep -v '^ *+' conftest.er1 >conftest.err
14134 rm -f conftest.er1
14135 cat conftest.err >&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } && {
14138 test -z "$ac_c_werror_flag" ||
14139 test ! -s conftest.err
14140 } && test -s conftest$ac_exeext &&
14141 $as_test_x conftest$ac_exeext; then
14142 ac_cv_c_va_copy="yes"
14143 else
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14147 ac_cv_c_va_copy="no"
14150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14151 conftest$ac_exeext conftest.$ac_ext
14154 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14155 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14156 if test "$ac_cv_c_va_copy" = "yes"
14157 then
14159 cat >>confdefs.h <<\_ACEOF
14160 #define HAVE_VA_COPY 1
14161 _ACEOF
14164 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14165 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14166 if test "${ac_cv_c___va_copy+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 else
14169 cat >conftest.$ac_ext <<_ACEOF
14170 /* confdefs.h. */
14171 _ACEOF
14172 cat confdefs.h >>conftest.$ac_ext
14173 cat >>conftest.$ac_ext <<_ACEOF
14174 /* end confdefs.h. */
14175 #include <stdarg.h>
14177 main ()
14179 va_list ap1, ap2; __va_copy(ap1,ap2);
14181 return 0;
14183 _ACEOF
14184 rm -f conftest.$ac_objext conftest$ac_exeext
14185 if { (ac_try="$ac_link"
14186 case "(($ac_try" in
14187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14188 *) ac_try_echo=$ac_try;;
14189 esac
14190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14191 (eval "$ac_link") 2>conftest.er1
14192 ac_status=$?
14193 grep -v '^ *+' conftest.er1 >conftest.err
14194 rm -f conftest.er1
14195 cat conftest.err >&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } && {
14198 test -z "$ac_c_werror_flag" ||
14199 test ! -s conftest.err
14200 } && test -s conftest$ac_exeext &&
14201 $as_test_x conftest$ac_exeext; then
14202 ac_cv_c___va_copy="yes"
14203 else
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14207 ac_cv_c___va_copy="no"
14210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14211 conftest$ac_exeext conftest.$ac_ext
14214 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14215 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14216 if test "$ac_cv_c___va_copy" = "yes"
14217 then
14219 cat >>confdefs.h <<\_ACEOF
14220 #define HAVE___VA_COPY 1
14221 _ACEOF
14225 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14226 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14227 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 cat >conftest.$ac_ext <<_ACEOF
14231 /* confdefs.h. */
14232 _ACEOF
14233 cat confdefs.h >>conftest.$ac_ext
14234 cat >>conftest.$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236 #include <setjmp.h>
14238 main ()
14240 sigjmp_buf buf;
14241 sigsetjmp( buf, 1 );
14242 siglongjmp( buf, 1 );
14244 return 0;
14246 _ACEOF
14247 rm -f conftest.$ac_objext conftest$ac_exeext
14248 if { (ac_try="$ac_link"
14249 case "(($ac_try" in
14250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14251 *) ac_try_echo=$ac_try;;
14252 esac
14253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14254 (eval "$ac_link") 2>conftest.er1
14255 ac_status=$?
14256 grep -v '^ *+' conftest.er1 >conftest.err
14257 rm -f conftest.er1
14258 cat conftest.err >&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } && {
14261 test -z "$ac_c_werror_flag" ||
14262 test ! -s conftest.err
14263 } && test -s conftest$ac_exeext &&
14264 $as_test_x conftest$ac_exeext; then
14265 ac_cv_c_sigsetjmp="yes"
14266 else
14267 echo "$as_me: failed program was:" >&5
14268 sed 's/^/| /' conftest.$ac_ext >&5
14270 ac_cv_c_sigsetjmp="no"
14273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14274 conftest$ac_exeext conftest.$ac_ext
14277 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14278 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14279 if test "$ac_cv_c_sigsetjmp" = "yes"
14280 then
14282 cat >>confdefs.h <<\_ACEOF
14283 #define HAVE_SIGSETJMP 1
14284 _ACEOF
14288 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14289 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14290 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14292 else
14293 cat >conftest.$ac_ext <<_ACEOF
14294 /* confdefs.h. */
14295 _ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 #define _GNU_SOURCE
14300 #include <pthread.h>
14302 typedef pthread_rwlock_t ac__type_new_;
14304 main ()
14306 if ((ac__type_new_ *) 0)
14307 return 0;
14308 if (sizeof (ac__type_new_))
14309 return 0;
14311 return 0;
14313 _ACEOF
14314 rm -f conftest.$ac_objext
14315 if { (ac_try="$ac_compile"
14316 case "(($ac_try" in
14317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14318 *) ac_try_echo=$ac_try;;
14319 esac
14320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14321 (eval "$ac_compile") 2>conftest.er1
14322 ac_status=$?
14323 grep -v '^ *+' conftest.er1 >conftest.err
14324 rm -f conftest.er1
14325 cat conftest.err >&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } && {
14328 test -z "$ac_c_werror_flag" ||
14329 test ! -s conftest.err
14330 } && test -s conftest.$ac_objext; then
14331 ac_cv_type_pthread_rwlock_t=yes
14332 else
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14336 ac_cv_type_pthread_rwlock_t=no
14339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14341 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14342 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14343 if test $ac_cv_type_pthread_rwlock_t = yes; then
14345 cat >>confdefs.h <<_ACEOF
14346 #define HAVE_PTHREAD_RWLOCK_T 1
14347 _ACEOF
14351 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14352 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14353 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14356 cat >conftest.$ac_ext <<_ACEOF
14357 /* confdefs.h. */
14358 _ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362 #define _GNU_SOURCE
14363 #include <pthread.h>
14365 typedef pthread_rwlockattr_t ac__type_new_;
14367 main ()
14369 if ((ac__type_new_ *) 0)
14370 return 0;
14371 if (sizeof (ac__type_new_))
14372 return 0;
14374 return 0;
14376 _ACEOF
14377 rm -f conftest.$ac_objext
14378 if { (ac_try="$ac_compile"
14379 case "(($ac_try" in
14380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14382 esac
14383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14384 (eval "$ac_compile") 2>conftest.er1
14385 ac_status=$?
14386 grep -v '^ *+' conftest.er1 >conftest.err
14387 rm -f conftest.er1
14388 cat conftest.err >&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } && {
14391 test -z "$ac_c_werror_flag" ||
14392 test ! -s conftest.err
14393 } && test -s conftest.$ac_objext; then
14394 ac_cv_type_pthread_rwlockattr_t=yes
14395 else
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14399 ac_cv_type_pthread_rwlockattr_t=no
14402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14404 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14405 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14406 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14408 cat >>confdefs.h <<_ACEOF
14409 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14410 _ACEOF
14416 ac_wine_check_funcs_save_LIBS="$LIBS"
14417 LIBS="$LIBS $LIBPTHREAD"
14422 for ac_func in \
14423 pthread_attr_get_np \
14424 pthread_getattr_np \
14425 pthread_get_stackaddr_np \
14426 pthread_get_stacksize_np
14428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14429 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14431 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 else
14434 cat >conftest.$ac_ext <<_ACEOF
14435 /* confdefs.h. */
14436 _ACEOF
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14442 #define $ac_func innocuous_$ac_func
14444 /* System header to define __stub macros and hopefully few prototypes,
14445 which can conflict with char $ac_func (); below.
14446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14447 <limits.h> exists even on freestanding compilers. */
14449 #ifdef __STDC__
14450 # include <limits.h>
14451 #else
14452 # include <assert.h>
14453 #endif
14455 #undef $ac_func
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14460 #ifdef __cplusplus
14461 extern "C"
14462 #endif
14463 char $ac_func ();
14464 /* The GNU C library defines this for functions which it implements
14465 to always fail with ENOSYS. Some functions are actually named
14466 something starting with __ and the normal name is an alias. */
14467 #if defined __stub_$ac_func || defined __stub___$ac_func
14468 choke me
14469 #endif
14472 main ()
14474 return $ac_func ();
14476 return 0;
14478 _ACEOF
14479 rm -f conftest.$ac_objext conftest$ac_exeext
14480 if { (ac_try="$ac_link"
14481 case "(($ac_try" in
14482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14484 esac
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_link") 2>conftest.er1
14487 ac_status=$?
14488 grep -v '^ *+' conftest.er1 >conftest.err
14489 rm -f conftest.er1
14490 cat conftest.err >&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } && {
14493 test -z "$ac_c_werror_flag" ||
14494 test ! -s conftest.err
14495 } && test -s conftest$ac_exeext &&
14496 $as_test_x conftest$ac_exeext; then
14497 eval "$as_ac_var=yes"
14498 else
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.$ac_ext >&5
14502 eval "$as_ac_var=no"
14505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14506 conftest$ac_exeext conftest.$ac_ext
14508 ac_res=`eval echo '${'$as_ac_var'}'`
14509 { echo "$as_me:$LINENO: result: $ac_res" >&5
14510 echo "${ECHO_T}$ac_res" >&6; }
14511 if test `eval echo '${'$as_ac_var'}'` = yes; then
14512 cat >>confdefs.h <<_ACEOF
14513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14514 _ACEOF
14517 done
14519 LIBS="$ac_wine_check_funcs_save_LIBS"
14521 # Extract the first word of "esd-config", so it can be a program name with args.
14522 set dummy esd-config; ac_word=$2
14523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14525 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 else
14528 case $ESDCONFIG in
14529 [\\/]* | ?:[\\/]*)
14530 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14534 for as_dir in $PATH
14536 IFS=$as_save_IFS
14537 test -z "$as_dir" && as_dir=.
14538 for ac_exec_ext in '' $ac_executable_extensions; do
14539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14540 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14542 break 2
14544 done
14545 done
14546 IFS=$as_save_IFS
14549 esac
14551 ESDCONFIG=$ac_cv_path_ESDCONFIG
14552 if test -n "$ESDCONFIG"; then
14553 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14554 echo "${ECHO_T}$ESDCONFIG" >&6; }
14555 else
14556 { echo "$as_me:$LINENO: result: no" >&5
14557 echo "${ECHO_T}no" >&6; }
14561 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14562 then
14563 ESD_CFLAGS=""
14564 for i in `$ESDCONFIG --cflags`
14566 case "$i" in
14567 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14568 esac
14569 done
14570 ESD_LIBS=`$ESDCONFIG --libs`
14571 save_CFLAGS="$CFLAGS"
14572 CFLAGS="$CFLAGS $ESD_CFLAGS"
14573 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14574 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14575 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14576 echo $ECHO_N "(cached) $ECHO_C" >&6
14577 else
14578 ac_check_lib_save_LIBS=$LIBS
14579 LIBS="-lesd $LIBS"
14580 cat >conftest.$ac_ext <<_ACEOF
14581 /* confdefs.h. */
14582 _ACEOF
14583 cat confdefs.h >>conftest.$ac_ext
14584 cat >>conftest.$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14590 #ifdef __cplusplus
14591 extern "C"
14592 #endif
14593 char esd_open_sound ();
14595 main ()
14597 return esd_open_sound ();
14599 return 0;
14601 _ACEOF
14602 rm -f conftest.$ac_objext conftest$ac_exeext
14603 if { (ac_try="$ac_link"
14604 case "(($ac_try" in
14605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14606 *) ac_try_echo=$ac_try;;
14607 esac
14608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14609 (eval "$ac_link") 2>conftest.er1
14610 ac_status=$?
14611 grep -v '^ *+' conftest.er1 >conftest.err
14612 rm -f conftest.er1
14613 cat conftest.err >&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } && {
14616 test -z "$ac_c_werror_flag" ||
14617 test ! -s conftest.err
14618 } && test -s conftest$ac_exeext &&
14619 $as_test_x conftest$ac_exeext; then
14620 ac_cv_lib_esd_esd_open_sound=yes
14621 else
14622 echo "$as_me: failed program was:" >&5
14623 sed 's/^/| /' conftest.$ac_ext >&5
14625 ac_cv_lib_esd_esd_open_sound=no
14628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14629 conftest$ac_exeext conftest.$ac_ext
14630 LIBS=$ac_check_lib_save_LIBS
14632 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14633 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14634 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14635 ESDLIBS=$ESD_LIBS
14637 ESDINCL=$ESD_CFLAGS
14640 cat >>confdefs.h <<\_ACEOF
14641 #define HAVE_ESD 1
14642 _ACEOF
14646 CFLAGS="$save_CFLAGS"
14649 ALSALIBS=""
14651 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14652 then
14653 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14654 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14655 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 else
14658 ac_check_lib_save_LIBS=$LIBS
14659 LIBS="-lasound $LIBS"
14660 cat >conftest.$ac_ext <<_ACEOF
14661 /* confdefs.h. */
14662 _ACEOF
14663 cat confdefs.h >>conftest.$ac_ext
14664 cat >>conftest.$ac_ext <<_ACEOF
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14670 #ifdef __cplusplus
14671 extern "C"
14672 #endif
14673 char snd_pcm_hw_params_get_access ();
14675 main ()
14677 return snd_pcm_hw_params_get_access ();
14679 return 0;
14681 _ACEOF
14682 rm -f conftest.$ac_objext conftest$ac_exeext
14683 if { (ac_try="$ac_link"
14684 case "(($ac_try" in
14685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14686 *) ac_try_echo=$ac_try;;
14687 esac
14688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14689 (eval "$ac_link") 2>conftest.er1
14690 ac_status=$?
14691 grep -v '^ *+' conftest.er1 >conftest.err
14692 rm -f conftest.er1
14693 cat conftest.err >&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } && {
14696 test -z "$ac_c_werror_flag" ||
14697 test ! -s conftest.err
14698 } && test -s conftest$ac_exeext &&
14699 $as_test_x conftest$ac_exeext; then
14700 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14701 else
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14705 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14709 conftest$ac_exeext conftest.$ac_ext
14710 LIBS=$ac_check_lib_save_LIBS
14712 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14713 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14714 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14715 cat >conftest.$ac_ext <<_ACEOF
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 #ifdef HAVE_ALSA_ASOUNDLIB_H
14722 #include <alsa/asoundlib.h>
14723 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14724 #include <sys/asoundlib.h>
14725 #endif
14727 main ()
14729 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14731 return 0;
14733 _ACEOF
14734 rm -f conftest.$ac_objext
14735 if { (ac_try="$ac_compile"
14736 case "(($ac_try" in
14737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14738 *) ac_try_echo=$ac_try;;
14739 esac
14740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14741 (eval "$ac_compile") 2>conftest.er1
14742 ac_status=$?
14743 grep -v '^ *+' conftest.er1 >conftest.err
14744 rm -f conftest.er1
14745 cat conftest.err >&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } && {
14748 test -z "$ac_c_werror_flag" ||
14749 test ! -s conftest.err
14750 } && test -s conftest.$ac_objext; then
14752 cat >>confdefs.h <<\_ACEOF
14753 #define HAVE_ALSA 1
14754 _ACEOF
14756 ALSALIBS="-lasound"
14757 else
14758 echo "$as_me: failed program was:" >&5
14759 sed 's/^/| /' conftest.$ac_ext >&5
14764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 AUDIOIOLIBS=""
14771 if test "$ac_cv_header_libaudioio_h" = "yes"
14772 then
14773 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14774 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14775 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14778 ac_check_lib_save_LIBS=$LIBS
14779 LIBS="-laudioio $LIBS"
14780 cat >conftest.$ac_ext <<_ACEOF
14781 /* confdefs.h. */
14782 _ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14790 #ifdef __cplusplus
14791 extern "C"
14792 #endif
14793 char AudioIOGetVersion ();
14795 main ()
14797 return AudioIOGetVersion ();
14799 return 0;
14801 _ACEOF
14802 rm -f conftest.$ac_objext conftest$ac_exeext
14803 if { (ac_try="$ac_link"
14804 case "(($ac_try" in
14805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14806 *) ac_try_echo=$ac_try;;
14807 esac
14808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14809 (eval "$ac_link") 2>conftest.er1
14810 ac_status=$?
14811 grep -v '^ *+' conftest.er1 >conftest.err
14812 rm -f conftest.er1
14813 cat conftest.err >&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); } && {
14816 test -z "$ac_c_werror_flag" ||
14817 test ! -s conftest.err
14818 } && test -s conftest$ac_exeext &&
14819 $as_test_x conftest$ac_exeext; then
14820 ac_cv_lib_audioio_AudioIOGetVersion=yes
14821 else
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.$ac_ext >&5
14825 ac_cv_lib_audioio_AudioIOGetVersion=no
14828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14829 conftest$ac_exeext conftest.$ac_ext
14830 LIBS=$ac_check_lib_save_LIBS
14832 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14833 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14834 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14835 AUDIOIOLIBS="-laudioio"
14837 cat >>confdefs.h <<\_ACEOF
14838 #define HAVE_LIBAUDIOIO 1
14839 _ACEOF
14846 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14847 then
14848 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14849 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14850 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14852 else
14853 ac_check_soname_save_LIBS=$LIBS
14854 LIBS="-lcapi20 $LIBS"
14855 cat >conftest.$ac_ext <<_ACEOF
14856 /* confdefs.h. */
14857 _ACEOF
14858 cat confdefs.h >>conftest.$ac_ext
14859 cat >>conftest.$ac_ext <<_ACEOF
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14865 #ifdef __cplusplus
14866 extern "C"
14867 #endif
14868 char capi20_register ();
14870 main ()
14872 return capi20_register ();
14874 return 0;
14876 _ACEOF
14877 rm -f conftest.$ac_objext conftest$ac_exeext
14878 if { (ac_try="$ac_link"
14879 case "(($ac_try" in
14880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14881 *) ac_try_echo=$ac_try;;
14882 esac
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14884 (eval "$ac_link") 2>conftest.er1
14885 ac_status=$?
14886 grep -v '^ *+' conftest.er1 >conftest.err
14887 rm -f conftest.er1
14888 cat conftest.err >&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } && {
14891 test -z "$ac_c_werror_flag" ||
14892 test ! -s conftest.err
14893 } && test -s conftest$ac_exeext &&
14894 $as_test_x conftest$ac_exeext; then
14895 case "$LIBEXT" in
14896 dll) ;;
14897 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'` ;;
14898 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14899 esac
14900 else
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14908 conftest$ac_exeext conftest.$ac_ext
14909 LIBS=$ac_check_soname_save_LIBS
14911 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14912 { echo "$as_me:$LINENO: result: not found" >&5
14913 echo "${ECHO_T}not found" >&6; }
14915 else
14916 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14917 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14919 cat >>confdefs.h <<_ACEOF
14920 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14921 _ACEOF
14927 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14928 case "x$with_capi" in
14929 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14930 xno) ;;
14931 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14932 This is an error since --with-capi was requested." >&5
14933 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14934 This is an error since --with-capi was requested." >&2;}
14935 { (exit 1); exit 1; }; } ;;
14936 esac
14940 if test "$ac_cv_header_cups_cups_h" = "yes"
14941 then
14942 { echo "$as_me:$LINENO: checking for -lcups" >&5
14943 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14944 if test "${ac_cv_lib_soname_cups+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 else
14947 ac_check_soname_save_LIBS=$LIBS
14948 LIBS="-lcups $LIBS"
14949 cat >conftest.$ac_ext <<_ACEOF
14950 /* confdefs.h. */
14951 _ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 #ifdef __cplusplus
14960 extern "C"
14961 #endif
14962 char cupsGetDefault ();
14964 main ()
14966 return cupsGetDefault ();
14968 return 0;
14970 _ACEOF
14971 rm -f conftest.$ac_objext conftest$ac_exeext
14972 if { (ac_try="$ac_link"
14973 case "(($ac_try" in
14974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14975 *) ac_try_echo=$ac_try;;
14976 esac
14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14978 (eval "$ac_link") 2>conftest.er1
14979 ac_status=$?
14980 grep -v '^ *+' conftest.er1 >conftest.err
14981 rm -f conftest.er1
14982 cat conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } && {
14985 test -z "$ac_c_werror_flag" ||
14986 test ! -s conftest.err
14987 } && test -s conftest$ac_exeext &&
14988 $as_test_x conftest$ac_exeext; then
14989 case "$LIBEXT" in
14990 dll) ;;
14991 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'` ;;
14992 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14993 esac
14994 else
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
15001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_soname_save_LIBS
15005 if test "x$ac_cv_lib_soname_cups" = "x"; then
15006 { echo "$as_me:$LINENO: result: not found" >&5
15007 echo "${ECHO_T}not found" >&6; }
15009 else
15010 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15011 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15013 cat >>confdefs.h <<_ACEOF
15014 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15015 _ACEOF
15021 if test "x$ac_cv_lib_soname_cups" = "x"; then
15022 case "x$with_cups" in
15023 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15024 xno) ;;
15025 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15026 This is an error since --with-cups was requested." >&5
15027 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15028 This is an error since --with-cups was requested." >&2;}
15029 { (exit 1); exit 1; }; } ;;
15030 esac
15034 if test "$ac_cv_header_jack_jack_h" = "yes"
15035 then
15036 { echo "$as_me:$LINENO: checking for -ljack" >&5
15037 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15038 if test "${ac_cv_lib_soname_jack+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 else
15041 ac_check_soname_save_LIBS=$LIBS
15042 LIBS="-ljack $LIBS"
15043 cat >conftest.$ac_ext <<_ACEOF
15044 /* confdefs.h. */
15045 _ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 #ifdef __cplusplus
15054 extern "C"
15055 #endif
15056 char jack_client_new ();
15058 main ()
15060 return jack_client_new ();
15062 return 0;
15064 _ACEOF
15065 rm -f conftest.$ac_objext conftest$ac_exeext
15066 if { (ac_try="$ac_link"
15067 case "(($ac_try" in
15068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15070 esac
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_link") 2>conftest.er1
15073 ac_status=$?
15074 grep -v '^ *+' conftest.er1 >conftest.err
15075 rm -f conftest.er1
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } && {
15079 test -z "$ac_c_werror_flag" ||
15080 test ! -s conftest.err
15081 } && test -s conftest$ac_exeext &&
15082 $as_test_x conftest$ac_exeext; then
15083 case "$LIBEXT" in
15084 dll) ;;
15085 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'` ;;
15086 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15087 esac
15088 else
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.$ac_ext >&5
15095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_soname_save_LIBS
15099 if test "x$ac_cv_lib_soname_jack" = "x"; then
15100 { echo "$as_me:$LINENO: result: not found" >&5
15101 echo "${ECHO_T}not found" >&6; }
15103 else
15104 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15105 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15107 cat >>confdefs.h <<_ACEOF
15108 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15109 _ACEOF
15116 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15117 then
15118 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15119 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15120 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 else
15123 ac_check_soname_save_LIBS=$LIBS
15124 LIBS="-lfontconfig $LIBS"
15125 cat >conftest.$ac_ext <<_ACEOF
15126 /* confdefs.h. */
15127 _ACEOF
15128 cat confdefs.h >>conftest.$ac_ext
15129 cat >>conftest.$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15132 /* Override any GCC internal prototype to avoid an error.
15133 Use char because int might match the return type of a GCC
15134 builtin and then its argument prototype would still apply. */
15135 #ifdef __cplusplus
15136 extern "C"
15137 #endif
15138 char FcInit ();
15140 main ()
15142 return FcInit ();
15144 return 0;
15146 _ACEOF
15147 rm -f conftest.$ac_objext conftest$ac_exeext
15148 if { (ac_try="$ac_link"
15149 case "(($ac_try" in
15150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15151 *) ac_try_echo=$ac_try;;
15152 esac
15153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15154 (eval "$ac_link") 2>conftest.er1
15155 ac_status=$?
15156 grep -v '^ *+' conftest.er1 >conftest.err
15157 rm -f conftest.er1
15158 cat conftest.err >&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); } && {
15161 test -z "$ac_c_werror_flag" ||
15162 test ! -s conftest.err
15163 } && test -s conftest$ac_exeext &&
15164 $as_test_x conftest$ac_exeext; then
15165 case "$LIBEXT" in
15166 dll) ;;
15167 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'` ;;
15168 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15169 esac
15170 else
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15178 conftest$ac_exeext conftest.$ac_ext
15179 LIBS=$ac_check_soname_save_LIBS
15181 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15182 { echo "$as_me:$LINENO: result: not found" >&5
15183 echo "${ECHO_T}not found" >&6; }
15185 else
15186 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15187 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15189 cat >>confdefs.h <<_ACEOF
15190 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15191 _ACEOF
15196 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15197 then
15198 ac_save_CPPFLAGS="$CPPFLAGS"
15199 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15200 $as_unset ac_cv_header_fontconfig_fontconfig_h
15202 for ac_header in fontconfig/fontconfig.h
15204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15206 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15209 echo $ECHO_N "(cached) $ECHO_C" >&6
15211 ac_res=`eval echo '${'$as_ac_Header'}'`
15212 { echo "$as_me:$LINENO: result: $ac_res" >&5
15213 echo "${ECHO_T}$ac_res" >&6; }
15214 else
15215 # Is the header compilable?
15216 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15218 cat >conftest.$ac_ext <<_ACEOF
15219 /* confdefs.h. */
15220 _ACEOF
15221 cat confdefs.h >>conftest.$ac_ext
15222 cat >>conftest.$ac_ext <<_ACEOF
15223 /* end confdefs.h. */
15224 $ac_includes_default
15225 #include <$ac_header>
15226 _ACEOF
15227 rm -f conftest.$ac_objext
15228 if { (ac_try="$ac_compile"
15229 case "(($ac_try" in
15230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15231 *) ac_try_echo=$ac_try;;
15232 esac
15233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15234 (eval "$ac_compile") 2>conftest.er1
15235 ac_status=$?
15236 grep -v '^ *+' conftest.er1 >conftest.err
15237 rm -f conftest.er1
15238 cat conftest.err >&5
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } && {
15241 test -z "$ac_c_werror_flag" ||
15242 test ! -s conftest.err
15243 } && test -s conftest.$ac_objext; then
15244 ac_header_compiler=yes
15245 else
15246 echo "$as_me: failed program was:" >&5
15247 sed 's/^/| /' conftest.$ac_ext >&5
15249 ac_header_compiler=no
15252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15254 echo "${ECHO_T}$ac_header_compiler" >&6; }
15256 # Is the header present?
15257 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15259 cat >conftest.$ac_ext <<_ACEOF
15260 /* confdefs.h. */
15261 _ACEOF
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265 #include <$ac_header>
15266 _ACEOF
15267 if { (ac_try="$ac_cpp conftest.$ac_ext"
15268 case "(($ac_try" in
15269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15270 *) ac_try_echo=$ac_try;;
15271 esac
15272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15274 ac_status=$?
15275 grep -v '^ *+' conftest.er1 >conftest.err
15276 rm -f conftest.er1
15277 cat conftest.err >&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } >/dev/null && {
15280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15281 test ! -s conftest.err
15282 }; then
15283 ac_header_preproc=yes
15284 else
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15288 ac_header_preproc=no
15291 rm -f conftest.err conftest.$ac_ext
15292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15293 echo "${ECHO_T}$ac_header_preproc" >&6; }
15295 # So? What about this header?
15296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15297 yes:no: )
15298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15302 ac_header_preproc=yes
15304 no:yes:* )
15305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15317 ( cat <<\_ASBOX
15318 ## ------------------------------------ ##
15319 ## Report this to wine-devel@winehq.org ##
15320 ## ------------------------------------ ##
15321 _ASBOX
15322 ) | sed "s/^/$as_me: WARNING: /" >&2
15324 esac
15325 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 else
15330 eval "$as_ac_Header=\$ac_header_preproc"
15332 ac_res=`eval echo '${'$as_ac_Header'}'`
15333 { echo "$as_me:$LINENO: result: $ac_res" >&5
15334 echo "${ECHO_T}$ac_res" >&6; }
15337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15338 cat >>confdefs.h <<_ACEOF
15339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15340 _ACEOF
15344 done
15346 CPPFLAGS="$ac_save_CPPFLAGS"
15347 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15348 then
15349 FONTCONFIGINCL="$X_CFLAGS"
15351 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15352 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15353 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15354 echo $ECHO_N "(cached) $ECHO_C" >&6
15355 else
15356 ac_check_soname_save_LIBS=$LIBS
15357 LIBS="-lfontconfig $X_LIBS $LIBS"
15358 cat >conftest.$ac_ext <<_ACEOF
15359 /* confdefs.h. */
15360 _ACEOF
15361 cat confdefs.h >>conftest.$ac_ext
15362 cat >>conftest.$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15365 /* Override any GCC internal prototype to avoid an error.
15366 Use char because int might match the return type of a GCC
15367 builtin and then its argument prototype would still apply. */
15368 #ifdef __cplusplus
15369 extern "C"
15370 #endif
15371 char FcInit ();
15373 main ()
15375 return FcInit ();
15377 return 0;
15379 _ACEOF
15380 rm -f conftest.$ac_objext conftest$ac_exeext
15381 if { (ac_try="$ac_link"
15382 case "(($ac_try" in
15383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15384 *) ac_try_echo=$ac_try;;
15385 esac
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_link") 2>conftest.er1
15388 ac_status=$?
15389 grep -v '^ *+' conftest.er1 >conftest.err
15390 rm -f conftest.er1
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && {
15394 test -z "$ac_c_werror_flag" ||
15395 test ! -s conftest.err
15396 } && test -s conftest$ac_exeext &&
15397 $as_test_x conftest$ac_exeext; then
15398 case "$LIBEXT" in
15399 dll) ;;
15400 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'` ;;
15401 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15402 esac
15403 else
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15411 conftest$ac_exeext conftest.$ac_ext
15412 LIBS=$ac_check_soname_save_LIBS
15414 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15415 { echo "$as_me:$LINENO: result: not found" >&5
15416 echo "${ECHO_T}not found" >&6; }
15418 else
15419 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15420 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15422 cat >>confdefs.h <<_ACEOF
15423 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15424 _ACEOF
15431 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15432 case "x$with_fontconfig" in
15433 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15434 xno) ;;
15435 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15436 This is an error since --with-fontconfig was requested." >&5
15437 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15438 This is an error since --with-fontconfig was requested." >&2;}
15439 { (exit 1); exit 1; }; } ;;
15440 esac
15444 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15445 then
15446 { echo "$as_me:$LINENO: checking for -lssl" >&5
15447 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15448 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 else
15451 ac_check_soname_save_LIBS=$LIBS
15452 LIBS="-lssl $LIBS"
15453 cat >conftest.$ac_ext <<_ACEOF
15454 /* confdefs.h. */
15455 _ACEOF
15456 cat confdefs.h >>conftest.$ac_ext
15457 cat >>conftest.$ac_ext <<_ACEOF
15458 /* end confdefs.h. */
15460 /* Override any GCC internal prototype to avoid an error.
15461 Use char because int might match the return type of a GCC
15462 builtin and then its argument prototype would still apply. */
15463 #ifdef __cplusplus
15464 extern "C"
15465 #endif
15466 char SSL_library_init ();
15468 main ()
15470 return SSL_library_init ();
15472 return 0;
15474 _ACEOF
15475 rm -f conftest.$ac_objext conftest$ac_exeext
15476 if { (ac_try="$ac_link"
15477 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15480 esac
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_link") 2>conftest.er1
15483 ac_status=$?
15484 grep -v '^ *+' conftest.er1 >conftest.err
15485 rm -f conftest.er1
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest$ac_exeext &&
15492 $as_test_x conftest$ac_exeext; then
15493 case "$LIBEXT" in
15494 dll) ;;
15495 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'` ;;
15496 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15497 esac
15498 else
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15506 conftest$ac_exeext conftest.$ac_ext
15507 LIBS=$ac_check_soname_save_LIBS
15509 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15510 { echo "$as_me:$LINENO: result: not found" >&5
15511 echo "${ECHO_T}not found" >&6; }
15513 else
15514 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15515 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15517 cat >>confdefs.h <<_ACEOF
15518 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15519 _ACEOF
15524 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15525 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15526 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 else
15529 ac_check_soname_save_LIBS=$LIBS
15530 LIBS="-lcrypto $LIBS"
15531 cat >conftest.$ac_ext <<_ACEOF
15532 /* confdefs.h. */
15533 _ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15541 #ifdef __cplusplus
15542 extern "C"
15543 #endif
15544 char BIO_new_socket ();
15546 main ()
15548 return BIO_new_socket ();
15550 return 0;
15552 _ACEOF
15553 rm -f conftest.$ac_objext conftest$ac_exeext
15554 if { (ac_try="$ac_link"
15555 case "(($ac_try" in
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15558 esac
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_link") 2>conftest.er1
15561 ac_status=$?
15562 grep -v '^ *+' conftest.er1 >conftest.err
15563 rm -f conftest.er1
15564 cat conftest.err >&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } && {
15567 test -z "$ac_c_werror_flag" ||
15568 test ! -s conftest.err
15569 } && test -s conftest$ac_exeext &&
15570 $as_test_x conftest$ac_exeext; then
15571 case "$LIBEXT" in
15572 dll) ;;
15573 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'` ;;
15574 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15575 esac
15576 else
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.$ac_ext >&5
15583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15584 conftest$ac_exeext conftest.$ac_ext
15585 LIBS=$ac_check_soname_save_LIBS
15587 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15588 { echo "$as_me:$LINENO: result: not found" >&5
15589 echo "${ECHO_T}not found" >&6; }
15591 else
15592 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15593 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15595 cat >>confdefs.h <<_ACEOF
15596 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15597 _ACEOF
15603 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15604 case "x$with_openssl" in
15605 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15606 xno) ;;
15607 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15608 This is an error since --with-openssl was requested." >&5
15609 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15610 This is an error since --with-openssl was requested." >&2;}
15611 { (exit 1); exit 1; }; } ;;
15612 esac
15616 if test "$ac_cv_header_jpeglib_h" = "yes"
15617 then
15618 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15619 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15620 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 else
15623 ac_check_soname_save_LIBS=$LIBS
15624 LIBS="-ljpeg $LIBS"
15625 cat >conftest.$ac_ext <<_ACEOF
15626 /* confdefs.h. */
15627 _ACEOF
15628 cat confdefs.h >>conftest.$ac_ext
15629 cat >>conftest.$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15632 /* Override any GCC internal prototype to avoid an error.
15633 Use char because int might match the return type of a GCC
15634 builtin and then its argument prototype would still apply. */
15635 #ifdef __cplusplus
15636 extern "C"
15637 #endif
15638 char jpeg_start_decompress ();
15640 main ()
15642 return jpeg_start_decompress ();
15644 return 0;
15646 _ACEOF
15647 rm -f conftest.$ac_objext conftest$ac_exeext
15648 if { (ac_try="$ac_link"
15649 case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15652 esac
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_link") 2>conftest.er1
15655 ac_status=$?
15656 grep -v '^ *+' conftest.er1 >conftest.err
15657 rm -f conftest.er1
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest$ac_exeext &&
15664 $as_test_x conftest$ac_exeext; then
15665 case "$LIBEXT" in
15666 dll) ;;
15667 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'` ;;
15668 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15669 esac
15670 else
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15678 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_check_soname_save_LIBS
15681 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15682 { echo "$as_me:$LINENO: result: not found" >&5
15683 echo "${ECHO_T}not found" >&6; }
15685 else
15686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15687 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15689 cat >>confdefs.h <<_ACEOF
15690 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15691 _ACEOF
15697 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15698 case "x$with_jpeg" in
15699 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15700 xno) ;;
15701 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15702 This is an error since --with-jpeg was requested." >&5
15703 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15704 This is an error since --with-jpeg was requested." >&2;}
15705 { (exit 1); exit 1; }; } ;;
15706 esac
15710 if test "$ac_cv_header_png_h" = "yes"
15711 then
15712 { echo "$as_me:$LINENO: checking for -lpng" >&5
15713 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15714 if test "${ac_cv_lib_soname_png+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 else
15717 ac_check_soname_save_LIBS=$LIBS
15718 LIBS="-lpng $LIBS"
15719 cat >conftest.$ac_ext <<_ACEOF
15720 /* confdefs.h. */
15721 _ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15729 #ifdef __cplusplus
15730 extern "C"
15731 #endif
15732 char png_create_read_struct ();
15734 main ()
15736 return png_create_read_struct ();
15738 return 0;
15740 _ACEOF
15741 rm -f conftest.$ac_objext conftest$ac_exeext
15742 if { (ac_try="$ac_link"
15743 case "(($ac_try" in
15744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15745 *) ac_try_echo=$ac_try;;
15746 esac
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15748 (eval "$ac_link") 2>conftest.er1
15749 ac_status=$?
15750 grep -v '^ *+' conftest.er1 >conftest.err
15751 rm -f conftest.er1
15752 cat conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && {
15755 test -z "$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 } && test -s conftest$ac_exeext &&
15758 $as_test_x conftest$ac_exeext; then
15759 case "$LIBEXT" in
15760 dll) ;;
15761 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'` ;;
15762 *) 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'` ;;
15763 esac
15764 else
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15772 conftest$ac_exeext conftest.$ac_ext
15773 LIBS=$ac_check_soname_save_LIBS
15775 if test "x$ac_cv_lib_soname_png" = "x"; then
15776 { echo "$as_me:$LINENO: result: not found" >&5
15777 echo "${ECHO_T}not found" >&6; }
15779 else
15780 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15781 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15783 cat >>confdefs.h <<_ACEOF
15784 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15785 _ACEOF
15791 if test "x$ac_cv_lib_soname_png" = "x"; then
15792 case "x$with_png" in
15793 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15794 xno) ;;
15795 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15796 This is an error since --with-png was requested." >&5
15797 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15798 This is an error since --with-png was requested." >&2;}
15799 { (exit 1); exit 1; }; } ;;
15800 esac
15804 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15805 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15806 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 else
15809 ac_check_soname_save_LIBS=$LIBS
15810 LIBS="-lodbc $LIBS"
15811 cat >conftest.$ac_ext <<_ACEOF
15812 /* confdefs.h. */
15813 _ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15821 #ifdef __cplusplus
15822 extern "C"
15823 #endif
15824 char SQLConnect ();
15826 main ()
15828 return SQLConnect ();
15830 return 0;
15832 _ACEOF
15833 rm -f conftest.$ac_objext conftest$ac_exeext
15834 if { (ac_try="$ac_link"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15838 esac
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_link") 2>conftest.er1
15841 ac_status=$?
15842 grep -v '^ *+' conftest.er1 >conftest.err
15843 rm -f conftest.er1
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest$ac_exeext &&
15850 $as_test_x conftest$ac_exeext; then
15851 case "$LIBEXT" in
15852 dll) ;;
15853 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'` ;;
15854 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15855 esac
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15864 conftest$ac_exeext conftest.$ac_ext
15865 LIBS=$ac_check_soname_save_LIBS
15867 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15868 { echo "$as_me:$LINENO: result: not found" >&5
15869 echo "${ECHO_T}not found" >&6; }
15870 cat >>confdefs.h <<_ACEOF
15871 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15872 _ACEOF
15874 else
15875 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15876 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15878 cat >>confdefs.h <<_ACEOF
15879 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15880 _ACEOF
15886 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15887 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15888 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15889 "$ac_cv_header_soundcard_h" != "yes" -a \
15890 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15891 then
15892 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15896 EXTRACFLAGS=""
15898 if test "x${GCC}" = "xyes"
15899 then
15900 EXTRACFLAGS="-Wall -pipe"
15902 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15903 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15904 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 else
15907 if test "$cross_compiling" = yes; then
15908 ac_cv_c_gcc_strength_bug="yes"
15909 else
15910 cat >conftest.$ac_ext <<_ACEOF
15911 /* confdefs.h. */
15912 _ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 int L[4] = {0,1,2,3};
15918 main ()
15920 static int Array[3];
15921 unsigned int B = 3;
15922 int i;
15923 for(i=0; i<B; i++) Array[i] = i - 3;
15924 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15925 L[i] = 4;
15926 exit( Array[1] != -2 || L[2] != 3)
15928 return 0;
15930 _ACEOF
15931 rm -f conftest$ac_exeext
15932 if { (ac_try="$ac_link"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15936 esac
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_link") 2>&5
15939 ac_status=$?
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15942 { (case "(($ac_try" in
15943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15944 *) ac_try_echo=$ac_try;;
15945 esac
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_try") 2>&5
15948 ac_status=$?
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; }; then
15951 ac_cv_c_gcc_strength_bug="no"
15952 else
15953 echo "$as_me: program exited with status $ac_status" >&5
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.$ac_ext >&5
15957 ( exit $ac_status )
15958 ac_cv_c_gcc_strength_bug="yes"
15960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15965 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15966 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15967 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15968 then
15969 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15973 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15974 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15975 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 else
15978 ac_wine_try_cflags_saved=$CFLAGS
15979 CFLAGS="$CFLAGS -fshort-wchar"
15980 cat >conftest.$ac_ext <<_ACEOF
15981 /* confdefs.h. */
15982 _ACEOF
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15988 main ()
15992 return 0;
15994 _ACEOF
15995 rm -f conftest.$ac_objext conftest$ac_exeext
15996 if { (ac_try="$ac_link"
15997 case "(($ac_try" in
15998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15999 *) ac_try_echo=$ac_try;;
16000 esac
16001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16002 (eval "$ac_link") 2>conftest.er1
16003 ac_status=$?
16004 grep -v '^ *+' conftest.er1 >conftest.err
16005 rm -f conftest.er1
16006 cat conftest.err >&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } && {
16009 test -z "$ac_c_werror_flag" ||
16010 test ! -s conftest.err
16011 } && test -s conftest$ac_exeext &&
16012 $as_test_x conftest$ac_exeext; then
16013 ac_cv_cflags__fshort_wchar=yes
16014 else
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16018 ac_cv_cflags__fshort_wchar=no
16021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16022 conftest$ac_exeext conftest.$ac_ext
16023 CFLAGS=$ac_wine_try_cflags_saved
16025 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16026 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16027 if test $ac_cv_cflags__fshort_wchar = yes; then
16029 cat >>confdefs.h <<\_ACEOF
16030 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16031 _ACEOF
16035 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16036 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16037 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 else
16040 ac_wine_try_cflags_saved=$CFLAGS
16041 CFLAGS="$CFLAGS -fno-strict-aliasing"
16042 cat >conftest.$ac_ext <<_ACEOF
16043 /* confdefs.h. */
16044 _ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16050 main ()
16054 return 0;
16056 _ACEOF
16057 rm -f conftest.$ac_objext conftest$ac_exeext
16058 if { (ac_try="$ac_link"
16059 case "(($ac_try" in
16060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16061 *) ac_try_echo=$ac_try;;
16062 esac
16063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16064 (eval "$ac_link") 2>conftest.er1
16065 ac_status=$?
16066 grep -v '^ *+' conftest.er1 >conftest.err
16067 rm -f conftest.er1
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } && {
16071 test -z "$ac_c_werror_flag" ||
16072 test ! -s conftest.err
16073 } && test -s conftest$ac_exeext &&
16074 $as_test_x conftest$ac_exeext; then
16075 ac_cv_cflags__fno_strict_aliasing=yes
16076 else
16077 echo "$as_me: failed program was:" >&5
16078 sed 's/^/| /' conftest.$ac_ext >&5
16080 ac_cv_cflags__fno_strict_aliasing=no
16083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16084 conftest$ac_exeext conftest.$ac_ext
16085 CFLAGS=$ac_wine_try_cflags_saved
16087 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16088 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16089 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16090 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16093 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16094 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16095 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16096 echo $ECHO_N "(cached) $ECHO_C" >&6
16097 else
16098 ac_wine_try_cflags_saved=$CFLAGS
16099 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16100 cat >conftest.$ac_ext <<_ACEOF
16101 /* confdefs.h. */
16102 _ACEOF
16103 cat confdefs.h >>conftest.$ac_ext
16104 cat >>conftest.$ac_ext <<_ACEOF
16105 /* end confdefs.h. */
16108 main ()
16112 return 0;
16114 _ACEOF
16115 rm -f conftest.$ac_objext conftest$ac_exeext
16116 if { (ac_try="$ac_link"
16117 case "(($ac_try" in
16118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16119 *) ac_try_echo=$ac_try;;
16120 esac
16121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16122 (eval "$ac_link") 2>conftest.er1
16123 ac_status=$?
16124 grep -v '^ *+' conftest.er1 >conftest.err
16125 rm -f conftest.er1
16126 cat conftest.err >&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); } && {
16129 test -z "$ac_c_werror_flag" ||
16130 test ! -s conftest.err
16131 } && test -s conftest$ac_exeext &&
16132 $as_test_x conftest$ac_exeext; then
16133 ac_cv_cflags__Wdeclaration_after_statement=yes
16134 else
16135 echo "$as_me: failed program was:" >&5
16136 sed 's/^/| /' conftest.$ac_ext >&5
16138 ac_cv_cflags__Wdeclaration_after_statement=no
16141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16142 conftest$ac_exeext conftest.$ac_ext
16143 CFLAGS=$ac_wine_try_cflags_saved
16145 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16146 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16147 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16148 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16151 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16152 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16153 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 else
16156 ac_wine_try_cflags_saved=$CFLAGS
16157 CFLAGS="$CFLAGS -Wwrite-strings"
16158 cat >conftest.$ac_ext <<_ACEOF
16159 /* confdefs.h. */
16160 _ACEOF
16161 cat confdefs.h >>conftest.$ac_ext
16162 cat >>conftest.$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16166 main ()
16170 return 0;
16172 _ACEOF
16173 rm -f conftest.$ac_objext conftest$ac_exeext
16174 if { (ac_try="$ac_link"
16175 case "(($ac_try" in
16176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16177 *) ac_try_echo=$ac_try;;
16178 esac
16179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16180 (eval "$ac_link") 2>conftest.er1
16181 ac_status=$?
16182 grep -v '^ *+' conftest.er1 >conftest.err
16183 rm -f conftest.er1
16184 cat conftest.err >&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } && {
16187 test -z "$ac_c_werror_flag" ||
16188 test ! -s conftest.err
16189 } && test -s conftest$ac_exeext &&
16190 $as_test_x conftest$ac_exeext; then
16191 ac_cv_cflags__Wwrite_strings=yes
16192 else
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.$ac_ext >&5
16196 ac_cv_cflags__Wwrite_strings=no
16199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16200 conftest$ac_exeext conftest.$ac_ext
16201 CFLAGS=$ac_wine_try_cflags_saved
16203 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16204 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16205 if test $ac_cv_cflags__Wwrite_strings = yes; then
16206 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16209 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16210 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16211 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16212 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 else
16214 ac_wine_try_cflags_saved=$CFLAGS
16215 CFLAGS="$CFLAGS -Wtype-limits"
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16224 main ()
16228 return 0;
16230 _ACEOF
16231 rm -f conftest.$ac_objext conftest$ac_exeext
16232 if { (ac_try="$ac_link"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16236 esac
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_link") 2>conftest.er1
16239 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest$ac_exeext &&
16248 $as_test_x conftest$ac_exeext; then
16249 ac_cv_cflags__Wtype_limits=yes
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16254 ac_cv_cflags__Wtype_limits=no
16257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16258 conftest$ac_exeext conftest.$ac_ext
16259 CFLAGS=$ac_wine_try_cflags_saved
16261 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16262 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16263 if test $ac_cv_cflags__Wtype_limits = yes; then
16264 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16268 saved_CFLAGS="$CFLAGS"
16269 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16270 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16271 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16272 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16274 else
16275 cat >conftest.$ac_ext <<_ACEOF
16276 /* confdefs.h. */
16277 _ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16281 #include <string.h>
16283 main ()
16287 return 0;
16289 _ACEOF
16290 rm -f conftest.$ac_objext
16291 if { (ac_try="$ac_compile"
16292 case "(($ac_try" in
16293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16295 esac
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_compile") 2>conftest.er1
16298 ac_status=$?
16299 grep -v '^ *+' conftest.er1 >conftest.err
16300 rm -f conftest.er1
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } && {
16304 test -z "$ac_c_werror_flag" ||
16305 test ! -s conftest.err
16306 } && test -s conftest.$ac_objext; then
16307 ac_cv_c_string_h_warnings=no
16308 else
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.$ac_ext >&5
16312 ac_cv_c_string_h_warnings=yes
16315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16317 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16318 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16319 CFLAGS="$saved_CFLAGS"
16320 if test "$ac_cv_c_string_h_warnings" = "no"
16321 then
16322 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16325 BUILTINFLAG=""
16327 saved_CFLAGS="$CFLAGS"
16328 CFLAGS="$CFLAGS -Werror"
16329 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16330 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16331 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16332 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 else
16334 cat >conftest.$ac_ext <<_ACEOF
16335 /* confdefs.h. */
16336 _ACEOF
16337 cat confdefs.h >>conftest.$ac_ext
16338 cat >>conftest.$ac_ext <<_ACEOF
16339 /* end confdefs.h. */
16342 main ()
16344 int iswlower(unsigned short);
16346 return 0;
16348 _ACEOF
16349 rm -f conftest.$ac_objext
16350 if { (ac_try="$ac_compile"
16351 case "(($ac_try" in
16352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16353 *) ac_try_echo=$ac_try;;
16354 esac
16355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16356 (eval "$ac_compile") 2>conftest.er1
16357 ac_status=$?
16358 grep -v '^ *+' conftest.er1 >conftest.err
16359 rm -f conftest.er1
16360 cat conftest.err >&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); } && {
16363 test -z "$ac_c_werror_flag" ||
16364 test ! -s conftest.err
16365 } && test -s conftest.$ac_objext; then
16366 ac_cv_c_builtin_wchar_ctype=no
16367 else
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16371 ac_cv_c_builtin_wchar_ctype=yes
16374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16377 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16378 CFLAGS="$saved_CFLAGS"
16379 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16380 then
16381 BUILTINFLAG="-fno-builtin"
16386 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16387 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16388 if test "${ac_cv_asm_func_def+set}" = set; then
16389 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 else
16391 cat >conftest.$ac_ext <<_ACEOF
16392 /* confdefs.h. */
16393 _ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16399 main ()
16401 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16403 return 0;
16405 _ACEOF
16406 rm -f conftest.$ac_objext conftest$ac_exeext
16407 if { (ac_try="$ac_link"
16408 case "(($ac_try" in
16409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16410 *) ac_try_echo=$ac_try;;
16411 esac
16412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16413 (eval "$ac_link") 2>conftest.er1
16414 ac_status=$?
16415 grep -v '^ *+' conftest.er1 >conftest.err
16416 rm -f conftest.er1
16417 cat conftest.err >&5
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); } && {
16420 test -z "$ac_c_werror_flag" ||
16421 test ! -s conftest.err
16422 } && test -s conftest$ac_exeext &&
16423 $as_test_x conftest$ac_exeext; then
16424 ac_cv_asm_func_def=".def"
16425 else
16426 echo "$as_me: failed program was:" >&5
16427 sed 's/^/| /' conftest.$ac_ext >&5
16429 cat >conftest.$ac_ext <<_ACEOF
16430 /* confdefs.h. */
16431 _ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16437 main ()
16439 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16441 return 0;
16443 _ACEOF
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (ac_try="$ac_link"
16446 case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16449 esac
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_link") 2>conftest.er1
16452 ac_status=$?
16453 grep -v '^ *+' conftest.er1 >conftest.err
16454 rm -f conftest.er1
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } && {
16458 test -z "$ac_c_werror_flag" ||
16459 test ! -s conftest.err
16460 } && test -s conftest$ac_exeext &&
16461 $as_test_x conftest$ac_exeext; then
16462 ac_cv_asm_func_def=".type @function"
16463 else
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.$ac_ext >&5
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16475 main ()
16477 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16479 return 0;
16481 _ACEOF
16482 rm -f conftest.$ac_objext conftest$ac_exeext
16483 if { (ac_try="$ac_link"
16484 case "(($ac_try" in
16485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16486 *) ac_try_echo=$ac_try;;
16487 esac
16488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16489 (eval "$ac_link") 2>conftest.er1
16490 ac_status=$?
16491 grep -v '^ *+' conftest.er1 >conftest.err
16492 rm -f conftest.er1
16493 cat conftest.err >&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } && {
16496 test -z "$ac_c_werror_flag" ||
16497 test ! -s conftest.err
16498 } && test -s conftest$ac_exeext &&
16499 $as_test_x conftest$ac_exeext; then
16500 ac_cv_asm_func_def=".type 2"
16501 else
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.$ac_ext >&5
16505 ac_cv_asm_func_def="unknown"
16508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16509 conftest$ac_exeext conftest.$ac_ext
16512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16513 conftest$ac_exeext conftest.$ac_ext
16516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16517 conftest$ac_exeext conftest.$ac_ext
16519 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16520 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16524 case "$ac_cv_asm_func_def" in
16525 ".def")
16526 cat >>confdefs.h <<\_ACEOF
16527 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16528 _ACEOF
16530 ".type @function")
16531 cat >>confdefs.h <<\_ACEOF
16532 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16533 _ACEOF
16535 ".type 2")
16536 cat >>confdefs.h <<\_ACEOF
16537 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16538 _ACEOF
16541 cat >>confdefs.h <<\_ACEOF
16542 #define __ASM_FUNC(name) ""
16543 _ACEOF
16545 esac
16548 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16549 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16550 if test "${ac_cv_c_extern_prefix+set}" = set; then
16551 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 else
16553 cat >conftest.$ac_ext <<_ACEOF
16554 /* confdefs.h. */
16555 _ACEOF
16556 cat confdefs.h >>conftest.$ac_ext
16557 cat >>conftest.$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16559 extern int ac_test;
16561 main ()
16563 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16565 return 0;
16567 _ACEOF
16568 rm -f conftest.$ac_objext conftest$ac_exeext
16569 if { (ac_try="$ac_link"
16570 case "(($ac_try" in
16571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16572 *) ac_try_echo=$ac_try;;
16573 esac
16574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16575 (eval "$ac_link") 2>conftest.er1
16576 ac_status=$?
16577 grep -v '^ *+' conftest.er1 >conftest.err
16578 rm -f conftest.er1
16579 cat conftest.err >&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } && {
16582 test -z "$ac_c_werror_flag" ||
16583 test ! -s conftest.err
16584 } && test -s conftest$ac_exeext &&
16585 $as_test_x conftest$ac_exeext; then
16586 ac_cv_c_extern_prefix="yes"
16587 else
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16591 ac_cv_c_extern_prefix="no"
16594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16595 conftest$ac_exeext conftest.$ac_ext
16597 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16598 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16602 if test "$ac_cv_c_extern_prefix" = "yes"
16603 then
16604 cat >>confdefs.h <<\_ACEOF
16605 #define __ASM_NAME(name) "_" name
16606 _ACEOF
16608 else
16609 cat >>confdefs.h <<\_ACEOF
16610 #define __ASM_NAME(name) name
16611 _ACEOF
16616 LDPATH=""
16618 case $build_os in
16619 cygwin*|mingw32*)
16620 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16622 darwin*|macosx*)
16624 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16625 then
16626 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16630 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16632 esac
16634 case $host_os in
16635 mingw32*)
16636 CRTLIBS="-lmsvcrt"
16638 SOCKETLIBS="-lws2_32"
16641 esac
16643 MAIN_BINARY="wine-pthread"
16644 case $host_cpu in
16645 *i[3456789]86*)
16646 case $host_os in
16647 linux* | k*bsd*-gnu)
16648 MAIN_BINARY="wine-glibc"
16650 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16652 freebsd*)
16653 MAIN_BINARY="wine-freebsd"
16655 EXTRA_BINARIES="wine-pthread"
16657 esac
16659 esac
16731 for ac_func in \
16732 _pclose \
16733 _popen \
16734 _snprintf \
16735 _spawnvp \
16736 _strdup \
16737 _stricmp \
16738 _strnicmp \
16739 _strtoi64 \
16740 _strtoui64 \
16741 _vsnprintf \
16742 asctime_r \
16743 chsize \
16744 clone \
16745 dlopen \
16746 epoll_create \
16747 ffs \
16748 finite \
16749 fork \
16750 fpclass \
16751 fstatfs \
16752 fstatvfs \
16753 ftruncate \
16754 futimes \
16755 futimesat \
16756 getdirentries \
16757 getopt_long \
16758 getpagesize \
16759 getpwuid \
16760 gettid \
16761 gettimeofday \
16762 getuid \
16763 inet_pton \
16764 kqueue \
16765 lstat \
16766 memmove \
16767 mmap \
16768 pclose \
16769 poll \
16770 popen \
16771 prctl \
16772 pread \
16773 pwrite \
16774 readlink \
16775 rfork \
16776 sched_yield \
16777 select \
16778 setproctitle \
16779 setrlimit \
16780 settimeofday \
16781 sigaltstack \
16782 sigprocmask \
16783 snprintf \
16784 spawnvp \
16785 statfs \
16786 statvfs \
16787 strcasecmp \
16788 strdup \
16789 strerror \
16790 strncasecmp \
16791 strtold \
16792 strtoll \
16793 strtoull \
16794 tcgetattr \
16795 thr_kill2 \
16796 timegm \
16797 usleep \
16798 vsnprintf \
16799 wait4 \
16800 waitpid \
16803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 else
16809 cat >conftest.$ac_ext <<_ACEOF
16810 /* confdefs.h. */
16811 _ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16817 #define $ac_func innocuous_$ac_func
16819 /* System header to define __stub macros and hopefully few prototypes,
16820 which can conflict with char $ac_func (); below.
16821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16822 <limits.h> exists even on freestanding compilers. */
16824 #ifdef __STDC__
16825 # include <limits.h>
16826 #else
16827 # include <assert.h>
16828 #endif
16830 #undef $ac_func
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16835 #ifdef __cplusplus
16836 extern "C"
16837 #endif
16838 char $ac_func ();
16839 /* The GNU C library defines this for functions which it implements
16840 to always fail with ENOSYS. Some functions are actually named
16841 something starting with __ and the normal name is an alias. */
16842 #if defined __stub_$ac_func || defined __stub___$ac_func
16843 choke me
16844 #endif
16847 main ()
16849 return $ac_func ();
16851 return 0;
16853 _ACEOF
16854 rm -f conftest.$ac_objext conftest$ac_exeext
16855 if { (ac_try="$ac_link"
16856 case "(($ac_try" in
16857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16858 *) ac_try_echo=$ac_try;;
16859 esac
16860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16861 (eval "$ac_link") 2>conftest.er1
16862 ac_status=$?
16863 grep -v '^ *+' conftest.er1 >conftest.err
16864 rm -f conftest.er1
16865 cat conftest.err >&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } && {
16868 test -z "$ac_c_werror_flag" ||
16869 test ! -s conftest.err
16870 } && test -s conftest$ac_exeext &&
16871 $as_test_x conftest$ac_exeext; then
16872 eval "$as_ac_var=yes"
16873 else
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.$ac_ext >&5
16877 eval "$as_ac_var=no"
16880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16881 conftest$ac_exeext conftest.$ac_ext
16883 ac_res=`eval echo '${'$as_ac_var'}'`
16884 { echo "$as_me:$LINENO: result: $ac_res" >&5
16885 echo "${ECHO_T}$ac_res" >&6; }
16886 if test `eval echo '${'$as_ac_var'}'` = yes; then
16887 cat >>confdefs.h <<_ACEOF
16888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16889 _ACEOF
16892 done
16895 if test "$ac_cv_func_dlopen" = no
16896 then
16897 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16898 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16899 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 else
16902 ac_check_lib_save_LIBS=$LIBS
16903 LIBS="-ldl $LIBS"
16904 cat >conftest.$ac_ext <<_ACEOF
16905 /* confdefs.h. */
16906 _ACEOF
16907 cat confdefs.h >>conftest.$ac_ext
16908 cat >>conftest.$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16911 /* Override any GCC internal prototype to avoid an error.
16912 Use char because int might match the return type of a GCC
16913 builtin and then its argument prototype would still apply. */
16914 #ifdef __cplusplus
16915 extern "C"
16916 #endif
16917 char dlopen ();
16919 main ()
16921 return dlopen ();
16923 return 0;
16925 _ACEOF
16926 rm -f conftest.$ac_objext conftest$ac_exeext
16927 if { (ac_try="$ac_link"
16928 case "(($ac_try" in
16929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16931 esac
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_link") 2>conftest.er1
16934 ac_status=$?
16935 grep -v '^ *+' conftest.er1 >conftest.err
16936 rm -f conftest.er1
16937 cat conftest.err >&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } && {
16940 test -z "$ac_c_werror_flag" ||
16941 test ! -s conftest.err
16942 } && test -s conftest$ac_exeext &&
16943 $as_test_x conftest$ac_exeext; then
16944 ac_cv_lib_dl_dlopen=yes
16945 else
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16949 ac_cv_lib_dl_dlopen=no
16952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16953 conftest$ac_exeext conftest.$ac_ext
16954 LIBS=$ac_check_lib_save_LIBS
16956 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16957 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16958 if test $ac_cv_lib_dl_dlopen = yes; then
16959 cat >>confdefs.h <<\_ACEOF
16960 #define HAVE_DLOPEN 1
16961 _ACEOF
16962 LIBDL="-ldl"
16967 ac_wine_check_funcs_save_LIBS="$LIBS"
16968 LIBS="$LIBS $LIBDL"
16970 for ac_func in dladdr
16972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16973 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16977 else
16978 cat >conftest.$ac_ext <<_ACEOF
16979 /* confdefs.h. */
16980 _ACEOF
16981 cat confdefs.h >>conftest.$ac_ext
16982 cat >>conftest.$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16986 #define $ac_func innocuous_$ac_func
16988 /* System header to define __stub macros and hopefully few prototypes,
16989 which can conflict with char $ac_func (); below.
16990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16991 <limits.h> exists even on freestanding compilers. */
16993 #ifdef __STDC__
16994 # include <limits.h>
16995 #else
16996 # include <assert.h>
16997 #endif
16999 #undef $ac_func
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17004 #ifdef __cplusplus
17005 extern "C"
17006 #endif
17007 char $ac_func ();
17008 /* The GNU C library defines this for functions which it implements
17009 to always fail with ENOSYS. Some functions are actually named
17010 something starting with __ and the normal name is an alias. */
17011 #if defined __stub_$ac_func || defined __stub___$ac_func
17012 choke me
17013 #endif
17016 main ()
17018 return $ac_func ();
17020 return 0;
17022 _ACEOF
17023 rm -f conftest.$ac_objext conftest$ac_exeext
17024 if { (ac_try="$ac_link"
17025 case "(($ac_try" in
17026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17027 *) ac_try_echo=$ac_try;;
17028 esac
17029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17030 (eval "$ac_link") 2>conftest.er1
17031 ac_status=$?
17032 grep -v '^ *+' conftest.er1 >conftest.err
17033 rm -f conftest.er1
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } && {
17037 test -z "$ac_c_werror_flag" ||
17038 test ! -s conftest.err
17039 } && test -s conftest$ac_exeext &&
17040 $as_test_x conftest$ac_exeext; then
17041 eval "$as_ac_var=yes"
17042 else
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5
17046 eval "$as_ac_var=no"
17049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17050 conftest$ac_exeext conftest.$ac_ext
17052 ac_res=`eval echo '${'$as_ac_var'}'`
17053 { echo "$as_me:$LINENO: result: $ac_res" >&5
17054 echo "${ECHO_T}$ac_res" >&6; }
17055 if test `eval echo '${'$as_ac_var'}'` = yes; then
17056 cat >>confdefs.h <<_ACEOF
17057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17058 _ACEOF
17061 done
17063 LIBS="$ac_wine_check_funcs_save_LIBS"
17065 if test "$ac_cv_func_poll" = no
17066 then
17067 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17068 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17069 if test "${ac_cv_lib_poll_poll+set}" = set; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 else
17072 ac_check_lib_save_LIBS=$LIBS
17073 LIBS="-lpoll $LIBS"
17074 cat >conftest.$ac_ext <<_ACEOF
17075 /* confdefs.h. */
17076 _ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17081 /* Override any GCC internal prototype to avoid an error.
17082 Use char because int might match the return type of a GCC
17083 builtin and then its argument prototype would still apply. */
17084 #ifdef __cplusplus
17085 extern "C"
17086 #endif
17087 char poll ();
17089 main ()
17091 return poll ();
17093 return 0;
17095 _ACEOF
17096 rm -f conftest.$ac_objext conftest$ac_exeext
17097 if { (ac_try="$ac_link"
17098 case "(($ac_try" in
17099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17100 *) ac_try_echo=$ac_try;;
17101 esac
17102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17103 (eval "$ac_link") 2>conftest.er1
17104 ac_status=$?
17105 grep -v '^ *+' conftest.er1 >conftest.err
17106 rm -f conftest.er1
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } && {
17110 test -z "$ac_c_werror_flag" ||
17111 test ! -s conftest.err
17112 } && test -s conftest$ac_exeext &&
17113 $as_test_x conftest$ac_exeext; then
17114 ac_cv_lib_poll_poll=yes
17115 else
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17119 ac_cv_lib_poll_poll=no
17122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17123 conftest$ac_exeext conftest.$ac_ext
17124 LIBS=$ac_check_lib_save_LIBS
17126 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17127 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17128 if test $ac_cv_lib_poll_poll = yes; then
17129 cat >>confdefs.h <<\_ACEOF
17130 #define HAVE_POLL 1
17131 _ACEOF
17132 LIBPOLL="-lpoll"
17138 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17139 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17140 if test "${ac_cv_search_gethostbyname+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 else
17143 ac_func_search_save_LIBS=$LIBS
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17151 /* Override any GCC internal prototype to avoid an error.
17152 Use char because int might match the return type of a GCC
17153 builtin and then its argument prototype would still apply. */
17154 #ifdef __cplusplus
17155 extern "C"
17156 #endif
17157 char gethostbyname ();
17159 main ()
17161 return gethostbyname ();
17163 return 0;
17165 _ACEOF
17166 for ac_lib in '' nsl; do
17167 if test -z "$ac_lib"; then
17168 ac_res="none required"
17169 else
17170 ac_res=-l$ac_lib
17171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17173 rm -f conftest.$ac_objext conftest$ac_exeext
17174 if { (ac_try="$ac_link"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17178 esac
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_link") 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest$ac_exeext &&
17190 $as_test_x conftest$ac_exeext; then
17191 ac_cv_search_gethostbyname=$ac_res
17192 else
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.$ac_ext >&5
17199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17200 conftest$ac_exeext
17201 if test "${ac_cv_search_gethostbyname+set}" = set; then
17202 break
17204 done
17205 if test "${ac_cv_search_gethostbyname+set}" = set; then
17207 else
17208 ac_cv_search_gethostbyname=no
17210 rm conftest.$ac_ext
17211 LIBS=$ac_func_search_save_LIBS
17213 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17214 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17215 ac_res=$ac_cv_search_gethostbyname
17216 if test "$ac_res" != no; then
17217 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17222 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17223 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17224 if test "${ac_cv_search_connect+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 else
17227 ac_func_search_save_LIBS=$LIBS
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17235 /* Override any GCC internal prototype to avoid an error.
17236 Use char because int might match the return type of a GCC
17237 builtin and then its argument prototype would still apply. */
17238 #ifdef __cplusplus
17239 extern "C"
17240 #endif
17241 char connect ();
17243 main ()
17245 return connect ();
17247 return 0;
17249 _ACEOF
17250 for ac_lib in '' socket; do
17251 if test -z "$ac_lib"; then
17252 ac_res="none required"
17253 else
17254 ac_res=-l$ac_lib
17255 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17257 rm -f conftest.$ac_objext conftest$ac_exeext
17258 if { (ac_try="$ac_link"
17259 case "(($ac_try" in
17260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17261 *) ac_try_echo=$ac_try;;
17262 esac
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_link") 2>conftest.er1
17265 ac_status=$?
17266 grep -v '^ *+' conftest.er1 >conftest.err
17267 rm -f conftest.er1
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } && {
17271 test -z "$ac_c_werror_flag" ||
17272 test ! -s conftest.err
17273 } && test -s conftest$ac_exeext &&
17274 $as_test_x conftest$ac_exeext; then
17275 ac_cv_search_connect=$ac_res
17276 else
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17284 conftest$ac_exeext
17285 if test "${ac_cv_search_connect+set}" = set; then
17286 break
17288 done
17289 if test "${ac_cv_search_connect+set}" = set; then
17291 else
17292 ac_cv_search_connect=no
17294 rm conftest.$ac_ext
17295 LIBS=$ac_func_search_save_LIBS
17297 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17298 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17299 ac_res=$ac_cv_search_connect
17300 if test "$ac_res" != no; then
17301 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17306 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17307 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17308 if test "${ac_cv_search_inet_aton+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 else
17311 ac_func_search_save_LIBS=$LIBS
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17319 /* Override any GCC internal prototype to avoid an error.
17320 Use char because int might match the return type of a GCC
17321 builtin and then its argument prototype would still apply. */
17322 #ifdef __cplusplus
17323 extern "C"
17324 #endif
17325 char inet_aton ();
17327 main ()
17329 return inet_aton ();
17331 return 0;
17333 _ACEOF
17334 for ac_lib in '' resolv; do
17335 if test -z "$ac_lib"; then
17336 ac_res="none required"
17337 else
17338 ac_res=-l$ac_lib
17339 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17341 rm -f conftest.$ac_objext conftest$ac_exeext
17342 if { (ac_try="$ac_link"
17343 case "(($ac_try" in
17344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17345 *) ac_try_echo=$ac_try;;
17346 esac
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_link") 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } && {
17355 test -z "$ac_c_werror_flag" ||
17356 test ! -s conftest.err
17357 } && test -s conftest$ac_exeext &&
17358 $as_test_x conftest$ac_exeext; then
17359 ac_cv_search_inet_aton=$ac_res
17360 else
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17368 conftest$ac_exeext
17369 if test "${ac_cv_search_inet_aton+set}" = set; then
17370 break
17372 done
17373 if test "${ac_cv_search_inet_aton+set}" = set; then
17375 else
17376 ac_cv_search_inet_aton=no
17378 rm conftest.$ac_ext
17379 LIBS=$ac_func_search_save_LIBS
17381 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17382 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17383 ac_res=$ac_cv_search_inet_aton
17384 if test "$ac_res" != no; then
17385 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17398 for ac_func in \
17399 getaddrinfo \
17400 getnameinfo \
17401 getnetbyname \
17402 getprotobyname \
17403 getprotobynumber \
17404 getservbyport \
17405 inet_network \
17406 sendmsg \
17409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17410 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17412 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17415 cat >conftest.$ac_ext <<_ACEOF
17416 /* confdefs.h. */
17417 _ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17423 #define $ac_func innocuous_$ac_func
17425 /* System header to define __stub macros and hopefully few prototypes,
17426 which can conflict with char $ac_func (); below.
17427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17428 <limits.h> exists even on freestanding compilers. */
17430 #ifdef __STDC__
17431 # include <limits.h>
17432 #else
17433 # include <assert.h>
17434 #endif
17436 #undef $ac_func
17438 /* Override any GCC internal prototype to avoid an error.
17439 Use char because int might match the return type of a GCC
17440 builtin and then its argument prototype would still apply. */
17441 #ifdef __cplusplus
17442 extern "C"
17443 #endif
17444 char $ac_func ();
17445 /* The GNU C library defines this for functions which it implements
17446 to always fail with ENOSYS. Some functions are actually named
17447 something starting with __ and the normal name is an alias. */
17448 #if defined __stub_$ac_func || defined __stub___$ac_func
17449 choke me
17450 #endif
17453 main ()
17455 return $ac_func ();
17457 return 0;
17459 _ACEOF
17460 rm -f conftest.$ac_objext conftest$ac_exeext
17461 if { (ac_try="$ac_link"
17462 case "(($ac_try" in
17463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17464 *) ac_try_echo=$ac_try;;
17465 esac
17466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17467 (eval "$ac_link") 2>conftest.er1
17468 ac_status=$?
17469 grep -v '^ *+' conftest.er1 >conftest.err
17470 rm -f conftest.er1
17471 cat conftest.err >&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); } && {
17474 test -z "$ac_c_werror_flag" ||
17475 test ! -s conftest.err
17476 } && test -s conftest$ac_exeext &&
17477 $as_test_x conftest$ac_exeext; then
17478 eval "$as_ac_var=yes"
17479 else
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17483 eval "$as_ac_var=no"
17486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17487 conftest$ac_exeext conftest.$ac_ext
17489 ac_res=`eval echo '${'$as_ac_var'}'`
17490 { echo "$as_me:$LINENO: result: $ac_res" >&5
17491 echo "${ECHO_T}$ac_res" >&6; }
17492 if test `eval echo '${'$as_ac_var'}'` = yes; then
17493 cat >>confdefs.h <<_ACEOF
17494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17495 _ACEOF
17498 done
17502 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17503 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17504 if test "${ac_cv_c_const+set}" = set; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 else
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17515 main ()
17517 /* FIXME: Include the comments suggested by Paul. */
17518 #ifndef __cplusplus
17519 /* Ultrix mips cc rejects this. */
17520 typedef int charset[2];
17521 const charset cs;
17522 /* SunOS 4.1.1 cc rejects this. */
17523 char const *const *pcpcc;
17524 char **ppc;
17525 /* NEC SVR4.0.2 mips cc rejects this. */
17526 struct point {int x, y;};
17527 static struct point const zero = {0,0};
17528 /* AIX XL C 1.02.0.0 rejects this.
17529 It does not let you subtract one const X* pointer from another in
17530 an arm of an if-expression whose if-part is not a constant
17531 expression */
17532 const char *g = "string";
17533 pcpcc = &g + (g ? g-g : 0);
17534 /* HPUX 7.0 cc rejects these. */
17535 ++pcpcc;
17536 ppc = (char**) pcpcc;
17537 pcpcc = (char const *const *) ppc;
17538 { /* SCO 3.2v4 cc rejects this. */
17539 char *t;
17540 char const *s = 0 ? (char *) 0 : (char const *) 0;
17542 *t++ = 0;
17543 if (s) return 0;
17545 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17546 int x[] = {25, 17};
17547 const int *foo = &x[0];
17548 ++foo;
17550 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17551 typedef const int *iptr;
17552 iptr p = 0;
17553 ++p;
17555 { /* AIX XL C 1.02.0.0 rejects this saying
17556 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17557 struct s { int j; const int *ap[3]; };
17558 struct s *b; b->j = 5;
17560 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17561 const int foo = 10;
17562 if (!foo) return 0;
17564 return !cs[0] && !zero.x;
17565 #endif
17568 return 0;
17570 _ACEOF
17571 rm -f conftest.$ac_objext
17572 if { (ac_try="$ac_compile"
17573 case "(($ac_try" in
17574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17575 *) ac_try_echo=$ac_try;;
17576 esac
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_compile") 2>conftest.er1
17579 ac_status=$?
17580 grep -v '^ *+' conftest.er1 >conftest.err
17581 rm -f conftest.er1
17582 cat conftest.err >&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } && {
17585 test -z "$ac_c_werror_flag" ||
17586 test ! -s conftest.err
17587 } && test -s conftest.$ac_objext; then
17588 ac_cv_c_const=yes
17589 else
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17593 ac_cv_c_const=no
17596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17598 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17599 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17600 if test $ac_cv_c_const = no; then
17602 cat >>confdefs.h <<\_ACEOF
17603 #define const
17604 _ACEOF
17608 { echo "$as_me:$LINENO: checking for inline" >&5
17609 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17610 if test "${ac_cv_c_inline+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 else
17613 ac_cv_c_inline=no
17614 for ac_kw in inline __inline__ __inline; do
17615 cat >conftest.$ac_ext <<_ACEOF
17616 /* confdefs.h. */
17617 _ACEOF
17618 cat confdefs.h >>conftest.$ac_ext
17619 cat >>conftest.$ac_ext <<_ACEOF
17620 /* end confdefs.h. */
17621 #ifndef __cplusplus
17622 typedef int foo_t;
17623 static $ac_kw foo_t static_foo () {return 0; }
17624 $ac_kw foo_t foo () {return 0; }
17625 #endif
17627 _ACEOF
17628 rm -f conftest.$ac_objext
17629 if { (ac_try="$ac_compile"
17630 case "(($ac_try" in
17631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17632 *) ac_try_echo=$ac_try;;
17633 esac
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_compile") 2>conftest.er1
17636 ac_status=$?
17637 grep -v '^ *+' conftest.er1 >conftest.err
17638 rm -f conftest.er1
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } && {
17642 test -z "$ac_c_werror_flag" ||
17643 test ! -s conftest.err
17644 } && test -s conftest.$ac_objext; then
17645 ac_cv_c_inline=$ac_kw
17646 else
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.$ac_ext >&5
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654 test "$ac_cv_c_inline" != no && break
17655 done
17658 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17659 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17662 case $ac_cv_c_inline in
17663 inline | yes) ;;
17665 case $ac_cv_c_inline in
17666 no) ac_val=;;
17667 *) ac_val=$ac_cv_c_inline;;
17668 esac
17669 cat >>confdefs.h <<_ACEOF
17670 #ifndef __cplusplus
17671 #define inline $ac_val
17672 #endif
17673 _ACEOF
17675 esac
17677 { echo "$as_me:$LINENO: checking for mode_t" >&5
17678 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17679 if test "${ac_cv_type_mode_t+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 else
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 $ac_includes_default
17689 typedef mode_t ac__type_new_;
17691 main ()
17693 if ((ac__type_new_ *) 0)
17694 return 0;
17695 if (sizeof (ac__type_new_))
17696 return 0;
17698 return 0;
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17718 ac_cv_type_mode_t=yes
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17723 ac_cv_type_mode_t=no
17726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17729 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17730 if test $ac_cv_type_mode_t = yes; then
17732 cat >>confdefs.h <<_ACEOF
17733 #define HAVE_MODE_T 1
17734 _ACEOF
17738 { echo "$as_me:$LINENO: checking for off_t" >&5
17739 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17740 if test "${ac_cv_type_off_t+set}" = set; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17742 else
17743 cat >conftest.$ac_ext <<_ACEOF
17744 /* confdefs.h. */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17750 typedef off_t ac__type_new_;
17752 main ()
17754 if ((ac__type_new_ *) 0)
17755 return 0;
17756 if (sizeof (ac__type_new_))
17757 return 0;
17759 return 0;
17761 _ACEOF
17762 rm -f conftest.$ac_objext
17763 if { (ac_try="$ac_compile"
17764 case "(($ac_try" in
17765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17766 *) ac_try_echo=$ac_try;;
17767 esac
17768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17769 (eval "$ac_compile") 2>conftest.er1
17770 ac_status=$?
17771 grep -v '^ *+' conftest.er1 >conftest.err
17772 rm -f conftest.er1
17773 cat conftest.err >&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); } && {
17776 test -z "$ac_c_werror_flag" ||
17777 test ! -s conftest.err
17778 } && test -s conftest.$ac_objext; then
17779 ac_cv_type_off_t=yes
17780 else
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.$ac_ext >&5
17784 ac_cv_type_off_t=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17789 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17790 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17791 if test $ac_cv_type_off_t = yes; then
17793 cat >>confdefs.h <<_ACEOF
17794 #define HAVE_OFF_T 1
17795 _ACEOF
17799 { echo "$as_me:$LINENO: checking for pid_t" >&5
17800 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17801 if test "${ac_cv_type_pid_t+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 else
17804 cat >conftest.$ac_ext <<_ACEOF
17805 /* confdefs.h. */
17806 _ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810 $ac_includes_default
17811 typedef pid_t ac__type_new_;
17813 main ()
17815 if ((ac__type_new_ *) 0)
17816 return 0;
17817 if (sizeof (ac__type_new_))
17818 return 0;
17820 return 0;
17822 _ACEOF
17823 rm -f conftest.$ac_objext
17824 if { (ac_try="$ac_compile"
17825 case "(($ac_try" in
17826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827 *) ac_try_echo=$ac_try;;
17828 esac
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_compile") 2>conftest.er1
17831 ac_status=$?
17832 grep -v '^ *+' conftest.er1 >conftest.err
17833 rm -f conftest.er1
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } && {
17837 test -z "$ac_c_werror_flag" ||
17838 test ! -s conftest.err
17839 } && test -s conftest.$ac_objext; then
17840 ac_cv_type_pid_t=yes
17841 else
17842 echo "$as_me: failed program was:" >&5
17843 sed 's/^/| /' conftest.$ac_ext >&5
17845 ac_cv_type_pid_t=no
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17851 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17852 if test $ac_cv_type_pid_t = yes; then
17854 cat >>confdefs.h <<_ACEOF
17855 #define HAVE_PID_T 1
17856 _ACEOF
17860 { echo "$as_me:$LINENO: checking for size_t" >&5
17861 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17862 if test "${ac_cv_type_size_t+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 else
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 $ac_includes_default
17872 typedef size_t ac__type_new_;
17874 main ()
17876 if ((ac__type_new_ *) 0)
17877 return 0;
17878 if (sizeof (ac__type_new_))
17879 return 0;
17881 return 0;
17883 _ACEOF
17884 rm -f conftest.$ac_objext
17885 if { (ac_try="$ac_compile"
17886 case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17889 esac
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_compile") 2>conftest.er1
17892 ac_status=$?
17893 grep -v '^ *+' conftest.er1 >conftest.err
17894 rm -f conftest.er1
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_c_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest.$ac_objext; then
17901 ac_cv_type_size_t=yes
17902 else
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.$ac_ext >&5
17906 ac_cv_type_size_t=no
17909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17912 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17913 if test $ac_cv_type_size_t = yes; then
17915 cat >>confdefs.h <<_ACEOF
17916 #define HAVE_SIZE_T 1
17917 _ACEOF
17921 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17922 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17923 if test "${ac_cv_type_ssize_t+set}" = set; then
17924 echo $ECHO_N "(cached) $ECHO_C" >&6
17925 else
17926 cat >conftest.$ac_ext <<_ACEOF
17927 /* confdefs.h. */
17928 _ACEOF
17929 cat confdefs.h >>conftest.$ac_ext
17930 cat >>conftest.$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 $ac_includes_default
17933 typedef ssize_t ac__type_new_;
17935 main ()
17937 if ((ac__type_new_ *) 0)
17938 return 0;
17939 if (sizeof (ac__type_new_))
17940 return 0;
17942 return 0;
17944 _ACEOF
17945 rm -f conftest.$ac_objext
17946 if { (ac_try="$ac_compile"
17947 case "(($ac_try" in
17948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17949 *) ac_try_echo=$ac_try;;
17950 esac
17951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17952 (eval "$ac_compile") 2>conftest.er1
17953 ac_status=$?
17954 grep -v '^ *+' conftest.er1 >conftest.err
17955 rm -f conftest.er1
17956 cat conftest.err >&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } && {
17959 test -z "$ac_c_werror_flag" ||
17960 test ! -s conftest.err
17961 } && test -s conftest.$ac_objext; then
17962 ac_cv_type_ssize_t=yes
17963 else
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.$ac_ext >&5
17967 ac_cv_type_ssize_t=no
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17973 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17974 if test $ac_cv_type_ssize_t = yes; then
17976 cat >>confdefs.h <<_ACEOF
17977 #define HAVE_SSIZE_T 1
17978 _ACEOF
17982 { echo "$as_me:$LINENO: checking for long long" >&5
17983 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17984 if test "${ac_cv_type_long_long+set}" = set; then
17985 echo $ECHO_N "(cached) $ECHO_C" >&6
17986 else
17987 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 $ac_includes_default
17994 typedef long long ac__type_new_;
17996 main ()
17998 if ((ac__type_new_ *) 0)
17999 return 0;
18000 if (sizeof (ac__type_new_))
18001 return 0;
18003 return 0;
18005 _ACEOF
18006 rm -f conftest.$ac_objext
18007 if { (ac_try="$ac_compile"
18008 case "(($ac_try" in
18009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18010 *) ac_try_echo=$ac_try;;
18011 esac
18012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18013 (eval "$ac_compile") 2>conftest.er1
18014 ac_status=$?
18015 grep -v '^ *+' conftest.er1 >conftest.err
18016 rm -f conftest.er1
18017 cat conftest.err >&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); } && {
18020 test -z "$ac_c_werror_flag" ||
18021 test ! -s conftest.err
18022 } && test -s conftest.$ac_objext; then
18023 ac_cv_type_long_long=yes
18024 else
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.$ac_ext >&5
18028 ac_cv_type_long_long=no
18031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18033 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18034 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18035 if test $ac_cv_type_long_long = yes; then
18037 cat >>confdefs.h <<_ACEOF
18038 #define HAVE_LONG_LONG 1
18039 _ACEOF
18043 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18044 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18045 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 else
18048 cat >conftest.$ac_ext <<_ACEOF
18049 /* confdefs.h. */
18050 _ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 $ac_includes_default
18055 typedef fsblkcnt_t ac__type_new_;
18057 main ()
18059 if ((ac__type_new_ *) 0)
18060 return 0;
18061 if (sizeof (ac__type_new_))
18062 return 0;
18064 return 0;
18066 _ACEOF
18067 rm -f conftest.$ac_objext
18068 if { (ac_try="$ac_compile"
18069 case "(($ac_try" in
18070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18071 *) ac_try_echo=$ac_try;;
18072 esac
18073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18074 (eval "$ac_compile") 2>conftest.er1
18075 ac_status=$?
18076 grep -v '^ *+' conftest.er1 >conftest.err
18077 rm -f conftest.er1
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } && {
18081 test -z "$ac_c_werror_flag" ||
18082 test ! -s conftest.err
18083 } && test -s conftest.$ac_objext; then
18084 ac_cv_type_fsblkcnt_t=yes
18085 else
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.$ac_ext >&5
18089 ac_cv_type_fsblkcnt_t=no
18092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18095 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18096 if test $ac_cv_type_fsblkcnt_t = yes; then
18098 cat >>confdefs.h <<_ACEOF
18099 #define HAVE_FSBLKCNT_T 1
18100 _ACEOF
18104 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18105 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18106 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 else
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 $ac_includes_default
18116 typedef fsfilcnt_t ac__type_new_;
18118 main ()
18120 if ((ac__type_new_ *) 0)
18121 return 0;
18122 if (sizeof (ac__type_new_))
18123 return 0;
18125 return 0;
18127 _ACEOF
18128 rm -f conftest.$ac_objext
18129 if { (ac_try="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18133 esac
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18136 ac_status=$?
18137 grep -v '^ *+' conftest.er1 >conftest.err
18138 rm -f conftest.er1
18139 cat conftest.err >&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_c_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.$ac_objext; then
18145 ac_cv_type_fsfilcnt_t=yes
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 ac_cv_type_fsfilcnt_t=no
18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18156 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18157 if test $ac_cv_type_fsfilcnt_t = yes; then
18159 cat >>confdefs.h <<_ACEOF
18160 #define HAVE_FSFILCNT_T 1
18161 _ACEOF
18166 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18167 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18168 if test "${ac_cv_type_sigset_t+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171 cat >conftest.$ac_ext <<_ACEOF
18172 /* confdefs.h. */
18173 _ACEOF
18174 cat confdefs.h >>conftest.$ac_ext
18175 cat >>conftest.$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177 #include <signal.h>
18179 typedef sigset_t ac__type_new_;
18181 main ()
18183 if ((ac__type_new_ *) 0)
18184 return 0;
18185 if (sizeof (ac__type_new_))
18186 return 0;
18188 return 0;
18190 _ACEOF
18191 rm -f conftest.$ac_objext
18192 if { (ac_try="$ac_compile"
18193 case "(($ac_try" in
18194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18196 esac
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_compile") 2>conftest.er1
18199 ac_status=$?
18200 grep -v '^ *+' conftest.er1 >conftest.err
18201 rm -f conftest.er1
18202 cat conftest.err >&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } && {
18205 test -z "$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18207 } && test -s conftest.$ac_objext; then
18208 ac_cv_type_sigset_t=yes
18209 else
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.$ac_ext >&5
18213 ac_cv_type_sigset_t=no
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18219 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18220 if test $ac_cv_type_sigset_t = yes; then
18222 cat >>confdefs.h <<_ACEOF
18223 #define HAVE_SIGSET_T 1
18224 _ACEOF
18229 { echo "$as_me:$LINENO: checking for request_sense" >&5
18230 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18231 if test "${ac_cv_type_request_sense+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <linux/cdrom.h>
18242 typedef request_sense ac__type_new_;
18244 main ()
18246 if ((ac__type_new_ *) 0)
18247 return 0;
18248 if (sizeof (ac__type_new_))
18249 return 0;
18251 return 0;
18253 _ACEOF
18254 rm -f conftest.$ac_objext
18255 if { (ac_try="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18259 esac
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18262 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.$ac_objext; then
18271 ac_cv_type_request_sense=yes
18272 else
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18276 ac_cv_type_request_sense=no
18279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18282 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18283 if test $ac_cv_type_request_sense = yes; then
18285 cat >>confdefs.h <<_ACEOF
18286 #define HAVE_REQUEST_SENSE 1
18287 _ACEOF
18293 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18294 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18295 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 else
18298 cat >conftest.$ac_ext <<_ACEOF
18299 /* confdefs.h. */
18300 _ACEOF
18301 cat confdefs.h >>conftest.$ac_ext
18302 cat >>conftest.$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304 #ifdef HAVE_LINUX_INPUT_H
18305 #include <linux/input.h>
18306 #endif
18309 main ()
18311 static struct ff_effect ac_aggr;
18312 if (ac_aggr.direction)
18313 return 0;
18315 return 0;
18317 _ACEOF
18318 rm -f conftest.$ac_objext
18319 if { (ac_try="$ac_compile"
18320 case "(($ac_try" in
18321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18323 esac
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compile") 2>conftest.er1
18326 ac_status=$?
18327 grep -v '^ *+' conftest.er1 >conftest.err
18328 rm -f conftest.er1
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && {
18332 test -z "$ac_c_werror_flag" ||
18333 test ! -s conftest.err
18334 } && test -s conftest.$ac_objext; then
18335 ac_cv_member_struct_ff_effect_direction=yes
18336 else
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18340 cat >conftest.$ac_ext <<_ACEOF
18341 /* confdefs.h. */
18342 _ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 #ifdef HAVE_LINUX_INPUT_H
18347 #include <linux/input.h>
18348 #endif
18351 main ()
18353 static struct ff_effect ac_aggr;
18354 if (sizeof ac_aggr.direction)
18355 return 0;
18357 return 0;
18359 _ACEOF
18360 rm -f conftest.$ac_objext
18361 if { (ac_try="$ac_compile"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18364 *) ac_try_echo=$ac_try;;
18365 esac
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_compile") 2>conftest.er1
18368 ac_status=$?
18369 grep -v '^ *+' conftest.er1 >conftest.err
18370 rm -f conftest.er1
18371 cat conftest.err >&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } && {
18374 test -z "$ac_c_werror_flag" ||
18375 test ! -s conftest.err
18376 } && test -s conftest.$ac_objext; then
18377 ac_cv_member_struct_ff_effect_direction=yes
18378 else
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18382 ac_cv_member_struct_ff_effect_direction=no
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18391 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18392 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18394 cat >>confdefs.h <<_ACEOF
18395 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18396 _ACEOF
18402 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18403 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18404 if test "${wine_cv_have_sigaddset+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18406 else
18407 cat >conftest.$ac_ext <<_ACEOF
18408 /* confdefs.h. */
18409 _ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18413 #include <signal.h>
18415 main ()
18417 sigset_t set; sigaddset(&set,SIGTERM);
18419 return 0;
18421 _ACEOF
18422 rm -f conftest.$ac_objext conftest$ac_exeext
18423 if { (ac_try="$ac_link"
18424 case "(($ac_try" in
18425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 *) ac_try_echo=$ac_try;;
18427 esac
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_link") 2>conftest.er1
18430 ac_status=$?
18431 grep -v '^ *+' conftest.er1 >conftest.err
18432 rm -f conftest.er1
18433 cat conftest.err >&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } && {
18436 test -z "$ac_c_werror_flag" ||
18437 test ! -s conftest.err
18438 } && test -s conftest$ac_exeext &&
18439 $as_test_x conftest$ac_exeext; then
18440 wine_cv_have_sigaddset=yes
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18445 wine_cv_have_sigaddset=no
18448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18449 conftest$ac_exeext conftest.$ac_ext
18451 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18452 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18453 if test "$wine_cv_have_sigaddset" = "yes"
18454 then
18456 cat >>confdefs.h <<\_ACEOF
18457 #define HAVE_SIGADDSET 1
18458 _ACEOF
18463 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18464 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18465 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18467 else
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #include <netdb.h>
18476 main ()
18479 char *name=0;
18480 struct hostent he;
18481 struct hostent *result;
18482 char *buf=0;
18483 int bufsize=0;
18484 int res,errnr;
18485 char *addr=0;
18486 int addrlen=0;
18487 int addrtype=0;
18488 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18489 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18492 return 0;
18494 _ACEOF
18495 rm -f conftest.$ac_objext conftest$ac_exeext
18496 if { (ac_try="$ac_link"
18497 case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18500 esac
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_link") 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest$ac_exeext &&
18512 $as_test_x conftest$ac_exeext; then
18513 wine_cv_linux_gethostbyname_r_6=yes
18514 else
18515 echo "$as_me: failed program was:" >&5
18516 sed 's/^/| /' conftest.$ac_ext >&5
18518 wine_cv_linux_gethostbyname_r_6=no
18522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18523 conftest$ac_exeext conftest.$ac_ext
18526 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18527 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18528 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18529 then
18531 cat >>confdefs.h <<\_ACEOF
18532 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18533 _ACEOF
18537 if test "$ac_cv_header_linux_joystick_h" = "yes"
18538 then
18539 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18540 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18541 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18542 echo $ECHO_N "(cached) $ECHO_C" >&6
18543 else
18544 cat >conftest.$ac_ext <<_ACEOF
18545 /* confdefs.h. */
18546 _ACEOF
18547 cat confdefs.h >>conftest.$ac_ext
18548 cat >>conftest.$ac_ext <<_ACEOF
18549 /* end confdefs.h. */
18551 #include <sys/ioctl.h>
18552 #include <sys/types.h>
18553 #include <linux/joystick.h>
18555 struct js_event blub;
18556 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18557 #error "no 2.2 header"
18558 #endif
18561 main ()
18563 /*empty*/
18565 return 0;
18567 _ACEOF
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18573 esac
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18576 ac_status=$?
18577 grep -v '^ *+' conftest.er1 >conftest.err
18578 rm -f conftest.er1
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 wine_cv_linux_joystick_22_api=yes
18586 else
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18590 wine_cv_linux_joystick_22_api=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18597 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18598 if test "$wine_cv_linux_joystick_22_api" = "yes"
18599 then
18601 cat >>confdefs.h <<\_ACEOF
18602 #define HAVE_LINUX_22_JOYSTICK_API 1
18603 _ACEOF
18609 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18610 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18611 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18613 else
18614 cat >conftest.$ac_ext <<_ACEOF
18615 /* confdefs.h. */
18616 _ACEOF
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 #include <sys/types.h>
18621 #ifdef HAVE_SYS_PARAM_H
18622 # include <sys/param.h>
18623 #endif
18624 #ifdef HAVE_SYS_MOUNT_H
18625 # include <sys/mount.h>
18626 #endif
18627 #ifdef HAVE_SYS_VFS_H
18628 # include <sys/vfs.h>
18629 #endif
18630 #ifdef HAVE_SYS_STATFS_H
18631 # include <sys/statfs.h>
18632 #endif
18635 main ()
18637 static struct statfs ac_aggr;
18638 if (ac_aggr.f_bfree)
18639 return 0;
18641 return 0;
18643 _ACEOF
18644 rm -f conftest.$ac_objext
18645 if { (ac_try="$ac_compile"
18646 case "(($ac_try" in
18647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18648 *) ac_try_echo=$ac_try;;
18649 esac
18650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18651 (eval "$ac_compile") 2>conftest.er1
18652 ac_status=$?
18653 grep -v '^ *+' conftest.er1 >conftest.err
18654 rm -f conftest.er1
18655 cat conftest.err >&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } && {
18658 test -z "$ac_c_werror_flag" ||
18659 test ! -s conftest.err
18660 } && test -s conftest.$ac_objext; then
18661 ac_cv_member_struct_statfs_f_bfree=yes
18662 else
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18666 cat >conftest.$ac_ext <<_ACEOF
18667 /* confdefs.h. */
18668 _ACEOF
18669 cat confdefs.h >>conftest.$ac_ext
18670 cat >>conftest.$ac_ext <<_ACEOF
18671 /* end confdefs.h. */
18672 #include <sys/types.h>
18673 #ifdef HAVE_SYS_PARAM_H
18674 # include <sys/param.h>
18675 #endif
18676 #ifdef HAVE_SYS_MOUNT_H
18677 # include <sys/mount.h>
18678 #endif
18679 #ifdef HAVE_SYS_VFS_H
18680 # include <sys/vfs.h>
18681 #endif
18682 #ifdef HAVE_SYS_STATFS_H
18683 # include <sys/statfs.h>
18684 #endif
18687 main ()
18689 static struct statfs ac_aggr;
18690 if (sizeof ac_aggr.f_bfree)
18691 return 0;
18693 return 0;
18695 _ACEOF
18696 rm -f conftest.$ac_objext
18697 if { (ac_try="$ac_compile"
18698 case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18700 *) ac_try_echo=$ac_try;;
18701 esac
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_compile") 2>conftest.er1
18704 ac_status=$?
18705 grep -v '^ *+' conftest.er1 >conftest.err
18706 rm -f conftest.er1
18707 cat conftest.err >&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } && {
18710 test -z "$ac_c_werror_flag" ||
18711 test ! -s conftest.err
18712 } && test -s conftest.$ac_objext; then
18713 ac_cv_member_struct_statfs_f_bfree=yes
18714 else
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.$ac_ext >&5
18718 ac_cv_member_struct_statfs_f_bfree=no
18721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18726 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18727 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18728 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_STRUCT_STATFS_F_BFREE 1
18732 _ACEOF
18736 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18737 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18738 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18740 else
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <sys/types.h>
18748 #ifdef HAVE_SYS_PARAM_H
18749 # include <sys/param.h>
18750 #endif
18751 #ifdef HAVE_SYS_MOUNT_H
18752 # include <sys/mount.h>
18753 #endif
18754 #ifdef HAVE_SYS_VFS_H
18755 # include <sys/vfs.h>
18756 #endif
18757 #ifdef HAVE_SYS_STATFS_H
18758 # include <sys/statfs.h>
18759 #endif
18762 main ()
18764 static struct statfs ac_aggr;
18765 if (ac_aggr.f_bavail)
18766 return 0;
18768 return 0;
18770 _ACEOF
18771 rm -f conftest.$ac_objext
18772 if { (ac_try="$ac_compile"
18773 case "(($ac_try" in
18774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18776 esac
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_compile") 2>conftest.er1
18779 ac_status=$?
18780 grep -v '^ *+' conftest.er1 >conftest.err
18781 rm -f conftest.er1
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } && {
18785 test -z "$ac_c_werror_flag" ||
18786 test ! -s conftest.err
18787 } && test -s conftest.$ac_objext; then
18788 ac_cv_member_struct_statfs_f_bavail=yes
18789 else
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18793 cat >conftest.$ac_ext <<_ACEOF
18794 /* confdefs.h. */
18795 _ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 #include <sys/types.h>
18800 #ifdef HAVE_SYS_PARAM_H
18801 # include <sys/param.h>
18802 #endif
18803 #ifdef HAVE_SYS_MOUNT_H
18804 # include <sys/mount.h>
18805 #endif
18806 #ifdef HAVE_SYS_VFS_H
18807 # include <sys/vfs.h>
18808 #endif
18809 #ifdef HAVE_SYS_STATFS_H
18810 # include <sys/statfs.h>
18811 #endif
18814 main ()
18816 static struct statfs ac_aggr;
18817 if (sizeof ac_aggr.f_bavail)
18818 return 0;
18820 return 0;
18822 _ACEOF
18823 rm -f conftest.$ac_objext
18824 if { (ac_try="$ac_compile"
18825 case "(($ac_try" in
18826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18827 *) ac_try_echo=$ac_try;;
18828 esac
18829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18830 (eval "$ac_compile") 2>conftest.er1
18831 ac_status=$?
18832 grep -v '^ *+' conftest.er1 >conftest.err
18833 rm -f conftest.er1
18834 cat conftest.err >&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); } && {
18837 test -z "$ac_c_werror_flag" ||
18838 test ! -s conftest.err
18839 } && test -s conftest.$ac_objext; then
18840 ac_cv_member_struct_statfs_f_bavail=yes
18841 else
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18845 ac_cv_member_struct_statfs_f_bavail=no
18848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18853 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18854 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18855 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18857 cat >>confdefs.h <<_ACEOF
18858 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18859 _ACEOF
18863 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18864 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18865 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18867 else
18868 cat >conftest.$ac_ext <<_ACEOF
18869 /* confdefs.h. */
18870 _ACEOF
18871 cat confdefs.h >>conftest.$ac_ext
18872 cat >>conftest.$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18874 #include <sys/types.h>
18875 #ifdef HAVE_SYS_PARAM_H
18876 # include <sys/param.h>
18877 #endif
18878 #ifdef HAVE_SYS_MOUNT_H
18879 # include <sys/mount.h>
18880 #endif
18881 #ifdef HAVE_SYS_VFS_H
18882 # include <sys/vfs.h>
18883 #endif
18884 #ifdef HAVE_SYS_STATFS_H
18885 # include <sys/statfs.h>
18886 #endif
18889 main ()
18891 static struct statfs ac_aggr;
18892 if (ac_aggr.f_frsize)
18893 return 0;
18895 return 0;
18897 _ACEOF
18898 rm -f conftest.$ac_objext
18899 if { (ac_try="$ac_compile"
18900 case "(($ac_try" in
18901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18903 esac
18904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_compile") 2>conftest.er1
18906 ac_status=$?
18907 grep -v '^ *+' conftest.er1 >conftest.err
18908 rm -f conftest.er1
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } && {
18912 test -z "$ac_c_werror_flag" ||
18913 test ! -s conftest.err
18914 } && test -s conftest.$ac_objext; then
18915 ac_cv_member_struct_statfs_f_frsize=yes
18916 else
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18920 cat >conftest.$ac_ext <<_ACEOF
18921 /* confdefs.h. */
18922 _ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 #include <sys/types.h>
18927 #ifdef HAVE_SYS_PARAM_H
18928 # include <sys/param.h>
18929 #endif
18930 #ifdef HAVE_SYS_MOUNT_H
18931 # include <sys/mount.h>
18932 #endif
18933 #ifdef HAVE_SYS_VFS_H
18934 # include <sys/vfs.h>
18935 #endif
18936 #ifdef HAVE_SYS_STATFS_H
18937 # include <sys/statfs.h>
18938 #endif
18941 main ()
18943 static struct statfs ac_aggr;
18944 if (sizeof ac_aggr.f_frsize)
18945 return 0;
18947 return 0;
18949 _ACEOF
18950 rm -f conftest.$ac_objext
18951 if { (ac_try="$ac_compile"
18952 case "(($ac_try" in
18953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18954 *) ac_try_echo=$ac_try;;
18955 esac
18956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18957 (eval "$ac_compile") 2>conftest.er1
18958 ac_status=$?
18959 grep -v '^ *+' conftest.er1 >conftest.err
18960 rm -f conftest.er1
18961 cat conftest.err >&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } && {
18964 test -z "$ac_c_werror_flag" ||
18965 test ! -s conftest.err
18966 } && test -s conftest.$ac_objext; then
18967 ac_cv_member_struct_statfs_f_frsize=yes
18968 else
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.$ac_ext >&5
18972 ac_cv_member_struct_statfs_f_frsize=no
18975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18980 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18981 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18982 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18986 _ACEOF
18990 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18991 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18992 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 else
18995 cat >conftest.$ac_ext <<_ACEOF
18996 /* confdefs.h. */
18997 _ACEOF
18998 cat confdefs.h >>conftest.$ac_ext
18999 cat >>conftest.$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 #include <sys/types.h>
19002 #ifdef HAVE_SYS_PARAM_H
19003 # include <sys/param.h>
19004 #endif
19005 #ifdef HAVE_SYS_MOUNT_H
19006 # include <sys/mount.h>
19007 #endif
19008 #ifdef HAVE_SYS_VFS_H
19009 # include <sys/vfs.h>
19010 #endif
19011 #ifdef HAVE_SYS_STATFS_H
19012 # include <sys/statfs.h>
19013 #endif
19016 main ()
19018 static struct statfs ac_aggr;
19019 if (ac_aggr.f_ffree)
19020 return 0;
19022 return 0;
19024 _ACEOF
19025 rm -f conftest.$ac_objext
19026 if { (ac_try="$ac_compile"
19027 case "(($ac_try" in
19028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19029 *) ac_try_echo=$ac_try;;
19030 esac
19031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19032 (eval "$ac_compile") 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } && {
19039 test -z "$ac_c_werror_flag" ||
19040 test ! -s conftest.err
19041 } && test -s conftest.$ac_objext; then
19042 ac_cv_member_struct_statfs_f_ffree=yes
19043 else
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19047 cat >conftest.$ac_ext <<_ACEOF
19048 /* confdefs.h. */
19049 _ACEOF
19050 cat confdefs.h >>conftest.$ac_ext
19051 cat >>conftest.$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 #include <sys/types.h>
19054 #ifdef HAVE_SYS_PARAM_H
19055 # include <sys/param.h>
19056 #endif
19057 #ifdef HAVE_SYS_MOUNT_H
19058 # include <sys/mount.h>
19059 #endif
19060 #ifdef HAVE_SYS_VFS_H
19061 # include <sys/vfs.h>
19062 #endif
19063 #ifdef HAVE_SYS_STATFS_H
19064 # include <sys/statfs.h>
19065 #endif
19068 main ()
19070 static struct statfs ac_aggr;
19071 if (sizeof ac_aggr.f_ffree)
19072 return 0;
19074 return 0;
19076 _ACEOF
19077 rm -f conftest.$ac_objext
19078 if { (ac_try="$ac_compile"
19079 case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19081 *) ac_try_echo=$ac_try;;
19082 esac
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_compile") 2>conftest.er1
19085 ac_status=$?
19086 grep -v '^ *+' conftest.er1 >conftest.err
19087 rm -f conftest.er1
19088 cat conftest.err >&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); } && {
19091 test -z "$ac_c_werror_flag" ||
19092 test ! -s conftest.err
19093 } && test -s conftest.$ac_objext; then
19094 ac_cv_member_struct_statfs_f_ffree=yes
19095 else
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.$ac_ext >&5
19099 ac_cv_member_struct_statfs_f_ffree=no
19102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19107 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19108 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19109 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_STATFS_F_FFREE 1
19113 _ACEOF
19117 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19118 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19119 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19120 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 else
19122 cat >conftest.$ac_ext <<_ACEOF
19123 /* confdefs.h. */
19124 _ACEOF
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <sys/types.h>
19129 #ifdef HAVE_SYS_PARAM_H
19130 # include <sys/param.h>
19131 #endif
19132 #ifdef HAVE_SYS_MOUNT_H
19133 # include <sys/mount.h>
19134 #endif
19135 #ifdef HAVE_SYS_VFS_H
19136 # include <sys/vfs.h>
19137 #endif
19138 #ifdef HAVE_SYS_STATFS_H
19139 # include <sys/statfs.h>
19140 #endif
19143 main ()
19145 static struct statfs ac_aggr;
19146 if (ac_aggr.f_favail)
19147 return 0;
19149 return 0;
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 ac_cv_member_struct_statfs_f_favail=yes
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 #include <sys/types.h>
19181 #ifdef HAVE_SYS_PARAM_H
19182 # include <sys/param.h>
19183 #endif
19184 #ifdef HAVE_SYS_MOUNT_H
19185 # include <sys/mount.h>
19186 #endif
19187 #ifdef HAVE_SYS_VFS_H
19188 # include <sys/vfs.h>
19189 #endif
19190 #ifdef HAVE_SYS_STATFS_H
19191 # include <sys/statfs.h>
19192 #endif
19195 main ()
19197 static struct statfs ac_aggr;
19198 if (sizeof ac_aggr.f_favail)
19199 return 0;
19201 return 0;
19203 _ACEOF
19204 rm -f conftest.$ac_objext
19205 if { (ac_try="$ac_compile"
19206 case "(($ac_try" in
19207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19208 *) ac_try_echo=$ac_try;;
19209 esac
19210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19211 (eval "$ac_compile") 2>conftest.er1
19212 ac_status=$?
19213 grep -v '^ *+' conftest.er1 >conftest.err
19214 rm -f conftest.er1
19215 cat conftest.err >&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } && {
19218 test -z "$ac_c_werror_flag" ||
19219 test ! -s conftest.err
19220 } && test -s conftest.$ac_objext; then
19221 ac_cv_member_struct_statfs_f_favail=yes
19222 else
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19226 ac_cv_member_struct_statfs_f_favail=no
19229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19235 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19236 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19240 _ACEOF
19244 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19245 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19246 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19247 echo $ECHO_N "(cached) $ECHO_C" >&6
19248 else
19249 cat >conftest.$ac_ext <<_ACEOF
19250 /* confdefs.h. */
19251 _ACEOF
19252 cat confdefs.h >>conftest.$ac_ext
19253 cat >>conftest.$ac_ext <<_ACEOF
19254 /* end confdefs.h. */
19255 #include <sys/types.h>
19256 #ifdef HAVE_SYS_PARAM_H
19257 # include <sys/param.h>
19258 #endif
19259 #ifdef HAVE_SYS_MOUNT_H
19260 # include <sys/mount.h>
19261 #endif
19262 #ifdef HAVE_SYS_VFS_H
19263 # include <sys/vfs.h>
19264 #endif
19265 #ifdef HAVE_SYS_STATFS_H
19266 # include <sys/statfs.h>
19267 #endif
19270 main ()
19272 static struct statfs ac_aggr;
19273 if (ac_aggr.f_namelen)
19274 return 0;
19276 return 0;
19278 _ACEOF
19279 rm -f conftest.$ac_objext
19280 if { (ac_try="$ac_compile"
19281 case "(($ac_try" in
19282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19283 *) ac_try_echo=$ac_try;;
19284 esac
19285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19286 (eval "$ac_compile") 2>conftest.er1
19287 ac_status=$?
19288 grep -v '^ *+' conftest.er1 >conftest.err
19289 rm -f conftest.er1
19290 cat conftest.err >&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } && {
19293 test -z "$ac_c_werror_flag" ||
19294 test ! -s conftest.err
19295 } && test -s conftest.$ac_objext; then
19296 ac_cv_member_struct_statfs_f_namelen=yes
19297 else
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.$ac_ext >&5
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 #include <sys/types.h>
19308 #ifdef HAVE_SYS_PARAM_H
19309 # include <sys/param.h>
19310 #endif
19311 #ifdef HAVE_SYS_MOUNT_H
19312 # include <sys/mount.h>
19313 #endif
19314 #ifdef HAVE_SYS_VFS_H
19315 # include <sys/vfs.h>
19316 #endif
19317 #ifdef HAVE_SYS_STATFS_H
19318 # include <sys/statfs.h>
19319 #endif
19322 main ()
19324 static struct statfs ac_aggr;
19325 if (sizeof ac_aggr.f_namelen)
19326 return 0;
19328 return 0;
19330 _ACEOF
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19336 esac
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19339 ac_status=$?
19340 grep -v '^ *+' conftest.er1 >conftest.err
19341 rm -f conftest.er1
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_c_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.$ac_objext; then
19348 ac_cv_member_struct_statfs_f_namelen=yes
19349 else
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19353 ac_cv_member_struct_statfs_f_namelen=no
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19362 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19363 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19365 cat >>confdefs.h <<_ACEOF
19366 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19367 _ACEOF
19373 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19374 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19375 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 else
19378 cat >conftest.$ac_ext <<_ACEOF
19379 /* confdefs.h. */
19380 _ACEOF
19381 cat confdefs.h >>conftest.$ac_ext
19382 cat >>conftest.$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19384 #ifdef HAVE_SYS_STATVFS_H
19385 #include <sys/statvfs.h>
19386 #endif
19389 main ()
19391 static struct statvfs ac_aggr;
19392 if (ac_aggr.f_blocks)
19393 return 0;
19395 return 0;
19397 _ACEOF
19398 rm -f conftest.$ac_objext
19399 if { (ac_try="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19403 esac
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19406 ac_status=$?
19407 grep -v '^ *+' conftest.er1 >conftest.err
19408 rm -f conftest.er1
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.$ac_objext; then
19415 ac_cv_member_struct_statvfs_f_blocks=yes
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #ifdef HAVE_SYS_STATVFS_H
19427 #include <sys/statvfs.h>
19428 #endif
19431 main ()
19433 static struct statvfs ac_aggr;
19434 if (sizeof ac_aggr.f_blocks)
19435 return 0;
19437 return 0;
19439 _ACEOF
19440 rm -f conftest.$ac_objext
19441 if { (ac_try="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19445 esac
19446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19448 ac_status=$?
19449 grep -v '^ *+' conftest.er1 >conftest.err
19450 rm -f conftest.er1
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.$ac_objext; then
19457 ac_cv_member_struct_statvfs_f_blocks=yes
19458 else
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19462 ac_cv_member_struct_statvfs_f_blocks=no
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19470 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19471 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19472 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19474 cat >>confdefs.h <<_ACEOF
19475 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19476 _ACEOF
19482 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19483 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19484 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 else
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_SOCKET_H
19495 # include <sys/socket.h>
19496 #endif
19497 #ifdef HAVE_SYS_UN_H
19498 # include <sys/un.h>
19499 #endif
19502 main ()
19504 static struct msghdr ac_aggr;
19505 if (ac_aggr.msg_accrights)
19506 return 0;
19508 return 0;
19510 _ACEOF
19511 rm -f conftest.$ac_objext
19512 if { (ac_try="$ac_compile"
19513 case "(($ac_try" in
19514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19516 esac
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_compile") 2>conftest.er1
19519 ac_status=$?
19520 grep -v '^ *+' conftest.er1 >conftest.err
19521 rm -f conftest.er1
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } && {
19525 test -z "$ac_c_werror_flag" ||
19526 test ! -s conftest.err
19527 } && test -s conftest.$ac_objext; then
19528 ac_cv_member_struct_msghdr_msg_accrights=yes
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 cat >conftest.$ac_ext <<_ACEOF
19534 /* confdefs.h. */
19535 _ACEOF
19536 cat confdefs.h >>conftest.$ac_ext
19537 cat >>conftest.$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 #include <sys/types.h>
19540 #ifdef HAVE_SYS_SOCKET_H
19541 # include <sys/socket.h>
19542 #endif
19543 #ifdef HAVE_SYS_UN_H
19544 # include <sys/un.h>
19545 #endif
19548 main ()
19550 static struct msghdr ac_aggr;
19551 if (sizeof ac_aggr.msg_accrights)
19552 return 0;
19554 return 0;
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_cv_member_struct_msghdr_msg_accrights=yes
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19579 ac_cv_member_struct_msghdr_msg_accrights=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19588 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19589 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19591 cat >>confdefs.h <<_ACEOF
19592 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19593 _ACEOF
19597 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19598 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19599 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #include <sys/types.h>
19609 #ifdef HAVE_SYS_SOCKET_H
19610 # include <sys/socket.h>
19611 #endif
19612 #ifdef HAVE_SYS_UN_H
19613 # include <sys/un.h>
19614 #endif
19617 main ()
19619 static struct sockaddr ac_aggr;
19620 if (ac_aggr.sa_len)
19621 return 0;
19623 return 0;
19625 _ACEOF
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19631 esac
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19634 ac_status=$?
19635 grep -v '^ *+' conftest.er1 >conftest.err
19636 rm -f conftest.er1
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_sockaddr_sa_len=yes
19644 else
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 cat >conftest.$ac_ext <<_ACEOF
19649 /* confdefs.h. */
19650 _ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #include <sys/types.h>
19655 #ifdef HAVE_SYS_SOCKET_H
19656 # include <sys/socket.h>
19657 #endif
19658 #ifdef HAVE_SYS_UN_H
19659 # include <sys/un.h>
19660 #endif
19663 main ()
19665 static struct sockaddr ac_aggr;
19666 if (sizeof ac_aggr.sa_len)
19667 return 0;
19669 return 0;
19671 _ACEOF
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19677 esac
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19680 ac_status=$?
19681 grep -v '^ *+' conftest.er1 >conftest.err
19682 rm -f conftest.er1
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.$ac_objext; then
19689 ac_cv_member_struct_sockaddr_sa_len=yes
19690 else
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 ac_cv_member_struct_sockaddr_sa_len=no
19697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19703 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19704 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19706 cat >>confdefs.h <<_ACEOF
19707 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19708 _ACEOF
19712 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19713 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19714 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #include <sys/types.h>
19724 #ifdef HAVE_SYS_SOCKET_H
19725 # include <sys/socket.h>
19726 #endif
19727 #ifdef HAVE_SYS_UN_H
19728 # include <sys/un.h>
19729 #endif
19732 main ()
19734 static struct sockaddr_un ac_aggr;
19735 if (ac_aggr.sun_len)
19736 return 0;
19738 return 0;
19740 _ACEOF
19741 rm -f conftest.$ac_objext
19742 if { (ac_try="$ac_compile"
19743 case "(($ac_try" in
19744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19745 *) ac_try_echo=$ac_try;;
19746 esac
19747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19748 (eval "$ac_compile") 2>conftest.er1
19749 ac_status=$?
19750 grep -v '^ *+' conftest.er1 >conftest.err
19751 rm -f conftest.er1
19752 cat conftest.err >&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); } && {
19755 test -z "$ac_c_werror_flag" ||
19756 test ! -s conftest.err
19757 } && test -s conftest.$ac_objext; then
19758 ac_cv_member_struct_sockaddr_un_sun_len=yes
19759 else
19760 echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.$ac_ext >&5
19763 cat >conftest.$ac_ext <<_ACEOF
19764 /* confdefs.h. */
19765 _ACEOF
19766 cat confdefs.h >>conftest.$ac_ext
19767 cat >>conftest.$ac_ext <<_ACEOF
19768 /* end confdefs.h. */
19769 #include <sys/types.h>
19770 #ifdef HAVE_SYS_SOCKET_H
19771 # include <sys/socket.h>
19772 #endif
19773 #ifdef HAVE_SYS_UN_H
19774 # include <sys/un.h>
19775 #endif
19778 main ()
19780 static struct sockaddr_un ac_aggr;
19781 if (sizeof ac_aggr.sun_len)
19782 return 0;
19784 return 0;
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_cv_member_struct_sockaddr_un_sun_len=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 ac_cv_member_struct_sockaddr_un_sun_len=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19818 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19819 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19821 cat >>confdefs.h <<_ACEOF
19822 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19823 _ACEOF
19829 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19830 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19831 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 else
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #include <sys/types.h>
19841 #ifdef HAVE_SCSI_SG_H
19842 #include <scsi/sg.h>
19843 #endif
19846 main ()
19848 static scsireq_t ac_aggr;
19849 if (ac_aggr.cmd)
19850 return 0;
19852 return 0;
19854 _ACEOF
19855 rm -f conftest.$ac_objext
19856 if { (ac_try="$ac_compile"
19857 case "(($ac_try" in
19858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19860 esac
19861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19862 (eval "$ac_compile") 2>conftest.er1
19863 ac_status=$?
19864 grep -v '^ *+' conftest.er1 >conftest.err
19865 rm -f conftest.er1
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } && {
19869 test -z "$ac_c_werror_flag" ||
19870 test ! -s conftest.err
19871 } && test -s conftest.$ac_objext; then
19872 ac_cv_member_scsireq_t_cmd=yes
19873 else
19874 echo "$as_me: failed program was:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19877 cat >conftest.$ac_ext <<_ACEOF
19878 /* confdefs.h. */
19879 _ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19883 #include <sys/types.h>
19884 #ifdef HAVE_SCSI_SG_H
19885 #include <scsi/sg.h>
19886 #endif
19889 main ()
19891 static scsireq_t ac_aggr;
19892 if (sizeof ac_aggr.cmd)
19893 return 0;
19895 return 0;
19897 _ACEOF
19898 rm -f conftest.$ac_objext
19899 if { (ac_try="$ac_compile"
19900 case "(($ac_try" in
19901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19902 *) ac_try_echo=$ac_try;;
19903 esac
19904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19905 (eval "$ac_compile") 2>conftest.er1
19906 ac_status=$?
19907 grep -v '^ *+' conftest.er1 >conftest.err
19908 rm -f conftest.er1
19909 cat conftest.err >&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } && {
19912 test -z "$ac_c_werror_flag" ||
19913 test ! -s conftest.err
19914 } && test -s conftest.$ac_objext; then
19915 ac_cv_member_scsireq_t_cmd=yes
19916 else
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19920 ac_cv_member_scsireq_t_cmd=no
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19929 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19930 if test $ac_cv_member_scsireq_t_cmd = yes; then
19932 cat >>confdefs.h <<_ACEOF
19933 #define HAVE_SCSIREQ_T_CMD 1
19934 _ACEOF
19938 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19939 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19940 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19942 else
19943 cat >conftest.$ac_ext <<_ACEOF
19944 /* confdefs.h. */
19945 _ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 #include <sys/types.h>
19950 #ifdef HAVE_SCSI_SG_H
19951 #include <scsi/sg.h>
19952 #endif
19955 main ()
19957 static sg_io_hdr_t ac_aggr;
19958 if (ac_aggr.interface_id)
19959 return 0;
19961 return 0;
19963 _ACEOF
19964 rm -f conftest.$ac_objext
19965 if { (ac_try="$ac_compile"
19966 case "(($ac_try" in
19967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19968 *) ac_try_echo=$ac_try;;
19969 esac
19970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19971 (eval "$ac_compile") 2>conftest.er1
19972 ac_status=$?
19973 grep -v '^ *+' conftest.er1 >conftest.err
19974 rm -f conftest.er1
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } && {
19978 test -z "$ac_c_werror_flag" ||
19979 test ! -s conftest.err
19980 } && test -s conftest.$ac_objext; then
19981 ac_cv_member_sg_io_hdr_t_interface_id=yes
19982 else
19983 echo "$as_me: failed program was:" >&5
19984 sed 's/^/| /' conftest.$ac_ext >&5
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 #include <sys/types.h>
19993 #ifdef HAVE_SCSI_SG_H
19994 #include <scsi/sg.h>
19995 #endif
19998 main ()
20000 static sg_io_hdr_t ac_aggr;
20001 if (sizeof ac_aggr.interface_id)
20002 return 0;
20004 return 0;
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_member_sg_io_hdr_t_interface_id=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ac_cv_member_sg_io_hdr_t_interface_id=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20038 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20039 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20043 _ACEOF
20049 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20050 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054 cat >conftest.$ac_ext <<_ACEOF
20055 /* confdefs.h. */
20056 _ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <signal.h>
20063 main ()
20065 static siginfo_t ac_aggr;
20066 if (ac_aggr.si_fd)
20067 return 0;
20069 return 0;
20071 _ACEOF
20072 rm -f conftest.$ac_objext
20073 if { (ac_try="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20077 esac
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20080 ac_status=$?
20081 grep -v '^ *+' conftest.er1 >conftest.err
20082 rm -f conftest.er1
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } && {
20086 test -z "$ac_c_werror_flag" ||
20087 test ! -s conftest.err
20088 } && test -s conftest.$ac_objext; then
20089 ac_cv_member_siginfo_t_si_fd=yes
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 cat >conftest.$ac_ext <<_ACEOF
20095 /* confdefs.h. */
20096 _ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 #include <signal.h>
20103 main ()
20105 static siginfo_t ac_aggr;
20106 if (sizeof ac_aggr.si_fd)
20107 return 0;
20109 return 0;
20111 _ACEOF
20112 rm -f conftest.$ac_objext
20113 if { (ac_try="$ac_compile"
20114 case "(($ac_try" in
20115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20116 *) ac_try_echo=$ac_try;;
20117 esac
20118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20119 (eval "$ac_compile") 2>conftest.er1
20120 ac_status=$?
20121 grep -v '^ *+' conftest.er1 >conftest.err
20122 rm -f conftest.er1
20123 cat conftest.err >&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } && {
20126 test -z "$ac_c_werror_flag" ||
20127 test ! -s conftest.err
20128 } && test -s conftest.$ac_objext; then
20129 ac_cv_member_siginfo_t_si_fd=yes
20130 else
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20134 ac_cv_member_siginfo_t_si_fd=no
20137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20142 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20143 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20144 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20146 cat >>confdefs.h <<_ACEOF
20147 #define HAVE_SIGINFO_T_SI_FD 1
20148 _ACEOF
20154 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20155 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20156 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20157 echo $ECHO_N "(cached) $ECHO_C" >&6
20158 else
20159 cat >conftest.$ac_ext <<_ACEOF
20160 /* confdefs.h. */
20161 _ACEOF
20162 cat confdefs.h >>conftest.$ac_ext
20163 cat >>conftest.$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 #include <sys/types.h>
20166 #ifdef HAVE_SYS_MTIO_H
20167 #include <sys/mtio.h>
20168 #endif
20171 main ()
20173 static struct mtget ac_aggr;
20174 if (ac_aggr.mt_blksiz)
20175 return 0;
20177 return 0;
20179 _ACEOF
20180 rm -f conftest.$ac_objext
20181 if { (ac_try="$ac_compile"
20182 case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20185 esac
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_compile") 2>conftest.er1
20188 ac_status=$?
20189 grep -v '^ *+' conftest.er1 >conftest.err
20190 rm -f conftest.er1
20191 cat conftest.err >&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } && {
20194 test -z "$ac_c_werror_flag" ||
20195 test ! -s conftest.err
20196 } && test -s conftest.$ac_objext; then
20197 ac_cv_member_struct_mtget_mt_blksiz=yes
20198 else
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20202 cat >conftest.$ac_ext <<_ACEOF
20203 /* confdefs.h. */
20204 _ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 #include <sys/types.h>
20209 #ifdef HAVE_SYS_MTIO_H
20210 #include <sys/mtio.h>
20211 #endif
20214 main ()
20216 static struct mtget ac_aggr;
20217 if (sizeof ac_aggr.mt_blksiz)
20218 return 0;
20220 return 0;
20222 _ACEOF
20223 rm -f conftest.$ac_objext
20224 if { (ac_try="$ac_compile"
20225 case "(($ac_try" in
20226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20227 *) ac_try_echo=$ac_try;;
20228 esac
20229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20230 (eval "$ac_compile") 2>conftest.er1
20231 ac_status=$?
20232 grep -v '^ *+' conftest.er1 >conftest.err
20233 rm -f conftest.er1
20234 cat conftest.err >&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } && {
20237 test -z "$ac_c_werror_flag" ||
20238 test ! -s conftest.err
20239 } && test -s conftest.$ac_objext; then
20240 ac_cv_member_struct_mtget_mt_blksiz=yes
20241 else
20242 echo "$as_me: failed program was:" >&5
20243 sed 's/^/| /' conftest.$ac_ext >&5
20245 ac_cv_member_struct_mtget_mt_blksiz=no
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20254 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20255 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20257 cat >>confdefs.h <<_ACEOF
20258 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20259 _ACEOF
20263 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20264 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20265 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20267 else
20268 cat >conftest.$ac_ext <<_ACEOF
20269 /* confdefs.h. */
20270 _ACEOF
20271 cat confdefs.h >>conftest.$ac_ext
20272 cat >>conftest.$ac_ext <<_ACEOF
20273 /* end confdefs.h. */
20274 #include <sys/types.h>
20275 #ifdef HAVE_SYS_MTIO_H
20276 #include <sys/mtio.h>
20277 #endif
20280 main ()
20282 static struct mtget ac_aggr;
20283 if (ac_aggr.mt_gstat)
20284 return 0;
20286 return 0;
20288 _ACEOF
20289 rm -f conftest.$ac_objext
20290 if { (ac_try="$ac_compile"
20291 case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20294 esac
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_compile") 2>conftest.er1
20297 ac_status=$?
20298 grep -v '^ *+' conftest.er1 >conftest.err
20299 rm -f conftest.er1
20300 cat conftest.err >&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } && {
20303 test -z "$ac_c_werror_flag" ||
20304 test ! -s conftest.err
20305 } && test -s conftest.$ac_objext; then
20306 ac_cv_member_struct_mtget_mt_gstat=yes
20307 else
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20311 cat >conftest.$ac_ext <<_ACEOF
20312 /* confdefs.h. */
20313 _ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 #include <sys/types.h>
20318 #ifdef HAVE_SYS_MTIO_H
20319 #include <sys/mtio.h>
20320 #endif
20323 main ()
20325 static struct mtget ac_aggr;
20326 if (sizeof ac_aggr.mt_gstat)
20327 return 0;
20329 return 0;
20331 _ACEOF
20332 rm -f conftest.$ac_objext
20333 if { (ac_try="$ac_compile"
20334 case "(($ac_try" in
20335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20336 *) ac_try_echo=$ac_try;;
20337 esac
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_compile") 2>conftest.er1
20340 ac_status=$?
20341 grep -v '^ *+' conftest.er1 >conftest.err
20342 rm -f conftest.er1
20343 cat conftest.err >&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && {
20346 test -z "$ac_c_werror_flag" ||
20347 test ! -s conftest.err
20348 } && test -s conftest.$ac_objext; then
20349 ac_cv_member_struct_mtget_mt_gstat=yes
20350 else
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20354 ac_cv_member_struct_mtget_mt_gstat=no
20357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20363 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20364 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20366 cat >>confdefs.h <<_ACEOF
20367 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20368 _ACEOF
20372 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20373 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20374 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20376 else
20377 cat >conftest.$ac_ext <<_ACEOF
20378 /* confdefs.h. */
20379 _ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 #include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20386 #endif
20389 main ()
20391 static struct mtget ac_aggr;
20392 if (ac_aggr.mt_blkno)
20393 return 0;
20395 return 0;
20397 _ACEOF
20398 rm -f conftest.$ac_objext
20399 if { (ac_try="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20403 esac
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.$ac_objext; then
20415 ac_cv_member_struct_mtget_mt_blkno=yes
20416 else
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20420 cat >conftest.$ac_ext <<_ACEOF
20421 /* confdefs.h. */
20422 _ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #include <sys/types.h>
20427 #ifdef HAVE_SYS_MTIO_H
20428 #include <sys/mtio.h>
20429 #endif
20432 main ()
20434 static struct mtget ac_aggr;
20435 if (sizeof ac_aggr.mt_blkno)
20436 return 0;
20438 return 0;
20440 _ACEOF
20441 rm -f conftest.$ac_objext
20442 if { (ac_try="$ac_compile"
20443 case "(($ac_try" in
20444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20445 *) ac_try_echo=$ac_try;;
20446 esac
20447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20448 (eval "$ac_compile") 2>conftest.er1
20449 ac_status=$?
20450 grep -v '^ *+' conftest.er1 >conftest.err
20451 rm -f conftest.er1
20452 cat conftest.err >&5
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); } && {
20455 test -z "$ac_c_werror_flag" ||
20456 test ! -s conftest.err
20457 } && test -s conftest.$ac_objext; then
20458 ac_cv_member_struct_mtget_mt_blkno=yes
20459 else
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20463 ac_cv_member_struct_mtget_mt_blkno=no
20466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20472 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20473 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20475 cat >>confdefs.h <<_ACEOF
20476 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20477 _ACEOF
20483 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20484 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20485 if test "${ac_cv_member_struct_option_name+set}" = set; then
20486 echo $ECHO_N "(cached) $ECHO_C" >&6
20487 else
20488 cat >conftest.$ac_ext <<_ACEOF
20489 /* confdefs.h. */
20490 _ACEOF
20491 cat confdefs.h >>conftest.$ac_ext
20492 cat >>conftest.$ac_ext <<_ACEOF
20493 /* end confdefs.h. */
20494 #ifdef HAVE_GETOPT_H
20495 #include <getopt.h>
20496 #endif
20499 main ()
20501 static struct option ac_aggr;
20502 if (ac_aggr.name)
20503 return 0;
20505 return 0;
20507 _ACEOF
20508 rm -f conftest.$ac_objext
20509 if { (ac_try="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.$ac_objext; then
20525 ac_cv_member_struct_option_name=yes
20526 else
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20530 cat >conftest.$ac_ext <<_ACEOF
20531 /* confdefs.h. */
20532 _ACEOF
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 #ifdef HAVE_GETOPT_H
20537 #include <getopt.h>
20538 #endif
20541 main ()
20543 static struct option ac_aggr;
20544 if (sizeof ac_aggr.name)
20545 return 0;
20547 return 0;
20549 _ACEOF
20550 rm -f conftest.$ac_objext
20551 if { (ac_try="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20555 esac
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20558 ac_status=$?
20559 grep -v '^ *+' conftest.er1 >conftest.err
20560 rm -f conftest.er1
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest.$ac_objext; then
20567 ac_cv_member_struct_option_name=yes
20568 else
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20572 ac_cv_member_struct_option_name=no
20575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20581 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20582 if test $ac_cv_member_struct_option_name = yes; then
20584 cat >>confdefs.h <<_ACEOF
20585 #define HAVE_STRUCT_OPTION_NAME 1
20586 _ACEOF
20592 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20593 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20594 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 else
20597 cat >conftest.$ac_ext <<_ACEOF
20598 /* confdefs.h. */
20599 _ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20605 main ()
20607 static struct stat ac_aggr;
20608 if (ac_aggr.st_blocks)
20609 return 0;
20611 return 0;
20613 _ACEOF
20614 rm -f conftest.$ac_objext
20615 if { (ac_try="$ac_compile"
20616 case "(($ac_try" in
20617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20618 *) ac_try_echo=$ac_try;;
20619 esac
20620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20621 (eval "$ac_compile") 2>conftest.er1
20622 ac_status=$?
20623 grep -v '^ *+' conftest.er1 >conftest.err
20624 rm -f conftest.er1
20625 cat conftest.err >&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } && {
20628 test -z "$ac_c_werror_flag" ||
20629 test ! -s conftest.err
20630 } && test -s conftest.$ac_objext; then
20631 ac_cv_member_struct_stat_st_blocks=yes
20632 else
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20636 cat >conftest.$ac_ext <<_ACEOF
20637 /* confdefs.h. */
20638 _ACEOF
20639 cat confdefs.h >>conftest.$ac_ext
20640 cat >>conftest.$ac_ext <<_ACEOF
20641 /* end confdefs.h. */
20642 $ac_includes_default
20644 main ()
20646 static struct stat ac_aggr;
20647 if (sizeof ac_aggr.st_blocks)
20648 return 0;
20650 return 0;
20652 _ACEOF
20653 rm -f conftest.$ac_objext
20654 if { (ac_try="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20658 esac
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20661 ac_status=$?
20662 grep -v '^ *+' conftest.er1 >conftest.err
20663 rm -f conftest.er1
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.$ac_objext; then
20670 ac_cv_member_struct_stat_st_blocks=yes
20671 else
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20675 ac_cv_member_struct_stat_st_blocks=no
20678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20684 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20685 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20687 cat >>confdefs.h <<_ACEOF
20688 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20689 _ACEOF
20695 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20696 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20697 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 else
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 #ifdef HAVE_SYS_TYPES_H
20707 #include <sys/types.h>
20708 #endif
20709 #ifdef HAVE_NETINET_IN_H
20710 #include <netinet/in.h>
20711 #endif
20714 main ()
20716 static struct sockaddr_in6 ac_aggr;
20717 if (ac_aggr.sin6_scope_id)
20718 return 0;
20720 return 0;
20722 _ACEOF
20723 rm -f conftest.$ac_objext
20724 if { (ac_try="$ac_compile"
20725 case "(($ac_try" in
20726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20727 *) ac_try_echo=$ac_try;;
20728 esac
20729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20730 (eval "$ac_compile") 2>conftest.er1
20731 ac_status=$?
20732 grep -v '^ *+' conftest.er1 >conftest.err
20733 rm -f conftest.er1
20734 cat conftest.err >&5
20735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736 (exit $ac_status); } && {
20737 test -z "$ac_c_werror_flag" ||
20738 test ! -s conftest.err
20739 } && test -s conftest.$ac_objext; then
20740 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20741 else
20742 echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.$ac_ext >&5
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 #ifdef HAVE_SYS_TYPES_H
20752 #include <sys/types.h>
20753 #endif
20754 #ifdef HAVE_NETINET_IN_H
20755 #include <netinet/in.h>
20756 #endif
20759 main ()
20761 static struct sockaddr_in6 ac_aggr;
20762 if (sizeof ac_aggr.sin6_scope_id)
20763 return 0;
20765 return 0;
20767 _ACEOF
20768 rm -f conftest.$ac_objext
20769 if { (ac_try="$ac_compile"
20770 case "(($ac_try" in
20771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20772 *) ac_try_echo=$ac_try;;
20773 esac
20774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775 (eval "$ac_compile") 2>conftest.er1
20776 ac_status=$?
20777 grep -v '^ *+' conftest.er1 >conftest.err
20778 rm -f conftest.er1
20779 cat conftest.err >&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } && {
20782 test -z "$ac_c_werror_flag" ||
20783 test ! -s conftest.err
20784 } && test -s conftest.$ac_objext; then
20785 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20786 else
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20790 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20799 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20800 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20802 cat >>confdefs.h <<_ACEOF
20803 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20804 _ACEOF
20810 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20811 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20812 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20813 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 else
20815 cat >conftest.$ac_ext <<_ACEOF
20816 /* confdefs.h. */
20817 _ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 #ifdef HAVE_SYS_TYPES_H
20822 #include <sys/types.h>
20823 #endif
20824 #ifdef HAVE_NETINET_IN_H
20825 # include <netinet/in.h>
20826 #endif
20827 #ifdef HAVE_ARPA_NAMESER_H
20828 # include <arpa/nameser.h>
20829 #endif
20832 main ()
20834 static ns_msg ac_aggr;
20835 if (ac_aggr._msg_ptr)
20836 return 0;
20838 return 0;
20840 _ACEOF
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20846 esac
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20858 ac_cv_member_ns_msg__msg_ptr=yes
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 cat >conftest.$ac_ext <<_ACEOF
20864 /* confdefs.h. */
20865 _ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 #ifdef HAVE_SYS_TYPES_H
20870 #include <sys/types.h>
20871 #endif
20872 #ifdef HAVE_NETINET_IN_H
20873 # include <netinet/in.h>
20874 #endif
20875 #ifdef HAVE_ARPA_NAMESER_H
20876 # include <arpa/nameser.h>
20877 #endif
20880 main ()
20882 static ns_msg ac_aggr;
20883 if (sizeof ac_aggr._msg_ptr)
20884 return 0;
20886 return 0;
20888 _ACEOF
20889 rm -f conftest.$ac_objext
20890 if { (ac_try="$ac_compile"
20891 case "(($ac_try" in
20892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20893 *) ac_try_echo=$ac_try;;
20894 esac
20895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20896 (eval "$ac_compile") 2>conftest.er1
20897 ac_status=$?
20898 grep -v '^ *+' conftest.er1 >conftest.err
20899 rm -f conftest.er1
20900 cat conftest.err >&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } && {
20903 test -z "$ac_c_werror_flag" ||
20904 test ! -s conftest.err
20905 } && test -s conftest.$ac_objext; then
20906 ac_cv_member_ns_msg__msg_ptr=yes
20907 else
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.$ac_ext >&5
20911 ac_cv_member_ns_msg__msg_ptr=no
20914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20919 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20920 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20921 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20923 cat >>confdefs.h <<_ACEOF
20924 #define HAVE_NS_MSG__MSG_PTR 1
20925 _ACEOF
20931 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20932 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20933 if test "${ac_cv_have_timezone+set}" = set; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20935 else
20936 cat >conftest.$ac_ext <<_ACEOF
20937 /* confdefs.h. */
20938 _ACEOF
20939 cat confdefs.h >>conftest.$ac_ext
20940 cat >>conftest.$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 #include <time.h>
20944 main ()
20946 timezone = 1
20948 return 0;
20950 _ACEOF
20951 rm -f conftest.$ac_objext conftest$ac_exeext
20952 if { (ac_try="$ac_link"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20956 esac
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_link") 2>conftest.er1
20959 ac_status=$?
20960 grep -v '^ *+' conftest.er1 >conftest.err
20961 rm -f conftest.er1
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest$ac_exeext &&
20968 $as_test_x conftest$ac_exeext; then
20969 ac_cv_have_timezone="yes"
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 ac_cv_have_timezone="no"
20977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20978 conftest$ac_exeext conftest.$ac_ext
20980 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20981 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20982 if test "$ac_cv_have_timezone" = "yes"
20983 then
20985 cat >>confdefs.h <<\_ACEOF
20986 #define HAVE_TIMEZONE 1
20987 _ACEOF
20990 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20991 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20992 if test "${ac_cv_have_daylight+set}" = set; then
20993 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 else
20995 cat >conftest.$ac_ext <<_ACEOF
20996 /* confdefs.h. */
20997 _ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 #include <time.h>
21003 main ()
21005 daylight = 1
21007 return 0;
21009 _ACEOF
21010 rm -f conftest.$ac_objext conftest$ac_exeext
21011 if { (ac_try="$ac_link"
21012 case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21015 esac
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_link") 2>conftest.er1
21018 ac_status=$?
21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest$ac_exeext &&
21027 $as_test_x conftest$ac_exeext; then
21028 ac_cv_have_daylight="yes"
21029 else
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21033 ac_cv_have_daylight="no"
21036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21037 conftest$ac_exeext conftest.$ac_ext
21039 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21040 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21041 if test "$ac_cv_have_daylight" = "yes"
21042 then
21044 cat >>confdefs.h <<\_ACEOF
21045 #define HAVE_DAYLIGHT 1
21046 _ACEOF
21051 case $host_cpu in
21052 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21053 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21054 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 else
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #ifndef __i386__
21065 #endif
21066 _ACEOF
21067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21068 $EGREP "yes" >/dev/null 2>&1; then
21069 ac_cv_cpp_def___i386__=yes
21070 else
21071 ac_cv_cpp_def___i386__=no
21073 rm -f conftest*
21076 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21077 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21078 if test $ac_cv_cpp_def___i386__ = yes; then
21079 CFLAGS="$CFLAGS -D__i386__"
21080 LINTFLAGS="$LINTFLAGS -D__i386__"
21083 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21084 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21085 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21087 else
21088 cat >conftest.$ac_ext <<_ACEOF
21089 /* confdefs.h. */
21090 _ACEOF
21091 cat confdefs.h >>conftest.$ac_ext
21092 cat >>conftest.$ac_ext <<_ACEOF
21093 /* end confdefs.h. */
21094 #ifndef __x86_64__
21096 #endif
21097 _ACEOF
21098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21099 $EGREP "yes" >/dev/null 2>&1; then
21100 ac_cv_cpp_def___x86_64__=yes
21101 else
21102 ac_cv_cpp_def___x86_64__=no
21104 rm -f conftest*
21107 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21108 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21109 if test $ac_cv_cpp_def___x86_64__ = yes; then
21110 CFLAGS="$CFLAGS -D__x86_64__"
21111 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21114 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21115 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21116 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21117 echo $ECHO_N "(cached) $ECHO_C" >&6
21118 else
21119 cat >conftest.$ac_ext <<_ACEOF
21120 /* confdefs.h. */
21121 _ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21125 #ifndef __ALPHA__
21127 #endif
21128 _ACEOF
21129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21130 $EGREP "yes" >/dev/null 2>&1; then
21131 ac_cv_cpp_def___ALPHA__=yes
21132 else
21133 ac_cv_cpp_def___ALPHA__=no
21135 rm -f conftest*
21138 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21139 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21140 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21141 CFLAGS="$CFLAGS -D__ALPHA__"
21142 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21145 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21146 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21147 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 #ifndef __sparc__
21158 #endif
21159 _ACEOF
21160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21161 $EGREP "yes" >/dev/null 2>&1; then
21162 ac_cv_cpp_def___sparc__=yes
21163 else
21164 ac_cv_cpp_def___sparc__=no
21166 rm -f conftest*
21169 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21170 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21171 if test $ac_cv_cpp_def___sparc__ = yes; then
21172 CFLAGS="$CFLAGS -D__sparc__"
21173 LINTFLAGS="$LINTFLAGS -D__sparc__"
21176 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21177 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21178 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21179 echo $ECHO_N "(cached) $ECHO_C" >&6
21180 else
21181 cat >conftest.$ac_ext <<_ACEOF
21182 /* confdefs.h. */
21183 _ACEOF
21184 cat confdefs.h >>conftest.$ac_ext
21185 cat >>conftest.$ac_ext <<_ACEOF
21186 /* end confdefs.h. */
21187 #ifndef __powerpc__
21189 #endif
21190 _ACEOF
21191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21192 $EGREP "yes" >/dev/null 2>&1; then
21193 ac_cv_cpp_def___powerpc__=yes
21194 else
21195 ac_cv_cpp_def___powerpc__=no
21197 rm -f conftest*
21200 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21201 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21202 if test $ac_cv_cpp_def___powerpc__ = yes; then
21203 CFLAGS="$CFLAGS -D__powerpc__"
21204 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21207 esac
21209 case $host_vendor in
21210 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21211 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21212 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21214 else
21215 cat >conftest.$ac_ext <<_ACEOF
21216 /* confdefs.h. */
21217 _ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 #ifndef __sun__
21223 #endif
21224 _ACEOF
21225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21226 $EGREP "yes" >/dev/null 2>&1; then
21227 ac_cv_cpp_def___sun__=yes
21228 else
21229 ac_cv_cpp_def___sun__=no
21231 rm -f conftest*
21234 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21235 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21236 if test $ac_cv_cpp_def___sun__ = yes; then
21237 CFLAGS="$CFLAGS -D__sun__"
21238 LINTFLAGS="$LINTFLAGS -D__sun__"
21241 esac
21244 DEPENDENCIES="### Dependencies:
21246 .INIT: Makefile
21247 .BEGIN: Makefile
21248 Makefile: dummy
21249 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21251 \$(OBJS): \$(IDL_GEN_HEADERS)
21252 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21253 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21254 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21260 ac_config_commands="$ac_config_commands include/stamp-h"
21263 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21265 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21267 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21269 ac_config_commands="$ac_config_commands dlls/user32/resources"
21271 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21273 ac_config_commands="$ac_config_commands include/wine"
21276 MAKE_RULES=Make.rules
21279 MAKE_DLL_RULES=dlls/Makedll.rules
21282 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21285 MAKE_TEST_RULES=dlls/Maketest.rules
21288 MAKE_PROG_RULES=programs/Makeprog.rules
21291 ac_config_files="$ac_config_files Make.rules"
21293 ac_config_files="$ac_config_files dlls/Makedll.rules"
21295 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21297 ac_config_files="$ac_config_files dlls/Maketest.rules"
21299 ac_config_files="$ac_config_files programs/Makeprog.rules"
21301 ac_config_files="$ac_config_files Makefile"
21303 ac_config_files="$ac_config_files dlls/Makefile"
21305 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21307 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21309 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21311 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21313 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21315 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21317 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21319 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21321 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21323 ac_config_files="$ac_config_files dlls/atl/Makefile"
21325 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21327 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21329 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21331 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21333 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21335 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21337 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21339 ac_config_files="$ac_config_files dlls/cards/Makefile"
21341 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21343 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21345 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21347 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21349 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21351 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21353 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21355 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21357 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21359 ac_config_files="$ac_config_files dlls/credui/Makefile"
21361 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21363 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21365 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21367 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21369 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21371 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21373 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21375 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21377 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21379 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21381 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21383 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21385 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21387 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21389 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21391 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21393 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21395 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21397 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21399 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21401 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21403 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21405 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21407 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21409 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21411 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21413 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21415 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21417 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21419 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21421 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21423 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21425 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21427 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21429 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21431 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21433 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21435 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21437 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21439 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21441 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21443 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21445 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21447 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21449 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21451 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21453 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21455 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21457 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21459 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21461 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21463 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21465 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21467 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21469 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21471 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21473 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21475 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21477 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21479 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21481 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21483 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21485 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21487 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21489 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21491 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21493 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21495 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21497 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21499 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21501 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21503 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21505 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21507 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21509 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21511 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21513 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21515 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21517 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21519 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21521 ac_config_files="$ac_config_files dlls/hal/Makefile"
21523 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21525 ac_config_files="$ac_config_files dlls/hid/Makefile"
21527 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21529 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21531 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21533 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21535 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21537 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21539 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21541 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21543 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21545 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21547 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21549 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21551 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21553 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21555 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21557 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21559 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21561 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21563 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21565 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21567 ac_config_files="$ac_config_files dlls/itss/Makefile"
21569 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21571 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21573 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21575 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21577 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21579 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21581 ac_config_files="$ac_config_files dlls/localui/Makefile"
21583 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21585 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21587 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21589 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21591 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21593 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21595 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21597 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21599 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21601 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21603 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21605 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21607 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21609 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21611 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21613 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21615 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21617 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21619 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21621 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21623 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21625 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21627 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21629 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21631 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21633 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21635 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21637 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21639 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21641 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21643 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21645 ac_config_files="$ac_config_files dlls/msi/Makefile"
21647 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21649 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21651 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21653 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21655 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21657 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21659 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21661 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21663 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21665 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21667 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21671 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21673 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21675 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21677 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21679 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21681 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21683 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21685 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21687 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21689 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21691 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21693 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21695 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21697 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21699 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21701 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21703 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21705 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21707 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21709 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21711 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21713 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21715 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21717 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21719 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21721 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21723 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21725 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21727 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21729 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21731 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21733 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21735 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21737 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21739 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21741 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21743 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21745 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21747 ac_config_files="$ac_config_files dlls/printui/Makefile"
21749 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21751 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21753 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21755 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21757 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21759 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21761 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21763 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21765 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21769 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21771 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21773 ac_config_files="$ac_config_files dlls/query/Makefile"
21775 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21777 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21779 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21781 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21783 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21785 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21787 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21789 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21791 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21793 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21795 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21797 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21799 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21801 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21803 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21805 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21807 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21809 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21811 ac_config_files="$ac_config_files dlls/security/Makefile"
21813 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21815 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21817 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21819 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21821 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21823 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21825 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21827 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21829 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21831 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21833 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21835 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21837 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21839 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21841 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21843 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21845 ac_config_files="$ac_config_files dlls/slc/Makefile"
21847 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21849 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21851 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21853 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21855 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21857 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21859 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21861 ac_config_files="$ac_config_files dlls/sti/Makefile"
21863 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21865 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21867 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21869 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21871 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21873 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21875 ac_config_files="$ac_config_files dlls/url/Makefile"
21877 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21879 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21881 ac_config_files="$ac_config_files dlls/user32/Makefile"
21883 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21885 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21887 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21889 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21891 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21893 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21895 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21897 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21899 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21901 ac_config_files="$ac_config_files dlls/version/Makefile"
21903 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21905 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21907 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21909 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21911 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21913 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21915 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21917 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21919 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21921 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21923 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21925 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21927 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21929 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21931 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21933 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21935 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21937 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21939 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21941 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21943 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21945 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21947 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21949 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21951 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21953 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21955 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21957 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21959 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21961 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21963 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21965 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21967 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21969 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21971 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21973 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21975 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21977 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21979 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21981 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21983 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21985 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21987 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21989 ac_config_files="$ac_config_files documentation/Makefile"
21991 ac_config_files="$ac_config_files fonts/Makefile"
21993 ac_config_files="$ac_config_files include/Makefile"
21995 ac_config_files="$ac_config_files libs/Makefile"
21997 ac_config_files="$ac_config_files libs/port/Makefile"
21999 ac_config_files="$ac_config_files libs/wine/Makefile"
22001 ac_config_files="$ac_config_files libs/wpp/Makefile"
22003 ac_config_files="$ac_config_files loader/Makefile"
22005 ac_config_files="$ac_config_files programs/Makefile"
22007 ac_config_files="$ac_config_files programs/clock/Makefile"
22009 ac_config_files="$ac_config_files programs/cmd/Makefile"
22011 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22013 ac_config_files="$ac_config_files programs/control/Makefile"
22015 ac_config_files="$ac_config_files programs/eject/Makefile"
22017 ac_config_files="$ac_config_files programs/expand/Makefile"
22019 ac_config_files="$ac_config_files programs/explorer/Makefile"
22021 ac_config_files="$ac_config_files programs/hh/Makefile"
22023 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22025 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22027 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22029 ac_config_files="$ac_config_files programs/net/Makefile"
22031 ac_config_files="$ac_config_files programs/notepad/Makefile"
22033 ac_config_files="$ac_config_files programs/oleview/Makefile"
22035 ac_config_files="$ac_config_files programs/progman/Makefile"
22037 ac_config_files="$ac_config_files programs/reg/Makefile"
22039 ac_config_files="$ac_config_files programs/regedit/Makefile"
22041 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22043 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22045 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22047 ac_config_files="$ac_config_files programs/secedit/Makefile"
22049 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22051 ac_config_files="$ac_config_files programs/start/Makefile"
22053 ac_config_files="$ac_config_files programs/svchost/Makefile"
22055 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22057 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22059 ac_config_files="$ac_config_files programs/view/Makefile"
22061 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22063 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22065 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22067 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22069 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22071 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22073 ac_config_files="$ac_config_files programs/winefile/Makefile"
22075 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22077 ac_config_files="$ac_config_files programs/winemine/Makefile"
22079 ac_config_files="$ac_config_files programs/winepath/Makefile"
22081 ac_config_files="$ac_config_files programs/winetest/Makefile"
22083 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22085 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22087 ac_config_files="$ac_config_files programs/winver/Makefile"
22089 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22091 ac_config_files="$ac_config_files programs/write/Makefile"
22093 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22095 ac_config_files="$ac_config_files server/Makefile"
22097 ac_config_files="$ac_config_files tools/Makefile"
22099 ac_config_files="$ac_config_files tools/widl/Makefile"
22101 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22103 ac_config_files="$ac_config_files tools/winedump/Makefile"
22105 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22107 ac_config_files="$ac_config_files tools/wmc/Makefile"
22109 ac_config_files="$ac_config_files tools/wrc/Makefile"
22112 cat >confcache <<\_ACEOF
22113 # This file is a shell script that caches the results of configure
22114 # tests run on this system so they can be shared between configure
22115 # scripts and configure runs, see configure's option --config-cache.
22116 # It is not useful on other systems. If it contains results you don't
22117 # want to keep, you may remove or edit it.
22119 # config.status only pays attention to the cache file if you give it
22120 # the --recheck option to rerun configure.
22122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22124 # following values.
22126 _ACEOF
22128 # The following way of writing the cache mishandles newlines in values,
22129 # but we know of no workaround that is simple, portable, and efficient.
22130 # So, we kill variables containing newlines.
22131 # Ultrix sh set writes to stderr and can't be redirected directly,
22132 # and sets the high bit in the cache file unless we assign to the vars.
22134 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22135 eval ac_val=\$$ac_var
22136 case $ac_val in #(
22137 *${as_nl}*)
22138 case $ac_var in #(
22139 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22140 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22141 esac
22142 case $ac_var in #(
22143 _ | IFS | as_nl) ;; #(
22144 *) $as_unset $ac_var ;;
22145 esac ;;
22146 esac
22147 done
22149 (set) 2>&1 |
22150 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22151 *${as_nl}ac_space=\ *)
22152 # `set' does not quote correctly, so add quotes (double-quote
22153 # substitution turns \\\\ into \\, and sed turns \\ into \).
22154 sed -n \
22155 "s/'/'\\\\''/g;
22156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22157 ;; #(
22159 # `set' quotes correctly as required by POSIX, so do not add quotes.
22160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22162 esac |
22163 sort
22165 sed '
22166 /^ac_cv_env_/b end
22167 t clear
22168 :clear
22169 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22170 t end
22171 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22172 :end' >>confcache
22173 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22174 if test -w "$cache_file"; then
22175 test "x$cache_file" != "x/dev/null" &&
22176 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22177 echo "$as_me: updating cache $cache_file" >&6;}
22178 cat confcache >$cache_file
22179 else
22180 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22181 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22184 rm -f confcache
22186 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22187 # Let make expand exec_prefix.
22188 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22190 DEFS=-DHAVE_CONFIG_H
22192 ac_libobjs=
22193 ac_ltlibobjs=
22194 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22195 # 1. Remove the extension, and $U if already installed.
22196 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22197 ac_i=`echo "$ac_i" | sed "$ac_script"`
22198 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22199 # will be set to the directory where LIBOBJS objects are built.
22200 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22201 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22202 done
22203 LIBOBJS=$ac_libobjs
22205 LTLIBOBJS=$ac_ltlibobjs
22209 : ${CONFIG_STATUS=./config.status}
22210 ac_clean_files_save=$ac_clean_files
22211 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22212 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22213 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22214 cat >$CONFIG_STATUS <<_ACEOF
22215 #! $SHELL
22216 # Generated by $as_me.
22217 # Run this file to recreate the current configuration.
22218 # Compiler output produced by configure, useful for debugging
22219 # configure, is in config.log if it exists.
22221 debug=false
22222 ac_cs_recheck=false
22223 ac_cs_silent=false
22224 SHELL=\${CONFIG_SHELL-$SHELL}
22225 _ACEOF
22227 cat >>$CONFIG_STATUS <<\_ACEOF
22228 ## --------------------- ##
22229 ## M4sh Initialization. ##
22230 ## --------------------- ##
22232 # Be more Bourne compatible
22233 DUALCASE=1; export DUALCASE # for MKS sh
22234 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22235 emulate sh
22236 NULLCMD=:
22237 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22238 # is contrary to our usage. Disable this feature.
22239 alias -g '${1+"$@"}'='"$@"'
22240 setopt NO_GLOB_SUBST
22241 else
22242 case `(set -o) 2>/dev/null` in
22243 *posix*) set -o posix ;;
22244 esac
22251 # PATH needs CR
22252 # Avoid depending upon Character Ranges.
22253 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22254 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22255 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22256 as_cr_digits='0123456789'
22257 as_cr_alnum=$as_cr_Letters$as_cr_digits
22259 # The user is always right.
22260 if test "${PATH_SEPARATOR+set}" != set; then
22261 echo "#! /bin/sh" >conf$$.sh
22262 echo "exit 0" >>conf$$.sh
22263 chmod +x conf$$.sh
22264 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22265 PATH_SEPARATOR=';'
22266 else
22267 PATH_SEPARATOR=:
22269 rm -f conf$$.sh
22272 # Support unset when possible.
22273 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22274 as_unset=unset
22275 else
22276 as_unset=false
22280 # IFS
22281 # We need space, tab and new line, in precisely that order. Quoting is
22282 # there to prevent editors from complaining about space-tab.
22283 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22284 # splitting by setting IFS to empty value.)
22285 as_nl='
22287 IFS=" "" $as_nl"
22289 # Find who we are. Look in the path if we contain no directory separator.
22290 case $0 in
22291 *[\\/]* ) as_myself=$0 ;;
22292 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22293 for as_dir in $PATH
22295 IFS=$as_save_IFS
22296 test -z "$as_dir" && as_dir=.
22297 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22298 done
22299 IFS=$as_save_IFS
22302 esac
22303 # We did not find ourselves, most probably we were run as `sh COMMAND'
22304 # in which case we are not to be found in the path.
22305 if test "x$as_myself" = x; then
22306 as_myself=$0
22308 if test ! -f "$as_myself"; then
22309 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22310 { (exit 1); exit 1; }
22313 # Work around bugs in pre-3.0 UWIN ksh.
22314 for as_var in ENV MAIL MAILPATH
22315 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22316 done
22317 PS1='$ '
22318 PS2='> '
22319 PS4='+ '
22321 # NLS nuisances.
22322 for as_var in \
22323 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22324 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22325 LC_TELEPHONE LC_TIME
22327 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22328 eval $as_var=C; export $as_var
22329 else
22330 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22332 done
22334 # Required to use basename.
22335 if expr a : '\(a\)' >/dev/null 2>&1 &&
22336 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22337 as_expr=expr
22338 else
22339 as_expr=false
22342 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22343 as_basename=basename
22344 else
22345 as_basename=false
22349 # Name of the executable.
22350 as_me=`$as_basename -- "$0" ||
22351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22352 X"$0" : 'X\(//\)$' \| \
22353 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22354 echo X/"$0" |
22355 sed '/^.*\/\([^/][^/]*\)\/*$/{
22356 s//\1/
22359 /^X\/\(\/\/\)$/{
22360 s//\1/
22363 /^X\/\(\/\).*/{
22364 s//\1/
22367 s/.*/./; q'`
22369 # CDPATH.
22370 $as_unset CDPATH
22374 as_lineno_1=$LINENO
22375 as_lineno_2=$LINENO
22376 test "x$as_lineno_1" != "x$as_lineno_2" &&
22377 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22379 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22380 # uniformly replaced by the line number. The first 'sed' inserts a
22381 # line-number line after each line using $LINENO; the second 'sed'
22382 # does the real work. The second script uses 'N' to pair each
22383 # line-number line with the line containing $LINENO, and appends
22384 # trailing '-' during substitution so that $LINENO is not a special
22385 # case at line end.
22386 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22387 # scripts with optimization help from Paolo Bonzini. Blame Lee
22388 # E. McMahon (1931-1989) for sed's syntax. :-)
22389 sed -n '
22391 /[$]LINENO/=
22392 ' <$as_myself |
22393 sed '
22394 s/[$]LINENO.*/&-/
22395 t lineno
22397 :lineno
22399 :loop
22400 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22401 t loop
22402 s/-\n.*//
22403 ' >$as_me.lineno &&
22404 chmod +x "$as_me.lineno" ||
22405 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22406 { (exit 1); exit 1; }; }
22408 # Don't try to exec as it changes $[0], causing all sort of problems
22409 # (the dirname of $[0] is not the place where we might find the
22410 # original and so on. Autoconf is especially sensitive to this).
22411 . "./$as_me.lineno"
22412 # Exit status is that of the last command.
22413 exit
22417 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22418 as_dirname=dirname
22419 else
22420 as_dirname=false
22423 ECHO_C= ECHO_N= ECHO_T=
22424 case `echo -n x` in
22425 -n*)
22426 case `echo 'x\c'` in
22427 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22428 *) ECHO_C='\c';;
22429 esac;;
22431 ECHO_N='-n';;
22432 esac
22434 if expr a : '\(a\)' >/dev/null 2>&1 &&
22435 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22436 as_expr=expr
22437 else
22438 as_expr=false
22441 rm -f conf$$ conf$$.exe conf$$.file
22442 if test -d conf$$.dir; then
22443 rm -f conf$$.dir/conf$$.file
22444 else
22445 rm -f conf$$.dir
22446 mkdir conf$$.dir
22448 echo >conf$$.file
22449 if ln -s conf$$.file conf$$ 2>/dev/null; then
22450 as_ln_s='ln -s'
22451 # ... but there are two gotchas:
22452 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22453 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22454 # In both cases, we have to default to `cp -p'.
22455 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22456 as_ln_s='cp -p'
22457 elif ln conf$$.file conf$$ 2>/dev/null; then
22458 as_ln_s=ln
22459 else
22460 as_ln_s='cp -p'
22462 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22463 rmdir conf$$.dir 2>/dev/null
22465 if mkdir -p . 2>/dev/null; then
22466 as_mkdir_p=:
22467 else
22468 test -d ./-p && rmdir ./-p
22469 as_mkdir_p=false
22472 if test -x / >/dev/null 2>&1; then
22473 as_test_x='test -x'
22474 else
22475 if ls -dL / >/dev/null 2>&1; then
22476 as_ls_L_option=L
22477 else
22478 as_ls_L_option=
22480 as_test_x='
22481 eval sh -c '\''
22482 if test -d "$1"; then
22483 test -d "$1/.";
22484 else
22485 case $1 in
22486 -*)set "./$1";;
22487 esac;
22488 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22489 ???[sx]*):;;*)false;;esac;fi
22490 '\'' sh
22493 as_executable_p=$as_test_x
22495 # Sed expression to map a string onto a valid CPP name.
22496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22498 # Sed expression to map a string onto a valid variable name.
22499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22502 exec 6>&1
22504 # Save the log message, to keep $[0] and so on meaningful, and to
22505 # report actual input values of CONFIG_FILES etc. instead of their
22506 # values after options handling.
22507 ac_log="
22508 This file was extended by Wine $as_me 0.9.57, which was
22509 generated by GNU Autoconf 2.61. Invocation command line was
22511 CONFIG_FILES = $CONFIG_FILES
22512 CONFIG_HEADERS = $CONFIG_HEADERS
22513 CONFIG_LINKS = $CONFIG_LINKS
22514 CONFIG_COMMANDS = $CONFIG_COMMANDS
22515 $ $0 $@
22517 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22520 _ACEOF
22522 cat >>$CONFIG_STATUS <<_ACEOF
22523 # Files that config.status was made for.
22524 config_files="$ac_config_files"
22525 config_headers="$ac_config_headers"
22526 config_commands="$ac_config_commands"
22528 _ACEOF
22530 cat >>$CONFIG_STATUS <<\_ACEOF
22531 ac_cs_usage="\
22532 \`$as_me' instantiates files from templates according to the
22533 current configuration.
22535 Usage: $0 [OPTIONS] [FILE]...
22537 -h, --help print this help, then exit
22538 -V, --version print version number and configuration settings, then exit
22539 -q, --quiet do not print progress messages
22540 -d, --debug don't remove temporary files
22541 --recheck update $as_me by reconfiguring in the same conditions
22542 --file=FILE[:TEMPLATE]
22543 instantiate the configuration file FILE
22544 --header=FILE[:TEMPLATE]
22545 instantiate the configuration header FILE
22547 Configuration files:
22548 $config_files
22550 Configuration headers:
22551 $config_headers
22553 Configuration commands:
22554 $config_commands
22556 Report bugs to <bug-autoconf@gnu.org>."
22558 _ACEOF
22559 cat >>$CONFIG_STATUS <<_ACEOF
22560 ac_cs_version="\\
22561 Wine config.status 0.9.57
22562 configured by $0, generated by GNU Autoconf 2.61,
22563 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22565 Copyright (C) 2006 Free Software Foundation, Inc.
22566 This config.status script is free software; the Free Software Foundation
22567 gives unlimited permission to copy, distribute and modify it."
22569 ac_pwd='$ac_pwd'
22570 srcdir='$srcdir'
22571 INSTALL='$INSTALL'
22572 _ACEOF
22574 cat >>$CONFIG_STATUS <<\_ACEOF
22575 # If no file are specified by the user, then we need to provide default
22576 # value. By we need to know if files were specified by the user.
22577 ac_need_defaults=:
22578 while test $# != 0
22580 case $1 in
22581 --*=*)
22582 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22583 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22584 ac_shift=:
22587 ac_option=$1
22588 ac_optarg=$2
22589 ac_shift=shift
22591 esac
22593 case $ac_option in
22594 # Handling of the options.
22595 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22596 ac_cs_recheck=: ;;
22597 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22598 echo "$ac_cs_version"; exit ;;
22599 --debug | --debu | --deb | --de | --d | -d )
22600 debug=: ;;
22601 --file | --fil | --fi | --f )
22602 $ac_shift
22603 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22604 ac_need_defaults=false;;
22605 --header | --heade | --head | --hea )
22606 $ac_shift
22607 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22608 ac_need_defaults=false;;
22609 --he | --h)
22610 # Conflict between --help and --header
22611 { echo "$as_me: error: ambiguous option: $1
22612 Try \`$0 --help' for more information." >&2
22613 { (exit 1); exit 1; }; };;
22614 --help | --hel | -h )
22615 echo "$ac_cs_usage"; exit ;;
22616 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22617 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22618 ac_cs_silent=: ;;
22620 # This is an error.
22621 -*) { echo "$as_me: error: unrecognized option: $1
22622 Try \`$0 --help' for more information." >&2
22623 { (exit 1); exit 1; }; } ;;
22625 *) ac_config_targets="$ac_config_targets $1"
22626 ac_need_defaults=false ;;
22628 esac
22629 shift
22630 done
22632 ac_configure_extra_args=
22634 if $ac_cs_silent; then
22635 exec 6>/dev/null
22636 ac_configure_extra_args="$ac_configure_extra_args --silent"
22639 _ACEOF
22640 cat >>$CONFIG_STATUS <<_ACEOF
22641 if \$ac_cs_recheck; then
22642 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22643 CONFIG_SHELL=$SHELL
22644 export CONFIG_SHELL
22645 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22648 _ACEOF
22649 cat >>$CONFIG_STATUS <<\_ACEOF
22650 exec 5>>config.log
22652 echo
22653 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22654 ## Running $as_me. ##
22655 _ASBOX
22656 echo "$ac_log"
22657 } >&5
22659 _ACEOF
22660 cat >>$CONFIG_STATUS <<_ACEOF
22661 _ACEOF
22663 cat >>$CONFIG_STATUS <<\_ACEOF
22665 # Handling of arguments.
22666 for ac_config_target in $ac_config_targets
22668 case $ac_config_target in
22669 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22670 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22671 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22672 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22673 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22674 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22675 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22676 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22677 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22678 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22679 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22680 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22681 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22682 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22683 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22684 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22685 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22686 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22687 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22688 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22689 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22690 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22691 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22692 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22693 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22694 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22695 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22696 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22697 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22698 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22699 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22700 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22701 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22702 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22703 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22704 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22705 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22706 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22707 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22708 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22709 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22710 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22711 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22712 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22713 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22714 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22715 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22716 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22717 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22718 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22719 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22720 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22721 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22722 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22723 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22724 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22725 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22726 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22727 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22728 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22729 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22730 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22731 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22732 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22733 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22734 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22735 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22736 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22737 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22738 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22739 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22740 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22741 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22742 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22743 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22744 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22745 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22746 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22747 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22748 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22749 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22750 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22751 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22752 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22753 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22754 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22755 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22756 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22757 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22758 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22759 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22760 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22761 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22762 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22763 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22764 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22765 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22766 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22767 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22768 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22769 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22770 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22771 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22772 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22773 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22774 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22775 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22776 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22777 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22778 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22779 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22780 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22781 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22782 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22783 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22784 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
22785 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22786 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22787 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22788 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22789 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22790 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22791 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22792 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22793 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22794 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22795 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22796 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22797 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22798 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22799 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22800 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22801 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22802 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22803 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22804 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22805 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22806 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22807 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22808 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22809 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22810 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22811 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22812 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22813 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22814 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22815 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22816 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22817 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22818 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22819 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22820 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22821 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22822 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22823 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22824 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22825 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22826 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22827 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22828 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22829 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22830 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22831 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22832 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22833 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22834 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22835 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22836 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22837 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22838 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22839 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22840 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22841 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22842 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22843 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22844 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22845 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22846 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22847 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22848 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22849 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22850 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22851 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22852 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22853 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22854 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22855 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22856 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22857 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22858 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22859 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22860 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22861 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22862 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22863 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22864 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22865 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22866 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22867 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22868 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22869 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22870 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22871 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22872 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22873 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22874 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22875 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22876 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22877 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22878 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22879 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22880 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22881 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22882 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22883 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22884 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22885 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22886 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22887 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22888 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22889 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22890 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22891 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22892 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22893 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22894 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22895 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22896 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22897 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22898 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22899 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22900 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22901 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22902 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22903 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22904 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22905 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22906 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22907 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22908 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22909 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22910 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22911 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22912 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22913 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22914 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22915 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22916 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22917 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22918 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22919 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22920 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22921 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22922 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22923 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22924 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22925 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22926 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22927 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22928 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22929 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22930 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22931 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22932 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22933 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22934 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22935 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22936 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22937 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22938 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22939 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22940 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22941 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22942 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22943 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22944 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22945 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22946 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22947 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22948 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22949 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22950 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22951 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22952 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22953 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22954 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22955 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22956 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22957 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22958 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22959 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22960 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22961 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22962 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22963 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22964 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22965 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22966 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22967 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22968 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22969 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22970 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22971 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22972 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22973 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22974 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22975 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22976 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22977 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22978 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22979 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22980 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22981 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22982 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22983 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22984 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22985 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22986 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22987 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22988 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22989 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22990 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22991 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22992 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22993 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22994 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22995 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22996 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22997 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22998 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22999 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23000 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23001 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23002 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23003 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23004 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23005 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23006 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23007 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23008 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23009 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23010 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23011 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23012 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23013 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23014 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23015 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23016 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23017 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23018 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23019 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23020 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23021 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23022 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23023 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23024 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23025 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23026 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23027 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23028 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23029 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23030 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23031 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23032 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23033 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23034 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23035 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23036 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23037 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23038 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23039 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23040 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23041 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23042 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23043 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23044 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23045 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23046 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23047 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23048 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23049 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23050 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23051 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23052 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23053 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23054 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23055 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23056 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23057 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23058 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23059 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23060 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23061 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23062 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23063 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23064 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23065 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23066 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23067 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23068 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23069 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23070 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23071 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23072 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23073 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23074 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23075 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23076 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23077 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23078 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23079 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23080 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23081 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23082 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23083 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23084 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23085 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23086 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23088 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23089 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23090 { (exit 1); exit 1; }; };;
23091 esac
23092 done
23095 # If the user did not use the arguments to specify the items to instantiate,
23096 # then the envvar interface is used. Set only those that are not.
23097 # We use the long form for the default assignment because of an extremely
23098 # bizarre bug on SunOS 4.1.3.
23099 if $ac_need_defaults; then
23100 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23101 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23102 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23105 # Have a temporary directory for convenience. Make it in the build tree
23106 # simply because there is no reason against having it here, and in addition,
23107 # creating and moving files from /tmp can sometimes cause problems.
23108 # Hook for its removal unless debugging.
23109 # Note that there is a small window in which the directory will not be cleaned:
23110 # after its creation but before its name has been assigned to `$tmp'.
23111 $debug ||
23113 tmp=
23114 trap 'exit_status=$?
23115 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23117 trap '{ (exit 1); exit 1; }' 1 2 13 15
23119 # Create a (secure) tmp directory for tmp files.
23122 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23123 test -n "$tmp" && test -d "$tmp"
23124 } ||
23126 tmp=./conf$$-$RANDOM
23127 (umask 077 && mkdir "$tmp")
23128 } ||
23130 echo "$me: cannot create a temporary directory in ." >&2
23131 { (exit 1); exit 1; }
23135 # Set up the sed scripts for CONFIG_FILES section.
23138 # No need to generate the scripts if there are no CONFIG_FILES.
23139 # This happens for instance when ./config.status config.h
23140 if test -n "$CONFIG_FILES"; then
23142 _ACEOF
23144 # Create sed commands to just substitute file output variables.
23146 # Remaining file output variables are in a fragment that also has non-file
23147 # output varibles.
23151 ac_delim='%!_!# '
23152 for ac_last_try in false false false false false :; do
23153 cat >conf$$subs.sed <<_ACEOF
23154 SHELL!$SHELL$ac_delim
23155 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23156 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23157 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23158 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23159 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23160 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23161 exec_prefix!$exec_prefix$ac_delim
23162 prefix!$prefix$ac_delim
23163 program_transform_name!$program_transform_name$ac_delim
23164 bindir!$bindir$ac_delim
23165 sbindir!$sbindir$ac_delim
23166 libexecdir!$libexecdir$ac_delim
23167 datarootdir!$datarootdir$ac_delim
23168 datadir!$datadir$ac_delim
23169 sysconfdir!$sysconfdir$ac_delim
23170 sharedstatedir!$sharedstatedir$ac_delim
23171 localstatedir!$localstatedir$ac_delim
23172 includedir!$includedir$ac_delim
23173 oldincludedir!$oldincludedir$ac_delim
23174 docdir!$docdir$ac_delim
23175 infodir!$infodir$ac_delim
23176 htmldir!$htmldir$ac_delim
23177 dvidir!$dvidir$ac_delim
23178 pdfdir!$pdfdir$ac_delim
23179 psdir!$psdir$ac_delim
23180 libdir!$libdir$ac_delim
23181 localedir!$localedir$ac_delim
23182 mandir!$mandir$ac_delim
23183 DEFS!$DEFS$ac_delim
23184 ECHO_C!$ECHO_C$ac_delim
23185 ECHO_N!$ECHO_N$ac_delim
23186 ECHO_T!$ECHO_T$ac_delim
23187 LIBS!$LIBS$ac_delim
23188 build_alias!$build_alias$ac_delim
23189 host_alias!$host_alias$ac_delim
23190 target_alias!$target_alias$ac_delim
23191 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23192 build!$build$ac_delim
23193 build_cpu!$build_cpu$ac_delim
23194 build_vendor!$build_vendor$ac_delim
23195 build_os!$build_os$ac_delim
23196 host!$host$ac_delim
23197 host_cpu!$host_cpu$ac_delim
23198 host_vendor!$host_vendor$ac_delim
23199 host_os!$host_os$ac_delim
23200 WIN16_FILES!$WIN16_FILES$ac_delim
23201 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23202 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23203 WINETEST!$WINETEST$ac_delim
23204 SET_MAKE!$SET_MAKE$ac_delim
23205 CC!$CC$ac_delim
23206 CFLAGS!$CFLAGS$ac_delim
23207 LDFLAGS!$LDFLAGS$ac_delim
23208 CPPFLAGS!$CPPFLAGS$ac_delim
23209 ac_ct_CC!$ac_ct_CC$ac_delim
23210 EXEEXT!$EXEEXT$ac_delim
23211 OBJEXT!$OBJEXT$ac_delim
23212 CXX!$CXX$ac_delim
23213 CXXFLAGS!$CXXFLAGS$ac_delim
23214 ac_ct_CXX!$ac_ct_CXX$ac_delim
23215 CPPBIN!$CPPBIN$ac_delim
23216 TOOLSDIR!$TOOLSDIR$ac_delim
23217 XMKMF!$XMKMF$ac_delim
23218 CPP!$CPP$ac_delim
23219 X_CFLAGS!$X_CFLAGS$ac_delim
23220 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23221 X_LIBS!$X_LIBS$ac_delim
23222 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23223 FLEX!$FLEX$ac_delim
23224 BISON!$BISON$ac_delim
23225 AS!$AS$ac_delim
23226 ac_ct_AS!$ac_ct_AS$ac_delim
23227 LD!$LD$ac_delim
23228 AR!$AR$ac_delim
23229 ARFLAGS!$ARFLAGS$ac_delim
23230 RANLIB!$RANLIB$ac_delim
23231 STRIP!$STRIP$ac_delim
23232 WINDRES!$WINDRES$ac_delim
23233 LN_S!$LN_S$ac_delim
23234 LN!$LN$ac_delim
23235 GREP!$GREP$ac_delim
23236 _ACEOF
23238 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23239 break
23240 elif $ac_last_try; then
23241 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23242 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23243 { (exit 1); exit 1; }; }
23244 else
23245 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23247 done
23249 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23250 if test -n "$ac_eof"; then
23251 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23252 ac_eof=`expr $ac_eof + 1`
23255 cat >>$CONFIG_STATUS <<_ACEOF
23256 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23258 /^[ ]*@MAKE_RULES@[ ]*$/{
23259 r $MAKE_RULES
23262 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23263 r $MAKE_DLL_RULES
23266 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23267 r $MAKE_IMPLIB_RULES
23270 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23271 r $MAKE_TEST_RULES
23274 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23275 r $MAKE_PROG_RULES
23278 _ACEOF
23279 sed '
23280 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23281 s/^/s,@/; s/!/@,|#_!!_#|/
23284 s/'"$ac_delim"'$/,g/; t
23285 s/$/\\/; p
23286 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23287 ' >>$CONFIG_STATUS <conf$$subs.sed
23288 rm -f conf$$subs.sed
23289 cat >>$CONFIG_STATUS <<_ACEOF
23290 CEOF$ac_eof
23291 _ACEOF
23294 ac_delim='%!_!# '
23295 for ac_last_try in false false false false false :; do
23296 cat >conf$$subs.sed <<_ACEOF
23297 EGREP!$EGREP$ac_delim
23298 LDCONFIG!$LDCONFIG$ac_delim
23299 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23300 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23301 INSTALL_DATA!$INSTALL_DATA$ac_delim
23302 LINT!$LINT$ac_delim
23303 LINTFLAGS!$LINTFLAGS$ac_delim
23304 FONTFORGE!$FONTFORGE$ac_delim
23305 PKG_CONFIG!$PKG_CONFIG$ac_delim
23306 RSVG!$RSVG$ac_delim
23307 ICOTOOL!$ICOTOOL$ac_delim
23308 PRELINK!$PRELINK$ac_delim
23309 LIBPTHREAD!$LIBPTHREAD$ac_delim
23310 XLIB!$XLIB$ac_delim
23311 XFILES!$XFILES$ac_delim
23312 OPENGLFILES!$OPENGLFILES$ac_delim
23313 GLU32FILES!$GLU32FILES$ac_delim
23314 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23315 QUARTZFILES!$QUARTZFILES$ac_delim
23316 DLLEXT!$DLLEXT$ac_delim
23317 DLLFLAGS!$DLLFLAGS$ac_delim
23318 LDSHARED!$LDSHARED$ac_delim
23319 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23320 LIBEXT!$LIBEXT$ac_delim
23321 IMPLIBEXT!$IMPLIBEXT$ac_delim
23322 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23323 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23324 LDD!$LDD$ac_delim
23325 DLLTOOL!$DLLTOOL$ac_delim
23326 DLLWRAP!$DLLWRAP$ac_delim
23327 MINGWAR!$MINGWAR$ac_delim
23328 SECURITYLIB!$SECURITYLIB$ac_delim
23329 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23330 IOKITLIB!$IOKITLIB$ac_delim
23331 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23332 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23333 COREAUDIO!$COREAUDIO$ac_delim
23334 CARBONLIB!$CARBONLIB$ac_delim
23335 CROSSTEST!$CROSSTEST$ac_delim
23336 CROSSCC!$CROSSCC$ac_delim
23337 CROSSWINDRES!$CROSSWINDRES$ac_delim
23338 NASLIBS!$NASLIBS$ac_delim
23339 XML2LIBS!$XML2LIBS$ac_delim
23340 XML2INCL!$XML2INCL$ac_delim
23341 XSLTLIBS!$XSLTLIBS$ac_delim
23342 XSLTINCL!$XSLTINCL$ac_delim
23343 HALINCL!$HALINCL$ac_delim
23344 sane_devel!$sane_devel$ac_delim
23345 SANEINCL!$SANEINCL$ac_delim
23346 gphoto2_devel!$gphoto2_devel$ac_delim
23347 gphoto2port_devel!$gphoto2port_devel$ac_delim
23348 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23349 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23350 RESOLVLIBS!$RESOLVLIBS$ac_delim
23351 LCMSLIBS!$LCMSLIBS$ac_delim
23352 LDAPLIBS!$LDAPLIBS$ac_delim
23353 ft_devel!$ft_devel$ac_delim
23354 FREETYPELIBS!$FREETYPELIBS$ac_delim
23355 FREETYPEINCL!$FREETYPEINCL$ac_delim
23356 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23357 ESDCONFIG!$ESDCONFIG$ac_delim
23358 ESDLIBS!$ESDLIBS$ac_delim
23359 ESDINCL!$ESDINCL$ac_delim
23360 ALSALIBS!$ALSALIBS$ac_delim
23361 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23362 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23363 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23364 BUILTINFLAG!$BUILTINFLAG$ac_delim
23365 LDPATH!$LDPATH$ac_delim
23366 CRTLIBS!$CRTLIBS$ac_delim
23367 SOCKETLIBS!$SOCKETLIBS$ac_delim
23368 MAIN_BINARY!$MAIN_BINARY$ac_delim
23369 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23370 LIBDL!$LIBDL$ac_delim
23371 LIBPOLL!$LIBPOLL$ac_delim
23372 DEPENDENCIES!$DEPENDENCIES$ac_delim
23373 LIBOBJS!$LIBOBJS$ac_delim
23374 LTLIBOBJS!$LTLIBOBJS$ac_delim
23375 _ACEOF
23377 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23378 break
23379 elif $ac_last_try; then
23380 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23381 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23382 { (exit 1); exit 1; }; }
23383 else
23384 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23386 done
23388 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23389 if test -n "$ac_eof"; then
23390 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23391 ac_eof=`expr $ac_eof + 1`
23394 cat >>$CONFIG_STATUS <<_ACEOF
23395 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23396 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23397 _ACEOF
23398 sed '
23399 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23400 s/^/s,@/; s/!/@,|#_!!_#|/
23403 s/'"$ac_delim"'$/,g/; t
23404 s/$/\\/; p
23405 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23406 ' >>$CONFIG_STATUS <conf$$subs.sed
23407 rm -f conf$$subs.sed
23408 cat >>$CONFIG_STATUS <<_ACEOF
23409 :end
23410 s/|#_!!_#|//g
23411 CEOF$ac_eof
23412 _ACEOF
23415 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23416 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23417 # trailing colons and then remove the whole line if VPATH becomes empty
23418 # (actually we leave an empty line to preserve line numbers).
23419 if test "x$srcdir" = x.; then
23420 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23421 s/:*\$(srcdir):*/:/
23422 s/:*\${srcdir}:*/:/
23423 s/:*@srcdir@:*/:/
23424 s/^\([^=]*=[ ]*\):*/\1/
23425 s/:*$//
23426 s/^[^=]*=[ ]*$//
23430 cat >>$CONFIG_STATUS <<\_ACEOF
23431 fi # test -n "$CONFIG_FILES"
23434 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23436 case $ac_tag in
23437 :[FHLC]) ac_mode=$ac_tag; continue;;
23438 esac
23439 case $ac_mode$ac_tag in
23440 :[FHL]*:*);;
23441 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23442 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23443 { (exit 1); exit 1; }; };;
23444 :[FH]-) ac_tag=-:-;;
23445 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23446 esac
23447 ac_save_IFS=$IFS
23448 IFS=:
23449 set x $ac_tag
23450 IFS=$ac_save_IFS
23451 shift
23452 ac_file=$1
23453 shift
23455 case $ac_mode in
23456 :L) ac_source=$1;;
23457 :[FH])
23458 ac_file_inputs=
23459 for ac_f
23461 case $ac_f in
23462 -) ac_f="$tmp/stdin";;
23463 *) # Look for the file first in the build tree, then in the source tree
23464 # (if the path is not absolute). The absolute path cannot be DOS-style,
23465 # because $ac_f cannot contain `:'.
23466 test -f "$ac_f" ||
23467 case $ac_f in
23468 [\\/$]*) false;;
23469 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23470 esac ||
23471 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23472 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23473 { (exit 1); exit 1; }; };;
23474 esac
23475 ac_file_inputs="$ac_file_inputs $ac_f"
23476 done
23478 # Let's still pretend it is `configure' which instantiates (i.e., don't
23479 # use $as_me), people would be surprised to read:
23480 # /* config.h. Generated by config.status. */
23481 configure_input="Generated from "`IFS=:
23482 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23483 if test x"$ac_file" != x-; then
23484 configure_input="$ac_file. $configure_input"
23485 { echo "$as_me:$LINENO: creating $ac_file" >&5
23486 echo "$as_me: creating $ac_file" >&6;}
23489 case $ac_tag in
23490 *:-:* | *:-) cat >"$tmp/stdin";;
23491 esac
23493 esac
23495 ac_dir=`$as_dirname -- "$ac_file" ||
23496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23497 X"$ac_file" : 'X\(//\)[^/]' \| \
23498 X"$ac_file" : 'X\(//\)$' \| \
23499 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23500 echo X"$ac_file" |
23501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23502 s//\1/
23505 /^X\(\/\/\)[^/].*/{
23506 s//\1/
23509 /^X\(\/\/\)$/{
23510 s//\1/
23513 /^X\(\/\).*/{
23514 s//\1/
23517 s/.*/./; q'`
23518 { as_dir="$ac_dir"
23519 case $as_dir in #(
23520 -*) as_dir=./$as_dir;;
23521 esac
23522 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23523 as_dirs=
23524 while :; do
23525 case $as_dir in #(
23526 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23527 *) as_qdir=$as_dir;;
23528 esac
23529 as_dirs="'$as_qdir' $as_dirs"
23530 as_dir=`$as_dirname -- "$as_dir" ||
23531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23532 X"$as_dir" : 'X\(//\)[^/]' \| \
23533 X"$as_dir" : 'X\(//\)$' \| \
23534 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23535 echo X"$as_dir" |
23536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23537 s//\1/
23540 /^X\(\/\/\)[^/].*/{
23541 s//\1/
23544 /^X\(\/\/\)$/{
23545 s//\1/
23548 /^X\(\/\).*/{
23549 s//\1/
23552 s/.*/./; q'`
23553 test -d "$as_dir" && break
23554 done
23555 test -z "$as_dirs" || eval "mkdir $as_dirs"
23556 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23557 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23558 { (exit 1); exit 1; }; }; }
23559 ac_builddir=.
23561 case "$ac_dir" in
23562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23564 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23565 # A ".." for each directory in $ac_dir_suffix.
23566 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23567 case $ac_top_builddir_sub in
23568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23570 esac ;;
23571 esac
23572 ac_abs_top_builddir=$ac_pwd
23573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23574 # for backward compatibility:
23575 ac_top_builddir=$ac_top_build_prefix
23577 case $srcdir in
23578 .) # We are building in place.
23579 ac_srcdir=.
23580 ac_top_srcdir=$ac_top_builddir_sub
23581 ac_abs_top_srcdir=$ac_pwd ;;
23582 [\\/]* | ?:[\\/]* ) # Absolute name.
23583 ac_srcdir=$srcdir$ac_dir_suffix;
23584 ac_top_srcdir=$srcdir
23585 ac_abs_top_srcdir=$srcdir ;;
23586 *) # Relative name.
23587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23588 ac_top_srcdir=$ac_top_build_prefix$srcdir
23589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23590 esac
23591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23594 case $ac_mode in
23597 # CONFIG_FILE
23600 case $INSTALL in
23601 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23602 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23603 esac
23604 _ACEOF
23606 cat >>$CONFIG_STATUS <<\_ACEOF
23607 # If the template does not know about datarootdir, expand it.
23608 # FIXME: This hack should be removed a few years after 2.60.
23609 ac_datarootdir_hack=; ac_datarootdir_seen=
23611 case `sed -n '/datarootdir/ {
23615 /@datadir@/p
23616 /@docdir@/p
23617 /@infodir@/p
23618 /@localedir@/p
23619 /@mandir@/p
23620 ' $ac_file_inputs` in
23621 *datarootdir*) ac_datarootdir_seen=yes;;
23622 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23623 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23624 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23625 _ACEOF
23626 cat >>$CONFIG_STATUS <<_ACEOF
23627 ac_datarootdir_hack='
23628 s&@datadir@&$datadir&g
23629 s&@docdir@&$docdir&g
23630 s&@infodir@&$infodir&g
23631 s&@localedir@&$localedir&g
23632 s&@mandir@&$mandir&g
23633 s&\\\${datarootdir}&$datarootdir&g' ;;
23634 esac
23635 _ACEOF
23637 # Neutralize VPATH when `$srcdir' = `.'.
23638 # Shell code in configure.ac might set extrasub.
23639 # FIXME: do we really want to maintain this feature?
23640 cat >>$CONFIG_STATUS <<_ACEOF
23641 sed "$ac_vpsub
23642 $extrasub
23643 _ACEOF
23644 cat >>$CONFIG_STATUS <<\_ACEOF
23646 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23647 s&@configure_input@&$configure_input&;t t
23648 s&@top_builddir@&$ac_top_builddir_sub&;t t
23649 s&@srcdir@&$ac_srcdir&;t t
23650 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23651 s&@top_srcdir@&$ac_top_srcdir&;t t
23652 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23653 s&@builddir@&$ac_builddir&;t t
23654 s&@abs_builddir@&$ac_abs_builddir&;t t
23655 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23656 s&@INSTALL@&$ac_INSTALL&;t t
23657 $ac_datarootdir_hack
23658 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23660 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23661 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23662 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23663 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23664 which seems to be undefined. Please make sure it is defined." >&5
23665 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23666 which seems to be undefined. Please make sure it is defined." >&2;}
23668 rm -f "$tmp/stdin"
23669 case $ac_file in
23670 -) cat "$tmp/out"; rm -f "$tmp/out";;
23671 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23672 esac
23676 # CONFIG_HEADER
23678 _ACEOF
23680 # Transform confdefs.h into a sed script `conftest.defines', that
23681 # substitutes the proper values into config.h.in to produce config.h.
23682 rm -f conftest.defines conftest.tail
23683 # First, append a space to every undef/define line, to ease matching.
23684 echo 's/$/ /' >conftest.defines
23685 # Then, protect against being on the right side of a sed subst, or in
23686 # an unquoted here document, in config.status. If some macros were
23687 # called several times there might be several #defines for the same
23688 # symbol, which is useless. But do not sort them, since the last
23689 # AC_DEFINE must be honored.
23690 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23691 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23692 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23693 # PARAMS is the parameter list in the macro definition--in most cases, it's
23694 # just an empty string.
23695 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23696 ac_dB='\\)[ (].*,\\1define\\2'
23697 ac_dC=' '
23698 ac_dD=' ,'
23700 uniq confdefs.h |
23701 sed -n '
23702 t rset
23703 :rset
23704 s/^[ ]*#[ ]*define[ ][ ]*//
23705 t ok
23708 s/[\\&,]/\\&/g
23709 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23710 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23711 ' >>conftest.defines
23713 # Remove the space that was appended to ease matching.
23714 # Then replace #undef with comments. This is necessary, for
23715 # example, in the case of _POSIX_SOURCE, which is predefined and required
23716 # on some systems where configure will not decide to define it.
23717 # (The regexp can be short, since the line contains either #define or #undef.)
23718 echo 's/ $//
23719 s,^[ #]*u.*,/* & */,' >>conftest.defines
23721 # Break up conftest.defines:
23722 ac_max_sed_lines=50
23724 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23725 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23726 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23727 # et cetera.
23728 ac_in='$ac_file_inputs'
23729 ac_out='"$tmp/out1"'
23730 ac_nxt='"$tmp/out2"'
23732 while :
23734 # Write a here document:
23735 cat >>$CONFIG_STATUS <<_ACEOF
23736 # First, check the format of the line:
23737 cat >"\$tmp/defines.sed" <<\\CEOF
23738 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23739 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23741 :def
23742 _ACEOF
23743 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23744 echo 'CEOF
23745 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23746 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23747 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23748 grep . conftest.tail >/dev/null || break
23749 rm -f conftest.defines
23750 mv conftest.tail conftest.defines
23751 done
23752 rm -f conftest.defines conftest.tail
23754 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23755 cat >>$CONFIG_STATUS <<\_ACEOF
23756 if test x"$ac_file" != x-; then
23757 echo "/* $configure_input */" >"$tmp/config.h"
23758 cat "$ac_result" >>"$tmp/config.h"
23759 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23760 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23761 echo "$as_me: $ac_file is unchanged" >&6;}
23762 else
23763 rm -f $ac_file
23764 mv "$tmp/config.h" $ac_file
23766 else
23767 echo "/* $configure_input */"
23768 cat "$ac_result"
23770 rm -f "$tmp/out12"
23773 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23774 echo "$as_me: executing $ac_file commands" >&6;}
23776 esac
23779 case $ac_file$ac_mode in
23780 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23781 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23782 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23783 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23784 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23785 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23786 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23787 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23788 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23789 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23790 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23791 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23792 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23794 esac
23795 done # for ac_tag
23798 { (exit 0); exit 0; }
23799 _ACEOF
23800 chmod +x $CONFIG_STATUS
23801 ac_clean_files=$ac_clean_files_save
23804 # configure is writing to config.log, and then calls config.status.
23805 # config.status does its own redirection, appending to config.log.
23806 # Unfortunately, on DOS this fails, as config.log is still kept open
23807 # by configure, so config.status won't be able to write to it; its
23808 # output is simply discarded. So we exec the FD to /dev/null,
23809 # effectively closing config.log, so it can be properly (re)opened and
23810 # appended to by config.status. When coming back to configure, we
23811 # need to make the FD available again.
23812 if test "$no_create" != yes; then
23813 ac_cs_success=:
23814 ac_config_status_args=
23815 test "$silent" = yes &&
23816 ac_config_status_args="$ac_config_status_args --quiet"
23817 exec 5>/dev/null
23818 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23819 exec 5>>config.log
23820 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23821 # would make configure fail if this is the last instruction.
23822 $ac_cs_success || { (exit 1); exit 1; }
23826 if test "$no_create" = "yes"
23827 then
23828 exit 0
23831 ac_save_IFS="$IFS"
23832 IFS="|"
23833 if test "x$wine_notices != "x; then
23834 echo >&6
23835 for msg in $wine_notices; do
23836 if test -n "$msg"; then
23837 { echo "$as_me:$LINENO: $msg" >&5
23838 echo "$as_me: $msg" >&6;}
23840 done
23842 for msg in $wine_warnings; do
23843 if test -n "$msg"; then
23844 echo >&2
23845 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23846 echo "$as_me: WARNING: $msg" >&2;}
23848 done
23849 IFS="$ac_save_IFS"
23851 echo "
23852 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23853 " >&6